@ckeditor/ckeditor5-footnotes 48.1.0-alpha.5 → 48.1.0-alpha.7

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 _0x5cfb3d,Command as _0x21c5d1}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x2e193e,isWidget as _0x5df730,toWidgetEditable as _0x3d3309,WidgetToolbarRepository as _0x47cf7f}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x3c3a12,logWarning as _0x26fd17,FocusTracker as _0x4fc2a7,KeystrokeHandler as _0x17cf75,global as _0x56deab}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x418968,ClickObserver as _0x1a169e}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x2d4c41}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4453c5,ButtonView as _0x3dc254,View as _0x325213,ViewCollection as _0x3b6b0c,FocusCycler as _0xe04fd5,addKeyboardHandlingForGrid as _0x4ef8a,CollapsibleView as _0x17e2e1,LabeledFieldView as _0x37d3fc,createLabeledInputNumber as _0x326cca,ContextualBalloon as _0x42c45b,BalloonPanelView as _0x272e06,createDropdown as _0xedf58b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x2968f4,IconListStyleDecimal as _0xcf9b40,IconListStyleDecimalLeadingZero as _0x1ed7cb,IconListStyleLowerRoman as _0x10910d,IconListStyleUpperRoman as _0x56bbdb,IconListStyleLowerLatin as _0x1c230,IconListStyleUpperLatin as _0x285424,IconListStyleArabicIndic as _0xf9e9b6}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x491954,_0x244afa){this['_model']=_0x491954,this['_elementName']=_0x244afa['elementName'],this['_getElementKey']=_0x244afa['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x58f571){const _0x396460=new Set(),_0x2dfcaa=new Map();for(const _0x13f0c4 of _0x58f571){if('insert'===_0x13f0c4['type']&&'$text'!==_0x13f0c4['name']&&_0x13f0c4['position']['nodeAfter']){const _0x9c3334=this['_model']['createRangeOn'](_0x13f0c4['position']['nodeAfter']);for(const _0x59ff8b of _0x9c3334['getItems']()){if(!_0x59ff8b['is']('element',this['_elementName']))continue;const _0x4d130c=this['_getElementKey'](_0x59ff8b);_0x2dfcaa['has'](_0x4d130c)||_0x2dfcaa['set'](_0x4d130c,[]),_0x2dfcaa['get'](_0x4d130c)['push'](_0x59ff8b);}}if('remove'===_0x13f0c4['type']&&_0x13f0c4['name']===this['_elementName']){const _0x2ceef1=this['_getElementKey']({'getAttribute':_0x1e6181=>_0x13f0c4['attributes']['get'](_0x1e6181)});_0x396460['add'](_0x2ceef1);}}for(const [_0x11e8a7,_0x592114]of this['_trackedElements'])'$graveyard'===_0x592114['root']['rootName']&&_0x396460['add'](_0x11e8a7);for(const _0xfd358c of _0x396460)this['_trackedElements']['delete'](_0xfd358c);for(const [_0x16c592,_0x472cd9]of _0x2dfcaa)this['_trackedElements']['set'](_0x16c592,_0x472cd9[_0x472cd9['length']-0x1]);const _0x20fa34=new Set();for(const [_0x1c7129,_0x21b303]of _0x2dfcaa)_0x396460['has'](_0x1c7129)&&(_0x20fa34['add'](_0x21b303[0x0]),_0x21b303['length']>0x1?_0x2dfcaa['set'](_0x1c7129,_0x21b303['slice'](0x1)):_0x2dfcaa['delete'](_0x1c7129),_0x396460['delete'](_0x1c7129));return{'removed':Array['from'](_0x396460),'inserted':Array['from'](_0x2dfcaa['values']())['flat'](),'moved':Array['from'](_0x20fa34)};}}class K extends _0x5cfb3d{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x933284){super(_0x933284),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x111916=>_0x111916['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x1b4b08=>_0x1b4b08['getAttribute']('footnoteId')});}['init'](){const {editor:_0x15bf37}=this,{model:_0x56bb50,data:_0x16b00e}=_0x15bf37;_0x56bb50['document']['registerPostFixer'](_0x33030a=>{const _0x1b3d0d=_0x56bb50['document']['differ']['getChanges']();let _0x47860c=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x33030a,_0x1b3d0d)&&(_0x47860c=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x33030a,_0x1b3d0d)&&(_0x47860c=!0x0),this['_handleFootnoteReferencesChanges'](_0x33030a,_0x1b3d0d)&&(_0x47860c=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x33030a)&&(_0x47860c=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x33030a)&&(_0x47860c=!0x0),this['_sortFootnoteDefinitions'](_0x33030a)&&(_0x47860c=!0x0),_0x47860c;}),this['listenTo'](_0x56bb50['document'],'change:data',()=>{_0x56bb50['enqueueChange']({'isUndoable':!0x1},_0x413969=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x413969);});},{'priority':'low'}),this['listenTo'](_0x16b00e,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x194e00){return this['_footnotes']['find'](_0x573aa4=>_0x573aa4['id']===_0x194e00)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x5ade32){this['_footnoteFormatter']=_0x5ade32;}['_updateFootnotesCounters'](_0xbe7d6d,_0x22d6f3=0x0){let _0x16eaa0=!0x1;for(let _0x3b3fa5=_0x22d6f3;_0x3b3fa5<this['_footnotes']['length'];_0x3b3fa5++)this['_updateFootnoteRefCounter'](_0xbe7d6d,_0x3b3fa5)&&(_0x16eaa0=!0x0);return _0x16eaa0;}['_insertEmptyFootnotesDefinitionsContainer'](_0x494146,_0x212eef){const _0x7bf4cf=_0x494146['createElement']('footnotesDefinitions',{});return _0x494146['append'](_0x7bf4cf,_0x212eef),this['_footnotesDefinitions']=_0x7bf4cf,_0x7bf4cf;}['_ensureFootnotesDefinitionsContainerExists'](_0x4a7094){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x468343=this['_footnotes'][0x0]['reference']['root'],_0x1e08ee=this['_insertEmptyFootnotesDefinitionsContainer'](_0x4a7094,_0x468343);for(const _0x4f6a72 of this['_footnotes'])_0x4f6a72['definition']['parent']||_0x4a7094['insert'](_0x4f6a72['definition'],_0x1e08ee,'end');this['_updateFootnotesCounters'](_0x4a7094);}['_handleFootnotesDefinitionsObjectChanges'](_0x4c3b65,_0x1231e2){let _0x2daf5a=!0x1;const {inserted:_0x25d0fb,removed:_0x3f2522,moved:_0x42368e}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1231e2);if(_0x42368e['length']&&(this['_footnotesDefinitions']=_0x42368e[0x0]),_0x25d0fb['length']){if(_0x25d0fb['length']>0x1||this['_footnotesDefinitions']&&_0x25d0fb['some'](_0xd44dc7=>_0xd44dc7!==this['_footnotesDefinitions'])){const _0x46c21d=_0x4c3b65['createElement']('footnotesDefinitions',{}),_0x1745e1=[];this['_footnotesDefinitions']&&_0x1745e1['push'](this['_footnotesDefinitions']),_0x1745e1['push'](..._0x25d0fb),_0x4c3b65['insert'](_0x46c21d,_0x1745e1[0x0],'before');for(const _0x3b2e22 of _0x1745e1)_0x4c3b65['move'](_0x4c3b65['createRangeIn'](_0x3b2e22),_0x4c3b65['createPositionAt'](_0x46c21d,'end')),_0x4c3b65['remove'](_0x3b2e22);this['_footnotesDefinitions']=_0x46c21d,this['_updateFootnotesCounters'](_0x4c3b65),_0x2daf5a=!0x0;}else this['_footnotesDefinitions']=_0x25d0fb[0x0];}if(_0x3f2522['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x530a3b of this['_footnotes'])_0x4c3b65['remove'](_0x530a3b['reference']),_0x2daf5a=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x2daf5a;}['_handleFootnoteDefinitionsChanges'](_0x2e78de,_0x4992a4){let _0x424177=!0x1;const _0x498d22=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3e44ff,moved:_0x3fbb9e}=this['_footnoteDefsTracker']['getChanges'](_0x4992a4);for(const _0x585fa8 of[..._0x3fbb9e,..._0x3e44ff]){const _0x4b97b4=_0x585fa8['getAttribute']('footnoteId'),_0x94f389=this['getFootnote'](_0x4b97b4);_0x94f389&&(_0x94f389['definition']=_0x585fa8),j(_0x2e78de,_0x498d22,_0x585fa8)&&(_0x424177=!0x0);}return _0x424177;}['_handleFootnoteReferencesChanges'](_0x4f1055,_0x434263){let _0x315f3d=!0x1;const {removed:_0x28f3a4,inserted:_0x47e85a,moved:_0x6823}=this['_footnoteRefsTracker']['getChanges'](_0x434263);for(const _0x5b1db8 of _0x28f3a4)this['_handleRemoveFootnoteReferenceById'](_0x4f1055,_0x5b1db8)&&(_0x315f3d=!0x0);for(const _0x4ad3f2 of _0x47e85a)this['_handleInsertedFootnoteReference'](_0x4f1055,_0x4ad3f2)&&(_0x315f3d=!0x0);for(const _0x4b05d0 of _0x6823)this['_handleMovedFootnoteReference'](_0x4f1055,_0x4b05d0)&&(_0x315f3d=!0x0);return _0x315f3d;}['_handleFootnotesDefinitionsObjectSync'](_0xe8a4c9){if(!this['_footnotesDefinitions'])return!0x1;let _0x4c272b=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x2a3d6b=[];for(const _0x5c9437 of this['_footnotesDefinitions']['getChildren']()){const _0x1ee5cc=_0x5c9437['getAttribute']('footnoteId');this['getFootnote'](_0x1ee5cc)||(_0x2a3d6b['unshift'](_0x5c9437),_0x4c272b=!0x0);}for(const _0x2fb2ce of _0x2a3d6b)_0xe8a4c9['remove'](_0x2fb2ce);}const _0x4b0d6b=new Set(),_0x380639=[];for(const _0x29d069 of this['_footnotesDefinitions']['getChildren']()){const _0x24723d=_0x29d069['getAttribute']('footnoteId');_0x4b0d6b['has'](_0x24723d)?(_0x380639['unshift'](_0x29d069),_0x4c272b=!0x0):_0x4b0d6b['add'](_0x24723d);}for(const _0x4f0fcc of _0x380639)_0xe8a4c9['remove'](_0x4f0fcc);return this['_footnotesDefinitions']['childCount']||(_0xe8a4c9['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4c272b=!0x0),_0x4c272b;}['_handleInsertedFootnoteReference'](_0x419e6c,_0x4c7573){if(this['_footnotes']['find'](_0x4a39e8=>_0x4a39e8['reference']===_0x4c7573))return!0x1;let _0x17e4f8=!0x1;const _0x18f100=_0x4c7573['getAttribute']('footnoteId'),_0x4904d0=this['_footnotes']['findIndex'](_0x160da5=>_0x160da5['id']===_0x18f100);-0x1!==_0x4904d0&&(_0x419e6c['remove'](this['_footnotes'][_0x4904d0]['reference']),this['_footnotes']['splice'](_0x4904d0,0x1),_0x17e4f8=!0x0);let _0x232edd=this['_footnotesDefinitions']?function(_0x36cda7,_0x23ce53){for(const _0x73d316 of _0x36cda7['getChildren']())if(_0x73d316['getAttribute']('footnoteId')===_0x23ce53)return _0x73d316;return null;}(this['_footnotesDefinitions'],_0x18f100):null;_0x232edd||(_0x232edd=_0x419e6c['createElement']('footnoteDefinition',{'footnoteId':_0x18f100}),this['_footnotesDefinitions']&&(_0x419e6c['insert'](_0x232edd,this['_footnotesDefinitions'],'end'),_0x17e4f8=!0x0));const _0x16bbd3={'id':_0x18f100,'reference':_0x4c7573,'definition':_0x232edd},_0x387213=T(this['editor']['model'],this['_footnotes'],_0x4c7573);this['_footnotes']['splice'](_0x387213,0x0,_0x16bbd3);let _0x533d38=_0x387213;return-0x1!==_0x4904d0&&(_0x533d38=Math['min'](_0x387213,_0x4904d0)),this['_updateFootnotesCounters'](_0x419e6c,_0x533d38)&&(_0x17e4f8=!0x0),_0x17e4f8;}['_handleRemoveFootnoteReferenceById'](_0x1a9a69,_0x450684){const _0x23255d=this['_footnotes']['findIndex'](_0x2ec79b=>_0x2ec79b['id']===_0x450684);if(-0x1===_0x23255d)return!0x1;let _0x1aee84=!0x1;const _0x35c13c=this['_footnotes'][_0x23255d];return'$graveyard'!==_0x35c13c['definition']['root']['rootName']&&(_0x1a9a69['remove'](_0x35c13c['definition']),_0x1aee84=!0x0),this['_footnotes']['splice'](_0x23255d,0x1),this['_updateFootnotesCounters'](_0x1a9a69,_0x23255d)&&(_0x1aee84=!0x0),_0x1aee84;}['_handleMovedFootnoteReference'](_0x277d77,_0x481f8e){const _0x4f47dc=_0x481f8e['getAttribute']('footnoteId'),_0x26b80d=this['_footnotes']['findIndex'](_0x11d05b=>_0x11d05b['id']===_0x4f47dc),_0xfeb511=this['_footnotes'][_0x26b80d];let _0x40e804=!0x1;_0xfeb511['reference']=_0x481f8e,this['_footnotes']['splice'](_0x26b80d,0x1);const _0x1b2ed5=T(this['editor']['model'],this['_footnotes'],_0x481f8e);return this['_footnotes']['splice'](_0x1b2ed5,0x0,_0xfeb511),this['_updateFootnotesCounters'](_0x277d77,Math['min'](_0x26b80d,_0x1b2ed5))&&(_0x40e804=!0x0),_0x40e804;}['_updateFootnoteRefCounter'](_0x7ca20c,_0x1b26a2){if(!this['_footnotesDefinitions'])return!0x1;const _0x1eb578=this['_footnotes'][_0x1b26a2];let _0xa08306;return _0xa08306=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1eb578,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1b26a2+0x1}):String(_0x1b26a2+0x1),_0x1eb578['reference']['getAttribute']('footnoteCounter')!=_0xa08306&&(_0x7ca20c['setAttribute']('footnoteCounter',_0xa08306,_0x1eb578['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x11bb8d){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2ddb60,_0x4bbbed){if(_0x2ddb60['length']!==_0x4bbbed['length'])return!0x1;for(let _0x1b8fec=0x0;_0x1b8fec<_0x2ddb60['length'];_0x1b8fec++)if(_0x2ddb60[_0x1b8fec]!==_0x4bbbed[_0x1b8fec])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5bbf49=>_0x5bbf49['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x5866af=>_0x5866af['getAttribute']('footnoteId'))))return!0x1;let _0x5f6b50=!0x1;for(let _0x2eee98=0x0;_0x2eee98<this['_footnotes']['length'];_0x2eee98++){const _0x14d83c=this['_footnotes'][_0x2eee98],_0x57def1=_0x11bb8d['createPositionBefore'](_0x14d83c['definition']),_0x49379c=_0x11bb8d['createPositionAt'](this['_footnotesDefinitions'],_0x2eee98);_0x57def1['isEqual'](_0x49379c)||(_0x11bb8d['move'](_0x11bb8d['createRangeOn'](_0x14d83c['definition']),_0x49379c),_0x5f6b50=!0x0);}return _0x5f6b50;}['_ensureFootnotesReferencesHaveProperOrder'](_0x367c08){if(!this['_footnotes']['length'])return!0x1;const {model:_0xccc5cf}=this['editor'];let _0x454386=!0x1;for(let _0x903a47=0x0;_0x903a47<this['_footnotes']['length']-0x1;_0x903a47++){const _0x31e3e2=this['_footnotes'][_0x903a47],_0x14a0ad=this['_footnotes'][_0x903a47+0x1],_0x2e7b49=_0xccc5cf['createPositionBefore'](_0x31e3e2['reference']),_0x5de2fb=_0xccc5cf['createPositionBefore'](_0x14a0ad['reference']);'after'===_0x2e7b49['compareWith'](_0x5de2fb)&&(this['_handleMovedFootnoteReference'](_0x367c08,_0x31e3e2['reference']),_0x903a47=-0x1,_0x454386=!0x0);}return _0x454386;}}function j(_0x5e90b6,_0x433165,_0x10af1b){if(_0x10af1b['childCount'])return!0x1;const _0xc219a1=_0x433165?'paragraph':'footnoteInlineContent';return _0x5e90b6['insert'](_0x5e90b6['createElement'](_0xc219a1),_0x10af1b),!0x0;}function T(_0x823e5a,_0x476478,_0x4fa14d){if(0x0===_0x476478['length'])return 0x0;const _0x53af1c=_0x823e5a['createPositionBefore'](_0x4fa14d);for(let _0xa4b580=0x0;_0xa4b580<_0x476478['length'];_0xa4b580++){const _0x814930=_0x476478[_0xa4b580],_0x1811ff=_0x823e5a['createPositionBefore'](_0x814930['reference']);if('before'===_0x53af1c['compareWith'](_0x1811ff))return _0xa4b580;}const _0x56c899=_0x4fa14d['root'];let _0x530df5=-0x1;for(let _0x5a8d9c=_0x476478['length']-0x1;_0x5a8d9c>=0x0;_0x5a8d9c--)if(_0x476478[_0x5a8d9c]['reference']['root']===_0x56c899){_0x530df5=_0x5a8d9c;break;}if(-0x1!==_0x530df5)return _0x530df5+0x1;const _0x5e4f83=_0x823e5a['document']['getRootNames'](),_0x185346=_0x5e4f83['indexOf'](_0x56c899['rootName']),_0x576618=_0x5e4f83[_0x185346+0x1];if(_0x576618){for(let _0x44c454=0x0;_0x44c454<_0x476478['length'];_0x44c454++)if(_0x476478[_0x44c454]['reference']['root']['rootName']===_0x576618)return _0x44c454;}return _0x476478['length'];}class V extends _0x21c5d1{['refresh'](){const _0x20dffd=this['editor']['model']['document']['selection'],_0x3c1636=this['_getPositionToInsertFootnote'](_0x20dffd);this['isEnabled']=!!_0x3c1636;}['execute'](_0x4cad3f){const {editor:_0x18732c}=this,{model:_0x3f4ff9}=_0x18732c,{selection:_0x3e9642}=_0x3f4ff9['document'],_0x59a48d=this['_getPositionToInsertFootnote'](_0x3e9642);if(!_0x59a48d)return;const _0x28bdc0=_0x18732c['plugins']['get']('FootnotesEditing'),_0x248704=_0x4cad3f?.['footnoteId']??_0x3c3a12();!function(_0x32f96b){return'string'==typeof _0x32f96b&&_0x32f96b['length']>0x0&&!/\s/['test'](_0x32f96b)&&!/^\d/['test'](_0x32f96b);}(_0x248704)?_0x26fd17('insert-footnote-command-executed-with-invalid-id'):(_0x3f4ff9['change'](_0x2cd205=>{const _0x38a019=_0x2cd205['createElement']('footnoteRef',{'footnoteId':_0x248704});_0x3f4ff9['insertObject'](_0x38a019,_0x59a48d,null);}),_0x28bdc0['_moveSelectionToFootnoteDefinition'](_0x248704));}['_getPositionToInsertFootnote'](_0x51b0f1){const {model:_0x5e4b51}=this['editor'],{schema:_0x12cf49}=_0x5e4b51,_0x3fb668=_0x51b0f1['getFirstRange']();for(const _0xf6954 of _0x3fb668['getItems']())if(_0x12cf49['isBlock'](_0xf6954)||_0x12cf49['isObject'](_0xf6954))return null;const _0x4acc0e=_0x3fb668['end'];return _0x12cf49['checkChild'](_0x4acc0e,'footnoteRef')?_0x4acc0e:null;}}class $ extends _0x5cfb3d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5621d9}=this;_0x5621d9['config']['define']('footnotes.multiBlock',!0x0),_0x5621d9['commands']['add']('insertFootnote',new V(_0x5621d9)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x251dd9){const _0x3556d8=_0x28cac0([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]),_0x42cfb5=0x47a28506,_0x388217=0x47a50cc6^_0x42cfb5,_0x2f423c=window[_0x28cac0([0x44,0x61,0x74,0x65])][_0x28cac0([0x6e,0x6f,0x77])](),_0x4b31a0=_0x251dd9[_0x28cac0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4cb857=new window[(_0x28cac0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20f3a4=>{_0x4b31a0[_0x28cac0([0x6f,0x6e,0x63,0x65])](_0x28cac0([0x72,0x65,0x61,0x64,0x79]),_0x20f3a4);}),_0x76710f={[_0x28cac0([0x6b,0x74,0x79])]:_0x28cac0([0x45,0x43]),[_0x28cac0([0x75,0x73,0x65])]:_0x28cac0([0x73,0x69,0x67]),[_0x28cac0([0x63,0x72,0x76])]:_0x28cac0([0x50,0x2d,0x32,0x35,0x36]),[_0x28cac0([0x78])]:_0x28cac0([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]),[_0x28cac0([0x79])]:_0x28cac0([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]),[_0x28cac0([0x61,0x6c,0x67])]:_0x28cac0([0x45,0x53,0x32,0x35,0x36])},_0x33cace=_0x4b31a0[_0x28cac0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x28cac0([0x67,0x65,0x74])](_0x28cac0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59d2a6(){let _0x2323c5,_0x156973=null,_0x3181a4=null;try{if(_0x33cace==_0x28cac0([0x47,0x50,0x4c]))return _0x28cac0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2323c5=_0x4abc63(),!_0x2323c5)return _0x28cac0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2323c5[_0x28cac0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3181a4=_0x3ef616(_0x2323c5[_0x28cac0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2323c5[_0x28cac0([0x6a,0x74,0x69])])),await _0x5c5cee()?_0x285848()?_0x523c5d()?_0x28cac0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1616f6()?(_0x2323c5[_0x28cac0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x28cac0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x156973=_0x5c461e(_0x28cac0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49bbbd()):_0x28cac0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x28cac0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x28cac0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x28cac0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x523c5d(){const _0x3c0031=[_0x28cac0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x28cac0([0x74,0x72,0x69,0x61,0x6c])][_0x28cac0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2323c5[_0x28cac0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2f423c/0x3e8:0xe10*_0x388217;return _0x2323c5[_0x28cac0([0x65,0x78,0x70])]<_0x3c0031;}function _0x285848(){const _0x1bbe27=_0x2323c5[_0x28cac0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1bbe27&&(!!_0x1bbe27[_0x28cac0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28cac0([0x2a]))||!!_0x1bbe27[_0x28cac0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28cac0([0x46,0x4f,0x4f])));}function _0x1616f6(){const _0x549d66=_0x2323c5[_0x28cac0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x549d66||0x0==_0x549d66[_0x28cac0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4eea5b}=new URL(window[_0x28cac0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x549d66[_0x28cac0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4eea5b))return!0x0;const _0x4f1ab6=_0x4eea5b[_0x28cac0([0x73,0x70,0x6c,0x69,0x74])](_0x28cac0([0x2e]));return _0x549d66[_0x28cac0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41ffe1=>_0x41ffe1[_0x28cac0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28cac0([0x2a])))[_0x28cac0([0x6d,0x61,0x70])](_0xa34c7=>_0xa34c7[_0x28cac0([0x73,0x70,0x6c,0x69,0x74])](_0x28cac0([0x2e])))[_0x28cac0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x220093=>_0x220093[_0x28cac0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4f1ab6[_0x28cac0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28cac0([0x6d,0x61,0x70])](_0x4edde0=>Array(_0x4f1ab6[_0x28cac0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4edde0[_0x28cac0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x28cac0([0x66,0x69,0x6c,0x6c])](_0x4edde0[0x0]===_0x28cac0([0x2a])?_0x28cac0([0x2a]):'')[_0x28cac0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4edde0))[_0x28cac0([0x73,0x6f,0x6d,0x65])](_0x221455=>_0x4f1ab6[_0x28cac0([0x65,0x76,0x65,0x72,0x79])]((_0x470bd6,_0x2aa8a7)=>_0x221455[_0x2aa8a7]===_0x470bd6||_0x221455[_0x2aa8a7]===_0x28cac0([0x2a])));}function _0x49bbbd(){return _0x156973&&_0x3181a4?new window[(_0x28cac0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xfec61b,_0xb0bf0d)=>{_0x156973[_0x28cac0([0x74,0x68,0x65,0x6e])](_0xfec61b,_0xb0bf0d),_0x3181a4[_0x28cac0([0x74,0x68,0x65,0x6e])](_0x5bf823=>{_0x5bf823!=_0x28cac0([0x56,0x61,0x6c,0x69,0x64])&&_0xfec61b(_0x5bf823);},_0xb0bf0d);}):_0x156973||_0x3181a4||_0x28cac0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ef616(_0x1d5412,_0x43eb0c){return new window[(_0x28cac0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3952b5=>{if(_0xfb8b98())return _0x3952b5(_0x28cac0([0x56,0x61,0x6c,0x69,0x64]));_0xd4c43a(),_0x4b31a0[_0x28cac0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x28cac0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x14eb5d=!0x1;const _0x3881b1=_0x3c3a12();function _0x46aac8(_0x30d63c){return!!_0x30d63c&&(typeof _0x30d63c===_0x28cac0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x30d63c===_0x28cac0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x30d63c[_0x28cac0([0x74,0x68,0x65,0x6e])]===_0x28cac0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x30d63c[_0x28cac0([0x63,0x61,0x74,0x63,0x68])]===_0x28cac0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x425220(_0x559d9f){_0x274877(_0x559d9f)[_0x28cac0([0x74,0x68,0x65,0x6e])](_0xf21f0=>{if(!_0xf21f0||_0xf21f0[_0x28cac0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x28cac0([0x6f,0x6b]))return _0x28cac0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3ced79(_0x23d3db(_0x3881b1+_0x43eb0c))!=_0xf21f0[_0x28cac0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x28cac0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x28cac0([0x56,0x61,0x6c,0x69,0x64]);})[_0x28cac0([0x74,0x68,0x65,0x6e])](_0x78f39=>(_0x817ec5(),_0x78f39),()=>{const _0x65d71c=_0x3aa3dd();return null==_0x65d71c?(_0x817ec5(),_0x28cac0([0x56,0x61,0x6c,0x69,0x64])):_0x28cac0(_0x2f423c-_0x65d71c>(0x63ae0106^_0x42cfb5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x28cac0([0x74,0x68,0x65,0x6e])](_0x3952b5)[_0x28cac0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3952b5(_0x28cac0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x336657=0x47946b86^_0x42cfb5;function _0x817ec5(){const _0x4eb95e=_0x28cac0([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ced79(_0x23d3db(_0x1d5412)),_0x4bc523=_0x10b2f3(_0x3ced79(window[_0x28cac0([0x4d,0x61,0x74,0x68])][_0x28cac0([0x63,0x65,0x69,0x6c])](_0x2f423c/_0x336657)));window[_0x28cac0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28cac0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4eb95e,_0x4bc523);}function _0x3aa3dd(){const _0x4e905e=_0x28cac0([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ced79(_0x23d3db(_0x1d5412)),_0x27c3bb=window[_0x28cac0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x28cac0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e905e);return _0x27c3bb?window[_0x28cac0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10b2f3(_0x27c3bb),0x10)*_0x336657:null;}function _0x274877(_0x74ffa){return new window[(_0x28cac0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c8758,_0x23dea2)=>{_0x74ffa[_0x28cac0([0x74,0x68,0x65,0x6e])](_0x4c8758,_0x23dea2),window[_0x28cac0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x23dea2,0x47a351c6^_0x42cfb5);});}}_0x4b31a0[_0x28cac0([0x6f,0x6e])](_0x28cac0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4945ad,_0x27d745)=>{if(_0x27d745[0x0]!=_0x1d5412)return _0x3952b5(_0x28cac0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x27d745[0x1]={..._0x27d745[0x1],[_0x28cac0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3881b1};},{[_0x28cac0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28cac0([0x68,0x69,0x67,0x68])}),_0x4b31a0[_0x28cac0([0x6f,0x6e])](_0x28cac0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xeb0774=>{_0x46aac8(_0xeb0774[_0x28cac0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x14eb5d=!0x0,_0x425220(_0xeb0774[_0x28cac0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x28cac0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x28cac0([0x6c,0x6f,0x77])}),_0x4cb857[_0x28cac0([0x74,0x68,0x65,0x6e])](()=>{_0x14eb5d||_0x3952b5(_0x28cac0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfb8b98(){return _0x4b31a0[_0x28cac0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28cac0([0x76,0x69,0x65,0x77])][_0x28cac0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x28cac0([0x61,0x75,0x74,0x6f]);}function _0xd4c43a(){_0x4b31a0[_0x28cac0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x28cac0([0x76,0x69,0x65,0x77])][_0x28cac0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x28cac0([0x61,0x75,0x74,0x6f]);}}function _0x5c461e(_0x4878c4){const _0x56671f=[new window[(_0x28cac0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x329e99=>setTimeout(_0x329e99,0x47abbbca^_0x42cfb5)),_0x4cb857[_0x28cac0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x28cac0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ba00b=>{let _0x16c4e7=0x0;_0x4b31a0[_0x28cac0([0x6d,0x6f,0x64,0x65,0x6c])][_0x28cac0([0x6f,0x6e])](_0x28cac0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x276d6e,_0x1a1e94)=>{_0x1a1e94[0x0][_0x28cac0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x16c4e7++,_0x16c4e7==(0x47a280ee^_0x42cfb5)&&(_0x4ba00b(),_0x276d6e[_0x28cac0([0x6f,0x66,0x66])]());});}))];return window[_0x28cac0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x28cac0([0x72,0x61,0x63,0x65])](_0x56671f)[_0x28cac0([0x74,0x68,0x65,0x6e])](()=>_0x4878c4);}async function _0x4ebd90(){await _0x4cb857,_0x4b31a0[_0x28cac0([0x6d,0x6f,0x64,0x65,0x6c])][_0x28cac0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4797d7,_0x4b31a0[_0x28cac0([0x6d,0x6f,0x64,0x65,0x6c])][_0x28cac0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4797d7,_0x4b31a0[_0x28cac0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x28cac0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4e2ff2(_0x359112){const _0x5bd7f5=_0x25fbb3();_0x4b31a0[_0x5bd7f5]=_0x28cac0([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x359112,_0x359112!=_0x28cac0([0x56,0x61,0x6c,0x69,0x64])&&_0x4ebd90();}function _0x25fbb3(){const _0x3e253e=window[_0x28cac0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x28cac0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x28cac0([0x6e,0x6f,0x77])]())[_0x28cac0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x28cac0([0x2e]),'');let _0x1776e4=_0x28cac0([0x75]);for(let _0x5a83d8=0x0;_0x5a83d8<_0x3e253e[_0x28cac0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a83d8+=0x2){let _0x2fa6ae=window[_0x28cac0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e253e[_0x28cac0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a83d8,_0x5a83d8+0x2));_0x2fa6ae>=_0x3556d8[_0x28cac0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2fa6ae-=_0x3556d8[_0x28cac0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1776e4+=_0x3556d8[_0x2fa6ae];}return _0x1776e4;}function _0x4abc63(){const _0x5d7ce8=_0x33cace[_0x28cac0([0x73,0x70,0x6c,0x69,0x74])](_0x28cac0([0x2e]));if(0x3!=_0x5d7ce8[_0x28cac0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cc223(_0x5d7ce8[0x1]);function _0x5cc223(_0x49d7c4){const _0x9c0f78=_0x91d84f(_0x49d7c4);return _0x9c0f78&&_0x34e430()?_0x9c0f78:null;function _0x34e430(){const _0x56bdac=_0x9c0f78[_0x28cac0([0x6a,0x74,0x69])],_0x305856=window[_0x28cac0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56bdac[_0x28cac0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56bdac[_0x28cac0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x248c75={..._0x9c0f78,[_0x28cac0([0x6a,0x74,0x69])]:_0x56bdac[_0x28cac0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x56bdac[_0x28cac0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x248c75[_0x28cac0([0x76,0x63])],_0x23d3db(_0x248c75)==_0x305856;}}}async function _0x5c5cee(){let _0x51e57f=!0x0;try{const _0x4fccf7=_0x33cace[_0x28cac0([0x73,0x70,0x6c,0x69,0x74])](_0x28cac0([0x2e])),[_0x5a116d,_0x5523f2,_0x3cdcc9]=_0x4fccf7;return _0x509c12(_0x5a116d),await _0xa9a16a(_0x5a116d,_0x5523f2,_0x3cdcc9),_0x51e57f;}catch{return!0x1;}function _0x509c12(_0x37086f){const _0x1e2884=_0x91d84f(_0x37086f);_0x1e2884&&_0x1e2884[_0x28cac0([0x61,0x6c,0x67])]==_0x28cac0([0x45,0x53,0x32,0x35,0x36])||(_0x51e57f=!0x1);}async function _0xa9a16a(_0x165a34,_0x24172b,_0x4a078d){const _0x10b50a=window[_0x28cac0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x28cac0([0x66,0x72,0x6f,0x6d])](_0x2def98(_0x4a078d),_0x3268d7=>_0x3268d7[_0x28cac0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x50770d=new window[(_0x28cac0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x28cac0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x165a34+_0x28cac0([0x2e])+_0x24172b),_0x246c96=window[_0x28cac0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x28cac0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x246c96)return;const _0x513212=await _0x246c96[_0x28cac0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x28cac0([0x6a,0x77,0x6b]),_0x76710f,{[_0x28cac0([0x6e,0x61,0x6d,0x65])]:_0x28cac0([0x45,0x43,0x44,0x53,0x41]),[_0x28cac0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x28cac0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x28cac0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x246c96[_0x28cac0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x28cac0([0x6e,0x61,0x6d,0x65])]:_0x28cac0([0x45,0x43,0x44,0x53,0x41]),[_0x28cac0([0x68,0x61,0x73,0x68])]:{[_0x28cac0([0x6e,0x61,0x6d,0x65])]:_0x28cac0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x513212,_0x10b50a,_0x50770d)||(_0x51e57f=!0x1);}}function _0x91d84f(_0x4784cb){return _0x4784cb[_0x28cac0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x28cac0([0x65,0x79]))?JSON[_0x28cac0([0x70,0x61,0x72,0x73,0x65])](_0x2def98(_0x4784cb)):null;}function _0x2def98(_0x37d1be){return window[_0x28cac0([0x61,0x74,0x6f,0x62])](_0x37d1be[_0x28cac0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x28cac0([0x2b]))[_0x28cac0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x28cac0([0x2f])));}function _0x23d3db(_0x3054d7){let _0x99b923=0x1505;function _0x286411(_0x816397){for(let _0xff7266=0x0;_0xff7266<_0x816397[_0x28cac0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xff7266++){const _0x5590d9=_0x816397[_0x28cac0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xff7266);_0x99b923=(_0x99b923<<0x5)+_0x99b923+_0x5590d9,_0x99b923&=_0x99b923;}}function _0x35e14e(_0x1a7902){Array[_0x28cac0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a7902)?_0x1a7902[_0x28cac0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x35e14e):_0x1a7902&&typeof _0x1a7902==_0x28cac0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x28cac0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a7902)[_0x28cac0([0x73,0x6f,0x72,0x74])]()[_0x28cac0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5cf043,_0x774278])=>{_0x286411(_0x5cf043),_0x35e14e(_0x774278);}):_0x286411(window[_0x28cac0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a7902));}return _0x35e14e(_0x3054d7),_0x99b923>>>0x0;}function _0x3ced79(_0xe18dae){return _0xe18dae[_0x28cac0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x28cac0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x28cac0([0x30]));}function _0x10b2f3(_0x16f300){return _0x16f300[_0x28cac0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x28cac0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x28cac0([0x6a,0x6f,0x69,0x6e])]('');}function _0x4797d7(){}function _0x28cac0(_0xce03a4){return _0xce03a4['map'](_0x52583d=>String['fromCharCode'](_0x52583d))['join']('');}_0x4e2ff2(await _0x59d2a6());}(this);}['_moveSelectionToFootnoteDefinition'](_0x389e78){const {plugins:_0x4316be,editing:_0x34dac0,model:_0x2d7e43}=this['editor'],_0x747dd3=_0x4316be['get'](K)['getFootnote'](_0x389e78);return!!_0x747dd3&&(_0x2d7e43['change'](_0xdd0195=>{_0xdd0195['setSelection'](_0xdd0195['createPositionAt'](_0x747dd3['definition'],'end'));}),_0x34dac0['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x21dd70){const {plugins:_0x1ff131,editing:_0x13795e,model:_0xa535aa}=this['editor'],_0x8cf71b=_0x1ff131['get'](K)['getFootnote'](_0x21dd70);return!!_0x8cf71b&&(_0xa535aa['change'](_0x219b02=>{_0x219b02['setSelection'](_0x8cf71b['reference'],'on');}),_0x13795e['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5f3886}=this['editor']['model'],_0x427b87=this['editor']['config']['get']('footnotes.multiBlock');_0x5f3886['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5f3886['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5f3886['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x427b87?_0x5f3886['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5f3886['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5f3886['addChildCheck'](_0x1109b9=>{for(const _0x56fab4 of _0x1109b9)if('footnoteDefinition'===_0x56fab4['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1c4df0}=this,{conversion:_0x4bb353,editing:_0xbf408}=_0x1c4df0,{t:t}=_0x1c4df0['locale'];_0x4bb353['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xceafc8,{writer:_0x1cab28,consumable:_0x47daa4})=>{const _0x4426fa=_0xceafc8['getChild'](0x0);if(!_0x4426fa||!_0x4426fa['is']('element','a'))return null;const _0x89d1f2=_0x4426fa['getAttribute']('href')||'';if(!_0x89d1f2['startsWith']('#'))return null;const _0x119131=_0x89d1f2['replace'](/^#/,'');if(!_0x119131)return null;_0x47daa4['consume'](_0x4426fa,{'name':!0x0,'attributes':['href']});for(const {item:_0x248842}of _0xbf408['view']['createRangeIn'](_0x4426fa))_0x248842['is']('$textProxy')?_0x47daa4['consume'](_0x248842['textNode'],{'name':!0x0}):_0x248842['is']('element')&&_0x47daa4['consume'](_0x248842,{'name':!0x0});return _0x1cab28['createElement']('footnoteRef',{'footnoteId':_0x119131});}}),_0x4bb353['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x46e8b,{writer:_0x38968a})=>z(_0x46e8b,_0x38968a)}),_0x4bb353['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x161684,{writer:_0xb5fe34})=>{const _0x363f47=_0x161684['getAttribute']('footnoteCounter');return _0x2e193e(z(_0x161684,_0xb5fe34),_0xb5fe34,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x363f47)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2b0a70}=this,{t:t}=_0x2b0a70['locale'],{conversion:_0x327289}=_0x2b0a70;_0x327289['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x327289['for']('upcast')['add'](_0xd6888a=>{_0xd6888a['on']('element:ol',(_0x379e8a,_0x50a6b8,_0x4cf1b1)=>{const _0x29a283=_0x50a6b8['viewItem'];if(!_0x29a283['hasClass']('footnotes-list')||!_0x50a6b8['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4cf1b1['consumable']['consume'](_0x29a283,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x258352,modelCursor:_0x5696e1}=_0x4cf1b1['convertChildren'](_0x50a6b8['viewItem'],_0x50a6b8['modelCursor']);_0x50a6b8['modelRange']=_0x258352,_0x50a6b8['modelCursor']=_0x5696e1;}),_0xd6888a['on']('element:hr',(_0x158152,_0x582051,_0x3a04d6)=>{const _0x21c9b3=_0x582051['viewItem'];_0x21c9b3['hasClass']('footnotes-divider')&&_0x582051['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3a04d6['consumable']['consume'](_0x21c9b3,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x327289['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x22f1ac,{writer:_0x1eed2b})=>H(_0x1eed2b)}),_0x327289['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x800ef7,{writer:_0x2c9999})=>{const _0x7c0018=H(_0x2c9999,{'data-footnotes-list-label':t('Footnotes')}),_0x36927e=_0x2e193e(_0x7c0018,_0x2c9999,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2c9999['setCustomProperty']('footnotesDefinitions',!0x0,_0x36927e),_0x36927e;}});}['_defineDefinitionConverters'](){const {editor:_0x1a915f}=this,{conversion:_0x5a3ff5,locale:_0x1789a0}=_0x1a915f,_0xe58e4=_0x1a915f['config']['get']('footnotes.multiBlock');_0x5a3ff5['for']('upcast')['add'](_0xa3d5af=>{_0xa3d5af['on']('element:li',(_0x2aa791,_0x52e328,_0x24bdd9)=>{const _0xfd2a34=_0x52e328['viewItem'];if(!_0xfd2a34['hasClass']('footnote-definition')||!_0xfd2a34['getAttribute']('id'))return;const _0x2a9fb7=_0xfd2a34['parent'];if(!_0x2a9fb7['is']('element','ol')||!_0x2a9fb7['hasClass']('footnotes-list'))return;if(!_0x24bdd9['consumable']['test'](_0xfd2a34,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2d4212=_0x24bdd9['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xfd2a34['getAttribute']('id')});if(!_0x24bdd9['safeInsert'](_0x2d4212,_0x52e328['modelCursor']))return;_0x24bdd9['consumable']['consume'](_0xfd2a34,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4396e8=Array['from'](_0xfd2a34['getChildren']())['find'](_0x5c664e=>_0x5c664e['is']('element')&&_0x5c664e['hasClass']('footnote-content'));for(const _0x382199 of _0xfd2a34['getChildren']())_0x382199['is']('element')&&(_0x24bdd9['consumable']['consume'](_0x382199,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x24bdd9['consumable']['consume'](_0x382199,{'name':!0x0,'classes':'footnote-content'}));if(_0x4396e8){if(_0xe58e4)_0x24bdd9['convertChildren'](_0x4396e8,_0x2d4212);else{const _0x33f6a2=_0x24bdd9['writer']['createElement']('footnoteInlineContent');_0x24bdd9['writer']['insert'](_0x33f6a2,_0x2d4212),_0x24bdd9['convertChildren'](_0x4396e8,_0x33f6a2);}}_0x24bdd9['updateConversionResult'](_0x2d4212,_0x52e328);});}),_0x5a3ff5['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2e1578,{writer:_0x2657c4})=>X(_0x2e1578,_0x2657c4,_0x1789a0,{'dataPipeline':!0x0})}),_0x5a3ff5['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xa30990,{writer:_0x14f0fd})=>X(_0xa30990,_0x14f0fd,_0x1789a0)});}['_defineBogusParagraphConverters'](){const {editor:_0x38484e}=this,{conversion:_0x720431}=_0x38484e;_0x38484e['config']['get']('footnotes.multiBlock')?(_0x720431['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x720431['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x38484e['model']['document'],'change:data',()=>{!function(_0x50af36,_0x37cfc0){const _0x2daa3f=_0x50af36['document']['differ'],_0x3d5213=new Set();for(const _0x19f9cc of _0x2daa3f['getChanges']()){const _0x47c96b='attribute'==_0x19f9cc['type']?_0x19f9cc['range']['start']['parent']:_0x19f9cc['position']['parent'];_0x47c96b['is']('element','footnoteDefinition')&&_0x3d5213['add'](_0x47c96b);}for(const _0x343e09 of _0x3d5213['values']()){const _0x19da3b=Array['from'](_0x343e09['getChildren']())['filter'](_0x227808=>U(_0x227808,_0x37cfc0['mapper']));for(const _0x20dcef of _0x19da3b)_0x37cfc0['reconvertItem'](_0x20dcef);}}(_0x38484e['model'],_0x38484e['editing']);})):(_0x720431['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x720431['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x365038,{writer:_0x2fd729})=>{const _0x156257=_0x2fd729['createContainerElement']('span');return _0x2fd729['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x156257),_0x156257;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5eb4be}=this,{editing:_0x569783,t:t}=_0x5eb4be,_0x4d01b1=_0x5eb4be['model']['document']['selection'];_0x5eb4be['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5eb4be['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x569783['view']['document'],'enter',(_0x123277,_0x5aa6f4)=>{const _0xc634ff=function(_0x40aca3){const _0x893bfb=_0x40aca3['getSelectedElement']();if(_0x893bfb?.['is']('element','footnoteRef'))return _0x893bfb;return null;}(_0x4d01b1);if(_0xc634ff){const _0x198e55=_0xc634ff['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x198e55),_0x5aa6f4['preventDefault'](),_0x123277['stop']();}},{'context':_0x5df730});}['_defineClickHandlers'](){const {editor:_0x2c8683}=this,{editing:_0x4aae4f}=_0x2c8683;_0x2c8683['editing']['view']['addObserver'](_0x418968),_0x2c8683['editing']['view']['addObserver'](_0x1a169e);let _0x3eaaec=!0x1;this['listenTo'](_0x4aae4f['view']['document'],'pointerdown',(_0x9d2f1a,_0x322f91)=>{const {target:_0x1c3ae8}=_0x322f91,_0x1267a0=_0x4aae4f['view']['document']['selection'];_0x3eaaec=!!(_0x1c3ae8?.['is']('element','a')&&_0x1c3ae8['parent']?.['is']('element','sup')&&_0x1c3ae8['parent']['hasClass']('footnote'))&&_0x1267a0['getSelectedElement']()===_0x1c3ae8['parent'];},{'priority':'high'}),this['listenTo'](_0x4aae4f['view']['document'],'click',(_0x14db74,_0x364878)=>{const {target:_0x440d79}=_0x364878;if(!_0x440d79?.['is']('element','a'))return;if(_0x440d79['parent']?.['is']('element','sup')&&_0x440d79['parent']['hasClass']('footnote')&&!_0x3eaaec)return void _0x364878['preventDefault']();let _0x4ea585=_0x440d79['getAttribute']('href');if(!_0x4ea585?.['startsWith']('#'))return;_0x4ea585=_0x4ea585['slice'](0x1);let _0x4c24e4=!0x1;(_0x4ea585['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4ea585['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4ea585))&&(_0x4c24e4=!0x0),_0x4c24e4&&(_0x364878['preventDefault'](),_0x14db74['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x1d3701}={}){return(_0x4d9275,{writer:_0x5c7ac7})=>{if(!M(_0x4d9275))return null;if(!_0x1d3701)return _0x5c7ac7['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x57310d=_0x5c7ac7['createContainerElement']('p');return _0x5c7ac7['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x57310d),_0x57310d;};}function M(_0x4c58df){const {parent:_0x3b3996}=_0x4c58df;if(!_0x3b3996?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3b3996['childCount'])return!0x1;for(const _0xc7fbf0 of _0x4c58df['getAttributeKeys']())if(!_0xc7fbf0['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xc7fbf0)return!0x1;return!0x0;}function U(_0x1f8cf6,_0x1109ec){if(!_0x1f8cf6['is']('element','paragraph'))return!0x1;const _0x1f4fed=_0x1109ec['toViewElement'](_0x1f8cf6);return!!_0x1f4fed&&M(_0x1f8cf6)!==_0x1f4fed['is']('element','span');}function q(_0x4b295b){return _0x5df730(_0x4b295b)&&_0x4b295b['is']('containerElement')&&!!_0x4b295b['getCustomProperty']('footnotesDefinitions');}function H(_0x4e61a1,_0x3299e7={}){const _0x1b66ec=_0x4e61a1['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x161d3c=_0x4e61a1['createContainerElement']('ol',{'class':'footnotes-list'},_0x4e61a1['createSlot']());return _0x4e61a1['createContainerElement']('div',{'class':'footnotes',..._0x3299e7},[_0x1b66ec,_0x161d3c]);}function z(_0x27307d,_0x2c8bbe){const _0x2d4c9a=_0x27307d['getAttribute']('footnoteId'),_0x11d8cf=_0x27307d['getAttribute']('footnoteCounter'),_0xf8fc65=_0x2c8bbe['createUIElement']('a',{'href':'#'+_0x2d4c9a},function(_0x2a998c){const _0x52629d=this['toDomElement'](_0x2a998c);return _0x52629d['textContent']=_0x11d8cf,_0x52629d;}),_0x38e7ab=_0x2c8bbe['createContainerElement']('sup',{'id':'ref-'+_0x2d4c9a,'class':'footnote'},[_0xf8fc65]);return _0x38e7ab['getFillerOffset']=()=>null,_0x38e7ab;}function X(_0x46cccb,_0x14e634,_0x103023,{dataPipeline:_0x253c9b}={}){const {t:t}=_0x103023,_0x5bc410=_0x46cccb['getAttribute']('footnoteId'),_0x2a7041=_0x14e634['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5bc410},function(_0x2bba57){const _0x59370d=this['toDomElement'](_0x2bba57);return _0x59370d['innerText']='^',_0x59370d;}),_0x52d00a=_0x253c9b?_0x14e634['createContainerElement']('div',{'class':'footnote-content'}):_0x3d3309(_0x14e634['createEditableElement']('div',{'class':'footnote-content'}),_0x14e634,{'label':t('Footnote\x20content.')});return _0x14e634['insert'](_0x14e634['createPositionAt'](_0x52d00a,0x0),_0x14e634['createSlot']()),_0x14e634['createContainerElement']('li',{'class':'footnote-definition','id':_0x5bc410},[_0x2a7041,_0x52d00a]);}class J extends _0x5cfb3d{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x2d4c41];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x2dbf15}=this,{plugins:_0x4d9687,model:_0x5dcc50}=_0x2dbf15,_0x164c67=_0x4d9687['get'](_0x2d4c41),_0x2e7910=_0x4d9687['get'](K);this['listenTo'](_0x164c67,'outputTransformation',(_0x849405,_0x421a67)=>{const _0x183c08=Q(_0x5dcc50['createRangeIn'](_0x421a67['content']));if(!_0x183c08['length'])return;const _0x3b44ee=_0x2e7910['getFootnotes'](),_0x568203=_0x183c08['reduce']((_0x32ed7b,_0x3c7ea6)=>{const _0x50ef8e=_0x3b44ee['find'](_0x3b456b=>_0x3b456b['id']===_0x3c7ea6);if(_0x50ef8e){const _0x236a67=_0x2dbf15['data']['toView'](_0x50ef8e['definition'],{'isClipboardPipeline':!0x0}),_0x4c7955=_0x2dbf15['data']['htmlProcessor']['toData'](_0x236a67);_0x32ed7b[_0x50ef8e['id']]=_0x4c7955;}return _0x32ed7b;},Object['create'](null));_0x421a67['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x568203));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x390d46}=this,{model:_0x4d01b6,plugins:_0x3fecfd}=_0x390d46,{view:_0x488dc2}=_0x390d46['editing'],_0x1ecb7b=_0x3fecfd['get'](_0x2d4c41),_0x3e7d77=_0x3fecfd['get'](K),_0x15a36a=_0x390d46['config']['get']('footnotes.multiBlock');let _0x5a9913=null;this['listenTo'](_0x488dc2['document'],'clipboardInput',(_0x3d95e2,_0x2b3f3e)=>{const _0xa8c0eb=_0x2b3f3e['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x5a9913=_0xa8c0eb?JSON['parse'](_0xa8c0eb):null;}),this['listenTo'](_0x1ecb7b,'contentInsertion',(_0x2d387e,_0x3e5ef7)=>{const _0x75c5bb=_0x3e5ef7['sourceEditorId']===this['editor']['id'];_0x75c5bb&&'drop'===_0x3e5ef7['method']||_0x4d01b6['change'](_0x15bec3=>{let _0x3ba8a9=_0x3e7d77['getFootnotesDefinitionsObjectElement']();const _0x452cad=!!_0x3ba8a9&&Array['from'](_0x4d01b6['document']['selection']['getSelectedBlocks']())['includes'](_0x3ba8a9);if(!_0x5a9913&&function(_0x4397bd){for(const {item:_0x38148d}of _0x4397bd)if(_0x38148d['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x4d01b6['createRangeIn'](_0x3e5ef7['content']))&&(_0x5a9913=function(_0x307ab0,_0x2fdc91){const _0x4b7730=G(_0x307ab0,_0x2fdc91);if(!_0x4b7730)return null;const _0x20dfd0=Object['create'](null);for(const _0x501e70 of _0x4b7730['getChildren']())_0x501e70['is']('element','footnoteDefinition')&&_0x501e70['hasAttribute']('footnoteId')&&(_0x20dfd0[_0x501e70['getAttribute']('footnoteId')]=_0x307ab0['cloneElement'](_0x501e70,!0x0));return Object['keys'](_0x20dfd0)['length']?_0x20dfd0:null;}(_0x15bec3,_0x3e5ef7['content'])),(_0x3ba8a9&&!_0x452cad||!_0x3ba8a9&&!_0x5a9913)&&function(_0x34dd50,_0x14c2e1){const _0x341f0a=[];for(const {item:_0xeb3e85}of _0x34dd50['createRangeIn'](_0x14c2e1))_0xeb3e85['is']('element','footnotesDefinitions')&&_0x341f0a['push'](_0xeb3e85);for(const _0x43616e of _0x341f0a)_0x34dd50['remove'](_0x43616e);}(_0x15bec3,_0x3e5ef7['content']),!_0x5a9913)return;const {selection:_0x511fc6}=_0x4d01b6['document'],_0x120791=_0x511fc6['getFirstRange']()['root'];_0x3ba8a9&&!_0x452cad||(_0x3ba8a9=G(_0x15bec3,_0x3e5ef7['content']),_0x3ba8a9||=_0x3e7d77['_insertEmptyFootnotesDefinitionsContainer'](_0x15bec3,_0x120791));const _0x54f6a9=Array['from'](_0x511fc6['getRanges']())['flatMap'](Q),_0x51db88=function(_0x52335e,_0x15e6af,_0x3835f1){const _0x1cccd6=Object['create'](null);for(const {item:_0x3e0dc0}of _0x52335e['createRangeIn'](_0x15e6af))if(_0x3e0dc0['is']('element','footnoteRef')){const _0x67fe14=_0x3e0dc0['getAttribute']('footnoteId');if(!_0x3835f1(_0x67fe14))continue;_0x1cccd6[_0x67fe14]||(_0x1cccd6[_0x67fe14]=_0x3c3a12()),_0x52335e['setAttribute']('footnoteId',_0x1cccd6[_0x67fe14],_0x3e0dc0);}return _0x1cccd6;}(_0x15bec3,_0x3e5ef7['content'],_0x28ceed=>{if(!_0x75c5bb)return!0x0;return!!_0x3e7d77['getFootnote'](_0x28ceed)&&!_0x54f6a9['includes'](_0x28ceed);});for(const [_0x3e2ecf,_0xca2598]of Object['entries'](_0x5a9913)){const _0x122399=_0x51db88[_0x3e2ecf]||_0x3e2ecf;let _0x3f555;if('string'!=typeof _0xca2598)_0x3f555=_0xca2598,_0x122399!==_0x3e2ecf&&_0x15bec3['setAttribute']('footnoteId',_0x122399,_0x3f555);else{_0x3f555=_0x15bec3['createElement']('footnoteDefinition',{'footnoteId':_0x122399});const _0x51a92b=_0x390d46['data']['htmlProcessor']['toView'](_0xca2598);let _0x21a26e;if(_0x15a36a)_0x21a26e=_0x390d46['data']['toModel'](_0x51a92b,_0x3f555);else{_0x21a26e=_0x15bec3['createElement']('footnoteInlineContent');const _0x5361e0=_0x390d46['data']['toModel'](_0x51a92b,_0x21a26e);_0x15bec3['insert'](_0x5361e0,_0x21a26e);}_0x15bec3['append'](_0x21a26e,_0x3f555);}_0x15bec3['insert'](_0x3f555,_0x3ba8a9,'end');}_0x5a9913=null;});});}}function G(_0x596016,_0x4d2165){for(const {item:_0x5b92eb}of _0x596016['createRangeIn'](_0x4d2165))if(_0x5b92eb['is']('element','footnotesDefinitions'))return _0x5b92eb;return null;}function Q(_0x2a9d7f){const _0x41106f=new Set();for(const {item:_0x2d79af}of _0x2a9d7f)_0x2d79af['is']('element','footnoteRef')&&_0x41106f['add'](_0x2d79af['getAttribute']('footnoteId'));return Array['from'](_0x41106f);}class W extends _0x5cfb3d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x57e6d6}=this,{componentFactory:_0x105387}=_0x57e6d6['ui'];_0x105387['add']('insertFootnote',Y(_0x57e6d6,_0x3dc254)),_0x105387['add']('menuBar:insertFootnote',Y(_0x57e6d6,_0x4453c5)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x12bc18=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x53718a;for(const _0x4aa4ee in _0x12bc18){const _0x5aa789=_0x4aa4ee,_0x1c3ad5=_0x12bc18[_0x5aa789];if('footnotesLicenseKeyValid'==_0x1c3ad5||'footnotesLicenseKeyInvalid'==_0x1c3ad5||'footnotesLicenseKeyExpired'==_0x1c3ad5||'footnotesLicenseKeyDomainLimit'==_0x1c3ad5||'footnotesLicenseKeyNotAllowed'==_0x1c3ad5||'footnotesLicenseKeyEvaluationLimit'==_0x1c3ad5||'footnotesLicenseKeyUsageLimit'==_0x1c3ad5){delete _0x12bc18[_0x5aa789],_0x53718a=_0x1c3ad5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x53718a&&_0x12bc18['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x53718a&&_0x12bc18['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x53718a&&_0x12bc18['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x53718a&&_0x12bc18['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x53718a&&_0x12bc18['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x53718a&&_0x12bc18['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x1b712d,_0x22b713){const _0x27f8b5=_0x1b712d['commands']['get']('insertFootnote');return _0x8ed6fd=>{const {t:t}=_0x8ed6fd,_0x45e21f=new _0x22b713(_0x8ed6fd),_0x29ce73=_0x45e21f instanceof _0x4453c5;return _0x45e21f['bind']('isEnabled')['to'](_0x27f8b5,'isEnabled'),_0x45e21f['set']({'label':t(_0x29ce73?'Footnote':'Insert\x20footnote'),'icon':_0x2968f4,'tooltip':!0x0}),_0x45e21f['on']('execute',()=>{_0x27f8b5['execute'](),_0x1b712d['editing']['view']['focus']();}),_0x45e21f;};}class Z extends _0x5cfb3d{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[$,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];class nt extends _0x21c5d1{['refresh'](){const {editor:_0x457626}=this,_0x3d6fe4=_0x457626['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3d6fe4,this['value']=_0x3d6fe4?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x39f555}){const {editor:_0x58aead}=this,_0x5688eb=_0x58aead['plugins']['get'](K),_0x379a2f=_0x5688eb['getFootnotesDefinitionsObjectElement']();_0x379a2f&&ot['includes'](_0x39f555)&&_0x58aead['model']['change'](_0x4a89ae=>{_0x4a89ae['setAttribute']('footnotesListStyle',_0x39f555,_0x379a2f),_0x5688eb['_updateFootnotesCounters'](_0x4a89ae);});}}class it extends _0x21c5d1{['refresh'](){const {editor:_0x35c1b9}=this,_0x3235cd=_0x35c1b9['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3235cd,this['value']=_0x3235cd?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4a6623}){const {editor:_0x514356}=this,_0x81aeb7=_0x514356['plugins']['get'](K),_0x28939f=_0x81aeb7['getFootnotesDefinitionsObjectElement']();_0x28939f&&Number['isInteger'](_0x4a6623)&&_0x514356['model']['change'](_0x47e8c9=>{_0x47e8c9['setAttribute']('footnotesListStart',_0x4a6623,_0x28939f),_0x81aeb7['_updateFootnotesCounters'](_0x47e8c9);});}}function st(_0x3911de,_0x42353c){let _0x35c62f='',_0x564c0b=_0x3911de;for(;_0x564c0b>0x0;){const _0x1a8731=(_0x564c0b-0x1)%0x1a;_0x35c62f=String['fromCharCode'](0x61+_0x1a8731)+_0x35c62f,_0x564c0b=Math['floor']((_0x564c0b-0x1)/0x1a);}return _0x42353c?_0x35c62f['toUpperCase']():_0x35c62f;}const rt=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function lt(_0x4c4142,_0x41b091){let _0x277896='',_0x4ad47e=_0x4c4142;for(const {value:_0x294b8a,numeral:_0x5abbc3}of rt)for(;_0x4ad47e>=_0x294b8a;)_0x277896+=_0x5abbc3,_0x4ad47e-=_0x294b8a;return _0x41b091?_0x277896:_0x277896['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x5cfb3d{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x412755}=this;_0x412755['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x412755['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x412755['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x412755['commands']['add']('footnotesStyle',new nt(_0x412755)),_0x412755['commands']['add']('footnotesStart',new it(_0x412755)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3c0ebc}=this,{schema:_0x2fae4c}=_0x3c0ebc['model'];_0x2fae4c['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x56a018}=this,{conversion:_0x546f00,model:_0x4d3dc3}=_0x56a018,{schema:_0x36170d}=_0x4d3dc3;_0x546f00['for']('upcast')['add'](_0x433dad=>{_0x433dad['on']('element:ol',(_0x4074ee,_0x26ac73,_0x387f86)=>{const _0x125be5=_0x26ac73['viewItem'],_0xbdfc63=_0x26ac73['modelCursor']?.['parent'];_0x125be5['hasClass']('footnotes-list')&&_0xbdfc63?.['is']('element','footnotesDefinitions')&&(function(_0x3d56b7,_0x464305,_0x4a20fb,_0x5999cb){if(!_0x5999cb['checkAttribute'](_0x464305,'footnotesListStart'))return;let _0x2d6d85=0x1;const _0x3cf543=_0x4a20fb['consumable']['consume'](_0x3d56b7,{'attributes':'start'});if(_0x3cf543){const _0x56856=Number['parseInt'](_0x3d56b7['getAttribute']('start'),0xa);Number['isNaN'](_0x56856)||(_0x2d6d85=_0x56856);}!_0x3cf543&&_0x464305['hasAttribute']('footnotesListStart')||_0x4a20fb['writer']['setAttribute']('footnotesListStart',_0x2d6d85,_0x464305);}(_0x125be5,_0xbdfc63,_0x387f86,_0x36170d),function(_0x140471,_0x4e2032,_0x49dd07,_0x1e6cea){if(!_0x1e6cea['checkAttribute'](_0x4e2032,'footnotesListStyle'))return;let _0xf2a91e='decimal',_0x2366c3=!0x1;if(_0x49dd07['consumable']['consume'](_0x140471,{'attributes':'type'})){const _0x529fb3={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x140471['getAttribute']('type')];_0x529fb3&&(_0xf2a91e=_0x529fb3),_0x2366c3=!0x0;}if(_0x49dd07['consumable']['consume'](_0x140471,{'styles':'list-style-type'})){const _0x3e060d=ct(_0x140471['getStyle']('list-style-type'));_0x3e060d&&(_0xf2a91e=_0x3e060d),_0x2366c3=!0x0;}!_0x2366c3&&_0x4e2032['hasAttribute']('footnotesListStyle')||_0x49dd07['writer']['setAttribute']('footnotesListStyle',_0xf2a91e,_0x4e2032);}(_0x125be5,_0xbdfc63,_0x387f86,_0x36170d));});}),_0x546f00['for']('downcast')['add'](_0x284a80=>{_0x284a80['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5c988a,_0xa43433,_0x3b8f74)=>{if(!_0x3b8f74['consumable']['consume'](_0xa43433['item'],_0x5c988a['name']))return;const _0x4f0c45=ut(_0xa43433['item'],_0x3b8f74['mapper']),{attributeNewValue:_0x5d9965}=_0xa43433;null==_0x5d9965||0x1===_0x5d9965?_0x3b8f74['writer']['removeAttribute']('start',_0x4f0c45):_0x3b8f74['writer']['setAttribute']('start',String(_0x5d9965),_0x4f0c45);}),_0x284a80['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1731bc,_0x1ba393,_0x295b99)=>{if(!_0x295b99['consumable']['consume'](_0x1ba393['item'],_0x1731bc['name']))return;const _0x227e10=ut(_0x1ba393['item'],_0x295b99['mapper']),{attributeNewValue:_0x3cee3a}=_0x1ba393;_0x3cee3a&&'decimal'!==_0x3cee3a?_0x295b99['writer']['setStyle']('list-style-type',_0x3cee3a,_0x227e10):_0x295b99['writer']['removeStyle']('list-style-type',_0x227e10);});});}['_definePostfixer'](){const {editor:_0x1ddf70}=this,{model:_0x22b573}=_0x1ddf70,_0x5b2abf=_0x1ddf70['plugins']['get'](K),_0xb7acd6=this['_getDefaultListStyle'](),_0x3c9637=this['_getDefaultStartIndex']();_0x22b573['document']['registerPostFixer'](_0x355a9d=>{const _0x8f7121=_0x22b573['document']['differ']['getChanges']();let _0x28d235=!0x1;for(const _0x22fb05 of _0x8f7121){if('insert'!==_0x22fb05['type']||'$text'===_0x22fb05['name'])continue;const _0x4a8fc2=_0x22b573['createRangeOn'](_0x22fb05['position']['nodeAfter']);for(const _0x25739a of _0x4a8fc2['getItems']())_0x25739a['is']('element','footnotesDefinitions')&&(!_0x25739a['hasAttribute']('footnotesListStart')&&_0x22b573['schema']['checkAttribute'](_0x25739a,'footnotesListStart')&&(_0x355a9d['setAttribute']('footnotesListStart',_0x3c9637,_0x25739a),_0x28d235=!0x0),!_0x25739a['hasAttribute']('footnotesListStyle')&&_0x22b573['schema']['checkAttribute'](_0x25739a,'footnotesListStyle')&&(_0x355a9d['setAttribute']('footnotesListStyle',_0xb7acd6,_0x25739a),_0x28d235=!0x0));}return _0x28d235&&_0x5b2abf['_updateFootnotesCounters'](_0x355a9d),_0x28d235;});}['_defineFormatter'](){const {editor:_0x4e84e7}=this;_0x4e84e7['plugins']['get'](K)['setFootnoteFormatter'](_0x273b30=>this['_formatFootnoteListValue'](_0x273b30));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2b884b,value:_0x241165,digits:_0x1fce48}){const _0x3520b8=_0x2b884b['getAttribute']('footnotesListStyle'),_0x4aa193=_0x2b884b['getAttribute']('footnotesListStart'),_0x41a356=Math['floor'](_0x241165)+(_0x4aa193??0x1)-0x1;switch(_0x3520b8){case'decimal-leading-zero':return function(_0x287d08,_0x1a87d5){return String(_0x287d08)['padStart'](_0x1a87d5,'0');}(_0x41a356,Math['max'](0x2,_0x1fce48));case'lower-alpha':case'lower-latin':return st(_0x41a356,!0x1);case'upper-alpha':case'upper-latin':return st(_0x41a356,!0x0);case'lower-roman':return lt(_0x41a356,!0x1);case'upper-roman':return lt(_0x41a356,!0x0);case'arabic-indic':return String(_0x41a356)['replace'](/\d/g,_0x174bea=>ft[Number(_0x174bea)]);default:return String(_0x41a356);}}}function ct(_0x3388c2){if('string'==typeof _0x3388c2){const _0x35d651=et[_0x3388c2];if(_0x35d651)return _0x35d651;if(ot['includes'](_0x3388c2))return _0x3388c2;}return null;}function ut(_0x26cd46,_0x512cf7){const _0x63146d=_0x512cf7['toViewElement'](_0x26cd46);return Array['from'](_0x63146d['getChildren']())['find'](_0x1c571f=>_0x1c571f['is']('element','ol')&&_0x1c571f['hasClass']('footnotes-list'));}class dt extends _0x325213{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x4fc2a7();['keystrokes']=new _0x17cf75();['focusables']=new _0x3b6b0c();['focusCycler'];constructor(_0x2f88cd,{styleButtonViews:_0x4b82f6,styleGridAriaLabel:_0x1d0272}){super(_0x2f88cd),(this['focusCycler']=new _0xe04fd5({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4b82f6,_0x1d0272),[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 _0x3fe2b7 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3fe2b7['element']);_0x4ef8a({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x56deab['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 _0x5b9f88=_0x161815=>_0x161815['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5b9f88),this['keystrokes']['set']('arrowleft',_0x5b9f88),this['keystrokes']['set']('arrowup',_0x5b9f88),this['keystrokes']['set']('arrowdown',_0x5b9f88);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x13810d,_0x397dca){const _0x74021e=new _0x325213(this['locale']);return _0x74021e['children']=_0x74021e['createCollection'](),_0x74021e['children']['addMany'](_0x13810d),_0x74021e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x397dca,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x74021e['children']}),_0x74021e['children']['delegate']('execute')['to'](this),_0x74021e['focus']=function(){for(const _0x20419e of this['children'])if(_0x20419e instanceof _0x3dc254&&_0x20419e['isOn'])return void _0x20419e['focus']();this['children']['first']['focus']();},_0x74021e['focusTracker']=new _0x4fc2a7(),_0x74021e['keystrokes']=new _0x17cf75(),_0x74021e['render'](),_0x74021e['keystrokes']['listenTo'](_0x74021e['element']),this['children']['add'](_0x74021e),_0x74021e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5747cd=this['_createStartIndexPropertyView'](),_0x43640c=[_0x5747cd],_0xc26d8f=new _0x17e2e1(this['locale'],_0x43640c);return _0xc26d8f['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xc26d8f['buttonView']['bind']('isEnabled')['toMany'](_0x43640c,'isEnabled',(..._0x13170d)=>_0x13170d['some'](_0x439d9d=>_0x439d9d)),_0xc26d8f['buttonView']['on']('change:isEnabled',(_0xbf43ff,_0x2feaf0,_0x80ca85)=>{_0x80ca85||(_0xc26d8f['isCollapsed']=!0x0);}),this['children']['add'](_0xc26d8f),[_0x5747cd,_0xc26d8f];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x180ed2=new _0x37d3fc(this['locale'],_0x326cca);return _0x180ed2['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x180ed2['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x180ed2['fieldView']['on']('input',()=>{const _0x1851dc=_0x180ed2['fieldView']['element'],_0x5aa482=_0x1851dc['valueAsNumber'];Number['isNaN'](_0x5aa482)?_0x180ed2['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1851dc['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5aa482}):_0x180ed2['errorText']=t(_0x5aa482<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x180ed2;}}class ht extends _0x5cfb3d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x42c45b,_0x47cf7f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xb3f81b}=this,{componentFactory:_0xd57d56}=_0xb3f81b['ui'];_0xb3f81b['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xd57d56['add']('footnotesStyle',function(_0x5ea1fb){return _0x4fe5fc=>{const {t:t}=_0x4fe5fc,_0x2ed5ec=_0x5ea1fb['commands']['get']('footnotesStyle'),_0x59333d=_0xedf58b(_0x4fe5fc),{buttonView:_0x19e424}=_0x59333d;return _0x59333d['class']='ck-footnotes-styles-dropdown',_0x59333d['bind']('isEnabled')['to'](_0x2ed5ec,'isEnabled'),_0x19e424['set']({'label':t('Footnotes\x20style'),'icon':_0x2968f4,'tooltip':!0x0}),_0x59333d['once']('change:isOpen',()=>{const _0x1d66eb=function({editor:_0x48e470,dropdownView:_0xe4c484}){const {t:t}=_0x48e470['locale'],_0x5a0f05=t('Footnotes\x20definitions\x20styles'),_0x5f52a7=function(_0x48eb6e){const {t:t}=_0x48eb6e['locale'],_0x368d7a=_0x48eb6e['config']['get']('footnotes.footnotesProperties.listStyles'),_0x2af4b9=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0xcf9b40},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x1ed7cb},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x10910d},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x56bbdb},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x1c230},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x285424},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0xf9e9b6}];return _0x368d7a['map'](_0x30c84d=>{const _0x3ef1ca=ct(_0x30c84d),_0x331f6e=_0x2af4b9['find'](_0x1fa1c3=>_0x1fa1c3['style']===_0x3ef1ca);return function(_0x1a6646,_0x22f139){const {locale:_0x15ee5e}=_0x1a6646,{label:_0x1908ca,icon:_0x28f97f,tooltip:_0x360faf,style:_0x1fbac4}=_0x22f139,_0x244abc=_0x1a6646['commands']['get']('footnotesStyle'),_0x2f1195=new _0x3dc254(_0x15ee5e);return _0x2f1195['set']({'label':_0x1908ca,'icon':_0x28f97f,'tooltip':_0x360faf}),_0x2f1195['bind']('isOn')['to'](_0x244abc,'value',_0x231bc5=>_0x231bc5===_0x1fbac4),_0x2f1195['bind']('isEnabled')['to'](_0x244abc,'isEnabled'),_0x2f1195['on']('execute',()=>{_0x1a6646['execute']('footnotesStyle',{'value':_0x1fbac4}),_0x1a6646['editing']['view']['focus']();}),_0x2f1195;}(_0x48eb6e,_0x331f6e);});}(_0x48e470),_0x2d153c=new dt(_0x48e470['locale'],{'styleGridAriaLabel':_0x5a0f05,'styleButtonViews':_0x5f52a7}),_0x52e2f0=_0x48e470['commands']['get']('footnotesStart');return _0x2d153c['startIndexFieldView']['bind']('isEnabled')['to'](_0x52e2f0),_0x2d153c['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x52e2f0),_0x2d153c['on']('footnotesListStart',(_0x13218c,_0x5afcb0)=>{_0x48e470['execute']('footnotesStart',{'value':_0x5afcb0['startIndex']});}),_0x2d153c['delegate']('execute')['to'](_0xe4c484),_0x2d153c;}({'editor':_0x5ea1fb,'dropdownView':_0x59333d});_0x59333d['panelView']['children']['add'](_0x1d66eb);}),_0x59333d;};}(_0xb3f81b));}['afterInit'](){const {editor:_0x19d8f6}=this,{t:t}=_0x19d8f6['locale'],_0xcabbe=_0x19d8f6['plugins']['get'](_0x47cf7f),{defaultPositions:_0xc5583}=_0x272e06;_0xcabbe['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x19d8f6['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5a0b0c=>{let _0x4979e3=_0x5a0b0c['getFirstPosition']()?.['parent'];return _0x4979e3?.['is']('$text')&&(_0x4979e3=_0x4979e3['parent']),_0x4979e3?.['is']('element')?_0x4979e3['findAncestor'](q):null;},'positions':[_0xc5583['southArrowNorth'],_0xc5583['southArrowNorthMiddleWest'],_0xc5583['southArrowNorthMiddleEast'],_0xc5583['southArrowNorthWest'],_0xc5583['southArrowNorthEast'],_0xc5583['northArrowSouth'],_0xc5583['northArrowSouthMiddleWest'],_0xc5583['northArrowSouthMiddleEast'],_0xc5583['northArrowSouthWest'],_0xc5583['northArrowSouthEast'],_0xc5583['viewportStickyNorth']]});}}class mt extends _0x5cfb3d{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[at,ht];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Z as Footnotes,J as FootnotesClipboard,$ as FootnotesEditing,mt as FootnotesProperties,at as FootnotesPropertiesEditing,ht as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,K as FootnotesTracker,W as FootnotesUI,V as InsertFootnoteCommand};
23
+ import{Plugin as _0xfd4902,Command as _0x32e6f3}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x27f1b7,isWidget as _0x3ab8fd,toWidgetEditable as _0x5dbe51,WidgetToolbarRepository as _0x3d7cc6}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x22c83a,logWarning as _0x1f92a9,FocusTracker as _0x45e46e,KeystrokeHandler as _0x56d72b,global as _0x128aa6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x58c1ce,ClickObserver as _0x36cc0a}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x431269}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x14e6d5,ButtonView as _0x22085f,View as _0x21c05f,ViewCollection as _0x3d649c,FocusCycler as _0x3c8954,addKeyboardHandlingForGrid as _0x1281f8,CollapsibleView as _0x113336,LabeledFieldView as _0x18bfd5,createLabeledInputNumber as _0x44369e,ContextualBalloon as _0x3fa1a5,BalloonPanelView as _0x42874d,createDropdown as _0x18b9b9}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x226158,IconListStyleDecimal as _0x5a9eb0,IconListStyleDecimalLeadingZero as _0x37266f,IconListStyleLowerRoman as _0x4551e6,IconListStyleUpperRoman as _0x244281,IconListStyleLowerLatin as _0x450ebe,IconListStyleUpperLatin as _0x52e12a,IconListStyleArabicIndic as _0x57cac5}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x508d20,_0x40c05b){this['_model']=_0x508d20,this['_elementName']=_0x40c05b['elementName'],this['_getElementKey']=_0x40c05b['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x374caf){const _0x2daa72=new Set(),_0x28f1c2=new Map();for(const _0x2aea11 of _0x374caf){if('insert'===_0x2aea11['type']&&'$text'!==_0x2aea11['name']&&_0x2aea11['position']['nodeAfter']){const _0x5a09c0=this['_model']['createRangeOn'](_0x2aea11['position']['nodeAfter']);for(const _0x21b62b of _0x5a09c0['getItems']()){if(!_0x21b62b['is']('element',this['_elementName']))continue;const _0x1e640e=this['_getElementKey'](_0x21b62b);_0x28f1c2['has'](_0x1e640e)||_0x28f1c2['set'](_0x1e640e,[]),_0x28f1c2['get'](_0x1e640e)['push'](_0x21b62b);}}if('remove'===_0x2aea11['type']&&_0x2aea11['name']===this['_elementName']){const _0x323dc7=this['_getElementKey']({'getAttribute':_0x21778b=>_0x2aea11['attributes']['get'](_0x21778b)});_0x2daa72['add'](_0x323dc7);}}for(const [_0x2a10f0,_0x700425]of this['_trackedElements'])'$graveyard'===_0x700425['root']['rootName']&&_0x2daa72['add'](_0x2a10f0);for(const _0x459c6f of _0x2daa72)this['_trackedElements']['delete'](_0x459c6f);for(const [_0x58bf3a,_0xcda897]of _0x28f1c2)this['_trackedElements']['set'](_0x58bf3a,_0xcda897[_0xcda897['length']-0x1]);const _0x29955d=new Set();for(const [_0x27326b,_0x59fe92]of _0x28f1c2)_0x2daa72['has'](_0x27326b)&&(_0x29955d['add'](_0x59fe92[0x0]),_0x59fe92['length']>0x1?_0x28f1c2['set'](_0x27326b,_0x59fe92['slice'](0x1)):_0x28f1c2['delete'](_0x27326b),_0x2daa72['delete'](_0x27326b));return{'removed':Array['from'](_0x2daa72),'inserted':Array['from'](_0x28f1c2['values']())['flat'](),'moved':Array['from'](_0x29955d)};}}class K extends _0xfd4902{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x30d2a5){super(_0x30d2a5),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x5a016a=>_0x5a016a['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x163223=>_0x163223['getAttribute']('footnoteId')});}['init'](){const {editor:_0x494b7}=this,{model:_0x4ce936,data:_0x387a52}=_0x494b7;_0x4ce936['document']['registerPostFixer'](_0x39fb6b=>{const _0x44b907=_0x4ce936['document']['differ']['getChanges']();let _0x3f2192=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x39fb6b,_0x44b907)&&(_0x3f2192=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x39fb6b,_0x44b907)&&(_0x3f2192=!0x0),this['_handleFootnoteReferencesChanges'](_0x39fb6b,_0x44b907)&&(_0x3f2192=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x39fb6b)&&(_0x3f2192=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x39fb6b)&&(_0x3f2192=!0x0),this['_sortFootnoteDefinitions'](_0x39fb6b)&&(_0x3f2192=!0x0),_0x3f2192;}),this['listenTo'](_0x4ce936['document'],'change:data',()=>{_0x4ce936['enqueueChange']({'isUndoable':!0x1},_0x542988=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x542988);});},{'priority':'low'}),this['listenTo'](_0x387a52,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0xa9107a){return this['_footnotes']['find'](_0x22c125=>_0x22c125['id']===_0xa9107a)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0xdaabd6){this['_footnoteFormatter']=_0xdaabd6;}['_updateFootnotesCounters'](_0x7ba9d5,_0x372603=0x0){let _0x56060d=!0x1;for(let _0x4d5480=_0x372603;_0x4d5480<this['_footnotes']['length'];_0x4d5480++)this['_updateFootnoteRefCounter'](_0x7ba9d5,_0x4d5480)&&(_0x56060d=!0x0);return _0x56060d;}['_insertEmptyFootnotesDefinitionsContainer'](_0xa5b0e7,_0x42db1b){const _0x1571d9=_0xa5b0e7['createElement']('footnotesDefinitions',{});return _0xa5b0e7['append'](_0x1571d9,_0x42db1b),this['_footnotesDefinitions']=_0x1571d9,_0x1571d9;}['_ensureFootnotesDefinitionsContainerExists'](_0x5b1bde){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2bb736=this['_footnotes'][0x0]['reference']['root'],_0x14cc3a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x5b1bde,_0x2bb736);for(const _0x181233 of this['_footnotes'])_0x181233['definition']['parent']||_0x5b1bde['insert'](_0x181233['definition'],_0x14cc3a,'end');this['_updateFootnotesCounters'](_0x5b1bde);}['_handleFootnotesDefinitionsObjectChanges'](_0x315ed7,_0x1cc8a8){let _0x186472=!0x1;const {inserted:_0x54c664,removed:_0x4509d8,moved:_0x487b70}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1cc8a8);if(_0x487b70['length']&&(this['_footnotesDefinitions']=_0x487b70[0x0]),_0x54c664['length']){if(_0x54c664['length']>0x1||this['_footnotesDefinitions']&&_0x54c664['some'](_0x38b953=>_0x38b953!==this['_footnotesDefinitions'])){const _0x4aa038=_0x315ed7['createElement']('footnotesDefinitions',{}),_0x41d800=[];this['_footnotesDefinitions']&&_0x41d800['push'](this['_footnotesDefinitions']),_0x41d800['push'](..._0x54c664),_0x315ed7['insert'](_0x4aa038,_0x41d800[0x0],'before');for(const _0x2a7f03 of _0x41d800)_0x315ed7['move'](_0x315ed7['createRangeIn'](_0x2a7f03),_0x315ed7['createPositionAt'](_0x4aa038,'end')),_0x315ed7['remove'](_0x2a7f03);this['_footnotesDefinitions']=_0x4aa038,this['_updateFootnotesCounters'](_0x315ed7),_0x186472=!0x0;}else this['_footnotesDefinitions']=_0x54c664[0x0];}if(_0x4509d8['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x3c033 of this['_footnotes'])_0x315ed7['remove'](_0x3c033['reference']),_0x186472=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x186472;}['_handleFootnoteDefinitionsChanges'](_0x3cec3,_0x401159){let _0xb2b7c8=!0x1;const _0x4bd9d1=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x23a455,moved:_0x108082}=this['_footnoteDefsTracker']['getChanges'](_0x401159);for(const _0x254666 of[..._0x108082,..._0x23a455]){const _0x5a999e=_0x254666['getAttribute']('footnoteId'),_0x42a5f4=this['getFootnote'](_0x5a999e);_0x42a5f4&&(_0x42a5f4['definition']=_0x254666),j(_0x3cec3,_0x4bd9d1,_0x254666)&&(_0xb2b7c8=!0x0);}return _0xb2b7c8;}['_handleFootnoteReferencesChanges'](_0x1775a9,_0x9f80fd){let _0x1ee157=!0x1;const {removed:_0x123710,inserted:_0x204538,moved:_0x34a6ae}=this['_footnoteRefsTracker']['getChanges'](_0x9f80fd);for(const _0x175640 of _0x123710)this['_handleRemoveFootnoteReferenceById'](_0x1775a9,_0x175640)&&(_0x1ee157=!0x0);for(const _0x3ef4d3 of _0x204538)this['_handleInsertedFootnoteReference'](_0x1775a9,_0x3ef4d3)&&(_0x1ee157=!0x0);for(const _0x3089ea of _0x34a6ae)this['_handleMovedFootnoteReference'](_0x1775a9,_0x3089ea)&&(_0x1ee157=!0x0);return _0x1ee157;}['_handleFootnotesDefinitionsObjectSync'](_0x3a8e19){if(!this['_footnotesDefinitions'])return!0x1;let _0x3fdd55=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x28a160=[];for(const _0xe8cccb of this['_footnotesDefinitions']['getChildren']()){const _0x1873b6=_0xe8cccb['getAttribute']('footnoteId');this['getFootnote'](_0x1873b6)||(_0x28a160['unshift'](_0xe8cccb),_0x3fdd55=!0x0);}for(const _0x153a5b of _0x28a160)_0x3a8e19['remove'](_0x153a5b);}const _0x41eeec=new Set(),_0x831a6e=[];for(const _0x2000ef of this['_footnotesDefinitions']['getChildren']()){const _0x1e6d47=_0x2000ef['getAttribute']('footnoteId');_0x41eeec['has'](_0x1e6d47)?(_0x831a6e['unshift'](_0x2000ef),_0x3fdd55=!0x0):_0x41eeec['add'](_0x1e6d47);}for(const _0x5122f3 of _0x831a6e)_0x3a8e19['remove'](_0x5122f3);return this['_footnotesDefinitions']['childCount']||(_0x3a8e19['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x3fdd55=!0x0),_0x3fdd55;}['_handleInsertedFootnoteReference'](_0x14bbf1,_0x282c96){if(this['_footnotes']['find'](_0x5f5989=>_0x5f5989['reference']===_0x282c96))return!0x1;let _0x49ecbe=!0x1;const _0x11c769=_0x282c96['getAttribute']('footnoteId'),_0x57369c=this['_footnotes']['findIndex'](_0x5d9ed3=>_0x5d9ed3['id']===_0x11c769);-0x1!==_0x57369c&&(_0x14bbf1['remove'](this['_footnotes'][_0x57369c]['reference']),this['_footnotes']['splice'](_0x57369c,0x1),_0x49ecbe=!0x0);let _0xa9120f=this['_footnotesDefinitions']?function(_0x2d57a7,_0x3c5b71){for(const _0x432a13 of _0x2d57a7['getChildren']())if(_0x432a13['getAttribute']('footnoteId')===_0x3c5b71)return _0x432a13;return null;}(this['_footnotesDefinitions'],_0x11c769):null;_0xa9120f||(_0xa9120f=_0x14bbf1['createElement']('footnoteDefinition',{'footnoteId':_0x11c769}),this['_footnotesDefinitions']&&(_0x14bbf1['insert'](_0xa9120f,this['_footnotesDefinitions'],'end'),_0x49ecbe=!0x0));const _0x3c8644={'id':_0x11c769,'reference':_0x282c96,'definition':_0xa9120f},_0x5db41a=T(this['editor']['model'],this['_footnotes'],_0x282c96);this['_footnotes']['splice'](_0x5db41a,0x0,_0x3c8644);let _0x513c12=_0x5db41a;return-0x1!==_0x57369c&&(_0x513c12=Math['min'](_0x5db41a,_0x57369c)),this['_updateFootnotesCounters'](_0x14bbf1,_0x513c12)&&(_0x49ecbe=!0x0),_0x49ecbe;}['_handleRemoveFootnoteReferenceById'](_0x55dea3,_0x4f9cff){const _0x488bf1=this['_footnotes']['findIndex'](_0x42daf4=>_0x42daf4['id']===_0x4f9cff);if(-0x1===_0x488bf1)return!0x1;let _0x81cc4a=!0x1;const _0x1a69af=this['_footnotes'][_0x488bf1];return'$graveyard'!==_0x1a69af['definition']['root']['rootName']&&(_0x55dea3['remove'](_0x1a69af['definition']),_0x81cc4a=!0x0),this['_footnotes']['splice'](_0x488bf1,0x1),this['_updateFootnotesCounters'](_0x55dea3,_0x488bf1)&&(_0x81cc4a=!0x0),_0x81cc4a;}['_handleMovedFootnoteReference'](_0x296447,_0x44fe83){const _0x545e80=_0x44fe83['getAttribute']('footnoteId'),_0x202525=this['_footnotes']['findIndex'](_0x46d6c5=>_0x46d6c5['id']===_0x545e80),_0x17ec76=this['_footnotes'][_0x202525];let _0x1fda73=!0x1;_0x17ec76['reference']=_0x44fe83,this['_footnotes']['splice'](_0x202525,0x1);const _0x337f3d=T(this['editor']['model'],this['_footnotes'],_0x44fe83);return this['_footnotes']['splice'](_0x337f3d,0x0,_0x17ec76),this['_updateFootnotesCounters'](_0x296447,Math['min'](_0x202525,_0x337f3d))&&(_0x1fda73=!0x0),_0x1fda73;}['_updateFootnoteRefCounter'](_0x2dd1ae,_0x299b50){if(!this['_footnotesDefinitions'])return!0x1;const _0x59280c=this['_footnotes'][_0x299b50];let _0x2230e8;return _0x2230e8=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x59280c,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x299b50+0x1}):String(_0x299b50+0x1),_0x59280c['reference']['getAttribute']('footnoteCounter')!=_0x2230e8&&(_0x2dd1ae['setAttribute']('footnoteCounter',_0x2230e8,_0x59280c['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5adcb3){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x12fa86,_0x21142e){if(_0x12fa86['length']!==_0x21142e['length'])return!0x1;for(let _0x3503cc=0x0;_0x3503cc<_0x12fa86['length'];_0x3503cc++)if(_0x12fa86[_0x3503cc]!==_0x21142e[_0x3503cc])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5bd298=>_0x5bd298['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x504849=>_0x504849['getAttribute']('footnoteId'))))return!0x1;let _0x2d20be=!0x1;for(let _0x4756b8=0x0;_0x4756b8<this['_footnotes']['length'];_0x4756b8++){const _0x284e00=this['_footnotes'][_0x4756b8],_0x385059=_0x5adcb3['createPositionBefore'](_0x284e00['definition']),_0x568d11=_0x5adcb3['createPositionAt'](this['_footnotesDefinitions'],_0x4756b8);_0x385059['isEqual'](_0x568d11)||(_0x5adcb3['move'](_0x5adcb3['createRangeOn'](_0x284e00['definition']),_0x568d11),_0x2d20be=!0x0);}return _0x2d20be;}['_ensureFootnotesReferencesHaveProperOrder'](_0x204391){if(!this['_footnotes']['length'])return!0x1;const {model:_0x59296b}=this['editor'];let _0x334ac0=!0x1;for(let _0x1c178c=0x0;_0x1c178c<this['_footnotes']['length']-0x1;_0x1c178c++){const _0x120b9a=this['_footnotes'][_0x1c178c],_0x4bebb3=this['_footnotes'][_0x1c178c+0x1],_0x2d826d=_0x59296b['createPositionBefore'](_0x120b9a['reference']),_0x2823c5=_0x59296b['createPositionBefore'](_0x4bebb3['reference']);'after'===_0x2d826d['compareWith'](_0x2823c5)&&(this['_handleMovedFootnoteReference'](_0x204391,_0x120b9a['reference']),_0x1c178c=-0x1,_0x334ac0=!0x0);}return _0x334ac0;}}function j(_0xbbcef5,_0x355e52,_0x3ccfe1){if(_0x3ccfe1['childCount'])return!0x1;const _0x24702c=_0x355e52?'paragraph':'footnoteInlineContent';return _0xbbcef5['insert'](_0xbbcef5['createElement'](_0x24702c),_0x3ccfe1),!0x0;}function T(_0x7a3c91,_0x308122,_0x5d61c0){if(0x0===_0x308122['length'])return 0x0;const _0xf51e60=_0x7a3c91['createPositionBefore'](_0x5d61c0);for(let _0x1f0b11=0x0;_0x1f0b11<_0x308122['length'];_0x1f0b11++){const _0x10a142=_0x308122[_0x1f0b11],_0x5c9937=_0x7a3c91['createPositionBefore'](_0x10a142['reference']);if('before'===_0xf51e60['compareWith'](_0x5c9937))return _0x1f0b11;}const _0x2ef0cf=_0x5d61c0['root'];let _0x3c3565=-0x1;for(let _0x4e8e09=_0x308122['length']-0x1;_0x4e8e09>=0x0;_0x4e8e09--)if(_0x308122[_0x4e8e09]['reference']['root']===_0x2ef0cf){_0x3c3565=_0x4e8e09;break;}if(-0x1!==_0x3c3565)return _0x3c3565+0x1;const _0x3095b7=_0x7a3c91['document']['getRootNames'](),_0x5559a7=_0x3095b7['indexOf'](_0x2ef0cf['rootName']),_0x9a8ed7=_0x3095b7[_0x5559a7+0x1];if(_0x9a8ed7){for(let _0x46c87e=0x0;_0x46c87e<_0x308122['length'];_0x46c87e++)if(_0x308122[_0x46c87e]['reference']['root']['rootName']===_0x9a8ed7)return _0x46c87e;}return _0x308122['length'];}class V extends _0x32e6f3{['refresh'](){const _0x485ed4=this['editor']['model']['document']['selection'],_0x2e4c99=this['_getPositionToInsertFootnote'](_0x485ed4);this['isEnabled']=!!_0x2e4c99;}['execute'](_0x4e4a50){const {editor:_0x269913}=this,{model:_0x4c0575}=_0x269913,{selection:_0x5f4824}=_0x4c0575['document'],_0x1c4366=this['_getPositionToInsertFootnote'](_0x5f4824);if(!_0x1c4366)return;const _0xde84d2=_0x269913['plugins']['get']('FootnotesEditing'),_0x430dea=_0x4e4a50?.['footnoteId']??_0x22c83a();!function(_0x184f34){return'string'==typeof _0x184f34&&_0x184f34['length']>0x0&&!/\s/['test'](_0x184f34)&&!/^\d/['test'](_0x184f34);}(_0x430dea)?_0x1f92a9('insert-footnote-command-executed-with-invalid-id'):(_0x4c0575['change'](_0xdcd295=>{const _0x4b185d=_0xdcd295['createElement']('footnoteRef',{'footnoteId':_0x430dea});_0x4c0575['insertObject'](_0x4b185d,_0x1c4366,null);}),_0xde84d2['_moveSelectionToFootnoteDefinition'](_0x430dea));}['_getPositionToInsertFootnote'](_0x55f6a2){const {model:_0x4ee7e2}=this['editor'],{schema:_0x4246d7}=_0x4ee7e2,_0x5c6649=_0x55f6a2['getFirstRange']();for(const _0x990c9e of _0x5c6649['getItems']())if(_0x4246d7['isBlock'](_0x990c9e)||_0x4246d7['isObject'](_0x990c9e))return null;const _0x34bbec=_0x5c6649['end'];return _0x4246d7['checkChild'](_0x34bbec,'footnoteRef')?_0x34bbec:null;}}class $ extends _0xfd4902{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2a49be}=this;_0x2a49be['config']['define']('footnotes.multiBlock',!0x0),_0x2a49be['commands']['add']('insertFootnote',new V(_0x2a49be)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xa4a7f2){const _0x1c4958=_0x20d3aa([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]),_0x56e93f=0x47a28506,_0x1fd940=0x47a50cde^_0x56e93f,_0xf55fa8=window[_0x20d3aa([0x44,0x61,0x74,0x65])][_0x20d3aa([0x6e,0x6f,0x77])](),_0x3b67d4=_0xa4a7f2[_0x20d3aa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b8321=new window[(_0x20d3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x332a51=>{_0x3b67d4[_0x20d3aa([0x6f,0x6e,0x63,0x65])](_0x20d3aa([0x72,0x65,0x61,0x64,0x79]),_0x332a51);}),_0x33b4d2={[_0x20d3aa([0x6b,0x74,0x79])]:_0x20d3aa([0x45,0x43]),[_0x20d3aa([0x75,0x73,0x65])]:_0x20d3aa([0x73,0x69,0x67]),[_0x20d3aa([0x63,0x72,0x76])]:_0x20d3aa([0x50,0x2d,0x32,0x35,0x36]),[_0x20d3aa([0x78])]:_0x20d3aa([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]),[_0x20d3aa([0x79])]:_0x20d3aa([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]),[_0x20d3aa([0x61,0x6c,0x67])]:_0x20d3aa([0x45,0x53,0x32,0x35,0x36])},_0x7acdaf=_0x3b67d4[_0x20d3aa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20d3aa([0x67,0x65,0x74])](_0x20d3aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2608f8(){let _0xbaa363,_0x5e9599=null,_0xf768b3=null;try{if(_0x7acdaf==_0x20d3aa([0x47,0x50,0x4c]))return _0x20d3aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xbaa363=_0x294b30(),!_0xbaa363)return _0x20d3aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xbaa363[_0x20d3aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf768b3=_0x26de2b(_0xbaa363[_0x20d3aa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xbaa363[_0x20d3aa([0x6a,0x74,0x69])])),await _0x446855()?_0x2d0f27()?_0x2c0c88()?_0x20d3aa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b644e()?(_0xbaa363[_0x20d3aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20d3aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e9599=_0xf72842(_0x20d3aa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ac564()):_0x20d3aa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20d3aa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20d3aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20d3aa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2c0c88(){const _0x20df22=[_0x20d3aa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20d3aa([0x74,0x72,0x69,0x61,0x6c])][_0x20d3aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbaa363[_0x20d3aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xf55fa8/0x3e8:0xe10*_0x1fd940;return _0xbaa363[_0x20d3aa([0x65,0x78,0x70])]<_0x20df22;}function _0x2d0f27(){const _0x599b17=_0xbaa363[_0x20d3aa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x599b17&&(!!_0x599b17[_0x20d3aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20d3aa([0x2a]))||!!_0x599b17[_0x20d3aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20d3aa([0x46,0x4f,0x4f])));}function _0x3b644e(){const _0x178c55=_0xbaa363[_0x20d3aa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x178c55||0x0==_0x178c55[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x681bbc}=new URL(window[_0x20d3aa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x178c55[_0x20d3aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x681bbc))return!0x0;const _0x31c586=_0x681bbc[_0x20d3aa([0x73,0x70,0x6c,0x69,0x74])](_0x20d3aa([0x2e]));return _0x178c55[_0x20d3aa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26f949=>_0x26f949[_0x20d3aa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20d3aa([0x2a])))[_0x20d3aa([0x6d,0x61,0x70])](_0x3d82c4=>_0x3d82c4[_0x20d3aa([0x73,0x70,0x6c,0x69,0x74])](_0x20d3aa([0x2e])))[_0x20d3aa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bef06=>_0x2bef06[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x31c586[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20d3aa([0x6d,0x61,0x70])](_0x5ba0e6=>Array(_0x31c586[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ba0e6[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20d3aa([0x66,0x69,0x6c,0x6c])](_0x5ba0e6[0x0]===_0x20d3aa([0x2a])?_0x20d3aa([0x2a]):'')[_0x20d3aa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ba0e6))[_0x20d3aa([0x73,0x6f,0x6d,0x65])](_0x42b95b=>_0x31c586[_0x20d3aa([0x65,0x76,0x65,0x72,0x79])]((_0x1ce8c1,_0x117e2a)=>_0x42b95b[_0x117e2a]===_0x1ce8c1||_0x42b95b[_0x117e2a]===_0x20d3aa([0x2a])));}function _0x1ac564(){return _0x5e9599&&_0xf768b3?new window[(_0x20d3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x153a16,_0x13a490)=>{_0x5e9599[_0x20d3aa([0x74,0x68,0x65,0x6e])](_0x153a16,_0x13a490),_0xf768b3[_0x20d3aa([0x74,0x68,0x65,0x6e])](_0x4df61a=>{_0x4df61a!=_0x20d3aa([0x56,0x61,0x6c,0x69,0x64])&&_0x153a16(_0x4df61a);},_0x13a490);}):_0x5e9599||_0xf768b3||_0x20d3aa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x26de2b(_0x4090a8,_0x1276a6){return new window[(_0x20d3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28bc31=>{if(_0x2b39ba())return _0x28bc31(_0x20d3aa([0x56,0x61,0x6c,0x69,0x64]));_0x1854fb(),_0x3b67d4[_0x20d3aa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20d3aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2395ba=!0x1;const _0x1bfde1=_0x22c83a();function _0x1e6c19(_0x183bd2){return!!_0x183bd2&&(typeof _0x183bd2===_0x20d3aa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x183bd2===_0x20d3aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x183bd2[_0x20d3aa([0x74,0x68,0x65,0x6e])]===_0x20d3aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x183bd2[_0x20d3aa([0x63,0x61,0x74,0x63,0x68])]===_0x20d3aa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41353b(_0x45674a){_0x1c3533(_0x45674a)[_0x20d3aa([0x74,0x68,0x65,0x6e])](_0xceb527=>{if(!_0xceb527||_0xceb527[_0x20d3aa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20d3aa([0x6f,0x6b]))return _0x20d3aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x25cbe1(_0x373348(_0x1bfde1+_0x1276a6))!=_0xceb527[_0x20d3aa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20d3aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20d3aa([0x56,0x61,0x6c,0x69,0x64]);})[_0x20d3aa([0x74,0x68,0x65,0x6e])](_0x41a578=>(_0x459956(),_0x41a578),()=>{const _0x3931bf=_0x33ce41();return null==_0x3931bf?(_0x459956(),_0x20d3aa([0x56,0x61,0x6c,0x69,0x64])):_0x20d3aa(_0xf55fa8-_0x3931bf>(0x63ae0106^_0x56e93f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20d3aa([0x74,0x68,0x65,0x6e])](_0x28bc31)[_0x20d3aa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x28bc31(_0x20d3aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a6adb=0x47946b86^_0x56e93f;function _0x459956(){const _0x122fd6=_0x20d3aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x25cbe1(_0x373348(_0x4090a8)),_0x39f375=_0x876a8f(_0x25cbe1(window[_0x20d3aa([0x4d,0x61,0x74,0x68])][_0x20d3aa([0x63,0x65,0x69,0x6c])](_0xf55fa8/_0x1a6adb)));window[_0x20d3aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20d3aa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x122fd6,_0x39f375);}function _0x33ce41(){const _0x1c0123=_0x20d3aa([0x6c,0x6c,0x63,0x74,0x2d])+_0x25cbe1(_0x373348(_0x4090a8)),_0x185bb0=window[_0x20d3aa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20d3aa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c0123);return _0x185bb0?window[_0x20d3aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x876a8f(_0x185bb0),0x10)*_0x1a6adb:null;}function _0x1c3533(_0x4ff3f4){return new window[(_0x20d3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x356ef1,_0x1f1c14)=>{_0x4ff3f4[_0x20d3aa([0x74,0x68,0x65,0x6e])](_0x356ef1,_0x1f1c14),window[_0x20d3aa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1f1c14,0x47a351c6^_0x56e93f);});}}_0x3b67d4[_0x20d3aa([0x6f,0x6e])](_0x20d3aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4cb47c,_0x3480a9)=>{if(_0x3480a9[0x0]!=_0x4090a8)return _0x28bc31(_0x20d3aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3480a9[0x1]={..._0x3480a9[0x1],[_0x20d3aa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1bfde1};},{[_0x20d3aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20d3aa([0x68,0x69,0x67,0x68])}),_0x3b67d4[_0x20d3aa([0x6f,0x6e])](_0x20d3aa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3ffa59=>{_0x1e6c19(_0x3ffa59[_0x20d3aa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2395ba=!0x0,_0x41353b(_0x3ffa59[_0x20d3aa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20d3aa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20d3aa([0x6c,0x6f,0x77])}),_0x2b8321[_0x20d3aa([0x74,0x68,0x65,0x6e])](()=>{_0x2395ba||_0x28bc31(_0x20d3aa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b39ba(){return _0x3b67d4[_0x20d3aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20d3aa([0x76,0x69,0x65,0x77])][_0x20d3aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20d3aa([0x61,0x75,0x74,0x6f]);}function _0x1854fb(){_0x3b67d4[_0x20d3aa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20d3aa([0x76,0x69,0x65,0x77])][_0x20d3aa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20d3aa([0x61,0x75,0x74,0x6f]);}}function _0xf72842(_0xb8c966){const _0x1b2401=[new window[(_0x20d3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c0ef2=>setTimeout(_0x1c0ef2,0x47abbbca^_0x56e93f)),_0x2b8321[_0x20d3aa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20d3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x230570=>{let _0x27a184=0x0;_0x3b67d4[_0x20d3aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x20d3aa([0x6f,0x6e])](_0x20d3aa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54bad0,_0x28a5f6)=>{_0x28a5f6[0x0][_0x20d3aa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27a184++,_0x27a184==(0x47a280ee^_0x56e93f)&&(_0x230570(),_0x54bad0[_0x20d3aa([0x6f,0x66,0x66])]());});}))];return window[_0x20d3aa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20d3aa([0x72,0x61,0x63,0x65])](_0x1b2401)[_0x20d3aa([0x74,0x68,0x65,0x6e])](()=>_0xb8c966);}async function _0x1c3677(){await _0x2b8321,_0x3b67d4[_0x20d3aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x20d3aa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xccc78d,_0x3b67d4[_0x20d3aa([0x6d,0x6f,0x64,0x65,0x6c])][_0x20d3aa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xccc78d,_0x3b67d4[_0x20d3aa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20d3aa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x469246(_0x631460){const _0x537708=_0x1aea75();_0x3b67d4[_0x537708]=_0x20d3aa([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x631460,_0x631460!=_0x20d3aa([0x56,0x61,0x6c,0x69,0x64])&&_0x1c3677();}function _0x1aea75(){const _0xf62419=window[_0x20d3aa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20d3aa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20d3aa([0x6e,0x6f,0x77])]())[_0x20d3aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20d3aa([0x2e]),'');let _0x5df791=_0x20d3aa([0x75]);for(let _0x1dac22=0x0;_0x1dac22<_0xf62419[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1dac22+=0x2){let _0x417f6b=window[_0x20d3aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf62419[_0x20d3aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1dac22,_0x1dac22+0x2));_0x417f6b>=_0x1c4958[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x417f6b-=_0x1c4958[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5df791+=_0x1c4958[_0x417f6b];}return _0x5df791;}function _0x294b30(){const _0x3762ab=_0x7acdaf[_0x20d3aa([0x73,0x70,0x6c,0x69,0x74])](_0x20d3aa([0x2e]));if(0x3!=_0x3762ab[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4e7771(_0x3762ab[0x1]);function _0x4e7771(_0x56274a){const _0x32847b=_0x5e3112(_0x56274a);return _0x32847b&&_0x36f20e()?_0x32847b:null;function _0x36f20e(){const _0x2bf3ee=_0x32847b[_0x20d3aa([0x6a,0x74,0x69])],_0x5094a2=window[_0x20d3aa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2bf3ee[_0x20d3aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2bf3ee[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x41245b={..._0x32847b,[_0x20d3aa([0x6a,0x74,0x69])]:_0x2bf3ee[_0x20d3aa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2bf3ee[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x41245b[_0x20d3aa([0x76,0x63])],_0x373348(_0x41245b)==_0x5094a2;}}}async function _0x446855(){let _0x48bb0d=!0x0;try{const _0x33a64d=_0x7acdaf[_0x20d3aa([0x73,0x70,0x6c,0x69,0x74])](_0x20d3aa([0x2e])),[_0x2fe030,_0x3fd529,_0x32fb99]=_0x33a64d;return _0x424c49(_0x2fe030),await _0x222079(_0x2fe030,_0x3fd529,_0x32fb99),_0x48bb0d;}catch{return!0x1;}function _0x424c49(_0x4dc98b){const _0x5011e4=_0x5e3112(_0x4dc98b);_0x5011e4&&_0x5011e4[_0x20d3aa([0x61,0x6c,0x67])]==_0x20d3aa([0x45,0x53,0x32,0x35,0x36])||(_0x48bb0d=!0x1);}async function _0x222079(_0xa8682f,_0x19a579,_0x289224){const _0x4167f9=window[_0x20d3aa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20d3aa([0x66,0x72,0x6f,0x6d])](_0x26e685(_0x289224),_0x13854c=>_0x13854c[_0x20d3aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x54bc2f=new window[(_0x20d3aa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20d3aa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xa8682f+_0x20d3aa([0x2e])+_0x19a579),_0x423d63=window[_0x20d3aa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20d3aa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x423d63)return;const _0x350a18=await _0x423d63[_0x20d3aa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20d3aa([0x6a,0x77,0x6b]),_0x33b4d2,{[_0x20d3aa([0x6e,0x61,0x6d,0x65])]:_0x20d3aa([0x45,0x43,0x44,0x53,0x41]),[_0x20d3aa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20d3aa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20d3aa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x423d63[_0x20d3aa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20d3aa([0x6e,0x61,0x6d,0x65])]:_0x20d3aa([0x45,0x43,0x44,0x53,0x41]),[_0x20d3aa([0x68,0x61,0x73,0x68])]:{[_0x20d3aa([0x6e,0x61,0x6d,0x65])]:_0x20d3aa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x350a18,_0x4167f9,_0x54bc2f)||(_0x48bb0d=!0x1);}}function _0x5e3112(_0x6b907f){return _0x6b907f[_0x20d3aa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20d3aa([0x65,0x79]))?JSON[_0x20d3aa([0x70,0x61,0x72,0x73,0x65])](_0x26e685(_0x6b907f)):null;}function _0x26e685(_0x4020d4){return window[_0x20d3aa([0x61,0x74,0x6f,0x62])](_0x4020d4[_0x20d3aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20d3aa([0x2b]))[_0x20d3aa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20d3aa([0x2f])));}function _0x373348(_0x2ac4d5){let _0x416af2=0x1505;function _0x4e1e0a(_0x505b85){for(let _0x3ac944=0x0;_0x3ac944<_0x505b85[_0x20d3aa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ac944++){const _0xc6af9b=_0x505b85[_0x20d3aa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ac944);_0x416af2=(_0x416af2<<0x5)+_0x416af2+_0xc6af9b,_0x416af2&=_0x416af2;}}function _0x36a85b(_0x2aff24){Array[_0x20d3aa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2aff24)?_0x2aff24[_0x20d3aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36a85b):_0x2aff24&&typeof _0x2aff24==_0x20d3aa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20d3aa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2aff24)[_0x20d3aa([0x73,0x6f,0x72,0x74])]()[_0x20d3aa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4854c2,_0xcb976b])=>{_0x4e1e0a(_0x4854c2),_0x36a85b(_0xcb976b);}):_0x4e1e0a(window[_0x20d3aa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2aff24));}return _0x36a85b(_0x2ac4d5),_0x416af2>>>0x0;}function _0x25cbe1(_0xbecdfc){return _0xbecdfc[_0x20d3aa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20d3aa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20d3aa([0x30]));}function _0x876a8f(_0x5257e6){return _0x5257e6[_0x20d3aa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20d3aa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20d3aa([0x6a,0x6f,0x69,0x6e])]('');}function _0xccc78d(){}function _0x20d3aa(_0x79766){return _0x79766['map'](_0x342fb7=>String['fromCharCode'](_0x342fb7))['join']('');}_0x469246(await _0x2608f8());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5f5a49){const {plugins:_0x4e496e,editing:_0x28487b,model:_0x19483a}=this['editor'],_0x4464ad=_0x4e496e['get'](K)['getFootnote'](_0x5f5a49);return!!_0x4464ad&&(_0x19483a['change'](_0x547ebd=>{_0x547ebd['setSelection'](_0x547ebd['createPositionAt'](_0x4464ad['definition'],'end'));}),_0x28487b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x10b902){const {plugins:_0x66c74c,editing:_0x5b3e94,model:_0x38dddc}=this['editor'],_0x99e7b7=_0x66c74c['get'](K)['getFootnote'](_0x10b902);return!!_0x99e7b7&&(_0x38dddc['change'](_0x275da0=>{_0x275da0['setSelection'](_0x99e7b7['reference'],'on');}),_0x5b3e94['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5599c2}=this['editor']['model'],_0x3dfbdf=this['editor']['config']['get']('footnotes.multiBlock');_0x5599c2['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5599c2['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5599c2['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3dfbdf?_0x5599c2['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5599c2['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5599c2['addChildCheck'](_0x466d05=>{for(const _0x497a00 of _0x466d05)if('footnoteDefinition'===_0x497a00['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xd5aaa1}=this,{conversion:_0x3e4ee5,editing:_0x2f25bc}=_0xd5aaa1,{t:t}=_0xd5aaa1['locale'];_0x3e4ee5['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2cc5ae,{writer:_0x22b466,consumable:_0x1031ce})=>{const _0x45a7bc=_0x2cc5ae['getChild'](0x0);if(!_0x45a7bc||!_0x45a7bc['is']('element','a'))return null;const _0x357843=_0x45a7bc['getAttribute']('href')||'';if(!_0x357843['startsWith']('#'))return null;const _0xbe50d2=_0x357843['replace'](/^#/,'');if(!_0xbe50d2)return null;_0x1031ce['consume'](_0x45a7bc,{'name':!0x0,'attributes':['href']});for(const {item:_0x1e588e}of _0x2f25bc['view']['createRangeIn'](_0x45a7bc))_0x1e588e['is']('$textProxy')?_0x1031ce['consume'](_0x1e588e['textNode'],{'name':!0x0}):_0x1e588e['is']('element')&&_0x1031ce['consume'](_0x1e588e,{'name':!0x0});return _0x22b466['createElement']('footnoteRef',{'footnoteId':_0xbe50d2});}}),_0x3e4ee5['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x50cea2,{writer:_0x363101})=>z(_0x50cea2,_0x363101)}),_0x3e4ee5['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5d1c14,{writer:_0x373e58})=>{const _0x8694e4=_0x5d1c14['getAttribute']('footnoteCounter');return _0x27f1b7(z(_0x5d1c14,_0x373e58),_0x373e58,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x8694e4)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4687a7}=this,{t:t}=_0x4687a7['locale'],{conversion:_0x288543}=_0x4687a7;_0x288543['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x288543['for']('upcast')['add'](_0x4adc39=>{_0x4adc39['on']('element:ol',(_0x1bcbd2,_0x49a938,_0x218551)=>{const _0x2073a6=_0x49a938['viewItem'];if(!_0x2073a6['hasClass']('footnotes-list')||!_0x49a938['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x218551['consumable']['consume'](_0x2073a6,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x35bb1d,modelCursor:_0x46edc1}=_0x218551['convertChildren'](_0x49a938['viewItem'],_0x49a938['modelCursor']);_0x49a938['modelRange']=_0x35bb1d,_0x49a938['modelCursor']=_0x46edc1;}),_0x4adc39['on']('element:hr',(_0xf1c8f2,_0x4baea1,_0x3572b8)=>{const _0x11274a=_0x4baea1['viewItem'];_0x11274a['hasClass']('footnotes-divider')&&_0x4baea1['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3572b8['consumable']['consume'](_0x11274a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x288543['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3c61ba,{writer:_0x41e244})=>H(_0x41e244)}),_0x288543['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x7963e5,{writer:_0x3709bf})=>{const _0x17d966=H(_0x3709bf,{'data-footnotes-list-label':t('Footnotes')}),_0x4ea374=_0x27f1b7(_0x17d966,_0x3709bf,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3709bf['setCustomProperty']('footnotesDefinitions',!0x0,_0x4ea374),_0x4ea374;}});}['_defineDefinitionConverters'](){const {editor:_0x31b802}=this,{conversion:_0x40543e,locale:_0x7232da}=_0x31b802,_0x430dd3=_0x31b802['config']['get']('footnotes.multiBlock');_0x40543e['for']('upcast')['add'](_0x1d617c=>{_0x1d617c['on']('element:li',(_0x3795c7,_0x2a3bee,_0x19517b)=>{const _0x364864=_0x2a3bee['viewItem'];if(!_0x364864['hasClass']('footnote-definition')||!_0x364864['getAttribute']('id'))return;const _0x8891b6=_0x364864['parent'];if(!_0x8891b6['is']('element','ol')||!_0x8891b6['hasClass']('footnotes-list'))return;if(!_0x19517b['consumable']['test'](_0x364864,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x27d3ba=_0x19517b['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x364864['getAttribute']('id')});if(!_0x19517b['safeInsert'](_0x27d3ba,_0x2a3bee['modelCursor']))return;_0x19517b['consumable']['consume'](_0x364864,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x22c776=Array['from'](_0x364864['getChildren']())['find'](_0xc4cd76=>_0xc4cd76['is']('element')&&_0xc4cd76['hasClass']('footnote-content'));for(const _0x191072 of _0x364864['getChildren']())_0x191072['is']('element')&&(_0x19517b['consumable']['consume'](_0x191072,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x19517b['consumable']['consume'](_0x191072,{'name':!0x0,'classes':'footnote-content'}));if(_0x22c776){if(_0x430dd3)_0x19517b['convertChildren'](_0x22c776,_0x27d3ba);else{const _0x2cc073=_0x19517b['writer']['createElement']('footnoteInlineContent');_0x19517b['writer']['insert'](_0x2cc073,_0x27d3ba),_0x19517b['convertChildren'](_0x22c776,_0x2cc073);}}_0x19517b['updateConversionResult'](_0x27d3ba,_0x2a3bee);});}),_0x40543e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5580ce,{writer:_0x3121db})=>X(_0x5580ce,_0x3121db,_0x7232da,{'dataPipeline':!0x0})}),_0x40543e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x152f8c,{writer:_0x3a900f})=>X(_0x152f8c,_0x3a900f,_0x7232da)});}['_defineBogusParagraphConverters'](){const {editor:_0x579578}=this,{conversion:_0x39c1ce}=_0x579578;_0x579578['config']['get']('footnotes.multiBlock')?(_0x39c1ce['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0x39c1ce['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x579578['model']['document'],'change:data',()=>{!function(_0x274a60,_0x1432cc){const _0x4ac35c=_0x274a60['document']['differ'],_0xb3a00d=new Set();for(const _0x408abf of _0x4ac35c['getChanges']()){const _0x32a436='attribute'==_0x408abf['type']?_0x408abf['range']['start']['parent']:_0x408abf['position']['parent'];_0x32a436['is']('element','footnoteDefinition')&&_0xb3a00d['add'](_0x32a436);}for(const _0xc3abf3 of _0xb3a00d['values']()){const _0x5d7dfe=Array['from'](_0xc3abf3['getChildren']())['filter'](_0x4127d0=>U(_0x4127d0,_0x1432cc['mapper']));for(const _0x51d1bf of _0x5d7dfe)_0x1432cc['reconvertItem'](_0x51d1bf);}}(_0x579578['model'],_0x579578['editing']);})):(_0x39c1ce['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0x39c1ce['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x272053,{writer:_0x9efd9f})=>{const _0x986269=_0x9efd9f['createContainerElement']('span');return _0x9efd9f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x986269),_0x986269;}}));}['_defineKeyboardHandlers'](){const {editor:_0x322d25}=this,{editing:_0x45e11c,t:t}=_0x322d25,_0x5c8197=_0x322d25['model']['document']['selection'];_0x322d25['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x322d25['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x45e11c['view']['document'],'enter',(_0x3bb68b,_0x1f4ce9)=>{const _0x2291e3=function(_0x29d79b){const _0x5e1fc8=_0x29d79b['getSelectedElement']();if(_0x5e1fc8?.['is']('element','footnoteRef'))return _0x5e1fc8;return null;}(_0x5c8197);if(_0x2291e3){const _0x1a306b=_0x2291e3['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1a306b),_0x1f4ce9['preventDefault'](),_0x3bb68b['stop']();}},{'context':_0x3ab8fd});}['_defineClickHandlers'](){const {editor:_0x16fc02}=this,{editing:_0x2e9b52}=_0x16fc02;_0x16fc02['editing']['view']['addObserver'](_0x58c1ce),_0x16fc02['editing']['view']['addObserver'](_0x36cc0a);let _0x1b2b18=!0x1;this['listenTo'](_0x2e9b52['view']['document'],'pointerdown',(_0x1b8d0,_0x516798)=>{const {target:_0x11ad2b}=_0x516798,_0x4e19ee=_0x2e9b52['view']['document']['selection'];_0x1b2b18=!!(_0x11ad2b?.['is']('element','a')&&_0x11ad2b['parent']?.['is']('element','sup')&&_0x11ad2b['parent']['hasClass']('footnote'))&&_0x4e19ee['getSelectedElement']()===_0x11ad2b['parent'];},{'priority':'high'}),this['listenTo'](_0x2e9b52['view']['document'],'click',(_0x53b693,_0x372ecb)=>{const {target:_0x3d63d7}=_0x372ecb;if(!_0x3d63d7?.['is']('element','a'))return;if(_0x3d63d7['parent']?.['is']('element','sup')&&_0x3d63d7['parent']['hasClass']('footnote')&&!_0x1b2b18)return void _0x372ecb['preventDefault']();let _0x4b7393=_0x3d63d7['getAttribute']('href');if(!_0x4b7393?.['startsWith']('#'))return;_0x4b7393=_0x4b7393['slice'](0x1);let _0x2eeffb=!0x1;(_0x4b7393['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4b7393['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4b7393))&&(_0x2eeffb=!0x0),_0x2eeffb&&(_0x372ecb['preventDefault'](),_0x53b693['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x3bcb4b}={}){return(_0xa0fa01,{writer:_0x16c18d})=>{if(!M(_0xa0fa01))return null;if(!_0x3bcb4b)return _0x16c18d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x211331=_0x16c18d['createContainerElement']('p');return _0x16c18d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x211331),_0x211331;};}function M(_0x130094){const {parent:_0x5f327a}=_0x130094;if(!_0x5f327a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5f327a['childCount'])return!0x1;for(const _0x25ae6d of _0x130094['getAttributeKeys']())if(!_0x25ae6d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x25ae6d)return!0x1;return!0x0;}function U(_0x579ca5,_0x5374a2){if(!_0x579ca5['is']('element','paragraph'))return!0x1;const _0x4d85e7=_0x5374a2['toViewElement'](_0x579ca5);return!!_0x4d85e7&&M(_0x579ca5)!==_0x4d85e7['is']('element','span');}function q(_0x34a918){return _0x3ab8fd(_0x34a918)&&_0x34a918['is']('containerElement')&&!!_0x34a918['getCustomProperty']('footnotesDefinitions');}function H(_0x3b9171,_0x552f78={}){const _0x58eee3=_0x3b9171['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1f265c=_0x3b9171['createContainerElement']('ol',{'class':'footnotes-list'},_0x3b9171['createSlot']());return _0x3b9171['createContainerElement']('div',{'class':'footnotes',..._0x552f78},[_0x58eee3,_0x1f265c]);}function z(_0x19b3e6,_0x1e6ff0){const _0x4e35a9=_0x19b3e6['getAttribute']('footnoteId'),_0x31994b=_0x19b3e6['getAttribute']('footnoteCounter'),_0x3894e4=_0x1e6ff0['createUIElement']('a',{'href':'#'+_0x4e35a9},function(_0x26ab84){const _0x15592a=this['toDomElement'](_0x26ab84);return _0x15592a['textContent']=_0x31994b,_0x15592a;}),_0x51684f=_0x1e6ff0['createContainerElement']('sup',{'id':'ref-'+_0x4e35a9,'class':'footnote'},[_0x3894e4]);return _0x51684f['getFillerOffset']=()=>null,_0x51684f;}function X(_0x2fa967,_0x5ac3b7,_0x4f4b03,{dataPipeline:_0x53880c}={}){const {t:t}=_0x4f4b03,_0x5b1b3b=_0x2fa967['getAttribute']('footnoteId'),_0x291186=_0x5ac3b7['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5b1b3b},function(_0x1ec06b){const _0xa44dd4=this['toDomElement'](_0x1ec06b);return _0xa44dd4['innerText']='^',_0xa44dd4;}),_0x4a768f=_0x53880c?_0x5ac3b7['createContainerElement']('div',{'class':'footnote-content'}):_0x5dbe51(_0x5ac3b7['createEditableElement']('div',{'class':'footnote-content'}),_0x5ac3b7,{'label':t('Footnote\x20content.')});return _0x5ac3b7['insert'](_0x5ac3b7['createPositionAt'](_0x4a768f,0x0),_0x5ac3b7['createSlot']()),_0x5ac3b7['createContainerElement']('li',{'class':'footnote-definition','id':_0x5b1b3b},[_0x291186,_0x4a768f]);}class J extends _0xfd4902{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x431269];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x4edd7e}=this,{plugins:_0x435f35,model:_0x3b6d32}=_0x4edd7e,_0x1746ef=_0x435f35['get'](_0x431269),_0x2ae31d=_0x435f35['get'](K);this['listenTo'](_0x1746ef,'outputTransformation',(_0x2053cf,_0x38560c)=>{const _0x1d7298=Q(_0x3b6d32['createRangeIn'](_0x38560c['content']));if(!_0x1d7298['length'])return;const _0x17d8fd=_0x2ae31d['getFootnotes'](),_0x1d9cae=_0x1d7298['reduce']((_0x4e995e,_0x27d2ce)=>{const _0x28e1ab=_0x17d8fd['find'](_0xf85202=>_0xf85202['id']===_0x27d2ce);if(_0x28e1ab){const _0x1da005=_0x4edd7e['data']['toView'](_0x28e1ab['definition'],{'isClipboardPipeline':!0x0}),_0x30cf24=_0x4edd7e['data']['htmlProcessor']['toData'](_0x1da005);_0x4e995e[_0x28e1ab['id']]=_0x30cf24;}return _0x4e995e;},Object['create'](null));_0x38560c['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1d9cae));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x32d823}=this,{model:_0x475a99,plugins:_0x5df054}=_0x32d823,{view:_0x220497}=_0x32d823['editing'],_0x994099=_0x5df054['get'](_0x431269),_0x1c7e20=_0x5df054['get'](K),_0x351d85=_0x32d823['config']['get']('footnotes.multiBlock');let _0x3204aa=null;this['listenTo'](_0x220497['document'],'clipboardInput',(_0x3323fa,_0x250f2e)=>{const _0x5cf5a9=_0x250f2e['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3204aa=_0x5cf5a9?JSON['parse'](_0x5cf5a9):null;}),this['listenTo'](_0x994099,'contentInsertion',(_0x2e59a1,_0x1e6202)=>{const _0x1433e3=_0x1e6202['sourceEditorId']===this['editor']['id'];_0x1433e3&&'drop'===_0x1e6202['method']||_0x475a99['change'](_0x480b08=>{let _0x212742=_0x1c7e20['getFootnotesDefinitionsObjectElement']();const _0x26f0fd=!!_0x212742&&Array['from'](_0x475a99['document']['selection']['getSelectedBlocks']())['includes'](_0x212742);if(!_0x3204aa&&function(_0x816d73){for(const {item:_0x159957}of _0x816d73)if(_0x159957['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x475a99['createRangeIn'](_0x1e6202['content']))&&(_0x3204aa=function(_0x25c037,_0x947c92){const _0x43cc89=G(_0x25c037,_0x947c92);if(!_0x43cc89)return null;const _0x2f5dc9=Object['create'](null);for(const _0x511ada of _0x43cc89['getChildren']())_0x511ada['is']('element','footnoteDefinition')&&_0x511ada['hasAttribute']('footnoteId')&&(_0x2f5dc9[_0x511ada['getAttribute']('footnoteId')]=_0x25c037['cloneElement'](_0x511ada,!0x0));return Object['keys'](_0x2f5dc9)['length']?_0x2f5dc9:null;}(_0x480b08,_0x1e6202['content'])),(_0x212742&&!_0x26f0fd||!_0x212742&&!_0x3204aa)&&function(_0x4fb02a,_0x3d48dc){const _0x488636=[];for(const {item:_0x4526aa}of _0x4fb02a['createRangeIn'](_0x3d48dc))_0x4526aa['is']('element','footnotesDefinitions')&&_0x488636['push'](_0x4526aa);for(const _0x24b6b2 of _0x488636)_0x4fb02a['remove'](_0x24b6b2);}(_0x480b08,_0x1e6202['content']),!_0x3204aa)return;const {selection:_0x18fbb0}=_0x475a99['document'],_0xc560f3=_0x18fbb0['getFirstRange']()['root'];_0x212742&&!_0x26f0fd||(_0x212742=G(_0x480b08,_0x1e6202['content']),_0x212742||=_0x1c7e20['_insertEmptyFootnotesDefinitionsContainer'](_0x480b08,_0xc560f3));const _0x2546e5=Array['from'](_0x18fbb0['getRanges']())['flatMap'](Q),_0x190ccb=function(_0x3bdf94,_0xdacf6,_0x4cc452){const _0x4d55d5=Object['create'](null);for(const {item:_0x3f94dc}of _0x3bdf94['createRangeIn'](_0xdacf6))if(_0x3f94dc['is']('element','footnoteRef')){const _0x19336f=_0x3f94dc['getAttribute']('footnoteId');if(!_0x4cc452(_0x19336f))continue;_0x4d55d5[_0x19336f]||(_0x4d55d5[_0x19336f]=_0x22c83a()),_0x3bdf94['setAttribute']('footnoteId',_0x4d55d5[_0x19336f],_0x3f94dc);}return _0x4d55d5;}(_0x480b08,_0x1e6202['content'],_0xc70c81=>{if(!_0x1433e3)return!0x0;return!!_0x1c7e20['getFootnote'](_0xc70c81)&&!_0x2546e5['includes'](_0xc70c81);});for(const [_0x4a1acc,_0x401173]of Object['entries'](_0x3204aa)){const _0x51ae10=_0x190ccb[_0x4a1acc]||_0x4a1acc;let _0x3bba11;if('string'!=typeof _0x401173)_0x3bba11=_0x401173,_0x51ae10!==_0x4a1acc&&_0x480b08['setAttribute']('footnoteId',_0x51ae10,_0x3bba11);else{_0x3bba11=_0x480b08['createElement']('footnoteDefinition',{'footnoteId':_0x51ae10});const _0x11aa56=_0x32d823['data']['htmlProcessor']['toView'](_0x401173);let _0x267cdb;if(_0x351d85)_0x267cdb=_0x32d823['data']['toModel'](_0x11aa56,_0x3bba11);else{_0x267cdb=_0x480b08['createElement']('footnoteInlineContent');const _0x581f04=_0x32d823['data']['toModel'](_0x11aa56,_0x267cdb);_0x480b08['insert'](_0x581f04,_0x267cdb);}_0x480b08['append'](_0x267cdb,_0x3bba11);}_0x480b08['insert'](_0x3bba11,_0x212742,'end');}_0x3204aa=null;});});}}function G(_0x2be545,_0x14e4e5){for(const {item:_0x2bf20c}of _0x2be545['createRangeIn'](_0x14e4e5))if(_0x2bf20c['is']('element','footnotesDefinitions'))return _0x2bf20c;return null;}function Q(_0x38566b){const _0x1f713a=new Set();for(const {item:_0x408c68}of _0x38566b)_0x408c68['is']('element','footnoteRef')&&_0x1f713a['add'](_0x408c68['getAttribute']('footnoteId'));return Array['from'](_0x1f713a);}class W extends _0xfd4902{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x39191f}=this,{componentFactory:_0x3d0e6f}=_0x39191f['ui'];_0x3d0e6f['add']('insertFootnote',Y(_0x39191f,_0x22085f)),_0x3d0e6f['add']('menuBar:insertFootnote',Y(_0x39191f,_0x14e6d5)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4d5e35=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5e5a3e;for(const _0x53d91b in _0x4d5e35){const _0x28774a=_0x53d91b,_0x3a8e09=_0x4d5e35[_0x28774a];if('footnotesLicenseKeyValid'==_0x3a8e09||'footnotesLicenseKeyInvalid'==_0x3a8e09||'footnotesLicenseKeyExpired'==_0x3a8e09||'footnotesLicenseKeyDomainLimit'==_0x3a8e09||'footnotesLicenseKeyNotAllowed'==_0x3a8e09||'footnotesLicenseKeyEvaluationLimit'==_0x3a8e09||'footnotesLicenseKeyUsageLimit'==_0x3a8e09){delete _0x4d5e35[_0x28774a],_0x5e5a3e=_0x3a8e09,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5e5a3e&&_0x4d5e35['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5e5a3e&&_0x4d5e35['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5e5a3e&&_0x4d5e35['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5e5a3e&&_0x4d5e35['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5e5a3e&&_0x4d5e35['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x5e5a3e&&_0x4d5e35['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x3ab08e,_0x5258e3){const _0x37cb43=_0x3ab08e['commands']['get']('insertFootnote');return _0x37401a=>{const {t:t}=_0x37401a,_0x3893de=new _0x5258e3(_0x37401a),_0x230115=_0x3893de instanceof _0x14e6d5;return _0x3893de['bind']('isEnabled')['to'](_0x37cb43,'isEnabled'),_0x3893de['set']({'label':t(_0x230115?'Footnote':'Insert\x20footnote'),'icon':_0x226158,'tooltip':!0x0}),_0x3893de['on']('execute',()=>{_0x37cb43['execute'](),_0x3ab08e['editing']['view']['focus']();}),_0x3893de;};}class Z extends _0xfd4902{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[$,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];class nt extends _0x32e6f3{['refresh'](){const {editor:_0x2c45a9}=this,_0x59a247=_0x2c45a9['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x59a247,this['value']=_0x59a247?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x5ed911}){const {editor:_0x56234d}=this,_0x48cb8d=_0x56234d['plugins']['get'](K),_0x8206d9=_0x48cb8d['getFootnotesDefinitionsObjectElement']();_0x8206d9&&ot['includes'](_0x5ed911)&&_0x56234d['model']['change'](_0x274a6d=>{_0x274a6d['setAttribute']('footnotesListStyle',_0x5ed911,_0x8206d9),_0x48cb8d['_updateFootnotesCounters'](_0x274a6d);});}}class it extends _0x32e6f3{['refresh'](){const {editor:_0x99ecdd}=this,_0x132e80=_0x99ecdd['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x132e80,this['value']=_0x132e80?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x290659}){const {editor:_0x5b3aaa}=this,_0x2428af=_0x5b3aaa['plugins']['get'](K),_0x3c2f99=_0x2428af['getFootnotesDefinitionsObjectElement']();_0x3c2f99&&Number['isInteger'](_0x290659)&&_0x5b3aaa['model']['change'](_0x5944cb=>{_0x5944cb['setAttribute']('footnotesListStart',_0x290659,_0x3c2f99),_0x2428af['_updateFootnotesCounters'](_0x5944cb);});}}function st(_0x397bd2,_0x3d6832){let _0x23551b='',_0xeee1b5=_0x397bd2;for(;_0xeee1b5>0x0;){const _0x2b5bf5=(_0xeee1b5-0x1)%0x1a;_0x23551b=String['fromCharCode'](0x61+_0x2b5bf5)+_0x23551b,_0xeee1b5=Math['floor']((_0xeee1b5-0x1)/0x1a);}return _0x3d6832?_0x23551b['toUpperCase']():_0x23551b;}const rt=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function lt(_0x342d4b,_0x4e895a){let _0x2a3b06='',_0x54c623=_0x342d4b;for(const {value:_0x2fb58f,numeral:_0x1d6cc0}of rt)for(;_0x54c623>=_0x2fb58f;)_0x2a3b06+=_0x1d6cc0,_0x54c623-=_0x2fb58f;return _0x4e895a?_0x2a3b06:_0x2a3b06['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0xfd4902{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1d4118}=this;_0x1d4118['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1d4118['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1d4118['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x1d4118['commands']['add']('footnotesStyle',new nt(_0x1d4118)),_0x1d4118['commands']['add']('footnotesStart',new it(_0x1d4118)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2ecf4a}=this,{schema:_0x28fc21}=_0x2ecf4a['model'];_0x28fc21['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x24406e}=this,{conversion:_0xda4f7b,model:_0x516363}=_0x24406e,{schema:_0x23482f}=_0x516363;_0xda4f7b['for']('upcast')['add'](_0x44a497=>{_0x44a497['on']('element:ol',(_0x38597f,_0x27e791,_0x5c1c26)=>{const _0x1b7a0f=_0x27e791['viewItem'],_0x53e8f5=_0x27e791['modelCursor']?.['parent'];_0x1b7a0f['hasClass']('footnotes-list')&&_0x53e8f5?.['is']('element','footnotesDefinitions')&&(function(_0x197193,_0x2bfd67,_0x5a1d83,_0x21b4b5){if(!_0x21b4b5['checkAttribute'](_0x2bfd67,'footnotesListStart'))return;let _0x25a0d9=0x1;const _0x392dc5=_0x5a1d83['consumable']['consume'](_0x197193,{'attributes':'start'});if(_0x392dc5){const _0x2a03cf=Number['parseInt'](_0x197193['getAttribute']('start'),0xa);Number['isNaN'](_0x2a03cf)||(_0x25a0d9=_0x2a03cf);}!_0x392dc5&&_0x2bfd67['hasAttribute']('footnotesListStart')||_0x5a1d83['writer']['setAttribute']('footnotesListStart',_0x25a0d9,_0x2bfd67);}(_0x1b7a0f,_0x53e8f5,_0x5c1c26,_0x23482f),function(_0x44242d,_0xe1fedf,_0x19943c,_0x4a9f01){if(!_0x4a9f01['checkAttribute'](_0xe1fedf,'footnotesListStyle'))return;let _0x344c96='decimal',_0xddc6e6=!0x1;if(_0x19943c['consumable']['consume'](_0x44242d,{'attributes':'type'})){const _0x30d6f7={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x44242d['getAttribute']('type')];_0x30d6f7&&(_0x344c96=_0x30d6f7),_0xddc6e6=!0x0;}if(_0x19943c['consumable']['consume'](_0x44242d,{'styles':'list-style-type'})){const _0x20889b=ct(_0x44242d['getStyle']('list-style-type'));_0x20889b&&(_0x344c96=_0x20889b),_0xddc6e6=!0x0;}!_0xddc6e6&&_0xe1fedf['hasAttribute']('footnotesListStyle')||_0x19943c['writer']['setAttribute']('footnotesListStyle',_0x344c96,_0xe1fedf);}(_0x1b7a0f,_0x53e8f5,_0x5c1c26,_0x23482f));});}),_0xda4f7b['for']('downcast')['add'](_0x423a58=>{_0x423a58['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x42c4eb,_0xa672b6,_0x2f1533)=>{if(!_0x2f1533['consumable']['consume'](_0xa672b6['item'],_0x42c4eb['name']))return;const _0x4f757d=ut(_0xa672b6['item'],_0x2f1533['mapper']),{attributeNewValue:_0x2a19f3}=_0xa672b6;null==_0x2a19f3||0x1===_0x2a19f3?_0x2f1533['writer']['removeAttribute']('start',_0x4f757d):_0x2f1533['writer']['setAttribute']('start',String(_0x2a19f3),_0x4f757d);}),_0x423a58['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1bc25c,_0x42e3ae,_0x384dd3)=>{if(!_0x384dd3['consumable']['consume'](_0x42e3ae['item'],_0x1bc25c['name']))return;const _0x1566c0=ut(_0x42e3ae['item'],_0x384dd3['mapper']),{attributeNewValue:_0xfd5e96}=_0x42e3ae;_0xfd5e96&&'decimal'!==_0xfd5e96?_0x384dd3['writer']['setStyle']('list-style-type',_0xfd5e96,_0x1566c0):_0x384dd3['writer']['removeStyle']('list-style-type',_0x1566c0);});});}['_definePostfixer'](){const {editor:_0x163f9f}=this,{model:_0x54608b}=_0x163f9f,_0x1e19c5=_0x163f9f['plugins']['get'](K),_0x305bb0=this['_getDefaultListStyle'](),_0xa42b28=this['_getDefaultStartIndex']();_0x54608b['document']['registerPostFixer'](_0x364dac=>{const _0x4109a4=_0x54608b['document']['differ']['getChanges']();let _0x1812a7=!0x1;for(const _0x7ad3d1 of _0x4109a4){if('insert'!==_0x7ad3d1['type']||'$text'===_0x7ad3d1['name'])continue;const _0x34e8ae=_0x54608b['createRangeOn'](_0x7ad3d1['position']['nodeAfter']);for(const _0x1cc4cf of _0x34e8ae['getItems']())_0x1cc4cf['is']('element','footnotesDefinitions')&&(!_0x1cc4cf['hasAttribute']('footnotesListStart')&&_0x54608b['schema']['checkAttribute'](_0x1cc4cf,'footnotesListStart')&&(_0x364dac['setAttribute']('footnotesListStart',_0xa42b28,_0x1cc4cf),_0x1812a7=!0x0),!_0x1cc4cf['hasAttribute']('footnotesListStyle')&&_0x54608b['schema']['checkAttribute'](_0x1cc4cf,'footnotesListStyle')&&(_0x364dac['setAttribute']('footnotesListStyle',_0x305bb0,_0x1cc4cf),_0x1812a7=!0x0));}return _0x1812a7&&_0x1e19c5['_updateFootnotesCounters'](_0x364dac),_0x1812a7;});}['_defineFormatter'](){const {editor:_0x1e57be}=this;_0x1e57be['plugins']['get'](K)['setFootnoteFormatter'](_0x18c608=>this['_formatFootnoteListValue'](_0x18c608));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x23070b,value:_0x16a480,digits:_0x458330}){const _0x136a3e=_0x23070b['getAttribute']('footnotesListStyle'),_0x5396f6=_0x23070b['getAttribute']('footnotesListStart'),_0x33f180=Math['floor'](_0x16a480)+(_0x5396f6??0x1)-0x1;switch(_0x136a3e){case'decimal-leading-zero':return function(_0x571f63,_0x2cb006){return String(_0x571f63)['padStart'](_0x2cb006,'0');}(_0x33f180,Math['max'](0x2,_0x458330));case'lower-alpha':case'lower-latin':return st(_0x33f180,!0x1);case'upper-alpha':case'upper-latin':return st(_0x33f180,!0x0);case'lower-roman':return lt(_0x33f180,!0x1);case'upper-roman':return lt(_0x33f180,!0x0);case'arabic-indic':return String(_0x33f180)['replace'](/\d/g,_0x4a6f18=>ft[Number(_0x4a6f18)]);default:return String(_0x33f180);}}}function ct(_0x13f92a){if('string'==typeof _0x13f92a){const _0x583e34=et[_0x13f92a];if(_0x583e34)return _0x583e34;if(ot['includes'](_0x13f92a))return _0x13f92a;}return null;}function ut(_0x37caac,_0x1e20c2){const _0x474d69=_0x1e20c2['toViewElement'](_0x37caac);return Array['from'](_0x474d69['getChildren']())['find'](_0x2ed035=>_0x2ed035['is']('element','ol')&&_0x2ed035['hasClass']('footnotes-list'));}class dt extends _0x21c05f{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x45e46e();['keystrokes']=new _0x56d72b();['focusables']=new _0x3d649c();['focusCycler'];constructor(_0x3f505f,{styleButtonViews:_0x5b40a0,styleGridAriaLabel:_0x12686a}){super(_0x3f505f),(this['focusCycler']=new _0x3c8954({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5b40a0,_0x12686a),[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 _0x234daa of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x234daa['element']);_0x1281f8({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x128aa6['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 _0x3b64d3=_0x684ed6=>_0x684ed6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3b64d3),this['keystrokes']['set']('arrowleft',_0x3b64d3),this['keystrokes']['set']('arrowup',_0x3b64d3),this['keystrokes']['set']('arrowdown',_0x3b64d3);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3401c7,_0x43601b){const _0x4504b9=new _0x21c05f(this['locale']);return _0x4504b9['children']=_0x4504b9['createCollection'](),_0x4504b9['children']['addMany'](_0x3401c7),_0x4504b9['setTemplate']({'tag':'div','attributes':{'aria-label':_0x43601b,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4504b9['children']}),_0x4504b9['children']['delegate']('execute')['to'](this),_0x4504b9['focus']=function(){for(const _0x3fac11 of this['children'])if(_0x3fac11 instanceof _0x22085f&&_0x3fac11['isOn'])return void _0x3fac11['focus']();this['children']['first']['focus']();},_0x4504b9['focusTracker']=new _0x45e46e(),_0x4504b9['keystrokes']=new _0x56d72b(),_0x4504b9['render'](),_0x4504b9['keystrokes']['listenTo'](_0x4504b9['element']),this['children']['add'](_0x4504b9),_0x4504b9;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2f5f13=this['_createStartIndexPropertyView'](),_0xd393bd=[_0x2f5f13],_0x3c42b4=new _0x113336(this['locale'],_0xd393bd);return _0x3c42b4['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3c42b4['buttonView']['bind']('isEnabled')['toMany'](_0xd393bd,'isEnabled',(..._0x12192b)=>_0x12192b['some'](_0x376e36=>_0x376e36)),_0x3c42b4['buttonView']['on']('change:isEnabled',(_0x48f96d,_0x37cf3a,_0x592021)=>{_0x592021||(_0x3c42b4['isCollapsed']=!0x0);}),this['children']['add'](_0x3c42b4),[_0x2f5f13,_0x3c42b4];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5bb909=new _0x18bfd5(this['locale'],_0x44369e);return _0x5bb909['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5bb909['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5bb909['fieldView']['on']('input',()=>{const _0x3c75e5=_0x5bb909['fieldView']['element'],_0x3a6ee9=_0x3c75e5['valueAsNumber'];Number['isNaN'](_0x3a6ee9)?_0x5bb909['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3c75e5['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3a6ee9}):_0x5bb909['errorText']=t(_0x3a6ee9<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5bb909;}}class ht extends _0xfd4902{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3fa1a5,_0x3d7cc6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4ddfa6}=this,{componentFactory:_0x5a88be}=_0x4ddfa6['ui'];_0x4ddfa6['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5a88be['add']('footnotesStyle',function(_0x442c33){return _0x57103c=>{const {t:t}=_0x57103c,_0x385ab3=_0x442c33['commands']['get']('footnotesStyle'),_0x224362=_0x18b9b9(_0x57103c),{buttonView:_0xfb4c7e}=_0x224362;return _0x224362['class']='ck-footnotes-styles-dropdown',_0x224362['bind']('isEnabled')['to'](_0x385ab3,'isEnabled'),_0xfb4c7e['set']({'label':t('Footnotes\x20style'),'icon':_0x226158,'tooltip':!0x0}),_0x224362['once']('change:isOpen',()=>{const _0x4fe591=function({editor:_0x24c3a2,dropdownView:_0x51878e}){const {t:t}=_0x24c3a2['locale'],_0x2ef750=t('Footnotes\x20definitions\x20styles'),_0x4a17a5=function(_0x2f814b){const {t:t}=_0x2f814b['locale'],_0x338b2e=_0x2f814b['config']['get']('footnotes.footnotesProperties.listStyles'),_0xbf8e22=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x5a9eb0},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x37266f},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x4551e6},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x244281},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x450ebe},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x52e12a},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x57cac5}];return _0x338b2e['map'](_0x6dfb00=>{const _0x3d06e6=ct(_0x6dfb00),_0x40602c=_0xbf8e22['find'](_0x13eba3=>_0x13eba3['style']===_0x3d06e6);return function(_0x20c60c,_0x2b5b56){const {locale:_0x348d79}=_0x20c60c,{label:_0x3fae19,icon:_0x30341b,tooltip:_0x2df861,style:_0x5d1bdd}=_0x2b5b56,_0x105507=_0x20c60c['commands']['get']('footnotesStyle'),_0x3cdc23=new _0x22085f(_0x348d79);return _0x3cdc23['set']({'label':_0x3fae19,'icon':_0x30341b,'tooltip':_0x2df861}),_0x3cdc23['bind']('isOn')['to'](_0x105507,'value',_0x78e01f=>_0x78e01f===_0x5d1bdd),_0x3cdc23['bind']('isEnabled')['to'](_0x105507,'isEnabled'),_0x3cdc23['on']('execute',()=>{_0x20c60c['execute']('footnotesStyle',{'value':_0x5d1bdd}),_0x20c60c['editing']['view']['focus']();}),_0x3cdc23;}(_0x2f814b,_0x40602c);});}(_0x24c3a2),_0x2385ff=new dt(_0x24c3a2['locale'],{'styleGridAriaLabel':_0x2ef750,'styleButtonViews':_0x4a17a5}),_0x45656d=_0x24c3a2['commands']['get']('footnotesStart');return _0x2385ff['startIndexFieldView']['bind']('isEnabled')['to'](_0x45656d),_0x2385ff['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x45656d),_0x2385ff['on']('footnotesListStart',(_0x24a9f1,_0x5ecd3e)=>{_0x24c3a2['execute']('footnotesStart',{'value':_0x5ecd3e['startIndex']});}),_0x2385ff['delegate']('execute')['to'](_0x51878e),_0x2385ff;}({'editor':_0x442c33,'dropdownView':_0x224362});_0x224362['panelView']['children']['add'](_0x4fe591);}),_0x224362;};}(_0x4ddfa6));}['afterInit'](){const {editor:_0x333924}=this,{t:t}=_0x333924['locale'],_0x4006a8=_0x333924['plugins']['get'](_0x3d7cc6),{defaultPositions:_0xdeefb7}=_0x42874d;_0x4006a8['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x333924['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xe03f86=>{let _0x1d70b8=_0xe03f86['getFirstPosition']()?.['parent'];return _0x1d70b8?.['is']('$text')&&(_0x1d70b8=_0x1d70b8['parent']),_0x1d70b8?.['is']('element')?_0x1d70b8['findAncestor'](q):null;},'positions':[_0xdeefb7['southArrowNorth'],_0xdeefb7['southArrowNorthMiddleWest'],_0xdeefb7['southArrowNorthMiddleEast'],_0xdeefb7['southArrowNorthWest'],_0xdeefb7['southArrowNorthEast'],_0xdeefb7['northArrowSouth'],_0xdeefb7['northArrowSouthMiddleWest'],_0xdeefb7['northArrowSouthMiddleEast'],_0xdeefb7['northArrowSouthWest'],_0xdeefb7['northArrowSouthEast'],_0xdeefb7['viewportStickyNorth']]});}}class mt extends _0xfd4902{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[at,ht];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Z as Footnotes,J as FootnotesClipboard,$ as FootnotesEditing,mt as FootnotesProperties,at as FootnotesPropertiesEditing,ht as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,K as FootnotesTracker,W as FootnotesUI,V as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x27979e=>0x1!=_0x27979e}};
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':_0x359aca=>0x1!=_0x359aca}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x409368=>{const {af:{dictionary:_0x3a4974,getPluralForm:_0x3e0d3}}={'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':_0x17a01c=>0x1!=_0x17a01c}};_0x409368['af']||={'dictionary':{},'getPluralForm':null},_0x409368['af']['dictionary']=Object['assign'](_0x409368['af']['dictionary'],_0x3a4974),_0x409368['af']['getPluralForm']=_0x3e0d3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4f3324=>{const {af:{dictionary:_0x57fa3d,getPluralForm:_0x5933c2}}={'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':_0x5cf0b1=>0x1!=_0x5cf0b1}};_0x4f3324['af']||={'dictionary':{},'getPluralForm':null},_0x4f3324['af']['dictionary']=Object['assign'](_0x4f3324['af']['dictionary'],_0x57fa3d),_0x4f3324['af']['getPluralForm']=_0x5933c2;})(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':_0xb25742=>0x0==_0xb25742?0x0:0x1==_0xb25742?0x1:0x2==_0xb25742?0x2:_0xb25742%0x64>=0x3&&_0xb25742%0x64<=0xa?0x3:_0xb25742%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':_0x2b59cd=>0x0==_0x2b59cd?0x0:0x1==_0x2b59cd?0x1:0x2==_0x2b59cd?0x2:_0x2b59cd%0x64>=0x3&&_0x2b59cd%0x64<=0xa?0x3:_0x2b59cd%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x46d6f1=>{const {ar:{dictionary:_0x345508,getPluralForm:_0x2901a4}}={'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':_0x5daa9f=>0x0==_0x5daa9f?0x0:0x1==_0x5daa9f?0x1:0x2==_0x5daa9f?0x2:_0x5daa9f%0x64>=0x3&&_0x5daa9f%0x64<=0xa?0x3:_0x5daa9f%0x64>=0xb?0x4:0x5}};_0x46d6f1['ar']||={'dictionary':{},'getPluralForm':null},_0x46d6f1['ar']['dictionary']=Object['assign'](_0x46d6f1['ar']['dictionary'],_0x345508),_0x46d6f1['ar']['getPluralForm']=_0x2901a4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4578fb=>{const {ar:{dictionary:_0x2f8f0b,getPluralForm:_0x41a12e}}={'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':_0x430d29=>0x0==_0x430d29?0x0:0x1==_0x430d29?0x1:0x2==_0x430d29?0x2:_0x430d29%0x64>=0x3&&_0x430d29%0x64<=0xa?0x3:_0x430d29%0x64>=0xb?0x4:0x5}};_0x4578fb['ar']||={'dictionary':{},'getPluralForm':null},_0x4578fb['ar']['dictionary']=Object['assign'](_0x4578fb['ar']['dictionary'],_0x2f8f0b),_0x4578fb['ar']['getPluralForm']=_0x41a12e;})(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':_0x389230=>0x1!=_0x389230}};
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':_0x2df4e9=>0x1!=_0x2df4e9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x26289e=>{const {ast:{dictionary:_0xd91f6e,getPluralForm:_0x3707fe}}={'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':_0x25d91c=>0x1!=_0x25d91c}};_0x26289e['ast']||={'dictionary':{},'getPluralForm':null},_0x26289e['ast']['dictionary']=Object['assign'](_0x26289e['ast']['dictionary'],_0xd91f6e),_0x26289e['ast']['getPluralForm']=_0x3707fe;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x343b9b=>{const {ast:{dictionary:_0x2d3538,getPluralForm:_0xd379f1}}={'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':_0x14b2e0=>0x1!=_0x14b2e0}};_0x343b9b['ast']||={'dictionary':{},'getPluralForm':null},_0x343b9b['ast']['dictionary']=Object['assign'](_0x343b9b['ast']['dictionary'],_0x2d3538),_0x343b9b['ast']['getPluralForm']=_0xd379f1;})(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':_0x1b37ab=>0x1!=_0x1b37ab}};
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':_0x4a333a=>0x1!=_0x4a333a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf3f7bd=>{const {az:{dictionary:_0x410d9c,getPluralForm:_0x451e75}}={'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':_0x290c08=>0x1!=_0x290c08}};_0xf3f7bd['az']||={'dictionary':{},'getPluralForm':null},_0xf3f7bd['az']['dictionary']=Object['assign'](_0xf3f7bd['az']['dictionary'],_0x410d9c),_0xf3f7bd['az']['getPluralForm']=_0x451e75;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3e0c99=>{const {az:{dictionary:_0x48b8ec,getPluralForm:_0x2ecefb}}={'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':_0x20bd51=>0x1!=_0x20bd51}};_0x3e0c99['az']||={'dictionary':{},'getPluralForm':null},_0x3e0c99['az']['dictionary']=Object['assign'](_0x3e0c99['az']['dictionary'],_0x48b8ec),_0x3e0c99['az']['getPluralForm']=_0x2ecefb;})(window['CKEDITOR_TRANSLATIONS']||={});