@ckeditor/ckeditor5-footnotes 48.2.0-alpha.2 → 48.2.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{Plugin as _0x37553e,Command as _0x10a258}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x4a6ad0,isWidget as _0x1e1b1e,toWidgetEditable as _0x4705b7,WidgetToolbarRepository as _0x516bda}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x40e5c5,logWarning as _0x32c0c9,FocusTracker as _0x1d94f1,KeystrokeHandler as _0x17b5de,global as _0x1ca45b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3ec258,ClickObserver as _0x41b639}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x590cf9}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x5f4c56,ButtonView as _0x52f2d2,View as _0x29c5ea,ViewCollection as _0x50115b,FocusCycler as _0x43f6cc,addKeyboardHandlingForGrid as _0x21babe,CollapsibleView as _0xecd9ec,LabeledFieldView as _0x528c32,createLabeledInputNumber as _0x312468,ContextualBalloon as _0x3b49c2,BalloonPanelView as _0x2f1e08,createDropdown as _0x3e896f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x430fc1,IconListStyleDecimal as _0x291cf2,IconListStyleDecimalLeadingZero as _0x1b2a87,IconListStyleLowerRoman as _0x2d40d7,IconListStyleUpperRoman as _0x424225,IconListStyleLowerLatin as _0x478d61,IconListStyleUpperLatin as _0x5d8907,IconListStyleArabicIndic as _0x7d4b61}from'@ckeditor/ckeditor5-icons/dist/index.js';class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0xcf9b93,_0x8bb507){this['_model']=_0xcf9b93,this['_elementName']=_0x8bb507['elementName'],this['_getElementKey']=_0x8bb507['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x283a70){const _0x5b1347=new Set(),_0x3e6c0a=new Map();for(const _0x11cbdd of _0x283a70){if('insert'===_0x11cbdd['type']&&'$text'!==_0x11cbdd['name']&&_0x11cbdd['position']['nodeAfter']){const _0x42c307=this['_model']['createRangeOn'](_0x11cbdd['position']['nodeAfter']);for(const _0x46bbe7 of _0x42c307['getItems']()){if(!_0x46bbe7['is']('element',this['_elementName']))continue;const _0x3ed7f6=this['_getElementKey'](_0x46bbe7);_0x3e6c0a['has'](_0x3ed7f6)||_0x3e6c0a['set'](_0x3ed7f6,[]),_0x3e6c0a['get'](_0x3ed7f6)['push'](_0x46bbe7);}}if('remove'===_0x11cbdd['type']&&_0x11cbdd['name']===this['_elementName']){const _0x5577f7=this['_getElementKey']({'getAttribute':_0x81fde0=>_0x11cbdd['attributes']['get'](_0x81fde0)});_0x5b1347['add'](_0x5577f7);}}for(const [_0x595bae,_0xc82b3d]of this['_trackedElements'])'$graveyard'===_0xc82b3d['root']['rootName']&&_0x5b1347['add'](_0x595bae);for(const _0xd4b939 of _0x5b1347)this['_trackedElements']['delete'](_0xd4b939);for(const [_0x3ae781,_0x2ff1f6]of _0x3e6c0a)this['_trackedElements']['set'](_0x3ae781,_0x2ff1f6[_0x2ff1f6['length']-0x1]);const _0x554ee4=new Set();for(const [_0x4b9722,_0x7b0eed]of _0x3e6c0a)_0x5b1347['has'](_0x4b9722)&&(_0x554ee4['add'](_0x7b0eed[0x0]),_0x7b0eed['length']>0x1?_0x3e6c0a['set'](_0x4b9722,_0x7b0eed['slice'](0x1)):_0x3e6c0a['delete'](_0x4b9722),_0x5b1347['delete'](_0x4b9722));return{'removed':Array['from'](_0x5b1347),'inserted':Array['from'](_0x3e6c0a['values']())['flat'](),'moved':Array['from'](_0x554ee4)};}}class FootnotesTracker extends _0x37553e{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x38ce45){super(_0x38ce45),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x551470=>_0x551470['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x219ea2=>_0x219ea2['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1f6da4}=this,{model:_0x255a94,data:_0x137cba}=_0x1f6da4;_0x255a94['document']['registerPostFixer'](_0x23c4c9=>{const _0x8a22b=_0x255a94['document']['differ']['getChanges']();let _0x549563=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x23c4c9,_0x8a22b)&&(_0x549563=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x23c4c9,_0x8a22b)&&(_0x549563=!0x0),this['_handleFootnoteReferencesChanges'](_0x23c4c9,_0x8a22b)&&(_0x549563=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x23c4c9)&&(_0x549563=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x23c4c9)&&(_0x549563=!0x0),this['_sortFootnoteDefinitions'](_0x23c4c9)&&(_0x549563=!0x0),_0x549563;}),this['listenTo'](_0x255a94['document'],'change:data',()=>{_0x255a94['enqueueChange']({'isUndoable':!0x1},_0x43c87d=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x43c87d);});},{'priority':'low'}),this['listenTo'](_0x137cba,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4c08d8){return this['_footnotes']['find'](_0x165129=>_0x165129['id']===_0x4c08d8)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x599b7c){this['_footnoteFormatter']=_0x599b7c;}['_updateFootnotesCounters'](_0x4e9db9,_0x32e2d2=0x0){let _0x4ccda4=!0x1;for(let _0x2ef108=_0x32e2d2;_0x2ef108<this['_footnotes']['length'];_0x2ef108++)this['_updateFootnoteRefCounter'](_0x4e9db9,_0x2ef108)&&(_0x4ccda4=!0x0);return _0x4ccda4;}['_insertEmptyFootnotesDefinitionsContainer'](_0xe44d66,_0x493c51){const _0xfc137a=_0xe44d66['createElement']('footnotesDefinitions',{});return _0xe44d66['append'](_0xfc137a,_0x493c51),this['_footnotesDefinitions']=_0xfc137a,_0xfc137a;}['_ensureFootnotesDefinitionsContainerExists'](_0x3552f5){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x1460f9=this['_footnotes'][0x0]['reference']['root'],_0x2835da=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3552f5,_0x1460f9);for(const _0x382f60 of this['_footnotes'])_0x382f60['definition']['parent']||_0x3552f5['insert'](_0x382f60['definition'],_0x2835da,'end');this['_updateFootnotesCounters'](_0x3552f5);}['_handleFootnotesDefinitionsObjectChanges'](_0x719801,_0x3b41c3){let _0x3dd4c2=!0x1;const {inserted:_0x3176c6,removed:_0x22f854,moved:_0x57c0a7}=this['_footnoteDefsContainerTracker']['getChanges'](_0x3b41c3);if(_0x57c0a7['length']&&(this['_footnotesDefinitions']=_0x57c0a7[0x0]),_0x3176c6['length']){if(_0x3176c6['length']>0x1||this['_footnotesDefinitions']&&_0x3176c6['some'](_0x53ea6a=>_0x53ea6a!==this['_footnotesDefinitions'])){const _0x25be88=_0x719801['createElement']('footnotesDefinitions',{}),_0x7b7a8a=[];this['_footnotesDefinitions']&&_0x7b7a8a['push'](this['_footnotesDefinitions']),_0x7b7a8a['push'](..._0x3176c6),_0x719801['insert'](_0x25be88,_0x7b7a8a[0x0],'before');for(const _0x1f12b6 of _0x7b7a8a)_0x719801['move'](_0x719801['createRangeIn'](_0x1f12b6),_0x719801['createPositionAt'](_0x25be88,'end')),_0x719801['remove'](_0x1f12b6);this['_footnotesDefinitions']=_0x25be88,this['_updateFootnotesCounters'](_0x719801),_0x3dd4c2=!0x0;}else this['_footnotesDefinitions']=_0x3176c6[0x0];}if(_0x22f854['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2dd9e1 of this['_footnotes'])_0x719801['remove'](_0x2dd9e1['reference']),_0x3dd4c2=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x3dd4c2;}['_handleFootnoteDefinitionsChanges'](_0x117ee2,_0x51f679){let _0x119a3b=!0x1;const _0x385b06=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3c7494,moved:_0x56fea5}=this['_footnoteDefsTracker']['getChanges'](_0x51f679);for(const _0x167692 of[..._0x56fea5,..._0x3c7494]){const _0xb92394=_0x167692['getAttribute']('footnoteId'),_0x5c8367=this['getFootnote'](_0xb92394);_0x5c8367&&(_0x5c8367['definition']=_0x167692),N(_0x117ee2,_0x385b06,_0x167692)&&(_0x119a3b=!0x0);}return _0x119a3b;}['_handleFootnoteReferencesChanges'](_0x311026,_0x29b66f){let _0x481fd7=!0x1;const {removed:_0x2ee118,inserted:_0x5dd481,moved:_0x29c223}=this['_footnoteRefsTracker']['getChanges'](_0x29b66f);for(const _0x58368c of _0x2ee118)this['_handleRemoveFootnoteReferenceById'](_0x311026,_0x58368c)&&(_0x481fd7=!0x0);for(const _0x5c6bc6 of _0x5dd481)this['_handleInsertedFootnoteReference'](_0x311026,_0x5c6bc6)&&(_0x481fd7=!0x0);for(const _0x5eb9cf of _0x29c223)this['_handleMovedFootnoteReference'](_0x311026,_0x5eb9cf)&&(_0x481fd7=!0x0);return _0x481fd7;}['_handleFootnotesDefinitionsObjectSync'](_0x52e5de){if(!this['_footnotesDefinitions'])return!0x1;let _0xcfc385=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x273956=[];for(const _0x318755 of this['_footnotesDefinitions']['getChildren']()){const _0x3c3eb3=_0x318755['getAttribute']('footnoteId');this['getFootnote'](_0x3c3eb3)||(_0x273956['unshift'](_0x318755),_0xcfc385=!0x0);}for(const _0x94c514 of _0x273956)_0x52e5de['remove'](_0x94c514);}const _0x1ce840=new Set(),_0x491d9a=[];for(const _0x531473 of this['_footnotesDefinitions']['getChildren']()){const _0x19aa47=_0x531473['getAttribute']('footnoteId');_0x1ce840['has'](_0x19aa47)?(_0x491d9a['unshift'](_0x531473),_0xcfc385=!0x0):_0x1ce840['add'](_0x19aa47);}for(const _0x2c9c39 of _0x491d9a)_0x52e5de['remove'](_0x2c9c39);return this['_footnotesDefinitions']['childCount']||(_0x52e5de['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0xcfc385=!0x0),_0xcfc385;}['_handleInsertedFootnoteReference'](_0x27ea71,_0x3e6095){if(this['_footnotes']['find'](_0x542117=>_0x542117['reference']===_0x3e6095))return!0x1;let _0x34c1bf=!0x1;const _0x14cf25=_0x3e6095['getAttribute']('footnoteId'),_0x26d61f=this['_footnotes']['findIndex'](_0x3b8cd3=>_0x3b8cd3['id']===_0x14cf25);-0x1!==_0x26d61f&&(_0x27ea71['remove'](this['_footnotes'][_0x26d61f]['reference']),this['_footnotes']['splice'](_0x26d61f,0x1),_0x34c1bf=!0x0);let _0x549665=this['_footnotesDefinitions']?function(_0x405cf8,_0x417059){for(const _0x517a3d of _0x405cf8['getChildren']())if(_0x517a3d['getAttribute']('footnoteId')===_0x417059)return _0x517a3d;return null;}(this['_footnotesDefinitions'],_0x14cf25):null;_0x549665||(_0x549665=_0x27ea71['createElement']('footnoteDefinition',{'footnoteId':_0x14cf25}),this['_footnotesDefinitions']&&(_0x27ea71['insert'](_0x549665,this['_footnotesDefinitions'],'end'),_0x34c1bf=!0x0));const _0x1480d1={'id':_0x14cf25,'reference':_0x3e6095,'definition':_0x549665},_0x580050=R(this['editor']['model'],this['_footnotes'],_0x3e6095);this['_footnotes']['splice'](_0x580050,0x0,_0x1480d1);let _0x11a86c=_0x580050;return-0x1!==_0x26d61f&&(_0x11a86c=Math['min'](_0x580050,_0x26d61f)),this['_updateFootnotesCounters'](_0x27ea71,_0x11a86c)&&(_0x34c1bf=!0x0),_0x34c1bf;}['_handleRemoveFootnoteReferenceById'](_0x594aac,_0x5a0820){const _0x37527b=this['_footnotes']['findIndex'](_0x158eed=>_0x158eed['id']===_0x5a0820);if(-0x1===_0x37527b)return!0x1;let _0x323bdd=!0x1;const _0x1f6be7=this['_footnotes'][_0x37527b];return'$graveyard'!==_0x1f6be7['definition']['root']['rootName']&&(_0x594aac['remove'](_0x1f6be7['definition']),_0x323bdd=!0x0),this['_footnotes']['splice'](_0x37527b,0x1),this['_updateFootnotesCounters'](_0x594aac,_0x37527b)&&(_0x323bdd=!0x0),_0x323bdd;}['_handleMovedFootnoteReference'](_0x40d66d,_0x54c2c8){const _0x2227f5=_0x54c2c8['getAttribute']('footnoteId'),_0x1fa39f=this['_footnotes']['findIndex'](_0x4e691a=>_0x4e691a['id']===_0x2227f5),_0x56e4ef=this['_footnotes'][_0x1fa39f];let _0x576563=!0x1;_0x56e4ef['reference']=_0x54c2c8,this['_footnotes']['splice'](_0x1fa39f,0x1);const _0x41a6e7=R(this['editor']['model'],this['_footnotes'],_0x54c2c8);return this['_footnotes']['splice'](_0x41a6e7,0x0,_0x56e4ef),this['_updateFootnotesCounters'](_0x40d66d,Math['min'](_0x1fa39f,_0x41a6e7))&&(_0x576563=!0x0),_0x576563;}['_updateFootnoteRefCounter'](_0x434918,_0x56a868){if(!this['_footnotesDefinitions'])return!0x1;const _0x37f23e=this['_footnotes'][_0x56a868];let _0xa5908f;return _0xa5908f=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x37f23e,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x56a868+0x1}):String(_0x56a868+0x1),_0x37f23e['reference']['getAttribute']('footnoteCounter')!=_0xa5908f&&(_0x434918['setAttribute']('footnoteCounter',_0xa5908f,_0x37f23e['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4f8488){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x5c3a32,_0x556888){if(_0x5c3a32['length']!==_0x556888['length'])return!0x1;for(let _0x118c68=0x0;_0x118c68<_0x5c3a32['length'];_0x118c68++)if(_0x5c3a32[_0x118c68]!==_0x556888[_0x118c68])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x4e531a=>_0x4e531a['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x8be181=>_0x8be181['getAttribute']('footnoteId'))))return!0x1;let _0x21591c=!0x1;for(let _0x32692a=0x0;_0x32692a<this['_footnotes']['length'];_0x32692a++){const _0x50d9b0=this['_footnotes'][_0x32692a],_0x29974d=_0x4f8488['createPositionBefore'](_0x50d9b0['definition']),_0x1e9a2b=_0x4f8488['createPositionAt'](this['_footnotesDefinitions'],_0x32692a);_0x29974d['isEqual'](_0x1e9a2b)||(_0x4f8488['move'](_0x4f8488['createRangeOn'](_0x50d9b0['definition']),_0x1e9a2b),_0x21591c=!0x0);}return _0x21591c;}['_ensureFootnotesReferencesHaveProperOrder'](_0xdd47d0){if(!this['_footnotes']['length'])return!0x1;const {model:_0x220d2a}=this['editor'];let _0x156c9d=!0x1;for(let _0x45b8cd=0x0;_0x45b8cd<this['_footnotes']['length']-0x1;_0x45b8cd++){const _0x92bb91=this['_footnotes'][_0x45b8cd],_0x314e85=this['_footnotes'][_0x45b8cd+0x1],_0x4df41d=_0x220d2a['createPositionBefore'](_0x92bb91['reference']),_0x4c87da=_0x220d2a['createPositionBefore'](_0x314e85['reference']);'after'===_0x4df41d['compareWith'](_0x4c87da)&&(this['_handleMovedFootnoteReference'](_0xdd47d0,_0x92bb91['reference']),_0x45b8cd=-0x1,_0x156c9d=!0x0);}return _0x156c9d;}}function N(_0x21c1bf,_0x44d220,_0x19aae2){if(_0x19aae2['childCount'])return!0x1;const _0xf3ac3a=_0x44d220?'paragraph':'footnoteInlineContent';return _0x21c1bf['insert'](_0x21c1bf['createElement'](_0xf3ac3a),_0x19aae2),!0x0;}function R(_0x4f4c14,_0x2d2ae7,_0xa84cd){if(0x0===_0x2d2ae7['length'])return 0x0;const _0x1edbcc=_0x4f4c14['createPositionBefore'](_0xa84cd);for(let _0x29d5d9=0x0;_0x29d5d9<_0x2d2ae7['length'];_0x29d5d9++){const _0x31f2f8=_0x2d2ae7[_0x29d5d9],_0x1451fb=_0x4f4c14['createPositionBefore'](_0x31f2f8['reference']);if('before'===_0x1edbcc['compareWith'](_0x1451fb))return _0x29d5d9;}const _0x1a6203=_0xa84cd['root'];let _0x1b1f51=-0x1;for(let _0x2e54df=_0x2d2ae7['length']-0x1;_0x2e54df>=0x0;_0x2e54df--)if(_0x2d2ae7[_0x2e54df]['reference']['root']===_0x1a6203){_0x1b1f51=_0x2e54df;break;}if(-0x1!==_0x1b1f51)return _0x1b1f51+0x1;const _0x60d45d=_0x4f4c14['document']['getRootNames'](),_0x4043b0=_0x60d45d['indexOf'](_0x1a6203['rootName']),_0x5e8f9a=_0x60d45d[_0x4043b0+0x1];if(_0x5e8f9a){for(let _0x1d2a55=0x0;_0x1d2a55<_0x2d2ae7['length'];_0x1d2a55++)if(_0x2d2ae7[_0x1d2a55]['reference']['root']['rootName']===_0x5e8f9a)return _0x1d2a55;}return _0x2d2ae7['length'];}class InsertFootnoteCommand extends _0x10a258{['refresh'](){const _0x4ac76d=this['editor']['model']['document']['selection'],_0x44b8e0=this['_getPositionToInsertFootnote'](_0x4ac76d);this['isEnabled']=!!_0x44b8e0;}['execute'](_0x420e2b){const {editor:_0x5d6c81}=this,{model:_0x598f0a}=_0x5d6c81,{selection:_0x125fd5}=_0x598f0a['document'],_0x5968a6=this['_getPositionToInsertFootnote'](_0x125fd5);if(!_0x5968a6)return;const _0x4d00ff=_0x5d6c81['plugins']['get']('FootnotesEditing'),_0x3d99c9=_0x420e2b?.['footnoteId']??_0x40e5c5();!function(_0x213227){return'string'==typeof _0x213227&&_0x213227['length']>0x0&&!/\s/['test'](_0x213227)&&!/^\d/['test'](_0x213227);}(_0x3d99c9)?_0x32c0c9('insert-footnote-command-executed-with-invalid-id'):(_0x598f0a['change'](_0x4120e9=>{const _0x2767ad=_0x4120e9['createElement']('footnoteRef',{'footnoteId':_0x3d99c9});_0x598f0a['insertObject'](_0x2767ad,_0x5968a6,null);}),_0x4d00ff['_moveSelectionToFootnoteDefinition'](_0x3d99c9));}['_getPositionToInsertFootnote'](_0x18a0eb){const {model:_0x3f025f}=this['editor'],{schema:_0x5676f9}=_0x3f025f,_0x1c0b95=_0x18a0eb['getFirstRange']();for(const _0x51275c of _0x1c0b95['getItems']())if(_0x5676f9['isBlock'](_0x51275c)||_0x5676f9['isObject'](_0x51275c))return null;const _0x1bc83e=_0x1c0b95['end'];return _0x5676f9['checkChild'](_0x1bc83e,'footnoteRef')?_0x1bc83e:null;}}class FootnotesEditing extends _0x37553e{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2dbd7f}=this;_0x2dbd7f['config']['define']('footnotes.multiBlock',!0x0),_0x2dbd7f['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x2dbd7f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x26869d){const _0x115072=_0x603a80([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x4feca4=0x47a28506,_0x398c10=0x47a50e76^_0x4feca4,_0x2d5cc3=window[_0x603a80([0x44,0x61,0x74,0x65])][_0x603a80([0x6e,0x6f,0x77])](),_0x339e3d=_0x26869d[_0x603a80([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x552446=new window[(_0x603a80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3792d4=>{_0x339e3d[_0x603a80([0x6f,0x6e,0x63,0x65])](_0x603a80([0x72,0x65,0x61,0x64,0x79]),_0x3792d4);}),_0xb07cf8={[_0x603a80([0x6b,0x74,0x79])]:_0x603a80([0x45,0x43]),[_0x603a80([0x75,0x73,0x65])]:_0x603a80([0x73,0x69,0x67]),[_0x603a80([0x63,0x72,0x76])]:_0x603a80([0x50,0x2d,0x32,0x35,0x36]),[_0x603a80([0x78])]:_0x603a80([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x603a80([0x79])]:_0x603a80([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x603a80([0x61,0x6c,0x67])]:_0x603a80([0x45,0x53,0x32,0x35,0x36])},_0x46f638=_0x339e3d[_0x603a80([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x603a80([0x67,0x65,0x74])](_0x603a80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2db7b3(){let _0x4950ee,_0x451521=null,_0xb67002=null;try{if(_0x46f638==_0x603a80([0x47,0x50,0x4c]))return _0x603a80([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4950ee=_0x16245a(),!_0x4950ee)return _0x603a80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4950ee[_0x603a80([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb67002=_0x444cc8(_0x4950ee[_0x603a80([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4950ee[_0x603a80([0x6a,0x74,0x69])])),await _0xffc6fc()?_0x1aedfa()?_0x3325b7()?_0x603a80([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x13a935()?(_0x4950ee[_0x603a80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x603a80([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x451521=_0x255265(_0x603a80([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x20dba5()):_0x603a80([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x603a80([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x603a80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x603a80([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3325b7(){const _0xad2204=[_0x603a80([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x603a80([0x74,0x72,0x69,0x61,0x6c])][_0x603a80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4950ee[_0x603a80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d5cc3/0x3e8:0xe10*_0x398c10;return _0x4950ee[_0x603a80([0x65,0x78,0x70])]<_0xad2204;}function _0x1aedfa(){const _0x57f2c6=_0x4950ee[_0x603a80([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x57f2c6&&(!!_0x57f2c6[_0x603a80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x603a80([0x2a]))||!!_0x57f2c6[_0x603a80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x603a80([0x46,0x4f,0x4f])));}function _0x13a935(){const _0x5ef058=_0x4950ee[_0x603a80([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5ef058||0x0==_0x5ef058[_0x603a80([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2692bd}=new URL(window[_0x603a80([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5ef058[_0x603a80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2692bd))return!0x0;const _0x3ab1d6=_0x2692bd[_0x603a80([0x73,0x70,0x6c,0x69,0x74])](_0x603a80([0x2e]));return _0x5ef058[_0x603a80([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54ef80=>_0x54ef80[_0x603a80([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x603a80([0x2a])))[_0x603a80([0x6d,0x61,0x70])](_0x409fea=>_0x409fea[_0x603a80([0x73,0x70,0x6c,0x69,0x74])](_0x603a80([0x2e])))[_0x603a80([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x364009=>_0x364009[_0x603a80([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3ab1d6[_0x603a80([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x603a80([0x6d,0x61,0x70])](_0x1706d2=>Array(_0x3ab1d6[_0x603a80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1706d2[_0x603a80([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x603a80([0x66,0x69,0x6c,0x6c])](_0x1706d2[0x0]===_0x603a80([0x2a])?_0x603a80([0x2a]):'')[_0x603a80([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1706d2))[_0x603a80([0x73,0x6f,0x6d,0x65])](_0x5d90f5=>_0x3ab1d6[_0x603a80([0x65,0x76,0x65,0x72,0x79])]((_0x9c1391,_0x59ede2)=>_0x5d90f5[_0x59ede2]===_0x9c1391||_0x5d90f5[_0x59ede2]===_0x603a80([0x2a])));}function _0x20dba5(){return _0x451521&&_0xb67002?new window[(_0x603a80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c2041,_0x2aaadf)=>{_0x451521[_0x603a80([0x74,0x68,0x65,0x6e])](_0x3c2041,_0x2aaadf),_0xb67002[_0x603a80([0x74,0x68,0x65,0x6e])](_0x320005=>{_0x320005!=_0x603a80([0x56,0x61,0x6c,0x69,0x64])&&_0x3c2041(_0x320005);},_0x2aaadf);}):_0x451521||_0xb67002||_0x603a80([0x56,0x61,0x6c,0x69,0x64]);}}function _0x444cc8(_0x174a3c,_0x146e09){return new window[(_0x603a80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11ebca=>{if(_0x3eb03b())return _0x11ebca(_0x603a80([0x56,0x61,0x6c,0x69,0x64]));_0x198a7e(),_0x339e3d[_0x603a80([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x603a80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2e9495=!0x1;const _0x530bb=_0x40e5c5();function _0x1c4b15(_0x1bdd75){return!!_0x1bdd75&&(typeof _0x1bdd75===_0x603a80([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1bdd75===_0x603a80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1bdd75[_0x603a80([0x74,0x68,0x65,0x6e])]===_0x603a80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1bdd75[_0x603a80([0x63,0x61,0x74,0x63,0x68])]===_0x603a80([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1264ea(_0x30fc2a){_0x2d64d5(_0x30fc2a)[_0x603a80([0x74,0x68,0x65,0x6e])](_0x202621=>{if(!_0x202621||_0x202621[_0x603a80([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x603a80([0x6f,0x6b]))return _0x603a80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ab832(_0x1c75d5(_0x530bb+_0x146e09))!=_0x202621[_0x603a80([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x603a80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x603a80([0x56,0x61,0x6c,0x69,0x64]);})[_0x603a80([0x74,0x68,0x65,0x6e])](_0xd87c46=>(_0x1f0296(),_0xd87c46),()=>{const _0x13ca44=_0x266c7a();return null==_0x13ca44?(_0x1f0296(),_0x603a80([0x56,0x61,0x6c,0x69,0x64])):_0x603a80(_0x2d5cc3-_0x13ca44>(0x63ae0106^_0x4feca4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x603a80([0x74,0x68,0x65,0x6e])](_0x11ebca)[_0x603a80([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11ebca(_0x603a80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xae3efc=0x47946b86^_0x4feca4;function _0x1f0296(){const _0x461d9f=_0x603a80([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ab832(_0x1c75d5(_0x174a3c)),_0x387d60=_0x33f80d(_0x5ab832(window[_0x603a80([0x4d,0x61,0x74,0x68])][_0x603a80([0x63,0x65,0x69,0x6c])](_0x2d5cc3/_0xae3efc)));window[_0x603a80([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x603a80([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x461d9f,_0x387d60);}function _0x266c7a(){const _0x43296d=_0x603a80([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ab832(_0x1c75d5(_0x174a3c)),_0x3ca5eb=window[_0x603a80([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x603a80([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43296d);return _0x3ca5eb?window[_0x603a80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33f80d(_0x3ca5eb),0x10)*_0xae3efc:null;}function _0x2d64d5(_0x3d1665){return new window[(_0x603a80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e34c8,_0x5731e1)=>{_0x3d1665[_0x603a80([0x74,0x68,0x65,0x6e])](_0x5e34c8,_0x5731e1),window[_0x603a80([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5731e1,0x47a351c6^_0x4feca4);});}}_0x339e3d[_0x603a80([0x6f,0x6e])](_0x603a80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x175bcb,_0x50060a)=>{if(_0x50060a[0x0]!=_0x174a3c)return _0x11ebca(_0x603a80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x50060a[0x1]={..._0x50060a[0x1],[_0x603a80([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x530bb};},{[_0x603a80([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x603a80([0x68,0x69,0x67,0x68])}),_0x339e3d[_0x603a80([0x6f,0x6e])](_0x603a80([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x505dd3=>{_0x1c4b15(_0x505dd3[_0x603a80([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2e9495=!0x0,_0x1264ea(_0x505dd3[_0x603a80([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x603a80([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x603a80([0x6c,0x6f,0x77])}),_0x552446[_0x603a80([0x74,0x68,0x65,0x6e])](()=>{_0x2e9495||_0x11ebca(_0x603a80([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3eb03b(){return _0x339e3d[_0x603a80([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x603a80([0x76,0x69,0x65,0x77])][_0x603a80([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x603a80([0x61,0x75,0x74,0x6f]);}function _0x198a7e(){_0x339e3d[_0x603a80([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x603a80([0x76,0x69,0x65,0x77])][_0x603a80([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x603a80([0x61,0x75,0x74,0x6f]);}}function _0x255265(_0xb7851d){const _0x5ca334=[new window[(_0x603a80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4559db=>setTimeout(_0x4559db,0x47abbbca^_0x4feca4)),_0x552446[_0x603a80([0x74,0x68,0x65,0x6e])](()=>new window[(_0x603a80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1554e9=>{let _0xcf1862=0x0;_0x339e3d[_0x603a80([0x6d,0x6f,0x64,0x65,0x6c])][_0x603a80([0x6f,0x6e])](_0x603a80([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x39d5be,_0x1d95b)=>{_0x1d95b[0x0][_0x603a80([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xcf1862++,_0xcf1862==(0x47a280ee^_0x4feca4)&&(_0x1554e9(),_0x39d5be[_0x603a80([0x6f,0x66,0x66])]());});}))];return window[_0x603a80([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x603a80([0x72,0x61,0x63,0x65])](_0x5ca334)[_0x603a80([0x74,0x68,0x65,0x6e])](()=>_0xb7851d);}async function _0x2b1cc1(){await _0x552446,_0x339e3d[_0x603a80([0x6d,0x6f,0x64,0x65,0x6c])][_0x603a80([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x247b66,_0x339e3d[_0x603a80([0x6d,0x6f,0x64,0x65,0x6c])][_0x603a80([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x247b66,_0x339e3d[_0x603a80([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x603a80([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35c185(_0x19fe94){const _0x59c663=_0x18fe48();_0x339e3d[_0x59c663]=_0x603a80([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x19fe94,_0x19fe94!=_0x603a80([0x56,0x61,0x6c,0x69,0x64])&&_0x2b1cc1();}function _0x18fe48(){const _0x25eda7=window[_0x603a80([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x603a80([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x603a80([0x6e,0x6f,0x77])]())[_0x603a80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x603a80([0x2e]),'');let _0x3be836=_0x603a80([0x75]);for(let _0x5b747b=0x0;_0x5b747b<_0x25eda7[_0x603a80([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b747b+=0x2){let _0x27ecdd=window[_0x603a80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25eda7[_0x603a80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b747b,_0x5b747b+0x2));_0x27ecdd>=_0x115072[_0x603a80([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x27ecdd-=_0x115072[_0x603a80([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3be836+=_0x115072[_0x27ecdd];}return _0x3be836;}function _0x16245a(){const _0x500743=_0x46f638[_0x603a80([0x73,0x70,0x6c,0x69,0x74])](_0x603a80([0x2e]));if(0x3!=_0x500743[_0x603a80([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xaf3253(_0x500743[0x1]);function _0xaf3253(_0x483928){const _0x4cf7f9=_0x16809e(_0x483928);return _0x4cf7f9&&_0x372840()?_0x4cf7f9:null;function _0x372840(){const _0x58641d=_0x4cf7f9[_0x603a80([0x6a,0x74,0x69])],_0x1caad0=window[_0x603a80([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58641d[_0x603a80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58641d[_0x603a80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2810d1={..._0x4cf7f9,[_0x603a80([0x6a,0x74,0x69])]:_0x58641d[_0x603a80([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x58641d[_0x603a80([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2810d1[_0x603a80([0x76,0x63])],_0x1c75d5(_0x2810d1)==_0x1caad0;}}}async function _0xffc6fc(){let _0x8f64f9=!0x0;try{const _0xc119cf=_0x46f638[_0x603a80([0x73,0x70,0x6c,0x69,0x74])](_0x603a80([0x2e])),[_0x30f3c3,_0x3a033b,_0x411516]=_0xc119cf;return _0x66d748(_0x30f3c3),await _0x40b4a4(_0x30f3c3,_0x3a033b,_0x411516),_0x8f64f9;}catch{return!0x1;}function _0x66d748(_0x5f366d){const _0xc081b6=_0x16809e(_0x5f366d);_0xc081b6&&_0xc081b6[_0x603a80([0x61,0x6c,0x67])]==_0x603a80([0x45,0x53,0x32,0x35,0x36])||(_0x8f64f9=!0x1);}async function _0x40b4a4(_0x3c657b,_0x134121,_0x21baa3){const _0x158077=window[_0x603a80([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x603a80([0x66,0x72,0x6f,0x6d])](_0x361785(_0x21baa3),_0x24c68a=>_0x24c68a[_0x603a80([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x550f31=new window[(_0x603a80([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x603a80([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3c657b+_0x603a80([0x2e])+_0x134121),_0x150081=window[_0x603a80([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x603a80([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x150081)return;const _0x100ebd=await _0x150081[_0x603a80([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x603a80([0x6a,0x77,0x6b]),_0xb07cf8,{[_0x603a80([0x6e,0x61,0x6d,0x65])]:_0x603a80([0x45,0x43,0x44,0x53,0x41]),[_0x603a80([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x603a80([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x603a80([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x150081[_0x603a80([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x603a80([0x6e,0x61,0x6d,0x65])]:_0x603a80([0x45,0x43,0x44,0x53,0x41]),[_0x603a80([0x68,0x61,0x73,0x68])]:{[_0x603a80([0x6e,0x61,0x6d,0x65])]:_0x603a80([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x100ebd,_0x158077,_0x550f31)||(_0x8f64f9=!0x1);}}function _0x16809e(_0x28f2a4){return _0x28f2a4[_0x603a80([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x603a80([0x65,0x79]))?JSON[_0x603a80([0x70,0x61,0x72,0x73,0x65])](_0x361785(_0x28f2a4)):null;}function _0x361785(_0x4e56a2){return window[_0x603a80([0x61,0x74,0x6f,0x62])](_0x4e56a2[_0x603a80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x603a80([0x2b]))[_0x603a80([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x603a80([0x2f])));}function _0x1c75d5(_0x46fb1b){let _0x35145f=0x1505;function _0x45e88b(_0x26a205){for(let _0x49c5bc=0x0;_0x49c5bc<_0x26a205[_0x603a80([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x49c5bc++){const _0x526aa4=_0x26a205[_0x603a80([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x49c5bc);_0x35145f=(_0x35145f<<0x5)+_0x35145f+_0x526aa4,_0x35145f&=_0x35145f;}}function _0x3d8cb3(_0x2ce494){Array[_0x603a80([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2ce494)?_0x2ce494[_0x603a80([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3d8cb3):_0x2ce494&&typeof _0x2ce494==_0x603a80([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x603a80([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2ce494)[_0x603a80([0x73,0x6f,0x72,0x74])]()[_0x603a80([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x483f25,_0x13d6a1])=>{_0x45e88b(_0x483f25),_0x3d8cb3(_0x13d6a1);}):_0x45e88b(window[_0x603a80([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2ce494));}return _0x3d8cb3(_0x46fb1b),_0x35145f>>>0x0;}function _0x5ab832(_0x50a2dd){return _0x50a2dd[_0x603a80([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x603a80([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x603a80([0x30]));}function _0x33f80d(_0xf1e373){return _0xf1e373[_0x603a80([0x73,0x70,0x6c,0x69,0x74])]('')[_0x603a80([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x603a80([0x6a,0x6f,0x69,0x6e])]('');}function _0x247b66(){}function _0x603a80(_0xdf8588){return _0xdf8588['map'](_0x1ce2b4=>String['fromCharCode'](_0x1ce2b4))['join']('');}_0x35c185(await _0x2db7b3());}(this);}['_moveSelectionToFootnoteDefinition'](_0x14db4c){const {plugins:_0x41821d,editing:_0x122aad,model:_0x5f52de}=this['editor'],_0x5f2c68=_0x41821d['get'](FootnotesTracker)['getFootnote'](_0x14db4c);return!!_0x5f2c68&&(_0x5f52de['change'](_0x558aa2=>{_0x558aa2['setSelection'](_0x558aa2['createPositionAt'](_0x5f2c68['definition'],'end'));}),_0x122aad['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xa75d82){const {plugins:_0x19b962,editing:_0x10597f,model:_0x494525}=this['editor'],_0x40ee5a=_0x19b962['get'](FootnotesTracker)['getFootnote'](_0xa75d82);return!!_0x40ee5a&&(_0x494525['change'](_0x2f6663=>{_0x2f6663['setSelection'](_0x40ee5a['reference'],'on');}),_0x10597f['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5f3b08}=this['editor']['model'],_0x8fdfbb=this['editor']['config']['get']('footnotes.multiBlock');_0x5f3b08['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5f3b08['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5f3b08['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x8fdfbb?_0x5f3b08['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5f3b08['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5f3b08['addChildCheck'](_0x2e1ae3=>{for(const _0x360c61 of _0x2e1ae3)if('footnoteDefinition'===_0x360c61['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x485326}=this,{conversion:_0x2e1f0f,editing:_0x49f475}=_0x485326,{t:t}=_0x485326['locale'];_0x2e1f0f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2528b1,{writer:_0x5aaeed,consumable:_0x5a0ce4})=>{const _0x1f7f7c=_0x2528b1['getChild'](0x0);if(!_0x1f7f7c||!_0x1f7f7c['is']('element','a'))return null;const _0xb687c5=_0x1f7f7c['getAttribute']('href')||'';if(!_0xb687c5['startsWith']('#'))return null;const _0x2aafd1=_0xb687c5['replace'](/^#/,'');if(!_0x2aafd1)return null;_0x5a0ce4['consume'](_0x1f7f7c,{'name':!0x0,'attributes':['href']});for(const {item:_0xc466c7}of _0x49f475['view']['createRangeIn'](_0x1f7f7c))_0xc466c7['is']('$textProxy')?_0x5a0ce4['consume'](_0xc466c7['textNode'],{'name':!0x0}):_0xc466c7['is']('element')&&_0x5a0ce4['consume'](_0xc466c7,{'name':!0x0});return _0x5aaeed['createElement']('footnoteRef',{'footnoteId':_0x2aafd1});}}),_0x2e1f0f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2020cc,{writer:_0x488e24})=>U(_0x2020cc,_0x488e24)}),_0x2e1f0f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xf7e617,{writer:_0x58a20e})=>{const _0x311553=_0xf7e617['getAttribute']('footnoteCounter');return _0x4a6ad0(U(_0xf7e617,_0x58a20e),_0x58a20e,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x311553)});}});}['_defineDefinitionsConverters'](){const {editor:_0x33407c}=this,{t:t}=_0x33407c['locale'],{conversion:_0x4854a1}=_0x33407c;_0x4854a1['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4854a1['for']('upcast')['add'](_0x47279c=>{_0x47279c['on']('element:ol',(_0x51a54f,_0x1c72a0,_0x57e4b5)=>{const _0x2c6d87=_0x1c72a0['viewItem'];if(!_0x2c6d87['hasClass']('footnotes-list')||!_0x1c72a0['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x57e4b5['consumable']['consume'](_0x2c6d87,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x772ae6,modelCursor:_0x231aac}=_0x57e4b5['convertChildren'](_0x1c72a0['viewItem'],_0x1c72a0['modelCursor']);_0x1c72a0['modelRange']=_0x772ae6,_0x1c72a0['modelCursor']=_0x231aac;}),_0x47279c['on']('element:hr',(_0x1d785b,_0x1cbae3,_0x2a799c)=>{const _0x38a31e=_0x1cbae3['viewItem'];_0x38a31e['hasClass']('footnotes-divider')&&_0x1cbae3['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2a799c['consumable']['consume'](_0x38a31e,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4854a1['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x110d07,{writer:_0x26fe39})=>$(_0x26fe39)}),_0x4854a1['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5bbf12,{writer:_0x5e4645})=>{const _0x432965=$(_0x5e4645,{'data-footnotes-list-label':t('Footnotes')}),_0x6be944=_0x4a6ad0(_0x432965,_0x5e4645,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5e4645['setCustomProperty']('footnotesDefinitions',!0x0,_0x6be944),_0x6be944;}});}['_defineDefinitionConverters'](){const {editor:_0x3fadb8}=this,{conversion:_0x455c59,locale:_0x4b2ddc}=_0x3fadb8,_0x795120=_0x3fadb8['config']['get']('footnotes.multiBlock');_0x455c59['for']('upcast')['add'](_0x568361=>{_0x568361['on']('element:li',(_0x4af567,_0x5524b2,_0x549405)=>{const _0x35422f=_0x5524b2['viewItem'];if(!_0x35422f['hasClass']('footnote-definition')||!_0x35422f['getAttribute']('id'))return;const _0x37cf20=_0x35422f['parent'];if(!_0x37cf20['is']('element','ol')||!_0x37cf20['hasClass']('footnotes-list'))return;if(!_0x549405['consumable']['test'](_0x35422f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x215e3c=_0x549405['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x35422f['getAttribute']('id')});if(!_0x549405['safeInsert'](_0x215e3c,_0x5524b2['modelCursor']))return;_0x549405['consumable']['consume'](_0x35422f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x53ddbf=Array['from'](_0x35422f['getChildren']())['find'](_0xe82ae8=>_0xe82ae8['is']('element')&&_0xe82ae8['hasClass']('footnote-content'));for(const _0xe0c612 of _0x35422f['getChildren']())_0xe0c612['is']('element')&&(_0x549405['consumable']['consume'](_0xe0c612,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x549405['consumable']['consume'](_0xe0c612,{'name':!0x0,'classes':'footnote-content'}));if(_0x53ddbf){if(_0x795120)_0x549405['convertChildren'](_0x53ddbf,_0x215e3c);else{const _0x273a9f=_0x549405['writer']['createElement']('footnoteInlineContent');_0x549405['writer']['insert'](_0x273a9f,_0x215e3c),_0x549405['convertChildren'](_0x53ddbf,_0x273a9f);}}_0x549405['updateConversionResult'](_0x215e3c,_0x5524b2);});}),_0x455c59['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5c1a8f,{writer:_0x4af393})=>B(_0x5c1a8f,_0x4af393,_0x4b2ddc,{'dataPipeline':!0x0})}),_0x455c59['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xf9aeb,{writer:_0x295a61})=>B(_0xf9aeb,_0x295a61,_0x4b2ddc)});}['_defineBogusParagraphConverters'](){const {editor:_0x247374}=this,{conversion:_0xd7cda1}=_0x247374;_0x247374['config']['get']('footnotes.multiBlock')?(_0xd7cda1['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':K(),'converterPriority':'high'}),_0xd7cda1['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':K({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x247374['model']['document'],'change:data',()=>{!function(_0x4d5c66,_0x22f46c){const _0x6abfac=_0x4d5c66['document']['differ'],_0x47fef6=new Set();for(const _0x37d44e of _0x6abfac['getChanges']()){const _0x381f8e='attribute'==_0x37d44e['type']?_0x37d44e['range']['start']['parent']:_0x37d44e['position']['parent'];_0x381f8e['is']('element','footnoteDefinition')&&_0x47fef6['add'](_0x381f8e);}for(const _0x5ae552 of _0x47fef6['values']()){const _0x29aad5=Array['from'](_0x5ae552['getChildren']())['filter'](_0x5845d0=>V(_0x5845d0,_0x22f46c['mapper']));for(const _0x4ca437 of _0x29aad5)_0x22f46c['reconvertItem'](_0x4ca437);}}(_0x247374['model'],_0x247374['editing']);})):(_0xd7cda1['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':K()}),_0xd7cda1['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4df356,{writer:_0x6fc9cb})=>{const _0x486476=_0x6fc9cb['createContainerElement']('span');return _0x6fc9cb['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x486476),_0x486476;}}));}['_defineKeyboardHandlers'](){const {editor:_0xfcaf0c}=this,{editing:_0x2421cc,t:t}=_0xfcaf0c,_0x4c0049=_0xfcaf0c['model']['document']['selection'];_0xfcaf0c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xfcaf0c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2421cc['view']['document'],'enter',(_0x542883,_0x44d317)=>{const _0x13d082=function(_0x2f3445){const _0x2d70cf=_0x2f3445['getSelectedElement']();if(_0x2d70cf?.['is']('element','footnoteRef'))return _0x2d70cf;return null;}(_0x4c0049);if(_0x13d082){const _0x44ef96=_0x13d082['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x44ef96),_0x44d317['preventDefault'](),_0x542883['stop']();}},{'context':_0x1e1b1e});}['_defineClickHandlers'](){const {editor:_0x13bb9}=this,{editing:_0x3f9129}=_0x13bb9;_0x13bb9['editing']['view']['addObserver'](_0x3ec258),_0x13bb9['editing']['view']['addObserver'](_0x41b639);let _0x44c338=!0x1;this['listenTo'](_0x3f9129['view']['document'],'pointerdown',(_0x4e86fe,_0x4fd3f9)=>{const {target:_0x59ef49}=_0x4fd3f9,_0x3c7e25=_0x3f9129['view']['document']['selection'];_0x44c338=!!(_0x59ef49?.['is']('element','a')&&_0x59ef49['parent']?.['is']('element','sup')&&_0x59ef49['parent']['hasClass']('footnote'))&&_0x3c7e25['getSelectedElement']()===_0x59ef49['parent'];},{'priority':'high'}),this['listenTo'](_0x3f9129['view']['document'],'click',(_0x316080,_0x216eae)=>{const {target:_0x2aadcb}=_0x216eae;if(!_0x2aadcb?.['is']('element','a'))return;if(_0x2aadcb['parent']?.['is']('element','sup')&&_0x2aadcb['parent']['hasClass']('footnote')&&!_0x44c338)return void _0x216eae['preventDefault']();let _0xbac2c0=_0x2aadcb['getAttribute']('href');if(!_0xbac2c0?.['startsWith']('#'))return;_0xbac2c0=_0xbac2c0['slice'](0x1);let _0x4b2cd8=!0x1;(_0xbac2c0['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xbac2c0['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xbac2c0))&&(_0x4b2cd8=!0x0),_0x4b2cd8&&(_0x216eae['preventDefault'](),_0x316080['stop']());},{'priority':'high','context':'$capture'});}}function K({dataPipeline:_0x311667}={}){return(_0x12926e,{writer:_0x238dbb})=>{if(!j(_0x12926e))return null;if(!_0x311667)return _0x238dbb['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x29f298=_0x238dbb['createContainerElement']('p');return _0x238dbb['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x29f298),_0x29f298;};}function j(_0x1f3662){const {parent:_0x34c749}=_0x1f3662;if(!_0x34c749?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x34c749['childCount'])return!0x1;for(const _0x1f2f66 of _0x1f3662['getAttributeKeys']())if(!_0x1f2f66['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1f2f66)return!0x1;return!0x0;}function V(_0x5127dd,_0x2f0e8c){if(!_0x5127dd['is']('element','paragraph'))return!0x1;const _0x4f9f74=_0x2f0e8c['toViewElement'](_0x5127dd);return!!_0x4f9f74&&j(_0x5127dd)!==_0x4f9f74['is']('element','span');}function M(_0x19d89a){return _0x1e1b1e(_0x19d89a)&&_0x19d89a['is']('containerElement')&&!!_0x19d89a['getCustomProperty']('footnotesDefinitions');}function $(_0x42a7d1,_0x451ce8={}){const _0x3c951c=_0x42a7d1['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x45de05=_0x42a7d1['createContainerElement']('ol',{'class':'footnotes-list'},_0x42a7d1['createSlot']());return _0x42a7d1['createContainerElement']('div',{'class':'footnotes',..._0x451ce8},[_0x3c951c,_0x45de05]);}function U(_0x1491c2,_0x1f90d5){const _0xade010=_0x1491c2['getAttribute']('footnoteId'),_0x219c31=_0x1491c2['getAttribute']('footnoteCounter'),_0xe8e5f3=_0x1f90d5['createUIElement']('a',{'href':'#'+_0xade010},function(_0x1c93f0){const _0x989190=this['toDomElement'](_0x1c93f0);return _0x989190['textContent']=_0x219c31,_0x989190;}),_0x2d91cb=_0x1f90d5['createContainerElement']('sup',{'id':'ref-'+_0xade010,'class':'footnote'},[_0xe8e5f3]);return _0x2d91cb['getFillerOffset']=()=>null,_0x2d91cb;}function B(_0x141c16,_0x257451,_0x292ee4,{dataPipeline:_0x3f2e95}={}){const {t:t}=_0x292ee4,_0x42b8fd=_0x141c16['getAttribute']('footnoteId'),_0x1c4336=_0x257451['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x42b8fd},function(_0x4ec8fc){const _0x3fdcdb=this['toDomElement'](_0x4ec8fc);return _0x3fdcdb['innerText']='^',_0x3fdcdb;}),_0x4f5b9b=_0x3f2e95?_0x257451['createContainerElement']('div',{'class':'footnote-content'}):_0x4705b7(_0x257451['createEditableElement']('div',{'class':'footnote-content'}),_0x257451,{'label':t('Footnote\x20content.')});return _0x257451['insert'](_0x257451['createPositionAt'](_0x4f5b9b,0x0),_0x257451['createSlot']()),_0x257451['createContainerElement']('li',{'class':'footnote-definition','id':_0x42b8fd},[_0x1c4336,_0x4f5b9b]);}class FootnotesClipboard extends _0x37553e{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0x590cf9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x16e0e3}=this,{plugins:_0xeca5d7,model:_0x343ea4}=_0x16e0e3,_0x52e17d=_0xeca5d7['get'](_0x590cf9),_0x2b0a16=_0xeca5d7['get'](FootnotesTracker);this['listenTo'](_0x52e17d,'outputTransformation',(_0x38d6cd,_0x1c9975)=>{const _0x92e75f=H(_0x343ea4['createRangeIn'](_0x1c9975['content']));if(!_0x92e75f['length'])return;const _0x523b68=_0x2b0a16['getFootnotes'](),_0x3f9454=_0x92e75f['reduce']((_0x349e43,_0xa0d45)=>{const _0x41f69c=_0x523b68['find'](_0x325f21=>_0x325f21['id']===_0xa0d45);if(_0x41f69c){const _0x14d477=_0x16e0e3['data']['toView'](_0x41f69c['definition'],{'isClipboardPipeline':!0x0}),_0x421a53=_0x16e0e3['data']['htmlProcessor']['toData'](_0x14d477);_0x349e43[_0x41f69c['id']]=_0x421a53;}return _0x349e43;},Object['create'](null));_0x1c9975['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x3f9454));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x3041c3}=this,{model:_0x57136d,plugins:_0x45bce6}=_0x3041c3,{view:_0x531ea5}=_0x3041c3['editing'],_0x5af3eb=_0x45bce6['get'](_0x590cf9),_0x5054ac=_0x45bce6['get'](FootnotesTracker),_0x29f69e=_0x3041c3['config']['get']('footnotes.multiBlock');let _0x30ae27=null;this['listenTo'](_0x531ea5['document'],'clipboardInput',(_0x58b89b,_0x3d0b1f)=>{const _0x27289a=_0x3d0b1f['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x30ae27=_0x27289a?JSON['parse'](_0x27289a):null;}),this['listenTo'](_0x5af3eb,'contentInsertion',(_0x225001,_0x4364a8)=>{const _0x30fc1d=_0x4364a8['sourceEditorId']===this['editor']['id'];_0x30fc1d&&'drop'===_0x4364a8['method']||_0x57136d['change'](_0x546679=>{let _0x594f3a=_0x5054ac['getFootnotesDefinitionsObjectElement']();const _0x3f42fb=!!_0x594f3a&&Array['from'](_0x57136d['document']['selection']['getSelectedBlocks']())['includes'](_0x594f3a);if(!_0x30ae27&&function(_0x247cfb){for(const {item:_0x2df978}of _0x247cfb)if(_0x2df978['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x57136d['createRangeIn'](_0x4364a8['content']))&&(_0x30ae27=function(_0x4f714d,_0x1cc389){const _0x21fde0=q(_0x4f714d,_0x1cc389);if(!_0x21fde0)return null;const _0x18dc57=Object['create'](null);for(const _0x2c3f65 of _0x21fde0['getChildren']())_0x2c3f65['is']('element','footnoteDefinition')&&_0x2c3f65['hasAttribute']('footnoteId')&&(_0x18dc57[_0x2c3f65['getAttribute']('footnoteId')]=_0x4f714d['cloneElement'](_0x2c3f65,!0x0));return Object['keys'](_0x18dc57)['length']?_0x18dc57:null;}(_0x546679,_0x4364a8['content'])),(_0x594f3a&&!_0x3f42fb||!_0x594f3a&&!_0x30ae27)&&function(_0x89ac6f,_0x8cd815){const _0x20fad7=[];for(const {item:_0x3f7fc5}of _0x89ac6f['createRangeIn'](_0x8cd815))_0x3f7fc5['is']('element','footnotesDefinitions')&&_0x20fad7['push'](_0x3f7fc5);for(const _0x380f05 of _0x20fad7)_0x89ac6f['remove'](_0x380f05);}(_0x546679,_0x4364a8['content']),!_0x30ae27)return;const {selection:_0x55b598}=_0x57136d['document'],_0x6810e6=_0x55b598['getFirstRange']()['root'];_0x594f3a&&!_0x3f42fb||(_0x594f3a=q(_0x546679,_0x4364a8['content']),_0x594f3a||=_0x5054ac['_insertEmptyFootnotesDefinitionsContainer'](_0x546679,_0x6810e6));const _0x2c51d4=Array['from'](_0x55b598['getRanges']())['flatMap'](H),_0x25d3ca=function(_0x26e809,_0x1b4560,_0x149551){const _0x4c0a99=Object['create'](null);for(const {item:_0x34052e}of _0x26e809['createRangeIn'](_0x1b4560))if(_0x34052e['is']('element','footnoteRef')){const _0x13097a=_0x34052e['getAttribute']('footnoteId');if(!_0x149551(_0x13097a))continue;_0x4c0a99[_0x13097a]||(_0x4c0a99[_0x13097a]=_0x40e5c5()),_0x26e809['setAttribute']('footnoteId',_0x4c0a99[_0x13097a],_0x34052e);}return _0x4c0a99;}(_0x546679,_0x4364a8['content'],_0x4f4efe=>{if(!_0x30fc1d)return!0x0;return!!_0x5054ac['getFootnote'](_0x4f4efe)&&!_0x2c51d4['includes'](_0x4f4efe);});for(const [_0x582013,_0x2cd806]of Object['entries'](_0x30ae27)){const _0x5426e7=_0x25d3ca[_0x582013]||_0x582013;let _0x48c137;if('string'!=typeof _0x2cd806)_0x48c137=_0x2cd806,_0x5426e7!==_0x582013&&_0x546679['setAttribute']('footnoteId',_0x5426e7,_0x48c137);else{_0x48c137=_0x546679['createElement']('footnoteDefinition',{'footnoteId':_0x5426e7});const _0x584dc8=_0x3041c3['data']['htmlProcessor']['toView'](_0x2cd806);let _0x382364;if(_0x29f69e)_0x382364=_0x3041c3['data']['toModel'](_0x584dc8,_0x48c137);else{_0x382364=_0x546679['createElement']('footnoteInlineContent');const _0xd19da9=_0x3041c3['data']['toModel'](_0x584dc8,_0x382364);_0x546679['insert'](_0xd19da9,_0x382364);}_0x546679['append'](_0x382364,_0x48c137);}_0x546679['insert'](_0x48c137,_0x594f3a,'end');}_0x30ae27=null;});});}}function q(_0x5d4d23,_0x55bb0d){for(const {item:_0x5c6a95}of _0x5d4d23['createRangeIn'](_0x55bb0d))if(_0x5c6a95['is']('element','footnotesDefinitions'))return _0x5c6a95;return null;}function H(_0x537f9b){const _0x2641b7=new Set();for(const {item:_0x3b3603}of _0x537f9b)_0x3b3603['is']('element','footnoteRef')&&_0x2641b7['add'](_0x3b3603['getAttribute']('footnoteId'));return Array['from'](_0x2641b7);}class FootnotesUI extends _0x37553e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2fe4c2}=this,{componentFactory:_0x374258}=_0x2fe4c2['ui'];_0x374258['add']('insertFootnote',z(_0x2fe4c2,_0x52f2d2)),_0x374258['add']('menuBar:insertFootnote',z(_0x2fe4c2,_0x5f4c56)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1962da=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x327a42;for(const _0x2a6899 in _0x1962da){const _0x46c0e0=_0x2a6899,_0x399314=_0x1962da[_0x46c0e0];if('footnotesLicenseKeyValid'==_0x399314||'footnotesLicenseKeyInvalid'==_0x399314||'footnotesLicenseKeyExpired'==_0x399314||'footnotesLicenseKeyDomainLimit'==_0x399314||'footnotesLicenseKeyNotAllowed'==_0x399314||'footnotesLicenseKeyEvaluationLimit'==_0x399314||'footnotesLicenseKeyUsageLimit'==_0x399314){delete _0x1962da[_0x46c0e0],_0x327a42=_0x399314,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x327a42&&_0x1962da['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x327a42&&_0x1962da['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x327a42&&_0x1962da['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x327a42&&_0x1962da['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x327a42&&_0x1962da['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x327a42&&_0x1962da['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function z(_0x20e393,_0x39406f){const _0x537eb4=_0x20e393['commands']['get']('insertFootnote');return _0x6db3b2=>{const {t:t}=_0x6db3b2,_0x50eeca=new _0x39406f(_0x6db3b2),_0x2b44c6=_0x50eeca instanceof _0x5f4c56;return _0x50eeca['bind']('isEnabled')['to'](_0x537eb4,'isEnabled'),_0x50eeca['set']({'label':t(_0x2b44c6?'Footnote':'Insert\x20footnote'),'icon':_0x430fc1,'tooltip':!0x0}),_0x50eeca['on']('execute',()=>{_0x537eb4['execute'](),_0x20e393['editing']['view']['focus']();}),_0x50eeca;};}class Footnotes extends _0x37553e{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const X=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],J=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),G=[...X,'arabic-indic','lower-alpha','upper-alpha'];class FootnotesStyleCommand extends _0x10a258{['refresh'](){const {editor:_0x45e8c1}=this,_0x286421=_0x45e8c1['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x286421,this['value']=_0x286421?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x115ac9}){const {editor:_0x3c0a2e}=this,_0x44e88c=_0x3c0a2e['plugins']['get'](FootnotesTracker),_0x4e04f7=_0x44e88c['getFootnotesDefinitionsObjectElement']();_0x4e04f7&&G['includes'](_0x115ac9)&&_0x3c0a2e['model']['change'](_0x49e186=>{_0x49e186['setAttribute']('footnotesListStyle',_0x115ac9,_0x4e04f7),_0x44e88c['_updateFootnotesCounters'](_0x49e186);});}}class FootnotesStartCommand extends _0x10a258{['refresh'](){const {editor:_0x32a355}=this,_0x2af0b6=_0x32a355['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2af0b6,this['value']=_0x2af0b6?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x469ba1}){const {editor:_0x581e01}=this,_0x2aa0b3=_0x581e01['plugins']['get'](FootnotesTracker),_0x4eb174=_0x2aa0b3['getFootnotesDefinitionsObjectElement']();_0x4eb174&&Number['isInteger'](_0x469ba1)&&_0x581e01['model']['change'](_0x416e88=>{_0x416e88['setAttribute']('footnotesListStart',_0x469ba1,_0x4eb174),_0x2aa0b3['_updateFootnotesCounters'](_0x416e88);});}}function Q(_0xa18f31,_0x2f9603){let _0x270fd2='',_0x18efb5=_0xa18f31;for(;_0x18efb5>0x0;){const _0x524a3d=(_0x18efb5-0x1)%0x1a;_0x270fd2=String['fromCharCode'](0x61+_0x524a3d)+_0x270fd2,_0x18efb5=Math['floor']((_0x18efb5-0x1)/0x1a);}return _0x2f9603?_0x270fd2['toUpperCase']():_0x270fd2;}const W=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function Y(_0x44b1fd,_0x1db488){let _0x33735b='',_0x5993c2=_0x44b1fd;for(const {value:_0x10bc13,numeral:_0x1460fd}of W)for(;_0x5993c2>=_0x10bc13;)_0x33735b+=_0x1460fd,_0x5993c2-=_0x10bc13;return _0x1db488?_0x33735b:_0x33735b['toLowerCase']();}const Z=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class FootnotesPropertiesEditing extends _0x37553e{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xc3f7fd}=this;_0xc3f7fd['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xc3f7fd['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xc3f7fd['config']['define']('footnotes.footnotesProperties.listStyles',[...X]),_0xc3f7fd['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0xc3f7fd)),_0xc3f7fd['commands']['add']('footnotesStart',new FootnotesStartCommand(_0xc3f7fd)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3210bd}=this,{schema:_0xf60e79}=_0x3210bd['model'];_0xf60e79['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1170ed}=this,{conversion:_0x4af9f9,model:_0x439b6a}=_0x1170ed,{schema:_0x32d1a6}=_0x439b6a;_0x4af9f9['for']('upcast')['add'](_0x402044=>{_0x402044['on']('element:ol',(_0x1ff7c0,_0x49a8fa,_0x4afb27)=>{const _0x37a99b=_0x49a8fa['viewItem'],_0x2331b0=_0x49a8fa['modelCursor']?.['parent'];_0x37a99b['hasClass']('footnotes-list')&&_0x2331b0?.['is']('element','footnotesDefinitions')&&(function(_0x553564,_0x2c43b1,_0x53435f,_0x1d675e){if(!_0x1d675e['checkAttribute'](_0x2c43b1,'footnotesListStart'))return;let _0x50d292=0x1;const _0x21c1ee=_0x53435f['consumable']['consume'](_0x553564,{'attributes':'start'});if(_0x21c1ee){const _0x227c5d=Number['parseInt'](_0x553564['getAttribute']('start'),0xa);Number['isNaN'](_0x227c5d)||(_0x50d292=_0x227c5d);}!_0x21c1ee&&_0x2c43b1['hasAttribute']('footnotesListStart')||_0x53435f['writer']['setAttribute']('footnotesListStart',_0x50d292,_0x2c43b1);}(_0x37a99b,_0x2331b0,_0x4afb27,_0x32d1a6),function(_0x5405c9,_0x6c6aa3,_0x6e486d,_0x3b187a){if(!_0x3b187a['checkAttribute'](_0x6c6aa3,'footnotesListStyle'))return;let _0x474409='decimal',_0x537a46=!0x1;if(_0x6e486d['consumable']['consume'](_0x5405c9,{'attributes':'type'})){const _0x1d3f5f={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x5405c9['getAttribute']('type')];_0x1d3f5f&&(_0x474409=_0x1d3f5f),_0x537a46=!0x0;}if(_0x6e486d['consumable']['consume'](_0x5405c9,{'styles':'list-style-type'})){const _0x286873=tt(_0x5405c9['getStyle']('list-style-type'));_0x286873&&(_0x474409=_0x286873),_0x537a46=!0x0;}!_0x537a46&&_0x6c6aa3['hasAttribute']('footnotesListStyle')||_0x6e486d['writer']['setAttribute']('footnotesListStyle',_0x474409,_0x6c6aa3);}(_0x37a99b,_0x2331b0,_0x4afb27,_0x32d1a6));});}),_0x4af9f9['for']('downcast')['add'](_0x362ad3=>{_0x362ad3['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x3eb197,_0x20098d,_0x522a16)=>{if(!_0x522a16['consumable']['consume'](_0x20098d['item'],_0x3eb197['name']))return;const _0x1a9cd4=et(_0x20098d['item'],_0x522a16['mapper']),{attributeNewValue:_0x3ab715}=_0x20098d;null==_0x3ab715||0x1===_0x3ab715?_0x522a16['writer']['removeAttribute']('start',_0x1a9cd4):_0x522a16['writer']['setAttribute']('start',String(_0x3ab715),_0x1a9cd4);}),_0x362ad3['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x120176,_0x2451a9,_0x49d80b)=>{if(!_0x49d80b['consumable']['consume'](_0x2451a9['item'],_0x120176['name']))return;const _0x2b5f31=et(_0x2451a9['item'],_0x49d80b['mapper']),{attributeNewValue:_0x393733}=_0x2451a9;_0x393733&&'decimal'!==_0x393733?_0x49d80b['writer']['setStyle']('list-style-type',_0x393733,_0x2b5f31):_0x49d80b['writer']['removeStyle']('list-style-type',_0x2b5f31);});});}['_definePostfixer'](){const {editor:_0x5dc1c9}=this,{model:_0x2ff759}=_0x5dc1c9,_0x44318e=_0x5dc1c9['plugins']['get'](FootnotesTracker),_0x26cbc2=this['_getDefaultListStyle'](),_0x514da9=this['_getDefaultStartIndex']();_0x2ff759['document']['registerPostFixer'](_0xa0b967=>{const _0xec50cf=_0x2ff759['document']['differ']['getChanges']();let _0x5ecdfa=!0x1;for(const _0x139931 of _0xec50cf){if('insert'!==_0x139931['type']||'$text'===_0x139931['name'])continue;const _0x402e44=_0x2ff759['createRangeOn'](_0x139931['position']['nodeAfter']);for(const _0x49f890 of _0x402e44['getItems']())_0x49f890['is']('element','footnotesDefinitions')&&(!_0x49f890['hasAttribute']('footnotesListStart')&&_0x2ff759['schema']['checkAttribute'](_0x49f890,'footnotesListStart')&&(_0xa0b967['setAttribute']('footnotesListStart',_0x514da9,_0x49f890),_0x5ecdfa=!0x0),!_0x49f890['hasAttribute']('footnotesListStyle')&&_0x2ff759['schema']['checkAttribute'](_0x49f890,'footnotesListStyle')&&(_0xa0b967['setAttribute']('footnotesListStyle',_0x26cbc2,_0x49f890),_0x5ecdfa=!0x0));}return _0x5ecdfa&&_0x44318e['_updateFootnotesCounters'](_0xa0b967),_0x5ecdfa;});}['_defineFormatter'](){const {editor:_0x11fff3}=this;_0x11fff3['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x3b6672=>this['_formatFootnoteListValue'](_0x3b6672));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x5a1911,value:_0x31801d,digits:_0x2d643a}){const _0x5a498e=_0x5a1911['getAttribute']('footnotesListStyle'),_0x2186f9=_0x5a1911['getAttribute']('footnotesListStart'),_0x214d26=Math['floor'](_0x31801d)+(_0x2186f9??0x1)-0x1;switch(_0x5a498e){case'decimal-leading-zero':return function(_0x5bb9c0,_0x5343b8){return String(_0x5bb9c0)['padStart'](_0x5343b8,'0');}(_0x214d26,Math['max'](0x2,_0x2d643a));case'lower-alpha':case'lower-latin':return Q(_0x214d26,!0x1);case'upper-alpha':case'upper-latin':return Q(_0x214d26,!0x0);case'lower-roman':return Y(_0x214d26,!0x1);case'upper-roman':return Y(_0x214d26,!0x0);case'arabic-indic':return String(_0x214d26)['replace'](/\d/g,_0x46c395=>Z[Number(_0x46c395)]);default:return String(_0x214d26);}}}function tt(_0x1a91cc){if('string'==typeof _0x1a91cc){const _0x3bf44b=J[_0x1a91cc];if(_0x3bf44b)return _0x3bf44b;if(G['includes'](_0x1a91cc))return _0x1a91cc;}return null;}function et(_0x6b24b1,_0x3bbd0e){const _0x138ccc=_0x3bbd0e['toViewElement'](_0x6b24b1);return Array['from'](_0x138ccc['getChildren']())['find'](_0x5110cc=>_0x5110cc['is']('element','ol')&&_0x5110cc['hasClass']('footnotes-list'));}class FootnotesDefinitionsPropertiesView extends _0x29c5ea{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x1d94f1();['keystrokes']=new _0x17b5de();['focusables']=new _0x50115b();['focusCycler'];constructor(_0x5e7312,{styleButtonViews:_0x29da68,styleGridAriaLabel:_0x28ab5d}){super(_0x5e7312),(this['focusCycler']=new _0x43f6cc({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x29da68,_0x28ab5d),[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 _0x3fca51 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3fca51['element']);_0x21babe({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x1ca45b['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 _0x254093=_0x415bdb=>_0x415bdb['stopPropagation']();this['keystrokes']['set']('arrowright',_0x254093),this['keystrokes']['set']('arrowleft',_0x254093),this['keystrokes']['set']('arrowup',_0x254093),this['keystrokes']['set']('arrowdown',_0x254093);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4baeeb,_0x3e4161){const _0x379f07=new _0x29c5ea(this['locale']);return _0x379f07['children']=_0x379f07['createCollection'](),_0x379f07['children']['addMany'](_0x4baeeb),_0x379f07['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3e4161,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x379f07['children']}),_0x379f07['children']['delegate']('execute')['to'](this),_0x379f07['focus']=function(){for(const _0x7c0bff of this['children'])if(_0x7c0bff instanceof _0x52f2d2&&_0x7c0bff['isOn'])return void _0x7c0bff['focus']();this['children']['first']['focus']();},_0x379f07['focusTracker']=new _0x1d94f1(),_0x379f07['keystrokes']=new _0x17b5de(),_0x379f07['render'](),_0x379f07['keystrokes']['listenTo'](_0x379f07['element']),this['children']['add'](_0x379f07),_0x379f07;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x536071=this['_createStartIndexPropertyView'](),_0x4221b7=[_0x536071],_0x283fe9=new _0xecd9ec(this['locale'],_0x4221b7);return _0x283fe9['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x283fe9['buttonView']['bind']('isEnabled')['toMany'](_0x4221b7,'isEnabled',(..._0x7003e0)=>_0x7003e0['some'](_0x295800=>_0x295800)),_0x283fe9['buttonView']['on']('change:isEnabled',(_0x5e0f47,_0x229d7a,_0x4a79c1)=>{_0x4a79c1||(_0x283fe9['isCollapsed']=!0x0);}),this['children']['add'](_0x283fe9),[_0x536071,_0x283fe9];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x145ad4=new _0x528c32(this['locale'],_0x312468);return _0x145ad4['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x145ad4['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x145ad4['fieldView']['on']('input',()=>{const _0x144937=_0x145ad4['fieldView']['element'],_0x3e032c=_0x144937['valueAsNumber'];Number['isNaN'](_0x3e032c)?_0x145ad4['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x144937['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3e032c}):_0x145ad4['errorText']=t(_0x3e032c<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x145ad4;}}class FootnotesPropertiesUI extends _0x37553e{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3b49c2,_0x516bda];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x39112a}=this,{componentFactory:_0x38d537}=_0x39112a['ui'];_0x39112a['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x38d537['add']('footnotesStyle',function(_0x345aaa){return _0x256c19=>{const {t:t}=_0x256c19,_0x199b06=_0x345aaa['commands']['get']('footnotesStyle'),_0x4e5f47=_0x3e896f(_0x256c19),{buttonView:_0x54c125}=_0x4e5f47;return _0x4e5f47['class']='ck-footnotes-styles-dropdown',_0x4e5f47['bind']('isEnabled')['to'](_0x199b06,'isEnabled'),_0x54c125['set']({'label':t('Footnotes\x20style'),'icon':_0x430fc1,'tooltip':!0x0}),_0x4e5f47['once']('change:isOpen',()=>{const _0x34d1f7=function({editor:_0x4756b6,dropdownView:_0x4f7b7e}){const {t:t}=_0x4756b6['locale'],_0xfc0d8c=t('Footnotes\x20definitions\x20styles'),_0xa33048=function(_0x5effd9){const {t:t}=_0x5effd9['locale'],_0x47bf8b=_0x5effd9['config']['get']('footnotes.footnotesProperties.listStyles'),_0x1ed23d=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x291cf2},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x1b2a87},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x2d40d7},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x424225},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x478d61},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x5d8907},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x7d4b61}];return _0x47bf8b['map'](_0xa21b82=>{const _0x55e179=tt(_0xa21b82),_0x3c39f8=_0x1ed23d['find'](_0x134214=>_0x134214['style']===_0x55e179);return function(_0x4b55c3,_0x32ce52){const {locale:_0x15c8f1}=_0x4b55c3,{label:_0x358c41,icon:_0x4ad9e6,tooltip:_0x4c704d,style:_0x3ae666}=_0x32ce52,_0x9e6c26=_0x4b55c3['commands']['get']('footnotesStyle'),_0x52478c=new _0x52f2d2(_0x15c8f1);return _0x52478c['set']({'label':_0x358c41,'icon':_0x4ad9e6,'tooltip':_0x4c704d}),_0x52478c['bind']('isOn')['to'](_0x9e6c26,'value',_0x4b9021=>_0x4b9021===_0x3ae666),_0x52478c['bind']('isEnabled')['to'](_0x9e6c26,'isEnabled'),_0x52478c['on']('execute',()=>{_0x4b55c3['execute']('footnotesStyle',{'value':_0x3ae666}),_0x4b55c3['editing']['view']['focus']();}),_0x52478c;}(_0x5effd9,_0x3c39f8);});}(_0x4756b6),_0xc9d23e=new FootnotesDefinitionsPropertiesView(_0x4756b6['locale'],{'styleGridAriaLabel':_0xfc0d8c,'styleButtonViews':_0xa33048}),_0x38d57a=_0x4756b6['commands']['get']('footnotesStart');return _0xc9d23e['startIndexFieldView']['bind']('isEnabled')['to'](_0x38d57a),_0xc9d23e['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x38d57a),_0xc9d23e['on']('footnotesListStart',(_0x38ad91,_0x54cb1a)=>{_0x4756b6['execute']('footnotesStart',{'value':_0x54cb1a['startIndex']});}),_0xc9d23e['delegate']('execute')['to'](_0x4f7b7e),_0xc9d23e;}({'editor':_0x345aaa,'dropdownView':_0x4e5f47});_0x4e5f47['panelView']['children']['add'](_0x34d1f7);}),_0x4e5f47;};}(_0x39112a));}['afterInit'](){const {editor:_0x17db14}=this,{t:t}=_0x17db14['locale'],_0x5419a4=_0x17db14['plugins']['get'](_0x516bda),{defaultPositions:_0x25d1ed}=_0x2f1e08;_0x5419a4['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x17db14['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x52a6a2=>{let _0x25e6c6=_0x52a6a2['getFirstPosition']()?.['parent'];return _0x25e6c6?.['is']('$text')&&(_0x25e6c6=_0x25e6c6['parent']),_0x25e6c6?.['is']('element')?_0x25e6c6['findAncestor'](M):null;},'positions':[_0x25d1ed['southArrowNorth'],_0x25d1ed['southArrowNorthMiddleWest'],_0x25d1ed['southArrowNorthMiddleEast'],_0x25d1ed['southArrowNorthWest'],_0x25d1ed['southArrowNorthEast'],_0x25d1ed['northArrowSouth'],_0x25d1ed['northArrowSouthMiddleWest'],_0x25d1ed['northArrowSouthMiddleEast'],_0x25d1ed['northArrowSouthWest'],_0x25d1ed['northArrowSouthEast'],_0x25d1ed['viewportStickyNorth']]});}}class FootnotesProperties extends _0x37553e{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Footnotes,FootnotesClipboard,FootnotesEditing,FootnotesProperties,FootnotesPropertiesEditing,FootnotesPropertiesUI,FootnotesStartCommand,FootnotesStyleCommand,FootnotesTracker,FootnotesUI,InsertFootnoteCommand};
23
+ import{Plugin as _0x37efa5,Command as _0x858737}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x4a425c,isWidget as _0x466769,toWidgetEditable as _0x54068d,WidgetToolbarRepository as _0x556a29}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x3af4a9,logWarning as _0x1c7a35,FocusTracker as _0x3c0be7,KeystrokeHandler as _0x42ba0c,global as _0x575e46}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4bdbcb,ClickObserver as _0x4ed162}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3e5cad}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x222479,ButtonView as _0x3d4830,View as _0x1215a8,ViewCollection as _0x3a5df5,FocusCycler as _0x374ca2,addKeyboardHandlingForGrid as _0x128ca0,CollapsibleView as _0x5ca684,LabeledFieldView as _0x51e597,createLabeledInputNumber as _0x167831,ContextualBalloon as _0x1ccec8,BalloonPanelView as _0x2ba86c,createDropdown as _0x2fda6e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x2fde97,IconListStyleDecimal as _0x44f21c,IconListStyleDecimalLeadingZero as _0x5c188b,IconListStyleLowerRoman as _0x289a9f,IconListStyleUpperRoman as _0x3fda92,IconListStyleLowerLatin as _0x54525b,IconListStyleUpperLatin as _0x323d3c,IconListStyleArabicIndic as _0x37b442}from'@ckeditor/ckeditor5-icons/dist/index.js';class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x36b1b4,_0x346718){this['_model']=_0x36b1b4,this['_elementName']=_0x346718['elementName'],this['_getElementKey']=_0x346718['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3e51ef){const _0x2658a6=new Set(),_0x43b0ee=new Map();for(const _0xbf8103 of _0x3e51ef){if('insert'===_0xbf8103['type']&&'$text'!==_0xbf8103['name']&&_0xbf8103['position']['nodeAfter']){const _0x1cbd23=this['_model']['createRangeOn'](_0xbf8103['position']['nodeAfter']);for(const _0x589efa of _0x1cbd23['getItems']()){if(!_0x589efa['is']('element',this['_elementName']))continue;const _0x6acb4a=this['_getElementKey'](_0x589efa);_0x43b0ee['has'](_0x6acb4a)||_0x43b0ee['set'](_0x6acb4a,[]),_0x43b0ee['get'](_0x6acb4a)['push'](_0x589efa);}}if('remove'===_0xbf8103['type']&&_0xbf8103['name']===this['_elementName']){const _0x1295dc=this['_getElementKey']({'getAttribute':_0x2b8789=>_0xbf8103['attributes']['get'](_0x2b8789)});_0x2658a6['add'](_0x1295dc);}}for(const [_0x556c05,_0xbd0480]of this['_trackedElements'])'$graveyard'===_0xbd0480['root']['rootName']&&_0x2658a6['add'](_0x556c05);for(const _0x1eb5f6 of _0x2658a6)this['_trackedElements']['delete'](_0x1eb5f6);for(const [_0x4b914d,_0x207632]of _0x43b0ee)this['_trackedElements']['set'](_0x4b914d,_0x207632[_0x207632['length']-0x1]);const _0x2a483f=new Set();for(const [_0x16ba17,_0x5e6218]of _0x43b0ee)_0x2658a6['has'](_0x16ba17)&&(_0x2a483f['add'](_0x5e6218[0x0]),_0x5e6218['length']>0x1?_0x43b0ee['set'](_0x16ba17,_0x5e6218['slice'](0x1)):_0x43b0ee['delete'](_0x16ba17),_0x2658a6['delete'](_0x16ba17));return{'removed':Array['from'](_0x2658a6),'inserted':Array['from'](_0x43b0ee['values']())['flat'](),'moved':Array['from'](_0x2a483f)};}}class FootnotesTracker extends _0x37efa5{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x36703c){super(_0x36703c),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2912a4=>_0x2912a4['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x596fdc=>_0x596fdc['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4173d7}=this,{model:_0x359606,data:_0x2bd460}=_0x4173d7;_0x359606['document']['registerPostFixer'](_0x5f2b69=>{const _0xd3ab6b=_0x359606['document']['differ']['getChanges']();let _0x412c13=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5f2b69,_0xd3ab6b)&&(_0x412c13=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5f2b69,_0xd3ab6b)&&(_0x412c13=!0x0),this['_handleFootnoteReferencesChanges'](_0x5f2b69,_0xd3ab6b)&&(_0x412c13=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5f2b69)&&(_0x412c13=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5f2b69)&&(_0x412c13=!0x0),this['_sortFootnoteDefinitions'](_0x5f2b69)&&(_0x412c13=!0x0),_0x412c13;}),this['listenTo'](_0x359606['document'],'change:data',()=>{_0x359606['enqueueChange']({'isUndoable':!0x1},_0x1721b2=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1721b2);});},{'priority':'low'}),this['listenTo'](_0x2bd460,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x24343c){return this['_footnotes']['find'](_0x847162=>_0x847162['id']===_0x24343c)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x42f46f){this['_footnoteFormatter']=_0x42f46f;}['_updateFootnotesCounters'](_0x2f9f5d,_0x379ec2=0x0){let _0x3f68fc=!0x1;for(let _0x384778=_0x379ec2;_0x384778<this['_footnotes']['length'];_0x384778++)this['_updateFootnoteRefCounter'](_0x2f9f5d,_0x384778)&&(_0x3f68fc=!0x0);return _0x3f68fc;}['_insertEmptyFootnotesDefinitionsContainer'](_0x30c584,_0x1a4d39){const _0x116c56=_0x30c584['createElement']('footnotesDefinitions',{});return _0x30c584['append'](_0x116c56,_0x1a4d39),this['_footnotesDefinitions']=_0x116c56,_0x116c56;}['_ensureFootnotesDefinitionsContainerExists'](_0xea9a9b){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x351af6=this['_footnotes'][0x0]['reference']['root'],_0x542ae2=this['_insertEmptyFootnotesDefinitionsContainer'](_0xea9a9b,_0x351af6);for(const _0x5c2ae4 of this['_footnotes'])_0x5c2ae4['definition']['parent']||_0xea9a9b['insert'](_0x5c2ae4['definition'],_0x542ae2,'end');this['_updateFootnotesCounters'](_0xea9a9b);}['_handleFootnotesDefinitionsObjectChanges'](_0x38b68e,_0x4d99b8){let _0x48e696=!0x1;const {inserted:_0xdad88f,removed:_0x6f25d1,moved:_0x4430bf}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4d99b8);if(_0x4430bf['length']&&(this['_footnotesDefinitions']=_0x4430bf[0x0]),_0xdad88f['length']){if(_0xdad88f['length']>0x1||this['_footnotesDefinitions']&&_0xdad88f['some'](_0xe1c7e9=>_0xe1c7e9!==this['_footnotesDefinitions'])){const _0x7c6f0e=_0x38b68e['createElement']('footnotesDefinitions',{}),_0x560003=[];this['_footnotesDefinitions']&&_0x560003['push'](this['_footnotesDefinitions']),_0x560003['push'](..._0xdad88f),_0x38b68e['insert'](_0x7c6f0e,_0x560003[0x0],'before');for(const _0x3e3124 of _0x560003)_0x38b68e['move'](_0x38b68e['createRangeIn'](_0x3e3124),_0x38b68e['createPositionAt'](_0x7c6f0e,'end')),_0x38b68e['remove'](_0x3e3124);this['_footnotesDefinitions']=_0x7c6f0e,this['_updateFootnotesCounters'](_0x38b68e),_0x48e696=!0x0;}else this['_footnotesDefinitions']=_0xdad88f[0x0];}if(_0x6f25d1['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x109e0e of this['_footnotes'])_0x38b68e['remove'](_0x109e0e['reference']),_0x48e696=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x48e696;}['_handleFootnoteDefinitionsChanges'](_0x223031,_0x5052cb){let _0x5d8167=!0x1;const _0xaf361e=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x324b18,moved:_0xd3ce45}=this['_footnoteDefsTracker']['getChanges'](_0x5052cb);for(const _0x4c8371 of[..._0xd3ce45,..._0x324b18]){const _0x23833f=_0x4c8371['getAttribute']('footnoteId'),_0x15075e=this['getFootnote'](_0x23833f);_0x15075e&&(_0x15075e['definition']=_0x4c8371),N(_0x223031,_0xaf361e,_0x4c8371)&&(_0x5d8167=!0x0);}return _0x5d8167;}['_handleFootnoteReferencesChanges'](_0x4ea622,_0xeb06db){let _0x1db304=!0x1;const {removed:_0x1b60b0,inserted:_0x25d31f,moved:_0x1cba17}=this['_footnoteRefsTracker']['getChanges'](_0xeb06db);for(const _0x8aef0c of _0x1b60b0)this['_handleRemoveFootnoteReferenceById'](_0x4ea622,_0x8aef0c)&&(_0x1db304=!0x0);for(const _0x6cfc68 of _0x25d31f)this['_handleInsertedFootnoteReference'](_0x4ea622,_0x6cfc68)&&(_0x1db304=!0x0);for(const _0xa51781 of _0x1cba17)this['_handleMovedFootnoteReference'](_0x4ea622,_0xa51781)&&(_0x1db304=!0x0);return _0x1db304;}['_handleFootnotesDefinitionsObjectSync'](_0x2a9490){if(!this['_footnotesDefinitions'])return!0x1;let _0x68e349=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x39ad40=[];for(const _0x383223 of this['_footnotesDefinitions']['getChildren']()){const _0x260d9c=_0x383223['getAttribute']('footnoteId');this['getFootnote'](_0x260d9c)||(_0x39ad40['unshift'](_0x383223),_0x68e349=!0x0);}for(const _0x48c9be of _0x39ad40)_0x2a9490['remove'](_0x48c9be);}const _0x1d93e9=new Set(),_0x52d283=[];for(const _0xab3e77 of this['_footnotesDefinitions']['getChildren']()){const _0x4d587b=_0xab3e77['getAttribute']('footnoteId');_0x1d93e9['has'](_0x4d587b)?(_0x52d283['unshift'](_0xab3e77),_0x68e349=!0x0):_0x1d93e9['add'](_0x4d587b);}for(const _0x420ea6 of _0x52d283)_0x2a9490['remove'](_0x420ea6);return this['_footnotesDefinitions']['childCount']||(_0x2a9490['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x68e349=!0x0),_0x68e349;}['_handleInsertedFootnoteReference'](_0x291d7a,_0x5221d3){if(this['_footnotes']['find'](_0x354db8=>_0x354db8['reference']===_0x5221d3))return!0x1;let _0x19b08f=!0x1;const _0x5bc566=_0x5221d3['getAttribute']('footnoteId'),_0x29bcf6=this['_footnotes']['findIndex'](_0x1be5b2=>_0x1be5b2['id']===_0x5bc566);-0x1!==_0x29bcf6&&(_0x291d7a['remove'](this['_footnotes'][_0x29bcf6]['reference']),this['_footnotes']['splice'](_0x29bcf6,0x1),_0x19b08f=!0x0);let _0x45ef03=this['_footnotesDefinitions']?function(_0x973c56,_0x4d5631){for(const _0x4a1150 of _0x973c56['getChildren']())if(_0x4a1150['getAttribute']('footnoteId')===_0x4d5631)return _0x4a1150;return null;}(this['_footnotesDefinitions'],_0x5bc566):null;_0x45ef03||(_0x45ef03=_0x291d7a['createElement']('footnoteDefinition',{'footnoteId':_0x5bc566}),this['_footnotesDefinitions']&&(_0x291d7a['insert'](_0x45ef03,this['_footnotesDefinitions'],'end'),_0x19b08f=!0x0));const _0x5dcce1={'id':_0x5bc566,'reference':_0x5221d3,'definition':_0x45ef03},_0x19c9dd=R(this['editor']['model'],this['_footnotes'],_0x5221d3);this['_footnotes']['splice'](_0x19c9dd,0x0,_0x5dcce1);let _0x3707c3=_0x19c9dd;return-0x1!==_0x29bcf6&&(_0x3707c3=Math['min'](_0x19c9dd,_0x29bcf6)),this['_updateFootnotesCounters'](_0x291d7a,_0x3707c3)&&(_0x19b08f=!0x0),_0x19b08f;}['_handleRemoveFootnoteReferenceById'](_0x15a1d4,_0x340a6b){const _0x1c78ad=this['_footnotes']['findIndex'](_0x2dcde8=>_0x2dcde8['id']===_0x340a6b);if(-0x1===_0x1c78ad)return!0x1;let _0x477c59=!0x1;const _0x47a77a=this['_footnotes'][_0x1c78ad];return'$graveyard'!==_0x47a77a['definition']['root']['rootName']&&(_0x15a1d4['remove'](_0x47a77a['definition']),_0x477c59=!0x0),this['_footnotes']['splice'](_0x1c78ad,0x1),this['_updateFootnotesCounters'](_0x15a1d4,_0x1c78ad)&&(_0x477c59=!0x0),_0x477c59;}['_handleMovedFootnoteReference'](_0x29d3e4,_0x47d949){const _0x1860e9=_0x47d949['getAttribute']('footnoteId'),_0x131316=this['_footnotes']['findIndex'](_0x37dbad=>_0x37dbad['id']===_0x1860e9),_0x379d4a=this['_footnotes'][_0x131316];let _0xe94c76=!0x1;_0x379d4a['reference']=_0x47d949,this['_footnotes']['splice'](_0x131316,0x1);const _0x548b3a=R(this['editor']['model'],this['_footnotes'],_0x47d949);return this['_footnotes']['splice'](_0x548b3a,0x0,_0x379d4a),this['_updateFootnotesCounters'](_0x29d3e4,Math['min'](_0x131316,_0x548b3a))&&(_0xe94c76=!0x0),_0xe94c76;}['_updateFootnoteRefCounter'](_0x41576c,_0x54972c){if(!this['_footnotesDefinitions'])return!0x1;const _0x3e04d8=this['_footnotes'][_0x54972c];let _0x2c1405;return _0x2c1405=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x3e04d8,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x54972c+0x1}):String(_0x54972c+0x1),_0x3e04d8['reference']['getAttribute']('footnoteCounter')!=_0x2c1405&&(_0x41576c['setAttribute']('footnoteCounter',_0x2c1405,_0x3e04d8['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3a23fe){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x46d341,_0x4037b4){if(_0x46d341['length']!==_0x4037b4['length'])return!0x1;for(let _0x1f30c2=0x0;_0x1f30c2<_0x46d341['length'];_0x1f30c2++)if(_0x46d341[_0x1f30c2]!==_0x4037b4[_0x1f30c2])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x20c9e2=>_0x20c9e2['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0xa4850=>_0xa4850['getAttribute']('footnoteId'))))return!0x1;let _0x5cd5c8=!0x1;for(let _0x52be03=0x0;_0x52be03<this['_footnotes']['length'];_0x52be03++){const _0x44e39e=this['_footnotes'][_0x52be03],_0x4d10b3=_0x3a23fe['createPositionBefore'](_0x44e39e['definition']),_0x4919f9=_0x3a23fe['createPositionAt'](this['_footnotesDefinitions'],_0x52be03);_0x4d10b3['isEqual'](_0x4919f9)||(_0x3a23fe['move'](_0x3a23fe['createRangeOn'](_0x44e39e['definition']),_0x4919f9),_0x5cd5c8=!0x0);}return _0x5cd5c8;}['_ensureFootnotesReferencesHaveProperOrder'](_0x28cec7){if(!this['_footnotes']['length'])return!0x1;const {model:_0x1814e8}=this['editor'];let _0x4b2e72=!0x1;for(let _0x5ccdbf=0x0;_0x5ccdbf<this['_footnotes']['length']-0x1;_0x5ccdbf++){const _0x105ed7=this['_footnotes'][_0x5ccdbf],_0x2ffab8=this['_footnotes'][_0x5ccdbf+0x1],_0x252a19=_0x1814e8['createPositionBefore'](_0x105ed7['reference']),_0x31fa01=_0x1814e8['createPositionBefore'](_0x2ffab8['reference']);'after'===_0x252a19['compareWith'](_0x31fa01)&&(this['_handleMovedFootnoteReference'](_0x28cec7,_0x105ed7['reference']),_0x5ccdbf=-0x1,_0x4b2e72=!0x0);}return _0x4b2e72;}}function N(_0x3ede86,_0x1cd588,_0x44855d){if(_0x44855d['childCount'])return!0x1;const _0x371712=_0x1cd588?'paragraph':'footnoteInlineContent';return _0x3ede86['insert'](_0x3ede86['createElement'](_0x371712),_0x44855d),!0x0;}function R(_0x3ced6f,_0x50f61a,_0x525ddf){if(0x0===_0x50f61a['length'])return 0x0;const _0xf07bd0=_0x3ced6f['createPositionBefore'](_0x525ddf);for(let _0xf89398=0x0;_0xf89398<_0x50f61a['length'];_0xf89398++){const _0x508dc9=_0x50f61a[_0xf89398],_0x15bdb7=_0x3ced6f['createPositionBefore'](_0x508dc9['reference']);if('before'===_0xf07bd0['compareWith'](_0x15bdb7))return _0xf89398;}const _0x38e6a9=_0x525ddf['root'];let _0x501aae=-0x1;for(let _0x40a56f=_0x50f61a['length']-0x1;_0x40a56f>=0x0;_0x40a56f--)if(_0x50f61a[_0x40a56f]['reference']['root']===_0x38e6a9){_0x501aae=_0x40a56f;break;}if(-0x1!==_0x501aae)return _0x501aae+0x1;const _0x53510b=_0x3ced6f['document']['getRootNames'](),_0x358f0d=_0x53510b['indexOf'](_0x38e6a9['rootName']),_0x44f4c9=_0x53510b[_0x358f0d+0x1];if(_0x44f4c9){for(let _0x502e7b=0x0;_0x502e7b<_0x50f61a['length'];_0x502e7b++)if(_0x50f61a[_0x502e7b]['reference']['root']['rootName']===_0x44f4c9)return _0x502e7b;}return _0x50f61a['length'];}class InsertFootnoteCommand extends _0x858737{['refresh'](){const _0x38a7c3=this['editor']['model']['document']['selection'],_0x3148b2=this['_getPositionToInsertFootnote'](_0x38a7c3);this['isEnabled']=!!_0x3148b2;}['execute'](_0x932db7){const {editor:_0x1c9e69}=this,{model:_0x53db73}=_0x1c9e69,{selection:_0x38c7d5}=_0x53db73['document'],_0x599a85=this['_getPositionToInsertFootnote'](_0x38c7d5);if(!_0x599a85)return;const _0x387ace=_0x1c9e69['plugins']['get']('FootnotesEditing'),_0x5d5383=_0x932db7?.['footnoteId']??_0x3af4a9();!function(_0x4f96da){return'string'==typeof _0x4f96da&&_0x4f96da['length']>0x0&&!/\s/['test'](_0x4f96da)&&!/^\d/['test'](_0x4f96da);}(_0x5d5383)?_0x1c7a35('insert-footnote-command-executed-with-invalid-id'):(_0x53db73['change'](_0x308677=>{const _0x3d3f7b=_0x308677['createElement']('footnoteRef',{'footnoteId':_0x5d5383});_0x53db73['insertObject'](_0x3d3f7b,_0x599a85,null);}),_0x387ace['_moveSelectionToFootnoteDefinition'](_0x5d5383));}['_getPositionToInsertFootnote'](_0x2e0e35){const {model:_0x2bac15}=this['editor'],{schema:_0x34e8b5}=_0x2bac15,_0x5ed947=_0x2e0e35['getFirstRange']();for(const _0x12c46d of _0x5ed947['getItems']())if(_0x34e8b5['isBlock'](_0x12c46d)||_0x34e8b5['isObject'](_0x12c46d))return null;const _0x23bb2b=_0x5ed947['end'];return _0x34e8b5['checkChild'](_0x23bb2b,'footnoteRef')?_0x23bb2b:null;}}class FootnotesEditing extends _0x37efa5{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1f3835}=this;_0x1f3835['config']['define']('footnotes.multiBlock',!0x0),_0x1f3835['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x1f3835)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xe5e8a7){const _0x43f0b4=_0x50d515([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x2ac6ba=0x47a28506,_0x64d7fa=0x47a50ea6^_0x2ac6ba,_0x34db66=window[_0x50d515([0x44,0x61,0x74,0x65])][_0x50d515([0x6e,0x6f,0x77])](),_0x2cccfe=_0xe5e8a7[_0x50d515([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1cd0b4=new window[(_0x50d515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x308896=>{_0x2cccfe[_0x50d515([0x6f,0x6e,0x63,0x65])](_0x50d515([0x72,0x65,0x61,0x64,0x79]),_0x308896);}),_0x3b6579={[_0x50d515([0x6b,0x74,0x79])]:_0x50d515([0x45,0x43]),[_0x50d515([0x75,0x73,0x65])]:_0x50d515([0x73,0x69,0x67]),[_0x50d515([0x63,0x72,0x76])]:_0x50d515([0x50,0x2d,0x32,0x35,0x36]),[_0x50d515([0x78])]:_0x50d515([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x50d515([0x79])]:_0x50d515([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x50d515([0x61,0x6c,0x67])]:_0x50d515([0x45,0x53,0x32,0x35,0x36])},_0x4d9907=_0x2cccfe[_0x50d515([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x50d515([0x67,0x65,0x74])](_0x50d515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x58c814(){let _0x146f17,_0x2798a9=null,_0x1b0b57=null;try{if(_0x4d9907==_0x50d515([0x47,0x50,0x4c]))return _0x50d515([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x146f17=_0x1d7688(),!_0x146f17)return _0x50d515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x146f17[_0x50d515([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1b0b57=_0x130c2d(_0x146f17[_0x50d515([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x146f17[_0x50d515([0x6a,0x74,0x69])])),await _0x2816cd()?_0x35724d()?_0x2418d7()?_0x50d515([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3723ad()?(_0x146f17[_0x50d515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x50d515([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2798a9=_0x3eb44f(_0x50d515([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5acbdf()):_0x50d515([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x50d515([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x50d515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x50d515([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2418d7(){const _0x1c050b=[_0x50d515([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x50d515([0x74,0x72,0x69,0x61,0x6c])][_0x50d515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x146f17[_0x50d515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34db66/0x3e8:0xe10*_0x64d7fa;return _0x146f17[_0x50d515([0x65,0x78,0x70])]<_0x1c050b;}function _0x35724d(){const _0x30bf72=_0x146f17[_0x50d515([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30bf72&&(!!_0x30bf72[_0x50d515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d515([0x2a]))||!!_0x30bf72[_0x50d515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d515([0x46,0x4f,0x4f])));}function _0x3723ad(){const _0x45d308=_0x146f17[_0x50d515([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x45d308||0x0==_0x45d308[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4ce5cd}=new URL(window[_0x50d515([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x45d308[_0x50d515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ce5cd))return!0x0;const _0x19c63a=_0x4ce5cd[_0x50d515([0x73,0x70,0x6c,0x69,0x74])](_0x50d515([0x2e]));return _0x45d308[_0x50d515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34b282=>_0x34b282[_0x50d515([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50d515([0x2a])))[_0x50d515([0x6d,0x61,0x70])](_0x2d063c=>_0x2d063c[_0x50d515([0x73,0x70,0x6c,0x69,0x74])](_0x50d515([0x2e])))[_0x50d515([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x108f79=>_0x108f79[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x19c63a[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50d515([0x6d,0x61,0x70])](_0x3538b1=>Array(_0x19c63a[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3538b1[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x50d515([0x66,0x69,0x6c,0x6c])](_0x3538b1[0x0]===_0x50d515([0x2a])?_0x50d515([0x2a]):'')[_0x50d515([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3538b1))[_0x50d515([0x73,0x6f,0x6d,0x65])](_0x3a2979=>_0x19c63a[_0x50d515([0x65,0x76,0x65,0x72,0x79])]((_0x4a3429,_0x1cc4d4)=>_0x3a2979[_0x1cc4d4]===_0x4a3429||_0x3a2979[_0x1cc4d4]===_0x50d515([0x2a])));}function _0x5acbdf(){return _0x2798a9&&_0x1b0b57?new window[(_0x50d515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e3208,_0x41a530)=>{_0x2798a9[_0x50d515([0x74,0x68,0x65,0x6e])](_0x4e3208,_0x41a530),_0x1b0b57[_0x50d515([0x74,0x68,0x65,0x6e])](_0x1c3d88=>{_0x1c3d88!=_0x50d515([0x56,0x61,0x6c,0x69,0x64])&&_0x4e3208(_0x1c3d88);},_0x41a530);}):_0x2798a9||_0x1b0b57||_0x50d515([0x56,0x61,0x6c,0x69,0x64]);}}function _0x130c2d(_0x4fdfd1,_0x4eecdc){return new window[(_0x50d515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49e10b=>{if(_0xeb7d53())return _0x49e10b(_0x50d515([0x56,0x61,0x6c,0x69,0x64]));_0x2dcff1(),_0x2cccfe[_0x50d515([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x50d515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49aca1=!0x1;const _0xe69515=_0x3af4a9();function _0x55655c(_0x4521ac){return!!_0x4521ac&&(typeof _0x4521ac===_0x50d515([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4521ac===_0x50d515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4521ac[_0x50d515([0x74,0x68,0x65,0x6e])]===_0x50d515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4521ac[_0x50d515([0x63,0x61,0x74,0x63,0x68])]===_0x50d515([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ebd42(_0x320e97){_0x29dfc1(_0x320e97)[_0x50d515([0x74,0x68,0x65,0x6e])](_0x3d4a6f=>{if(!_0x3d4a6f||_0x3d4a6f[_0x50d515([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x50d515([0x6f,0x6b]))return _0x50d515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x16c42a(_0x21069a(_0xe69515+_0x4eecdc))!=_0x3d4a6f[_0x50d515([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x50d515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x50d515([0x56,0x61,0x6c,0x69,0x64]);})[_0x50d515([0x74,0x68,0x65,0x6e])](_0x204cd6=>(_0x1e6602(),_0x204cd6),()=>{const _0x184415=_0x3a016b();return null==_0x184415?(_0x1e6602(),_0x50d515([0x56,0x61,0x6c,0x69,0x64])):_0x50d515(_0x34db66-_0x184415>(0x63ae0106^_0x2ac6ba)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x50d515([0x74,0x68,0x65,0x6e])](_0x49e10b)[_0x50d515([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49e10b(_0x50d515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d29f4=0x47946b86^_0x2ac6ba;function _0x1e6602(){const _0x30d239=_0x50d515([0x6c,0x6c,0x63,0x74,0x2d])+_0x16c42a(_0x21069a(_0x4fdfd1)),_0x12a537=_0x35bddb(_0x16c42a(window[_0x50d515([0x4d,0x61,0x74,0x68])][_0x50d515([0x63,0x65,0x69,0x6c])](_0x34db66/_0x5d29f4)));window[_0x50d515([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50d515([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30d239,_0x12a537);}function _0x3a016b(){const _0x5315d1=_0x50d515([0x6c,0x6c,0x63,0x74,0x2d])+_0x16c42a(_0x21069a(_0x4fdfd1)),_0x2819e6=window[_0x50d515([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x50d515([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5315d1);return _0x2819e6?window[_0x50d515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35bddb(_0x2819e6),0x10)*_0x5d29f4:null;}function _0x29dfc1(_0x208bdb){return new window[(_0x50d515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39b2bb,_0x27885a)=>{_0x208bdb[_0x50d515([0x74,0x68,0x65,0x6e])](_0x39b2bb,_0x27885a),window[_0x50d515([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x27885a,0x47a351c6^_0x2ac6ba);});}}_0x2cccfe[_0x50d515([0x6f,0x6e])](_0x50d515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a5b84,_0x4c016d)=>{if(_0x4c016d[0x0]!=_0x4fdfd1)return _0x49e10b(_0x50d515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4c016d[0x1]={..._0x4c016d[0x1],[_0x50d515([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xe69515};},{[_0x50d515([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50d515([0x68,0x69,0x67,0x68])}),_0x2cccfe[_0x50d515([0x6f,0x6e])](_0x50d515([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x13a2ea=>{_0x55655c(_0x13a2ea[_0x50d515([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49aca1=!0x0,_0x3ebd42(_0x13a2ea[_0x50d515([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x50d515([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x50d515([0x6c,0x6f,0x77])}),_0x1cd0b4[_0x50d515([0x74,0x68,0x65,0x6e])](()=>{_0x49aca1||_0x49e10b(_0x50d515([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xeb7d53(){return _0x2cccfe[_0x50d515([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50d515([0x76,0x69,0x65,0x77])][_0x50d515([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x50d515([0x61,0x75,0x74,0x6f]);}function _0x2dcff1(){_0x2cccfe[_0x50d515([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x50d515([0x76,0x69,0x65,0x77])][_0x50d515([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x50d515([0x61,0x75,0x74,0x6f]);}}function _0x3eb44f(_0xf669dc){const _0x57b93f=[new window[(_0x50d515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16ae11=>setTimeout(_0x16ae11,0x47abbbca^_0x2ac6ba)),_0x1cd0b4[_0x50d515([0x74,0x68,0x65,0x6e])](()=>new window[(_0x50d515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f8561=>{let _0x2964f1=0x0;_0x2cccfe[_0x50d515([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d515([0x6f,0x6e])](_0x50d515([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2514a4,_0xd64ff4)=>{_0xd64ff4[0x0][_0x50d515([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2964f1++,_0x2964f1==(0x47a280ee^_0x2ac6ba)&&(_0x3f8561(),_0x2514a4[_0x50d515([0x6f,0x66,0x66])]());});}))];return window[_0x50d515([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x50d515([0x72,0x61,0x63,0x65])](_0x57b93f)[_0x50d515([0x74,0x68,0x65,0x6e])](()=>_0xf669dc);}async function _0x4e15d7(){await _0x1cd0b4,_0x2cccfe[_0x50d515([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d515([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2bc51d,_0x2cccfe[_0x50d515([0x6d,0x6f,0x64,0x65,0x6c])][_0x50d515([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2bc51d,_0x2cccfe[_0x50d515([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x50d515([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e4cf5(_0x1806ab){const _0x4c8781=_0x5b4dec();_0x2cccfe[_0x4c8781]=_0x50d515([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1806ab,_0x1806ab!=_0x50d515([0x56,0x61,0x6c,0x69,0x64])&&_0x4e15d7();}function _0x5b4dec(){const _0x260697=window[_0x50d515([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x50d515([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x50d515([0x6e,0x6f,0x77])]())[_0x50d515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x50d515([0x2e]),'');let _0x3f01dc=_0x50d515([0x75]);for(let _0x437590=0x0;_0x437590<_0x260697[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x437590+=0x2){let _0x93042c=window[_0x50d515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x260697[_0x50d515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x437590,_0x437590+0x2));_0x93042c>=_0x43f0b4[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x93042c-=_0x43f0b4[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3f01dc+=_0x43f0b4[_0x93042c];}return _0x3f01dc;}function _0x1d7688(){const _0x2623b0=_0x4d9907[_0x50d515([0x73,0x70,0x6c,0x69,0x74])](_0x50d515([0x2e]));if(0x3!=_0x2623b0[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1d6603(_0x2623b0[0x1]);function _0x1d6603(_0xf4d547){const _0x560c96=_0x2fd16a(_0xf4d547);return _0x560c96&&_0x46f205()?_0x560c96:null;function _0x46f205(){const _0xd5eb66=_0x560c96[_0x50d515([0x6a,0x74,0x69])],_0x14c63d=window[_0x50d515([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd5eb66[_0x50d515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd5eb66[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3ec697={..._0x560c96,[_0x50d515([0x6a,0x74,0x69])]:_0xd5eb66[_0x50d515([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xd5eb66[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3ec697[_0x50d515([0x76,0x63])],_0x21069a(_0x3ec697)==_0x14c63d;}}}async function _0x2816cd(){let _0x57516a=!0x0;try{const _0xe4ebe1=_0x4d9907[_0x50d515([0x73,0x70,0x6c,0x69,0x74])](_0x50d515([0x2e])),[_0x57185a,_0x26adb4,_0x5321fa]=_0xe4ebe1;return _0x2ebcec(_0x57185a),await _0xb581a6(_0x57185a,_0x26adb4,_0x5321fa),_0x57516a;}catch{return!0x1;}function _0x2ebcec(_0x1222e5){const _0x31a513=_0x2fd16a(_0x1222e5);_0x31a513&&_0x31a513[_0x50d515([0x61,0x6c,0x67])]==_0x50d515([0x45,0x53,0x32,0x35,0x36])||(_0x57516a=!0x1);}async function _0xb581a6(_0x116c6b,_0x39daa1,_0x1da4a1){const _0x39b384=window[_0x50d515([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x50d515([0x66,0x72,0x6f,0x6d])](_0x1da476(_0x1da4a1),_0x207451=>_0x207451[_0x50d515([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4dcefa=new window[(_0x50d515([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x50d515([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x116c6b+_0x50d515([0x2e])+_0x39daa1),_0x2877b3=window[_0x50d515([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x50d515([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2877b3)return;const _0x11b4d6=await _0x2877b3[_0x50d515([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x50d515([0x6a,0x77,0x6b]),_0x3b6579,{[_0x50d515([0x6e,0x61,0x6d,0x65])]:_0x50d515([0x45,0x43,0x44,0x53,0x41]),[_0x50d515([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x50d515([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x50d515([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2877b3[_0x50d515([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x50d515([0x6e,0x61,0x6d,0x65])]:_0x50d515([0x45,0x43,0x44,0x53,0x41]),[_0x50d515([0x68,0x61,0x73,0x68])]:{[_0x50d515([0x6e,0x61,0x6d,0x65])]:_0x50d515([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x11b4d6,_0x39b384,_0x4dcefa)||(_0x57516a=!0x1);}}function _0x2fd16a(_0x27491d){return _0x27491d[_0x50d515([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x50d515([0x65,0x79]))?JSON[_0x50d515([0x70,0x61,0x72,0x73,0x65])](_0x1da476(_0x27491d)):null;}function _0x1da476(_0x24a5fd){return window[_0x50d515([0x61,0x74,0x6f,0x62])](_0x24a5fd[_0x50d515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x50d515([0x2b]))[_0x50d515([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x50d515([0x2f])));}function _0x21069a(_0x4cdcf2){let _0x55e2fd=0x1505;function _0x481677(_0x385225){for(let _0x59f4ed=0x0;_0x59f4ed<_0x385225[_0x50d515([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59f4ed++){const _0x174a43=_0x385225[_0x50d515([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59f4ed);_0x55e2fd=(_0x55e2fd<<0x5)+_0x55e2fd+_0x174a43,_0x55e2fd&=_0x55e2fd;}}function _0x2171bd(_0x2e2d22){Array[_0x50d515([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2e2d22)?_0x2e2d22[_0x50d515([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2171bd):_0x2e2d22&&typeof _0x2e2d22==_0x50d515([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x50d515([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2e2d22)[_0x50d515([0x73,0x6f,0x72,0x74])]()[_0x50d515([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x441629,_0x2cc794])=>{_0x481677(_0x441629),_0x2171bd(_0x2cc794);}):_0x481677(window[_0x50d515([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2e2d22));}return _0x2171bd(_0x4cdcf2),_0x55e2fd>>>0x0;}function _0x16c42a(_0x594383){return _0x594383[_0x50d515([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x50d515([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x50d515([0x30]));}function _0x35bddb(_0x48601c){return _0x48601c[_0x50d515([0x73,0x70,0x6c,0x69,0x74])]('')[_0x50d515([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x50d515([0x6a,0x6f,0x69,0x6e])]('');}function _0x2bc51d(){}function _0x50d515(_0x29716b){return _0x29716b['map'](_0x8a789f=>String['fromCharCode'](_0x8a789f))['join']('');}_0x5e4cf5(await _0x58c814());}(this);}['_moveSelectionToFootnoteDefinition'](_0x185a18){const {plugins:_0x5b73d7,editing:_0xd58a08,model:_0x56e43b}=this['editor'],_0x562aff=_0x5b73d7['get'](FootnotesTracker)['getFootnote'](_0x185a18);return!!_0x562aff&&(_0x56e43b['change'](_0x5431e3=>{_0x5431e3['setSelection'](_0x5431e3['createPositionAt'](_0x562aff['definition'],'end'));}),_0xd58a08['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2e8658){const {plugins:_0x4ca66d,editing:_0x2c82b2,model:_0x1670ef}=this['editor'],_0x1599b6=_0x4ca66d['get'](FootnotesTracker)['getFootnote'](_0x2e8658);return!!_0x1599b6&&(_0x1670ef['change'](_0x5dc18d=>{_0x5dc18d['setSelection'](_0x1599b6['reference'],'on');}),_0x2c82b2['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1e535d}=this['editor']['model'],_0x2d4ad0=this['editor']['config']['get']('footnotes.multiBlock');_0x1e535d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1e535d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1e535d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2d4ad0?_0x1e535d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1e535d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1e535d['addChildCheck'](_0xef9e25=>{for(const _0x3644e4 of _0xef9e25)if('footnoteDefinition'===_0x3644e4['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x244b3e}=this,{conversion:_0x19f8da,editing:_0x151efe}=_0x244b3e,{t:t}=_0x244b3e['locale'];_0x19f8da['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x27237c,{writer:_0xbbfe49,consumable:_0x2fc270})=>{const _0x40f82e=_0x27237c['getChild'](0x0);if(!_0x40f82e||!_0x40f82e['is']('element','a'))return null;const _0x4bc863=_0x40f82e['getAttribute']('href')||'';if(!_0x4bc863['startsWith']('#'))return null;const _0x38995b=_0x4bc863['replace'](/^#/,'');if(!_0x38995b)return null;_0x2fc270['consume'](_0x40f82e,{'name':!0x0,'attributes':['href']});for(const {item:_0x31fa1f}of _0x151efe['view']['createRangeIn'](_0x40f82e))_0x31fa1f['is']('$textProxy')?_0x2fc270['consume'](_0x31fa1f['textNode'],{'name':!0x0}):_0x31fa1f['is']('element')&&_0x2fc270['consume'](_0x31fa1f,{'name':!0x0});return _0xbbfe49['createElement']('footnoteRef',{'footnoteId':_0x38995b});}}),_0x19f8da['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x31c75a,{writer:_0x37d678})=>U(_0x31c75a,_0x37d678)}),_0x19f8da['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x455583,{writer:_0x476fe3})=>{const _0x3c500a=_0x455583['getAttribute']('footnoteCounter');return _0x4a425c(U(_0x455583,_0x476fe3),_0x476fe3,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3c500a)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2b5e50}=this,{t:t}=_0x2b5e50['locale'],{conversion:_0x181169}=_0x2b5e50;_0x181169['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x181169['for']('upcast')['add'](_0x3d84ad=>{_0x3d84ad['on']('element:ol',(_0x13894f,_0x3c7664,_0x543edb)=>{const _0x2f9bad=_0x3c7664['viewItem'];if(!_0x2f9bad['hasClass']('footnotes-list')||!_0x3c7664['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x543edb['consumable']['consume'](_0x2f9bad,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x25f578,modelCursor:_0x18d223}=_0x543edb['convertChildren'](_0x3c7664['viewItem'],_0x3c7664['modelCursor']);_0x3c7664['modelRange']=_0x25f578,_0x3c7664['modelCursor']=_0x18d223;}),_0x3d84ad['on']('element:hr',(_0x25bff2,_0x63a032,_0x5c5faf)=>{const _0x43ae8a=_0x63a032['viewItem'];_0x43ae8a['hasClass']('footnotes-divider')&&_0x63a032['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5c5faf['consumable']['consume'](_0x43ae8a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x181169['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x50773c,{writer:_0x1a5ba6})=>$(_0x1a5ba6)}),_0x181169['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5da054,{writer:_0x352222})=>{const _0x1353ed=$(_0x352222,{'data-footnotes-list-label':t('Footnotes')}),_0x2357d2=_0x4a425c(_0x1353ed,_0x352222,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x352222['setCustomProperty']('footnotesDefinitions',!0x0,_0x2357d2),_0x2357d2;}});}['_defineDefinitionConverters'](){const {editor:_0x1bdee5}=this,{conversion:_0x55b90c,locale:_0x1b13b7}=_0x1bdee5,_0xb3146=_0x1bdee5['config']['get']('footnotes.multiBlock');_0x55b90c['for']('upcast')['add'](_0x3296b3=>{_0x3296b3['on']('element:li',(_0x232832,_0x28ee52,_0x17ff77)=>{const _0x5013ec=_0x28ee52['viewItem'];if(!_0x5013ec['hasClass']('footnote-definition')||!_0x5013ec['getAttribute']('id'))return;const _0xe2279c=_0x5013ec['parent'];if(!_0xe2279c['is']('element','ol')||!_0xe2279c['hasClass']('footnotes-list'))return;if(!_0x17ff77['consumable']['test'](_0x5013ec,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5acc08=_0x17ff77['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5013ec['getAttribute']('id')});if(!_0x17ff77['safeInsert'](_0x5acc08,_0x28ee52['modelCursor']))return;_0x17ff77['consumable']['consume'](_0x5013ec,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1a075d=Array['from'](_0x5013ec['getChildren']())['find'](_0x31d0ba=>_0x31d0ba['is']('element')&&_0x31d0ba['hasClass']('footnote-content'));for(const _0x3b2d79 of _0x5013ec['getChildren']())_0x3b2d79['is']('element')&&(_0x17ff77['consumable']['consume'](_0x3b2d79,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x17ff77['consumable']['consume'](_0x3b2d79,{'name':!0x0,'classes':'footnote-content'}));if(_0x1a075d){if(_0xb3146)_0x17ff77['convertChildren'](_0x1a075d,_0x5acc08);else{const _0x109b89=_0x17ff77['writer']['createElement']('footnoteInlineContent');_0x17ff77['writer']['insert'](_0x109b89,_0x5acc08),_0x17ff77['convertChildren'](_0x1a075d,_0x109b89);}}_0x17ff77['updateConversionResult'](_0x5acc08,_0x28ee52);});}),_0x55b90c['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x597d22,{writer:_0x3ddfd5})=>B(_0x597d22,_0x3ddfd5,_0x1b13b7,{'dataPipeline':!0x0})}),_0x55b90c['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xb5ba64,{writer:_0x36b4bc})=>B(_0xb5ba64,_0x36b4bc,_0x1b13b7)});}['_defineBogusParagraphConverters'](){const {editor:_0x2d4252}=this,{conversion:_0x42b6c3}=_0x2d4252;_0x2d4252['config']['get']('footnotes.multiBlock')?(_0x42b6c3['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':K(),'converterPriority':'high'}),_0x42b6c3['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':K({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2d4252['model']['document'],'change:data',()=>{!function(_0x30d112,_0x2b3a65){const _0x1ca256=_0x30d112['document']['differ'],_0xdb49d=new Set();for(const _0xd8f19 of _0x1ca256['getChanges']()){const _0x37c0ac='attribute'==_0xd8f19['type']?_0xd8f19['range']['start']['parent']:_0xd8f19['position']['parent'];_0x37c0ac['is']('element','footnoteDefinition')&&_0xdb49d['add'](_0x37c0ac);}for(const _0x3471a0 of _0xdb49d['values']()){const _0x4a3a8c=Array['from'](_0x3471a0['getChildren']())['filter'](_0xe0e8c9=>V(_0xe0e8c9,_0x2b3a65['mapper']));for(const _0x40392a of _0x4a3a8c)_0x2b3a65['reconvertItem'](_0x40392a);}}(_0x2d4252['model'],_0x2d4252['editing']);})):(_0x42b6c3['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':K()}),_0x42b6c3['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1b36fe,{writer:_0x1bc77b})=>{const _0x22546e=_0x1bc77b['createContainerElement']('span');return _0x1bc77b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x22546e),_0x22546e;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5985ce}=this,{editing:_0x54e69b,t:t}=_0x5985ce,_0x1bbbec=_0x5985ce['model']['document']['selection'];_0x5985ce['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5985ce['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x54e69b['view']['document'],'enter',(_0x176a5f,_0x1cc8f0)=>{const _0x34a0c8=function(_0x282e6c){const _0x33e279=_0x282e6c['getSelectedElement']();if(_0x33e279?.['is']('element','footnoteRef'))return _0x33e279;return null;}(_0x1bbbec);if(_0x34a0c8){const _0x20df69=_0x34a0c8['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x20df69),_0x1cc8f0['preventDefault'](),_0x176a5f['stop']();}},{'context':_0x466769});}['_defineClickHandlers'](){const {editor:_0x2c5dac}=this,{editing:_0x2648fe}=_0x2c5dac;_0x2c5dac['editing']['view']['addObserver'](_0x4bdbcb),_0x2c5dac['editing']['view']['addObserver'](_0x4ed162);let _0xc52964=!0x1;this['listenTo'](_0x2648fe['view']['document'],'pointerdown',(_0x509eb2,_0xf2705b)=>{const {target:_0x34e2d7}=_0xf2705b,_0x31fc88=_0x2648fe['view']['document']['selection'];_0xc52964=!!(_0x34e2d7?.['is']('element','a')&&_0x34e2d7['parent']?.['is']('element','sup')&&_0x34e2d7['parent']['hasClass']('footnote'))&&_0x31fc88['getSelectedElement']()===_0x34e2d7['parent'];},{'priority':'high'}),this['listenTo'](_0x2648fe['view']['document'],'click',(_0xa97c47,_0x5edd65)=>{const {target:_0x47dba9}=_0x5edd65;if(!_0x47dba9?.['is']('element','a'))return;if(_0x47dba9['parent']?.['is']('element','sup')&&_0x47dba9['parent']['hasClass']('footnote')&&!_0xc52964)return void _0x5edd65['preventDefault']();let _0xb1fb67=_0x47dba9['getAttribute']('href');if(!_0xb1fb67?.['startsWith']('#'))return;_0xb1fb67=_0xb1fb67['slice'](0x1);let _0x5bae46=!0x1;(_0xb1fb67['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xb1fb67['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xb1fb67))&&(_0x5bae46=!0x0),_0x5bae46&&(_0x5edd65['preventDefault'](),_0xa97c47['stop']());},{'priority':'high','context':'$capture'});}}function K({dataPipeline:_0x5f4845}={}){return(_0x354b52,{writer:_0x4e435b})=>{if(!j(_0x354b52))return null;if(!_0x5f4845)return _0x4e435b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x29dc7a=_0x4e435b['createContainerElement']('p');return _0x4e435b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x29dc7a),_0x29dc7a;};}function j(_0x638b74){const {parent:_0x2661a4}=_0x638b74;if(!_0x2661a4?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2661a4['childCount'])return!0x1;for(const _0x13de3d of _0x638b74['getAttributeKeys']())if(!_0x13de3d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x13de3d)return!0x1;return!0x0;}function V(_0x4364e9,_0x16b010){if(!_0x4364e9['is']('element','paragraph'))return!0x1;const _0x3e2dcb=_0x16b010['toViewElement'](_0x4364e9);return!!_0x3e2dcb&&j(_0x4364e9)!==_0x3e2dcb['is']('element','span');}function M(_0x41c5ba){return _0x466769(_0x41c5ba)&&_0x41c5ba['is']('containerElement')&&!!_0x41c5ba['getCustomProperty']('footnotesDefinitions');}function $(_0x56bba1,_0x544fef={}){const _0x13d335=_0x56bba1['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4266d0=_0x56bba1['createContainerElement']('ol',{'class':'footnotes-list'},_0x56bba1['createSlot']());return _0x56bba1['createContainerElement']('div',{'class':'footnotes',..._0x544fef},[_0x13d335,_0x4266d0]);}function U(_0x110d6d,_0x1c4fe6){const _0x53ab66=_0x110d6d['getAttribute']('footnoteId'),_0x22f04f=_0x110d6d['getAttribute']('footnoteCounter'),_0x1be3dd=_0x1c4fe6['createUIElement']('a',{'href':'#'+_0x53ab66},function(_0x380a04){const _0x56c03d=this['toDomElement'](_0x380a04);return _0x56c03d['textContent']=_0x22f04f,_0x56c03d;}),_0x618bd1=_0x1c4fe6['createContainerElement']('sup',{'id':'ref-'+_0x53ab66,'class':'footnote'},[_0x1be3dd]);return _0x618bd1['getFillerOffset']=()=>null,_0x618bd1;}function B(_0x42117a,_0x5d9344,_0x4b39ec,{dataPipeline:_0xe4aaf8}={}){const {t:t}=_0x4b39ec,_0x276731=_0x42117a['getAttribute']('footnoteId'),_0x2fe953=_0x5d9344['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x276731},function(_0x54a866){const _0x25d2fe=this['toDomElement'](_0x54a866);return _0x25d2fe['innerText']='^',_0x25d2fe;}),_0x38eb25=_0xe4aaf8?_0x5d9344['createContainerElement']('div',{'class':'footnote-content'}):_0x54068d(_0x5d9344['createEditableElement']('div',{'class':'footnote-content'}),_0x5d9344,{'label':t('Footnote\x20content.')});return _0x5d9344['insert'](_0x5d9344['createPositionAt'](_0x38eb25,0x0),_0x5d9344['createSlot']()),_0x5d9344['createContainerElement']('li',{'class':'footnote-definition','id':_0x276731},[_0x2fe953,_0x38eb25]);}class FootnotesClipboard extends _0x37efa5{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0x3e5cad];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0xee7863}=this,{plugins:_0x8daa70,model:_0x412431}=_0xee7863,_0x7a099f=_0x8daa70['get'](_0x3e5cad),_0x159859=_0x8daa70['get'](FootnotesTracker);this['listenTo'](_0x7a099f,'outputTransformation',(_0x540be4,_0x57678b)=>{const _0x199e8b=H(_0x412431['createRangeIn'](_0x57678b['content']));if(!_0x199e8b['length'])return;const _0x39ba0c=_0x159859['getFootnotes'](),_0x322137=_0x199e8b['reduce']((_0x5afadc,_0x4d32f6)=>{const _0x3e359a=_0x39ba0c['find'](_0x3d0293=>_0x3d0293['id']===_0x4d32f6);if(_0x3e359a){const _0x33cff8=_0xee7863['data']['toView'](_0x3e359a['definition'],{'isClipboardPipeline':!0x0}),_0x2839fd=_0xee7863['data']['htmlProcessor']['toData'](_0x33cff8);_0x5afadc[_0x3e359a['id']]=_0x2839fd;}return _0x5afadc;},Object['create'](null));_0x57678b['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x322137));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x20d4e5}=this,{model:_0x3c78cb,plugins:_0x279c16}=_0x20d4e5,{view:_0x453f0a}=_0x20d4e5['editing'],_0x4084be=_0x279c16['get'](_0x3e5cad),_0x4fe90a=_0x279c16['get'](FootnotesTracker),_0x10865d=_0x20d4e5['config']['get']('footnotes.multiBlock');let _0x16605a=null;this['listenTo'](_0x453f0a['document'],'clipboardInput',(_0x1dba2b,_0x2e6856)=>{const _0x4cbef9=_0x2e6856['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x16605a=_0x4cbef9?JSON['parse'](_0x4cbef9):null;}),this['listenTo'](_0x4084be,'contentInsertion',(_0xe2bae9,_0x4828cd)=>{const _0x2cdc88=_0x4828cd['sourceEditorId']===this['editor']['id'];_0x2cdc88&&'drop'===_0x4828cd['method']||_0x3c78cb['change'](_0x2e5337=>{let _0xecfb3f=_0x4fe90a['getFootnotesDefinitionsObjectElement']();const _0x54ea99=!!_0xecfb3f&&Array['from'](_0x3c78cb['document']['selection']['getSelectedBlocks']())['includes'](_0xecfb3f);if(!_0x16605a&&function(_0x1ee227){for(const {item:_0x1507b2}of _0x1ee227)if(_0x1507b2['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x3c78cb['createRangeIn'](_0x4828cd['content']))&&(_0x16605a=function(_0x58a62b,_0x6c8f26){const _0x5502b7=q(_0x58a62b,_0x6c8f26);if(!_0x5502b7)return null;const _0xe248ab=Object['create'](null);for(const _0x21cfd6 of _0x5502b7['getChildren']())_0x21cfd6['is']('element','footnoteDefinition')&&_0x21cfd6['hasAttribute']('footnoteId')&&(_0xe248ab[_0x21cfd6['getAttribute']('footnoteId')]=_0x58a62b['cloneElement'](_0x21cfd6,!0x0));return Object['keys'](_0xe248ab)['length']?_0xe248ab:null;}(_0x2e5337,_0x4828cd['content'])),(_0xecfb3f&&!_0x54ea99||!_0xecfb3f&&!_0x16605a)&&function(_0x4583f9,_0x4f1ea1){const _0x9c8038=[];for(const {item:_0x3fd52d}of _0x4583f9['createRangeIn'](_0x4f1ea1))_0x3fd52d['is']('element','footnotesDefinitions')&&_0x9c8038['push'](_0x3fd52d);for(const _0x462a14 of _0x9c8038)_0x4583f9['remove'](_0x462a14);}(_0x2e5337,_0x4828cd['content']),!_0x16605a)return;const {selection:_0x12486c}=_0x3c78cb['document'],_0x388d5b=_0x12486c['getFirstRange']()['root'];_0xecfb3f&&!_0x54ea99||(_0xecfb3f=q(_0x2e5337,_0x4828cd['content']),_0xecfb3f||=_0x4fe90a['_insertEmptyFootnotesDefinitionsContainer'](_0x2e5337,_0x388d5b));const _0x1adbb3=Array['from'](_0x12486c['getRanges']())['flatMap'](H),_0x19a879=function(_0x2d7dd3,_0x5a083f,_0x47fc8b){const _0x46cbf7=Object['create'](null);for(const {item:_0x452af6}of _0x2d7dd3['createRangeIn'](_0x5a083f))if(_0x452af6['is']('element','footnoteRef')){const _0x26eb85=_0x452af6['getAttribute']('footnoteId');if(!_0x47fc8b(_0x26eb85))continue;_0x46cbf7[_0x26eb85]||(_0x46cbf7[_0x26eb85]=_0x3af4a9()),_0x2d7dd3['setAttribute']('footnoteId',_0x46cbf7[_0x26eb85],_0x452af6);}return _0x46cbf7;}(_0x2e5337,_0x4828cd['content'],_0x15e491=>{if(!_0x2cdc88)return!0x0;return!!_0x4fe90a['getFootnote'](_0x15e491)&&!_0x1adbb3['includes'](_0x15e491);});for(const [_0x1be07f,_0x3cfd51]of Object['entries'](_0x16605a)){const _0x1bb3bf=_0x19a879[_0x1be07f]||_0x1be07f;let _0x54a635;if('string'!=typeof _0x3cfd51)_0x54a635=_0x3cfd51,_0x1bb3bf!==_0x1be07f&&_0x2e5337['setAttribute']('footnoteId',_0x1bb3bf,_0x54a635);else{_0x54a635=_0x2e5337['createElement']('footnoteDefinition',{'footnoteId':_0x1bb3bf});const _0x442430=_0x20d4e5['data']['htmlProcessor']['toView'](_0x3cfd51);let _0x28bd75;if(_0x10865d)_0x28bd75=_0x20d4e5['data']['toModel'](_0x442430,_0x54a635);else{_0x28bd75=_0x2e5337['createElement']('footnoteInlineContent');const _0x1d8283=_0x20d4e5['data']['toModel'](_0x442430,_0x28bd75);_0x2e5337['insert'](_0x1d8283,_0x28bd75);}_0x2e5337['append'](_0x28bd75,_0x54a635);}_0x2e5337['insert'](_0x54a635,_0xecfb3f,'end');}_0x16605a=null;});});}}function q(_0xcbe3e,_0x25287e){for(const {item:_0x2013b2}of _0xcbe3e['createRangeIn'](_0x25287e))if(_0x2013b2['is']('element','footnotesDefinitions'))return _0x2013b2;return null;}function H(_0x497a58){const _0x22e939=new Set();for(const {item:_0x1a2e83}of _0x497a58)_0x1a2e83['is']('element','footnoteRef')&&_0x22e939['add'](_0x1a2e83['getAttribute']('footnoteId'));return Array['from'](_0x22e939);}class FootnotesUI extends _0x37efa5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4975ea}=this,{componentFactory:_0x300145}=_0x4975ea['ui'];_0x300145['add']('insertFootnote',z(_0x4975ea,_0x3d4830)),_0x300145['add']('menuBar:insertFootnote',z(_0x4975ea,_0x222479)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x270b2d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3b74f6;for(const _0x4cfa14 in _0x270b2d){const _0x96789f=_0x4cfa14,_0x64dfbc=_0x270b2d[_0x96789f];if('footnotesLicenseKeyValid'==_0x64dfbc||'footnotesLicenseKeyInvalid'==_0x64dfbc||'footnotesLicenseKeyExpired'==_0x64dfbc||'footnotesLicenseKeyDomainLimit'==_0x64dfbc||'footnotesLicenseKeyNotAllowed'==_0x64dfbc||'footnotesLicenseKeyEvaluationLimit'==_0x64dfbc||'footnotesLicenseKeyUsageLimit'==_0x64dfbc){delete _0x270b2d[_0x96789f],_0x3b74f6=_0x64dfbc,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3b74f6&&_0x270b2d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3b74f6&&_0x270b2d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3b74f6&&_0x270b2d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3b74f6&&_0x270b2d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3b74f6&&_0x270b2d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x3b74f6&&_0x270b2d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function z(_0x2866cb,_0x4dce40){const _0x27dd49=_0x2866cb['commands']['get']('insertFootnote');return _0x53a1ab=>{const {t:t}=_0x53a1ab,_0x1cca43=new _0x4dce40(_0x53a1ab),_0x57da08=_0x1cca43 instanceof _0x222479;return _0x1cca43['bind']('isEnabled')['to'](_0x27dd49,'isEnabled'),_0x1cca43['set']({'label':t(_0x57da08?'Footnote':'Insert\x20footnote'),'icon':_0x2fde97,'tooltip':!0x0}),_0x1cca43['on']('execute',()=>{_0x27dd49['execute'](),_0x2866cb['editing']['view']['focus']();}),_0x1cca43;};}class Footnotes extends _0x37efa5{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const X=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],J=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),G=[...X,'arabic-indic','lower-alpha','upper-alpha'];class FootnotesStyleCommand extends _0x858737{['refresh'](){const {editor:_0x1b65b2}=this,_0xd97a87=_0x1b65b2['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xd97a87,this['value']=_0xd97a87?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x595e4b}){const {editor:_0x3113d1}=this,_0x466e70=_0x3113d1['plugins']['get'](FootnotesTracker),_0x3bdf20=_0x466e70['getFootnotesDefinitionsObjectElement']();_0x3bdf20&&G['includes'](_0x595e4b)&&_0x3113d1['model']['change'](_0x5d3452=>{_0x5d3452['setAttribute']('footnotesListStyle',_0x595e4b,_0x3bdf20),_0x466e70['_updateFootnotesCounters'](_0x5d3452);});}}class FootnotesStartCommand extends _0x858737{['refresh'](){const {editor:_0x29c5b2}=this,_0x241736=_0x29c5b2['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x241736,this['value']=_0x241736?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x5baef5}){const {editor:_0x242edd}=this,_0x21e65c=_0x242edd['plugins']['get'](FootnotesTracker),_0x2ff41b=_0x21e65c['getFootnotesDefinitionsObjectElement']();_0x2ff41b&&Number['isInteger'](_0x5baef5)&&_0x242edd['model']['change'](_0xff524f=>{_0xff524f['setAttribute']('footnotesListStart',_0x5baef5,_0x2ff41b),_0x21e65c['_updateFootnotesCounters'](_0xff524f);});}}function Q(_0x58368a,_0x56933e){let _0x3214d2='',_0x2e5555=_0x58368a;for(;_0x2e5555>0x0;){const _0x5c8c41=(_0x2e5555-0x1)%0x1a;_0x3214d2=String['fromCharCode'](0x61+_0x5c8c41)+_0x3214d2,_0x2e5555=Math['floor']((_0x2e5555-0x1)/0x1a);}return _0x56933e?_0x3214d2['toUpperCase']():_0x3214d2;}const W=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function Y(_0x18d6b9,_0x596c0a){let _0x7a5cf8='',_0x1b9bdf=_0x18d6b9;for(const {value:_0xd907f6,numeral:_0x30c7c1}of W)for(;_0x1b9bdf>=_0xd907f6;)_0x7a5cf8+=_0x30c7c1,_0x1b9bdf-=_0xd907f6;return _0x596c0a?_0x7a5cf8:_0x7a5cf8['toLowerCase']();}const Z=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class FootnotesPropertiesEditing extends _0x37efa5{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x29542b}=this;_0x29542b['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x29542b['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x29542b['config']['define']('footnotes.footnotesProperties.listStyles',[...X]),_0x29542b['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x29542b)),_0x29542b['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x29542b)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x39ca34}=this,{schema:_0x2ffdf6}=_0x39ca34['model'];_0x2ffdf6['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5c9b67}=this,{conversion:_0x48d672,model:_0x3fdd69}=_0x5c9b67,{schema:_0x31b682}=_0x3fdd69;_0x48d672['for']('upcast')['add'](_0x2790b5=>{_0x2790b5['on']('element:ol',(_0x392b28,_0x3e19fe,_0x3ecdb4)=>{const _0x534237=_0x3e19fe['viewItem'],_0x360a20=_0x3e19fe['modelCursor']?.['parent'];_0x534237['hasClass']('footnotes-list')&&_0x360a20?.['is']('element','footnotesDefinitions')&&(function(_0xa8f2a5,_0x41268a,_0x4105d1,_0x407860){if(!_0x407860['checkAttribute'](_0x41268a,'footnotesListStart'))return;let _0x1574d8=0x1;const _0x54001a=_0x4105d1['consumable']['consume'](_0xa8f2a5,{'attributes':'start'});if(_0x54001a){const _0xb34119=Number['parseInt'](_0xa8f2a5['getAttribute']('start'),0xa);Number['isNaN'](_0xb34119)||(_0x1574d8=_0xb34119);}!_0x54001a&&_0x41268a['hasAttribute']('footnotesListStart')||_0x4105d1['writer']['setAttribute']('footnotesListStart',_0x1574d8,_0x41268a);}(_0x534237,_0x360a20,_0x3ecdb4,_0x31b682),function(_0x37424e,_0x499536,_0x88dd51,_0x2ee1d6){if(!_0x2ee1d6['checkAttribute'](_0x499536,'footnotesListStyle'))return;let _0x569599='decimal',_0x48d597=!0x1;if(_0x88dd51['consumable']['consume'](_0x37424e,{'attributes':'type'})){const _0x14c098={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x37424e['getAttribute']('type')];_0x14c098&&(_0x569599=_0x14c098),_0x48d597=!0x0;}if(_0x88dd51['consumable']['consume'](_0x37424e,{'styles':'list-style-type'})){const _0x269663=tt(_0x37424e['getStyle']('list-style-type'));_0x269663&&(_0x569599=_0x269663),_0x48d597=!0x0;}!_0x48d597&&_0x499536['hasAttribute']('footnotesListStyle')||_0x88dd51['writer']['setAttribute']('footnotesListStyle',_0x569599,_0x499536);}(_0x534237,_0x360a20,_0x3ecdb4,_0x31b682));});}),_0x48d672['for']('downcast')['add'](_0x50c455=>{_0x50c455['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x39bbf8,_0x179f10,_0x44d6be)=>{if(!_0x44d6be['consumable']['consume'](_0x179f10['item'],_0x39bbf8['name']))return;const _0x3471b5=et(_0x179f10['item'],_0x44d6be['mapper']),{attributeNewValue:_0x7c604d}=_0x179f10;null==_0x7c604d||0x1===_0x7c604d?_0x44d6be['writer']['removeAttribute']('start',_0x3471b5):_0x44d6be['writer']['setAttribute']('start',String(_0x7c604d),_0x3471b5);}),_0x50c455['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x93ecb2,_0x45812f,_0x40b14f)=>{if(!_0x40b14f['consumable']['consume'](_0x45812f['item'],_0x93ecb2['name']))return;const _0xf63599=et(_0x45812f['item'],_0x40b14f['mapper']),{attributeNewValue:_0x311ec6}=_0x45812f;_0x311ec6&&'decimal'!==_0x311ec6?_0x40b14f['writer']['setStyle']('list-style-type',_0x311ec6,_0xf63599):_0x40b14f['writer']['removeStyle']('list-style-type',_0xf63599);});});}['_definePostfixer'](){const {editor:_0x5de0fe}=this,{model:_0xeaa29f}=_0x5de0fe,_0x1f7016=_0x5de0fe['plugins']['get'](FootnotesTracker),_0xbd1dad=this['_getDefaultListStyle'](),_0x1ec505=this['_getDefaultStartIndex']();_0xeaa29f['document']['registerPostFixer'](_0x27cd01=>{const _0x15b5f3=_0xeaa29f['document']['differ']['getChanges']();let _0x36ee8d=!0x1;for(const _0xd6de58 of _0x15b5f3){if('insert'!==_0xd6de58['type']||'$text'===_0xd6de58['name'])continue;const _0x323764=_0xeaa29f['createRangeOn'](_0xd6de58['position']['nodeAfter']);for(const _0x4a89f2 of _0x323764['getItems']())_0x4a89f2['is']('element','footnotesDefinitions')&&(!_0x4a89f2['hasAttribute']('footnotesListStart')&&_0xeaa29f['schema']['checkAttribute'](_0x4a89f2,'footnotesListStart')&&(_0x27cd01['setAttribute']('footnotesListStart',_0x1ec505,_0x4a89f2),_0x36ee8d=!0x0),!_0x4a89f2['hasAttribute']('footnotesListStyle')&&_0xeaa29f['schema']['checkAttribute'](_0x4a89f2,'footnotesListStyle')&&(_0x27cd01['setAttribute']('footnotesListStyle',_0xbd1dad,_0x4a89f2),_0x36ee8d=!0x0));}return _0x36ee8d&&_0x1f7016['_updateFootnotesCounters'](_0x27cd01),_0x36ee8d;});}['_defineFormatter'](){const {editor:_0x2c395d}=this;_0x2c395d['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x5ab2d5=>this['_formatFootnoteListValue'](_0x5ab2d5));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x33595d,value:_0x5482d2,digits:_0x5d6683}){const _0x20fd91=_0x33595d['getAttribute']('footnotesListStyle'),_0x5d09b6=_0x33595d['getAttribute']('footnotesListStart'),_0x3a3345=Math['floor'](_0x5482d2)+(_0x5d09b6??0x1)-0x1;switch(_0x20fd91){case'decimal-leading-zero':return function(_0x144590,_0x7a4e3){return String(_0x144590)['padStart'](_0x7a4e3,'0');}(_0x3a3345,Math['max'](0x2,_0x5d6683));case'lower-alpha':case'lower-latin':return Q(_0x3a3345,!0x1);case'upper-alpha':case'upper-latin':return Q(_0x3a3345,!0x0);case'lower-roman':return Y(_0x3a3345,!0x1);case'upper-roman':return Y(_0x3a3345,!0x0);case'arabic-indic':return String(_0x3a3345)['replace'](/\d/g,_0x41881c=>Z[Number(_0x41881c)]);default:return String(_0x3a3345);}}}function tt(_0x20cfc3){if('string'==typeof _0x20cfc3){const _0xfcaa5d=J[_0x20cfc3];if(_0xfcaa5d)return _0xfcaa5d;if(G['includes'](_0x20cfc3))return _0x20cfc3;}return null;}function et(_0x26a44d,_0x5a067f){const _0x54cc13=_0x5a067f['toViewElement'](_0x26a44d);return Array['from'](_0x54cc13['getChildren']())['find'](_0xca41c=>_0xca41c['is']('element','ol')&&_0xca41c['hasClass']('footnotes-list'));}class FootnotesDefinitionsPropertiesView extends _0x1215a8{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x3c0be7();['keystrokes']=new _0x42ba0c();['focusables']=new _0x3a5df5();['focusCycler'];constructor(_0x460b5b,{styleButtonViews:_0x319174,styleGridAriaLabel:_0x30f7bd}){super(_0x460b5b),(this['focusCycler']=new _0x374ca2({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x319174,_0x30f7bd),[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 _0x13711e of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x13711e['element']);_0x128ca0({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x575e46['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 _0x2cbc7c=_0x3ca1f4=>_0x3ca1f4['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2cbc7c),this['keystrokes']['set']('arrowleft',_0x2cbc7c),this['keystrokes']['set']('arrowup',_0x2cbc7c),this['keystrokes']['set']('arrowdown',_0x2cbc7c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5a84f5,_0x502e32){const _0x2e6b74=new _0x1215a8(this['locale']);return _0x2e6b74['children']=_0x2e6b74['createCollection'](),_0x2e6b74['children']['addMany'](_0x5a84f5),_0x2e6b74['setTemplate']({'tag':'div','attributes':{'aria-label':_0x502e32,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2e6b74['children']}),_0x2e6b74['children']['delegate']('execute')['to'](this),_0x2e6b74['focus']=function(){for(const _0xd9d493 of this['children'])if(_0xd9d493 instanceof _0x3d4830&&_0xd9d493['isOn'])return void _0xd9d493['focus']();this['children']['first']['focus']();},_0x2e6b74['focusTracker']=new _0x3c0be7(),_0x2e6b74['keystrokes']=new _0x42ba0c(),_0x2e6b74['render'](),_0x2e6b74['keystrokes']['listenTo'](_0x2e6b74['element']),this['children']['add'](_0x2e6b74),_0x2e6b74;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x145e25=this['_createStartIndexPropertyView'](),_0x51afd0=[_0x145e25],_0x9cd057=new _0x5ca684(this['locale'],_0x51afd0);return _0x9cd057['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x9cd057['buttonView']['bind']('isEnabled')['toMany'](_0x51afd0,'isEnabled',(..._0x1be24c)=>_0x1be24c['some'](_0x45a083=>_0x45a083)),_0x9cd057['buttonView']['on']('change:isEnabled',(_0x3d8f7e,_0x5be1ee,_0x574aa7)=>{_0x574aa7||(_0x9cd057['isCollapsed']=!0x0);}),this['children']['add'](_0x9cd057),[_0x145e25,_0x9cd057];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3bb1ba=new _0x51e597(this['locale'],_0x167831);return _0x3bb1ba['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3bb1ba['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3bb1ba['fieldView']['on']('input',()=>{const _0x1a6c97=_0x3bb1ba['fieldView']['element'],_0x151b93=_0x1a6c97['valueAsNumber'];Number['isNaN'](_0x151b93)?_0x3bb1ba['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1a6c97['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x151b93}):_0x3bb1ba['errorText']=t(_0x151b93<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3bb1ba;}}class FootnotesPropertiesUI extends _0x37efa5{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1ccec8,_0x556a29];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x18435e}=this,{componentFactory:_0x3f5a65}=_0x18435e['ui'];_0x18435e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3f5a65['add']('footnotesStyle',function(_0xa6b88e){return _0x33fa23=>{const {t:t}=_0x33fa23,_0x568106=_0xa6b88e['commands']['get']('footnotesStyle'),_0x90f407=_0x2fda6e(_0x33fa23),{buttonView:_0x51235a}=_0x90f407;return _0x90f407['class']='ck-footnotes-styles-dropdown',_0x90f407['bind']('isEnabled')['to'](_0x568106,'isEnabled'),_0x51235a['set']({'label':t('Footnotes\x20style'),'icon':_0x2fde97,'tooltip':!0x0}),_0x90f407['once']('change:isOpen',()=>{const _0x4060a6=function({editor:_0x261e72,dropdownView:_0x216035}){const {t:t}=_0x261e72['locale'],_0x25d244=t('Footnotes\x20definitions\x20styles'),_0x3fee6e=function(_0x110364){const {t:t}=_0x110364['locale'],_0x1cce50=_0x110364['config']['get']('footnotes.footnotesProperties.listStyles'),_0x2d49f9=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x44f21c},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x5c188b},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x289a9f},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x3fda92},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x54525b},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x323d3c},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x37b442}];return _0x1cce50['map'](_0x5cebdf=>{const _0x469e41=tt(_0x5cebdf),_0x5cc5a9=_0x2d49f9['find'](_0x3c36d5=>_0x3c36d5['style']===_0x469e41);return function(_0x56c647,_0x317a28){const {locale:_0x4aa72a}=_0x56c647,{label:_0x255db8,icon:_0x4cf489,tooltip:_0x3b806e,style:_0x29eb4f}=_0x317a28,_0x15e989=_0x56c647['commands']['get']('footnotesStyle'),_0x4d949c=new _0x3d4830(_0x4aa72a);return _0x4d949c['set']({'label':_0x255db8,'icon':_0x4cf489,'tooltip':_0x3b806e}),_0x4d949c['bind']('isOn')['to'](_0x15e989,'value',_0x5931e3=>_0x5931e3===_0x29eb4f),_0x4d949c['bind']('isEnabled')['to'](_0x15e989,'isEnabled'),_0x4d949c['on']('execute',()=>{_0x56c647['execute']('footnotesStyle',{'value':_0x29eb4f}),_0x56c647['editing']['view']['focus']();}),_0x4d949c;}(_0x110364,_0x5cc5a9);});}(_0x261e72),_0xf1063=new FootnotesDefinitionsPropertiesView(_0x261e72['locale'],{'styleGridAriaLabel':_0x25d244,'styleButtonViews':_0x3fee6e}),_0x56b7a2=_0x261e72['commands']['get']('footnotesStart');return _0xf1063['startIndexFieldView']['bind']('isEnabled')['to'](_0x56b7a2),_0xf1063['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x56b7a2),_0xf1063['on']('footnotesListStart',(_0xaf4923,_0x537664)=>{_0x261e72['execute']('footnotesStart',{'value':_0x537664['startIndex']});}),_0xf1063['delegate']('execute')['to'](_0x216035),_0xf1063;}({'editor':_0xa6b88e,'dropdownView':_0x90f407});_0x90f407['panelView']['children']['add'](_0x4060a6);}),_0x90f407;};}(_0x18435e));}['afterInit'](){const {editor:_0x1eeccc}=this,{t:t}=_0x1eeccc['locale'],_0x1c8712=_0x1eeccc['plugins']['get'](_0x556a29),{defaultPositions:_0x3f2795}=_0x2ba86c;_0x1c8712['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1eeccc['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3d3841=>{let _0x14d6d5=_0x3d3841['getFirstPosition']()?.['parent'];return _0x14d6d5?.['is']('$text')&&(_0x14d6d5=_0x14d6d5['parent']),_0x14d6d5?.['is']('element')?_0x14d6d5['findAncestor'](M):null;},'positions':[_0x3f2795['southArrowNorth'],_0x3f2795['southArrowNorthMiddleWest'],_0x3f2795['southArrowNorthMiddleEast'],_0x3f2795['southArrowNorthWest'],_0x3f2795['southArrowNorthEast'],_0x3f2795['northArrowSouth'],_0x3f2795['northArrowSouthMiddleWest'],_0x3f2795['northArrowSouthMiddleEast'],_0x3f2795['northArrowSouthWest'],_0x3f2795['northArrowSouthEast'],_0x3f2795['viewportStickyNorth']]});}}class FootnotesProperties extends _0x37efa5{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Footnotes,FootnotesClipboard,FootnotesEditing,FootnotesProperties,FootnotesPropertiesEditing,FootnotesPropertiesUI,FootnotesStartCommand,FootnotesStyleCommand,FootnotesTracker,FootnotesUI,InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x14c6b6=>0x1!=_0x14c6b6}};
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':_0x3cce32=>0x1!=_0x3cce32}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x5d3ea1=>{const {af:{dictionary:_0x236bfc,getPluralForm:_0x3abb84}}={'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':_0x37fca6=>0x1!=_0x37fca6}};_0x5d3ea1['af']||={'dictionary':{},'getPluralForm':null},_0x5d3ea1['af']['dictionary']=Object['assign'](_0x5d3ea1['af']['dictionary'],_0x236bfc),_0x5d3ea1['af']['getPluralForm']=_0x3abb84;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x26b831=>{const {af:{dictionary:_0x216b42,getPluralForm:_0x30fb1d}}={'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':_0x328be5=>0x1!=_0x328be5}};_0x26b831['af']||={'dictionary':{},'getPluralForm':null},_0x26b831['af']['dictionary']=Object['assign'](_0x26b831['af']['dictionary'],_0x216b42),_0x26b831['af']['getPluralForm']=_0x30fb1d;})(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':_0x4d2fa2=>0x0==_0x4d2fa2?0x0:0x1==_0x4d2fa2?0x1:0x2==_0x4d2fa2?0x2:_0x4d2fa2%0x64>=0x3&&_0x4d2fa2%0x64<=0xa?0x3:_0x4d2fa2%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':_0x1e462e=>0x0==_0x1e462e?0x0:0x1==_0x1e462e?0x1:0x2==_0x1e462e?0x2:_0x1e462e%0x64>=0x3&&_0x1e462e%0x64<=0xa?0x3:_0x1e462e%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1f4f47=>{const {ar:{dictionary:_0x5690dd,getPluralForm:_0x4c6d85}}={'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':_0x991945=>0x0==_0x991945?0x0:0x1==_0x991945?0x1:0x2==_0x991945?0x2:_0x991945%0x64>=0x3&&_0x991945%0x64<=0xa?0x3:_0x991945%0x64>=0xb?0x4:0x5}};_0x1f4f47['ar']||={'dictionary':{},'getPluralForm':null},_0x1f4f47['ar']['dictionary']=Object['assign'](_0x1f4f47['ar']['dictionary'],_0x5690dd),_0x1f4f47['ar']['getPluralForm']=_0x4c6d85;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x41b3c0=>{const {ar:{dictionary:_0x7d4c7a,getPluralForm:_0x564517}}={'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':_0x1aa515=>0x0==_0x1aa515?0x0:0x1==_0x1aa515?0x1:0x2==_0x1aa515?0x2:_0x1aa515%0x64>=0x3&&_0x1aa515%0x64<=0xa?0x3:_0x1aa515%0x64>=0xb?0x4:0x5}};_0x41b3c0['ar']||={'dictionary':{},'getPluralForm':null},_0x41b3c0['ar']['dictionary']=Object['assign'](_0x41b3c0['ar']['dictionary'],_0x7d4c7a),_0x41b3c0['ar']['getPluralForm']=_0x564517;})(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':_0x390520=>0x1!=_0x390520}};
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':_0x585092=>0x1!=_0x585092}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1b98bf=>{const {ast:{dictionary:_0x281de4,getPluralForm:_0x10f331}}={'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':_0x203b63=>0x1!=_0x203b63}};_0x1b98bf['ast']||={'dictionary':{},'getPluralForm':null},_0x1b98bf['ast']['dictionary']=Object['assign'](_0x1b98bf['ast']['dictionary'],_0x281de4),_0x1b98bf['ast']['getPluralForm']=_0x10f331;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2c3095=>{const {ast:{dictionary:_0xf2a224,getPluralForm:_0x389dc1}}={'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':_0x4ffaac=>0x1!=_0x4ffaac}};_0x2c3095['ast']||={'dictionary':{},'getPluralForm':null},_0x2c3095['ast']['dictionary']=Object['assign'](_0x2c3095['ast']['dictionary'],_0xf2a224),_0x2c3095['ast']['getPluralForm']=_0x389dc1;})(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':_0x5c78cc=>0x1!=_0x5c78cc}};
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':_0x37f71c=>0x1!=_0x37f71c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x473804=>{const {az:{dictionary:_0x2a0891,getPluralForm:_0x41409a}}={'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':_0x173399=>0x1!=_0x173399}};_0x473804['az']||={'dictionary':{},'getPluralForm':null},_0x473804['az']['dictionary']=Object['assign'](_0x473804['az']['dictionary'],_0x2a0891),_0x473804['az']['getPluralForm']=_0x41409a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x351137=>{const {az:{dictionary:_0xebd34e,getPluralForm:_0xed6040}}={'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':_0x395d07=>0x1!=_0x395d07}};_0x351137['az']||={'dictionary':{},'getPluralForm':null},_0x351137['az']['dictionary']=Object['assign'](_0x351137['az']['dictionary'],_0xebd34e),_0x351137['az']['getPluralForm']=_0xed6040;})(window['CKEDITOR_TRANSLATIONS']||={});