@ckeditor/ckeditor5-footnotes 47.3.0-alpha.6 → 47.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4811b6,Command as _0x57bc43}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x1ac0da,isWidget as _0x484cd1,toWidgetEditable as _0x28b8a0,WidgetToolbarRepository as _0x4ee6c5}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x436330,logWarning as _0x3a2f72,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x37616e,ClickObserver as _0x404269}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x1ef646}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x3e461c,ButtonView as _0x30c80f,View as _0x109799,ViewCollection as _0xfe5986,FocusCycler as _0x1a9c37,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x32fb2d,BalloonPanelView as _0x3a60f8,createDropdown as _0x40a7ee}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x28859b,IconListStyleDecimal as _0x53be78,IconListStyleDecimalLeadingZero as _0x268531,IconListStyleLowerRoman as _0x416213,IconListStyleUpperRoman as _0x95de4f,IconListStyleLowerLatin as _0x3d2866,IconListStyleUpperLatin as _0x3b54a9}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x59dca4,_0x3ec02b){this['_model']=_0x59dca4,this['_elementName']=_0x3ec02b['elementName'],this['_getElementKey']=_0x3ec02b['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x598efc){const _0x122cdb=new Set(),_0x84c652=new Map();for(const _0x153658 of _0x598efc){if('insert'===_0x153658['type']&&'$text'!==_0x153658['name']&&_0x153658['position']['nodeAfter']){const _0x673b56=this['_model']['createRangeOn'](_0x153658['position']['nodeAfter']);for(const _0x516614 of _0x673b56['getItems']()){if(!_0x516614['is']('element',this['_elementName']))continue;const _0x1ca62f=this['_getElementKey'](_0x516614);_0x84c652['has'](_0x1ca62f)||_0x84c652['set'](_0x1ca62f,[]),_0x84c652['get'](_0x1ca62f)['push'](_0x516614);}}if('remove'===_0x153658['type']&&_0x153658['name']===this['_elementName']){const _0x1caef3=this['_getElementKey']({'getAttribute':_0x2a53c9=>_0x153658['attributes']['get'](_0x2a53c9)});_0x122cdb['add'](_0x1caef3);}}for(const [_0x4e5a84,_0x59f65f]of this['_trackedElements'])'$graveyard'===_0x59f65f['root']['rootName']&&_0x122cdb['add'](_0x4e5a84);for(const _0x322b40 of _0x122cdb)this['_trackedElements']['delete'](_0x322b40);for(const [_0x18e5f0,_0xce3305]of _0x84c652)this['_trackedElements']['set'](_0x18e5f0,_0xce3305[_0xce3305['length']-0x1]);const _0x469b58=new Set();for(const [_0x167e37,_0x27070f]of _0x84c652)_0x122cdb['has'](_0x167e37)&&(_0x469b58['add'](_0x27070f[0x0]),_0x27070f['length']>0x1?_0x84c652['set'](_0x167e37,_0x27070f['slice'](0x1)):_0x84c652['delete'](_0x167e37),_0x122cdb['delete'](_0x167e37));return{'removed':Array['from'](_0x122cdb),'inserted':Array['from'](_0x84c652['values']())['flat'](),'moved':Array['from'](_0x469b58)};}}class f extends _0x4811b6{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3a9bdb){super(_0x3a9bdb),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x62ef07=>_0x62ef07['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x463dcf=>_0x463dcf['getAttribute']('footnoteId')});}['init'](){const {editor:_0x87df4a}=this,{model:_0x464a1f,data:_0x45a90c}=_0x87df4a;_0x464a1f['document']['registerPostFixer'](_0x2badf5=>{const _0x15dd45=_0x464a1f['document']['differ']['getChanges']();let _0x5c538b=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x2badf5,_0x15dd45)&&(_0x5c538b=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x2badf5,_0x15dd45)&&(_0x5c538b=!0x0),this['_handleFootnoteReferencesChanges'](_0x2badf5,_0x15dd45)&&(_0x5c538b=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x2badf5)&&(_0x5c538b=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x2badf5)&&(_0x5c538b=!0x0),this['_sortFootnoteDefinitions'](_0x2badf5)&&(_0x5c538b=!0x0),_0x5c538b;}),this['listenTo'](_0x464a1f['document'],'change:data',()=>{_0x464a1f['enqueueChange']({'isUndoable':!0x1},_0x4bf2e3=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4bf2e3);});},{'priority':'low'}),this['listenTo'](_0x45a90c,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x56d043){return this['_footnotes']['find'](_0x627297=>_0x627297['id']===_0x56d043)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x174745){this['_footnoteFormatter']=_0x174745;}['_updateFootnotesCounters'](_0x50b3a3,_0x31ef71=0x0){let _0x3df8f8=!0x1;for(let _0x519035=_0x31ef71;_0x519035<this['_footnotes']['length'];_0x519035++)this['_updateFootnoteRefCounter'](_0x50b3a3,_0x519035)&&(_0x3df8f8=!0x0);return _0x3df8f8;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3e0096,_0x379124){const _0x49d09e=_0x3e0096['createElement']('footnotesDefinitions',{});return _0x3e0096['append'](_0x49d09e,_0x379124),this['_footnotesDefinitions']=_0x49d09e,_0x49d09e;}['_ensureFootnotesDefinitionsContainerExists'](_0x236478){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x34827a=this['_footnotes'][0x0]['reference']['root'],_0x27d0e0=this['_insertEmptyFootnotesDefinitionsContainer'](_0x236478,_0x34827a);for(const _0x5215d8 of this['_footnotes'])_0x5215d8['definition']['parent']||_0x236478['insert'](_0x5215d8['definition'],_0x27d0e0,'end');this['_updateFootnotesCounters'](_0x236478);}['_handleFootnotesDefinitionsObjectChanges'](_0x4725fe,_0x5a8402){let _0x35eb7b=!0x1;const {inserted:_0x5f55c8,removed:_0x387c71,moved:_0x4fdb7a}=this['_footnoteDefsContainerTracker']['getChanges'](_0x5a8402);if(_0x4fdb7a['length']&&(this['_footnotesDefinitions']=_0x4fdb7a[0x0]),_0x5f55c8['length']){if(_0x5f55c8['length']>0x1||this['_footnotesDefinitions']&&_0x5f55c8['some'](_0x4583c0=>_0x4583c0!==this['_footnotesDefinitions'])){const _0x23a35e=_0x4725fe['createElement']('footnotesDefinitions',{}),_0x46e094=[];this['_footnotesDefinitions']&&_0x46e094['push'](this['_footnotesDefinitions']),_0x46e094['push'](..._0x5f55c8),_0x4725fe['insert'](_0x23a35e,_0x46e094[0x0],'before');for(const _0x5d5cd4 of _0x46e094)_0x4725fe['move'](_0x4725fe['createRangeIn'](_0x5d5cd4),_0x4725fe['createPositionAt'](_0x23a35e,'end')),_0x4725fe['remove'](_0x5d5cd4);this['_footnotesDefinitions']=_0x23a35e,this['_updateFootnotesCounters'](_0x4725fe),_0x35eb7b=!0x0;}else this['_footnotesDefinitions']=_0x5f55c8[0x0];}if(_0x387c71['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2a69cb of this['_footnotes'])_0x4725fe['remove'](_0x2a69cb['reference']),_0x35eb7b=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x35eb7b;}['_handleFootnoteDefinitionsChanges'](_0x48539b,_0x4afa74){let _0x4a4623=!0x1;const _0x4721b6=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x529dc5,moved:_0x12e0c1}=this['_footnoteDefsTracker']['getChanges'](_0x4afa74);for(const _0x5df068 of[..._0x12e0c1,..._0x529dc5]){const _0x853c1e=_0x5df068['getAttribute']('footnoteId'),_0x5454e8=this['getFootnote'](_0x853c1e);_0x5454e8&&(_0x5454e8['definition']=_0x5df068),_(_0x48539b,_0x4721b6,_0x5df068)&&(_0x4a4623=!0x0);}return _0x4a4623;}['_handleFootnoteReferencesChanges'](_0x2be27e,_0x2dc032){let _0x4c9954=!0x1;const {removed:_0x2a423a,inserted:_0x452e5b,moved:_0x3806cb}=this['_footnoteRefsTracker']['getChanges'](_0x2dc032);for(const _0x362061 of _0x2a423a)this['_handleRemoveFootnoteReferenceById'](_0x2be27e,_0x362061)&&(_0x4c9954=!0x0);for(const _0x47ca29 of _0x452e5b)this['_handleInsertedFootnoteReference'](_0x2be27e,_0x47ca29)&&(_0x4c9954=!0x0);for(const _0x24167b of _0x3806cb)this['_handleMovedFootnoteReference'](_0x2be27e,_0x24167b)&&(_0x4c9954=!0x0);return _0x4c9954;}['_handleFootnotesDefinitionsObjectSync'](_0x34a469){if(!this['_footnotesDefinitions'])return!0x1;let _0x5c0582=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x342de8=[];for(const _0x287a4b of this['_footnotesDefinitions']['getChildren']()){const _0x9c98ec=_0x287a4b['getAttribute']('footnoteId');this['getFootnote'](_0x9c98ec)||(_0x342de8['unshift'](_0x287a4b),_0x5c0582=!0x0);}for(const _0x517841 of _0x342de8)_0x34a469['remove'](_0x517841);}const _0x2bb93c=new Set(),_0x2fba44=[];for(const _0x36f934 of this['_footnotesDefinitions']['getChildren']()){const _0x25a4d2=_0x36f934['getAttribute']('footnoteId');_0x2bb93c['has'](_0x25a4d2)?(_0x2fba44['unshift'](_0x36f934),_0x5c0582=!0x0):_0x2bb93c['add'](_0x25a4d2);}for(const _0x11797e of _0x2fba44)_0x34a469['remove'](_0x11797e);return this['_footnotesDefinitions']['childCount']||(_0x34a469['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5c0582=!0x0),_0x5c0582;}['_handleInsertedFootnoteReference'](_0x44878c,_0x5ba5b5){if(this['_footnotes']['find'](_0x4808dc=>_0x4808dc['reference']===_0x5ba5b5))return!0x1;let _0x5da65d=!0x1;const _0x29207e=_0x5ba5b5['getAttribute']('footnoteId'),_0x536b4b=this['_footnotes']['findIndex'](_0x53d824=>_0x53d824['id']===_0x29207e);-0x1!==_0x536b4b&&(_0x44878c['remove'](this['_footnotes'][_0x536b4b]['reference']),this['_footnotes']['splice'](_0x536b4b,0x1),_0x5da65d=!0x0);let _0x5a479a=this['_footnotesDefinitions']?function(_0x287b20,_0x118091){for(const _0x3c5397 of _0x287b20['getChildren']())if(_0x3c5397['getAttribute']('footnoteId')===_0x118091)return _0x3c5397;return null;}(this['_footnotesDefinitions'],_0x29207e):null;_0x5a479a||(_0x5a479a=_0x44878c['createElement']('footnoteDefinition',{'footnoteId':_0x29207e}),this['_footnotesDefinitions']&&(_0x44878c['insert'](_0x5a479a,this['_footnotesDefinitions'],'end'),_0x5da65d=!0x0));const _0x404b7f={'id':_0x29207e,'reference':_0x5ba5b5,'definition':_0x5a479a},_0x1ed0e1=I(this['editor']['model'],this['_footnotes'],_0x5ba5b5);this['_footnotes']['splice'](_0x1ed0e1,0x0,_0x404b7f);let _0x16d614=_0x1ed0e1;return-0x1!==_0x536b4b&&(_0x16d614=Math['min'](_0x1ed0e1,_0x536b4b)),this['_updateFootnotesCounters'](_0x44878c,_0x16d614)&&(_0x5da65d=!0x0),_0x5da65d;}['_handleRemoveFootnoteReferenceById'](_0x1782e1,_0xb81be7){const _0x399284=this['_footnotes']['findIndex'](_0x3223ea=>_0x3223ea['id']===_0xb81be7);if(-0x1===_0x399284)return!0x1;let _0x30c588=!0x1;const _0x4ac593=this['_footnotes'][_0x399284];return'$graveyard'!==_0x4ac593['definition']['root']['rootName']&&(_0x1782e1['remove'](_0x4ac593['definition']),_0x30c588=!0x0),this['_footnotes']['splice'](_0x399284,0x1),this['_updateFootnotesCounters'](_0x1782e1,_0x399284)&&(_0x30c588=!0x0),_0x30c588;}['_handleMovedFootnoteReference'](_0x146240,_0x51ec07){const _0x42fb83=_0x51ec07['getAttribute']('footnoteId'),_0xf552d4=this['_footnotes']['findIndex'](_0xcbf1dc=>_0xcbf1dc['id']===_0x42fb83),_0x2db5dc=this['_footnotes'][_0xf552d4];let _0x2f58b6=!0x1;_0x2db5dc['reference']=_0x51ec07,this['_footnotes']['splice'](_0xf552d4,0x1);const _0x4865bb=I(this['editor']['model'],this['_footnotes'],_0x51ec07);return this['_footnotes']['splice'](_0x4865bb,0x0,_0x2db5dc),this['_updateFootnotesCounters'](_0x146240,Math['min'](_0xf552d4,_0x4865bb))&&(_0x2f58b6=!0x0),_0x2f58b6;}['_updateFootnoteRefCounter'](_0x47be96,_0x447739){if(!this['_footnotesDefinitions'])return!0x1;const _0x1e1c31=this['_footnotes'][_0x447739];let _0x428eaf;return _0x428eaf=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1e1c31,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x447739+0x1}):String(_0x447739+0x1),_0x1e1c31['reference']['getAttribute']('footnoteCounter')!=_0x428eaf&&(_0x47be96['setAttribute']('footnoteCounter',_0x428eaf,_0x1e1c31['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x5c2032){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x35572a,_0x3fe71a){if(_0x35572a['length']!==_0x3fe71a['length'])return!0x1;for(let _0x58410d=0x0;_0x58410d<_0x35572a['length'];_0x58410d++)if(_0x35572a[_0x58410d]!==_0x3fe71a[_0x58410d])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x6f4879=>_0x6f4879['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x2c77c1=>_0x2c77c1['getAttribute']('footnoteId'))))return!0x1;let _0x247a9f=!0x1;for(let _0x5f47a8=0x0;_0x5f47a8<this['_footnotes']['length'];_0x5f47a8++){const _0x141b34=this['_footnotes'][_0x5f47a8],_0x2fe88a=_0x5c2032['createPositionBefore'](_0x141b34['definition']),_0x247a7f=_0x5c2032['createPositionAt'](this['_footnotesDefinitions'],_0x5f47a8);_0x2fe88a['isEqual'](_0x247a7f)||(_0x5c2032['move'](_0x5c2032['createRangeOn'](_0x141b34['definition']),_0x247a7f),_0x247a9f=!0x0);}return _0x247a9f;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5cab37){if(!this['_footnotes']['length'])return!0x1;const {model:_0xd3f3a5}=this['editor'];let _0x5e2af3=!0x1;for(let _0x4d264b=0x0;_0x4d264b<this['_footnotes']['length']-0x1;_0x4d264b++){const _0xc34789=this['_footnotes'][_0x4d264b],_0x4c0ffc=this['_footnotes'][_0x4d264b+0x1],_0x190cf8=_0xd3f3a5['createPositionBefore'](_0xc34789['reference']),_0x52cba6=_0xd3f3a5['createPositionBefore'](_0x4c0ffc['reference']);'after'===_0x190cf8['compareWith'](_0x52cba6)&&(this['_handleMovedFootnoteReference'](_0x5cab37,_0xc34789['reference']),_0x4d264b=-0x1,_0x5e2af3=!0x0);}return _0x5e2af3;}}function _(_0x3738e9,_0x5e82eb,_0x3d1331){if(_0x3d1331['childCount'])return!0x1;const _0x1c2d48=_0x5e82eb?'paragraph':'footnoteInlineContent';return _0x3738e9['insert'](_0x3738e9['createElement'](_0x1c2d48),_0x3d1331),!0x0;}function I(_0x3fd797,_0x15d37b,_0x2ba959){if(0x0===_0x15d37b['length'])return 0x0;const _0x57c92a=_0x3fd797['createPositionBefore'](_0x2ba959);for(let _0x19d3a2=0x0;_0x19d3a2<_0x15d37b['length'];_0x19d3a2++){const _0x3807ae=_0x15d37b[_0x19d3a2],_0x10b40a=_0x3fd797['createPositionBefore'](_0x3807ae['reference']);if('before'===_0x57c92a['compareWith'](_0x10b40a))return _0x19d3a2;}const _0x44776d=_0x2ba959['root'];let _0x25ca2f=-0x1;for(let _0x1ba8f9=_0x15d37b['length']-0x1;_0x1ba8f9>=0x0;_0x1ba8f9--)if(_0x15d37b[_0x1ba8f9]['reference']['root']===_0x44776d){_0x25ca2f=_0x1ba8f9;break;}if(-0x1!==_0x25ca2f)return _0x25ca2f+0x1;const _0x44da0b=_0x3fd797['document']['getRootNames'](),_0x362596=_0x44da0b['indexOf'](_0x44776d['rootName']),_0x18d2b4=_0x44da0b[_0x362596+0x1];if(_0x18d2b4){for(let _0x1cdf0e=0x0;_0x1cdf0e<_0x15d37b['length'];_0x1cdf0e++)if(_0x15d37b[_0x1cdf0e]['reference']['root']['rootName']===_0x18d2b4)return _0x1cdf0e;}return _0x15d37b['length'];}class m extends _0x57bc43{['refresh'](){const _0x505191=this['editor']['model']['document']['selection'],_0x39e745=this['_getPositionToInsertFootnote'](_0x505191);this['isEnabled']=!!_0x39e745;}['execute'](_0x191dfd){const {editor:_0x42af6a}=this,{model:_0x5278ac}=_0x42af6a,{selection:_0x4873c3}=_0x5278ac['document'],_0x98ecbd=this['_getPositionToInsertFootnote'](_0x4873c3);if(!_0x98ecbd)return;const _0x1b7462=_0x42af6a['plugins']['get']('FootnotesEditing'),_0x5ef082=_0x191dfd?.['footnoteId']??_0x436330();!function(_0x416afd){return'string'==typeof _0x416afd&&_0x416afd['length']>0x0&&!/\s/['test'](_0x416afd)&&!/^\d/['test'](_0x416afd);}(_0x5ef082)?_0x3a2f72('insert-footnote-command-executed-with-invalid-id'):(_0x5278ac['change'](_0xdf5a03=>{const _0x5824a0=_0xdf5a03['createElement']('footnoteRef',{'footnoteId':_0x5ef082});_0x5278ac['insertObject'](_0x5824a0,_0x98ecbd,null);}),_0x1b7462['_moveSelectionToFootnoteDefinition'](_0x5ef082));}['_getPositionToInsertFootnote'](_0x1240ec){const {model:_0x3764e1}=this['editor'],{schema:_0x6065b7}=_0x3764e1,_0x2338fd=_0x1240ec['getFirstRange']();for(const _0x494268 of _0x2338fd['getItems']())if(_0x6065b7['isBlock'](_0x494268)||_0x6065b7['isObject'](_0x494268))return null;const _0x40c1da=_0x2338fd['end'];return _0x6065b7['checkChild'](_0x40c1da,'footnoteRef')?_0x40c1da:null;}}class r extends _0x4811b6{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x23b078}=this;_0x23b078['config']['define']('footnotes.multiBlock',!0x0),_0x23b078['commands']['add']('insertFootnote',new m(_0x23b078)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x584818){const _0x43e322=_0x5f5848([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]),_0x2503bb=0x47a28506,_0x5b00a3=0x47a5ffc6^_0x2503bb,_0x1cded6=window[_0x5f5848([0x44,0x61,0x74,0x65])][_0x5f5848([0x6e,0x6f,0x77])](),_0x5b3064=_0x584818[_0x5f5848([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a3e39=new window[(_0x5f5848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d1a70=>{_0x5b3064[_0x5f5848([0x6f,0x6e,0x63,0x65])](_0x5f5848([0x72,0x65,0x61,0x64,0x79]),_0x5d1a70);}),_0x5ef2e3={[_0x5f5848([0x6b,0x74,0x79])]:_0x5f5848([0x45,0x43]),[_0x5f5848([0x75,0x73,0x65])]:_0x5f5848([0x73,0x69,0x67]),[_0x5f5848([0x63,0x72,0x76])]:_0x5f5848([0x50,0x2d,0x32,0x35,0x36]),[_0x5f5848([0x78])]:_0x5f5848([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]),[_0x5f5848([0x79])]:_0x5f5848([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]),[_0x5f5848([0x61,0x6c,0x67])]:_0x5f5848([0x45,0x53,0x32,0x35,0x36])},_0xce6c00=_0x5b3064[_0x5f5848([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f5848([0x67,0x65,0x74])](_0x5f5848([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf1b621(){let _0x113899,_0xce7b03=null,_0xfac7bf=null;try{if(_0xce6c00==_0x5f5848([0x47,0x50,0x4c]))return _0x5f5848([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x113899=_0xd86a40(),!_0x113899)return _0x5f5848([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x113899[_0x5f5848([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xfac7bf=_0x1f2784(_0x113899[_0x5f5848([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x113899[_0x5f5848([0x6a,0x74,0x69])])),await _0x3ff742()?_0x1d85e7()?_0x25ba6f()?_0x5f5848([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4f0ada()?(_0x113899[_0x5f5848([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f5848([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xce7b03=_0x5f2da5(_0x5f5848([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x113899[_0x5f5848([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f5848([0x74,0x72,0x69,0x61,0x6c])&&(_0xce7b03=_0x5f2da5(_0x5f5848([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ba257()):_0x5f5848([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f5848([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f5848([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f5848([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x25ba6f(){const _0x427471=[_0x5f5848([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f5848([0x74,0x72,0x69,0x61,0x6c])][_0x5f5848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x113899[_0x5f5848([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1cded6/0x3e8:0xe10*_0x5b00a3;return _0x113899[_0x5f5848([0x65,0x78,0x70])]<_0x427471;}function _0x1d85e7(){const _0x2281b6=_0x113899[_0x5f5848([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2281b6&&(!!_0x2281b6[_0x5f5848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f5848([0x2a]))||!!_0x2281b6[_0x5f5848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f5848([0x46,0x4f,0x4f])));}function _0x4f0ada(){const _0x50e135=_0x113899[_0x5f5848([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50e135||0x0==_0x50e135[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39353d}=new URL(window[_0x5f5848([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x50e135[_0x5f5848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39353d))return!0x0;const _0x5a051d=_0x39353d[_0x5f5848([0x73,0x70,0x6c,0x69,0x74])](_0x5f5848([0x2e]));return _0x50e135[_0x5f5848([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47f96b=>_0x47f96b[_0x5f5848([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f5848([0x2a])))[_0x5f5848([0x6d,0x61,0x70])](_0x250a0e=>_0x250a0e[_0x5f5848([0x73,0x70,0x6c,0x69,0x74])](_0x5f5848([0x2e])))[_0x5f5848([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd175d6=>_0xd175d6[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a051d[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f5848([0x6d,0x61,0x70])](_0x9aa1cd=>Array(_0x5a051d[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9aa1cd[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f5848([0x66,0x69,0x6c,0x6c])](_0x9aa1cd[0x0]===_0x5f5848([0x2a])?_0x5f5848([0x2a]):'')[_0x5f5848([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9aa1cd))[_0x5f5848([0x73,0x6f,0x6d,0x65])](_0x578f7b=>_0x5a051d[_0x5f5848([0x65,0x76,0x65,0x72,0x79])]((_0x2f1fec,_0xdd6604)=>_0x578f7b[_0xdd6604]===_0x2f1fec||_0x578f7b[_0xdd6604]===_0x5f5848([0x2a])));}function _0x3ba257(){return _0xce7b03&&_0xfac7bf?new window[(_0x5f5848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x284778,_0x33b05f)=>{_0xce7b03[_0x5f5848([0x74,0x68,0x65,0x6e])](_0x284778,_0x33b05f),_0xfac7bf[_0x5f5848([0x74,0x68,0x65,0x6e])](_0x4327ae=>{_0x4327ae!=_0x5f5848([0x56,0x61,0x6c,0x69,0x64])&&_0x284778(_0x4327ae);},_0x33b05f);}):_0xce7b03||_0xfac7bf||_0x5f5848([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f2784(_0x3826a3,_0x1ee409){return new window[(_0x5f5848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5618a6=>{if(_0x3c1887())return _0x5618a6(_0x5f5848([0x56,0x61,0x6c,0x69,0x64]));_0x55bce5(),_0x5b3064[_0x5f5848([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f5848([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x38710c=!0x1;const _0x29ac76=_0x436330();function _0x705817(_0x20f869){return!!_0x20f869&&(typeof _0x20f869===_0x5f5848([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x20f869===_0x5f5848([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x20f869[_0x5f5848([0x74,0x68,0x65,0x6e])]===_0x5f5848([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x20f869[_0x5f5848([0x63,0x61,0x74,0x63,0x68])]===_0x5f5848([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1808e1(_0x4cbdc9){_0x5a4c2f(_0x4cbdc9)[_0x5f5848([0x74,0x68,0x65,0x6e])](_0x295d23=>{if(!_0x295d23||_0x295d23[_0x5f5848([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f5848([0x6f,0x6b]))return _0x5f5848([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49d0b0(_0x5df2a7(_0x29ac76+_0x1ee409))!=_0x295d23[_0x5f5848([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f5848([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f5848([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f5848([0x74,0x68,0x65,0x6e])](_0x31bd5e=>(_0x33916d(),_0x31bd5e),()=>{const _0x1bfdaf=_0x706e();return null==_0x1bfdaf?(_0x33916d(),_0x5f5848([0x56,0x61,0x6c,0x69,0x64])):_0x5f5848(_0x1cded6-_0x1bfdaf>(0x63ae0106^_0x2503bb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f5848([0x74,0x68,0x65,0x6e])](_0x5618a6)[_0x5f5848([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5618a6(_0x5f5848([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x48d2e2=0x47946b86^_0x2503bb;function _0x33916d(){const _0x22aa10=_0x5f5848([0x6c,0x6c,0x63,0x74,0x2d])+_0x49d0b0(_0x5df2a7(_0x3826a3)),_0xa5fdc7=_0xcf6a29(_0x49d0b0(window[_0x5f5848([0x4d,0x61,0x74,0x68])][_0x5f5848([0x63,0x65,0x69,0x6c])](_0x1cded6/_0x48d2e2)));window[_0x5f5848([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f5848([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22aa10,_0xa5fdc7);}function _0x706e(){const _0x4b1076=_0x5f5848([0x6c,0x6c,0x63,0x74,0x2d])+_0x49d0b0(_0x5df2a7(_0x3826a3)),_0x52aefd=window[_0x5f5848([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f5848([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b1076);return _0x52aefd?window[_0x5f5848([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcf6a29(_0x52aefd),0x10)*_0x48d2e2:null;}function _0x5a4c2f(_0x50dd52){return new window[(_0x5f5848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb2026a,_0x203fa0)=>{_0x50dd52[_0x5f5848([0x74,0x68,0x65,0x6e])](_0xb2026a,_0x203fa0),window[_0x5f5848([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x203fa0,0x47a351c6^_0x2503bb);});}}_0x5b3064[_0x5f5848([0x6f,0x6e])](_0x5f5848([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x20c513,_0x941408)=>{if(_0x941408[0x0]!=_0x3826a3)return _0x5618a6(_0x5f5848([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x941408[0x1]={..._0x941408[0x1],[_0x5f5848([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x29ac76};},{[_0x5f5848([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f5848([0x68,0x69,0x67,0x68])}),_0x5b3064[_0x5f5848([0x6f,0x6e])](_0x5f5848([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e8fb7=>{_0x705817(_0x1e8fb7[_0x5f5848([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x38710c=!0x0,_0x1808e1(_0x1e8fb7[_0x5f5848([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f5848([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f5848([0x6c,0x6f,0x77])}),_0x4a3e39[_0x5f5848([0x74,0x68,0x65,0x6e])](()=>{_0x38710c||_0x5618a6(_0x5f5848([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3c1887(){return _0x5b3064[_0x5f5848([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f5848([0x76,0x69,0x65,0x77])][_0x5f5848([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f5848([0x61,0x75,0x74,0x6f]);}function _0x55bce5(){_0x5b3064[_0x5f5848([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f5848([0x76,0x69,0x65,0x77])][_0x5f5848([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f5848([0x61,0x75,0x74,0x6f]);}}function _0x5f2da5(_0x342f73){const _0x468fd3=[new window[(_0x5f5848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a4805=>setTimeout(_0x4a4805,0x47abbbca^_0x2503bb)),_0x4a3e39[_0x5f5848([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f5848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4139d0=>{let _0x133f7f=0x0;_0x5b3064[_0x5f5848([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f5848([0x6f,0x6e])](_0x5f5848([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x45ccc6,_0x3acac2)=>{_0x3acac2[0x0][_0x5f5848([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x133f7f++,_0x133f7f==(0x47a284fe^_0x2503bb)&&(_0x4139d0(),_0x45ccc6[_0x5f5848([0x6f,0x66,0x66])]());});}))];return window[_0x5f5848([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f5848([0x72,0x61,0x63,0x65])](_0x468fd3)[_0x5f5848([0x74,0x68,0x65,0x6e])](()=>_0x342f73);}async function _0xf5729a(){await _0x4a3e39,_0x5b3064[_0x5f5848([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f5848([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x428cbe,_0x5b3064[_0x5f5848([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f5848([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x428cbe,_0x5b3064[_0x5f5848([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f5848([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2c65f7(_0x223851){const _0x3ee42c=_0x1c3c46();_0x5b3064[_0x3ee42c]=_0x5f5848([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x223851,_0x223851!=_0x5f5848([0x56,0x61,0x6c,0x69,0x64])&&_0xf5729a();}function _0x1c3c46(){const _0x4a29a9=window[_0x5f5848([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f5848([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f5848([0x6e,0x6f,0x77])]())[_0x5f5848([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f5848([0x2e]),'');let _0x190ecf=_0x5f5848([0x75]);for(let _0x3b98fd=0x0;_0x3b98fd<_0x4a29a9[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b98fd+=0x2){let _0x226932=window[_0x5f5848([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a29a9[_0x5f5848([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3b98fd,_0x3b98fd+0x2));_0x226932>=_0x43e322[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x226932-=_0x43e322[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x190ecf+=_0x43e322[_0x226932];}return _0x190ecf;}function _0xd86a40(){const _0x4cb017=_0xce6c00[_0x5f5848([0x73,0x70,0x6c,0x69,0x74])](_0x5f5848([0x2e]));if(0x3!=_0x4cb017[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d02c7(_0x4cb017[0x1]);function _0x3d02c7(_0x411fb2){const _0x594757=_0x3f7543(_0x411fb2);return _0x594757&&_0xe0e494()?_0x594757:null;function _0xe0e494(){const _0x2a5834=_0x594757[_0x5f5848([0x6a,0x74,0x69])],_0x342e8c=window[_0x5f5848([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a5834[_0x5f5848([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a5834[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x37b907={..._0x594757,[_0x5f5848([0x6a,0x74,0x69])]:_0x2a5834[_0x5f5848([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a5834[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x37b907[_0x5f5848([0x76,0x63])],_0x5df2a7(_0x37b907)==_0x342e8c;}}}async function _0x3ff742(){let _0x57abd2=!0x0;try{const _0x1088a9=_0xce6c00[_0x5f5848([0x73,0x70,0x6c,0x69,0x74])](_0x5f5848([0x2e])),[_0x1889fe,_0x5257b8,_0xa53693]=_0x1088a9;return _0x29e01c(_0x1889fe),await _0xbf7e0a(_0x1889fe,_0x5257b8,_0xa53693),_0x57abd2;}catch{return!0x1;}function _0x29e01c(_0x547db3){const _0x11920f=_0x3f7543(_0x547db3);_0x11920f&&_0x11920f[_0x5f5848([0x61,0x6c,0x67])]==_0x5f5848([0x45,0x53,0x32,0x35,0x36])||(_0x57abd2=!0x1);}async function _0xbf7e0a(_0x166fa5,_0x188189,_0x4705fe){const _0x54a887=window[_0x5f5848([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f5848([0x66,0x72,0x6f,0x6d])](_0x24709a(_0x4705fe),_0x1eac4d=>_0x1eac4d[_0x5f5848([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2fc085=new window[(_0x5f5848([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f5848([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x166fa5+_0x5f5848([0x2e])+_0x188189),_0x166cc5=window[_0x5f5848([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f5848([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x166cc5)return;const _0x48058b=await _0x166cc5[_0x5f5848([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f5848([0x6a,0x77,0x6b]),_0x5ef2e3,{[_0x5f5848([0x6e,0x61,0x6d,0x65])]:_0x5f5848([0x45,0x43,0x44,0x53,0x41]),[_0x5f5848([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f5848([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f5848([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x166cc5[_0x5f5848([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f5848([0x6e,0x61,0x6d,0x65])]:_0x5f5848([0x45,0x43,0x44,0x53,0x41]),[_0x5f5848([0x68,0x61,0x73,0x68])]:{[_0x5f5848([0x6e,0x61,0x6d,0x65])]:_0x5f5848([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48058b,_0x54a887,_0x2fc085)||(_0x57abd2=!0x1);}}function _0x3f7543(_0x43f629){return _0x43f629[_0x5f5848([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f5848([0x65,0x79]))?JSON[_0x5f5848([0x70,0x61,0x72,0x73,0x65])](_0x24709a(_0x43f629)):null;}function _0x24709a(_0x132c15){return window[_0x5f5848([0x61,0x74,0x6f,0x62])](_0x132c15[_0x5f5848([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f5848([0x2b]))[_0x5f5848([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f5848([0x2f])));}function _0x5df2a7(_0x16b8db){let _0x92a5fa=0x1505;function _0x1eba77(_0x303cc9){for(let _0x59bd20=0x0;_0x59bd20<_0x303cc9[_0x5f5848([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59bd20++){const _0x4500df=_0x303cc9[_0x5f5848([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59bd20);_0x92a5fa=(_0x92a5fa<<0x5)+_0x92a5fa+_0x4500df,_0x92a5fa&=_0x92a5fa;}}function _0x3bdd19(_0x1d715b){Array[_0x5f5848([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1d715b)?_0x1d715b[_0x5f5848([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3bdd19):_0x1d715b&&typeof _0x1d715b==_0x5f5848([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f5848([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1d715b)[_0x5f5848([0x73,0x6f,0x72,0x74])]()[_0x5f5848([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x20080d,_0x8658c9])=>{_0x1eba77(_0x20080d),_0x3bdd19(_0x8658c9);}):_0x1eba77(window[_0x5f5848([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1d715b));}return _0x3bdd19(_0x16b8db),_0x92a5fa>>>0x0;}function _0x49d0b0(_0xde3ce6){return _0xde3ce6[_0x5f5848([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f5848([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f5848([0x30]));}function _0xcf6a29(_0x54dd63){return _0x54dd63[_0x5f5848([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f5848([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f5848([0x6a,0x6f,0x69,0x6e])]('');}function _0x428cbe(){}function _0x5f5848(_0x2c65d5){return _0x2c65d5['map'](_0x1127b7=>String['fromCharCode'](_0x1127b7))['join']('');}_0x2c65f7(await _0xf1b621());}(this);}['_moveSelectionToFootnoteDefinition'](_0x12ced9){const {plugins:_0x5037fe,editing:_0x2d86d3,model:_0x2ad969}=this['editor'],_0x2fb88a=_0x5037fe['get'](f)['getFootnote'](_0x12ced9);return!!_0x2fb88a&&(_0x2ad969['change'](_0x1923d6=>{_0x1923d6['setSelection'](_0x1923d6['createPositionAt'](_0x2fb88a['definition'],'end'));}),_0x2d86d3['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4c05eb){const {plugins:_0x48f313,editing:_0x42eb36,model:_0x4ab028}=this['editor'],_0x25ba47=_0x48f313['get'](f)['getFootnote'](_0x4c05eb);return!!_0x25ba47&&(_0x4ab028['change'](_0x16b1f5=>{_0x16b1f5['setSelection'](_0x25ba47['reference'],'on');}),_0x42eb36['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5a14d6}=this['editor']['model'],_0x19f983=this['editor']['config']['get']('footnotes.multiBlock');_0x5a14d6['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5a14d6['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5a14d6['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x19f983?_0x5a14d6['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5a14d6['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5a14d6['addChildCheck'](_0xa2a56b=>{for(const _0x46ead5 of _0xa2a56b)if('footnoteDefinition'===_0x46ead5['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3da64f}=this,{conversion:_0x595fa6,editing:_0x41d52a}=_0x3da64f,{t:t}=_0x3da64f['locale'];_0x595fa6['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x200dbe,{writer:_0x4f438d,consumable:_0x522739})=>{const _0x402ffe=_0x200dbe['getChild'](0x0);if(!_0x402ffe||!_0x402ffe['is']('element','a'))return null;const _0x4b96d7=_0x402ffe['getAttribute']('href')||'';if(!_0x4b96d7['startsWith']('#'))return null;const _0x17d766=_0x4b96d7['replace'](/^#/,'');if(!_0x17d766)return null;_0x522739['consume'](_0x402ffe,{'name':!0x0,'attributes':['href']});for(const {item:_0x3706dc}of _0x41d52a['view']['createRangeIn'](_0x402ffe))_0x3706dc['is']('$textProxy')?_0x522739['consume'](_0x3706dc['textNode'],{'name':!0x0}):_0x3706dc['is']('element')&&_0x522739['consume'](_0x3706dc,{'name':!0x0});return _0x4f438d['createElement']('footnoteRef',{'footnoteId':_0x17d766});}}),_0x595fa6['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x38de0e,{writer:_0x1eb42e})=>D(_0x38de0e,_0x1eb42e)}),_0x595fa6['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3dd403,{writer:_0x15794c})=>{const _0x213d99=_0x3dd403['getAttribute']('footnoteCounter');return _0x1ac0da(D(_0x3dd403,_0x15794c),_0x15794c,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x213d99)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5e92fe}=this,{t:t}=_0x5e92fe['locale'],{conversion:_0x19c38f}=_0x5e92fe;_0x19c38f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x19c38f['for']('upcast')['add'](_0x55a9c3=>{_0x55a9c3['on']('element:ol',(_0x4ee1eb,_0x4f68c8,_0x11b4e6)=>{const _0x3d21ec=_0x4f68c8['viewItem'];if(!_0x3d21ec['hasClass']('footnotes-list')||!_0x4f68c8['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x11b4e6['consumable']['consume'](_0x3d21ec,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x162d5e,modelCursor:_0x1cd365}=_0x11b4e6['convertChildren'](_0x4f68c8['viewItem'],_0x4f68c8['modelCursor']);_0x4f68c8['modelRange']=_0x162d5e,_0x4f68c8['modelCursor']=_0x1cd365;}),_0x55a9c3['on']('element:hr',(_0x10bc8c,_0x46823b,_0x1d4994)=>{const _0x5a3fc4=_0x46823b['viewItem'];_0x5a3fc4['hasClass']('footnotes-divider')&&_0x46823b['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1d4994['consumable']['consume'](_0x5a3fc4,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x19c38f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5dc163,{writer:_0x4f058a})=>v(_0x4f058a)}),_0x19c38f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xed48c3,{writer:_0x1575f1})=>{const _0x948255=v(_0x1575f1,{'data-footnotes-list-label':t('Footnotes')}),_0x1d2e41=_0x1ac0da(_0x948255,_0x1575f1,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1575f1['setCustomProperty']('footnotesDefinitions',!0x0,_0x1d2e41),_0x1d2e41;}});}['_defineDefinitionConverters'](){const {editor:_0x2f00c8}=this,{conversion:_0x577879,locale:_0x17ec4b}=_0x2f00c8,_0x41131f=_0x2f00c8['config']['get']('footnotes.multiBlock');_0x577879['for']('upcast')['add'](_0xe3b644=>{_0xe3b644['on']('element:li',(_0x3cba60,_0xd9f961,_0x22951d)=>{const _0x1f9384=_0xd9f961['viewItem'];if(!_0x1f9384['hasClass']('footnote-definition')||!_0x1f9384['getAttribute']('id'))return;const _0x53c44c=_0x1f9384['parent'];if(!_0x53c44c['is']('element','ol')||!_0x53c44c['hasClass']('footnotes-list'))return;if(!_0x22951d['consumable']['test'](_0x1f9384,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5dd81a=_0x22951d['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1f9384['getAttribute']('id')});if(!_0x22951d['safeInsert'](_0x5dd81a,_0xd9f961['modelCursor']))return;_0x22951d['consumable']['consume'](_0x1f9384,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4ac642=Array['from'](_0x1f9384['getChildren']())['find'](_0x22f08e=>_0x22f08e['is']('element')&&_0x22f08e['hasClass']('footnote-content'));for(const _0x1a14ac of _0x1f9384['getChildren']())_0x1a14ac['is']('element')&&(_0x22951d['consumable']['consume'](_0x1a14ac,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x22951d['consumable']['consume'](_0x1a14ac,{'name':!0x0,'classes':'footnote-content'}));if(_0x4ac642){if(_0x41131f)_0x22951d['convertChildren'](_0x4ac642,_0x5dd81a);else{const _0x31f763=_0x22951d['writer']['createElement']('footnoteInlineContent');_0x22951d['writer']['insert'](_0x31f763,_0x5dd81a),_0x22951d['convertChildren'](_0x4ac642,_0x31f763);}}_0x22951d['updateConversionResult'](_0x5dd81a,_0xd9f961);});}),_0x577879['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xfe5527,{writer:_0x154f3f})=>b(_0xfe5527,_0x154f3f,_0x17ec4b,{'dataPipeline':!0x0})}),_0x577879['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x168615,{writer:_0x3bd19e})=>b(_0x168615,_0x3bd19e,_0x17ec4b)});}['_defineBogusParagraphConverters'](){const {editor:_0x3828f7}=this,{conversion:_0x3b762a}=_0x3828f7;_0x3828f7['config']['get']('footnotes.multiBlock')?(_0x3b762a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x3b762a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3828f7['model']['document'],'change:data',()=>{!function(_0x259267,_0x139a79){const _0x270ffd=_0x259267['document']['differ'],_0x3f2b91=new Set();for(const _0x2a2e08 of _0x270ffd['getChanges']()){const _0x1f76ef='attribute'==_0x2a2e08['type']?_0x2a2e08['range']['start']['parent']:_0x2a2e08['position']['parent'];_0x1f76ef['is']('element','footnoteDefinition')&&_0x3f2b91['add'](_0x1f76ef);}for(const _0x2e9b54 of _0x3f2b91['values']()){const _0x3c86de=Array['from'](_0x2e9b54['getChildren']())['filter'](_0x48564c=>g(_0x48564c,_0x139a79['mapper']));for(const _0x3da08b of _0x3c86de)_0x139a79['reconvertItem'](_0x3da08b);}}(_0x3828f7['model'],_0x3828f7['editing']);})):(_0x3b762a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x3b762a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x50a236,{writer:_0x356074})=>{const _0x2085e1=_0x356074['createContainerElement']('span');return _0x356074['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2085e1),_0x2085e1;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4d8c07}=this,{editing:_0x211ad4,t:t}=_0x4d8c07,_0x5ccb90=_0x4d8c07['model']['document']['selection'];_0x4d8c07['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4d8c07['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x211ad4['view']['document'],'enter',(_0x292658,_0xb5323d)=>{const _0x40aab0=function(_0x143250){const _0x2b2b62=_0x143250['getSelectedElement']();if(_0x2b2b62?.['is']('element','footnoteRef'))return _0x2b2b62;return null;}(_0x5ccb90);if(_0x40aab0){const _0xefa3f4=_0x40aab0['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xefa3f4),_0xb5323d['preventDefault'](),_0x292658['stop']();}},{'context':_0x484cd1});}['_defineClickHandlers'](){const {editor:_0x37d013}=this,{editing:_0x53c5d6}=_0x37d013;_0x37d013['editing']['view']['addObserver'](_0x37616e),_0x37d013['editing']['view']['addObserver'](_0x404269);let _0x34336f=!0x1;this['listenTo'](_0x53c5d6['view']['document'],'pointerdown',(_0x14704f,_0x1df5ce)=>{const {target:_0x229a75}=_0x1df5ce,_0x114c63=_0x53c5d6['view']['document']['selection'];_0x34336f=!!(_0x229a75?.['is']('element','a')&&_0x229a75['parent']?.['is']('element','sup')&&_0x229a75['parent']['hasClass']('footnote'))&&_0x114c63['getSelectedElement']()===_0x229a75['parent'];},{'priority':'high'}),this['listenTo'](_0x53c5d6['view']['document'],'click',(_0x388b5a,_0x202b33)=>{const {target:_0x588d4d}=_0x202b33;if(!_0x588d4d?.['is']('element','a'))return;if(_0x588d4d['parent']?.['is']('element','sup')&&_0x588d4d['parent']['hasClass']('footnote')&&!_0x34336f)return void _0x202b33['preventDefault']();let _0x4d3572=_0x588d4d['getAttribute']('href');if(!_0x4d3572?.['startsWith']('#'))return;_0x4d3572=_0x4d3572['slice'](0x1);let _0x1c6683=!0x1;(_0x4d3572['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4d3572['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4d3572))&&(_0x1c6683=!0x0),_0x1c6683&&(_0x202b33['preventDefault'](),_0x388b5a['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x18839e}={}){return(_0x1efc8b,{writer:_0x557697})=>{if(!p(_0x1efc8b))return null;if(!_0x18839e)return _0x557697['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x179fd0=_0x557697['createContainerElement']('p');return _0x557697['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x179fd0),_0x179fd0;};}function p(_0x19073c){const {parent:_0xacfc9b}=_0x19073c;if(!_0xacfc9b?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xacfc9b['childCount'])return!0x1;for(const _0x5a5a20 of _0x19073c['getAttributeKeys']())if(!_0x5a5a20['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5a5a20)return!0x1;return!0x0;}function g(_0x1a4f1c,_0x28ec1f){if(!_0x1a4f1c['is']('element','paragraph'))return!0x1;const _0x199f1a=_0x28ec1f['toViewElement'](_0x1a4f1c);return!!_0x199f1a&&p(_0x1a4f1c)!==_0x199f1a['is']('element','span');}function J(_0x511a6e){return _0x484cd1(_0x511a6e)&&_0x511a6e['is']('containerElement')&&!!_0x511a6e['getCustomProperty']('footnotesDefinitions');}function v(_0x3e4d57,_0x4e1064={}){const _0x2c72d1=_0x3e4d57['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2c9f23=_0x3e4d57['createContainerElement']('ol',{'class':'footnotes-list'},_0x3e4d57['createSlot']());return _0x3e4d57['createContainerElement']('div',{'class':'footnotes',..._0x4e1064},[_0x2c72d1,_0x2c9f23]);}function D(_0x31a4ac,_0x2dfd9d){const _0x3debe5=_0x31a4ac['getAttribute']('footnoteId'),_0x3ce8c3=_0x31a4ac['getAttribute']('footnoteCounter'),_0x10a4a4=_0x2dfd9d['createUIElement']('a',{'href':'#'+_0x3debe5},function(_0x3a70ae){const _0x353ab5=this['toDomElement'](_0x3a70ae);return _0x353ab5['textContent']=_0x3ce8c3,_0x353ab5;}),_0x56747c=_0x2dfd9d['createContainerElement']('sup',{'id':'ref-'+_0x3debe5,'class':'footnote'},[_0x10a4a4]);return _0x56747c['getFillerOffset']=()=>null,_0x56747c;}function b(_0x171b36,_0x50a986,_0x56cac9,{dataPipeline:_0x55fee9}={}){const {t:t}=_0x56cac9,_0x4a2fd5=_0x171b36['getAttribute']('footnoteId'),_0x4e12aa=_0x50a986['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4a2fd5},function(_0x3f86c4){const _0x1cf8b6=this['toDomElement'](_0x3f86c4);return _0x1cf8b6['innerText']='^',_0x1cf8b6;}),_0x5abec9=_0x55fee9?_0x50a986['createContainerElement']('div',{'class':'footnote-content'}):_0x28b8a0(_0x50a986['createEditableElement']('div',{'class':'footnote-content'}),_0x50a986,{'label':t('Footnote\x20content.')});return _0x50a986['insert'](_0x50a986['createPositionAt'](_0x5abec9,0x0),_0x50a986['createSlot']()),_0x50a986['createContainerElement']('li',{'class':'footnote-definition','id':_0x4a2fd5},[_0x4e12aa,_0x5abec9]);}class e extends _0x4811b6{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x1ef646];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x35030c}=this,{plugins:_0x4e4960,model:_0x2bad34}=_0x35030c,_0x333f6e=_0x4e4960['get'](_0x1ef646),_0x404e3a=_0x4e4960['get'](f);this['listenTo'](_0x333f6e,'outputTransformation',(_0x5bafe3,_0x123a5f)=>{const _0x46b068=c(_0x2bad34['createRangeIn'](_0x123a5f['content']));if(!_0x46b068['length'])return;const _0x16753d=_0x404e3a['getFootnotes'](),_0x153fdc=_0x46b068['reduce']((_0x4ad628,_0x46f6f5)=>{const _0x532a08=_0x16753d['find'](_0x12d7f7=>_0x12d7f7['id']===_0x46f6f5);if(_0x532a08){const _0x210281=_0x35030c['data']['toView'](_0x532a08['definition'],{'isClipboardPipeline':!0x0}),_0x2af13=_0x35030c['data']['htmlProcessor']['toData'](_0x210281);_0x4ad628[_0x532a08['id']]=_0x2af13;}return _0x4ad628;},Object['create'](null));_0x123a5f['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x153fdc));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x3c9002}=this,{model:_0x27b51f,plugins:_0x71f06}=_0x3c9002,{view:_0x131bd2}=_0x3c9002['editing'],_0x53d82d=_0x71f06['get'](_0x1ef646),_0x41656f=_0x71f06['get'](f),_0x2776f6=_0x3c9002['config']['get']('footnotes.multiBlock');let _0x527906=null;this['listenTo'](_0x131bd2['document'],'clipboardInput',(_0xf7861,_0x49b7ae)=>{const _0x265e36=_0x49b7ae['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x527906=_0x265e36?JSON['parse'](_0x265e36):null;}),this['listenTo'](_0x53d82d,'contentInsertion',(_0x3de8,_0x102a40)=>{const _0x527d4d=_0x102a40['sourceEditorId']===this['editor']['id'];_0x527d4d&&'drop'===_0x102a40['method']||_0x27b51f['change'](_0x22b142=>{let _0x3b235c=_0x41656f['getFootnotesDefinitionsObjectElement']();const _0x270b1c=!!_0x3b235c&&Array['from'](_0x27b51f['document']['selection']['getSelectedBlocks']())['includes'](_0x3b235c);if((_0x3b235c&&!_0x270b1c||!_0x3b235c&&!_0x527906)&&function(_0x4e0f52,_0x20c3eb){const _0x543a3b=[];for(const {item:_0x40b988}of _0x4e0f52['createRangeIn'](_0x20c3eb))_0x40b988['is']('element','footnotesDefinitions')&&_0x543a3b['push'](_0x40b988);for(const _0x14029e of _0x543a3b)_0x4e0f52['remove'](_0x14029e);}(_0x22b142,_0x102a40['content']),!_0x527906)return;const {selection:_0x45e24d}=_0x27b51f['document'],_0x4f8421=_0x45e24d['getFirstRange']()['root'];_0x3b235c&&!_0x270b1c||(_0x3b235c=function(_0xf1830d,_0x1f1fcd){for(const {item:_0xc6ba0f}of _0xf1830d['createRangeIn'](_0x1f1fcd))if(_0xc6ba0f['is']('element','footnotesDefinitions'))return _0xc6ba0f;return null;}(_0x22b142,_0x102a40['content']),_0x3b235c||=_0x41656f['_insertEmptyFootnotesDefinitionsContainer'](_0x22b142,_0x4f8421));const _0x106144=Array['from'](_0x45e24d['getRanges']())['flatMap'](c),_0x9dc271=function(_0x360889,_0x4e71c0,_0x129485){const _0x2fa3cf=Object['create'](null);for(const {item:_0x26c7b2}of _0x360889['createRangeIn'](_0x4e71c0))if(_0x26c7b2['is']('element','footnoteRef')){const _0x58fc73=_0x26c7b2['getAttribute']('footnoteId');if(!_0x129485(_0x58fc73))continue;_0x2fa3cf[_0x58fc73]||(_0x2fa3cf[_0x58fc73]=_0x436330()),_0x360889['setAttribute']('footnoteId',_0x2fa3cf[_0x58fc73],_0x26c7b2);}return _0x2fa3cf;}(_0x22b142,_0x102a40['content'],_0x15560c=>{if(!_0x527d4d)return!0x0;return!!_0x41656f['getFootnote'](_0x15560c)&&!_0x106144['includes'](_0x15560c);});for(const [_0x333128,_0x985887]of Object['entries'](_0x527906)){const _0x5b39b7=_0x9dc271[_0x333128]||_0x333128,_0x22c1d5=_0x22b142['createElement']('footnoteDefinition',{'footnoteId':_0x5b39b7}),_0x347ef1=_0x3c9002['data']['htmlProcessor']['toView'](_0x985887);let _0xf12d9c;if(_0x2776f6)_0xf12d9c=_0x3c9002['data']['toModel'](_0x347ef1,_0x22c1d5);else{_0xf12d9c=_0x22b142['createElement']('footnoteInlineContent');const _0x43559b=_0x3c9002['data']['toModel'](_0x347ef1,_0xf12d9c);_0x22b142['insert'](_0x43559b,_0xf12d9c);}_0x22b142['append'](_0xf12d9c,_0x22c1d5),_0x22b142['insert'](_0x22c1d5,_0x3b235c,'end');}_0x527906=null;});});}}function c(_0x1ac090){const _0x8e9c55=new Set();for(const {item:_0x1aaa99}of _0x1ac090)_0x1aaa99['is']('element','footnoteRef')&&_0x8e9c55['add'](_0x1aaa99['getAttribute']('footnoteId'));return Array['from'](_0x8e9c55);}class i extends _0x4811b6{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3b6c3b}=this,{componentFactory:_0x4574bb}=_0x3b6c3b['ui'];_0x4574bb['add']('insertFootnote',x(_0x3b6c3b,_0x30c80f)),_0x4574bb['add']('menuBar:insertFootnote',x(_0x3b6c3b,_0x3e461c)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x146322=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x42458d;for(const _0x423398 in _0x146322){const _0x31448d=_0x423398,_0x24d1c9=_0x146322[_0x31448d];if('footnotesLicenseKeyValid'==_0x24d1c9||'footnotesLicenseKeyInvalid'==_0x24d1c9||'footnotesLicenseKeyExpired'==_0x24d1c9||'footnotesLicenseKeyDomainLimit'==_0x24d1c9||'footnotesLicenseKeyNotAllowed'==_0x24d1c9||'footnotesLicenseKeyEvaluationLimit'==_0x24d1c9||'footnotesLicenseKeyTrialLimit'==_0x24d1c9||'footnotesLicenseKeyUsageLimit'==_0x24d1c9){delete _0x146322[_0x31448d],_0x42458d=_0x24d1c9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x42458d&&_0x146322['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x42458d&&_0x146322['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x42458d&&_0x146322['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x42458d&&_0x146322['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x42458d&&_0x146322['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x42458d&&_0x146322['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x42458d&&_0x146322['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x71b88d,_0x2b2aa9){const _0x6b0fa7=_0x71b88d['commands']['get']('insertFootnote');return _0x38ae3e=>{const {t:t}=_0x38ae3e,_0x396ca1=new _0x2b2aa9(_0x38ae3e),_0x1a76bf=_0x396ca1 instanceof _0x3e461c;return _0x396ca1['bind']('isEnabled')['to'](_0x6b0fa7,'isEnabled'),_0x396ca1['set']({'label':t(_0x1a76bf?'Footnote':'Insert\x20footnote'),'icon':_0x28859b,'tooltip':!0x0}),_0x396ca1['on']('execute',()=>{_0x6b0fa7['execute'](),_0x71b88d['editing']['view']['focus']();}),_0x396ca1;};}class lt extends _0x4811b6{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x57bc43{['refresh'](){const {editor:_0x7225dc}=this,_0x4ffb50=_0x7225dc['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4ffb50,this['value']=_0x4ffb50?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1c09f0}){const {editor:_0x1f2de6}=this,_0x1761b3=_0x1f2de6['plugins']['get'](f),_0x31bd5f=_0x1761b3['getFootnotesDefinitionsObjectElement']();_0x31bd5f&&Q['includes'](_0x1c09f0)&&_0x1f2de6['model']['change'](_0x2206b4=>{_0x2206b4['setAttribute']('footnotesListStyle',_0x1c09f0,_0x31bd5f),_0x1761b3['_updateFootnotesCounters'](_0x2206b4);});}}class C extends _0x57bc43{['refresh'](){const {editor:_0x655c0e}=this,_0x598f2a=_0x655c0e['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x598f2a,this['value']=_0x598f2a?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x2d8506}){const {editor:_0x490ef0}=this,_0x4c70f3=_0x490ef0['plugins']['get'](f),_0x2e132d=_0x4c70f3['getFootnotesDefinitionsObjectElement']();_0x2e132d&&Number['isInteger'](_0x2d8506)&&_0x490ef0['model']['change'](_0x23c1dc=>{_0x23c1dc['setAttribute']('footnotesListStart',_0x2d8506,_0x2e132d),_0x4c70f3['_updateFootnotesCounters'](_0x23c1dc);});}}class P extends _0x4811b6{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x128ecb}=this;_0x128ecb['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x128ecb['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x128ecb['commands']['add']('footnotesStyle',new S(_0x128ecb)),_0x128ecb['commands']['add']('footnotesStart',new C(_0x128ecb)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x46c65e}=this,{schema:_0x5c5586}=_0x46c65e['model'];_0x5c5586['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x328b71}=this,{conversion:_0x2125fd,model:_0x3a4622}=_0x328b71,{schema:_0x30d629}=_0x3a4622;_0x2125fd['for']('upcast')['add'](_0x431e6b=>{_0x431e6b['on']('element:ol',(_0xb6821c,_0x51c5b3,_0x536b47)=>{const _0x5d76b9=_0x51c5b3['viewItem'],_0xdbdbf8=_0x51c5b3['modelCursor']?.['parent'];_0x5d76b9['hasClass']('footnotes-list')&&_0xdbdbf8?.['is']('element','footnotesDefinitions')&&(function(_0x464cc6,_0x558c21,_0xf9bf29,_0x3bb228){if(!_0x3bb228['checkAttribute'](_0x558c21,'footnotesListStart'))return;let _0x3c08f7=0x1;const _0x2d9d73=_0xf9bf29['consumable']['consume'](_0x464cc6,{'attributes':'start'});if(_0x2d9d73){const _0x5670a0=Number['parseInt'](_0x464cc6['getAttribute']('start'),0xa);Number['isNaN'](_0x5670a0)||(_0x3c08f7=_0x5670a0);}!_0x2d9d73&&_0x558c21['hasAttribute']('footnotesListStart')||_0xf9bf29['writer']['setAttribute']('footnotesListStart',_0x3c08f7,_0x558c21);}(_0x5d76b9,_0xdbdbf8,_0x536b47,_0x30d629),function(_0x54681d,_0x3d1bf3,_0x186985,_0x9dd437){if(!_0x9dd437['checkAttribute'](_0x3d1bf3,'footnotesListStyle'))return;let _0x5bf204='decimal',_0x2a6bc0=!0x1;if(_0x186985['consumable']['consume'](_0x54681d,{'attributes':'type'})){const _0x30770a={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x54681d['getAttribute']('type')];_0x30770a&&(_0x5bf204=_0x30770a),_0x2a6bc0=!0x0;}_0x186985['consumable']['consume'](_0x54681d,{'styles':'list-style-type'})&&(_0x5bf204=function(_0x470dc2){switch(_0x470dc2){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x470dc2;}}(_0x54681d['getStyle']('list-style-type')),_0x2a6bc0=!0x0),!_0x2a6bc0&&_0x3d1bf3['hasAttribute']('footnotesListStyle')||_0x186985['writer']['setAttribute']('footnotesListStyle',_0x5bf204,_0x3d1bf3);}(_0x5d76b9,_0xdbdbf8,_0x536b47,_0x30d629));});}),_0x2125fd['for']('downcast')['add'](_0x209741=>{_0x209741['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x467cb0,_0xc10521,_0x479bc2)=>{if(!_0x479bc2['consumable']['consume'](_0xc10521['item'],_0x467cb0['name']))return;const _0x238beb=M(_0xc10521['item'],_0x479bc2['mapper']),{attributeNewValue:_0x571cd7}=_0xc10521;null==_0x571cd7||0x1===_0x571cd7?_0x479bc2['writer']['removeAttribute']('start',_0x238beb):_0x479bc2['writer']['setAttribute']('start',String(_0x571cd7),_0x238beb);}),_0x209741['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x4f5275,_0x9f64f4,_0x5cec55)=>{if(!_0x5cec55['consumable']['consume'](_0x9f64f4['item'],_0x4f5275['name']))return;const _0x57c9ad=M(_0x9f64f4['item'],_0x5cec55['mapper']),{attributeNewValue:_0x35cd46}=_0x9f64f4;_0x35cd46&&'decimal'!==_0x35cd46?_0x5cec55['writer']['setStyle']('list-style-type',_0x35cd46,_0x57c9ad):_0x5cec55['writer']['removeStyle']('list-style-type',_0x57c9ad);});});}['_definePostfixer'](){const {editor:_0xd520b2}=this,{model:_0x388c2d}=_0xd520b2,_0x5a0f2d=_0xd520b2['plugins']['get'](f),_0x395425=this['_getDefaultListStyle'](),_0x2a5633=this['_getDefaultStartIndex']();_0x388c2d['document']['registerPostFixer'](_0x1c027c=>{const _0x1504af=_0x388c2d['document']['differ']['getChanges']();let _0x4e2b6f=!0x1;for(const _0x25ff7b of _0x1504af){if('insert'!==_0x25ff7b['type']||'$text'===_0x25ff7b['name'])continue;const _0x1a2798=_0x388c2d['createRangeOn'](_0x25ff7b['position']['nodeAfter']);for(const _0x5f2445 of _0x1a2798['getItems']())_0x5f2445['is']('element','footnotesDefinitions')&&(!_0x5f2445['hasAttribute']('footnotesListStart')&&_0x388c2d['schema']['checkAttribute'](_0x5f2445,'footnotesListStart')&&(_0x1c027c['setAttribute']('footnotesListStart',_0x2a5633,_0x5f2445),_0x4e2b6f=!0x0),!_0x5f2445['hasAttribute']('footnotesListStyle')&&_0x388c2d['schema']['checkAttribute'](_0x5f2445,'footnotesListStyle')&&(_0x1c027c['setAttribute']('footnotesListStyle',_0x395425,_0x5f2445),_0x4e2b6f=!0x0));}return _0x4e2b6f&&_0x5a0f2d['_updateFootnotesCounters'](_0x1c027c),_0x4e2b6f;});}['_defineFormatter'](){const {editor:_0x2dd21d}=this;_0x2dd21d['plugins']['get'](f)['setFootnoteFormatter'](_0x873e96=>this['_formatFootnoteListValue'](_0x873e96));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4e11ae,value:_0x27fb40,digits:_0xd057cc}){const _0xec70f4=_0x4e11ae['getAttribute']('footnotesListStyle'),_0x2f07d0=_0x4e11ae['getAttribute']('footnotesListStart'),_0x52a2ba=Math['floor'](_0x27fb40)+(_0x2f07d0??0x1)-0x1;switch(_0xec70f4){case'decimal-leading-zero':return function(_0x1ad685,_0x703112){return String(_0x1ad685)['padStart'](_0x703112,'0');}(_0x52a2ba,Math['max'](0x2,_0xd057cc));case'lower-alpha':case'lower-latin':return N(_0x52a2ba,!0x1);case'upper-alpha':case'upper-latin':return N(_0x52a2ba,!0x0);case'lower-roman':return X(_0x52a2ba,!0x1);case'upper-roman':return X(_0x52a2ba,!0x0);default:return String(_0x52a2ba);}}}function M(_0x2c5e3f,_0x4c3008){const _0x2d0d8f=_0x4c3008['toViewElement'](_0x2c5e3f);return Array['from'](_0x2d0d8f['getChildren']())['find'](_0x5746c4=>_0x5746c4['is']('element','ol')&&_0x5746c4['hasClass']('footnotes-list'));}function N(_0x309819,_0x24069a){let _0x3a2bd4='',_0x41554f=_0x309819;for(;_0x41554f>0x0;){const _0x145d14=(_0x41554f-0x1)%0x1a;_0x3a2bd4=String['fromCharCode'](0x61+_0x145d14)+_0x3a2bd4,_0x41554f=Math['floor']((_0x41554f-0x1)/0x1a);}return _0x24069a?_0x3a2bd4['toUpperCase']():_0x3a2bd4;}const V=[{'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 X(_0x1ef3c0,_0x5b6434){let _0x215a47='',_0x3bfba1=_0x1ef3c0;for(const {value:_0x335088,numeral:_0x50f8ea}of V)for(;_0x3bfba1>=_0x335088;)_0x215a47+=_0x50f8ea,_0x3bfba1-=_0x335088;return _0x5b6434?_0x215a47:_0x215a47['toLowerCase']();}class H extends _0x109799{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0xfe5986();['focusCycler'];constructor(_0x738a1c,{styleButtonViews:_0x1ed339,styleGridAriaLabel:_0x126250}){super(_0x738a1c),(this['focusCycler']=new _0x1a9c37({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1ed339,_0x126250),[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 _0x1a57cb of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1a57cb['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['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 _0x57f7d2=_0x5d192e=>_0x5d192e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x57f7d2),this['keystrokes']['set']('arrowleft',_0x57f7d2),this['keystrokes']['set']('arrowup',_0x57f7d2),this['keystrokes']['set']('arrowdown',_0x57f7d2);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4ab798,_0x24707b){const _0x345ee1=new _0x109799(this['locale']);return _0x345ee1['children']=_0x345ee1['createCollection'](),_0x345ee1['children']['addMany'](_0x4ab798),_0x345ee1['setTemplate']({'tag':'div','attributes':{'aria-label':_0x24707b,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x345ee1['children']}),_0x345ee1['children']['delegate']('execute')['to'](this),_0x345ee1['focus']=function(){for(const _0x41def4 of this['children'])if(_0x41def4 instanceof _0x30c80f&&_0x41def4['isOn'])return void _0x41def4['focus']();this['children']['first']['focus']();},_0x345ee1['focusTracker']=new ot(),_0x345ee1['keystrokes']=new rt(),_0x345ee1['render'](),_0x345ee1['keystrokes']['listenTo'](_0x345ee1['element']),this['children']['add'](_0x345ee1),_0x345ee1;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x346bed=this['_createStartIndexPropertyView'](),_0x59b303=[_0x346bed],_0x7a5544=new st(this['locale'],_0x59b303);return _0x7a5544['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x7a5544['buttonView']['bind']('isEnabled')['toMany'](_0x59b303,'isEnabled',(..._0x3134df)=>_0x3134df['some'](_0x57b115=>_0x57b115)),_0x7a5544['buttonView']['on']('change:isEnabled',(_0x2d8336,_0x4fc40f,_0xb8460c)=>{_0xb8460c||(_0x7a5544['isCollapsed']=!0x0);}),this['children']['add'](_0x7a5544),[_0x346bed,_0x7a5544];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x56a8f4=new it(this['locale'],et);return _0x56a8f4['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x56a8f4['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x56a8f4['fieldView']['on']('input',()=>{const _0x21b821=_0x56a8f4['fieldView']['element'],_0x3b08ef=_0x21b821['valueAsNumber'];Number['isNaN'](_0x3b08ef)?_0x56a8f4['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x21b821['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3b08ef}):_0x56a8f4['errorText']=t(_0x3b08ef<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x56a8f4;}}class j extends _0x4811b6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x32fb2d,_0x4ee6c5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2c0ccf}=this,{componentFactory:_0xcc6170}=_0x2c0ccf['ui'];_0x2c0ccf['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xcc6170['add']('footnotesStyle',function(_0x43644f){return _0x24c6ae=>{const {t:t}=_0x24c6ae,_0x22e938=_0x43644f['commands']['get']('footnotesStyle'),_0x2289b2=_0x40a7ee(_0x24c6ae),{buttonView:_0x37b406}=_0x2289b2;return _0x2289b2['class']='ck-footnotes-styles-dropdown',_0x2289b2['bind']('isEnabled')['to'](_0x22e938,'isEnabled'),_0x37b406['set']({'label':t('Footnotes\x20style'),'icon':_0x28859b,'tooltip':!0x0}),_0x2289b2['once']('change:isOpen',()=>{const _0x4f2ce7=function({editor:_0x4c3294,dropdownView:_0x40b482}){const {t:t}=_0x4c3294['locale'],_0x805344=t('Footnotes\x20definitions\x20styles'),_0xc5d20=function(_0x584edd){const t=_0x584edd['locale']['t'],_0x45d1fa=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x53be78},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x268531},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x416213},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x95de4f},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3d2866},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x3b54a9}];return _0x45d1fa['map'](function(_0x2bd132){const _0x3250f4=_0x2bd132['locale'];return({label:_0x2fd05b,icon:_0x2d8b2f,tooltip:_0x36d2f3,style:_0xc6c7f})=>{const _0x629721=_0x2bd132['commands']['get']('footnotesStyle'),_0xc47ab4=new _0x30c80f(_0x3250f4);return _0xc47ab4['set']({'label':_0x2fd05b,'icon':_0x2d8b2f,'tooltip':_0x36d2f3}),_0xc47ab4['bind']('isOn')['to'](_0x629721,'value',_0x8f0889=>_0x8f0889===_0xc6c7f),_0xc47ab4['bind']('isEnabled')['to'](_0x629721,'isEnabled'),_0xc47ab4['on']('execute',()=>{_0x2bd132['execute']('footnotesStyle',{'value':_0xc6c7f}),_0x2bd132['editing']['view']['focus']();}),_0xc47ab4;};}(_0x584edd));}(_0x4c3294),_0x2f4820=new H(_0x4c3294['locale'],{'styleGridAriaLabel':_0x805344,'styleButtonViews':_0xc5d20}),_0xcbfe3a=_0x4c3294['commands']['get']('footnotesStart');return _0x2f4820['startIndexFieldView']['bind']('isEnabled')['to'](_0xcbfe3a),_0x2f4820['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xcbfe3a),_0x2f4820['on']('footnotesListStart',(_0x55854d,_0x52ef49)=>{_0x4c3294['execute']('footnotesStart',{'value':_0x52ef49['startIndex']});}),_0x2f4820['delegate']('execute')['to'](_0x40b482),_0x2f4820;}({'editor':_0x43644f,'dropdownView':_0x2289b2});_0x2289b2['panelView']['children']['add'](_0x4f2ce7);}),_0x2289b2;};}(_0x2c0ccf));}['afterInit'](){const {editor:_0x37f91a}=this,{t:t}=_0x37f91a['locale'],_0x9b198=_0x37f91a['plugins']['get'](_0x4ee6c5),{defaultPositions:_0xbe296a}=_0x3a60f8;_0x9b198['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x37f91a['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3c967a=>{let _0x3c7e58=_0x3c967a['getFirstPosition']()?.['parent'];return _0x3c7e58?.['is']('$text')&&(_0x3c7e58=_0x3c7e58['parent']),_0x3c7e58?.['is']('element')?_0x3c7e58['findAncestor'](J):null;},'positions':[_0xbe296a['southArrowNorth'],_0xbe296a['southArrowNorthMiddleWest'],_0xbe296a['southArrowNorthMiddleEast'],_0xbe296a['southArrowNorthWest'],_0xbe296a['southArrowNorthEast'],_0xbe296a['northArrowSouth'],_0xbe296a['northArrowSouthMiddleWest'],_0xbe296a['northArrowSouthMiddleEast'],_0xbe296a['northArrowSouthWest'],_0xbe296a['northArrowSouthEast'],_0xbe296a['viewportStickyNorth']]});}}class ft extends _0x4811b6{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
23
+ import{Plugin as _0x4b67c2,Command as _0x2564d4}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3606c9,isWidget as _0x131354,toWidgetEditable as _0x1df609,WidgetToolbarRepository as _0x28cbf4}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5137b0,logWarning as _0x16f551,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x58b2b1,ClickObserver as _0x2b2e4d}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x444137}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1f520d,ButtonView as _0x4657b1,View as _0x6cf942,ViewCollection as _0x36bc0b,FocusCycler as _0x1c798d,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x4d078f,BalloonPanelView as _0x29eca1,createDropdown as _0x4b98e2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x5c3133,IconListStyleDecimal as _0x2f7224,IconListStyleDecimalLeadingZero as _0x52ce3b,IconListStyleLowerRoman as _0x137a18,IconListStyleUpperRoman as _0x31ffc2,IconListStyleLowerLatin as _0x677b16,IconListStyleUpperLatin as _0x2faa94}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x102c3e,_0x17225f){this['_model']=_0x102c3e,this['_elementName']=_0x17225f['elementName'],this['_getElementKey']=_0x17225f['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x351418){const _0x750867=new Set(),_0x553f45=new Map();for(const _0x1490b6 of _0x351418){if('insert'===_0x1490b6['type']&&'$text'!==_0x1490b6['name']&&_0x1490b6['position']['nodeAfter']){const _0x4eb9a5=this['_model']['createRangeOn'](_0x1490b6['position']['nodeAfter']);for(const _0x46d844 of _0x4eb9a5['getItems']()){if(!_0x46d844['is']('element',this['_elementName']))continue;const _0x36876b=this['_getElementKey'](_0x46d844);_0x553f45['has'](_0x36876b)||_0x553f45['set'](_0x36876b,[]),_0x553f45['get'](_0x36876b)['push'](_0x46d844);}}if('remove'===_0x1490b6['type']&&_0x1490b6['name']===this['_elementName']){const _0x1f2e5c=this['_getElementKey']({'getAttribute':_0x152f4d=>_0x1490b6['attributes']['get'](_0x152f4d)});_0x750867['add'](_0x1f2e5c);}}for(const [_0x2cc945,_0x328873]of this['_trackedElements'])'$graveyard'===_0x328873['root']['rootName']&&_0x750867['add'](_0x2cc945);for(const _0x506416 of _0x750867)this['_trackedElements']['delete'](_0x506416);for(const [_0x449125,_0x57aa3b]of _0x553f45)this['_trackedElements']['set'](_0x449125,_0x57aa3b[_0x57aa3b['length']-0x1]);const _0x1a6fd7=new Set();for(const [_0x4830a4,_0x47df93]of _0x553f45)_0x750867['has'](_0x4830a4)&&(_0x1a6fd7['add'](_0x47df93[0x0]),_0x47df93['length']>0x1?_0x553f45['set'](_0x4830a4,_0x47df93['slice'](0x1)):_0x553f45['delete'](_0x4830a4),_0x750867['delete'](_0x4830a4));return{'removed':Array['from'](_0x750867),'inserted':Array['from'](_0x553f45['values']())['flat'](),'moved':Array['from'](_0x1a6fd7)};}}class f extends _0x4b67c2{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf2a555){super(_0xf2a555),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x12e959=>_0x12e959['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x392e97=>_0x392e97['getAttribute']('footnoteId')});}['init'](){const {editor:_0x6f7fa4}=this,{model:_0x4f59cc,data:_0x1ba165}=_0x6f7fa4;_0x4f59cc['document']['registerPostFixer'](_0x479fb2=>{const _0x141d8a=_0x4f59cc['document']['differ']['getChanges']();let _0x102c30=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x479fb2,_0x141d8a)&&(_0x102c30=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x479fb2,_0x141d8a)&&(_0x102c30=!0x0),this['_handleFootnoteReferencesChanges'](_0x479fb2,_0x141d8a)&&(_0x102c30=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x479fb2)&&(_0x102c30=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x479fb2)&&(_0x102c30=!0x0),this['_sortFootnoteDefinitions'](_0x479fb2)&&(_0x102c30=!0x0),_0x102c30;}),this['listenTo'](_0x4f59cc['document'],'change:data',()=>{_0x4f59cc['enqueueChange']({'isUndoable':!0x1},_0x1fd221=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1fd221);});},{'priority':'low'}),this['listenTo'](_0x1ba165,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x11e03f){return this['_footnotes']['find'](_0x314f21=>_0x314f21['id']===_0x11e03f)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x461855){this['_footnoteFormatter']=_0x461855;}['_updateFootnotesCounters'](_0x5c4464,_0x167327=0x0){let _0x567322=!0x1;for(let _0x45ebd2=_0x167327;_0x45ebd2<this['_footnotes']['length'];_0x45ebd2++)this['_updateFootnoteRefCounter'](_0x5c4464,_0x45ebd2)&&(_0x567322=!0x0);return _0x567322;}['_insertEmptyFootnotesDefinitionsContainer'](_0x4b2603,_0x6baf9e){const _0x299336=_0x4b2603['createElement']('footnotesDefinitions',{});return _0x4b2603['append'](_0x299336,_0x6baf9e),this['_footnotesDefinitions']=_0x299336,_0x299336;}['_ensureFootnotesDefinitionsContainerExists'](_0x3effa3){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x65eead=this['_footnotes'][0x0]['reference']['root'],_0x1ee7be=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3effa3,_0x65eead);for(const _0x243098 of this['_footnotes'])_0x243098['definition']['parent']||_0x3effa3['insert'](_0x243098['definition'],_0x1ee7be,'end');this['_updateFootnotesCounters'](_0x3effa3);}['_handleFootnotesDefinitionsObjectChanges'](_0x2496af,_0x1b2aee){let _0x533951=!0x1;const {inserted:_0x5f352d,removed:_0x5a88f0,moved:_0x539e5b}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1b2aee);if(_0x539e5b['length']&&(this['_footnotesDefinitions']=_0x539e5b[0x0]),_0x5f352d['length']){if(_0x5f352d['length']>0x1||this['_footnotesDefinitions']&&_0x5f352d['some'](_0x71d8b0=>_0x71d8b0!==this['_footnotesDefinitions'])){const _0x5ebf5b=_0x2496af['createElement']('footnotesDefinitions',{}),_0x2647d2=[];this['_footnotesDefinitions']&&_0x2647d2['push'](this['_footnotesDefinitions']),_0x2647d2['push'](..._0x5f352d),_0x2496af['insert'](_0x5ebf5b,_0x2647d2[0x0],'before');for(const _0x4b7516 of _0x2647d2)_0x2496af['move'](_0x2496af['createRangeIn'](_0x4b7516),_0x2496af['createPositionAt'](_0x5ebf5b,'end')),_0x2496af['remove'](_0x4b7516);this['_footnotesDefinitions']=_0x5ebf5b,this['_updateFootnotesCounters'](_0x2496af),_0x533951=!0x0;}else this['_footnotesDefinitions']=_0x5f352d[0x0];}if(_0x5a88f0['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5589b0 of this['_footnotes'])_0x2496af['remove'](_0x5589b0['reference']),_0x533951=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x533951;}['_handleFootnoteDefinitionsChanges'](_0x1333bd,_0x26aeda){let _0x62bd4a=!0x1;const _0x2738e9=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x7cd1c,moved:_0xbea303}=this['_footnoteDefsTracker']['getChanges'](_0x26aeda);for(const _0x24ee0a of[..._0xbea303,..._0x7cd1c]){const _0x4d92c1=_0x24ee0a['getAttribute']('footnoteId'),_0x572409=this['getFootnote'](_0x4d92c1);_0x572409&&(_0x572409['definition']=_0x24ee0a),_(_0x1333bd,_0x2738e9,_0x24ee0a)&&(_0x62bd4a=!0x0);}return _0x62bd4a;}['_handleFootnoteReferencesChanges'](_0x439296,_0x35d766){let _0x7d7834=!0x1;const {removed:_0x7087e5,inserted:_0x2b8272,moved:_0xa36782}=this['_footnoteRefsTracker']['getChanges'](_0x35d766);for(const _0x518891 of _0x7087e5)this['_handleRemoveFootnoteReferenceById'](_0x439296,_0x518891)&&(_0x7d7834=!0x0);for(const _0x425b4a of _0x2b8272)this['_handleInsertedFootnoteReference'](_0x439296,_0x425b4a)&&(_0x7d7834=!0x0);for(const _0x3674a1 of _0xa36782)this['_handleMovedFootnoteReference'](_0x439296,_0x3674a1)&&(_0x7d7834=!0x0);return _0x7d7834;}['_handleFootnotesDefinitionsObjectSync'](_0x182a79){if(!this['_footnotesDefinitions'])return!0x1;let _0x250897=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x6e28bb=[];for(const _0x637ab5 of this['_footnotesDefinitions']['getChildren']()){const _0x28288c=_0x637ab5['getAttribute']('footnoteId');this['getFootnote'](_0x28288c)||(_0x6e28bb['unshift'](_0x637ab5),_0x250897=!0x0);}for(const _0x461fba of _0x6e28bb)_0x182a79['remove'](_0x461fba);}const _0x52d9cd=new Set(),_0x2dcb1c=[];for(const _0x507165 of this['_footnotesDefinitions']['getChildren']()){const _0x9ef3e1=_0x507165['getAttribute']('footnoteId');_0x52d9cd['has'](_0x9ef3e1)?(_0x2dcb1c['unshift'](_0x507165),_0x250897=!0x0):_0x52d9cd['add'](_0x9ef3e1);}for(const _0x368f10 of _0x2dcb1c)_0x182a79['remove'](_0x368f10);return this['_footnotesDefinitions']['childCount']||(_0x182a79['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x250897=!0x0),_0x250897;}['_handleInsertedFootnoteReference'](_0x36ff82,_0x2bd301){if(this['_footnotes']['find'](_0x47eb01=>_0x47eb01['reference']===_0x2bd301))return!0x1;let _0x55546a=!0x1;const _0x15fa6f=_0x2bd301['getAttribute']('footnoteId'),_0x102bb1=this['_footnotes']['findIndex'](_0x3ec081=>_0x3ec081['id']===_0x15fa6f);-0x1!==_0x102bb1&&(_0x36ff82['remove'](this['_footnotes'][_0x102bb1]['reference']),this['_footnotes']['splice'](_0x102bb1,0x1),_0x55546a=!0x0);let _0x12d8a2=this['_footnotesDefinitions']?function(_0x115a9d,_0x4ecc31){for(const _0x27702b of _0x115a9d['getChildren']())if(_0x27702b['getAttribute']('footnoteId')===_0x4ecc31)return _0x27702b;return null;}(this['_footnotesDefinitions'],_0x15fa6f):null;_0x12d8a2||(_0x12d8a2=_0x36ff82['createElement']('footnoteDefinition',{'footnoteId':_0x15fa6f}),this['_footnotesDefinitions']&&(_0x36ff82['insert'](_0x12d8a2,this['_footnotesDefinitions'],'end'),_0x55546a=!0x0));const _0x2b2c85={'id':_0x15fa6f,'reference':_0x2bd301,'definition':_0x12d8a2},_0x5ee535=I(this['editor']['model'],this['_footnotes'],_0x2bd301);this['_footnotes']['splice'](_0x5ee535,0x0,_0x2b2c85);let _0x151fac=_0x5ee535;return-0x1!==_0x102bb1&&(_0x151fac=Math['min'](_0x5ee535,_0x102bb1)),this['_updateFootnotesCounters'](_0x36ff82,_0x151fac)&&(_0x55546a=!0x0),_0x55546a;}['_handleRemoveFootnoteReferenceById'](_0x2fadc4,_0x131429){const _0x4d4f3d=this['_footnotes']['findIndex'](_0x1ce606=>_0x1ce606['id']===_0x131429);if(-0x1===_0x4d4f3d)return!0x1;let _0x1a00e4=!0x1;const _0x2ebb2=this['_footnotes'][_0x4d4f3d];return'$graveyard'!==_0x2ebb2['definition']['root']['rootName']&&(_0x2fadc4['remove'](_0x2ebb2['definition']),_0x1a00e4=!0x0),this['_footnotes']['splice'](_0x4d4f3d,0x1),this['_updateFootnotesCounters'](_0x2fadc4,_0x4d4f3d)&&(_0x1a00e4=!0x0),_0x1a00e4;}['_handleMovedFootnoteReference'](_0x45fa1a,_0x33a4fe){const _0x24df38=_0x33a4fe['getAttribute']('footnoteId'),_0x1b3648=this['_footnotes']['findIndex'](_0x2180ed=>_0x2180ed['id']===_0x24df38),_0x310332=this['_footnotes'][_0x1b3648];let _0x1da0be=!0x1;_0x310332['reference']=_0x33a4fe,this['_footnotes']['splice'](_0x1b3648,0x1);const _0x3ed4bd=I(this['editor']['model'],this['_footnotes'],_0x33a4fe);return this['_footnotes']['splice'](_0x3ed4bd,0x0,_0x310332),this['_updateFootnotesCounters'](_0x45fa1a,Math['min'](_0x1b3648,_0x3ed4bd))&&(_0x1da0be=!0x0),_0x1da0be;}['_updateFootnoteRefCounter'](_0x20a1ba,_0x2db59b){if(!this['_footnotesDefinitions'])return!0x1;const _0x909f98=this['_footnotes'][_0x2db59b];let _0x15e0f1;return _0x15e0f1=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x909f98,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x2db59b+0x1}):String(_0x2db59b+0x1),_0x909f98['reference']['getAttribute']('footnoteCounter')!=_0x15e0f1&&(_0x20a1ba['setAttribute']('footnoteCounter',_0x15e0f1,_0x909f98['reference']),!0x0);}['_sortFootnoteDefinitions'](_0xa001cc){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x5adbae,_0x207f73){if(_0x5adbae['length']!==_0x207f73['length'])return!0x1;for(let _0x1c9381=0x0;_0x1c9381<_0x5adbae['length'];_0x1c9381++)if(_0x5adbae[_0x1c9381]!==_0x207f73[_0x1c9381])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x100846=>_0x100846['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x4b8e92=>_0x4b8e92['getAttribute']('footnoteId'))))return!0x1;let _0x4102a4=!0x1;for(let _0x32b6dc=0x0;_0x32b6dc<this['_footnotes']['length'];_0x32b6dc++){const _0x138fa3=this['_footnotes'][_0x32b6dc],_0x234de3=_0xa001cc['createPositionBefore'](_0x138fa3['definition']),_0x148986=_0xa001cc['createPositionAt'](this['_footnotesDefinitions'],_0x32b6dc);_0x234de3['isEqual'](_0x148986)||(_0xa001cc['move'](_0xa001cc['createRangeOn'](_0x138fa3['definition']),_0x148986),_0x4102a4=!0x0);}return _0x4102a4;}['_ensureFootnotesReferencesHaveProperOrder'](_0x44e662){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4802f1}=this['editor'];let _0x29613e=!0x1;for(let _0x5beced=0x0;_0x5beced<this['_footnotes']['length']-0x1;_0x5beced++){const _0x54299f=this['_footnotes'][_0x5beced],_0x410fb4=this['_footnotes'][_0x5beced+0x1],_0x2f1a45=_0x4802f1['createPositionBefore'](_0x54299f['reference']),_0x2724bb=_0x4802f1['createPositionBefore'](_0x410fb4['reference']);'after'===_0x2f1a45['compareWith'](_0x2724bb)&&(this['_handleMovedFootnoteReference'](_0x44e662,_0x54299f['reference']),_0x5beced=-0x1,_0x29613e=!0x0);}return _0x29613e;}}function _(_0x59340e,_0x40609e,_0x33a21a){if(_0x33a21a['childCount'])return!0x1;const _0x59abef=_0x40609e?'paragraph':'footnoteInlineContent';return _0x59340e['insert'](_0x59340e['createElement'](_0x59abef),_0x33a21a),!0x0;}function I(_0x50eb9a,_0x3a40bd,_0x2ab3e0){if(0x0===_0x3a40bd['length'])return 0x0;const _0x4e6e26=_0x50eb9a['createPositionBefore'](_0x2ab3e0);for(let _0x5aa20b=0x0;_0x5aa20b<_0x3a40bd['length'];_0x5aa20b++){const _0x2fd0eb=_0x3a40bd[_0x5aa20b],_0xea3e2a=_0x50eb9a['createPositionBefore'](_0x2fd0eb['reference']);if('before'===_0x4e6e26['compareWith'](_0xea3e2a))return _0x5aa20b;}const _0x29861b=_0x2ab3e0['root'];let _0x515341=-0x1;for(let _0x2da8b6=_0x3a40bd['length']-0x1;_0x2da8b6>=0x0;_0x2da8b6--)if(_0x3a40bd[_0x2da8b6]['reference']['root']===_0x29861b){_0x515341=_0x2da8b6;break;}if(-0x1!==_0x515341)return _0x515341+0x1;const _0x268bc5=_0x50eb9a['document']['getRootNames'](),_0x96f276=_0x268bc5['indexOf'](_0x29861b['rootName']),_0x238288=_0x268bc5[_0x96f276+0x1];if(_0x238288){for(let _0x23d6b2=0x0;_0x23d6b2<_0x3a40bd['length'];_0x23d6b2++)if(_0x3a40bd[_0x23d6b2]['reference']['root']['rootName']===_0x238288)return _0x23d6b2;}return _0x3a40bd['length'];}class m extends _0x2564d4{['refresh'](){const _0x35fdc1=this['editor']['model']['document']['selection'],_0x2c8f48=this['_getPositionToInsertFootnote'](_0x35fdc1);this['isEnabled']=!!_0x2c8f48;}['execute'](_0x4d4959){const {editor:_0x1be501}=this,{model:_0x57d93a}=_0x1be501,{selection:_0x508113}=_0x57d93a['document'],_0x4b3caf=this['_getPositionToInsertFootnote'](_0x508113);if(!_0x4b3caf)return;const _0x21e7f4=_0x1be501['plugins']['get']('FootnotesEditing'),_0x983f8a=_0x4d4959?.['footnoteId']??_0x5137b0();!function(_0x177474){return'string'==typeof _0x177474&&_0x177474['length']>0x0&&!/\s/['test'](_0x177474)&&!/^\d/['test'](_0x177474);}(_0x983f8a)?_0x16f551('insert-footnote-command-executed-with-invalid-id'):(_0x57d93a['change'](_0xb45d04=>{const _0x55802e=_0xb45d04['createElement']('footnoteRef',{'footnoteId':_0x983f8a});_0x57d93a['insertObject'](_0x55802e,_0x4b3caf,null);}),_0x21e7f4['_moveSelectionToFootnoteDefinition'](_0x983f8a));}['_getPositionToInsertFootnote'](_0x33401c){const {model:_0x3ba40d}=this['editor'],{schema:_0x2c6f89}=_0x3ba40d,_0x5f3f62=_0x33401c['getFirstRange']();for(const _0x2ff2b7 of _0x5f3f62['getItems']())if(_0x2c6f89['isBlock'](_0x2ff2b7)||_0x2c6f89['isObject'](_0x2ff2b7))return null;const _0x47ed85=_0x5f3f62['end'];return _0x2c6f89['checkChild'](_0x47ed85,'footnoteRef')?_0x47ed85:null;}}class r extends _0x4b67c2{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x41a13f}=this;_0x41a13f['config']['define']('footnotes.multiBlock',!0x0),_0x41a13f['commands']['add']('insertFootnote',new m(_0x41a13f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xf8e9de){const _0x1b2cc4=_0x5a4e71([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]),_0x158dc3=0x47a28506,_0x1f0876=0x47a5ffde^_0x158dc3,_0x41b3b3=window[_0x5a4e71([0x44,0x61,0x74,0x65])][_0x5a4e71([0x6e,0x6f,0x77])](),_0x3dfc3b=_0xf8e9de[_0x5a4e71([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x230434=new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d66b8=>{_0x3dfc3b[_0x5a4e71([0x6f,0x6e,0x63,0x65])](_0x5a4e71([0x72,0x65,0x61,0x64,0x79]),_0x4d66b8);}),_0x5d4a03={[_0x5a4e71([0x6b,0x74,0x79])]:_0x5a4e71([0x45,0x43]),[_0x5a4e71([0x75,0x73,0x65])]:_0x5a4e71([0x73,0x69,0x67]),[_0x5a4e71([0x63,0x72,0x76])]:_0x5a4e71([0x50,0x2d,0x32,0x35,0x36]),[_0x5a4e71([0x78])]:_0x5a4e71([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]),[_0x5a4e71([0x79])]:_0x5a4e71([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]),[_0x5a4e71([0x61,0x6c,0x67])]:_0x5a4e71([0x45,0x53,0x32,0x35,0x36])},_0x60d290=_0x3dfc3b[_0x5a4e71([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a4e71([0x67,0x65,0x74])](_0x5a4e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21eee9(){let _0x1d1cf6,_0x48502e=null,_0x362db7=null;try{if(_0x60d290==_0x5a4e71([0x47,0x50,0x4c]))return _0x5a4e71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d1cf6=_0x4edeac(),!_0x1d1cf6)return _0x5a4e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d1cf6[_0x5a4e71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x362db7=_0x1c2b56(_0x1d1cf6[_0x5a4e71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d1cf6[_0x5a4e71([0x6a,0x74,0x69])])),await _0x3ba754()?_0x541216()?_0x3c0cb7()?_0x5a4e71([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x411769()?(_0x1d1cf6[_0x5a4e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a4e71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48502e=_0x25d40c(_0x5a4e71([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1d1cf6[_0x5a4e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a4e71([0x74,0x72,0x69,0x61,0x6c])&&(_0x48502e=_0x25d40c(_0x5a4e71([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x205096()):_0x5a4e71([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a4e71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a4e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a4e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3c0cb7(){const _0x122ebf=[_0x5a4e71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a4e71([0x74,0x72,0x69,0x61,0x6c])][_0x5a4e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d1cf6[_0x5a4e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41b3b3/0x3e8:0xe10*_0x1f0876;return _0x1d1cf6[_0x5a4e71([0x65,0x78,0x70])]<_0x122ebf;}function _0x541216(){const _0x21b3b7=_0x1d1cf6[_0x5a4e71([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21b3b7&&(!!_0x21b3b7[_0x5a4e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a4e71([0x2a]))||!!_0x21b3b7[_0x5a4e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a4e71([0x46,0x4f,0x4f])));}function _0x411769(){const _0x555a96=_0x1d1cf6[_0x5a4e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x555a96||0x0==_0x555a96[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x322452}=new URL(window[_0x5a4e71([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x555a96[_0x5a4e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x322452))return!0x0;const _0x3d61db=_0x322452[_0x5a4e71([0x73,0x70,0x6c,0x69,0x74])](_0x5a4e71([0x2e]));return _0x555a96[_0x5a4e71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e2f52=>_0x4e2f52[_0x5a4e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a4e71([0x2a])))[_0x5a4e71([0x6d,0x61,0x70])](_0x4e81ec=>_0x4e81ec[_0x5a4e71([0x73,0x70,0x6c,0x69,0x74])](_0x5a4e71([0x2e])))[_0x5a4e71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b2d6b=>_0x2b2d6b[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d61db[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a4e71([0x6d,0x61,0x70])](_0x1e3a55=>Array(_0x3d61db[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e3a55[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a4e71([0x66,0x69,0x6c,0x6c])](_0x1e3a55[0x0]===_0x5a4e71([0x2a])?_0x5a4e71([0x2a]):'')[_0x5a4e71([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e3a55))[_0x5a4e71([0x73,0x6f,0x6d,0x65])](_0x593696=>_0x3d61db[_0x5a4e71([0x65,0x76,0x65,0x72,0x79])]((_0x390de6,_0x269e63)=>_0x593696[_0x269e63]===_0x390de6||_0x593696[_0x269e63]===_0x5a4e71([0x2a])));}function _0x205096(){return _0x48502e&&_0x362db7?new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19ce13,_0x37170b)=>{_0x48502e[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x19ce13,_0x37170b),_0x362db7[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x203400=>{_0x203400!=_0x5a4e71([0x56,0x61,0x6c,0x69,0x64])&&_0x19ce13(_0x203400);},_0x37170b);}):_0x48502e||_0x362db7||_0x5a4e71([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c2b56(_0x42c7fd,_0x3cbfcc){return new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10ab26=>{if(_0x193fb2())return _0x10ab26(_0x5a4e71([0x56,0x61,0x6c,0x69,0x64]));_0x1a782f(),_0x3dfc3b[_0x5a4e71([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a4e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x51a619=!0x1;const _0x319fb5=_0x5137b0();function _0x2c57b9(_0x2805be){return!!_0x2805be&&(typeof _0x2805be===_0x5a4e71([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2805be===_0x5a4e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2805be[_0x5a4e71([0x74,0x68,0x65,0x6e])]===_0x5a4e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2805be[_0x5a4e71([0x63,0x61,0x74,0x63,0x68])]===_0x5a4e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f5ae5(_0xfde8e4){_0x548984(_0xfde8e4)[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x2663c8=>{if(!_0x2663c8||_0x2663c8[_0x5a4e71([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a4e71([0x6f,0x6b]))return _0x5a4e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x47ecd3(_0x246c49(_0x319fb5+_0x3cbfcc))!=_0x2663c8[_0x5a4e71([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a4e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a4e71([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x3c85a2=>(_0x500667(),_0x3c85a2),()=>{const _0x5c98c3=_0x443456();return null==_0x5c98c3?(_0x500667(),_0x5a4e71([0x56,0x61,0x6c,0x69,0x64])):_0x5a4e71(_0x41b3b3-_0x5c98c3>(0x63ae0106^_0x158dc3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x10ab26)[_0x5a4e71([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10ab26(_0x5a4e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c8e78=0x47946b86^_0x158dc3;function _0x500667(){const _0x1794ee=_0x5a4e71([0x6c,0x6c,0x63,0x74,0x2d])+_0x47ecd3(_0x246c49(_0x42c7fd)),_0x1804a4=_0x56af71(_0x47ecd3(window[_0x5a4e71([0x4d,0x61,0x74,0x68])][_0x5a4e71([0x63,0x65,0x69,0x6c])](_0x41b3b3/_0x4c8e78)));window[_0x5a4e71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a4e71([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1794ee,_0x1804a4);}function _0x443456(){const _0x6eb805=_0x5a4e71([0x6c,0x6c,0x63,0x74,0x2d])+_0x47ecd3(_0x246c49(_0x42c7fd)),_0x2034ab=window[_0x5a4e71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a4e71([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6eb805);return _0x2034ab?window[_0x5a4e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56af71(_0x2034ab),0x10)*_0x4c8e78:null;}function _0x548984(_0x3dd1a6){return new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c857c,_0x5cb8b8)=>{_0x3dd1a6[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x3c857c,_0x5cb8b8),window[_0x5a4e71([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5cb8b8,0x47a351c6^_0x158dc3);});}}_0x3dfc3b[_0x5a4e71([0x6f,0x6e])](_0x5a4e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x274693,_0x318381)=>{if(_0x318381[0x0]!=_0x42c7fd)return _0x10ab26(_0x5a4e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x318381[0x1]={..._0x318381[0x1],[_0x5a4e71([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x319fb5};},{[_0x5a4e71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a4e71([0x68,0x69,0x67,0x68])}),_0x3dfc3b[_0x5a4e71([0x6f,0x6e])](_0x5a4e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c656a=>{_0x2c57b9(_0x4c656a[_0x5a4e71([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x51a619=!0x0,_0x3f5ae5(_0x4c656a[_0x5a4e71([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a4e71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a4e71([0x6c,0x6f,0x77])}),_0x230434[_0x5a4e71([0x74,0x68,0x65,0x6e])](()=>{_0x51a619||_0x10ab26(_0x5a4e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x193fb2(){return _0x3dfc3b[_0x5a4e71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a4e71([0x76,0x69,0x65,0x77])][_0x5a4e71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a4e71([0x61,0x75,0x74,0x6f]);}function _0x1a782f(){_0x3dfc3b[_0x5a4e71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a4e71([0x76,0x69,0x65,0x77])][_0x5a4e71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a4e71([0x61,0x75,0x74,0x6f]);}}function _0x25d40c(_0x5bc587){const _0x45cef1=[new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44344e=>setTimeout(_0x44344e,0x47abbbca^_0x158dc3)),_0x230434[_0x5a4e71([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e56d2=>{let _0x22f080=0x0;_0x3dfc3b[_0x5a4e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a4e71([0x6f,0x6e])](_0x5a4e71([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x8a9af7,_0x3b55c7)=>{_0x3b55c7[0x0][_0x5a4e71([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x22f080++,_0x22f080==(0x47a284fe^_0x158dc3)&&(_0x1e56d2(),_0x8a9af7[_0x5a4e71([0x6f,0x66,0x66])]());});}))];return window[_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a4e71([0x72,0x61,0x63,0x65])](_0x45cef1)[_0x5a4e71([0x74,0x68,0x65,0x6e])](()=>_0x5bc587);}async function _0x287039(){await _0x230434,_0x3dfc3b[_0x5a4e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a4e71([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x425dd2,_0x3dfc3b[_0x5a4e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a4e71([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x425dd2,_0x3dfc3b[_0x5a4e71([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a4e71([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x54be2e(_0x1387de){const _0x53539d=_0x35113c();_0x3dfc3b[_0x53539d]=_0x5a4e71([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1387de,_0x1387de!=_0x5a4e71([0x56,0x61,0x6c,0x69,0x64])&&_0x287039();}function _0x35113c(){const _0x1e7e54=window[_0x5a4e71([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a4e71([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a4e71([0x6e,0x6f,0x77])]())[_0x5a4e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a4e71([0x2e]),'');let _0x3893d5=_0x5a4e71([0x75]);for(let _0x3904eb=0x0;_0x3904eb<_0x1e7e54[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3904eb+=0x2){let _0x16a9bc=window[_0x5a4e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e7e54[_0x5a4e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3904eb,_0x3904eb+0x2));_0x16a9bc>=_0x1b2cc4[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16a9bc-=_0x1b2cc4[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3893d5+=_0x1b2cc4[_0x16a9bc];}return _0x3893d5;}function _0x4edeac(){const _0x597fc6=_0x60d290[_0x5a4e71([0x73,0x70,0x6c,0x69,0x74])](_0x5a4e71([0x2e]));if(0x3!=_0x597fc6[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58cc28(_0x597fc6[0x1]);function _0x58cc28(_0x3b6661){const _0x5403fd=_0x2e0c0d(_0x3b6661);return _0x5403fd&&_0x1c6ba7()?_0x5403fd:null;function _0x1c6ba7(){const _0x556126=_0x5403fd[_0x5a4e71([0x6a,0x74,0x69])],_0x4639f6=window[_0x5a4e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x556126[_0x5a4e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x556126[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53be56={..._0x5403fd,[_0x5a4e71([0x6a,0x74,0x69])]:_0x556126[_0x5a4e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x556126[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53be56[_0x5a4e71([0x76,0x63])],_0x246c49(_0x53be56)==_0x4639f6;}}}async function _0x3ba754(){let _0x333803=!0x0;try{const _0x30f1a2=_0x60d290[_0x5a4e71([0x73,0x70,0x6c,0x69,0x74])](_0x5a4e71([0x2e])),[_0x54669c,_0x53f68e,_0x2cee7a]=_0x30f1a2;return _0x1a1383(_0x54669c),await _0x2a9d6b(_0x54669c,_0x53f68e,_0x2cee7a),_0x333803;}catch{return!0x1;}function _0x1a1383(_0x5bbb34){const _0x3b1334=_0x2e0c0d(_0x5bbb34);_0x3b1334&&_0x3b1334[_0x5a4e71([0x61,0x6c,0x67])]==_0x5a4e71([0x45,0x53,0x32,0x35,0x36])||(_0x333803=!0x1);}async function _0x2a9d6b(_0x4cb1b5,_0x5db9bd,_0x3a32f8){const _0x37d3eb=window[_0x5a4e71([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a4e71([0x66,0x72,0x6f,0x6d])](_0x201303(_0x3a32f8),_0x44a95d=>_0x44a95d[_0x5a4e71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x174b64=new window[(_0x5a4e71([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a4e71([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4cb1b5+_0x5a4e71([0x2e])+_0x5db9bd),_0x2a4d44=window[_0x5a4e71([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a4e71([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a4d44)return;const _0x51c983=await _0x2a4d44[_0x5a4e71([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a4e71([0x6a,0x77,0x6b]),_0x5d4a03,{[_0x5a4e71([0x6e,0x61,0x6d,0x65])]:_0x5a4e71([0x45,0x43,0x44,0x53,0x41]),[_0x5a4e71([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a4e71([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a4e71([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a4d44[_0x5a4e71([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a4e71([0x6e,0x61,0x6d,0x65])]:_0x5a4e71([0x45,0x43,0x44,0x53,0x41]),[_0x5a4e71([0x68,0x61,0x73,0x68])]:{[_0x5a4e71([0x6e,0x61,0x6d,0x65])]:_0x5a4e71([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51c983,_0x37d3eb,_0x174b64)||(_0x333803=!0x1);}}function _0x2e0c0d(_0x384dce){return _0x384dce[_0x5a4e71([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a4e71([0x65,0x79]))?JSON[_0x5a4e71([0x70,0x61,0x72,0x73,0x65])](_0x201303(_0x384dce)):null;}function _0x201303(_0x735562){return window[_0x5a4e71([0x61,0x74,0x6f,0x62])](_0x735562[_0x5a4e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a4e71([0x2b]))[_0x5a4e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a4e71([0x2f])));}function _0x246c49(_0x1b9136){let _0x2b03c9=0x1505;function _0x3a5d7f(_0x41beec){for(let _0x67baa7=0x0;_0x67baa7<_0x41beec[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x67baa7++){const _0x14b5a9=_0x41beec[_0x5a4e71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x67baa7);_0x2b03c9=(_0x2b03c9<<0x5)+_0x2b03c9+_0x14b5a9,_0x2b03c9&=_0x2b03c9;}}function _0x1486d6(_0xe049ab){Array[_0x5a4e71([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xe049ab)?_0xe049ab[_0x5a4e71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1486d6):_0xe049ab&&typeof _0xe049ab==_0x5a4e71([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a4e71([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xe049ab)[_0x5a4e71([0x73,0x6f,0x72,0x74])]()[_0x5a4e71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x111a93,_0x5c03c5])=>{_0x3a5d7f(_0x111a93),_0x1486d6(_0x5c03c5);}):_0x3a5d7f(window[_0x5a4e71([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xe049ab));}return _0x1486d6(_0x1b9136),_0x2b03c9>>>0x0;}function _0x47ecd3(_0x3de392){return _0x3de392[_0x5a4e71([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a4e71([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a4e71([0x30]));}function _0x56af71(_0x233ef3){return _0x233ef3[_0x5a4e71([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a4e71([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a4e71([0x6a,0x6f,0x69,0x6e])]('');}function _0x425dd2(){}function _0x5a4e71(_0x3b98c8){return _0x3b98c8['map'](_0x471978=>String['fromCharCode'](_0x471978))['join']('');}_0x54be2e(await _0x21eee9());}(this);}['_moveSelectionToFootnoteDefinition'](_0x12c3cc){const {plugins:_0x2d5a95,editing:_0x3c5914,model:_0x203467}=this['editor'],_0x5d40f1=_0x2d5a95['get'](f)['getFootnote'](_0x12c3cc);return!!_0x5d40f1&&(_0x203467['change'](_0x620e3=>{_0x620e3['setSelection'](_0x620e3['createPositionAt'](_0x5d40f1['definition'],'end'));}),_0x3c5914['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x574d05){const {plugins:_0x154f84,editing:_0x47961c,model:_0x3a047a}=this['editor'],_0x4ab184=_0x154f84['get'](f)['getFootnote'](_0x574d05);return!!_0x4ab184&&(_0x3a047a['change'](_0x185a78=>{_0x185a78['setSelection'](_0x4ab184['reference'],'on');}),_0x47961c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2bb4e6}=this['editor']['model'],_0x3ebde=this['editor']['config']['get']('footnotes.multiBlock');_0x2bb4e6['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2bb4e6['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2bb4e6['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3ebde?_0x2bb4e6['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2bb4e6['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2bb4e6['addChildCheck'](_0x3621df=>{for(const _0x587986 of _0x3621df)if('footnoteDefinition'===_0x587986['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x125869}=this,{conversion:_0x5c4b41,editing:_0x30e910}=_0x125869,{t:t}=_0x125869['locale'];_0x5c4b41['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2d676d,{writer:_0x520247,consumable:_0x192445})=>{const _0x13c678=_0x2d676d['getChild'](0x0);if(!_0x13c678||!_0x13c678['is']('element','a'))return null;const _0x1945be=_0x13c678['getAttribute']('href')||'';if(!_0x1945be['startsWith']('#'))return null;const _0x440c3e=_0x1945be['replace'](/^#/,'');if(!_0x440c3e)return null;_0x192445['consume'](_0x13c678,{'name':!0x0,'attributes':['href']});for(const {item:_0x48c6ad}of _0x30e910['view']['createRangeIn'](_0x13c678))_0x48c6ad['is']('$textProxy')?_0x192445['consume'](_0x48c6ad['textNode'],{'name':!0x0}):_0x48c6ad['is']('element')&&_0x192445['consume'](_0x48c6ad,{'name':!0x0});return _0x520247['createElement']('footnoteRef',{'footnoteId':_0x440c3e});}}),_0x5c4b41['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4b4691,{writer:_0x173b71})=>D(_0x4b4691,_0x173b71)}),_0x5c4b41['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3e1d76,{writer:_0x279bb4})=>{const _0x4b5aa8=_0x3e1d76['getAttribute']('footnoteCounter');return _0x3606c9(D(_0x3e1d76,_0x279bb4),_0x279bb4,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4b5aa8)});}});}['_defineDefinitionsConverters'](){const {editor:_0x420f9f}=this,{t:t}=_0x420f9f['locale'],{conversion:_0x51f001}=_0x420f9f;_0x51f001['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x51f001['for']('upcast')['add'](_0x477a9c=>{_0x477a9c['on']('element:ol',(_0x5db8f1,_0x19a183,_0x23d3a1)=>{const _0x50fd04=_0x19a183['viewItem'];if(!_0x50fd04['hasClass']('footnotes-list')||!_0x19a183['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x23d3a1['consumable']['consume'](_0x50fd04,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3f8772,modelCursor:_0x203d6e}=_0x23d3a1['convertChildren'](_0x19a183['viewItem'],_0x19a183['modelCursor']);_0x19a183['modelRange']=_0x3f8772,_0x19a183['modelCursor']=_0x203d6e;}),_0x477a9c['on']('element:hr',(_0x2e8b73,_0x42ba82,_0x4ce954)=>{const _0x45ba21=_0x42ba82['viewItem'];_0x45ba21['hasClass']('footnotes-divider')&&_0x42ba82['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4ce954['consumable']['consume'](_0x45ba21,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x51f001['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2fef47,{writer:_0x40e0ca})=>v(_0x40e0ca)}),_0x51f001['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4c3fb1,{writer:_0x16abfc})=>{const _0x3cd911=v(_0x16abfc,{'data-footnotes-list-label':t('Footnotes')}),_0xfc9641=_0x3606c9(_0x3cd911,_0x16abfc,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x16abfc['setCustomProperty']('footnotesDefinitions',!0x0,_0xfc9641),_0xfc9641;}});}['_defineDefinitionConverters'](){const {editor:_0x54b9ba}=this,{conversion:_0x137b8e,locale:_0x2db8c1}=_0x54b9ba,_0x3c1124=_0x54b9ba['config']['get']('footnotes.multiBlock');_0x137b8e['for']('upcast')['add'](_0x1b364c=>{_0x1b364c['on']('element:li',(_0x203bc4,_0x2ffef6,_0x115a05)=>{const _0xc91b4d=_0x2ffef6['viewItem'];if(!_0xc91b4d['hasClass']('footnote-definition')||!_0xc91b4d['getAttribute']('id'))return;const _0x188294=_0xc91b4d['parent'];if(!_0x188294['is']('element','ol')||!_0x188294['hasClass']('footnotes-list'))return;if(!_0x115a05['consumable']['test'](_0xc91b4d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x56f57c=_0x115a05['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xc91b4d['getAttribute']('id')});if(!_0x115a05['safeInsert'](_0x56f57c,_0x2ffef6['modelCursor']))return;_0x115a05['consumable']['consume'](_0xc91b4d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0xcfaab9=Array['from'](_0xc91b4d['getChildren']())['find'](_0x22c621=>_0x22c621['is']('element')&&_0x22c621['hasClass']('footnote-content'));for(const _0x5b7631 of _0xc91b4d['getChildren']())_0x5b7631['is']('element')&&(_0x115a05['consumable']['consume'](_0x5b7631,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x115a05['consumable']['consume'](_0x5b7631,{'name':!0x0,'classes':'footnote-content'}));if(_0xcfaab9){if(_0x3c1124)_0x115a05['convertChildren'](_0xcfaab9,_0x56f57c);else{const _0x39a3cc=_0x115a05['writer']['createElement']('footnoteInlineContent');_0x115a05['writer']['insert'](_0x39a3cc,_0x56f57c),_0x115a05['convertChildren'](_0xcfaab9,_0x39a3cc);}}_0x115a05['updateConversionResult'](_0x56f57c,_0x2ffef6);});}),_0x137b8e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2a196a,{writer:_0x298325})=>b(_0x2a196a,_0x298325,_0x2db8c1,{'dataPipeline':!0x0})}),_0x137b8e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x70b7b6,{writer:_0x4b4fd1})=>b(_0x70b7b6,_0x4b4fd1,_0x2db8c1)});}['_defineBogusParagraphConverters'](){const {editor:_0x4c79ca}=this,{conversion:_0x22000d}=_0x4c79ca;_0x4c79ca['config']['get']('footnotes.multiBlock')?(_0x22000d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x22000d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4c79ca['model']['document'],'change:data',()=>{!function(_0x85751d,_0x3840b9){const _0xd55c1a=_0x85751d['document']['differ'],_0x3474fa=new Set();for(const _0x4a2706 of _0xd55c1a['getChanges']()){const _0x516012='attribute'==_0x4a2706['type']?_0x4a2706['range']['start']['parent']:_0x4a2706['position']['parent'];_0x516012['is']('element','footnoteDefinition')&&_0x3474fa['add'](_0x516012);}for(const _0x51874b of _0x3474fa['values']()){const _0x17d8a1=Array['from'](_0x51874b['getChildren']())['filter'](_0x3ee332=>g(_0x3ee332,_0x3840b9['mapper']));for(const _0x3175a9 of _0x17d8a1)_0x3840b9['reconvertItem'](_0x3175a9);}}(_0x4c79ca['model'],_0x4c79ca['editing']);})):(_0x22000d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x22000d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xd26074,{writer:_0x577162})=>{const _0x507706=_0x577162['createContainerElement']('span');return _0x577162['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x507706),_0x507706;}}));}['_defineKeyboardHandlers'](){const {editor:_0x494c2a}=this,{editing:_0x2ba272,t:t}=_0x494c2a,_0x4a4b91=_0x494c2a['model']['document']['selection'];_0x494c2a['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x494c2a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2ba272['view']['document'],'enter',(_0x29f332,_0x1348d5)=>{const _0x420031=function(_0x251530){const _0xcf3f16=_0x251530['getSelectedElement']();if(_0xcf3f16?.['is']('element','footnoteRef'))return _0xcf3f16;return null;}(_0x4a4b91);if(_0x420031){const _0x2768a9=_0x420031['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2768a9),_0x1348d5['preventDefault'](),_0x29f332['stop']();}},{'context':_0x131354});}['_defineClickHandlers'](){const {editor:_0x948024}=this,{editing:_0x21ed4a}=_0x948024;_0x948024['editing']['view']['addObserver'](_0x58b2b1),_0x948024['editing']['view']['addObserver'](_0x2b2e4d);let _0x90f780=!0x1;this['listenTo'](_0x21ed4a['view']['document'],'pointerdown',(_0x4b64ef,_0x215472)=>{const {target:_0xdb0bcc}=_0x215472,_0x2f9247=_0x21ed4a['view']['document']['selection'];_0x90f780=!!(_0xdb0bcc?.['is']('element','a')&&_0xdb0bcc['parent']?.['is']('element','sup')&&_0xdb0bcc['parent']['hasClass']('footnote'))&&_0x2f9247['getSelectedElement']()===_0xdb0bcc['parent'];},{'priority':'high'}),this['listenTo'](_0x21ed4a['view']['document'],'click',(_0x35058f,_0x2f39cb)=>{const {target:_0x53bc92}=_0x2f39cb;if(!_0x53bc92?.['is']('element','a'))return;if(_0x53bc92['parent']?.['is']('element','sup')&&_0x53bc92['parent']['hasClass']('footnote')&&!_0x90f780)return void _0x2f39cb['preventDefault']();let _0x41dac0=_0x53bc92['getAttribute']('href');if(!_0x41dac0?.['startsWith']('#'))return;_0x41dac0=_0x41dac0['slice'](0x1);let _0x4225f1=!0x1;(_0x41dac0['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x41dac0['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x41dac0))&&(_0x4225f1=!0x0),_0x4225f1&&(_0x2f39cb['preventDefault'](),_0x35058f['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x378a45}={}){return(_0x5191e3,{writer:_0x15299f})=>{if(!p(_0x5191e3))return null;if(!_0x378a45)return _0x15299f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4c0acf=_0x15299f['createContainerElement']('p');return _0x15299f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4c0acf),_0x4c0acf;};}function p(_0x4e12f7){const {parent:_0xae0820}=_0x4e12f7;if(!_0xae0820?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xae0820['childCount'])return!0x1;for(const _0x5c2b44 of _0x4e12f7['getAttributeKeys']())if(!_0x5c2b44['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5c2b44)return!0x1;return!0x0;}function g(_0xacde9d,_0x5475d7){if(!_0xacde9d['is']('element','paragraph'))return!0x1;const _0x444a3d=_0x5475d7['toViewElement'](_0xacde9d);return!!_0x444a3d&&p(_0xacde9d)!==_0x444a3d['is']('element','span');}function J(_0x9dcf57){return _0x131354(_0x9dcf57)&&_0x9dcf57['is']('containerElement')&&!!_0x9dcf57['getCustomProperty']('footnotesDefinitions');}function v(_0x4bd714,_0x2f88c2={}){const _0x14b000=_0x4bd714['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1d5880=_0x4bd714['createContainerElement']('ol',{'class':'footnotes-list'},_0x4bd714['createSlot']());return _0x4bd714['createContainerElement']('div',{'class':'footnotes',..._0x2f88c2},[_0x14b000,_0x1d5880]);}function D(_0x59a49f,_0x598dc7){const _0x19e7ce=_0x59a49f['getAttribute']('footnoteId'),_0x1fd4c6=_0x59a49f['getAttribute']('footnoteCounter'),_0x2a896c=_0x598dc7['createUIElement']('a',{'href':'#'+_0x19e7ce},function(_0x429997){const _0x17ee5c=this['toDomElement'](_0x429997);return _0x17ee5c['textContent']=_0x1fd4c6,_0x17ee5c;}),_0x9df478=_0x598dc7['createContainerElement']('sup',{'id':'ref-'+_0x19e7ce,'class':'footnote'},[_0x2a896c]);return _0x9df478['getFillerOffset']=()=>null,_0x9df478;}function b(_0x551f7e,_0x2026c8,_0xf60f5b,{dataPipeline:_0x4ab9ae}={}){const {t:t}=_0xf60f5b,_0x4e4d51=_0x551f7e['getAttribute']('footnoteId'),_0x1afbe7=_0x2026c8['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4e4d51},function(_0xe7cd55){const _0xbbb851=this['toDomElement'](_0xe7cd55);return _0xbbb851['innerText']='^',_0xbbb851;}),_0xb71959=_0x4ab9ae?_0x2026c8['createContainerElement']('div',{'class':'footnote-content'}):_0x1df609(_0x2026c8['createEditableElement']('div',{'class':'footnote-content'}),_0x2026c8,{'label':t('Footnote\x20content.')});return _0x2026c8['insert'](_0x2026c8['createPositionAt'](_0xb71959,0x0),_0x2026c8['createSlot']()),_0x2026c8['createContainerElement']('li',{'class':'footnote-definition','id':_0x4e4d51},[_0x1afbe7,_0xb71959]);}class e extends _0x4b67c2{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x444137];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x502070}=this,{plugins:_0x5ccd38,model:_0xabe5df}=_0x502070,_0x1c91cc=_0x5ccd38['get'](_0x444137),_0x677373=_0x5ccd38['get'](f);this['listenTo'](_0x1c91cc,'outputTransformation',(_0x54454e,_0x693774)=>{const _0x5df3b5=c(_0xabe5df['createRangeIn'](_0x693774['content']));if(!_0x5df3b5['length'])return;const _0x4b4f55=_0x677373['getFootnotes'](),_0x5b1041=_0x5df3b5['reduce']((_0x21d100,_0x1d06db)=>{const _0x5db1e8=_0x4b4f55['find'](_0x3b224c=>_0x3b224c['id']===_0x1d06db);if(_0x5db1e8){const _0x5a3780=_0x502070['data']['toView'](_0x5db1e8['definition'],{'isClipboardPipeline':!0x0}),_0x21a81a=_0x502070['data']['htmlProcessor']['toData'](_0x5a3780);_0x21d100[_0x5db1e8['id']]=_0x21a81a;}return _0x21d100;},Object['create'](null));_0x693774['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5b1041));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x174ce7}=this,{model:_0x3472e9,plugins:_0x14014a}=_0x174ce7,{view:_0x10efd8}=_0x174ce7['editing'],_0x2ba664=_0x14014a['get'](_0x444137),_0x5c7b27=_0x14014a['get'](f),_0x5de886=_0x174ce7['config']['get']('footnotes.multiBlock');let _0x48339b=null;this['listenTo'](_0x10efd8['document'],'clipboardInput',(_0x62c154,_0x38d1cd)=>{const _0x5af55b=_0x38d1cd['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x48339b=_0x5af55b?JSON['parse'](_0x5af55b):null;}),this['listenTo'](_0x2ba664,'contentInsertion',(_0x2bf743,_0x4639c2)=>{const _0x54b89e=_0x4639c2['sourceEditorId']===this['editor']['id'];_0x54b89e&&'drop'===_0x4639c2['method']||_0x3472e9['change'](_0x120390=>{let _0x2c8a97=_0x5c7b27['getFootnotesDefinitionsObjectElement']();const _0x1d7449=!!_0x2c8a97&&Array['from'](_0x3472e9['document']['selection']['getSelectedBlocks']())['includes'](_0x2c8a97);if((_0x2c8a97&&!_0x1d7449||!_0x2c8a97&&!_0x48339b)&&function(_0x44588f,_0x3fd063){const _0x1a687e=[];for(const {item:_0x33cdf0}of _0x44588f['createRangeIn'](_0x3fd063))_0x33cdf0['is']('element','footnotesDefinitions')&&_0x1a687e['push'](_0x33cdf0);for(const _0x1e0ea9 of _0x1a687e)_0x44588f['remove'](_0x1e0ea9);}(_0x120390,_0x4639c2['content']),!_0x48339b)return;const {selection:_0xf1b6c8}=_0x3472e9['document'],_0x302fd7=_0xf1b6c8['getFirstRange']()['root'];_0x2c8a97&&!_0x1d7449||(_0x2c8a97=function(_0x1f3e09,_0x2cb6ce){for(const {item:_0x1f2b6b}of _0x1f3e09['createRangeIn'](_0x2cb6ce))if(_0x1f2b6b['is']('element','footnotesDefinitions'))return _0x1f2b6b;return null;}(_0x120390,_0x4639c2['content']),_0x2c8a97||=_0x5c7b27['_insertEmptyFootnotesDefinitionsContainer'](_0x120390,_0x302fd7));const _0x415d03=Array['from'](_0xf1b6c8['getRanges']())['flatMap'](c),_0xb4c2b7=function(_0x337ff9,_0x39ac33,_0x52a542){const _0x45e0f4=Object['create'](null);for(const {item:_0xa271bc}of _0x337ff9['createRangeIn'](_0x39ac33))if(_0xa271bc['is']('element','footnoteRef')){const _0x4966da=_0xa271bc['getAttribute']('footnoteId');if(!_0x52a542(_0x4966da))continue;_0x45e0f4[_0x4966da]||(_0x45e0f4[_0x4966da]=_0x5137b0()),_0x337ff9['setAttribute']('footnoteId',_0x45e0f4[_0x4966da],_0xa271bc);}return _0x45e0f4;}(_0x120390,_0x4639c2['content'],_0x835c5=>{if(!_0x54b89e)return!0x0;return!!_0x5c7b27['getFootnote'](_0x835c5)&&!_0x415d03['includes'](_0x835c5);});for(const [_0x436255,_0x1d875f]of Object['entries'](_0x48339b)){const _0x502be2=_0xb4c2b7[_0x436255]||_0x436255,_0x33b71a=_0x120390['createElement']('footnoteDefinition',{'footnoteId':_0x502be2}),_0x1e4604=_0x174ce7['data']['htmlProcessor']['toView'](_0x1d875f);let _0x42d60d;if(_0x5de886)_0x42d60d=_0x174ce7['data']['toModel'](_0x1e4604,_0x33b71a);else{_0x42d60d=_0x120390['createElement']('footnoteInlineContent');const _0x5da962=_0x174ce7['data']['toModel'](_0x1e4604,_0x42d60d);_0x120390['insert'](_0x5da962,_0x42d60d);}_0x120390['append'](_0x42d60d,_0x33b71a),_0x120390['insert'](_0x33b71a,_0x2c8a97,'end');}_0x48339b=null;});});}}function c(_0x4b16e6){const _0x38ad88=new Set();for(const {item:_0xddb427}of _0x4b16e6)_0xddb427['is']('element','footnoteRef')&&_0x38ad88['add'](_0xddb427['getAttribute']('footnoteId'));return Array['from'](_0x38ad88);}class i extends _0x4b67c2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x37e0d5}=this,{componentFactory:_0x10d3ee}=_0x37e0d5['ui'];_0x10d3ee['add']('insertFootnote',x(_0x37e0d5,_0x4657b1)),_0x10d3ee['add']('menuBar:insertFootnote',x(_0x37e0d5,_0x1f520d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x44bc35=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xa0af7;for(const _0x56cd34 in _0x44bc35){const _0x3d4b49=_0x56cd34,_0x2a9e90=_0x44bc35[_0x3d4b49];if('footnotesLicenseKeyValid'==_0x2a9e90||'footnotesLicenseKeyInvalid'==_0x2a9e90||'footnotesLicenseKeyExpired'==_0x2a9e90||'footnotesLicenseKeyDomainLimit'==_0x2a9e90||'footnotesLicenseKeyNotAllowed'==_0x2a9e90||'footnotesLicenseKeyEvaluationLimit'==_0x2a9e90||'footnotesLicenseKeyTrialLimit'==_0x2a9e90||'footnotesLicenseKeyUsageLimit'==_0x2a9e90){delete _0x44bc35[_0x3d4b49],_0xa0af7=_0x2a9e90,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xa0af7&&_0x44bc35['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xa0af7&&_0x44bc35['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xa0af7&&_0x44bc35['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xa0af7&&_0x44bc35['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xa0af7&&_0x44bc35['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0xa0af7&&_0x44bc35['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0xa0af7&&_0x44bc35['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2fbf38,_0x6d0413){const _0x2af725=_0x2fbf38['commands']['get']('insertFootnote');return _0x3001c3=>{const {t:t}=_0x3001c3,_0x28703d=new _0x6d0413(_0x3001c3),_0xa0a306=_0x28703d instanceof _0x1f520d;return _0x28703d['bind']('isEnabled')['to'](_0x2af725,'isEnabled'),_0x28703d['set']({'label':t(_0xa0a306?'Footnote':'Insert\x20footnote'),'icon':_0x5c3133,'tooltip':!0x0}),_0x28703d['on']('execute',()=>{_0x2af725['execute'](),_0x2fbf38['editing']['view']['focus']();}),_0x28703d;};}class lt extends _0x4b67c2{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x2564d4{['refresh'](){const {editor:_0x36b286}=this,_0x387252=_0x36b286['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x387252,this['value']=_0x387252?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1a0d46}){const {editor:_0xabd761}=this,_0x1d7484=_0xabd761['plugins']['get'](f),_0x4f68a9=_0x1d7484['getFootnotesDefinitionsObjectElement']();_0x4f68a9&&Q['includes'](_0x1a0d46)&&_0xabd761['model']['change'](_0x4771db=>{_0x4771db['setAttribute']('footnotesListStyle',_0x1a0d46,_0x4f68a9),_0x1d7484['_updateFootnotesCounters'](_0x4771db);});}}class C extends _0x2564d4{['refresh'](){const {editor:_0x27fbc1}=this,_0x1f53ad=_0x27fbc1['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1f53ad,this['value']=_0x1f53ad?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4ba00b}){const {editor:_0x555783}=this,_0x3cfd35=_0x555783['plugins']['get'](f),_0x2c369b=_0x3cfd35['getFootnotesDefinitionsObjectElement']();_0x2c369b&&Number['isInteger'](_0x4ba00b)&&_0x555783['model']['change'](_0x42bc4f=>{_0x42bc4f['setAttribute']('footnotesListStart',_0x4ba00b,_0x2c369b),_0x3cfd35['_updateFootnotesCounters'](_0x42bc4f);});}}class P extends _0x4b67c2{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xce90a6}=this;_0xce90a6['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xce90a6['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xce90a6['commands']['add']('footnotesStyle',new S(_0xce90a6)),_0xce90a6['commands']['add']('footnotesStart',new C(_0xce90a6)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1b631b}=this,{schema:_0x2bb55d}=_0x1b631b['model'];_0x2bb55d['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x13f684}=this,{conversion:_0x1dc47e,model:_0x1f69a6}=_0x13f684,{schema:_0x159598}=_0x1f69a6;_0x1dc47e['for']('upcast')['add'](_0x662668=>{_0x662668['on']('element:ol',(_0x2eca1,_0x83ce67,_0x4b9e93)=>{const _0x31bca1=_0x83ce67['viewItem'],_0x1e7c44=_0x83ce67['modelCursor']?.['parent'];_0x31bca1['hasClass']('footnotes-list')&&_0x1e7c44?.['is']('element','footnotesDefinitions')&&(function(_0x52d246,_0xdba1fe,_0x366332,_0x3b5625){if(!_0x3b5625['checkAttribute'](_0xdba1fe,'footnotesListStart'))return;let _0x1d6952=0x1;const _0x5e19af=_0x366332['consumable']['consume'](_0x52d246,{'attributes':'start'});if(_0x5e19af){const _0x56e119=Number['parseInt'](_0x52d246['getAttribute']('start'),0xa);Number['isNaN'](_0x56e119)||(_0x1d6952=_0x56e119);}!_0x5e19af&&_0xdba1fe['hasAttribute']('footnotesListStart')||_0x366332['writer']['setAttribute']('footnotesListStart',_0x1d6952,_0xdba1fe);}(_0x31bca1,_0x1e7c44,_0x4b9e93,_0x159598),function(_0x2bccc1,_0x52f6e7,_0x5b0e02,_0x2785fd){if(!_0x2785fd['checkAttribute'](_0x52f6e7,'footnotesListStyle'))return;let _0x27702c='decimal',_0x2fcaae=!0x1;if(_0x5b0e02['consumable']['consume'](_0x2bccc1,{'attributes':'type'})){const _0x860bb5={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2bccc1['getAttribute']('type')];_0x860bb5&&(_0x27702c=_0x860bb5),_0x2fcaae=!0x0;}_0x5b0e02['consumable']['consume'](_0x2bccc1,{'styles':'list-style-type'})&&(_0x27702c=function(_0x1617fd){switch(_0x1617fd){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x1617fd;}}(_0x2bccc1['getStyle']('list-style-type')),_0x2fcaae=!0x0),!_0x2fcaae&&_0x52f6e7['hasAttribute']('footnotesListStyle')||_0x5b0e02['writer']['setAttribute']('footnotesListStyle',_0x27702c,_0x52f6e7);}(_0x31bca1,_0x1e7c44,_0x4b9e93,_0x159598));});}),_0x1dc47e['for']('downcast')['add'](_0x536f29=>{_0x536f29['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x288911,_0x4af7d8,_0x3e7381)=>{if(!_0x3e7381['consumable']['consume'](_0x4af7d8['item'],_0x288911['name']))return;const _0x8b49b0=M(_0x4af7d8['item'],_0x3e7381['mapper']),{attributeNewValue:_0x4df440}=_0x4af7d8;null==_0x4df440||0x1===_0x4df440?_0x3e7381['writer']['removeAttribute']('start',_0x8b49b0):_0x3e7381['writer']['setAttribute']('start',String(_0x4df440),_0x8b49b0);}),_0x536f29['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1e69bc,_0x3dad66,_0x236a44)=>{if(!_0x236a44['consumable']['consume'](_0x3dad66['item'],_0x1e69bc['name']))return;const _0x50dfc5=M(_0x3dad66['item'],_0x236a44['mapper']),{attributeNewValue:_0x4beb86}=_0x3dad66;_0x4beb86&&'decimal'!==_0x4beb86?_0x236a44['writer']['setStyle']('list-style-type',_0x4beb86,_0x50dfc5):_0x236a44['writer']['removeStyle']('list-style-type',_0x50dfc5);});});}['_definePostfixer'](){const {editor:_0x599c54}=this,{model:_0x3c7537}=_0x599c54,_0x32d754=_0x599c54['plugins']['get'](f),_0x54a9f9=this['_getDefaultListStyle'](),_0x1b884e=this['_getDefaultStartIndex']();_0x3c7537['document']['registerPostFixer'](_0x29ecf1=>{const _0x5e7306=_0x3c7537['document']['differ']['getChanges']();let _0x9ca325=!0x1;for(const _0x4b934d of _0x5e7306){if('insert'!==_0x4b934d['type']||'$text'===_0x4b934d['name'])continue;const _0x1295c4=_0x3c7537['createRangeOn'](_0x4b934d['position']['nodeAfter']);for(const _0x590170 of _0x1295c4['getItems']())_0x590170['is']('element','footnotesDefinitions')&&(!_0x590170['hasAttribute']('footnotesListStart')&&_0x3c7537['schema']['checkAttribute'](_0x590170,'footnotesListStart')&&(_0x29ecf1['setAttribute']('footnotesListStart',_0x1b884e,_0x590170),_0x9ca325=!0x0),!_0x590170['hasAttribute']('footnotesListStyle')&&_0x3c7537['schema']['checkAttribute'](_0x590170,'footnotesListStyle')&&(_0x29ecf1['setAttribute']('footnotesListStyle',_0x54a9f9,_0x590170),_0x9ca325=!0x0));}return _0x9ca325&&_0x32d754['_updateFootnotesCounters'](_0x29ecf1),_0x9ca325;});}['_defineFormatter'](){const {editor:_0x286e5b}=this;_0x286e5b['plugins']['get'](f)['setFootnoteFormatter'](_0x3fcca9=>this['_formatFootnoteListValue'](_0x3fcca9));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1c6071,value:_0x24f31a,digits:_0x9936d3}){const _0x36ac72=_0x1c6071['getAttribute']('footnotesListStyle'),_0x59b136=_0x1c6071['getAttribute']('footnotesListStart'),_0x54415a=Math['floor'](_0x24f31a)+(_0x59b136??0x1)-0x1;switch(_0x36ac72){case'decimal-leading-zero':return function(_0xdd8875,_0x170f9a){return String(_0xdd8875)['padStart'](_0x170f9a,'0');}(_0x54415a,Math['max'](0x2,_0x9936d3));case'lower-alpha':case'lower-latin':return N(_0x54415a,!0x1);case'upper-alpha':case'upper-latin':return N(_0x54415a,!0x0);case'lower-roman':return X(_0x54415a,!0x1);case'upper-roman':return X(_0x54415a,!0x0);default:return String(_0x54415a);}}}function M(_0x42e1ce,_0x35fbce){const _0x3a738d=_0x35fbce['toViewElement'](_0x42e1ce);return Array['from'](_0x3a738d['getChildren']())['find'](_0x398bc9=>_0x398bc9['is']('element','ol')&&_0x398bc9['hasClass']('footnotes-list'));}function N(_0x212611,_0x5b0669){let _0x3aca07='',_0x4a82dc=_0x212611;for(;_0x4a82dc>0x0;){const _0x19e93f=(_0x4a82dc-0x1)%0x1a;_0x3aca07=String['fromCharCode'](0x61+_0x19e93f)+_0x3aca07,_0x4a82dc=Math['floor']((_0x4a82dc-0x1)/0x1a);}return _0x5b0669?_0x3aca07['toUpperCase']():_0x3aca07;}const V=[{'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 X(_0x202346,_0x5ccdae){let _0xc3e205='',_0x7a690a=_0x202346;for(const {value:_0x180030,numeral:_0x474ea4}of V)for(;_0x7a690a>=_0x180030;)_0xc3e205+=_0x474ea4,_0x7a690a-=_0x180030;return _0x5ccdae?_0xc3e205:_0xc3e205['toLowerCase']();}class H extends _0x6cf942{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x36bc0b();['focusCycler'];constructor(_0x3c05ce,{styleButtonViews:_0x17dc66,styleGridAriaLabel:_0x1589db}){super(_0x3c05ce),(this['focusCycler']=new _0x1c798d({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x17dc66,_0x1589db),[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 _0x3260cd of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3260cd['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['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 _0x2b38a4=_0x10a648=>_0x10a648['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2b38a4),this['keystrokes']['set']('arrowleft',_0x2b38a4),this['keystrokes']['set']('arrowup',_0x2b38a4),this['keystrokes']['set']('arrowdown',_0x2b38a4);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x37a65b,_0x4b32d1){const _0x26ff7a=new _0x6cf942(this['locale']);return _0x26ff7a['children']=_0x26ff7a['createCollection'](),_0x26ff7a['children']['addMany'](_0x37a65b),_0x26ff7a['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4b32d1,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x26ff7a['children']}),_0x26ff7a['children']['delegate']('execute')['to'](this),_0x26ff7a['focus']=function(){for(const _0x34f813 of this['children'])if(_0x34f813 instanceof _0x4657b1&&_0x34f813['isOn'])return void _0x34f813['focus']();this['children']['first']['focus']();},_0x26ff7a['focusTracker']=new ot(),_0x26ff7a['keystrokes']=new rt(),_0x26ff7a['render'](),_0x26ff7a['keystrokes']['listenTo'](_0x26ff7a['element']),this['children']['add'](_0x26ff7a),_0x26ff7a;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x315307=this['_createStartIndexPropertyView'](),_0x1f0314=[_0x315307],_0x654cbb=new st(this['locale'],_0x1f0314);return _0x654cbb['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x654cbb['buttonView']['bind']('isEnabled')['toMany'](_0x1f0314,'isEnabled',(..._0x4ce59)=>_0x4ce59['some'](_0x47e2a9=>_0x47e2a9)),_0x654cbb['buttonView']['on']('change:isEnabled',(_0x390c27,_0x4b4867,_0x2d0228)=>{_0x2d0228||(_0x654cbb['isCollapsed']=!0x0);}),this['children']['add'](_0x654cbb),[_0x315307,_0x654cbb];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4ffd85=new it(this['locale'],et);return _0x4ffd85['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4ffd85['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4ffd85['fieldView']['on']('input',()=>{const _0x38cb96=_0x4ffd85['fieldView']['element'],_0x476e50=_0x38cb96['valueAsNumber'];Number['isNaN'](_0x476e50)?_0x4ffd85['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x38cb96['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x476e50}):_0x4ffd85['errorText']=t(_0x476e50<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4ffd85;}}class j extends _0x4b67c2{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4d078f,_0x28cbf4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x36a423}=this,{componentFactory:_0x1f16b4}=_0x36a423['ui'];_0x36a423['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1f16b4['add']('footnotesStyle',function(_0x867a7e){return _0x42f193=>{const {t:t}=_0x42f193,_0x466a14=_0x867a7e['commands']['get']('footnotesStyle'),_0x1f4024=_0x4b98e2(_0x42f193),{buttonView:_0x104a5d}=_0x1f4024;return _0x1f4024['class']='ck-footnotes-styles-dropdown',_0x1f4024['bind']('isEnabled')['to'](_0x466a14,'isEnabled'),_0x104a5d['set']({'label':t('Footnotes\x20style'),'icon':_0x5c3133,'tooltip':!0x0}),_0x1f4024['once']('change:isOpen',()=>{const _0x342db5=function({editor:_0x4aa703,dropdownView:_0x1027f1}){const {t:t}=_0x4aa703['locale'],_0x182afd=t('Footnotes\x20definitions\x20styles'),_0x2bd6f4=function(_0x5efccd){const t=_0x5efccd['locale']['t'],_0x4861e3=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2f7224},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x52ce3b},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x137a18},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x31ffc2},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x677b16},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2faa94}];return _0x4861e3['map'](function(_0x4e994d){const _0x562da8=_0x4e994d['locale'];return({label:_0x5c737d,icon:_0x1973eb,tooltip:_0x4ce679,style:_0x293dcb})=>{const _0xcc6901=_0x4e994d['commands']['get']('footnotesStyle'),_0x54b61c=new _0x4657b1(_0x562da8);return _0x54b61c['set']({'label':_0x5c737d,'icon':_0x1973eb,'tooltip':_0x4ce679}),_0x54b61c['bind']('isOn')['to'](_0xcc6901,'value',_0xc04d6b=>_0xc04d6b===_0x293dcb),_0x54b61c['bind']('isEnabled')['to'](_0xcc6901,'isEnabled'),_0x54b61c['on']('execute',()=>{_0x4e994d['execute']('footnotesStyle',{'value':_0x293dcb}),_0x4e994d['editing']['view']['focus']();}),_0x54b61c;};}(_0x5efccd));}(_0x4aa703),_0xe5d0ce=new H(_0x4aa703['locale'],{'styleGridAriaLabel':_0x182afd,'styleButtonViews':_0x2bd6f4}),_0x252023=_0x4aa703['commands']['get']('footnotesStart');return _0xe5d0ce['startIndexFieldView']['bind']('isEnabled')['to'](_0x252023),_0xe5d0ce['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x252023),_0xe5d0ce['on']('footnotesListStart',(_0xae6ce9,_0x510add)=>{_0x4aa703['execute']('footnotesStart',{'value':_0x510add['startIndex']});}),_0xe5d0ce['delegate']('execute')['to'](_0x1027f1),_0xe5d0ce;}({'editor':_0x867a7e,'dropdownView':_0x1f4024});_0x1f4024['panelView']['children']['add'](_0x342db5);}),_0x1f4024;};}(_0x36a423));}['afterInit'](){const {editor:_0x4b4702}=this,{t:t}=_0x4b4702['locale'],_0x25db2b=_0x4b4702['plugins']['get'](_0x28cbf4),{defaultPositions:_0x12fc6e}=_0x29eca1;_0x25db2b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4b4702['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xc7b146=>{let _0x1edc45=_0xc7b146['getFirstPosition']()?.['parent'];return _0x1edc45?.['is']('$text')&&(_0x1edc45=_0x1edc45['parent']),_0x1edc45?.['is']('element')?_0x1edc45['findAncestor'](J):null;},'positions':[_0x12fc6e['southArrowNorth'],_0x12fc6e['southArrowNorthMiddleWest'],_0x12fc6e['southArrowNorthMiddleEast'],_0x12fc6e['southArrowNorthWest'],_0x12fc6e['southArrowNorthEast'],_0x12fc6e['northArrowSouth'],_0x12fc6e['northArrowSouthMiddleWest'],_0x12fc6e['northArrowSouthMiddleEast'],_0x12fc6e['northArrowSouthWest'],_0x12fc6e['northArrowSouthEast'],_0x12fc6e['viewportStickyNorth']]});}}class ft extends _0x4b67c2{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m 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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x10fed6=>0x1!=_0x10fed6}};
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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x119bb2=>0x1!=_0x119bb2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x22ee2c=>{const {af:{dictionary:_0x26d7df,getPluralForm:_0x121e28}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x149936=>0x1!=_0x149936}};_0x22ee2c['af']||={'dictionary':{},'getPluralForm':null},_0x22ee2c['af']['dictionary']=Object['assign'](_0x22ee2c['af']['dictionary'],_0x26d7df),_0x22ee2c['af']['getPluralForm']=_0x121e28;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x199f43=>{const {af:{dictionary:_0x2b4fac,getPluralForm:_0x512a1f}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x1c40d3=>0x1!=_0x1c40d3}};_0x199f43['af']||={'dictionary':{},'getPluralForm':null},_0x199f43['af']['dictionary']=Object['assign'](_0x199f43['af']['dictionary'],_0x2b4fac),_0x199f43['af']['getPluralForm']=_0x512a1f;})(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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x36150a=>0x0==_0x36150a?0x0:0x1==_0x36150a?0x1:0x2==_0x36150a?0x2:_0x36150a%0x64>=0x3&&_0x36150a%0x64<=0xa?0x3:_0x36150a%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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x25495a=>0x0==_0x25495a?0x0:0x1==_0x25495a?0x1:0x2==_0x25495a?0x2:_0x25495a%0x64>=0x3&&_0x25495a%0x64<=0xa?0x3:_0x25495a%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x47deca=>{const {ar:{dictionary:_0x51f476,getPluralForm:_0x38be1d}}={'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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x2d28a2=>0x0==_0x2d28a2?0x0:0x1==_0x2d28a2?0x1:0x2==_0x2d28a2?0x2:_0x2d28a2%0x64>=0x3&&_0x2d28a2%0x64<=0xa?0x3:_0x2d28a2%0x64>=0xb?0x4:0x5}};_0x47deca['ar']||={'dictionary':{},'getPluralForm':null},_0x47deca['ar']['dictionary']=Object['assign'](_0x47deca['ar']['dictionary'],_0x51f476),_0x47deca['ar']['getPluralForm']=_0x38be1d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x20ee2e=>{const {ar:{dictionary:_0x5a4c1d,getPluralForm:_0x15bef2}}={'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البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x29c95d=>0x0==_0x29c95d?0x0:0x1==_0x29c95d?0x1:0x2==_0x29c95d?0x2:_0x29c95d%0x64>=0x3&&_0x29c95d%0x64<=0xa?0x3:_0x29c95d%0x64>=0xb?0x4:0x5}};_0x20ee2e['ar']||={'dictionary':{},'getPluralForm':null},_0x20ee2e['ar']['dictionary']=Object['assign'](_0x20ee2e['ar']['dictionary'],_0x5a4c1d),_0x20ee2e['ar']['getPluralForm']=_0x15bef2;})(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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x5183bf=>0x1!=_0x5183bf}};
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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x3f7256=>0x1!=_0x3f7256}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4922f4=>{const {ast:{dictionary:_0x4666de,getPluralForm:_0x3f0224}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x1d819c=>0x1!=_0x1d819c}};_0x4922f4['ast']||={'dictionary':{},'getPluralForm':null},_0x4922f4['ast']['dictionary']=Object['assign'](_0x4922f4['ast']['dictionary'],_0x4666de),_0x4922f4['ast']['getPluralForm']=_0x3f0224;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1e8352=>{const {ast:{dictionary:_0x377da9,getPluralForm:_0x1decd0}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x5c2746=>0x1!=_0x5c2746}};_0x1e8352['ast']||={'dictionary':{},'getPluralForm':null},_0x1e8352['ast']['dictionary']=Object['assign'](_0x1e8352['ast']['dictionary'],_0x377da9),_0x1e8352['ast']['getPluralForm']=_0x1decd0;})(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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x53e95d=>0x1!=_0x53e95d}};
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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x155580=>0x1!=_0x155580}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x63c3d3=>{const {az:{dictionary:_0xcb6cbd,getPluralForm:_0x58748e}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x54551c=>0x1!=_0x54551c}};_0x63c3d3['az']||={'dictionary':{},'getPluralForm':null},_0x63c3d3['az']['dictionary']=Object['assign'](_0x63c3d3['az']['dictionary'],_0xcb6cbd),_0x63c3d3['az']['getPluralForm']=_0x58748e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2a4a2a=>{const {az:{dictionary:_0x317c12,getPluralForm:_0x37b7b5}}={'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':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x455b56=>0x1!=_0x455b56}};_0x2a4a2a['az']||={'dictionary':{},'getPluralForm':null},_0x2a4a2a['az']['dictionary']=Object['assign'](_0x2a4a2a['az']['dictionary'],_0x317c12),_0x2a4a2a['az']['getPluralForm']=_0x37b7b5;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x24fb80=>_0x24fb80%0xa==0x1&&_0x24fb80%0x64!=0xb?0x0:_0x24fb80%0xa>=0x2&&_0x24fb80%0xa<=0x4&&(_0x24fb80%0x64<0xa||_0x24fb80%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\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':''},'getPluralForm':_0x2f968b=>_0x2f968b%0xa==0x1&&_0x2f968b%0x64!=0xb?0x0:_0x2f968b%0xa>=0x2&&_0x2f968b%0xa<=0x4&&(_0x2f968b%0x64<0xa||_0x2f968b%0x64>=0x14)?0x1:0x2}};