@ckeditor/ckeditor5-footnotes 47.4.0-alpha.0 → 47.4.0-alpha.2

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 _0x352caa,Command as _0x6d233a}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3ba126,isWidget as _0xb08389,toWidgetEditable as _0x509021,WidgetToolbarRepository as _0x6de8f4}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5a873e,logWarning as _0x4aa6c5,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x33cc45,ClickObserver as _0x3a7578}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x2679f7}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x22563e,ButtonView as _0x2b0496,View as _0x38df8b,ViewCollection as _0x1fa9dc,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x22ed8e,BalloonPanelView as _0x4ecc20,createDropdown as _0x4a9d71}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x4974f4,IconListStyleDecimal as _0x1b04a1,IconListStyleDecimalLeadingZero as _0xfea4bd,IconListStyleLowerRoman as _0x5442f8,IconListStyleUpperRoman as _0x1a412d,IconListStyleLowerLatin as _0x43062d,IconListStyleUpperLatin as _0xd5dc28}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1f475e,_0xd37367){this['_model']=_0x1f475e,this['_elementName']=_0xd37367['elementName'],this['_getElementKey']=_0xd37367['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x186e04){const _0x4ba496=new Set(),_0x5ab222=new Map();for(const _0x6779fe of _0x186e04){if('insert'===_0x6779fe['type']&&'$text'!==_0x6779fe['name']&&_0x6779fe['position']['nodeAfter']){const _0x50bf47=this['_model']['createRangeOn'](_0x6779fe['position']['nodeAfter']);for(const _0x427d6d of _0x50bf47['getItems']()){if(!_0x427d6d['is']('element',this['_elementName']))continue;const _0x3ccdca=this['_getElementKey'](_0x427d6d);_0x5ab222['has'](_0x3ccdca)||_0x5ab222['set'](_0x3ccdca,[]),_0x5ab222['get'](_0x3ccdca)['push'](_0x427d6d);}}if('remove'===_0x6779fe['type']&&_0x6779fe['name']===this['_elementName']){const _0x204483=this['_getElementKey']({'getAttribute':_0x33a026=>_0x6779fe['attributes']['get'](_0x33a026)});_0x4ba496['add'](_0x204483);}}for(const [_0x2df27d,_0x501110]of this['_trackedElements'])'$graveyard'===_0x501110['root']['rootName']&&_0x4ba496['add'](_0x2df27d);for(const _0x33cf6f of _0x4ba496)this['_trackedElements']['delete'](_0x33cf6f);for(const [_0x5b9af7,_0x216efa]of _0x5ab222)this['_trackedElements']['set'](_0x5b9af7,_0x216efa[_0x216efa['length']-0x1]);const _0xfe821=new Set();for(const [_0x37c18a,_0x1cad90]of _0x5ab222)_0x4ba496['has'](_0x37c18a)&&(_0xfe821['add'](_0x1cad90[0x0]),_0x1cad90['length']>0x1?_0x5ab222['set'](_0x37c18a,_0x1cad90['slice'](0x1)):_0x5ab222['delete'](_0x37c18a),_0x4ba496['delete'](_0x37c18a));return{'removed':Array['from'](_0x4ba496),'inserted':Array['from'](_0x5ab222['values']())['flat'](),'moved':Array['from'](_0xfe821)};}}class f extends _0x352caa{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5edcd5){super(_0x5edcd5),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x14a4e2=>_0x14a4e2['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x41acf5=>_0x41acf5['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3748cb}=this,{model:_0x2a6661,data:_0x40411a}=_0x3748cb;_0x2a6661['document']['registerPostFixer'](_0x3f8c46=>{const _0x148ab4=_0x2a6661['document']['differ']['getChanges']();let _0x40e4d7=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x3f8c46,_0x148ab4)&&(_0x40e4d7=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x3f8c46,_0x148ab4)&&(_0x40e4d7=!0x0),this['_handleFootnoteReferencesChanges'](_0x3f8c46,_0x148ab4)&&(_0x40e4d7=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x3f8c46)&&(_0x40e4d7=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x3f8c46)&&(_0x40e4d7=!0x0),this['_sortFootnoteDefinitions'](_0x3f8c46)&&(_0x40e4d7=!0x0),_0x40e4d7;}),this['listenTo'](_0x2a6661['document'],'change:data',()=>{_0x2a6661['enqueueChange']({'isUndoable':!0x1},_0x2bb95e=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x2bb95e);});},{'priority':'low'}),this['listenTo'](_0x40411a,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x46a42d){return this['_footnotes']['find'](_0x18bb75=>_0x18bb75['id']===_0x46a42d)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x1d6664){this['_footnoteFormatter']=_0x1d6664;}['_updateFootnotesCounters'](_0x6c85d8,_0x1e17fe=0x0){let _0x56e1e4=!0x1;for(let _0x189b12=_0x1e17fe;_0x189b12<this['_footnotes']['length'];_0x189b12++)this['_updateFootnoteRefCounter'](_0x6c85d8,_0x189b12)&&(_0x56e1e4=!0x0);return _0x56e1e4;}['_insertEmptyFootnotesDefinitionsContainer'](_0xcec93b,_0xc6213b){const _0x1ff8c1=_0xcec93b['createElement']('footnotesDefinitions',{});return _0xcec93b['append'](_0x1ff8c1,_0xc6213b),this['_footnotesDefinitions']=_0x1ff8c1,_0x1ff8c1;}['_ensureFootnotesDefinitionsContainerExists'](_0x1483ea){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x25f02a=this['_footnotes'][0x0]['reference']['root'],_0x127e4d=this['_insertEmptyFootnotesDefinitionsContainer'](_0x1483ea,_0x25f02a);for(const _0x1686a2 of this['_footnotes'])_0x1686a2['definition']['parent']||_0x1483ea['insert'](_0x1686a2['definition'],_0x127e4d,'end');this['_updateFootnotesCounters'](_0x1483ea);}['_handleFootnotesDefinitionsObjectChanges'](_0xca92fc,_0x955b4){let _0x4fa092=!0x1;const {inserted:_0x524980,removed:_0x4194b1,moved:_0x102875}=this['_footnoteDefsContainerTracker']['getChanges'](_0x955b4);if(_0x102875['length']&&(this['_footnotesDefinitions']=_0x102875[0x0]),_0x524980['length']){if(_0x524980['length']>0x1||this['_footnotesDefinitions']&&_0x524980['some'](_0x42dca3=>_0x42dca3!==this['_footnotesDefinitions'])){const _0x1b380f=_0xca92fc['createElement']('footnotesDefinitions',{}),_0x328908=[];this['_footnotesDefinitions']&&_0x328908['push'](this['_footnotesDefinitions']),_0x328908['push'](..._0x524980),_0xca92fc['insert'](_0x1b380f,_0x328908[0x0],'before');for(const _0x124d07 of _0x328908)_0xca92fc['move'](_0xca92fc['createRangeIn'](_0x124d07),_0xca92fc['createPositionAt'](_0x1b380f,'end')),_0xca92fc['remove'](_0x124d07);this['_footnotesDefinitions']=_0x1b380f,this['_updateFootnotesCounters'](_0xca92fc),_0x4fa092=!0x0;}else this['_footnotesDefinitions']=_0x524980[0x0];}if(_0x4194b1['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x3e9cd7 of this['_footnotes'])_0xca92fc['remove'](_0x3e9cd7['reference']),_0x4fa092=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4fa092;}['_handleFootnoteDefinitionsChanges'](_0x1f6939,_0x5dd1a1){let _0x170e96=!0x1;const _0x2dd2a6=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x75761,moved:_0x2b95b9}=this['_footnoteDefsTracker']['getChanges'](_0x5dd1a1);for(const _0xc2cf86 of[..._0x2b95b9,..._0x75761]){const _0x5ee28e=_0xc2cf86['getAttribute']('footnoteId'),_0x550f3a=this['getFootnote'](_0x5ee28e);_0x550f3a&&(_0x550f3a['definition']=_0xc2cf86),_(_0x1f6939,_0x2dd2a6,_0xc2cf86)&&(_0x170e96=!0x0);}return _0x170e96;}['_handleFootnoteReferencesChanges'](_0x3f5d4f,_0x2cde5c){let _0x497ca7=!0x1;const {removed:_0x355546,inserted:_0x496f73,moved:_0x1a6470}=this['_footnoteRefsTracker']['getChanges'](_0x2cde5c);for(const _0x4f4430 of _0x355546)this['_handleRemoveFootnoteReferenceById'](_0x3f5d4f,_0x4f4430)&&(_0x497ca7=!0x0);for(const _0x10856c of _0x496f73)this['_handleInsertedFootnoteReference'](_0x3f5d4f,_0x10856c)&&(_0x497ca7=!0x0);for(const _0x5dbc1c of _0x1a6470)this['_handleMovedFootnoteReference'](_0x3f5d4f,_0x5dbc1c)&&(_0x497ca7=!0x0);return _0x497ca7;}['_handleFootnotesDefinitionsObjectSync'](_0xc58b5c){if(!this['_footnotesDefinitions'])return!0x1;let _0x513ae8=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x328de4=[];for(const _0x5727b7 of this['_footnotesDefinitions']['getChildren']()){const _0x8b1e7a=_0x5727b7['getAttribute']('footnoteId');this['getFootnote'](_0x8b1e7a)||(_0x328de4['unshift'](_0x5727b7),_0x513ae8=!0x0);}for(const _0x3756f4 of _0x328de4)_0xc58b5c['remove'](_0x3756f4);}const _0x4489b3=new Set(),_0x2c52ad=[];for(const _0x3b1924 of this['_footnotesDefinitions']['getChildren']()){const _0x1fd517=_0x3b1924['getAttribute']('footnoteId');_0x4489b3['has'](_0x1fd517)?(_0x2c52ad['unshift'](_0x3b1924),_0x513ae8=!0x0):_0x4489b3['add'](_0x1fd517);}for(const _0x16035f of _0x2c52ad)_0xc58b5c['remove'](_0x16035f);return this['_footnotesDefinitions']['childCount']||(_0xc58b5c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x513ae8=!0x0),_0x513ae8;}['_handleInsertedFootnoteReference'](_0x45ce2e,_0x4be3e5){if(this['_footnotes']['find'](_0x22a3e1=>_0x22a3e1['reference']===_0x4be3e5))return!0x1;let _0x183cdf=!0x1;const _0x36fcac=_0x4be3e5['getAttribute']('footnoteId'),_0x399d37=this['_footnotes']['findIndex'](_0x3cf928=>_0x3cf928['id']===_0x36fcac);-0x1!==_0x399d37&&(_0x45ce2e['remove'](this['_footnotes'][_0x399d37]['reference']),this['_footnotes']['splice'](_0x399d37,0x1),_0x183cdf=!0x0);let _0x1b1332=this['_footnotesDefinitions']?function(_0x38851d,_0x3dee4f){for(const _0x939f40 of _0x38851d['getChildren']())if(_0x939f40['getAttribute']('footnoteId')===_0x3dee4f)return _0x939f40;return null;}(this['_footnotesDefinitions'],_0x36fcac):null;_0x1b1332||(_0x1b1332=_0x45ce2e['createElement']('footnoteDefinition',{'footnoteId':_0x36fcac}),this['_footnotesDefinitions']&&(_0x45ce2e['insert'](_0x1b1332,this['_footnotesDefinitions'],'end'),_0x183cdf=!0x0));const _0x44d582={'id':_0x36fcac,'reference':_0x4be3e5,'definition':_0x1b1332},_0x578897=I(this['editor']['model'],this['_footnotes'],_0x4be3e5);this['_footnotes']['splice'](_0x578897,0x0,_0x44d582);let _0x13c49e=_0x578897;return-0x1!==_0x399d37&&(_0x13c49e=Math['min'](_0x578897,_0x399d37)),this['_updateFootnotesCounters'](_0x45ce2e,_0x13c49e)&&(_0x183cdf=!0x0),_0x183cdf;}['_handleRemoveFootnoteReferenceById'](_0x52ca0f,_0x2725af){const _0x2ed947=this['_footnotes']['findIndex'](_0x520200=>_0x520200['id']===_0x2725af);if(-0x1===_0x2ed947)return!0x1;let _0x13c2a3=!0x1;const _0x8998f8=this['_footnotes'][_0x2ed947];return'$graveyard'!==_0x8998f8['definition']['root']['rootName']&&(_0x52ca0f['remove'](_0x8998f8['definition']),_0x13c2a3=!0x0),this['_footnotes']['splice'](_0x2ed947,0x1),this['_updateFootnotesCounters'](_0x52ca0f,_0x2ed947)&&(_0x13c2a3=!0x0),_0x13c2a3;}['_handleMovedFootnoteReference'](_0x1afc1f,_0x4720fb){const _0x385451=_0x4720fb['getAttribute']('footnoteId'),_0x490ebf=this['_footnotes']['findIndex'](_0x2eaf7f=>_0x2eaf7f['id']===_0x385451),_0x2c9835=this['_footnotes'][_0x490ebf];let _0x38dd2e=!0x1;_0x2c9835['reference']=_0x4720fb,this['_footnotes']['splice'](_0x490ebf,0x1);const _0xd3d47b=I(this['editor']['model'],this['_footnotes'],_0x4720fb);return this['_footnotes']['splice'](_0xd3d47b,0x0,_0x2c9835),this['_updateFootnotesCounters'](_0x1afc1f,Math['min'](_0x490ebf,_0xd3d47b))&&(_0x38dd2e=!0x0),_0x38dd2e;}['_updateFootnoteRefCounter'](_0x5f2e5c,_0x8ad77d){if(!this['_footnotesDefinitions'])return!0x1;const _0x54be4f=this['_footnotes'][_0x8ad77d];let _0x1de04d;return _0x1de04d=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x54be4f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x8ad77d+0x1}):String(_0x8ad77d+0x1),_0x54be4f['reference']['getAttribute']('footnoteCounter')!=_0x1de04d&&(_0x5f2e5c['setAttribute']('footnoteCounter',_0x1de04d,_0x54be4f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3a390c){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x40c02f,_0x454715){if(_0x40c02f['length']!==_0x454715['length'])return!0x1;for(let _0x44b88a=0x0;_0x44b88a<_0x40c02f['length'];_0x44b88a++)if(_0x40c02f[_0x44b88a]!==_0x454715[_0x44b88a])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x13d56e=>_0x13d56e['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3d7746=>_0x3d7746['getAttribute']('footnoteId'))))return!0x1;let _0x4c308f=!0x1;for(let _0x38b80e=0x0;_0x38b80e<this['_footnotes']['length'];_0x38b80e++){const _0x4fe6e8=this['_footnotes'][_0x38b80e],_0x1bd021=_0x3a390c['createPositionBefore'](_0x4fe6e8['definition']),_0x3aac90=_0x3a390c['createPositionAt'](this['_footnotesDefinitions'],_0x38b80e);_0x1bd021['isEqual'](_0x3aac90)||(_0x3a390c['move'](_0x3a390c['createRangeOn'](_0x4fe6e8['definition']),_0x3aac90),_0x4c308f=!0x0);}return _0x4c308f;}['_ensureFootnotesReferencesHaveProperOrder'](_0x347308){if(!this['_footnotes']['length'])return!0x1;const {model:_0x235d42}=this['editor'];let _0x5d7229=!0x1;for(let _0x9d2187=0x0;_0x9d2187<this['_footnotes']['length']-0x1;_0x9d2187++){const _0x47aa73=this['_footnotes'][_0x9d2187],_0x53f35d=this['_footnotes'][_0x9d2187+0x1],_0x210475=_0x235d42['createPositionBefore'](_0x47aa73['reference']),_0xc7c649=_0x235d42['createPositionBefore'](_0x53f35d['reference']);'after'===_0x210475['compareWith'](_0xc7c649)&&(this['_handleMovedFootnoteReference'](_0x347308,_0x47aa73['reference']),_0x9d2187=-0x1,_0x5d7229=!0x0);}return _0x5d7229;}}function _(_0x4e0af7,_0x184410,_0x3dd347){if(_0x3dd347['childCount'])return!0x1;const _0x296aa1=_0x184410?'paragraph':'footnoteInlineContent';return _0x4e0af7['insert'](_0x4e0af7['createElement'](_0x296aa1),_0x3dd347),!0x0;}function I(_0xb3b237,_0x7a6f46,_0x3fde33){if(0x0===_0x7a6f46['length'])return 0x0;const _0x260954=_0xb3b237['createPositionBefore'](_0x3fde33);for(let _0x4b8aeb=0x0;_0x4b8aeb<_0x7a6f46['length'];_0x4b8aeb++){const _0x472a51=_0x7a6f46[_0x4b8aeb],_0x321692=_0xb3b237['createPositionBefore'](_0x472a51['reference']);if('before'===_0x260954['compareWith'](_0x321692))return _0x4b8aeb;}const _0x2e1a84=_0x3fde33['root'];let _0x67dc33=-0x1;for(let _0x3f8ee8=_0x7a6f46['length']-0x1;_0x3f8ee8>=0x0;_0x3f8ee8--)if(_0x7a6f46[_0x3f8ee8]['reference']['root']===_0x2e1a84){_0x67dc33=_0x3f8ee8;break;}if(-0x1!==_0x67dc33)return _0x67dc33+0x1;const _0x38684e=_0xb3b237['document']['getRootNames'](),_0x51da44=_0x38684e['indexOf'](_0x2e1a84['rootName']),_0x1aafef=_0x38684e[_0x51da44+0x1];if(_0x1aafef){for(let _0x4ac8e3=0x0;_0x4ac8e3<_0x7a6f46['length'];_0x4ac8e3++)if(_0x7a6f46[_0x4ac8e3]['reference']['root']['rootName']===_0x1aafef)return _0x4ac8e3;}return _0x7a6f46['length'];}class h extends _0x6d233a{['refresh'](){const _0x33b338=this['editor']['model']['document']['selection'],_0x162fe2=this['_getPositionToInsertFootnote'](_0x33b338);this['isEnabled']=!!_0x162fe2;}['execute'](_0x1a2c7e){const {editor:_0x496e92}=this,{model:_0x554e71}=_0x496e92,{selection:_0x3543c5}=_0x554e71['document'],_0x153cf0=this['_getPositionToInsertFootnote'](_0x3543c5);if(!_0x153cf0)return;const _0x42112d=_0x496e92['plugins']['get']('FootnotesEditing'),_0x38d483=_0x1a2c7e?.['footnoteId']??_0x5a873e();!function(_0x1c95e2){return'string'==typeof _0x1c95e2&&_0x1c95e2['length']>0x0&&!/\s/['test'](_0x1c95e2)&&!/^\d/['test'](_0x1c95e2);}(_0x38d483)?_0x4aa6c5('insert-footnote-command-executed-with-invalid-id'):(_0x554e71['change'](_0x56b7f0=>{const _0x4d1964=_0x56b7f0['createElement']('footnoteRef',{'footnoteId':_0x38d483});_0x554e71['insertObject'](_0x4d1964,_0x153cf0,null);}),_0x42112d['_moveSelectionToFootnoteDefinition'](_0x38d483));}['_getPositionToInsertFootnote'](_0x79e225){const {model:_0x54f64}=this['editor'],{schema:_0x29bef3}=_0x54f64,_0x4dddcb=_0x79e225['getFirstRange']();for(const _0x3705fc of _0x4dddcb['getItems']())if(_0x29bef3['isBlock'](_0x3705fc)||_0x29bef3['isObject'](_0x3705fc))return null;const _0x339832=_0x4dddcb['end'];return _0x29bef3['checkChild'](_0x339832,'footnoteRef')?_0x339832:null;}}class r extends _0x352caa{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2aa399}=this;_0x2aa399['config']['define']('footnotes.multiBlock',!0x0),_0x2aa399['commands']['add']('insertFootnote',new h(_0x2aa399)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x187f2d){const _0x1bd05c=_0x4b836c([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]),_0x38c8a6=0x47a28506,_0xe2bc7b=0x47a5fb3e^_0x38c8a6,_0x2a1697=window[_0x4b836c([0x44,0x61,0x74,0x65])][_0x4b836c([0x6e,0x6f,0x77])](),_0x189348=_0x187f2d[_0x4b836c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x55b64=new window[(_0x4b836c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46e5df=>{_0x189348[_0x4b836c([0x6f,0x6e,0x63,0x65])](_0x4b836c([0x72,0x65,0x61,0x64,0x79]),_0x46e5df);}),_0x9bb99e={[_0x4b836c([0x6b,0x74,0x79])]:_0x4b836c([0x45,0x43]),[_0x4b836c([0x75,0x73,0x65])]:_0x4b836c([0x73,0x69,0x67]),[_0x4b836c([0x63,0x72,0x76])]:_0x4b836c([0x50,0x2d,0x32,0x35,0x36]),[_0x4b836c([0x78])]:_0x4b836c([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]),[_0x4b836c([0x79])]:_0x4b836c([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]),[_0x4b836c([0x61,0x6c,0x67])]:_0x4b836c([0x45,0x53,0x32,0x35,0x36])},_0x5effa5=_0x189348[_0x4b836c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b836c([0x67,0x65,0x74])](_0x4b836c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3023e4(){let _0x4e60c0,_0x308639=null,_0x52042b=null;try{if(_0x5effa5==_0x4b836c([0x47,0x50,0x4c]))return _0x4b836c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4e60c0=_0x57b478(),!_0x4e60c0)return _0x4b836c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4e60c0[_0x4b836c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x52042b=_0x4da7f6(_0x4e60c0[_0x4b836c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4e60c0[_0x4b836c([0x6a,0x74,0x69])])),await _0x4751c()?_0x1dac69()?_0x7c2386()?_0x4b836c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x330b86()?(_0x4e60c0[_0x4b836c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b836c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x308639=_0xfa71bb(_0x4b836c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x11a92e()):_0x4b836c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b836c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b836c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b836c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7c2386(){const _0x478de0=[_0x4b836c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b836c([0x74,0x72,0x69,0x61,0x6c])][_0x4b836c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e60c0[_0x4b836c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a1697/0x3e8:0xe10*_0xe2bc7b;return _0x4e60c0[_0x4b836c([0x65,0x78,0x70])]<_0x478de0;}function _0x1dac69(){const _0x14dac4=_0x4e60c0[_0x4b836c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14dac4&&(!!_0x14dac4[_0x4b836c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b836c([0x2a]))||!!_0x14dac4[_0x4b836c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b836c([0x46,0x4f,0x4f])));}function _0x330b86(){const _0x2b680d=_0x4e60c0[_0x4b836c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b680d||0x0==_0x2b680d[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c4f96}=new URL(window[_0x4b836c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2b680d[_0x4b836c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c4f96))return!0x0;const _0x38e816=_0x5c4f96[_0x4b836c([0x73,0x70,0x6c,0x69,0x74])](_0x4b836c([0x2e]));return _0x2b680d[_0x4b836c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1568e4=>_0x1568e4[_0x4b836c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b836c([0x2a])))[_0x4b836c([0x6d,0x61,0x70])](_0x4c521e=>_0x4c521e[_0x4b836c([0x73,0x70,0x6c,0x69,0x74])](_0x4b836c([0x2e])))[_0x4b836c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x299d8d=>_0x299d8d[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x38e816[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b836c([0x6d,0x61,0x70])](_0x195392=>Array(_0x38e816[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x195392[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b836c([0x66,0x69,0x6c,0x6c])](_0x195392[0x0]===_0x4b836c([0x2a])?_0x4b836c([0x2a]):'')[_0x4b836c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x195392))[_0x4b836c([0x73,0x6f,0x6d,0x65])](_0x10df0f=>_0x38e816[_0x4b836c([0x65,0x76,0x65,0x72,0x79])]((_0x3da46a,_0x487849)=>_0x10df0f[_0x487849]===_0x3da46a||_0x10df0f[_0x487849]===_0x4b836c([0x2a])));}function _0x11a92e(){return _0x308639&&_0x52042b?new window[(_0x4b836c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x379a0a,_0x5f04d6)=>{_0x308639[_0x4b836c([0x74,0x68,0x65,0x6e])](_0x379a0a,_0x5f04d6),_0x52042b[_0x4b836c([0x74,0x68,0x65,0x6e])](_0x112444=>{_0x112444!=_0x4b836c([0x56,0x61,0x6c,0x69,0x64])&&_0x379a0a(_0x112444);},_0x5f04d6);}):_0x308639||_0x52042b||_0x4b836c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4da7f6(_0x38a542,_0x1f69ec){return new window[(_0x4b836c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4339a7=>{if(_0x1fcc03())return _0x4339a7(_0x4b836c([0x56,0x61,0x6c,0x69,0x64]));_0x4ff1c3(),_0x189348[_0x4b836c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b836c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3148dd=!0x1;const _0x5a062b=_0x5a873e();function _0x18910a(_0x4852a3){return!!_0x4852a3&&(typeof _0x4852a3===_0x4b836c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4852a3===_0x4b836c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4852a3[_0x4b836c([0x74,0x68,0x65,0x6e])]===_0x4b836c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4852a3[_0x4b836c([0x63,0x61,0x74,0x63,0x68])]===_0x4b836c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1c2deb(_0x3acf07){_0xeb26a0(_0x3acf07)[_0x4b836c([0x74,0x68,0x65,0x6e])](_0x4452d1=>{if(!_0x4452d1||_0x4452d1[_0x4b836c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b836c([0x6f,0x6b]))return _0x4b836c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x475dff(_0x5114dc(_0x5a062b+_0x1f69ec))!=_0x4452d1[_0x4b836c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b836c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b836c([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b836c([0x74,0x68,0x65,0x6e])](_0x177b81=>(_0x2ae42c(),_0x177b81),()=>{const _0x44cc87=_0x37ee05();return null==_0x44cc87?(_0x2ae42c(),_0x4b836c([0x56,0x61,0x6c,0x69,0x64])):_0x4b836c(_0x2a1697-_0x44cc87>(0x63ae0106^_0x38c8a6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b836c([0x74,0x68,0x65,0x6e])](_0x4339a7)[_0x4b836c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4339a7(_0x4b836c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a07a2=0x47946b86^_0x38c8a6;function _0x2ae42c(){const _0x221eca=_0x4b836c([0x6c,0x6c,0x63,0x74,0x2d])+_0x475dff(_0x5114dc(_0x38a542)),_0x1de00c=_0x4e76c9(_0x475dff(window[_0x4b836c([0x4d,0x61,0x74,0x68])][_0x4b836c([0x63,0x65,0x69,0x6c])](_0x2a1697/_0x2a07a2)));window[_0x4b836c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b836c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x221eca,_0x1de00c);}function _0x37ee05(){const _0x3f9dd1=_0x4b836c([0x6c,0x6c,0x63,0x74,0x2d])+_0x475dff(_0x5114dc(_0x38a542)),_0x4ffb61=window[_0x4b836c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b836c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f9dd1);return _0x4ffb61?window[_0x4b836c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e76c9(_0x4ffb61),0x10)*_0x2a07a2:null;}function _0xeb26a0(_0x20dae8){return new window[(_0x4b836c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x139bf8,_0x59819a)=>{_0x20dae8[_0x4b836c([0x74,0x68,0x65,0x6e])](_0x139bf8,_0x59819a),window[_0x4b836c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59819a,0x47a351c6^_0x38c8a6);});}}_0x189348[_0x4b836c([0x6f,0x6e])](_0x4b836c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13aa2b,_0x50b1f3)=>{if(_0x50b1f3[0x0]!=_0x38a542)return _0x4339a7(_0x4b836c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x50b1f3[0x1]={..._0x50b1f3[0x1],[_0x4b836c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a062b};},{[_0x4b836c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b836c([0x68,0x69,0x67,0x68])}),_0x189348[_0x4b836c([0x6f,0x6e])](_0x4b836c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c7070=>{_0x18910a(_0x2c7070[_0x4b836c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3148dd=!0x0,_0x1c2deb(_0x2c7070[_0x4b836c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b836c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b836c([0x6c,0x6f,0x77])}),_0x55b64[_0x4b836c([0x74,0x68,0x65,0x6e])](()=>{_0x3148dd||_0x4339a7(_0x4b836c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1fcc03(){return _0x189348[_0x4b836c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b836c([0x76,0x69,0x65,0x77])][_0x4b836c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b836c([0x61,0x75,0x74,0x6f]);}function _0x4ff1c3(){_0x189348[_0x4b836c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b836c([0x76,0x69,0x65,0x77])][_0x4b836c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b836c([0x61,0x75,0x74,0x6f]);}}function _0xfa71bb(_0x4b7542){const _0x3c8081=[new window[(_0x4b836c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x378c71=>setTimeout(_0x378c71,0x47abbbca^_0x38c8a6)),_0x55b64[_0x4b836c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b836c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x540611=>{let _0x3178aa=0x0;_0x189348[_0x4b836c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b836c([0x6f,0x6e])](_0x4b836c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa0c094,_0x5b38ad)=>{_0x5b38ad[0x0][_0x4b836c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3178aa++,_0x3178aa==(0x47a280ee^_0x38c8a6)&&(_0x540611(),_0xa0c094[_0x4b836c([0x6f,0x66,0x66])]());});}))];return window[_0x4b836c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b836c([0x72,0x61,0x63,0x65])](_0x3c8081)[_0x4b836c([0x74,0x68,0x65,0x6e])](()=>_0x4b7542);}async function _0x4b165e(){await _0x55b64,_0x189348[_0x4b836c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b836c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x155200,_0x189348[_0x4b836c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b836c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x155200,_0x189348[_0x4b836c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b836c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8cacfd(_0x3430ae){const _0x5f5a1b=_0x3f45df();_0x189348[_0x5f5a1b]=_0x4b836c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3430ae,_0x3430ae!=_0x4b836c([0x56,0x61,0x6c,0x69,0x64])&&_0x4b165e();}function _0x3f45df(){const _0x566738=window[_0x4b836c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b836c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b836c([0x6e,0x6f,0x77])]())[_0x4b836c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b836c([0x2e]),'');let _0x384d04=_0x4b836c([0x75]);for(let _0x44375a=0x0;_0x44375a<_0x566738[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44375a+=0x2){let _0x91041e=window[_0x4b836c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x566738[_0x4b836c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44375a,_0x44375a+0x2));_0x91041e>=_0x1bd05c[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x91041e-=_0x1bd05c[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x384d04+=_0x1bd05c[_0x91041e];}return _0x384d04;}function _0x57b478(){const _0x3f69e3=_0x5effa5[_0x4b836c([0x73,0x70,0x6c,0x69,0x74])](_0x4b836c([0x2e]));if(0x3!=_0x3f69e3[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x6821d4(_0x3f69e3[0x1]);function _0x6821d4(_0x3a36fb){const _0x4e9ba1=_0x47fc9c(_0x3a36fb);return _0x4e9ba1&&_0xf385e3()?_0x4e9ba1:null;function _0xf385e3(){const _0x3162f5=_0x4e9ba1[_0x4b836c([0x6a,0x74,0x69])],_0x2f9ad6=window[_0x4b836c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3162f5[_0x4b836c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3162f5[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x353e64={..._0x4e9ba1,[_0x4b836c([0x6a,0x74,0x69])]:_0x3162f5[_0x4b836c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3162f5[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x353e64[_0x4b836c([0x76,0x63])],_0x5114dc(_0x353e64)==_0x2f9ad6;}}}async function _0x4751c(){let _0x1d35a2=!0x0;try{const _0x14797f=_0x5effa5[_0x4b836c([0x73,0x70,0x6c,0x69,0x74])](_0x4b836c([0x2e])),[_0x250ee5,_0x2a0c90,_0xb849d7]=_0x14797f;return _0x119ac3(_0x250ee5),await _0x520d54(_0x250ee5,_0x2a0c90,_0xb849d7),_0x1d35a2;}catch{return!0x1;}function _0x119ac3(_0x20706c){const _0x46fc0c=_0x47fc9c(_0x20706c);_0x46fc0c&&_0x46fc0c[_0x4b836c([0x61,0x6c,0x67])]==_0x4b836c([0x45,0x53,0x32,0x35,0x36])||(_0x1d35a2=!0x1);}async function _0x520d54(_0x3a125c,_0x4a82ec,_0x3b0d50){const _0x2319b3=window[_0x4b836c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b836c([0x66,0x72,0x6f,0x6d])](_0xc53535(_0x3b0d50),_0x5f1553=>_0x5f1553[_0x4b836c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x417dc8=new window[(_0x4b836c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b836c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a125c+_0x4b836c([0x2e])+_0x4a82ec),_0x31bc48=window[_0x4b836c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b836c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31bc48)return;const _0x2309ab=await _0x31bc48[_0x4b836c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b836c([0x6a,0x77,0x6b]),_0x9bb99e,{[_0x4b836c([0x6e,0x61,0x6d,0x65])]:_0x4b836c([0x45,0x43,0x44,0x53,0x41]),[_0x4b836c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b836c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b836c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31bc48[_0x4b836c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b836c([0x6e,0x61,0x6d,0x65])]:_0x4b836c([0x45,0x43,0x44,0x53,0x41]),[_0x4b836c([0x68,0x61,0x73,0x68])]:{[_0x4b836c([0x6e,0x61,0x6d,0x65])]:_0x4b836c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2309ab,_0x2319b3,_0x417dc8)||(_0x1d35a2=!0x1);}}function _0x47fc9c(_0x5af7c5){return _0x5af7c5[_0x4b836c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b836c([0x65,0x79]))?JSON[_0x4b836c([0x70,0x61,0x72,0x73,0x65])](_0xc53535(_0x5af7c5)):null;}function _0xc53535(_0x2d31ea){return window[_0x4b836c([0x61,0x74,0x6f,0x62])](_0x2d31ea[_0x4b836c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b836c([0x2b]))[_0x4b836c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b836c([0x2f])));}function _0x5114dc(_0x6efcbb){let _0x550c42=0x1505;function _0x4b8dda(_0x1a00bd){for(let _0x5a6ad7=0x0;_0x5a6ad7<_0x1a00bd[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a6ad7++){const _0x101935=_0x1a00bd[_0x4b836c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a6ad7);_0x550c42=(_0x550c42<<0x5)+_0x550c42+_0x101935,_0x550c42&=_0x550c42;}}function _0x2f7c2d(_0xd1db07){Array[_0x4b836c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd1db07)?_0xd1db07[_0x4b836c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2f7c2d):_0xd1db07&&typeof _0xd1db07==_0x4b836c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b836c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd1db07)[_0x4b836c([0x73,0x6f,0x72,0x74])]()[_0x4b836c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x364c48,_0x5a7d4b])=>{_0x4b8dda(_0x364c48),_0x2f7c2d(_0x5a7d4b);}):_0x4b8dda(window[_0x4b836c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd1db07));}return _0x2f7c2d(_0x6efcbb),_0x550c42>>>0x0;}function _0x475dff(_0xe9c6bf){return _0xe9c6bf[_0x4b836c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b836c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b836c([0x30]));}function _0x4e76c9(_0x4425d6){return _0x4425d6[_0x4b836c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b836c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b836c([0x6a,0x6f,0x69,0x6e])]('');}function _0x155200(){}function _0x4b836c(_0x345134){return _0x345134['map'](_0x45d23b=>String['fromCharCode'](_0x45d23b))['join']('');}_0x8cacfd(await _0x3023e4());}(this);}['_moveSelectionToFootnoteDefinition'](_0x41a8da){const {plugins:_0x38cc68,editing:_0x2234b2,model:_0x573a2d}=this['editor'],_0xd2a36a=_0x38cc68['get'](f)['getFootnote'](_0x41a8da);return!!_0xd2a36a&&(_0x573a2d['change'](_0x5d2bce=>{_0x5d2bce['setSelection'](_0x5d2bce['createPositionAt'](_0xd2a36a['definition'],'end'));}),_0x2234b2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x17f798){const {plugins:_0x32a73c,editing:_0x32adf5,model:_0x16fd81}=this['editor'],_0x44c859=_0x32a73c['get'](f)['getFootnote'](_0x17f798);return!!_0x44c859&&(_0x16fd81['change'](_0x2d0e22=>{_0x2d0e22['setSelection'](_0x44c859['reference'],'on');}),_0x32adf5['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x18f5a1}=this['editor']['model'],_0x124bf7=this['editor']['config']['get']('footnotes.multiBlock');_0x18f5a1['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x18f5a1['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x18f5a1['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x124bf7?_0x18f5a1['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x18f5a1['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x18f5a1['addChildCheck'](_0x110631=>{for(const _0x5018e5 of _0x110631)if('footnoteDefinition'===_0x5018e5['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x44aa30}=this,{conversion:_0x1028b5,editing:_0xd641d9}=_0x44aa30,{t:t}=_0x44aa30['locale'];_0x1028b5['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x146033,{writer:_0x10e8d5,consumable:_0x327144})=>{const _0x23626f=_0x146033['getChild'](0x0);if(!_0x23626f||!_0x23626f['is']('element','a'))return null;const _0x11abbf=_0x23626f['getAttribute']('href')||'';if(!_0x11abbf['startsWith']('#'))return null;const _0x4fea7e=_0x11abbf['replace'](/^#/,'');if(!_0x4fea7e)return null;_0x327144['consume'](_0x23626f,{'name':!0x0,'attributes':['href']});for(const {item:_0x203981}of _0xd641d9['view']['createRangeIn'](_0x23626f))_0x203981['is']('$textProxy')?_0x327144['consume'](_0x203981['textNode'],{'name':!0x0}):_0x203981['is']('element')&&_0x327144['consume'](_0x203981,{'name':!0x0});return _0x10e8d5['createElement']('footnoteRef',{'footnoteId':_0x4fea7e});}}),_0x1028b5['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4e2375,{writer:_0x93696f})=>b(_0x4e2375,_0x93696f)}),_0x1028b5['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x59f87e,{writer:_0x5e2598})=>{const _0xcec376=_0x59f87e['getAttribute']('footnoteCounter');return _0x3ba126(b(_0x59f87e,_0x5e2598),_0x5e2598,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xcec376)});}});}['_defineDefinitionsConverters'](){const {editor:_0x30464e}=this,{t:t}=_0x30464e['locale'],{conversion:_0x4d8bcf}=_0x30464e;_0x4d8bcf['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4d8bcf['for']('upcast')['add'](_0x43c09a=>{_0x43c09a['on']('element:ol',(_0x49bc54,_0x25f9f7,_0x2c27ea)=>{const _0x2494ed=_0x25f9f7['viewItem'];if(!_0x2494ed['hasClass']('footnotes-list')||!_0x25f9f7['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2c27ea['consumable']['consume'](_0x2494ed,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2ae18d,modelCursor:_0x48c687}=_0x2c27ea['convertChildren'](_0x25f9f7['viewItem'],_0x25f9f7['modelCursor']);_0x25f9f7['modelRange']=_0x2ae18d,_0x25f9f7['modelCursor']=_0x48c687;}),_0x43c09a['on']('element:hr',(_0x271318,_0x2dfbf1,_0x8dfb83)=>{const _0x18cb31=_0x2dfbf1['viewItem'];_0x18cb31['hasClass']('footnotes-divider')&&_0x2dfbf1['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x8dfb83['consumable']['consume'](_0x18cb31,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4d8bcf['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2bfa62,{writer:_0x425646})=>D(_0x425646)}),_0x4d8bcf['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1ccebc,{writer:_0x433476})=>{const _0x41869f=D(_0x433476,{'data-footnotes-list-label':t('Footnotes')}),_0x24595b=_0x3ba126(_0x41869f,_0x433476,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x433476['setCustomProperty']('footnotesDefinitions',!0x0,_0x24595b),_0x24595b;}});}['_defineDefinitionConverters'](){const {editor:_0x27498a}=this,{conversion:_0x772b63,locale:_0x1b416b}=_0x27498a,_0xb7c789=_0x27498a['config']['get']('footnotes.multiBlock');_0x772b63['for']('upcast')['add'](_0x240610=>{_0x240610['on']('element:li',(_0x21374d,_0x1f47e7,_0x134811)=>{const _0x22984a=_0x1f47e7['viewItem'];if(!_0x22984a['hasClass']('footnote-definition')||!_0x22984a['getAttribute']('id'))return;const _0x51184b=_0x22984a['parent'];if(!_0x51184b['is']('element','ol')||!_0x51184b['hasClass']('footnotes-list'))return;if(!_0x134811['consumable']['test'](_0x22984a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x728ad8=_0x134811['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x22984a['getAttribute']('id')});if(!_0x134811['safeInsert'](_0x728ad8,_0x1f47e7['modelCursor']))return;_0x134811['consumable']['consume'](_0x22984a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x408803=Array['from'](_0x22984a['getChildren']())['find'](_0x5ecfcf=>_0x5ecfcf['is']('element')&&_0x5ecfcf['hasClass']('footnote-content'));for(const _0x2d6445 of _0x22984a['getChildren']())_0x2d6445['is']('element')&&(_0x134811['consumable']['consume'](_0x2d6445,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x134811['consumable']['consume'](_0x2d6445,{'name':!0x0,'classes':'footnote-content'}));if(_0x408803){if(_0xb7c789)_0x134811['convertChildren'](_0x408803,_0x728ad8);else{const _0x489d72=_0x134811['writer']['createElement']('footnoteInlineContent');_0x134811['writer']['insert'](_0x489d72,_0x728ad8),_0x134811['convertChildren'](_0x408803,_0x489d72);}}_0x134811['updateConversionResult'](_0x728ad8,_0x1f47e7);});}),_0x772b63['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2571b8,{writer:_0x58f185})=>y(_0x2571b8,_0x58f185,_0x1b416b,{'dataPipeline':!0x0})}),_0x772b63['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x187727,{writer:_0xd91bff})=>y(_0x187727,_0xd91bff,_0x1b416b)});}['_defineBogusParagraphConverters'](){const {editor:_0x1ecd7f}=this,{conversion:_0x2dbf31}=_0x1ecd7f;_0x1ecd7f['config']['get']('footnotes.multiBlock')?(_0x2dbf31['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x2dbf31['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1ecd7f['model']['document'],'change:data',()=>{!function(_0x139dcd,_0x3f15dd){const _0x51b4e5=_0x139dcd['document']['differ'],_0xb034cd=new Set();for(const _0x5c5b3a of _0x51b4e5['getChanges']()){const _0x594f85='attribute'==_0x5c5b3a['type']?_0x5c5b3a['range']['start']['parent']:_0x5c5b3a['position']['parent'];_0x594f85['is']('element','footnoteDefinition')&&_0xb034cd['add'](_0x594f85);}for(const _0x5a869e of _0xb034cd['values']()){const _0x56e794=Array['from'](_0x5a869e['getChildren']())['filter'](_0x31fac3=>v(_0x31fac3,_0x3f15dd['mapper']));for(const _0x55e196 of _0x56e794)_0x3f15dd['reconvertItem'](_0x55e196);}}(_0x1ecd7f['model'],_0x1ecd7f['editing']);})):(_0x2dbf31['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x2dbf31['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x479249,{writer:_0x2595cf})=>{const _0x373924=_0x2595cf['createContainerElement']('span');return _0x2595cf['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x373924),_0x373924;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4eb8d7}=this,{editing:_0x44f4b6,t:t}=_0x4eb8d7,_0x315a3e=_0x4eb8d7['model']['document']['selection'];_0x4eb8d7['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4eb8d7['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x44f4b6['view']['document'],'enter',(_0x49b1bd,_0x4075fa)=>{const _0xad8b37=function(_0x1ac7b2){const _0x28efe3=_0x1ac7b2['getSelectedElement']();if(_0x28efe3?.['is']('element','footnoteRef'))return _0x28efe3;return null;}(_0x315a3e);if(_0xad8b37){const _0x5f58f1=_0xad8b37['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5f58f1),_0x4075fa['preventDefault'](),_0x49b1bd['stop']();}},{'context':_0xb08389});}['_defineClickHandlers'](){const {editor:_0x4cb1cc}=this,{editing:_0x5bf469}=_0x4cb1cc;_0x4cb1cc['editing']['view']['addObserver'](_0x33cc45),_0x4cb1cc['editing']['view']['addObserver'](_0x3a7578);let _0x48af5e=!0x1;this['listenTo'](_0x5bf469['view']['document'],'pointerdown',(_0x441fdb,_0x3700e8)=>{const {target:_0x57b766}=_0x3700e8,_0xde3513=_0x5bf469['view']['document']['selection'];_0x48af5e=!!(_0x57b766?.['is']('element','a')&&_0x57b766['parent']?.['is']('element','sup')&&_0x57b766['parent']['hasClass']('footnote'))&&_0xde3513['getSelectedElement']()===_0x57b766['parent'];},{'priority':'high'}),this['listenTo'](_0x5bf469['view']['document'],'click',(_0x4b02b6,_0x4c3f90)=>{const {target:_0x5196f5}=_0x4c3f90;if(!_0x5196f5?.['is']('element','a'))return;if(_0x5196f5['parent']?.['is']('element','sup')&&_0x5196f5['parent']['hasClass']('footnote')&&!_0x48af5e)return void _0x4c3f90['preventDefault']();let _0x4a2952=_0x5196f5['getAttribute']('href');if(!_0x4a2952?.['startsWith']('#'))return;_0x4a2952=_0x4a2952['slice'](0x1);let _0x28f816=!0x1;(_0x4a2952['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4a2952['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4a2952))&&(_0x28f816=!0x0),_0x28f816&&(_0x4c3f90['preventDefault'](),_0x4b02b6['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x26d77b}={}){return(_0x3423f9,{writer:_0x167bfd})=>{if(!g(_0x3423f9))return null;if(!_0x26d77b)return _0x167bfd['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x447c2a=_0x167bfd['createContainerElement']('p');return _0x167bfd['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x447c2a),_0x447c2a;};}function g(_0x16178e){const {parent:_0x55cd9c}=_0x16178e;if(!_0x55cd9c?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x55cd9c['childCount'])return!0x1;for(const _0x3db739 of _0x16178e['getAttributeKeys']())if(!_0x3db739['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3db739)return!0x1;return!0x0;}function v(_0x166593,_0x3e6e9b){if(!_0x166593['is']('element','paragraph'))return!0x1;const _0x2e9ca2=_0x3e6e9b['toViewElement'](_0x166593);return!!_0x2e9ca2&&g(_0x166593)!==_0x2e9ca2['is']('element','span');}function Q(_0x93aaf8){return _0xb08389(_0x93aaf8)&&_0x93aaf8['is']('containerElement')&&!!_0x93aaf8['getCustomProperty']('footnotesDefinitions');}function D(_0x472f15,_0x10ca89={}){const _0xb9bc9b=_0x472f15['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2064f9=_0x472f15['createContainerElement']('ol',{'class':'footnotes-list'},_0x472f15['createSlot']());return _0x472f15['createContainerElement']('div',{'class':'footnotes',..._0x10ca89},[_0xb9bc9b,_0x2064f9]);}function b(_0x419c91,_0x404f28){const _0x2203ec=_0x419c91['getAttribute']('footnoteId'),_0x58f701=_0x419c91['getAttribute']('footnoteCounter'),_0x35d58a=_0x404f28['createUIElement']('a',{'href':'#'+_0x2203ec},function(_0xa73f2b){const _0x3bf8a4=this['toDomElement'](_0xa73f2b);return _0x3bf8a4['textContent']=_0x58f701,_0x3bf8a4;}),_0x50d4dc=_0x404f28['createContainerElement']('sup',{'id':'ref-'+_0x2203ec,'class':'footnote'},[_0x35d58a]);return _0x50d4dc['getFillerOffset']=()=>null,_0x50d4dc;}function y(_0x2a094f,_0x10193f,_0x3274d2,{dataPipeline:_0x535a51}={}){const {t:t}=_0x3274d2,_0x35c41c=_0x2a094f['getAttribute']('footnoteId'),_0x2d5539=_0x10193f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x35c41c},function(_0x1b80aa){const _0x52a244=this['toDomElement'](_0x1b80aa);return _0x52a244['innerText']='^',_0x52a244;}),_0x2a2a0c=_0x535a51?_0x10193f['createContainerElement']('div',{'class':'footnote-content'}):_0x509021(_0x10193f['createEditableElement']('div',{'class':'footnote-content'}),_0x10193f,{'label':t('Footnote\x20content.')});return _0x10193f['insert'](_0x10193f['createPositionAt'](_0x2a2a0c,0x0),_0x10193f['createSlot']()),_0x10193f['createContainerElement']('li',{'class':'footnote-definition','id':_0x35c41c},[_0x2d5539,_0x2a2a0c]);}class e extends _0x352caa{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x2679f7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x13c6e6}=this,{plugins:_0x2e637a,model:_0x4c8f26}=_0x13c6e6,_0xa2ff4b=_0x2e637a['get'](_0x2679f7),_0x2d09c7=_0x2e637a['get'](f);this['listenTo'](_0xa2ff4b,'outputTransformation',(_0x4fd362,_0x4b3dba)=>{const _0x2bcb66=l(_0x4c8f26['createRangeIn'](_0x4b3dba['content']));if(!_0x2bcb66['length'])return;const _0x154bea=_0x2d09c7['getFootnotes'](),_0x2d3e50=_0x2bcb66['reduce']((_0x8ca753,_0x430bb7)=>{const _0x5cd643=_0x154bea['find'](_0xfa504d=>_0xfa504d['id']===_0x430bb7);if(_0x5cd643){const _0x5bfa24=_0x13c6e6['data']['toView'](_0x5cd643['definition'],{'isClipboardPipeline':!0x0}),_0x1e8cdf=_0x13c6e6['data']['htmlProcessor']['toData'](_0x5bfa24);_0x8ca753[_0x5cd643['id']]=_0x1e8cdf;}return _0x8ca753;},Object['create'](null));_0x4b3dba['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x2d3e50));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x26b849}=this,{model:_0x283b44,plugins:_0x15ec62}=_0x26b849,{view:_0x36030f}=_0x26b849['editing'],_0x146b3e=_0x15ec62['get'](_0x2679f7),_0x5c7eba=_0x15ec62['get'](f),_0xf159df=_0x26b849['config']['get']('footnotes.multiBlock');let _0xd273a1=null;this['listenTo'](_0x36030f['document'],'clipboardInput',(_0x24a8b2,_0x2db157)=>{const _0x377d91=_0x2db157['dataTransfer']['getData']('application/ckeditor5-footnotes');_0xd273a1=_0x377d91?JSON['parse'](_0x377d91):null;}),this['listenTo'](_0x146b3e,'contentInsertion',(_0x593de6,_0x1ec8c4)=>{const _0x5c3838=_0x1ec8c4['sourceEditorId']===this['editor']['id'];_0x5c3838&&'drop'===_0x1ec8c4['method']||_0x283b44['change'](_0x2ab28c=>{let _0x52d7c8=_0x5c7eba['getFootnotesDefinitionsObjectElement']();const _0x10315d=!!_0x52d7c8&&Array['from'](_0x283b44['document']['selection']['getSelectedBlocks']())['includes'](_0x52d7c8);if(!_0xd273a1&&function(_0xf47955){for(const {item:_0x4637a9}of _0xf47955)if(_0x4637a9['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x283b44['createRangeIn'](_0x1ec8c4['content']))&&(_0xd273a1=function(_0x4ed518,_0x25aec2){const _0x54d385=c(_0x4ed518,_0x25aec2);if(!_0x54d385)return null;const _0x359685=Object['create'](null);for(const _0x2b8a5c of _0x54d385['getChildren']())_0x2b8a5c['is']('element','footnoteDefinition')&&_0x2b8a5c['hasAttribute']('footnoteId')&&(_0x359685[_0x2b8a5c['getAttribute']('footnoteId')]=_0x4ed518['cloneElement'](_0x2b8a5c,!0x0));return Object['keys'](_0x359685)['length']?_0x359685:null;}(_0x2ab28c,_0x1ec8c4['content'])),(_0x52d7c8&&!_0x10315d||!_0x52d7c8&&!_0xd273a1)&&function(_0xcd1ff0,_0x1563e4){const _0x233355=[];for(const {item:_0x46e1ca}of _0xcd1ff0['createRangeIn'](_0x1563e4))_0x46e1ca['is']('element','footnotesDefinitions')&&_0x233355['push'](_0x46e1ca);for(const _0x46ac6d of _0x233355)_0xcd1ff0['remove'](_0x46ac6d);}(_0x2ab28c,_0x1ec8c4['content']),!_0xd273a1)return;const {selection:_0x1cbff4}=_0x283b44['document'],_0x1cafd1=_0x1cbff4['getFirstRange']()['root'];_0x52d7c8&&!_0x10315d||(_0x52d7c8=c(_0x2ab28c,_0x1ec8c4['content']),_0x52d7c8||=_0x5c7eba['_insertEmptyFootnotesDefinitionsContainer'](_0x2ab28c,_0x1cafd1));const _0x2ecbe8=Array['from'](_0x1cbff4['getRanges']())['flatMap'](l),_0x473f52=function(_0x5705f3,_0x29559f,_0x454b26){const _0x5dc718=Object['create'](null);for(const {item:_0xec9728}of _0x5705f3['createRangeIn'](_0x29559f))if(_0xec9728['is']('element','footnoteRef')){const _0x3a847f=_0xec9728['getAttribute']('footnoteId');if(!_0x454b26(_0x3a847f))continue;_0x5dc718[_0x3a847f]||(_0x5dc718[_0x3a847f]=_0x5a873e()),_0x5705f3['setAttribute']('footnoteId',_0x5dc718[_0x3a847f],_0xec9728);}return _0x5dc718;}(_0x2ab28c,_0x1ec8c4['content'],_0x40eeeb=>{if(!_0x5c3838)return!0x0;return!!_0x5c7eba['getFootnote'](_0x40eeeb)&&!_0x2ecbe8['includes'](_0x40eeeb);});for(const [_0x3d4242,_0x19111b]of Object['entries'](_0xd273a1)){const _0x50a81d=_0x473f52[_0x3d4242]||_0x3d4242;let _0x385b26;if('string'!=typeof _0x19111b)_0x385b26=_0x19111b,_0x50a81d!==_0x3d4242&&_0x2ab28c['setAttribute']('footnoteId',_0x50a81d,_0x385b26);else{_0x385b26=_0x2ab28c['createElement']('footnoteDefinition',{'footnoteId':_0x50a81d});const _0x4ae267=_0x26b849['data']['htmlProcessor']['toView'](_0x19111b);let _0x39eec9;if(_0xf159df)_0x39eec9=_0x26b849['data']['toModel'](_0x4ae267,_0x385b26);else{_0x39eec9=_0x2ab28c['createElement']('footnoteInlineContent');const _0x55d7fa=_0x26b849['data']['toModel'](_0x4ae267,_0x39eec9);_0x2ab28c['insert'](_0x55d7fa,_0x39eec9);}_0x2ab28c['append'](_0x39eec9,_0x385b26);}_0x2ab28c['insert'](_0x385b26,_0x52d7c8,'end');}_0xd273a1=null;});});}}function c(_0x4368cb,_0x39e2b6){for(const {item:_0x1b152a}of _0x4368cb['createRangeIn'](_0x39e2b6))if(_0x1b152a['is']('element','footnotesDefinitions'))return _0x1b152a;return null;}function l(_0x385d58){const _0x5714cc=new Set();for(const {item:_0x4b4eac}of _0x385d58)_0x4b4eac['is']('element','footnoteRef')&&_0x5714cc['add'](_0x4b4eac['getAttribute']('footnoteId'));return Array['from'](_0x5714cc);}class i extends _0x352caa{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2465a7}=this,{componentFactory:_0x3a581e}=_0x2465a7['ui'];_0x3a581e['add']('insertFootnote',E(_0x2465a7,_0x2b0496)),_0x3a581e['add']('menuBar:insertFootnote',E(_0x2465a7,_0x22563e)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x36f7eb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4b976b;for(const _0x26b3ad in _0x36f7eb){const _0x2132fc=_0x26b3ad,_0x442eeb=_0x36f7eb[_0x2132fc];if('footnotesLicenseKeyValid'==_0x442eeb||'footnotesLicenseKeyInvalid'==_0x442eeb||'footnotesLicenseKeyExpired'==_0x442eeb||'footnotesLicenseKeyDomainLimit'==_0x442eeb||'footnotesLicenseKeyNotAllowed'==_0x442eeb||'footnotesLicenseKeyEvaluationLimit'==_0x442eeb||'footnotesLicenseKeyUsageLimit'==_0x442eeb){delete _0x36f7eb[_0x2132fc],_0x4b976b=_0x442eeb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4b976b&&_0x36f7eb['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4b976b&&_0x36f7eb['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4b976b&&_0x36f7eb['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4b976b&&_0x36f7eb['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4b976b&&_0x36f7eb['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x4b976b&&_0x36f7eb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x1bcae6,_0x335d9a){const _0x4eb0b2=_0x1bcae6['commands']['get']('insertFootnote');return _0x1fbf3b=>{const {t:t}=_0x1fbf3b,_0x3a2cff=new _0x335d9a(_0x1fbf3b),_0x92bc5c=_0x3a2cff instanceof _0x22563e;return _0x3a2cff['bind']('isEnabled')['to'](_0x4eb0b2,'isEnabled'),_0x3a2cff['set']({'label':t(_0x92bc5c?'Footnote':'Insert\x20footnote'),'icon':_0x4974f4,'tooltip':!0x0}),_0x3a2cff['on']('execute',()=>{_0x4eb0b2['execute'](),_0x1bcae6['editing']['view']['focus']();}),_0x3a2cff;};}class lt extends _0x352caa{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x6d233a{['refresh'](){const {editor:_0x2a1366}=this,_0x5af5e8=_0x2a1366['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5af5e8,this['value']=_0x5af5e8?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x5b2a72}){const {editor:_0x407fd7}=this,_0x5da064=_0x407fd7['plugins']['get'](f),_0x2c3a43=_0x5da064['getFootnotesDefinitionsObjectElement']();_0x2c3a43&&W['includes'](_0x5b2a72)&&_0x407fd7['model']['change'](_0x1e6182=>{_0x1e6182['setAttribute']('footnotesListStyle',_0x5b2a72,_0x2c3a43),_0x5da064['_updateFootnotesCounters'](_0x1e6182);});}}class C extends _0x6d233a{['refresh'](){const {editor:_0x3c0c21}=this,_0x3f59a8=_0x3c0c21['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3f59a8,this['value']=_0x3f59a8?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x11bce7}){const {editor:_0x48d870}=this,_0x41eef0=_0x48d870['plugins']['get'](f),_0x5ea20f=_0x41eef0['getFootnotesDefinitionsObjectElement']();_0x5ea20f&&Number['isInteger'](_0x11bce7)&&_0x48d870['model']['change'](_0x1cf72e=>{_0x1cf72e['setAttribute']('footnotesListStart',_0x11bce7,_0x5ea20f),_0x41eef0['_updateFootnotesCounters'](_0x1cf72e);});}}class P extends _0x352caa{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x20cb2a}=this;_0x20cb2a['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x20cb2a['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x20cb2a['commands']['add']('footnotesStyle',new S(_0x20cb2a)),_0x20cb2a['commands']['add']('footnotesStart',new C(_0x20cb2a)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1866e7}=this,{schema:_0x5b8556}=_0x1866e7['model'];_0x5b8556['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x4f8c48}=this,{conversion:_0x3b21f8,model:_0x42fefd}=_0x4f8c48,{schema:_0x6a0269}=_0x42fefd;_0x3b21f8['for']('upcast')['add'](_0x42c563=>{_0x42c563['on']('element:ol',(_0x17a260,_0x5c90b1,_0x56c63a)=>{const _0x54edb6=_0x5c90b1['viewItem'],_0x35ba0d=_0x5c90b1['modelCursor']?.['parent'];_0x54edb6['hasClass']('footnotes-list')&&_0x35ba0d?.['is']('element','footnotesDefinitions')&&(function(_0x45ea09,_0x265e40,_0x502c09,_0x11ae1b){if(!_0x11ae1b['checkAttribute'](_0x265e40,'footnotesListStart'))return;let _0x5d9131=0x1;const _0x3ec7e2=_0x502c09['consumable']['consume'](_0x45ea09,{'attributes':'start'});if(_0x3ec7e2){const _0x28e42c=Number['parseInt'](_0x45ea09['getAttribute']('start'),0xa);Number['isNaN'](_0x28e42c)||(_0x5d9131=_0x28e42c);}!_0x3ec7e2&&_0x265e40['hasAttribute']('footnotesListStart')||_0x502c09['writer']['setAttribute']('footnotesListStart',_0x5d9131,_0x265e40);}(_0x54edb6,_0x35ba0d,_0x56c63a,_0x6a0269),function(_0x21ac00,_0x2ef652,_0x549950,_0x439be9){if(!_0x439be9['checkAttribute'](_0x2ef652,'footnotesListStyle'))return;let _0x5519dd='decimal',_0x3b154c=!0x1;if(_0x549950['consumable']['consume'](_0x21ac00,{'attributes':'type'})){const _0x58624f={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x21ac00['getAttribute']('type')];_0x58624f&&(_0x5519dd=_0x58624f),_0x3b154c=!0x0;}_0x549950['consumable']['consume'](_0x21ac00,{'styles':'list-style-type'})&&(_0x5519dd=function(_0x47b46c){switch(_0x47b46c){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x47b46c;}}(_0x21ac00['getStyle']('list-style-type')),_0x3b154c=!0x0),!_0x3b154c&&_0x2ef652['hasAttribute']('footnotesListStyle')||_0x549950['writer']['setAttribute']('footnotesListStyle',_0x5519dd,_0x2ef652);}(_0x54edb6,_0x35ba0d,_0x56c63a,_0x6a0269));});}),_0x3b21f8['for']('downcast')['add'](_0x2698bb=>{_0x2698bb['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2ae6a8,_0x5c806a,_0x1488f6)=>{if(!_0x1488f6['consumable']['consume'](_0x5c806a['item'],_0x2ae6a8['name']))return;const _0x5df663=M(_0x5c806a['item'],_0x1488f6['mapper']),{attributeNewValue:_0x35b7ad}=_0x5c806a;null==_0x35b7ad||0x1===_0x35b7ad?_0x1488f6['writer']['removeAttribute']('start',_0x5df663):_0x1488f6['writer']['setAttribute']('start',String(_0x35b7ad),_0x5df663);}),_0x2698bb['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x3475f2,_0x4fded4,_0x266f6d)=>{if(!_0x266f6d['consumable']['consume'](_0x4fded4['item'],_0x3475f2['name']))return;const _0x1e9500=M(_0x4fded4['item'],_0x266f6d['mapper']),{attributeNewValue:_0x352f11}=_0x4fded4;_0x352f11&&'decimal'!==_0x352f11?_0x266f6d['writer']['setStyle']('list-style-type',_0x352f11,_0x1e9500):_0x266f6d['writer']['removeStyle']('list-style-type',_0x1e9500);});});}['_definePostfixer'](){const {editor:_0x3ef5e5}=this,{model:_0x44b66f}=_0x3ef5e5,_0x57acb6=_0x3ef5e5['plugins']['get'](f),_0x1e9f38=this['_getDefaultListStyle'](),_0x1c9fc4=this['_getDefaultStartIndex']();_0x44b66f['document']['registerPostFixer'](_0x50db41=>{const _0x35d5ed=_0x44b66f['document']['differ']['getChanges']();let _0x49a445=!0x1;for(const _0x233bf8 of _0x35d5ed){if('insert'!==_0x233bf8['type']||'$text'===_0x233bf8['name'])continue;const _0x5db624=_0x44b66f['createRangeOn'](_0x233bf8['position']['nodeAfter']);for(const _0x4d8cbc of _0x5db624['getItems']())_0x4d8cbc['is']('element','footnotesDefinitions')&&(!_0x4d8cbc['hasAttribute']('footnotesListStart')&&_0x44b66f['schema']['checkAttribute'](_0x4d8cbc,'footnotesListStart')&&(_0x50db41['setAttribute']('footnotesListStart',_0x1c9fc4,_0x4d8cbc),_0x49a445=!0x0),!_0x4d8cbc['hasAttribute']('footnotesListStyle')&&_0x44b66f['schema']['checkAttribute'](_0x4d8cbc,'footnotesListStyle')&&(_0x50db41['setAttribute']('footnotesListStyle',_0x1e9f38,_0x4d8cbc),_0x49a445=!0x0));}return _0x49a445&&_0x57acb6['_updateFootnotesCounters'](_0x50db41),_0x49a445;});}['_defineFormatter'](){const {editor:_0x5e47fe}=this;_0x5e47fe['plugins']['get'](f)['setFootnoteFormatter'](_0x353d89=>this['_formatFootnoteListValue'](_0x353d89));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x7b0fae,value:_0x5bf5f4,digits:_0xb7196d}){const _0x1262bc=_0x7b0fae['getAttribute']('footnotesListStyle'),_0x40daea=_0x7b0fae['getAttribute']('footnotesListStart'),_0x19d9ea=Math['floor'](_0x5bf5f4)+(_0x40daea??0x1)-0x1;switch(_0x1262bc){case'decimal-leading-zero':return function(_0x5750d5,_0x4081d7){return String(_0x5750d5)['padStart'](_0x4081d7,'0');}(_0x19d9ea,Math['max'](0x2,_0xb7196d));case'lower-alpha':case'lower-latin':return N(_0x19d9ea,!0x1);case'upper-alpha':case'upper-latin':return N(_0x19d9ea,!0x0);case'lower-roman':return X(_0x19d9ea,!0x1);case'upper-roman':return X(_0x19d9ea,!0x0);default:return String(_0x19d9ea);}}}function M(_0xc1373a,_0xb68b57){const _0x351676=_0xb68b57['toViewElement'](_0xc1373a);return Array['from'](_0x351676['getChildren']())['find'](_0x3c3a25=>_0x3c3a25['is']('element','ol')&&_0x3c3a25['hasClass']('footnotes-list'));}function N(_0x4e9ee0,_0x170ee9){let _0x3f808b='',_0x428a6a=_0x4e9ee0;for(;_0x428a6a>0x0;){const _0x507acf=(_0x428a6a-0x1)%0x1a;_0x3f808b=String['fromCharCode'](0x61+_0x507acf)+_0x3f808b,_0x428a6a=Math['floor']((_0x428a6a-0x1)/0x1a);}return _0x170ee9?_0x3f808b['toUpperCase']():_0x3f808b;}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(_0x2e66c2,_0x53b707){let _0xb64156='',_0x39f524=_0x2e66c2;for(const {value:_0x5f4272,numeral:_0x1093d1}of V)for(;_0x39f524>=_0x5f4272;)_0xb64156+=_0x1093d1,_0x39f524-=_0x5f4272;return _0x53b707?_0xb64156:_0xb64156['toLowerCase']();}class J extends _0x38df8b{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1fa9dc();['focusCycler'];constructor(_0x398610,{styleButtonViews:_0x1f91d0,styleGridAriaLabel:_0x130298}){super(_0x398610),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1f91d0,_0x130298),[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 _0x5f6811 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5f6811['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x1ae717=_0xf1ecaa=>_0xf1ecaa['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1ae717),this['keystrokes']['set']('arrowleft',_0x1ae717),this['keystrokes']['set']('arrowup',_0x1ae717),this['keystrokes']['set']('arrowdown',_0x1ae717);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x39e994,_0x7ca48f){const _0x11d2f0=new _0x38df8b(this['locale']);return _0x11d2f0['children']=_0x11d2f0['createCollection'](),_0x11d2f0['children']['addMany'](_0x39e994),_0x11d2f0['setTemplate']({'tag':'div','attributes':{'aria-label':_0x7ca48f,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x11d2f0['children']}),_0x11d2f0['children']['delegate']('execute')['to'](this),_0x11d2f0['focus']=function(){for(const _0x5be63b of this['children'])if(_0x5be63b instanceof _0x2b0496&&_0x5be63b['isOn'])return void _0x5be63b['focus']();this['children']['first']['focus']();},_0x11d2f0['focusTracker']=new rt(),_0x11d2f0['keystrokes']=new nt(),_0x11d2f0['render'](),_0x11d2f0['keystrokes']['listenTo'](_0x11d2f0['element']),this['children']['add'](_0x11d2f0),_0x11d2f0;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x11dc18=this['_createStartIndexPropertyView'](),_0x4c2211=[_0x11dc18],_0xfad5cf=new it(this['locale'],_0x4c2211);return _0xfad5cf['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xfad5cf['buttonView']['bind']('isEnabled')['toMany'](_0x4c2211,'isEnabled',(..._0x20ebae)=>_0x20ebae['some'](_0x441dab=>_0x441dab)),_0xfad5cf['buttonView']['on']('change:isEnabled',(_0x28f918,_0x230992,_0x333ca1)=>{_0x333ca1||(_0xfad5cf['isCollapsed']=!0x0);}),this['children']['add'](_0xfad5cf),[_0x11dc18,_0xfad5cf];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2bd373=new et(this['locale'],ot);return _0x2bd373['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2bd373['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2bd373['fieldView']['on']('input',()=>{const _0x4c8caf=_0x2bd373['fieldView']['element'],_0x2498f0=_0x4c8caf['valueAsNumber'];Number['isNaN'](_0x2498f0)?_0x2bd373['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4c8caf['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2498f0}):_0x2bd373['errorText']=t(_0x2498f0<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2bd373;}}class j extends _0x352caa{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x22ed8e,_0x6de8f4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1de937}=this,{componentFactory:_0x1ebd52}=_0x1de937['ui'];_0x1de937['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1ebd52['add']('footnotesStyle',function(_0x23b83f){return _0x13f326=>{const {t:t}=_0x13f326,_0x814ac2=_0x23b83f['commands']['get']('footnotesStyle'),_0x10ebe8=_0x4a9d71(_0x13f326),{buttonView:_0xc4c3f3}=_0x10ebe8;return _0x10ebe8['class']='ck-footnotes-styles-dropdown',_0x10ebe8['bind']('isEnabled')['to'](_0x814ac2,'isEnabled'),_0xc4c3f3['set']({'label':t('Footnotes\x20style'),'icon':_0x4974f4,'tooltip':!0x0}),_0x10ebe8['once']('change:isOpen',()=>{const _0x4c2119=function({editor:_0x50b765,dropdownView:_0x564b34}){const {t:t}=_0x50b765['locale'],_0x180219=t('Footnotes\x20definitions\x20styles'),_0xed2305=function(_0x1c5787){const t=_0x1c5787['locale']['t'],_0x40765d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1b04a1},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xfea4bd},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5442f8},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1a412d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x43062d},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xd5dc28}];return _0x40765d['map'](function(_0x383487){const _0x34e1ed=_0x383487['locale'];return({label:_0xc4e268,icon:_0x42d82b,tooltip:_0x1dce48,style:_0x69be6d})=>{const _0x37fc71=_0x383487['commands']['get']('footnotesStyle'),_0x3bd082=new _0x2b0496(_0x34e1ed);return _0x3bd082['set']({'label':_0xc4e268,'icon':_0x42d82b,'tooltip':_0x1dce48}),_0x3bd082['bind']('isOn')['to'](_0x37fc71,'value',_0x54ee20=>_0x54ee20===_0x69be6d),_0x3bd082['bind']('isEnabled')['to'](_0x37fc71,'isEnabled'),_0x3bd082['on']('execute',()=>{_0x383487['execute']('footnotesStyle',{'value':_0x69be6d}),_0x383487['editing']['view']['focus']();}),_0x3bd082;};}(_0x1c5787));}(_0x50b765),_0x37b810=new J(_0x50b765['locale'],{'styleGridAriaLabel':_0x180219,'styleButtonViews':_0xed2305}),_0x1827ed=_0x50b765['commands']['get']('footnotesStart');return _0x37b810['startIndexFieldView']['bind']('isEnabled')['to'](_0x1827ed),_0x37b810['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1827ed),_0x37b810['on']('footnotesListStart',(_0x2fc20d,_0x53e0db)=>{_0x50b765['execute']('footnotesStart',{'value':_0x53e0db['startIndex']});}),_0x37b810['delegate']('execute')['to'](_0x564b34),_0x37b810;}({'editor':_0x23b83f,'dropdownView':_0x10ebe8});_0x10ebe8['panelView']['children']['add'](_0x4c2119);}),_0x10ebe8;};}(_0x1de937));}['afterInit'](){const {editor:_0x4d910f}=this,{t:t}=_0x4d910f['locale'],_0x528c7d=_0x4d910f['plugins']['get'](_0x6de8f4),{defaultPositions:_0x1f9090}=_0x4ecc20;_0x528c7d['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4d910f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x388de6=>{let _0x59c2aa=_0x388de6['getFirstPosition']()?.['parent'];return _0x59c2aa?.['is']('$text')&&(_0x59c2aa=_0x59c2aa['parent']),_0x59c2aa?.['is']('element')?_0x59c2aa['findAncestor'](Q):null;},'positions':[_0x1f9090['southArrowNorth'],_0x1f9090['southArrowNorthMiddleWest'],_0x1f9090['southArrowNorthMiddleEast'],_0x1f9090['southArrowNorthWest'],_0x1f9090['southArrowNorthEast'],_0x1f9090['northArrowSouth'],_0x1f9090['northArrowSouthMiddleWest'],_0x1f9090['northArrowSouthMiddleEast'],_0x1f9090['northArrowSouthWest'],_0x1f9090['northArrowSouthEast'],_0x1f9090['viewportStickyNorth']]});}}class ft extends _0x352caa{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,h as InsertFootnoteCommand};
23
+ import{Plugin as _0x1a1224,Command as _0x5e4aee}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x11fe15,isWidget as _0x41e0e1,toWidgetEditable as _0x51046e,WidgetToolbarRepository as _0x1bdf8d}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x1e1024,logWarning as _0x1c18e2,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3ca3e6,ClickObserver as _0x5441bf}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x4d9667}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x3f24a9,ButtonView as _0x275c2c,View as _0x464d81,ViewCollection as _0x5d8154,FocusCycler as _0x57b1ab,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x1c3e38,BalloonPanelView as _0x31f217,createDropdown as _0x14eff1}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0xeb2824,IconListStyleDecimal as _0x2fd60d,IconListStyleDecimalLeadingZero as _0x5da6fc,IconListStyleLowerRoman as _0x551ecf,IconListStyleUpperRoman as _0x150262,IconListStyleLowerLatin as _0x4fd7b8,IconListStyleUpperLatin as _0x8fa10e}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0xaea491,_0x233fc0){this['_model']=_0xaea491,this['_elementName']=_0x233fc0['elementName'],this['_getElementKey']=_0x233fc0['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3a9962){const _0x51c377=new Set(),_0x9bdc6e=new Map();for(const _0x13eab3 of _0x3a9962){if('insert'===_0x13eab3['type']&&'$text'!==_0x13eab3['name']&&_0x13eab3['position']['nodeAfter']){const _0x5d523a=this['_model']['createRangeOn'](_0x13eab3['position']['nodeAfter']);for(const _0x564682 of _0x5d523a['getItems']()){if(!_0x564682['is']('element',this['_elementName']))continue;const _0x8b78b5=this['_getElementKey'](_0x564682);_0x9bdc6e['has'](_0x8b78b5)||_0x9bdc6e['set'](_0x8b78b5,[]),_0x9bdc6e['get'](_0x8b78b5)['push'](_0x564682);}}if('remove'===_0x13eab3['type']&&_0x13eab3['name']===this['_elementName']){const _0x4b7739=this['_getElementKey']({'getAttribute':_0x5ab968=>_0x13eab3['attributes']['get'](_0x5ab968)});_0x51c377['add'](_0x4b7739);}}for(const [_0x63b6ba,_0x2a63ed]of this['_trackedElements'])'$graveyard'===_0x2a63ed['root']['rootName']&&_0x51c377['add'](_0x63b6ba);for(const _0x19e13c of _0x51c377)this['_trackedElements']['delete'](_0x19e13c);for(const [_0x204435,_0x3bea1f]of _0x9bdc6e)this['_trackedElements']['set'](_0x204435,_0x3bea1f[_0x3bea1f['length']-0x1]);const _0x17dec5=new Set();for(const [_0x2ade10,_0x5e9d72]of _0x9bdc6e)_0x51c377['has'](_0x2ade10)&&(_0x17dec5['add'](_0x5e9d72[0x0]),_0x5e9d72['length']>0x1?_0x9bdc6e['set'](_0x2ade10,_0x5e9d72['slice'](0x1)):_0x9bdc6e['delete'](_0x2ade10),_0x51c377['delete'](_0x2ade10));return{'removed':Array['from'](_0x51c377),'inserted':Array['from'](_0x9bdc6e['values']())['flat'](),'moved':Array['from'](_0x17dec5)};}}class f extends _0x1a1224{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x548728){super(_0x548728),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x32ddf4=>_0x32ddf4['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x269014=>_0x269014['getAttribute']('footnoteId')});}['init'](){const {editor:_0x400b7d}=this,{model:_0x3552b6,data:_0xd5b52c}=_0x400b7d;_0x3552b6['document']['registerPostFixer'](_0x5e1446=>{const _0xe60a32=_0x3552b6['document']['differ']['getChanges']();let _0x54c853=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5e1446,_0xe60a32)&&(_0x54c853=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5e1446,_0xe60a32)&&(_0x54c853=!0x0),this['_handleFootnoteReferencesChanges'](_0x5e1446,_0xe60a32)&&(_0x54c853=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5e1446)&&(_0x54c853=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5e1446)&&(_0x54c853=!0x0),this['_sortFootnoteDefinitions'](_0x5e1446)&&(_0x54c853=!0x0),_0x54c853;}),this['listenTo'](_0x3552b6['document'],'change:data',()=>{_0x3552b6['enqueueChange']({'isUndoable':!0x1},_0x36d9f1=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x36d9f1);});},{'priority':'low'}),this['listenTo'](_0xd5b52c,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x249204){return this['_footnotes']['find'](_0x1f581f=>_0x1f581f['id']===_0x249204)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x45e665){this['_footnoteFormatter']=_0x45e665;}['_updateFootnotesCounters'](_0x139aa6,_0x1943ae=0x0){let _0xd92a41=!0x1;for(let _0x79a1aa=_0x1943ae;_0x79a1aa<this['_footnotes']['length'];_0x79a1aa++)this['_updateFootnoteRefCounter'](_0x139aa6,_0x79a1aa)&&(_0xd92a41=!0x0);return _0xd92a41;}['_insertEmptyFootnotesDefinitionsContainer'](_0x9611e1,_0x26ca5d){const _0x380374=_0x9611e1['createElement']('footnotesDefinitions',{});return _0x9611e1['append'](_0x380374,_0x26ca5d),this['_footnotesDefinitions']=_0x380374,_0x380374;}['_ensureFootnotesDefinitionsContainerExists'](_0x428530){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x5374df=this['_footnotes'][0x0]['reference']['root'],_0x22a483=this['_insertEmptyFootnotesDefinitionsContainer'](_0x428530,_0x5374df);for(const _0x1ce80b of this['_footnotes'])_0x1ce80b['definition']['parent']||_0x428530['insert'](_0x1ce80b['definition'],_0x22a483,'end');this['_updateFootnotesCounters'](_0x428530);}['_handleFootnotesDefinitionsObjectChanges'](_0x362f34,_0x43a08a){let _0x1ac6e7=!0x1;const {inserted:_0x43a998,removed:_0x3ce52b,moved:_0x320b3e}=this['_footnoteDefsContainerTracker']['getChanges'](_0x43a08a);if(_0x320b3e['length']&&(this['_footnotesDefinitions']=_0x320b3e[0x0]),_0x43a998['length']){if(_0x43a998['length']>0x1||this['_footnotesDefinitions']&&_0x43a998['some'](_0x254cbb=>_0x254cbb!==this['_footnotesDefinitions'])){const _0x4472ac=_0x362f34['createElement']('footnotesDefinitions',{}),_0x5c6578=[];this['_footnotesDefinitions']&&_0x5c6578['push'](this['_footnotesDefinitions']),_0x5c6578['push'](..._0x43a998),_0x362f34['insert'](_0x4472ac,_0x5c6578[0x0],'before');for(const _0x22230a of _0x5c6578)_0x362f34['move'](_0x362f34['createRangeIn'](_0x22230a),_0x362f34['createPositionAt'](_0x4472ac,'end')),_0x362f34['remove'](_0x22230a);this['_footnotesDefinitions']=_0x4472ac,this['_updateFootnotesCounters'](_0x362f34),_0x1ac6e7=!0x0;}else this['_footnotesDefinitions']=_0x43a998[0x0];}if(_0x3ce52b['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4a73a7 of this['_footnotes'])_0x362f34['remove'](_0x4a73a7['reference']),_0x1ac6e7=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1ac6e7;}['_handleFootnoteDefinitionsChanges'](_0xfcf2be,_0x17ab97){let _0x328d46=!0x1;const _0x46af49=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x195a9b,moved:_0x1fc0e7}=this['_footnoteDefsTracker']['getChanges'](_0x17ab97);for(const _0x46702c of[..._0x1fc0e7,..._0x195a9b]){const _0xe02106=_0x46702c['getAttribute']('footnoteId'),_0x29d5c5=this['getFootnote'](_0xe02106);_0x29d5c5&&(_0x29d5c5['definition']=_0x46702c),_(_0xfcf2be,_0x46af49,_0x46702c)&&(_0x328d46=!0x0);}return _0x328d46;}['_handleFootnoteReferencesChanges'](_0x5704c7,_0x3df03a){let _0x4a1a76=!0x1;const {removed:_0x40c575,inserted:_0x258e20,moved:_0x384875}=this['_footnoteRefsTracker']['getChanges'](_0x3df03a);for(const _0x2d8431 of _0x40c575)this['_handleRemoveFootnoteReferenceById'](_0x5704c7,_0x2d8431)&&(_0x4a1a76=!0x0);for(const _0x3dfd8a of _0x258e20)this['_handleInsertedFootnoteReference'](_0x5704c7,_0x3dfd8a)&&(_0x4a1a76=!0x0);for(const _0x38ff13 of _0x384875)this['_handleMovedFootnoteReference'](_0x5704c7,_0x38ff13)&&(_0x4a1a76=!0x0);return _0x4a1a76;}['_handleFootnotesDefinitionsObjectSync'](_0x561ed1){if(!this['_footnotesDefinitions'])return!0x1;let _0x29a34a=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x547af7=[];for(const _0x16fd7f of this['_footnotesDefinitions']['getChildren']()){const _0x6ea812=_0x16fd7f['getAttribute']('footnoteId');this['getFootnote'](_0x6ea812)||(_0x547af7['unshift'](_0x16fd7f),_0x29a34a=!0x0);}for(const _0x1bf53b of _0x547af7)_0x561ed1['remove'](_0x1bf53b);}const _0x2c0578=new Set(),_0x2f6c7e=[];for(const _0x4ba3e6 of this['_footnotesDefinitions']['getChildren']()){const _0x2cfa4c=_0x4ba3e6['getAttribute']('footnoteId');_0x2c0578['has'](_0x2cfa4c)?(_0x2f6c7e['unshift'](_0x4ba3e6),_0x29a34a=!0x0):_0x2c0578['add'](_0x2cfa4c);}for(const _0xd6ebb9 of _0x2f6c7e)_0x561ed1['remove'](_0xd6ebb9);return this['_footnotesDefinitions']['childCount']||(_0x561ed1['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x29a34a=!0x0),_0x29a34a;}['_handleInsertedFootnoteReference'](_0x37060c,_0x502b6d){if(this['_footnotes']['find'](_0x2efa5a=>_0x2efa5a['reference']===_0x502b6d))return!0x1;let _0x29134f=!0x1;const _0x264d88=_0x502b6d['getAttribute']('footnoteId'),_0x43ad03=this['_footnotes']['findIndex'](_0x2d41b5=>_0x2d41b5['id']===_0x264d88);-0x1!==_0x43ad03&&(_0x37060c['remove'](this['_footnotes'][_0x43ad03]['reference']),this['_footnotes']['splice'](_0x43ad03,0x1),_0x29134f=!0x0);let _0x3e491c=this['_footnotesDefinitions']?function(_0xffeba1,_0x3104d3){for(const _0x5414e7 of _0xffeba1['getChildren']())if(_0x5414e7['getAttribute']('footnoteId')===_0x3104d3)return _0x5414e7;return null;}(this['_footnotesDefinitions'],_0x264d88):null;_0x3e491c||(_0x3e491c=_0x37060c['createElement']('footnoteDefinition',{'footnoteId':_0x264d88}),this['_footnotesDefinitions']&&(_0x37060c['insert'](_0x3e491c,this['_footnotesDefinitions'],'end'),_0x29134f=!0x0));const _0x6bbb62={'id':_0x264d88,'reference':_0x502b6d,'definition':_0x3e491c},_0x2167c0=I(this['editor']['model'],this['_footnotes'],_0x502b6d);this['_footnotes']['splice'](_0x2167c0,0x0,_0x6bbb62);let _0x97f073=_0x2167c0;return-0x1!==_0x43ad03&&(_0x97f073=Math['min'](_0x2167c0,_0x43ad03)),this['_updateFootnotesCounters'](_0x37060c,_0x97f073)&&(_0x29134f=!0x0),_0x29134f;}['_handleRemoveFootnoteReferenceById'](_0x57cceb,_0x165687){const _0x530b89=this['_footnotes']['findIndex'](_0x24c762=>_0x24c762['id']===_0x165687);if(-0x1===_0x530b89)return!0x1;let _0x564700=!0x1;const _0x14c530=this['_footnotes'][_0x530b89];return'$graveyard'!==_0x14c530['definition']['root']['rootName']&&(_0x57cceb['remove'](_0x14c530['definition']),_0x564700=!0x0),this['_footnotes']['splice'](_0x530b89,0x1),this['_updateFootnotesCounters'](_0x57cceb,_0x530b89)&&(_0x564700=!0x0),_0x564700;}['_handleMovedFootnoteReference'](_0x222e5f,_0x5e2057){const _0x3850d7=_0x5e2057['getAttribute']('footnoteId'),_0x20dc70=this['_footnotes']['findIndex'](_0x3d4ad7=>_0x3d4ad7['id']===_0x3850d7),_0x213af1=this['_footnotes'][_0x20dc70];let _0x32eaad=!0x1;_0x213af1['reference']=_0x5e2057,this['_footnotes']['splice'](_0x20dc70,0x1);const _0x302985=I(this['editor']['model'],this['_footnotes'],_0x5e2057);return this['_footnotes']['splice'](_0x302985,0x0,_0x213af1),this['_updateFootnotesCounters'](_0x222e5f,Math['min'](_0x20dc70,_0x302985))&&(_0x32eaad=!0x0),_0x32eaad;}['_updateFootnoteRefCounter'](_0x530475,_0x2b4742){if(!this['_footnotesDefinitions'])return!0x1;const _0x2baa8f=this['_footnotes'][_0x2b4742];let _0x1167a9;return _0x1167a9=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2baa8f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x2b4742+0x1}):String(_0x2b4742+0x1),_0x2baa8f['reference']['getAttribute']('footnoteCounter')!=_0x1167a9&&(_0x530475['setAttribute']('footnoteCounter',_0x1167a9,_0x2baa8f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x8dc7a5){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0xb30b7c,_0x2157bb){if(_0xb30b7c['length']!==_0x2157bb['length'])return!0x1;for(let _0x50cd23=0x0;_0x50cd23<_0xb30b7c['length'];_0x50cd23++)if(_0xb30b7c[_0x50cd23]!==_0x2157bb[_0x50cd23])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x460010=>_0x460010['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x54ba55=>_0x54ba55['getAttribute']('footnoteId'))))return!0x1;let _0x3773f3=!0x1;for(let _0x27e0ab=0x0;_0x27e0ab<this['_footnotes']['length'];_0x27e0ab++){const _0x282f70=this['_footnotes'][_0x27e0ab],_0x534941=_0x8dc7a5['createPositionBefore'](_0x282f70['definition']),_0x27f0d8=_0x8dc7a5['createPositionAt'](this['_footnotesDefinitions'],_0x27e0ab);_0x534941['isEqual'](_0x27f0d8)||(_0x8dc7a5['move'](_0x8dc7a5['createRangeOn'](_0x282f70['definition']),_0x27f0d8),_0x3773f3=!0x0);}return _0x3773f3;}['_ensureFootnotesReferencesHaveProperOrder'](_0x48e262){if(!this['_footnotes']['length'])return!0x1;const {model:_0x5b8e2d}=this['editor'];let _0x1a484d=!0x1;for(let _0x2cd559=0x0;_0x2cd559<this['_footnotes']['length']-0x1;_0x2cd559++){const _0x3d0a02=this['_footnotes'][_0x2cd559],_0x1cf3ee=this['_footnotes'][_0x2cd559+0x1],_0x3197f1=_0x5b8e2d['createPositionBefore'](_0x3d0a02['reference']),_0xeacb22=_0x5b8e2d['createPositionBefore'](_0x1cf3ee['reference']);'after'===_0x3197f1['compareWith'](_0xeacb22)&&(this['_handleMovedFootnoteReference'](_0x48e262,_0x3d0a02['reference']),_0x2cd559=-0x1,_0x1a484d=!0x0);}return _0x1a484d;}}function _(_0x408608,_0x38c338,_0x43fbb4){if(_0x43fbb4['childCount'])return!0x1;const _0x87f8eb=_0x38c338?'paragraph':'footnoteInlineContent';return _0x408608['insert'](_0x408608['createElement'](_0x87f8eb),_0x43fbb4),!0x0;}function I(_0x230e9a,_0x40d83e,_0x17d96a){if(0x0===_0x40d83e['length'])return 0x0;const _0x82b0e4=_0x230e9a['createPositionBefore'](_0x17d96a);for(let _0x5b0a04=0x0;_0x5b0a04<_0x40d83e['length'];_0x5b0a04++){const _0x2ed7f2=_0x40d83e[_0x5b0a04],_0x33e6a7=_0x230e9a['createPositionBefore'](_0x2ed7f2['reference']);if('before'===_0x82b0e4['compareWith'](_0x33e6a7))return _0x5b0a04;}const _0xbfa646=_0x17d96a['root'];let _0xc404c9=-0x1;for(let _0x5ce35d=_0x40d83e['length']-0x1;_0x5ce35d>=0x0;_0x5ce35d--)if(_0x40d83e[_0x5ce35d]['reference']['root']===_0xbfa646){_0xc404c9=_0x5ce35d;break;}if(-0x1!==_0xc404c9)return _0xc404c9+0x1;const _0x144118=_0x230e9a['document']['getRootNames'](),_0x3e9df8=_0x144118['indexOf'](_0xbfa646['rootName']),_0x2e6ede=_0x144118[_0x3e9df8+0x1];if(_0x2e6ede){for(let _0x4c28d6=0x0;_0x4c28d6<_0x40d83e['length'];_0x4c28d6++)if(_0x40d83e[_0x4c28d6]['reference']['root']['rootName']===_0x2e6ede)return _0x4c28d6;}return _0x40d83e['length'];}class h extends _0x5e4aee{['refresh'](){const _0x5c1c6b=this['editor']['model']['document']['selection'],_0x123387=this['_getPositionToInsertFootnote'](_0x5c1c6b);this['isEnabled']=!!_0x123387;}['execute'](_0x14e15e){const {editor:_0x361e12}=this,{model:_0x2e96e3}=_0x361e12,{selection:_0x2b0384}=_0x2e96e3['document'],_0x44ec4e=this['_getPositionToInsertFootnote'](_0x2b0384);if(!_0x44ec4e)return;const _0x2474dd=_0x361e12['plugins']['get']('FootnotesEditing'),_0x5727bf=_0x14e15e?.['footnoteId']??_0x1e1024();!function(_0x40a9f3){return'string'==typeof _0x40a9f3&&_0x40a9f3['length']>0x0&&!/\s/['test'](_0x40a9f3)&&!/^\d/['test'](_0x40a9f3);}(_0x5727bf)?_0x1c18e2('insert-footnote-command-executed-with-invalid-id'):(_0x2e96e3['change'](_0x693df=>{const _0x411946=_0x693df['createElement']('footnoteRef',{'footnoteId':_0x5727bf});_0x2e96e3['insertObject'](_0x411946,_0x44ec4e,null);}),_0x2474dd['_moveSelectionToFootnoteDefinition'](_0x5727bf));}['_getPositionToInsertFootnote'](_0x4ce2d4){const {model:_0x4f56d7}=this['editor'],{schema:_0x57de68}=_0x4f56d7,_0x7a9163=_0x4ce2d4['getFirstRange']();for(const _0x542f68 of _0x7a9163['getItems']())if(_0x57de68['isBlock'](_0x542f68)||_0x57de68['isObject'](_0x542f68))return null;const _0x879843=_0x7a9163['end'];return _0x57de68['checkChild'](_0x879843,'footnoteRef')?_0x879843:null;}}class r extends _0x1a1224{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4ac333}=this;_0x4ac333['config']['define']('footnotes.multiBlock',!0x0),_0x4ac333['commands']['add']('insertFootnote',new h(_0x4ac333)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2b3c2f){const _0x482294=_0x1b3fcc([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]),_0x43a8c4=0x47a28506,_0x369b25=0x47a5fb6e^_0x43a8c4,_0x2fd185=window[_0x1b3fcc([0x44,0x61,0x74,0x65])][_0x1b3fcc([0x6e,0x6f,0x77])](),_0x15cd2c=_0x2b3c2f[_0x1b3fcc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xce2a63=new window[(_0x1b3fcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9cf409=>{_0x15cd2c[_0x1b3fcc([0x6f,0x6e,0x63,0x65])](_0x1b3fcc([0x72,0x65,0x61,0x64,0x79]),_0x9cf409);}),_0x3bb728={[_0x1b3fcc([0x6b,0x74,0x79])]:_0x1b3fcc([0x45,0x43]),[_0x1b3fcc([0x75,0x73,0x65])]:_0x1b3fcc([0x73,0x69,0x67]),[_0x1b3fcc([0x63,0x72,0x76])]:_0x1b3fcc([0x50,0x2d,0x32,0x35,0x36]),[_0x1b3fcc([0x78])]:_0x1b3fcc([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]),[_0x1b3fcc([0x79])]:_0x1b3fcc([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]),[_0x1b3fcc([0x61,0x6c,0x67])]:_0x1b3fcc([0x45,0x53,0x32,0x35,0x36])},_0x598d16=_0x15cd2c[_0x1b3fcc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b3fcc([0x67,0x65,0x74])](_0x1b3fcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3d90a3(){let _0x54e08e,_0x3b5dc5=null,_0x4446a5=null;try{if(_0x598d16==_0x1b3fcc([0x47,0x50,0x4c]))return _0x1b3fcc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54e08e=_0x4c941c(),!_0x54e08e)return _0x1b3fcc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54e08e[_0x1b3fcc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4446a5=_0xdcc9dd(_0x54e08e[_0x1b3fcc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54e08e[_0x1b3fcc([0x6a,0x74,0x69])])),await _0x2c0f12()?_0x23917a()?_0x98c87()?_0x1b3fcc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5ee806()?(_0x54e08e[_0x1b3fcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b3fcc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b5dc5=_0x23b307(_0x1b3fcc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x476e70()):_0x1b3fcc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b3fcc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b3fcc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1b3fcc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x98c87(){const _0x2dcc42=[_0x1b3fcc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b3fcc([0x74,0x72,0x69,0x61,0x6c])][_0x1b3fcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54e08e[_0x1b3fcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2fd185/0x3e8:0xe10*_0x369b25;return _0x54e08e[_0x1b3fcc([0x65,0x78,0x70])]<_0x2dcc42;}function _0x23917a(){const _0x294fb4=_0x54e08e[_0x1b3fcc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x294fb4&&(!!_0x294fb4[_0x1b3fcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b3fcc([0x2a]))||!!_0x294fb4[_0x1b3fcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b3fcc([0x46,0x4f,0x4f])));}function _0x5ee806(){const _0x2284d5=_0x54e08e[_0x1b3fcc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2284d5||0x0==_0x2284d5[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x30bae2}=new URL(window[_0x1b3fcc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2284d5[_0x1b3fcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30bae2))return!0x0;const _0x45391b=_0x30bae2[_0x1b3fcc([0x73,0x70,0x6c,0x69,0x74])](_0x1b3fcc([0x2e]));return _0x2284d5[_0x1b3fcc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f2bf3=>_0x3f2bf3[_0x1b3fcc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b3fcc([0x2a])))[_0x1b3fcc([0x6d,0x61,0x70])](_0x5316cf=>_0x5316cf[_0x1b3fcc([0x73,0x70,0x6c,0x69,0x74])](_0x1b3fcc([0x2e])))[_0x1b3fcc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b9772=>_0x5b9772[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x45391b[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b3fcc([0x6d,0x61,0x70])](_0x102423=>Array(_0x45391b[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x102423[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b3fcc([0x66,0x69,0x6c,0x6c])](_0x102423[0x0]===_0x1b3fcc([0x2a])?_0x1b3fcc([0x2a]):'')[_0x1b3fcc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x102423))[_0x1b3fcc([0x73,0x6f,0x6d,0x65])](_0x234512=>_0x45391b[_0x1b3fcc([0x65,0x76,0x65,0x72,0x79])]((_0x438f7f,_0x22bff6)=>_0x234512[_0x22bff6]===_0x438f7f||_0x234512[_0x22bff6]===_0x1b3fcc([0x2a])));}function _0x476e70(){return _0x3b5dc5&&_0x4446a5?new window[(_0x1b3fcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x82a79d,_0x1e4d0c)=>{_0x3b5dc5[_0x1b3fcc([0x74,0x68,0x65,0x6e])](_0x82a79d,_0x1e4d0c),_0x4446a5[_0x1b3fcc([0x74,0x68,0x65,0x6e])](_0x4615be=>{_0x4615be!=_0x1b3fcc([0x56,0x61,0x6c,0x69,0x64])&&_0x82a79d(_0x4615be);},_0x1e4d0c);}):_0x3b5dc5||_0x4446a5||_0x1b3fcc([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdcc9dd(_0x2b6da6,_0x205bae){return new window[(_0x1b3fcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a0658=>{if(_0x3daca6())return _0x4a0658(_0x1b3fcc([0x56,0x61,0x6c,0x69,0x64]));_0x410c5d(),_0x15cd2c[_0x1b3fcc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b3fcc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x509a7d=!0x1;const _0xd5427e=_0x1e1024();function _0x4655f6(_0x16f23c){return!!_0x16f23c&&(typeof _0x16f23c===_0x1b3fcc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x16f23c===_0x1b3fcc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x16f23c[_0x1b3fcc([0x74,0x68,0x65,0x6e])]===_0x1b3fcc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x16f23c[_0x1b3fcc([0x63,0x61,0x74,0x63,0x68])]===_0x1b3fcc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x196ead(_0x1fcff9){_0x46a3ef(_0x1fcff9)[_0x1b3fcc([0x74,0x68,0x65,0x6e])](_0x2b4202=>{if(!_0x2b4202||_0x2b4202[_0x1b3fcc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b3fcc([0x6f,0x6b]))return _0x1b3fcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2c755c(_0x5a8d1a(_0xd5427e+_0x205bae))!=_0x2b4202[_0x1b3fcc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b3fcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b3fcc([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b3fcc([0x74,0x68,0x65,0x6e])](_0x2431b8=>(_0x2b9f85(),_0x2431b8),()=>{const _0x35cd45=_0x502981();return null==_0x35cd45?(_0x2b9f85(),_0x1b3fcc([0x56,0x61,0x6c,0x69,0x64])):_0x1b3fcc(_0x2fd185-_0x35cd45>(0x63ae0106^_0x43a8c4)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b3fcc([0x74,0x68,0x65,0x6e])](_0x4a0658)[_0x1b3fcc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a0658(_0x1b3fcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x503f30=0x47946b86^_0x43a8c4;function _0x2b9f85(){const _0x139d3a=_0x1b3fcc([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c755c(_0x5a8d1a(_0x2b6da6)),_0x48f17e=_0x5a7a02(_0x2c755c(window[_0x1b3fcc([0x4d,0x61,0x74,0x68])][_0x1b3fcc([0x63,0x65,0x69,0x6c])](_0x2fd185/_0x503f30)));window[_0x1b3fcc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b3fcc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x139d3a,_0x48f17e);}function _0x502981(){const _0x5688e9=_0x1b3fcc([0x6c,0x6c,0x63,0x74,0x2d])+_0x2c755c(_0x5a8d1a(_0x2b6da6)),_0x2bd09c=window[_0x1b3fcc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b3fcc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5688e9);return _0x2bd09c?window[_0x1b3fcc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a7a02(_0x2bd09c),0x10)*_0x503f30:null;}function _0x46a3ef(_0x2940b1){return new window[(_0x1b3fcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2cc0a2,_0x5df4da)=>{_0x2940b1[_0x1b3fcc([0x74,0x68,0x65,0x6e])](_0x2cc0a2,_0x5df4da),window[_0x1b3fcc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5df4da,0x47a351c6^_0x43a8c4);});}}_0x15cd2c[_0x1b3fcc([0x6f,0x6e])](_0x1b3fcc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4a4763,_0x3990b9)=>{if(_0x3990b9[0x0]!=_0x2b6da6)return _0x4a0658(_0x1b3fcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3990b9[0x1]={..._0x3990b9[0x1],[_0x1b3fcc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd5427e};},{[_0x1b3fcc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b3fcc([0x68,0x69,0x67,0x68])}),_0x15cd2c[_0x1b3fcc([0x6f,0x6e])](_0x1b3fcc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x512d7f=>{_0x4655f6(_0x512d7f[_0x1b3fcc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x509a7d=!0x0,_0x196ead(_0x512d7f[_0x1b3fcc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b3fcc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b3fcc([0x6c,0x6f,0x77])}),_0xce2a63[_0x1b3fcc([0x74,0x68,0x65,0x6e])](()=>{_0x509a7d||_0x4a0658(_0x1b3fcc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3daca6(){return _0x15cd2c[_0x1b3fcc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b3fcc([0x76,0x69,0x65,0x77])][_0x1b3fcc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b3fcc([0x61,0x75,0x74,0x6f]);}function _0x410c5d(){_0x15cd2c[_0x1b3fcc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b3fcc([0x76,0x69,0x65,0x77])][_0x1b3fcc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b3fcc([0x61,0x75,0x74,0x6f]);}}function _0x23b307(_0x52ed91){const _0x51deee=[new window[(_0x1b3fcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41f495=>setTimeout(_0x41f495,0x47abbbca^_0x43a8c4)),_0xce2a63[_0x1b3fcc([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b3fcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x97abbb=>{let _0x2de733=0x0;_0x15cd2c[_0x1b3fcc([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b3fcc([0x6f,0x6e])](_0x1b3fcc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd499e3,_0x394d68)=>{_0x394d68[0x0][_0x1b3fcc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2de733++,_0x2de733==(0x47a280ee^_0x43a8c4)&&(_0x97abbb(),_0xd499e3[_0x1b3fcc([0x6f,0x66,0x66])]());});}))];return window[_0x1b3fcc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b3fcc([0x72,0x61,0x63,0x65])](_0x51deee)[_0x1b3fcc([0x74,0x68,0x65,0x6e])](()=>_0x52ed91);}async function _0x162739(){await _0xce2a63,_0x15cd2c[_0x1b3fcc([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b3fcc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x36cb60,_0x15cd2c[_0x1b3fcc([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b3fcc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x36cb60,_0x15cd2c[_0x1b3fcc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b3fcc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x14c801(_0x1631a6){const _0x226fe8=_0x28196e();_0x15cd2c[_0x226fe8]=_0x1b3fcc([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1631a6,_0x1631a6!=_0x1b3fcc([0x56,0x61,0x6c,0x69,0x64])&&_0x162739();}function _0x28196e(){const _0x22eb98=window[_0x1b3fcc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b3fcc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b3fcc([0x6e,0x6f,0x77])]())[_0x1b3fcc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b3fcc([0x2e]),'');let _0x58e37b=_0x1b3fcc([0x75]);for(let _0x1365c4=0x0;_0x1365c4<_0x22eb98[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1365c4+=0x2){let _0x2dc4c3=window[_0x1b3fcc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x22eb98[_0x1b3fcc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1365c4,_0x1365c4+0x2));_0x2dc4c3>=_0x482294[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2dc4c3-=_0x482294[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x58e37b+=_0x482294[_0x2dc4c3];}return _0x58e37b;}function _0x4c941c(){const _0x145ef6=_0x598d16[_0x1b3fcc([0x73,0x70,0x6c,0x69,0x74])](_0x1b3fcc([0x2e]));if(0x3!=_0x145ef6[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x49ac40(_0x145ef6[0x1]);function _0x49ac40(_0x4feb92){const _0x1f1e6d=_0x4a23ba(_0x4feb92);return _0x1f1e6d&&_0x4b1056()?_0x1f1e6d:null;function _0x4b1056(){const _0x536568=_0x1f1e6d[_0x1b3fcc([0x6a,0x74,0x69])],_0x340219=window[_0x1b3fcc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x536568[_0x1b3fcc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x536568[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e3c76={..._0x1f1e6d,[_0x1b3fcc([0x6a,0x74,0x69])]:_0x536568[_0x1b3fcc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x536568[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e3c76[_0x1b3fcc([0x76,0x63])],_0x5a8d1a(_0x4e3c76)==_0x340219;}}}async function _0x2c0f12(){let _0xa8a60c=!0x0;try{const _0x2955cd=_0x598d16[_0x1b3fcc([0x73,0x70,0x6c,0x69,0x74])](_0x1b3fcc([0x2e])),[_0x4658f4,_0x2a0b8b,_0x32ded5]=_0x2955cd;return _0x360976(_0x4658f4),await _0x176e04(_0x4658f4,_0x2a0b8b,_0x32ded5),_0xa8a60c;}catch{return!0x1;}function _0x360976(_0x41864f){const _0x4f7538=_0x4a23ba(_0x41864f);_0x4f7538&&_0x4f7538[_0x1b3fcc([0x61,0x6c,0x67])]==_0x1b3fcc([0x45,0x53,0x32,0x35,0x36])||(_0xa8a60c=!0x1);}async function _0x176e04(_0x22ebca,_0x14bf65,_0x208937){const _0x46414f=window[_0x1b3fcc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b3fcc([0x66,0x72,0x6f,0x6d])](_0x2efe88(_0x208937),_0x168f61=>_0x168f61[_0x1b3fcc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e113d=new window[(_0x1b3fcc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b3fcc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x22ebca+_0x1b3fcc([0x2e])+_0x14bf65),_0x4d183c=window[_0x1b3fcc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b3fcc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d183c)return;const _0x478349=await _0x4d183c[_0x1b3fcc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b3fcc([0x6a,0x77,0x6b]),_0x3bb728,{[_0x1b3fcc([0x6e,0x61,0x6d,0x65])]:_0x1b3fcc([0x45,0x43,0x44,0x53,0x41]),[_0x1b3fcc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b3fcc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b3fcc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d183c[_0x1b3fcc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b3fcc([0x6e,0x61,0x6d,0x65])]:_0x1b3fcc([0x45,0x43,0x44,0x53,0x41]),[_0x1b3fcc([0x68,0x61,0x73,0x68])]:{[_0x1b3fcc([0x6e,0x61,0x6d,0x65])]:_0x1b3fcc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x478349,_0x46414f,_0x5e113d)||(_0xa8a60c=!0x1);}}function _0x4a23ba(_0x14c229){return _0x14c229[_0x1b3fcc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b3fcc([0x65,0x79]))?JSON[_0x1b3fcc([0x70,0x61,0x72,0x73,0x65])](_0x2efe88(_0x14c229)):null;}function _0x2efe88(_0x2c70c7){return window[_0x1b3fcc([0x61,0x74,0x6f,0x62])](_0x2c70c7[_0x1b3fcc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b3fcc([0x2b]))[_0x1b3fcc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b3fcc([0x2f])));}function _0x5a8d1a(_0x3ccaa9){let _0x5e683d=0x1505;function _0x1b028f(_0x50392f){for(let _0x63a24f=0x0;_0x63a24f<_0x50392f[_0x1b3fcc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x63a24f++){const _0x447d40=_0x50392f[_0x1b3fcc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x63a24f);_0x5e683d=(_0x5e683d<<0x5)+_0x5e683d+_0x447d40,_0x5e683d&=_0x5e683d;}}function _0x34b469(_0x53eb09){Array[_0x1b3fcc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53eb09)?_0x53eb09[_0x1b3fcc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x34b469):_0x53eb09&&typeof _0x53eb09==_0x1b3fcc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b3fcc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53eb09)[_0x1b3fcc([0x73,0x6f,0x72,0x74])]()[_0x1b3fcc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ae170,_0x22920a])=>{_0x1b028f(_0x5ae170),_0x34b469(_0x22920a);}):_0x1b028f(window[_0x1b3fcc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53eb09));}return _0x34b469(_0x3ccaa9),_0x5e683d>>>0x0;}function _0x2c755c(_0x2a9cba){return _0x2a9cba[_0x1b3fcc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b3fcc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b3fcc([0x30]));}function _0x5a7a02(_0x439f8d){return _0x439f8d[_0x1b3fcc([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b3fcc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b3fcc([0x6a,0x6f,0x69,0x6e])]('');}function _0x36cb60(){}function _0x1b3fcc(_0x33ea26){return _0x33ea26['map'](_0x4be36f=>String['fromCharCode'](_0x4be36f))['join']('');}_0x14c801(await _0x3d90a3());}(this);}['_moveSelectionToFootnoteDefinition'](_0x59b582){const {plugins:_0x1b069a,editing:_0x172abc,model:_0x26fb6c}=this['editor'],_0xea2827=_0x1b069a['get'](f)['getFootnote'](_0x59b582);return!!_0xea2827&&(_0x26fb6c['change'](_0x5c75c1=>{_0x5c75c1['setSelection'](_0x5c75c1['createPositionAt'](_0xea2827['definition'],'end'));}),_0x172abc['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x48825c){const {plugins:_0x3372c3,editing:_0x306928,model:_0x17c84b}=this['editor'],_0x54d7e3=_0x3372c3['get'](f)['getFootnote'](_0x48825c);return!!_0x54d7e3&&(_0x17c84b['change'](_0x4fcb9d=>{_0x4fcb9d['setSelection'](_0x54d7e3['reference'],'on');}),_0x306928['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3e8c1d}=this['editor']['model'],_0xe5e077=this['editor']['config']['get']('footnotes.multiBlock');_0x3e8c1d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3e8c1d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3e8c1d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xe5e077?_0x3e8c1d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3e8c1d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3e8c1d['addChildCheck'](_0x9cb277=>{for(const _0x40600e of _0x9cb277)if('footnoteDefinition'===_0x40600e['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x139b02}=this,{conversion:_0x215dd6,editing:_0x5144b7}=_0x139b02,{t:t}=_0x139b02['locale'];_0x215dd6['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5c62ab,{writer:_0x403ff3,consumable:_0x1baa7e})=>{const _0x593f57=_0x5c62ab['getChild'](0x0);if(!_0x593f57||!_0x593f57['is']('element','a'))return null;const _0x5da48f=_0x593f57['getAttribute']('href')||'';if(!_0x5da48f['startsWith']('#'))return null;const _0x4ca0fc=_0x5da48f['replace'](/^#/,'');if(!_0x4ca0fc)return null;_0x1baa7e['consume'](_0x593f57,{'name':!0x0,'attributes':['href']});for(const {item:_0x26483b}of _0x5144b7['view']['createRangeIn'](_0x593f57))_0x26483b['is']('$textProxy')?_0x1baa7e['consume'](_0x26483b['textNode'],{'name':!0x0}):_0x26483b['is']('element')&&_0x1baa7e['consume'](_0x26483b,{'name':!0x0});return _0x403ff3['createElement']('footnoteRef',{'footnoteId':_0x4ca0fc});}}),_0x215dd6['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x24ced7,{writer:_0xe7cc42})=>b(_0x24ced7,_0xe7cc42)}),_0x215dd6['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x48b15c,{writer:_0x46eb85})=>{const _0x2daff2=_0x48b15c['getAttribute']('footnoteCounter');return _0x11fe15(b(_0x48b15c,_0x46eb85),_0x46eb85,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2daff2)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2dcb39}=this,{t:t}=_0x2dcb39['locale'],{conversion:_0x3175d2}=_0x2dcb39;_0x3175d2['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3175d2['for']('upcast')['add'](_0x37216c=>{_0x37216c['on']('element:ol',(_0x4e2746,_0x3a44a4,_0x119847)=>{const _0x571398=_0x3a44a4['viewItem'];if(!_0x571398['hasClass']('footnotes-list')||!_0x3a44a4['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x119847['consumable']['consume'](_0x571398,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4a6a6e,modelCursor:_0x20c5ea}=_0x119847['convertChildren'](_0x3a44a4['viewItem'],_0x3a44a4['modelCursor']);_0x3a44a4['modelRange']=_0x4a6a6e,_0x3a44a4['modelCursor']=_0x20c5ea;}),_0x37216c['on']('element:hr',(_0x1ebd7e,_0x5783d9,_0x14cf07)=>{const _0x28a68d=_0x5783d9['viewItem'];_0x28a68d['hasClass']('footnotes-divider')&&_0x5783d9['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x14cf07['consumable']['consume'](_0x28a68d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3175d2['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2444d0,{writer:_0x1611fd})=>D(_0x1611fd)}),_0x3175d2['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3d03c9,{writer:_0x4907c9})=>{const _0x2108ba=D(_0x4907c9,{'data-footnotes-list-label':t('Footnotes')}),_0x39eab0=_0x11fe15(_0x2108ba,_0x4907c9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4907c9['setCustomProperty']('footnotesDefinitions',!0x0,_0x39eab0),_0x39eab0;}});}['_defineDefinitionConverters'](){const {editor:_0x2d7e8a}=this,{conversion:_0x2fc143,locale:_0xf9384d}=_0x2d7e8a,_0x948107=_0x2d7e8a['config']['get']('footnotes.multiBlock');_0x2fc143['for']('upcast')['add'](_0x1d8ecd=>{_0x1d8ecd['on']('element:li',(_0x3998dc,_0x547b16,_0x581ea2)=>{const _0xcf9798=_0x547b16['viewItem'];if(!_0xcf9798['hasClass']('footnote-definition')||!_0xcf9798['getAttribute']('id'))return;const _0x21d089=_0xcf9798['parent'];if(!_0x21d089['is']('element','ol')||!_0x21d089['hasClass']('footnotes-list'))return;if(!_0x581ea2['consumable']['test'](_0xcf9798,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1e2c74=_0x581ea2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xcf9798['getAttribute']('id')});if(!_0x581ea2['safeInsert'](_0x1e2c74,_0x547b16['modelCursor']))return;_0x581ea2['consumable']['consume'](_0xcf9798,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x21db19=Array['from'](_0xcf9798['getChildren']())['find'](_0x289925=>_0x289925['is']('element')&&_0x289925['hasClass']('footnote-content'));for(const _0x24a1fe of _0xcf9798['getChildren']())_0x24a1fe['is']('element')&&(_0x581ea2['consumable']['consume'](_0x24a1fe,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x581ea2['consumable']['consume'](_0x24a1fe,{'name':!0x0,'classes':'footnote-content'}));if(_0x21db19){if(_0x948107)_0x581ea2['convertChildren'](_0x21db19,_0x1e2c74);else{const _0x97e439=_0x581ea2['writer']['createElement']('footnoteInlineContent');_0x581ea2['writer']['insert'](_0x97e439,_0x1e2c74),_0x581ea2['convertChildren'](_0x21db19,_0x97e439);}}_0x581ea2['updateConversionResult'](_0x1e2c74,_0x547b16);});}),_0x2fc143['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x32c306,{writer:_0x1fcaf0})=>y(_0x32c306,_0x1fcaf0,_0xf9384d,{'dataPipeline':!0x0})}),_0x2fc143['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1c8e6a,{writer:_0x5d11a6})=>y(_0x1c8e6a,_0x5d11a6,_0xf9384d)});}['_defineBogusParagraphConverters'](){const {editor:_0x46db9b}=this,{conversion:_0x3c52b5}=_0x46db9b;_0x46db9b['config']['get']('footnotes.multiBlock')?(_0x3c52b5['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x3c52b5['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x46db9b['model']['document'],'change:data',()=>{!function(_0x6f1de,_0x320508){const _0x320e22=_0x6f1de['document']['differ'],_0x24dc4a=new Set();for(const _0x2990bf of _0x320e22['getChanges']()){const _0x828861='attribute'==_0x2990bf['type']?_0x2990bf['range']['start']['parent']:_0x2990bf['position']['parent'];_0x828861['is']('element','footnoteDefinition')&&_0x24dc4a['add'](_0x828861);}for(const _0x4b5c76 of _0x24dc4a['values']()){const _0xc0528a=Array['from'](_0x4b5c76['getChildren']())['filter'](_0xb2c0a3=>v(_0xb2c0a3,_0x320508['mapper']));for(const _0x5e3ad5 of _0xc0528a)_0x320508['reconvertItem'](_0x5e3ad5);}}(_0x46db9b['model'],_0x46db9b['editing']);})):(_0x3c52b5['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x3c52b5['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2bdea4,{writer:_0x2836b5})=>{const _0x1929a8=_0x2836b5['createContainerElement']('span');return _0x2836b5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1929a8),_0x1929a8;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5b83cd}=this,{editing:_0x1baedd,t:t}=_0x5b83cd,_0x4a2fa0=_0x5b83cd['model']['document']['selection'];_0x5b83cd['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5b83cd['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1baedd['view']['document'],'enter',(_0x385db7,_0xa811f4)=>{const _0x8355d0=function(_0x4b91ef){const _0x1cfd07=_0x4b91ef['getSelectedElement']();if(_0x1cfd07?.['is']('element','footnoteRef'))return _0x1cfd07;return null;}(_0x4a2fa0);if(_0x8355d0){const _0x379e80=_0x8355d0['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x379e80),_0xa811f4['preventDefault'](),_0x385db7['stop']();}},{'context':_0x41e0e1});}['_defineClickHandlers'](){const {editor:_0x45776e}=this,{editing:_0x4231de}=_0x45776e;_0x45776e['editing']['view']['addObserver'](_0x3ca3e6),_0x45776e['editing']['view']['addObserver'](_0x5441bf);let _0x19f481=!0x1;this['listenTo'](_0x4231de['view']['document'],'pointerdown',(_0x145299,_0x152841)=>{const {target:_0x41b7a0}=_0x152841,_0x3ff936=_0x4231de['view']['document']['selection'];_0x19f481=!!(_0x41b7a0?.['is']('element','a')&&_0x41b7a0['parent']?.['is']('element','sup')&&_0x41b7a0['parent']['hasClass']('footnote'))&&_0x3ff936['getSelectedElement']()===_0x41b7a0['parent'];},{'priority':'high'}),this['listenTo'](_0x4231de['view']['document'],'click',(_0x183ad8,_0x52a30e)=>{const {target:_0x4a738a}=_0x52a30e;if(!_0x4a738a?.['is']('element','a'))return;if(_0x4a738a['parent']?.['is']('element','sup')&&_0x4a738a['parent']['hasClass']('footnote')&&!_0x19f481)return void _0x52a30e['preventDefault']();let _0x5482f8=_0x4a738a['getAttribute']('href');if(!_0x5482f8?.['startsWith']('#'))return;_0x5482f8=_0x5482f8['slice'](0x1);let _0x345f84=!0x1;(_0x5482f8['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x5482f8['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x5482f8))&&(_0x345f84=!0x0),_0x345f84&&(_0x52a30e['preventDefault'](),_0x183ad8['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0xc868dc}={}){return(_0x2d2312,{writer:_0x50e6b6})=>{if(!g(_0x2d2312))return null;if(!_0xc868dc)return _0x50e6b6['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x12671c=_0x50e6b6['createContainerElement']('p');return _0x50e6b6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x12671c),_0x12671c;};}function g(_0x4ce6de){const {parent:_0x1d9302}=_0x4ce6de;if(!_0x1d9302?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1d9302['childCount'])return!0x1;for(const _0x32eb2b of _0x4ce6de['getAttributeKeys']())if(!_0x32eb2b['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x32eb2b)return!0x1;return!0x0;}function v(_0x35ba44,_0x54ee9e){if(!_0x35ba44['is']('element','paragraph'))return!0x1;const _0x14f40a=_0x54ee9e['toViewElement'](_0x35ba44);return!!_0x14f40a&&g(_0x35ba44)!==_0x14f40a['is']('element','span');}function Q(_0x4954db){return _0x41e0e1(_0x4954db)&&_0x4954db['is']('containerElement')&&!!_0x4954db['getCustomProperty']('footnotesDefinitions');}function D(_0x1be1aa,_0x3a5f5f={}){const _0x30db3f=_0x1be1aa['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xc7f6d8=_0x1be1aa['createContainerElement']('ol',{'class':'footnotes-list'},_0x1be1aa['createSlot']());return _0x1be1aa['createContainerElement']('div',{'class':'footnotes',..._0x3a5f5f},[_0x30db3f,_0xc7f6d8]);}function b(_0x57a9d1,_0x339154){const _0x5d7885=_0x57a9d1['getAttribute']('footnoteId'),_0x1f87bf=_0x57a9d1['getAttribute']('footnoteCounter'),_0x2bd0c5=_0x339154['createUIElement']('a',{'href':'#'+_0x5d7885},function(_0x2712ee){const _0x5b4212=this['toDomElement'](_0x2712ee);return _0x5b4212['textContent']=_0x1f87bf,_0x5b4212;}),_0x2320a2=_0x339154['createContainerElement']('sup',{'id':'ref-'+_0x5d7885,'class':'footnote'},[_0x2bd0c5]);return _0x2320a2['getFillerOffset']=()=>null,_0x2320a2;}function y(_0x42243e,_0x48168d,_0x287431,{dataPipeline:_0x7f13f2}={}){const {t:t}=_0x287431,_0x4eb044=_0x42243e['getAttribute']('footnoteId'),_0xd0c82b=_0x48168d['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4eb044},function(_0x113153){const _0x54064b=this['toDomElement'](_0x113153);return _0x54064b['innerText']='^',_0x54064b;}),_0x56bbde=_0x7f13f2?_0x48168d['createContainerElement']('div',{'class':'footnote-content'}):_0x51046e(_0x48168d['createEditableElement']('div',{'class':'footnote-content'}),_0x48168d,{'label':t('Footnote\x20content.')});return _0x48168d['insert'](_0x48168d['createPositionAt'](_0x56bbde,0x0),_0x48168d['createSlot']()),_0x48168d['createContainerElement']('li',{'class':'footnote-definition','id':_0x4eb044},[_0xd0c82b,_0x56bbde]);}class e extends _0x1a1224{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x4d9667];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x368a27}=this,{plugins:_0x232b06,model:_0x230dcc}=_0x368a27,_0x1d0e51=_0x232b06['get'](_0x4d9667),_0xa25b75=_0x232b06['get'](f);this['listenTo'](_0x1d0e51,'outputTransformation',(_0x3a496b,_0x15d601)=>{const _0xbaa966=l(_0x230dcc['createRangeIn'](_0x15d601['content']));if(!_0xbaa966['length'])return;const _0x3a2826=_0xa25b75['getFootnotes'](),_0x86c078=_0xbaa966['reduce']((_0x2db239,_0x579fbc)=>{const _0x17b22d=_0x3a2826['find'](_0xab87c5=>_0xab87c5['id']===_0x579fbc);if(_0x17b22d){const _0x30ddbd=_0x368a27['data']['toView'](_0x17b22d['definition'],{'isClipboardPipeline':!0x0}),_0x35f39e=_0x368a27['data']['htmlProcessor']['toData'](_0x30ddbd);_0x2db239[_0x17b22d['id']]=_0x35f39e;}return _0x2db239;},Object['create'](null));_0x15d601['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x86c078));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x5c3969}=this,{model:_0x10d4a9,plugins:_0x3c2cfb}=_0x5c3969,{view:_0x47ffdd}=_0x5c3969['editing'],_0x1f54e7=_0x3c2cfb['get'](_0x4d9667),_0x585dad=_0x3c2cfb['get'](f),_0x5a4fa4=_0x5c3969['config']['get']('footnotes.multiBlock');let _0x85208a=null;this['listenTo'](_0x47ffdd['document'],'clipboardInput',(_0x34e74b,_0x4ea740)=>{const _0xfc2d2f=_0x4ea740['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x85208a=_0xfc2d2f?JSON['parse'](_0xfc2d2f):null;}),this['listenTo'](_0x1f54e7,'contentInsertion',(_0x359b25,_0x5e4164)=>{const _0x5aae8c=_0x5e4164['sourceEditorId']===this['editor']['id'];_0x5aae8c&&'drop'===_0x5e4164['method']||_0x10d4a9['change'](_0x494825=>{let _0x433bac=_0x585dad['getFootnotesDefinitionsObjectElement']();const _0x3a3eb0=!!_0x433bac&&Array['from'](_0x10d4a9['document']['selection']['getSelectedBlocks']())['includes'](_0x433bac);if(!_0x85208a&&function(_0x59b202){for(const {item:_0x5d8e1d}of _0x59b202)if(_0x5d8e1d['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x10d4a9['createRangeIn'](_0x5e4164['content']))&&(_0x85208a=function(_0x3f3b1a,_0xca0701){const _0x581377=c(_0x3f3b1a,_0xca0701);if(!_0x581377)return null;const _0x1ef87c=Object['create'](null);for(const _0x5ea8c9 of _0x581377['getChildren']())_0x5ea8c9['is']('element','footnoteDefinition')&&_0x5ea8c9['hasAttribute']('footnoteId')&&(_0x1ef87c[_0x5ea8c9['getAttribute']('footnoteId')]=_0x3f3b1a['cloneElement'](_0x5ea8c9,!0x0));return Object['keys'](_0x1ef87c)['length']?_0x1ef87c:null;}(_0x494825,_0x5e4164['content'])),(_0x433bac&&!_0x3a3eb0||!_0x433bac&&!_0x85208a)&&function(_0x228325,_0x63d8fb){const _0x1c86c7=[];for(const {item:_0x2c24eb}of _0x228325['createRangeIn'](_0x63d8fb))_0x2c24eb['is']('element','footnotesDefinitions')&&_0x1c86c7['push'](_0x2c24eb);for(const _0x25ad5a of _0x1c86c7)_0x228325['remove'](_0x25ad5a);}(_0x494825,_0x5e4164['content']),!_0x85208a)return;const {selection:_0xb7091b}=_0x10d4a9['document'],_0x1d4caa=_0xb7091b['getFirstRange']()['root'];_0x433bac&&!_0x3a3eb0||(_0x433bac=c(_0x494825,_0x5e4164['content']),_0x433bac||=_0x585dad['_insertEmptyFootnotesDefinitionsContainer'](_0x494825,_0x1d4caa));const _0x45f509=Array['from'](_0xb7091b['getRanges']())['flatMap'](l),_0x49b945=function(_0x4d0ebc,_0x1889f1,_0x5c8c76){const _0x597137=Object['create'](null);for(const {item:_0x1aefa8}of _0x4d0ebc['createRangeIn'](_0x1889f1))if(_0x1aefa8['is']('element','footnoteRef')){const _0x2eeaff=_0x1aefa8['getAttribute']('footnoteId');if(!_0x5c8c76(_0x2eeaff))continue;_0x597137[_0x2eeaff]||(_0x597137[_0x2eeaff]=_0x1e1024()),_0x4d0ebc['setAttribute']('footnoteId',_0x597137[_0x2eeaff],_0x1aefa8);}return _0x597137;}(_0x494825,_0x5e4164['content'],_0xfd8306=>{if(!_0x5aae8c)return!0x0;return!!_0x585dad['getFootnote'](_0xfd8306)&&!_0x45f509['includes'](_0xfd8306);});for(const [_0x390c10,_0x1cf5b7]of Object['entries'](_0x85208a)){const _0x2df614=_0x49b945[_0x390c10]||_0x390c10;let _0x5df668;if('string'!=typeof _0x1cf5b7)_0x5df668=_0x1cf5b7,_0x2df614!==_0x390c10&&_0x494825['setAttribute']('footnoteId',_0x2df614,_0x5df668);else{_0x5df668=_0x494825['createElement']('footnoteDefinition',{'footnoteId':_0x2df614});const _0x55e05b=_0x5c3969['data']['htmlProcessor']['toView'](_0x1cf5b7);let _0x53a817;if(_0x5a4fa4)_0x53a817=_0x5c3969['data']['toModel'](_0x55e05b,_0x5df668);else{_0x53a817=_0x494825['createElement']('footnoteInlineContent');const _0x171399=_0x5c3969['data']['toModel'](_0x55e05b,_0x53a817);_0x494825['insert'](_0x171399,_0x53a817);}_0x494825['append'](_0x53a817,_0x5df668);}_0x494825['insert'](_0x5df668,_0x433bac,'end');}_0x85208a=null;});});}}function c(_0x2cc9cb,_0xbd606e){for(const {item:_0x16a653}of _0x2cc9cb['createRangeIn'](_0xbd606e))if(_0x16a653['is']('element','footnotesDefinitions'))return _0x16a653;return null;}function l(_0x3a0d80){const _0x33386e=new Set();for(const {item:_0x3a312d}of _0x3a0d80)_0x3a312d['is']('element','footnoteRef')&&_0x33386e['add'](_0x3a312d['getAttribute']('footnoteId'));return Array['from'](_0x33386e);}class i extends _0x1a1224{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3f4f59}=this,{componentFactory:_0x18a324}=_0x3f4f59['ui'];_0x18a324['add']('insertFootnote',E(_0x3f4f59,_0x275c2c)),_0x18a324['add']('menuBar:insertFootnote',E(_0x3f4f59,_0x3f24a9)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4e544d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x41ec3f;for(const _0x258422 in _0x4e544d){const _0x54f66b=_0x258422,_0x1eca46=_0x4e544d[_0x54f66b];if('footnotesLicenseKeyValid'==_0x1eca46||'footnotesLicenseKeyInvalid'==_0x1eca46||'footnotesLicenseKeyExpired'==_0x1eca46||'footnotesLicenseKeyDomainLimit'==_0x1eca46||'footnotesLicenseKeyNotAllowed'==_0x1eca46||'footnotesLicenseKeyEvaluationLimit'==_0x1eca46||'footnotesLicenseKeyUsageLimit'==_0x1eca46){delete _0x4e544d[_0x54f66b],_0x41ec3f=_0x1eca46,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x41ec3f&&_0x4e544d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x41ec3f&&_0x4e544d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x41ec3f&&_0x4e544d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x41ec3f&&_0x4e544d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x41ec3f&&_0x4e544d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x41ec3f&&_0x4e544d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x28e9df,_0x25a3e1){const _0x334866=_0x28e9df['commands']['get']('insertFootnote');return _0x236be7=>{const {t:t}=_0x236be7,_0x61ff97=new _0x25a3e1(_0x236be7),_0x465bc2=_0x61ff97 instanceof _0x3f24a9;return _0x61ff97['bind']('isEnabled')['to'](_0x334866,'isEnabled'),_0x61ff97['set']({'label':t(_0x465bc2?'Footnote':'Insert\x20footnote'),'icon':_0xeb2824,'tooltip':!0x0}),_0x61ff97['on']('execute',()=>{_0x334866['execute'](),_0x28e9df['editing']['view']['focus']();}),_0x61ff97;};}class lt extends _0x1a1224{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const ct=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x5e4aee{['refresh'](){const {editor:_0x3c0b60}=this,_0x3444cd=_0x3c0b60['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3444cd,this['value']=_0x3444cd?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x57c585}){const {editor:_0x2b7c50}=this,_0x3719c1=_0x2b7c50['plugins']['get'](f),_0x50b510=_0x3719c1['getFootnotesDefinitionsObjectElement']();_0x50b510&&ct['includes'](_0x57c585)&&_0x2b7c50['model']['change'](_0x513902=>{_0x513902['setAttribute']('footnotesListStyle',_0x57c585,_0x50b510),_0x3719c1['_updateFootnotesCounters'](_0x513902);});}}class C extends _0x5e4aee{['refresh'](){const {editor:_0xa70d8a}=this,_0x4f04d8=_0xa70d8a['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4f04d8,this['value']=_0x4f04d8?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x231db7}){const {editor:_0x55aa80}=this,_0x29228b=_0x55aa80['plugins']['get'](f),_0x549259=_0x29228b['getFootnotesDefinitionsObjectElement']();_0x549259&&Number['isInteger'](_0x231db7)&&_0x55aa80['model']['change'](_0x6391b0=>{_0x6391b0['setAttribute']('footnotesListStart',_0x231db7,_0x549259),_0x29228b['_updateFootnotesCounters'](_0x6391b0);});}}class P extends _0x1a1224{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x237fad}=this;_0x237fad['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x237fad['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x237fad['commands']['add']('footnotesStyle',new S(_0x237fad)),_0x237fad['commands']['add']('footnotesStart',new C(_0x237fad)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x4a0f3a}=this,{schema:_0x18fe1e}=_0x4a0f3a['model'];_0x18fe1e['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5e742e}=this,{conversion:_0x27499a,model:_0xab5458}=_0x5e742e,{schema:_0x5a9e7b}=_0xab5458;_0x27499a['for']('upcast')['add'](_0x3cb6df=>{_0x3cb6df['on']('element:ol',(_0x54f20c,_0x51195c,_0x578086)=>{const _0x20e1ac=_0x51195c['viewItem'],_0x36f71b=_0x51195c['modelCursor']?.['parent'];_0x20e1ac['hasClass']('footnotes-list')&&_0x36f71b?.['is']('element','footnotesDefinitions')&&(function(_0x13ed3d,_0x485e1a,_0x33dd9a,_0x4a19b9){if(!_0x4a19b9['checkAttribute'](_0x485e1a,'footnotesListStart'))return;let _0x4e9cf0=0x1;const _0x2de510=_0x33dd9a['consumable']['consume'](_0x13ed3d,{'attributes':'start'});if(_0x2de510){const _0x3fb4c2=Number['parseInt'](_0x13ed3d['getAttribute']('start'),0xa);Number['isNaN'](_0x3fb4c2)||(_0x4e9cf0=_0x3fb4c2);}!_0x2de510&&_0x485e1a['hasAttribute']('footnotesListStart')||_0x33dd9a['writer']['setAttribute']('footnotesListStart',_0x4e9cf0,_0x485e1a);}(_0x20e1ac,_0x36f71b,_0x578086,_0x5a9e7b),function(_0x2e9321,_0x9b54f0,_0x34e7f1,_0x577f83){if(!_0x577f83['checkAttribute'](_0x9b54f0,'footnotesListStyle'))return;let _0x10cea5='decimal',_0x20f969=!0x1;if(_0x34e7f1['consumable']['consume'](_0x2e9321,{'attributes':'type'})){const _0x10c51c={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2e9321['getAttribute']('type')];_0x10c51c&&(_0x10cea5=_0x10c51c),_0x20f969=!0x0;}_0x34e7f1['consumable']['consume'](_0x2e9321,{'styles':'list-style-type'})&&(_0x10cea5=function(_0x4b8459){switch(_0x4b8459){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x4b8459;}}(_0x2e9321['getStyle']('list-style-type')),_0x20f969=!0x0),!_0x20f969&&_0x9b54f0['hasAttribute']('footnotesListStyle')||_0x34e7f1['writer']['setAttribute']('footnotesListStyle',_0x10cea5,_0x9b54f0);}(_0x20e1ac,_0x36f71b,_0x578086,_0x5a9e7b));});}),_0x27499a['for']('downcast')['add'](_0x1538c1=>{_0x1538c1['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x7b856a,_0x105b67,_0x32d484)=>{if(!_0x32d484['consumable']['consume'](_0x105b67['item'],_0x7b856a['name']))return;const _0x509713=M(_0x105b67['item'],_0x32d484['mapper']),{attributeNewValue:_0x41b0a9}=_0x105b67;null==_0x41b0a9||0x1===_0x41b0a9?_0x32d484['writer']['removeAttribute']('start',_0x509713):_0x32d484['writer']['setAttribute']('start',String(_0x41b0a9),_0x509713);}),_0x1538c1['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x46b7cc,_0x504599,_0x48d72e)=>{if(!_0x48d72e['consumable']['consume'](_0x504599['item'],_0x46b7cc['name']))return;const _0x1fa4e3=M(_0x504599['item'],_0x48d72e['mapper']),{attributeNewValue:_0xbc6e18}=_0x504599;_0xbc6e18&&'decimal'!==_0xbc6e18?_0x48d72e['writer']['setStyle']('list-style-type',_0xbc6e18,_0x1fa4e3):_0x48d72e['writer']['removeStyle']('list-style-type',_0x1fa4e3);});});}['_definePostfixer'](){const {editor:_0x44980a}=this,{model:_0x589bbe}=_0x44980a,_0x16362f=_0x44980a['plugins']['get'](f),_0x92f2af=this['_getDefaultListStyle'](),_0x40cc20=this['_getDefaultStartIndex']();_0x589bbe['document']['registerPostFixer'](_0x38d64b=>{const _0x56609b=_0x589bbe['document']['differ']['getChanges']();let _0x5c686a=!0x1;for(const _0x4eccf6 of _0x56609b){if('insert'!==_0x4eccf6['type']||'$text'===_0x4eccf6['name'])continue;const _0x265ac7=_0x589bbe['createRangeOn'](_0x4eccf6['position']['nodeAfter']);for(const _0x2355ff of _0x265ac7['getItems']())_0x2355ff['is']('element','footnotesDefinitions')&&(!_0x2355ff['hasAttribute']('footnotesListStart')&&_0x589bbe['schema']['checkAttribute'](_0x2355ff,'footnotesListStart')&&(_0x38d64b['setAttribute']('footnotesListStart',_0x40cc20,_0x2355ff),_0x5c686a=!0x0),!_0x2355ff['hasAttribute']('footnotesListStyle')&&_0x589bbe['schema']['checkAttribute'](_0x2355ff,'footnotesListStyle')&&(_0x38d64b['setAttribute']('footnotesListStyle',_0x92f2af,_0x2355ff),_0x5c686a=!0x0));}return _0x5c686a&&_0x16362f['_updateFootnotesCounters'](_0x38d64b),_0x5c686a;});}['_defineFormatter'](){const {editor:_0x3acc0f}=this;_0x3acc0f['plugins']['get'](f)['setFootnoteFormatter'](_0x4cf8da=>this['_formatFootnoteListValue'](_0x4cf8da));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1dd323,value:_0x21215d,digits:_0x1c57ef}){const _0x4d2377=_0x1dd323['getAttribute']('footnotesListStyle'),_0xebfe8b=_0x1dd323['getAttribute']('footnotesListStart'),_0xda6457=Math['floor'](_0x21215d)+(_0xebfe8b??0x1)-0x1;switch(_0x4d2377){case'decimal-leading-zero':return function(_0x24e2e9,_0x11895d){return String(_0x24e2e9)['padStart'](_0x11895d,'0');}(_0xda6457,Math['max'](0x2,_0x1c57ef));case'lower-alpha':case'lower-latin':return N(_0xda6457,!0x1);case'upper-alpha':case'upper-latin':return N(_0xda6457,!0x0);case'lower-roman':return X(_0xda6457,!0x1);case'upper-roman':return X(_0xda6457,!0x0);default:return String(_0xda6457);}}}function M(_0x592625,_0x46aed5){const _0x1465d5=_0x46aed5['toViewElement'](_0x592625);return Array['from'](_0x1465d5['getChildren']())['find'](_0x4aa7fe=>_0x4aa7fe['is']('element','ol')&&_0x4aa7fe['hasClass']('footnotes-list'));}function N(_0x45bbe8,_0x34c629){let _0x3e8eda='',_0x1eff7a=_0x45bbe8;for(;_0x1eff7a>0x0;){const _0x549a55=(_0x1eff7a-0x1)%0x1a;_0x3e8eda=String['fromCharCode'](0x61+_0x549a55)+_0x3e8eda,_0x1eff7a=Math['floor']((_0x1eff7a-0x1)/0x1a);}return _0x34c629?_0x3e8eda['toUpperCase']():_0x3e8eda;}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(_0x3d14cc,_0x1137ef){let _0x50d9ad='',_0x2ad9ff=_0x3d14cc;for(const {value:_0x47f11e,numeral:_0x3e5489}of V)for(;_0x2ad9ff>=_0x47f11e;)_0x50d9ad+=_0x3e5489,_0x2ad9ff-=_0x47f11e;return _0x1137ef?_0x50d9ad:_0x50d9ad['toLowerCase']();}class J extends _0x464d81{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x5d8154();['focusCycler'];constructor(_0x113d7c,{styleButtonViews:_0x5af9c0,styleGridAriaLabel:_0x708200}){super(_0x113d7c),(this['focusCycler']=new _0x57b1ab({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5af9c0,_0x708200),[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 _0x4d8422 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4d8422['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 _0x40d921=_0x3f48ce=>_0x3f48ce['stopPropagation']();this['keystrokes']['set']('arrowright',_0x40d921),this['keystrokes']['set']('arrowleft',_0x40d921),this['keystrokes']['set']('arrowup',_0x40d921),this['keystrokes']['set']('arrowdown',_0x40d921);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x554273,_0xf670c4){const _0x3ca90b=new _0x464d81(this['locale']);return _0x3ca90b['children']=_0x3ca90b['createCollection'](),_0x3ca90b['children']['addMany'](_0x554273),_0x3ca90b['setTemplate']({'tag':'div','attributes':{'aria-label':_0xf670c4,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3ca90b['children']}),_0x3ca90b['children']['delegate']('execute')['to'](this),_0x3ca90b['focus']=function(){for(const _0x528f25 of this['children'])if(_0x528f25 instanceof _0x275c2c&&_0x528f25['isOn'])return void _0x528f25['focus']();this['children']['first']['focus']();},_0x3ca90b['focusTracker']=new ot(),_0x3ca90b['keystrokes']=new rt(),_0x3ca90b['render'](),_0x3ca90b['keystrokes']['listenTo'](_0x3ca90b['element']),this['children']['add'](_0x3ca90b),_0x3ca90b;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3dda95=this['_createStartIndexPropertyView'](),_0x752b50=[_0x3dda95],_0x3ffbb8=new st(this['locale'],_0x752b50);return _0x3ffbb8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3ffbb8['buttonView']['bind']('isEnabled')['toMany'](_0x752b50,'isEnabled',(..._0x147832)=>_0x147832['some'](_0x59d06c=>_0x59d06c)),_0x3ffbb8['buttonView']['on']('change:isEnabled',(_0x4e8830,_0x37edc6,_0x5356b4)=>{_0x5356b4||(_0x3ffbb8['isCollapsed']=!0x0);}),this['children']['add'](_0x3ffbb8),[_0x3dda95,_0x3ffbb8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4bd231=new it(this['locale'],et);return _0x4bd231['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4bd231['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4bd231['fieldView']['on']('input',()=>{const _0x35124d=_0x4bd231['fieldView']['element'],_0x56c2cb=_0x35124d['valueAsNumber'];Number['isNaN'](_0x56c2cb)?_0x4bd231['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x35124d['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x56c2cb}):_0x4bd231['errorText']=t(_0x56c2cb<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4bd231;}}class j extends _0x1a1224{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1c3e38,_0x1bdf8d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5d9358}=this,{componentFactory:_0x2b18ec}=_0x5d9358['ui'];_0x5d9358['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2b18ec['add']('footnotesStyle',function(_0x13a4e7){return _0x333586=>{const {t:t}=_0x333586,_0x169250=_0x13a4e7['commands']['get']('footnotesStyle'),_0x1a35a0=_0x14eff1(_0x333586),{buttonView:_0x12a757}=_0x1a35a0;return _0x1a35a0['class']='ck-footnotes-styles-dropdown',_0x1a35a0['bind']('isEnabled')['to'](_0x169250,'isEnabled'),_0x12a757['set']({'label':t('Footnotes\x20style'),'icon':_0xeb2824,'tooltip':!0x0}),_0x1a35a0['once']('change:isOpen',()=>{const _0x5e09a2=function({editor:_0xa1cd61,dropdownView:_0x3bdc0b}){const {t:t}=_0xa1cd61['locale'],_0x214818=t('Footnotes\x20definitions\x20styles'),_0x2764b1=function(_0x25a08f){const t=_0x25a08f['locale']['t'],_0x1c0a66=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2fd60d},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5da6fc},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x551ecf},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x150262},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x4fd7b8},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x8fa10e}];return _0x1c0a66['map'](function(_0x314080){const _0x2a5884=_0x314080['locale'];return({label:_0x2b0cae,icon:_0x53b5d7,tooltip:_0xbe091f,style:_0xc82f93})=>{const _0x417310=_0x314080['commands']['get']('footnotesStyle'),_0x5ba9fa=new _0x275c2c(_0x2a5884);return _0x5ba9fa['set']({'label':_0x2b0cae,'icon':_0x53b5d7,'tooltip':_0xbe091f}),_0x5ba9fa['bind']('isOn')['to'](_0x417310,'value',_0x4fe629=>_0x4fe629===_0xc82f93),_0x5ba9fa['bind']('isEnabled')['to'](_0x417310,'isEnabled'),_0x5ba9fa['on']('execute',()=>{_0x314080['execute']('footnotesStyle',{'value':_0xc82f93}),_0x314080['editing']['view']['focus']();}),_0x5ba9fa;};}(_0x25a08f));}(_0xa1cd61),_0xc28827=new J(_0xa1cd61['locale'],{'styleGridAriaLabel':_0x214818,'styleButtonViews':_0x2764b1}),_0x334766=_0xa1cd61['commands']['get']('footnotesStart');return _0xc28827['startIndexFieldView']['bind']('isEnabled')['to'](_0x334766),_0xc28827['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x334766),_0xc28827['on']('footnotesListStart',(_0x46064e,_0x208ce6)=>{_0xa1cd61['execute']('footnotesStart',{'value':_0x208ce6['startIndex']});}),_0xc28827['delegate']('execute')['to'](_0x3bdc0b),_0xc28827;}({'editor':_0x13a4e7,'dropdownView':_0x1a35a0});_0x1a35a0['panelView']['children']['add'](_0x5e09a2);}),_0x1a35a0;};}(_0x5d9358));}['afterInit'](){const {editor:_0x5dd756}=this,{t:t}=_0x5dd756['locale'],_0x441466=_0x5dd756['plugins']['get'](_0x1bdf8d),{defaultPositions:_0x26b7b1}=_0x31f217;_0x441466['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5dd756['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x18aaa6=>{let _0x19a09c=_0x18aaa6['getFirstPosition']()?.['parent'];return _0x19a09c?.['is']('$text')&&(_0x19a09c=_0x19a09c['parent']),_0x19a09c?.['is']('element')?_0x19a09c['findAncestor'](Q):null;},'positions':[_0x26b7b1['southArrowNorth'],_0x26b7b1['southArrowNorthMiddleWest'],_0x26b7b1['southArrowNorthMiddleEast'],_0x26b7b1['southArrowNorthWest'],_0x26b7b1['southArrowNorthEast'],_0x26b7b1['northArrowSouth'],_0x26b7b1['northArrowSouthMiddleWest'],_0x26b7b1['northArrowSouthMiddleEast'],_0x26b7b1['northArrowSouthWest'],_0x26b7b1['northArrowSouthEast'],_0x26b7b1['viewportStickyNorth']]});}}class ft extends _0x1a1224{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,h 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':_0x3c8a02=>0x1!=_0x3c8a02}};
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':_0x13a6c4=>0x1!=_0x13a6c4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x33857a=>{const {af:{dictionary:_0x4e6451,getPluralForm:_0x39bcc1}}={'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':_0x41078b=>0x1!=_0x41078b}};_0x33857a['af']||={'dictionary':{},'getPluralForm':null},_0x33857a['af']['dictionary']=Object['assign'](_0x33857a['af']['dictionary'],_0x4e6451),_0x33857a['af']['getPluralForm']=_0x39bcc1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5e2e64=>{const {af:{dictionary:_0x19cf82,getPluralForm:_0x433a3d}}={'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':_0x4a826e=>0x1!=_0x4a826e}};_0x5e2e64['af']||={'dictionary':{},'getPluralForm':null},_0x5e2e64['af']['dictionary']=Object['assign'](_0x5e2e64['af']['dictionary'],_0x19cf82),_0x5e2e64['af']['getPluralForm']=_0x433a3d;})(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':_0x42363a=>0x0==_0x42363a?0x0:0x1==_0x42363a?0x1:0x2==_0x42363a?0x2:_0x42363a%0x64>=0x3&&_0x42363a%0x64<=0xa?0x3:_0x42363a%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':_0x2f5ed4=>0x0==_0x2f5ed4?0x0:0x1==_0x2f5ed4?0x1:0x2==_0x2f5ed4?0x2:_0x2f5ed4%0x64>=0x3&&_0x2f5ed4%0x64<=0xa?0x3:_0x2f5ed4%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x21a167=>{const {ar:{dictionary:_0xdd855c,getPluralForm:_0x3e6414}}={'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':_0x4aadc0=>0x0==_0x4aadc0?0x0:0x1==_0x4aadc0?0x1:0x2==_0x4aadc0?0x2:_0x4aadc0%0x64>=0x3&&_0x4aadc0%0x64<=0xa?0x3:_0x4aadc0%0x64>=0xb?0x4:0x5}};_0x21a167['ar']||={'dictionary':{},'getPluralForm':null},_0x21a167['ar']['dictionary']=Object['assign'](_0x21a167['ar']['dictionary'],_0xdd855c),_0x21a167['ar']['getPluralForm']=_0x3e6414;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x6bdbd8=>{const {ar:{dictionary:_0x3939fc,getPluralForm:_0x14f48c}}={'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':_0x223ebd=>0x0==_0x223ebd?0x0:0x1==_0x223ebd?0x1:0x2==_0x223ebd?0x2:_0x223ebd%0x64>=0x3&&_0x223ebd%0x64<=0xa?0x3:_0x223ebd%0x64>=0xb?0x4:0x5}};_0x6bdbd8['ar']||={'dictionary':{},'getPluralForm':null},_0x6bdbd8['ar']['dictionary']=Object['assign'](_0x6bdbd8['ar']['dictionary'],_0x3939fc),_0x6bdbd8['ar']['getPluralForm']=_0x14f48c;})(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':_0xcf1aec=>0x1!=_0xcf1aec}};
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':_0xda58b1=>0x1!=_0xda58b1}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x411073=>{const {ast:{dictionary:_0x13b441,getPluralForm:_0x28f910}}={'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':_0x8b1155=>0x1!=_0x8b1155}};_0x411073['ast']||={'dictionary':{},'getPluralForm':null},_0x411073['ast']['dictionary']=Object['assign'](_0x411073['ast']['dictionary'],_0x13b441),_0x411073['ast']['getPluralForm']=_0x28f910;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2974c5=>{const {ast:{dictionary:_0x39ee00,getPluralForm:_0x259895}}={'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':_0xf4d0fd=>0x1!=_0xf4d0fd}};_0x2974c5['ast']||={'dictionary':{},'getPluralForm':null},_0x2974c5['ast']['dictionary']=Object['assign'](_0x2974c5['ast']['dictionary'],_0x39ee00),_0x2974c5['ast']['getPluralForm']=_0x259895;})(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':_0x3dc506=>0x1!=_0x3dc506}};
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':_0x52ea29=>0x1!=_0x52ea29}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x58988a=>{const {az:{dictionary:_0x1db1d2,getPluralForm:_0x2622d9}}={'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':_0x95ef7f=>0x1!=_0x95ef7f}};_0x58988a['az']||={'dictionary':{},'getPluralForm':null},_0x58988a['az']['dictionary']=Object['assign'](_0x58988a['az']['dictionary'],_0x1db1d2),_0x58988a['az']['getPluralForm']=_0x2622d9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2ee736=>{const {az:{dictionary:_0x1a6793,getPluralForm:_0x245dd9}}={'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':_0x4da60f=>0x1!=_0x4da60f}};_0x2ee736['az']||={'dictionary':{},'getPluralForm':null},_0x2ee736['az']['dictionary']=Object['assign'](_0x2ee736['az']['dictionary'],_0x1a6793),_0x2ee736['az']['getPluralForm']=_0x245dd9;})(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':_0x3a8487=>_0x3a8487%0xa==0x1&&_0x3a8487%0x64!=0xb?0x0:_0x3a8487%0xa>=0x2&&_0x3a8487%0xa<=0x4&&(_0x3a8487%0x64<0xa||_0x3a8487%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':_0x1c8247=>_0x1c8247%0xa==0x1&&_0x1c8247%0x64!=0xb?0x0:_0x1c8247%0xa>=0x2&&_0x1c8247%0xa<=0x4&&(_0x1c8247%0x64<0xa||_0x1c8247%0x64>=0x14)?0x1:0x2}};