@ckeditor/ckeditor5-footnotes 47.7.1 → 47.7.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x55f208,Command as _0x117536}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x551ca5,isWidget as _0x256579,toWidgetEditable as _0x686109,WidgetToolbarRepository as _0x569f83}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x4a8e9,logWarning as _0x1f3cd2,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3f9f1c,ClickObserver as _0x577452}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x364372}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x531778,ButtonView as _0x3a955b,View as _0x1ad2c0,ViewCollection as _0x1cf98d,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x50acf6,BalloonPanelView as _0x3666fc,createDropdown as _0x3cd3b0}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x39a9b7,IconListStyleDecimal as _0x427de6,IconListStyleDecimalLeadingZero as _0xdbb943,IconListStyleLowerRoman as _0x51800d,IconListStyleUpperRoman as _0x2a415c,IconListStyleLowerLatin as _0x37fb7e,IconListStyleUpperLatin as _0x174dcd}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x52b335,_0x287852){this['_model']=_0x52b335,this['_elementName']=_0x287852['elementName'],this['_getElementKey']=_0x287852['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x532e75){const _0x25981c=new Set(),_0x40d707=new Map();for(const _0x2f6b3c of _0x532e75){if('insert'===_0x2f6b3c['type']&&'$text'!==_0x2f6b3c['name']&&_0x2f6b3c['position']['nodeAfter']){const _0x3d0615=this['_model']['createRangeOn'](_0x2f6b3c['position']['nodeAfter']);for(const _0x4256cc of _0x3d0615['getItems']()){if(!_0x4256cc['is']('element',this['_elementName']))continue;const _0x4aa8f3=this['_getElementKey'](_0x4256cc);_0x40d707['has'](_0x4aa8f3)||_0x40d707['set'](_0x4aa8f3,[]),_0x40d707['get'](_0x4aa8f3)['push'](_0x4256cc);}}if('remove'===_0x2f6b3c['type']&&_0x2f6b3c['name']===this['_elementName']){const _0x40a445=this['_getElementKey']({'getAttribute':_0x2797c5=>_0x2f6b3c['attributes']['get'](_0x2797c5)});_0x25981c['add'](_0x40a445);}}for(const [_0x13d612,_0x4a25d8]of this['_trackedElements'])'$graveyard'===_0x4a25d8['root']['rootName']&&_0x25981c['add'](_0x13d612);for(const _0x3bb08b of _0x25981c)this['_trackedElements']['delete'](_0x3bb08b);for(const [_0x548950,_0x10a24c]of _0x40d707)this['_trackedElements']['set'](_0x548950,_0x10a24c[_0x10a24c['length']-0x1]);const _0x33d2e1=new Set();for(const [_0x9380e6,_0x5492a8]of _0x40d707)_0x25981c['has'](_0x9380e6)&&(_0x33d2e1['add'](_0x5492a8[0x0]),_0x5492a8['length']>0x1?_0x40d707['set'](_0x9380e6,_0x5492a8['slice'](0x1)):_0x40d707['delete'](_0x9380e6),_0x25981c['delete'](_0x9380e6));return{'removed':Array['from'](_0x25981c),'inserted':Array['from'](_0x40d707['values']())['flat'](),'moved':Array['from'](_0x33d2e1)};}}class f extends _0x55f208{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x16e0d2){super(_0x16e0d2),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x40765a=>_0x40765a['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x28343a=>_0x28343a['getAttribute']('footnoteId')});}['init'](){const {editor:_0x4eeb7a}=this,{model:_0x2ffbfa,data:_0x305b2e}=_0x4eeb7a;_0x2ffbfa['document']['registerPostFixer'](_0x4179a6=>{const _0x535b4b=_0x2ffbfa['document']['differ']['getChanges']();let _0xaa8589=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4179a6,_0x535b4b)&&(_0xaa8589=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4179a6,_0x535b4b)&&(_0xaa8589=!0x0),this['_handleFootnoteReferencesChanges'](_0x4179a6,_0x535b4b)&&(_0xaa8589=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4179a6)&&(_0xaa8589=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4179a6)&&(_0xaa8589=!0x0),this['_sortFootnoteDefinitions'](_0x4179a6)&&(_0xaa8589=!0x0),_0xaa8589;}),this['listenTo'](_0x2ffbfa['document'],'change:data',()=>{_0x2ffbfa['enqueueChange']({'isUndoable':!0x1},_0x5f53bd=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5f53bd);});},{'priority':'low'}),this['listenTo'](_0x305b2e,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x265c93){return this['_footnotes']['find'](_0x44910a=>_0x44910a['id']===_0x265c93)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x30c4bd){this['_footnoteFormatter']=_0x30c4bd;}['_updateFootnotesCounters'](_0x494b5d,_0x2cf907=0x0){let _0x33119b=!0x1;for(let _0x3ede68=_0x2cf907;_0x3ede68<this['_footnotes']['length'];_0x3ede68++)this['_updateFootnoteRefCounter'](_0x494b5d,_0x3ede68)&&(_0x33119b=!0x0);return _0x33119b;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3d2ce6,_0x2171f4){const _0x4bfee7=_0x3d2ce6['createElement']('footnotesDefinitions',{});return _0x3d2ce6['append'](_0x4bfee7,_0x2171f4),this['_footnotesDefinitions']=_0x4bfee7,_0x4bfee7;}['_ensureFootnotesDefinitionsContainerExists'](_0x2b974f){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x31b49e=this['_footnotes'][0x0]['reference']['root'],_0x482bcc=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2b974f,_0x31b49e);for(const _0x3498ed of this['_footnotes'])_0x3498ed['definition']['parent']||_0x2b974f['insert'](_0x3498ed['definition'],_0x482bcc,'end');this['_updateFootnotesCounters'](_0x2b974f);}['_handleFootnotesDefinitionsObjectChanges'](_0x47aba5,_0x5c4aef){let _0x43d2b4=!0x1;const {inserted:_0x365b6c,removed:_0x26680d,moved:_0x123aae}=this['_footnoteDefsContainerTracker']['getChanges'](_0x5c4aef);if(_0x123aae['length']&&(this['_footnotesDefinitions']=_0x123aae[0x0]),_0x365b6c['length']){if(_0x365b6c['length']>0x1||this['_footnotesDefinitions']&&_0x365b6c['some'](_0x484041=>_0x484041!==this['_footnotesDefinitions'])){const _0x439a35=_0x47aba5['createElement']('footnotesDefinitions',{}),_0x35905b=[];this['_footnotesDefinitions']&&_0x35905b['push'](this['_footnotesDefinitions']),_0x35905b['push'](..._0x365b6c),_0x47aba5['insert'](_0x439a35,_0x35905b[0x0],'before');for(const _0x1a592c of _0x35905b)_0x47aba5['move'](_0x47aba5['createRangeIn'](_0x1a592c),_0x47aba5['createPositionAt'](_0x439a35,'end')),_0x47aba5['remove'](_0x1a592c);this['_footnotesDefinitions']=_0x439a35,this['_updateFootnotesCounters'](_0x47aba5),_0x43d2b4=!0x0;}else this['_footnotesDefinitions']=_0x365b6c[0x0];}if(_0x26680d['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0xdd1458 of this['_footnotes'])_0x47aba5['remove'](_0xdd1458['reference']),_0x43d2b4=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x43d2b4;}['_handleFootnoteDefinitionsChanges'](_0x39e881,_0x40d9ec){let _0xfaea6d=!0x1;const _0x484b76=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x253f7b,moved:_0x5ad0dd}=this['_footnoteDefsTracker']['getChanges'](_0x40d9ec);for(const _0xc49056 of[..._0x5ad0dd,..._0x253f7b]){const _0x298b9f=_0xc49056['getAttribute']('footnoteId'),_0x5f4058=this['getFootnote'](_0x298b9f);_0x5f4058&&(_0x5f4058['definition']=_0xc49056),_(_0x39e881,_0x484b76,_0xc49056)&&(_0xfaea6d=!0x0);}return _0xfaea6d;}['_handleFootnoteReferencesChanges'](_0x2a2333,_0x37db4d){let _0x300df1=!0x1;const {removed:_0x2c9b00,inserted:_0x45b46d,moved:_0x5da494}=this['_footnoteRefsTracker']['getChanges'](_0x37db4d);for(const _0x3d0215 of _0x2c9b00)this['_handleRemoveFootnoteReferenceById'](_0x2a2333,_0x3d0215)&&(_0x300df1=!0x0);for(const _0x5f0ff6 of _0x45b46d)this['_handleInsertedFootnoteReference'](_0x2a2333,_0x5f0ff6)&&(_0x300df1=!0x0);for(const _0x20a755 of _0x5da494)this['_handleMovedFootnoteReference'](_0x2a2333,_0x20a755)&&(_0x300df1=!0x0);return _0x300df1;}['_handleFootnotesDefinitionsObjectSync'](_0x4c3e3c){if(!this['_footnotesDefinitions'])return!0x1;let _0x286be8=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0xb63754=[];for(const _0x42b2bd of this['_footnotesDefinitions']['getChildren']()){const _0x4cd6e1=_0x42b2bd['getAttribute']('footnoteId');this['getFootnote'](_0x4cd6e1)||(_0xb63754['unshift'](_0x42b2bd),_0x286be8=!0x0);}for(const _0x28f092 of _0xb63754)_0x4c3e3c['remove'](_0x28f092);}const _0x2954bb=new Set(),_0x494918=[];for(const _0x5c1c89 of this['_footnotesDefinitions']['getChildren']()){const _0x26f9c5=_0x5c1c89['getAttribute']('footnoteId');_0x2954bb['has'](_0x26f9c5)?(_0x494918['unshift'](_0x5c1c89),_0x286be8=!0x0):_0x2954bb['add'](_0x26f9c5);}for(const _0x3f6d90 of _0x494918)_0x4c3e3c['remove'](_0x3f6d90);return this['_footnotesDefinitions']['childCount']||(_0x4c3e3c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x286be8=!0x0),_0x286be8;}['_handleInsertedFootnoteReference'](_0x77d18c,_0x53fc61){if(this['_footnotes']['find'](_0xf0b1ed=>_0xf0b1ed['reference']===_0x53fc61))return!0x1;let _0x536c2e=!0x1;const _0x3a7d53=_0x53fc61['getAttribute']('footnoteId'),_0x471780=this['_footnotes']['findIndex'](_0x3acfeb=>_0x3acfeb['id']===_0x3a7d53);-0x1!==_0x471780&&(_0x77d18c['remove'](this['_footnotes'][_0x471780]['reference']),this['_footnotes']['splice'](_0x471780,0x1),_0x536c2e=!0x0);let _0x5f2fe8=this['_footnotesDefinitions']?function(_0x318a16,_0x41e527){for(const _0x1fc8a4 of _0x318a16['getChildren']())if(_0x1fc8a4['getAttribute']('footnoteId')===_0x41e527)return _0x1fc8a4;return null;}(this['_footnotesDefinitions'],_0x3a7d53):null;_0x5f2fe8||(_0x5f2fe8=_0x77d18c['createElement']('footnoteDefinition',{'footnoteId':_0x3a7d53}),this['_footnotesDefinitions']&&(_0x77d18c['insert'](_0x5f2fe8,this['_footnotesDefinitions'],'end'),_0x536c2e=!0x0));const _0x52ba5b={'id':_0x3a7d53,'reference':_0x53fc61,'definition':_0x5f2fe8},_0x4afa6b=I(this['editor']['model'],this['_footnotes'],_0x53fc61);this['_footnotes']['splice'](_0x4afa6b,0x0,_0x52ba5b);let _0x4c44c3=_0x4afa6b;return-0x1!==_0x471780&&(_0x4c44c3=Math['min'](_0x4afa6b,_0x471780)),this['_updateFootnotesCounters'](_0x77d18c,_0x4c44c3)&&(_0x536c2e=!0x0),_0x536c2e;}['_handleRemoveFootnoteReferenceById'](_0x21463f,_0x71fd0f){const _0x199674=this['_footnotes']['findIndex'](_0x4f6372=>_0x4f6372['id']===_0x71fd0f);if(-0x1===_0x199674)return!0x1;let _0x765fb=!0x1;const _0x937b06=this['_footnotes'][_0x199674];return'$graveyard'!==_0x937b06['definition']['root']['rootName']&&(_0x21463f['remove'](_0x937b06['definition']),_0x765fb=!0x0),this['_footnotes']['splice'](_0x199674,0x1),this['_updateFootnotesCounters'](_0x21463f,_0x199674)&&(_0x765fb=!0x0),_0x765fb;}['_handleMovedFootnoteReference'](_0x876444,_0x4dcb76){const _0x42127c=_0x4dcb76['getAttribute']('footnoteId'),_0x39ee0f=this['_footnotes']['findIndex'](_0xebf82d=>_0xebf82d['id']===_0x42127c),_0xd805c3=this['_footnotes'][_0x39ee0f];let _0xc5bcf3=!0x1;_0xd805c3['reference']=_0x4dcb76,this['_footnotes']['splice'](_0x39ee0f,0x1);const _0x26a114=I(this['editor']['model'],this['_footnotes'],_0x4dcb76);return this['_footnotes']['splice'](_0x26a114,0x0,_0xd805c3),this['_updateFootnotesCounters'](_0x876444,Math['min'](_0x39ee0f,_0x26a114))&&(_0xc5bcf3=!0x0),_0xc5bcf3;}['_updateFootnoteRefCounter'](_0x24d884,_0x137460){if(!this['_footnotesDefinitions'])return!0x1;const _0x30af7f=this['_footnotes'][_0x137460];let _0x264efa;return _0x264efa=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x30af7f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x137460+0x1}):String(_0x137460+0x1),_0x30af7f['reference']['getAttribute']('footnoteCounter')!=_0x264efa&&(_0x24d884['setAttribute']('footnoteCounter',_0x264efa,_0x30af7f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4b2239){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x29f9c8,_0x31de4a){if(_0x29f9c8['length']!==_0x31de4a['length'])return!0x1;for(let _0x18cc35=0x0;_0x18cc35<_0x29f9c8['length'];_0x18cc35++)if(_0x29f9c8[_0x18cc35]!==_0x31de4a[_0x18cc35])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3f45ef=>_0x3f45ef['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0xb80bbf=>_0xb80bbf['getAttribute']('footnoteId'))))return!0x1;let _0x305948=!0x1;for(let _0x361765=0x0;_0x361765<this['_footnotes']['length'];_0x361765++){const _0x42ff26=this['_footnotes'][_0x361765],_0x2d8eea=_0x4b2239['createPositionBefore'](_0x42ff26['definition']),_0x767921=_0x4b2239['createPositionAt'](this['_footnotesDefinitions'],_0x361765);_0x2d8eea['isEqual'](_0x767921)||(_0x4b2239['move'](_0x4b2239['createRangeOn'](_0x42ff26['definition']),_0x767921),_0x305948=!0x0);}return _0x305948;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2678b5){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4a1cc7}=this['editor'];let _0x497d7a=!0x1;for(let _0x49a053=0x0;_0x49a053<this['_footnotes']['length']-0x1;_0x49a053++){const _0x42243f=this['_footnotes'][_0x49a053],_0x38531f=this['_footnotes'][_0x49a053+0x1],_0x34aa5f=_0x4a1cc7['createPositionBefore'](_0x42243f['reference']),_0x22b09a=_0x4a1cc7['createPositionBefore'](_0x38531f['reference']);'after'===_0x34aa5f['compareWith'](_0x22b09a)&&(this['_handleMovedFootnoteReference'](_0x2678b5,_0x42243f['reference']),_0x49a053=-0x1,_0x497d7a=!0x0);}return _0x497d7a;}}function _(_0x24cc17,_0x237fea,_0x58b3b5){if(_0x58b3b5['childCount'])return!0x1;const _0x5c01e8=_0x237fea?'paragraph':'footnoteInlineContent';return _0x24cc17['insert'](_0x24cc17['createElement'](_0x5c01e8),_0x58b3b5),!0x0;}function I(_0x3d1b79,_0x3c404f,_0xac326f){if(0x0===_0x3c404f['length'])return 0x0;const _0xe4f1fe=_0x3d1b79['createPositionBefore'](_0xac326f);for(let _0x202e25=0x0;_0x202e25<_0x3c404f['length'];_0x202e25++){const _0x3590a0=_0x3c404f[_0x202e25],_0x165ec5=_0x3d1b79['createPositionBefore'](_0x3590a0['reference']);if('before'===_0xe4f1fe['compareWith'](_0x165ec5))return _0x202e25;}const _0xa27684=_0xac326f['root'];let _0x433db8=-0x1;for(let _0x1d0b0d=_0x3c404f['length']-0x1;_0x1d0b0d>=0x0;_0x1d0b0d--)if(_0x3c404f[_0x1d0b0d]['reference']['root']===_0xa27684){_0x433db8=_0x1d0b0d;break;}if(-0x1!==_0x433db8)return _0x433db8+0x1;const _0x1024e1=_0x3d1b79['document']['getRootNames'](),_0x2a52e2=_0x1024e1['indexOf'](_0xa27684['rootName']),_0x200f1e=_0x1024e1[_0x2a52e2+0x1];if(_0x200f1e){for(let _0x49d777=0x0;_0x49d777<_0x3c404f['length'];_0x49d777++)if(_0x3c404f[_0x49d777]['reference']['root']['rootName']===_0x200f1e)return _0x49d777;}return _0x3c404f['length'];}class h extends _0x117536{['refresh'](){const _0x2ecc35=this['editor']['model']['document']['selection'],_0x2f12eb=this['_getPositionToInsertFootnote'](_0x2ecc35);this['isEnabled']=!!_0x2f12eb;}['execute'](_0x57b8f4){const {editor:_0x5aa83e}=this,{model:_0x11cc5c}=_0x5aa83e,{selection:_0xe5d54a}=_0x11cc5c['document'],_0x3ccd0a=this['_getPositionToInsertFootnote'](_0xe5d54a);if(!_0x3ccd0a)return;const _0x55b44f=_0x5aa83e['plugins']['get']('FootnotesEditing'),_0x4c7681=_0x57b8f4?.['footnoteId']??_0x4a8e9();!function(_0x2b696c){return'string'==typeof _0x2b696c&&_0x2b696c['length']>0x0&&!/\s/['test'](_0x2b696c)&&!/^\d/['test'](_0x2b696c);}(_0x4c7681)?_0x1f3cd2('insert-footnote-command-executed-with-invalid-id'):(_0x11cc5c['change'](_0x172470=>{const _0x3c8a5d=_0x172470['createElement']('footnoteRef',{'footnoteId':_0x4c7681});_0x11cc5c['insertObject'](_0x3c8a5d,_0x3ccd0a,null);}),_0x55b44f['_moveSelectionToFootnoteDefinition'](_0x4c7681));}['_getPositionToInsertFootnote'](_0x59f385){const {model:_0x3ae5ee}=this['editor'],{schema:_0x29167e}=_0x3ae5ee,_0x54799e=_0x59f385['getFirstRange']();for(const _0x29421f of _0x54799e['getItems']())if(_0x29167e['isBlock'](_0x29421f)||_0x29167e['isObject'](_0x29421f))return null;const _0xb9c56b=_0x54799e['end'];return _0x29167e['checkChild'](_0xb9c56b,'footnoteRef')?_0xb9c56b:null;}}class r extends _0x55f208{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1110b8}=this;_0x1110b8['config']['define']('footnotes.multiBlock',!0x0),_0x1110b8['commands']['add']('insertFootnote',new h(_0x1110b8)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5760c0){const _0x3984b9=_0x1b4caa([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]),_0xfeb6f3=0x47a28506,_0x21afcf=0x47a50d16^_0xfeb6f3,_0x163515=window[_0x1b4caa([0x44,0x61,0x74,0x65])][_0x1b4caa([0x6e,0x6f,0x77])](),_0x31e88d=_0x5760c0[_0x1b4caa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5005e0=new window[(_0x1b4caa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25ddfc=>{_0x31e88d[_0x1b4caa([0x6f,0x6e,0x63,0x65])](_0x1b4caa([0x72,0x65,0x61,0x64,0x79]),_0x25ddfc);}),_0x573b10={[_0x1b4caa([0x6b,0x74,0x79])]:_0x1b4caa([0x45,0x43]),[_0x1b4caa([0x75,0x73,0x65])]:_0x1b4caa([0x73,0x69,0x67]),[_0x1b4caa([0x63,0x72,0x76])]:_0x1b4caa([0x50,0x2d,0x32,0x35,0x36]),[_0x1b4caa([0x78])]:_0x1b4caa([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]),[_0x1b4caa([0x79])]:_0x1b4caa([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]),[_0x1b4caa([0x61,0x6c,0x67])]:_0x1b4caa([0x45,0x53,0x32,0x35,0x36])},_0x5f5382=_0x31e88d[_0x1b4caa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1b4caa([0x67,0x65,0x74])](_0x1b4caa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4712c1(){let _0x49caf8,_0x4a82fe=null,_0x35316b=null;try{if(_0x5f5382==_0x1b4caa([0x47,0x50,0x4c]))return _0x1b4caa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x49caf8=_0x17cdeb(),!_0x49caf8)return _0x1b4caa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x49caf8[_0x1b4caa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35316b=_0x56de21(_0x49caf8[_0x1b4caa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x49caf8[_0x1b4caa([0x6a,0x74,0x69])])),await _0x3937d2()?_0x470b85()?_0x289d62()?_0x1b4caa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1ae694()?(_0x49caf8[_0x1b4caa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1b4caa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a82fe=_0x2688e0(_0x1b4caa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1d1800()):_0x1b4caa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1b4caa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1b4caa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1b4caa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x289d62(){const _0x1dfe49=[_0x1b4caa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1b4caa([0x74,0x72,0x69,0x61,0x6c])][_0x1b4caa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x49caf8[_0x1b4caa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x163515/0x3e8:0xe10*_0x21afcf;return _0x49caf8[_0x1b4caa([0x65,0x78,0x70])]<_0x1dfe49;}function _0x470b85(){const _0x14779c=_0x49caf8[_0x1b4caa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14779c&&(!!_0x14779c[_0x1b4caa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b4caa([0x2a]))||!!_0x14779c[_0x1b4caa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b4caa([0x46,0x4f,0x4f])));}function _0x1ae694(){const _0x331c30=_0x49caf8[_0x1b4caa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x331c30||0x0==_0x331c30[_0x1b4caa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xe178a9}=new URL(window[_0x1b4caa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x331c30[_0x1b4caa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe178a9))return!0x0;const _0x4f3bba=_0xe178a9[_0x1b4caa([0x73,0x70,0x6c,0x69,0x74])](_0x1b4caa([0x2e]));return _0x331c30[_0x1b4caa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4024f2=>_0x4024f2[_0x1b4caa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b4caa([0x2a])))[_0x1b4caa([0x6d,0x61,0x70])](_0x1e1fd9=>_0x1e1fd9[_0x1b4caa([0x73,0x70,0x6c,0x69,0x74])](_0x1b4caa([0x2e])))[_0x1b4caa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40e78f=>_0x40e78f[_0x1b4caa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4f3bba[_0x1b4caa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b4caa([0x6d,0x61,0x70])](_0x531858=>Array(_0x4f3bba[_0x1b4caa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x531858[_0x1b4caa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1b4caa([0x66,0x69,0x6c,0x6c])](_0x531858[0x0]===_0x1b4caa([0x2a])?_0x1b4caa([0x2a]):'')[_0x1b4caa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x531858))[_0x1b4caa([0x73,0x6f,0x6d,0x65])](_0x28982e=>_0x4f3bba[_0x1b4caa([0x65,0x76,0x65,0x72,0x79])]((_0x4d0043,_0x42b2b7)=>_0x28982e[_0x42b2b7]===_0x4d0043||_0x28982e[_0x42b2b7]===_0x1b4caa([0x2a])));}function _0x1d1800(){return _0x4a82fe&&_0x35316b?new window[(_0x1b4caa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ceb8f,_0x87a1db)=>{_0x4a82fe[_0x1b4caa([0x74,0x68,0x65,0x6e])](_0x1ceb8f,_0x87a1db),_0x35316b[_0x1b4caa([0x74,0x68,0x65,0x6e])](_0x55cc0b=>{_0x55cc0b!=_0x1b4caa([0x56,0x61,0x6c,0x69,0x64])&&_0x1ceb8f(_0x55cc0b);},_0x87a1db);}):_0x4a82fe||_0x35316b||_0x1b4caa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x56de21(_0x1e9935,_0x1df925){return new window[(_0x1b4caa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x377761=>{if(_0x11bc2c())return _0x377761(_0x1b4caa([0x56,0x61,0x6c,0x69,0x64]));_0x99796c(),_0x31e88d[_0x1b4caa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1b4caa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3853be=!0x1;const _0x1e9b41=_0x4a8e9();function _0x1a7dda(_0x2a3051){return!!_0x2a3051&&(typeof _0x2a3051===_0x1b4caa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a3051===_0x1b4caa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a3051[_0x1b4caa([0x74,0x68,0x65,0x6e])]===_0x1b4caa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a3051[_0x1b4caa([0x63,0x61,0x74,0x63,0x68])]===_0x1b4caa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3003c3(_0x3bac95){_0x197531(_0x3bac95)[_0x1b4caa([0x74,0x68,0x65,0x6e])](_0x22a269=>{if(!_0x22a269||_0x22a269[_0x1b4caa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1b4caa([0x6f,0x6b]))return _0x1b4caa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4988fb(_0x19cfc3(_0x1e9b41+_0x1df925))!=_0x22a269[_0x1b4caa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1b4caa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1b4caa([0x56,0x61,0x6c,0x69,0x64]);})[_0x1b4caa([0x74,0x68,0x65,0x6e])](_0x193072=>(_0x21a106(),_0x193072),()=>{const _0x41a34e=_0x18fd30();return null==_0x41a34e?(_0x21a106(),_0x1b4caa([0x56,0x61,0x6c,0x69,0x64])):_0x1b4caa(_0x163515-_0x41a34e>(0x63ae0106^_0xfeb6f3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1b4caa([0x74,0x68,0x65,0x6e])](_0x377761)[_0x1b4caa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x377761(_0x1b4caa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xda5266=0x47946b86^_0xfeb6f3;function _0x21a106(){const _0x367835=_0x1b4caa([0x6c,0x6c,0x63,0x74,0x2d])+_0x4988fb(_0x19cfc3(_0x1e9935)),_0x201b87=_0x589c2c(_0x4988fb(window[_0x1b4caa([0x4d,0x61,0x74,0x68])][_0x1b4caa([0x63,0x65,0x69,0x6c])](_0x163515/_0xda5266)));window[_0x1b4caa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b4caa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x367835,_0x201b87);}function _0x18fd30(){const _0x30d903=_0x1b4caa([0x6c,0x6c,0x63,0x74,0x2d])+_0x4988fb(_0x19cfc3(_0x1e9935)),_0x23c103=window[_0x1b4caa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1b4caa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30d903);return _0x23c103?window[_0x1b4caa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x589c2c(_0x23c103),0x10)*_0xda5266:null;}function _0x197531(_0x2badad){return new window[(_0x1b4caa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x363f7b,_0x9b92f)=>{_0x2badad[_0x1b4caa([0x74,0x68,0x65,0x6e])](_0x363f7b,_0x9b92f),window[_0x1b4caa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x9b92f,0x47a351c6^_0xfeb6f3);});}}_0x31e88d[_0x1b4caa([0x6f,0x6e])](_0x1b4caa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xa26623,_0x46f72c)=>{if(_0x46f72c[0x0]!=_0x1e9935)return _0x377761(_0x1b4caa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x46f72c[0x1]={..._0x46f72c[0x1],[_0x1b4caa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e9b41};},{[_0x1b4caa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b4caa([0x68,0x69,0x67,0x68])}),_0x31e88d[_0x1b4caa([0x6f,0x6e])](_0x1b4caa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x13fbda=>{_0x1a7dda(_0x13fbda[_0x1b4caa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3853be=!0x0,_0x3003c3(_0x13fbda[_0x1b4caa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1b4caa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1b4caa([0x6c,0x6f,0x77])}),_0x5005e0[_0x1b4caa([0x74,0x68,0x65,0x6e])](()=>{_0x3853be||_0x377761(_0x1b4caa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x11bc2c(){return _0x31e88d[_0x1b4caa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b4caa([0x76,0x69,0x65,0x77])][_0x1b4caa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1b4caa([0x61,0x75,0x74,0x6f]);}function _0x99796c(){_0x31e88d[_0x1b4caa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1b4caa([0x76,0x69,0x65,0x77])][_0x1b4caa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1b4caa([0x61,0x75,0x74,0x6f]);}}function _0x2688e0(_0x43ae31){const _0x1f7e27=[new window[(_0x1b4caa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bec50=>setTimeout(_0x1bec50,0x47abbbca^_0xfeb6f3)),_0x5005e0[_0x1b4caa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1b4caa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b65db=>{let _0xc1a1c4=0x0;_0x31e88d[_0x1b4caa([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b4caa([0x6f,0x6e])](_0x1b4caa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x770fe8,_0x24f9f8)=>{_0x24f9f8[0x0][_0x1b4caa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc1a1c4++,_0xc1a1c4==(0x47a280ee^_0xfeb6f3)&&(_0x5b65db(),_0x770fe8[_0x1b4caa([0x6f,0x66,0x66])]());});}))];return window[_0x1b4caa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1b4caa([0x72,0x61,0x63,0x65])](_0x1f7e27)[_0x1b4caa([0x74,0x68,0x65,0x6e])](()=>_0x43ae31);}async function _0x57cf9f(){await _0x5005e0,_0x31e88d[_0x1b4caa([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b4caa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5c5204,_0x31e88d[_0x1b4caa([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b4caa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5c5204,_0x31e88d[_0x1b4caa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b4caa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x142754(_0x4edf19){const _0x19d728=_0x5ad41c();_0x31e88d[_0x19d728]=_0x1b4caa([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4edf19,_0x4edf19!=_0x1b4caa([0x56,0x61,0x6c,0x69,0x64])&&_0x57cf9f();}function _0x5ad41c(){const _0x28598f=window[_0x1b4caa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1b4caa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b4caa([0x6e,0x6f,0x77])]())[_0x1b4caa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b4caa([0x2e]),'');let _0x150344=_0x1b4caa([0x75]);for(let _0x5acebe=0x0;_0x5acebe<_0x28598f[_0x1b4caa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5acebe+=0x2){let _0x5b0bd9=window[_0x1b4caa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28598f[_0x1b4caa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5acebe,_0x5acebe+0x2));_0x5b0bd9>=_0x3984b9[_0x1b4caa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5b0bd9-=_0x3984b9[_0x1b4caa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x150344+=_0x3984b9[_0x5b0bd9];}return _0x150344;}function _0x17cdeb(){const _0x2315b1=_0x5f5382[_0x1b4caa([0x73,0x70,0x6c,0x69,0x74])](_0x1b4caa([0x2e]));if(0x3!=_0x2315b1[_0x1b4caa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x47f7d9(_0x2315b1[0x1]);function _0x47f7d9(_0x46e8a4){const _0x34a591=_0x4cf8b9(_0x46e8a4);return _0x34a591&&_0x263e8c()?_0x34a591:null;function _0x263e8c(){const _0x10d9fb=_0x34a591[_0x1b4caa([0x6a,0x74,0x69])],_0x1a228a=window[_0x1b4caa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x10d9fb[_0x1b4caa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x10d9fb[_0x1b4caa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x7feb49={..._0x34a591,[_0x1b4caa([0x6a,0x74,0x69])]:_0x10d9fb[_0x1b4caa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x10d9fb[_0x1b4caa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x7feb49[_0x1b4caa([0x76,0x63])],_0x19cfc3(_0x7feb49)==_0x1a228a;}}}async function _0x3937d2(){let _0x51aae4=!0x0;try{const _0x2213d8=_0x5f5382[_0x1b4caa([0x73,0x70,0x6c,0x69,0x74])](_0x1b4caa([0x2e])),[_0x4138fb,_0x10ad6a,_0x4459a5]=_0x2213d8;return _0xfa8444(_0x4138fb),await _0x29ea4f(_0x4138fb,_0x10ad6a,_0x4459a5),_0x51aae4;}catch{return!0x1;}function _0xfa8444(_0x340159){const _0x40ca82=_0x4cf8b9(_0x340159);_0x40ca82&&_0x40ca82[_0x1b4caa([0x61,0x6c,0x67])]==_0x1b4caa([0x45,0x53,0x32,0x35,0x36])||(_0x51aae4=!0x1);}async function _0x29ea4f(_0x39581f,_0x44b0da,_0x1ed034){const _0x3ea3cf=window[_0x1b4caa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1b4caa([0x66,0x72,0x6f,0x6d])](_0x351395(_0x1ed034),_0x21b089=>_0x21b089[_0x1b4caa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x331fd0=new window[(_0x1b4caa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1b4caa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x39581f+_0x1b4caa([0x2e])+_0x44b0da),_0x53456a=window[_0x1b4caa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1b4caa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x53456a)return;const _0x549963=await _0x53456a[_0x1b4caa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1b4caa([0x6a,0x77,0x6b]),_0x573b10,{[_0x1b4caa([0x6e,0x61,0x6d,0x65])]:_0x1b4caa([0x45,0x43,0x44,0x53,0x41]),[_0x1b4caa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1b4caa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1b4caa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x53456a[_0x1b4caa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1b4caa([0x6e,0x61,0x6d,0x65])]:_0x1b4caa([0x45,0x43,0x44,0x53,0x41]),[_0x1b4caa([0x68,0x61,0x73,0x68])]:{[_0x1b4caa([0x6e,0x61,0x6d,0x65])]:_0x1b4caa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x549963,_0x3ea3cf,_0x331fd0)||(_0x51aae4=!0x1);}}function _0x4cf8b9(_0x1474f5){return _0x1474f5[_0x1b4caa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1b4caa([0x65,0x79]))?JSON[_0x1b4caa([0x70,0x61,0x72,0x73,0x65])](_0x351395(_0x1474f5)):null;}function _0x351395(_0xc42e43){return window[_0x1b4caa([0x61,0x74,0x6f,0x62])](_0xc42e43[_0x1b4caa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1b4caa([0x2b]))[_0x1b4caa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1b4caa([0x2f])));}function _0x19cfc3(_0x210233){let _0x672a25=0x1505;function _0x345cf2(_0x3f13b4){for(let _0xa4121a=0x0;_0xa4121a<_0x3f13b4[_0x1b4caa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xa4121a++){const _0x425746=_0x3f13b4[_0x1b4caa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xa4121a);_0x672a25=(_0x672a25<<0x5)+_0x672a25+_0x425746,_0x672a25&=_0x672a25;}}function _0x4c13f3(_0x5678dc){Array[_0x1b4caa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5678dc)?_0x5678dc[_0x1b4caa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4c13f3):_0x5678dc&&typeof _0x5678dc==_0x1b4caa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1b4caa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5678dc)[_0x1b4caa([0x73,0x6f,0x72,0x74])]()[_0x1b4caa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3d3348,_0x3c85a7])=>{_0x345cf2(_0x3d3348),_0x4c13f3(_0x3c85a7);}):_0x345cf2(window[_0x1b4caa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5678dc));}return _0x4c13f3(_0x210233),_0x672a25>>>0x0;}function _0x4988fb(_0x4e263c){return _0x4e263c[_0x1b4caa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1b4caa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1b4caa([0x30]));}function _0x589c2c(_0x409fd4){return _0x409fd4[_0x1b4caa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1b4caa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1b4caa([0x6a,0x6f,0x69,0x6e])]('');}function _0x5c5204(){}function _0x1b4caa(_0x1f8973){return _0x1f8973['map'](_0x351210=>String['fromCharCode'](_0x351210))['join']('');}_0x142754(await _0x4712c1());}(this);}['_moveSelectionToFootnoteDefinition'](_0x384bff){const {plugins:_0x170cc0,editing:_0x2f3081,model:_0x345658}=this['editor'],_0x2916e4=_0x170cc0['get'](f)['getFootnote'](_0x384bff);return!!_0x2916e4&&(_0x345658['change'](_0x5aa936=>{_0x5aa936['setSelection'](_0x5aa936['createPositionAt'](_0x2916e4['definition'],'end'));}),_0x2f3081['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x298d38){const {plugins:_0x4b12de,editing:_0x21a6de,model:_0x450ee6}=this['editor'],_0x4b514d=_0x4b12de['get'](f)['getFootnote'](_0x298d38);return!!_0x4b514d&&(_0x450ee6['change'](_0x319a31=>{_0x319a31['setSelection'](_0x4b514d['reference'],'on');}),_0x21a6de['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x37ab3d}=this['editor']['model'],_0x3a443f=this['editor']['config']['get']('footnotes.multiBlock');_0x37ab3d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x37ab3d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x37ab3d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3a443f?_0x37ab3d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x37ab3d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x37ab3d['addChildCheck'](_0x4d8498=>{for(const _0x1e91e2 of _0x4d8498)if('footnoteDefinition'===_0x1e91e2['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x7f2dfc}=this,{conversion:_0x4efb21,editing:_0x2e43ee}=_0x7f2dfc,{t:t}=_0x7f2dfc['locale'];_0x4efb21['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x13bd8e,{writer:_0x47eb23,consumable:_0x50c029})=>{const _0x380bbb=_0x13bd8e['getChild'](0x0);if(!_0x380bbb||!_0x380bbb['is']('element','a'))return null;const _0x22be6d=_0x380bbb['getAttribute']('href')||'';if(!_0x22be6d['startsWith']('#'))return null;const _0x39ac9c=_0x22be6d['replace'](/^#/,'');if(!_0x39ac9c)return null;_0x50c029['consume'](_0x380bbb,{'name':!0x0,'attributes':['href']});for(const {item:_0x2e0c6c}of _0x2e43ee['view']['createRangeIn'](_0x380bbb))_0x2e0c6c['is']('$textProxy')?_0x50c029['consume'](_0x2e0c6c['textNode'],{'name':!0x0}):_0x2e0c6c['is']('element')&&_0x50c029['consume'](_0x2e0c6c,{'name':!0x0});return _0x47eb23['createElement']('footnoteRef',{'footnoteId':_0x39ac9c});}}),_0x4efb21['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4e55f0,{writer:_0x412fd3})=>b(_0x4e55f0,_0x412fd3)}),_0x4efb21['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x253ba2,{writer:_0x24569b})=>{const _0x508a54=_0x253ba2['getAttribute']('footnoteCounter');return _0x551ca5(b(_0x253ba2,_0x24569b),_0x24569b,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x508a54)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3e85ba}=this,{t:t}=_0x3e85ba['locale'],{conversion:_0x1e4e56}=_0x3e85ba;_0x1e4e56['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1e4e56['for']('upcast')['add'](_0x5878d0=>{_0x5878d0['on']('element:ol',(_0x54e1a1,_0x3a0bf6,_0xe0cbdf)=>{const _0x309e3e=_0x3a0bf6['viewItem'];if(!_0x309e3e['hasClass']('footnotes-list')||!_0x3a0bf6['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xe0cbdf['consumable']['consume'](_0x309e3e,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x545acd,modelCursor:_0x21fd27}=_0xe0cbdf['convertChildren'](_0x3a0bf6['viewItem'],_0x3a0bf6['modelCursor']);_0x3a0bf6['modelRange']=_0x545acd,_0x3a0bf6['modelCursor']=_0x21fd27;}),_0x5878d0['on']('element:hr',(_0x195f80,_0x289668,_0x2bc4d8)=>{const _0x38c81f=_0x289668['viewItem'];_0x38c81f['hasClass']('footnotes-divider')&&_0x289668['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2bc4d8['consumable']['consume'](_0x38c81f,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1e4e56['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4cd999,{writer:_0x16bbcb})=>D(_0x16bbcb)}),_0x1e4e56['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4c8048,{writer:_0x1dc7b3})=>{const _0x2c4c53=D(_0x1dc7b3,{'data-footnotes-list-label':t('Footnotes')}),_0x4bd5eb=_0x551ca5(_0x2c4c53,_0x1dc7b3,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1dc7b3['setCustomProperty']('footnotesDefinitions',!0x0,_0x4bd5eb),_0x4bd5eb;}});}['_defineDefinitionConverters'](){const {editor:_0x178bc1}=this,{conversion:_0x23c518,locale:_0x133a0d}=_0x178bc1,_0x9cd075=_0x178bc1['config']['get']('footnotes.multiBlock');_0x23c518['for']('upcast')['add'](_0x204eb2=>{_0x204eb2['on']('element:li',(_0x3a0061,_0x28962d,_0x21518b)=>{const _0x30a29a=_0x28962d['viewItem'];if(!_0x30a29a['hasClass']('footnote-definition')||!_0x30a29a['getAttribute']('id'))return;const _0x57893f=_0x30a29a['parent'];if(!_0x57893f['is']('element','ol')||!_0x57893f['hasClass']('footnotes-list'))return;if(!_0x21518b['consumable']['test'](_0x30a29a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x38c761=_0x21518b['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x30a29a['getAttribute']('id')});if(!_0x21518b['safeInsert'](_0x38c761,_0x28962d['modelCursor']))return;_0x21518b['consumable']['consume'](_0x30a29a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x452a86=Array['from'](_0x30a29a['getChildren']())['find'](_0x15d7d8=>_0x15d7d8['is']('element')&&_0x15d7d8['hasClass']('footnote-content'));for(const _0x4d5bee of _0x30a29a['getChildren']())_0x4d5bee['is']('element')&&(_0x21518b['consumable']['consume'](_0x4d5bee,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x21518b['consumable']['consume'](_0x4d5bee,{'name':!0x0,'classes':'footnote-content'}));if(_0x452a86){if(_0x9cd075)_0x21518b['convertChildren'](_0x452a86,_0x38c761);else{const _0x438154=_0x21518b['writer']['createElement']('footnoteInlineContent');_0x21518b['writer']['insert'](_0x438154,_0x38c761),_0x21518b['convertChildren'](_0x452a86,_0x438154);}}_0x21518b['updateConversionResult'](_0x38c761,_0x28962d);});}),_0x23c518['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1ba475,{writer:_0x794164})=>y(_0x1ba475,_0x794164,_0x133a0d,{'dataPipeline':!0x0})}),_0x23c518['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x135bcb,{writer:_0x14e1a4})=>y(_0x135bcb,_0x14e1a4,_0x133a0d)});}['_defineBogusParagraphConverters'](){const {editor:_0x1682d5}=this,{conversion:_0x5b299b}=_0x1682d5;_0x1682d5['config']['get']('footnotes.multiBlock')?(_0x5b299b['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x5b299b['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1682d5['model']['document'],'change:data',()=>{!function(_0x1d7d3b,_0x491350){const _0x5de34a=_0x1d7d3b['document']['differ'],_0xe52de8=new Set();for(const _0x5b9cdc of _0x5de34a['getChanges']()){const _0x31bc50='attribute'==_0x5b9cdc['type']?_0x5b9cdc['range']['start']['parent']:_0x5b9cdc['position']['parent'];_0x31bc50['is']('element','footnoteDefinition')&&_0xe52de8['add'](_0x31bc50);}for(const _0xdf58eb of _0xe52de8['values']()){const _0x27ee26=Array['from'](_0xdf58eb['getChildren']())['filter'](_0x280443=>v(_0x280443,_0x491350['mapper']));for(const _0x33ada7 of _0x27ee26)_0x491350['reconvertItem'](_0x33ada7);}}(_0x1682d5['model'],_0x1682d5['editing']);})):(_0x5b299b['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x5b299b['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x43fefd,{writer:_0x1bed41})=>{const _0x794b86=_0x1bed41['createContainerElement']('span');return _0x1bed41['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x794b86),_0x794b86;}}));}['_defineKeyboardHandlers'](){const {editor:_0x483f6d}=this,{editing:_0x2d1f15,t:t}=_0x483f6d,_0x478944=_0x483f6d['model']['document']['selection'];_0x483f6d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x483f6d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2d1f15['view']['document'],'enter',(_0x1a1310,_0x13bb27)=>{const _0x52dae2=function(_0x2dcf8a){const _0x47d5d6=_0x2dcf8a['getSelectedElement']();if(_0x47d5d6?.['is']('element','footnoteRef'))return _0x47d5d6;return null;}(_0x478944);if(_0x52dae2){const _0xd64ce=_0x52dae2['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xd64ce),_0x13bb27['preventDefault'](),_0x1a1310['stop']();}},{'context':_0x256579});}['_defineClickHandlers'](){const {editor:_0x3c32b}=this,{editing:_0x5eec52}=_0x3c32b;_0x3c32b['editing']['view']['addObserver'](_0x3f9f1c),_0x3c32b['editing']['view']['addObserver'](_0x577452);let _0x507707=!0x1;this['listenTo'](_0x5eec52['view']['document'],'pointerdown',(_0x793b13,_0x48b718)=>{const {target:_0x49ba78}=_0x48b718,_0x24bfbd=_0x5eec52['view']['document']['selection'];_0x507707=!!(_0x49ba78?.['is']('element','a')&&_0x49ba78['parent']?.['is']('element','sup')&&_0x49ba78['parent']['hasClass']('footnote'))&&_0x24bfbd['getSelectedElement']()===_0x49ba78['parent'];},{'priority':'high'}),this['listenTo'](_0x5eec52['view']['document'],'click',(_0x4133b7,_0x2153cf)=>{const {target:_0x208fd4}=_0x2153cf;if(!_0x208fd4?.['is']('element','a'))return;if(_0x208fd4['parent']?.['is']('element','sup')&&_0x208fd4['parent']['hasClass']('footnote')&&!_0x507707)return void _0x2153cf['preventDefault']();let _0x18d051=_0x208fd4['getAttribute']('href');if(!_0x18d051?.['startsWith']('#'))return;_0x18d051=_0x18d051['slice'](0x1);let _0x5151e2=!0x1;(_0x18d051['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x18d051['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x18d051))&&(_0x5151e2=!0x0),_0x5151e2&&(_0x2153cf['preventDefault'](),_0x4133b7['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x1c1ad0}={}){return(_0x2aebc4,{writer:_0x29621b})=>{if(!g(_0x2aebc4))return null;if(!_0x1c1ad0)return _0x29621b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x29c8fd=_0x29621b['createContainerElement']('p');return _0x29621b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x29c8fd),_0x29c8fd;};}function g(_0x3f0749){const {parent:_0x1dfe0d}=_0x3f0749;if(!_0x1dfe0d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1dfe0d['childCount'])return!0x1;for(const _0x417740 of _0x3f0749['getAttributeKeys']())if(!_0x417740['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x417740)return!0x1;return!0x0;}function v(_0x2cc458,_0x3f09da){if(!_0x2cc458['is']('element','paragraph'))return!0x1;const _0x17166b=_0x3f09da['toViewElement'](_0x2cc458);return!!_0x17166b&&g(_0x2cc458)!==_0x17166b['is']('element','span');}function H(_0x3bbcbc){return _0x256579(_0x3bbcbc)&&_0x3bbcbc['is']('containerElement')&&!!_0x3bbcbc['getCustomProperty']('footnotesDefinitions');}function D(_0x5cf82e,_0x1ffac5={}){const _0x312a51=_0x5cf82e['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x9331f1=_0x5cf82e['createContainerElement']('ol',{'class':'footnotes-list'},_0x5cf82e['createSlot']());return _0x5cf82e['createContainerElement']('div',{'class':'footnotes',..._0x1ffac5},[_0x312a51,_0x9331f1]);}function b(_0x692909,_0x21618a){const _0x2e323c=_0x692909['getAttribute']('footnoteId'),_0x366d79=_0x692909['getAttribute']('footnoteCounter'),_0x1b713b=_0x21618a['createUIElement']('a',{'href':'#'+_0x2e323c},function(_0x30e88d){const _0x22060e=this['toDomElement'](_0x30e88d);return _0x22060e['textContent']=_0x366d79,_0x22060e;}),_0x1bb259=_0x21618a['createContainerElement']('sup',{'id':'ref-'+_0x2e323c,'class':'footnote'},[_0x1b713b]);return _0x1bb259['getFillerOffset']=()=>null,_0x1bb259;}function y(_0x29acfb,_0xd8bec7,_0x3a0197,{dataPipeline:_0x23d9fe}={}){const {t:t}=_0x3a0197,_0x4d8784=_0x29acfb['getAttribute']('footnoteId'),_0x40d11e=_0xd8bec7['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4d8784},function(_0xab0957){const _0x3eb462=this['toDomElement'](_0xab0957);return _0x3eb462['innerText']='^',_0x3eb462;}),_0x54bd45=_0x23d9fe?_0xd8bec7['createContainerElement']('div',{'class':'footnote-content'}):_0x686109(_0xd8bec7['createEditableElement']('div',{'class':'footnote-content'}),_0xd8bec7,{'label':t('Footnote\x20content.')});return _0xd8bec7['insert'](_0xd8bec7['createPositionAt'](_0x54bd45,0x0),_0xd8bec7['createSlot']()),_0xd8bec7['createContainerElement']('li',{'class':'footnote-definition','id':_0x4d8784},[_0x40d11e,_0x54bd45]);}class e extends _0x55f208{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x364372];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x15a81a}=this,{plugins:_0x4536ad,model:_0x2a23a4}=_0x15a81a,_0x6bb877=_0x4536ad['get'](_0x364372),_0x91e74e=_0x4536ad['get'](f);this['listenTo'](_0x6bb877,'outputTransformation',(_0x22d9f8,_0x4ef236)=>{const _0x474688=l(_0x2a23a4['createRangeIn'](_0x4ef236['content']));if(!_0x474688['length'])return;const _0x4e6e1e=_0x91e74e['getFootnotes'](),_0x2b91c5=_0x474688['reduce']((_0x599adf,_0x48d611)=>{const _0x49c3a1=_0x4e6e1e['find'](_0x10f75c=>_0x10f75c['id']===_0x48d611);if(_0x49c3a1){const _0x142ddc=_0x15a81a['data']['toView'](_0x49c3a1['definition'],{'isClipboardPipeline':!0x0}),_0x38e071=_0x15a81a['data']['htmlProcessor']['toData'](_0x142ddc);_0x599adf[_0x49c3a1['id']]=_0x38e071;}return _0x599adf;},Object['create'](null));_0x4ef236['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x2b91c5));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x43749e}=this,{model:_0x332d91,plugins:_0x551d5d}=_0x43749e,{view:_0x3e05ca}=_0x43749e['editing'],_0x2e2e76=_0x551d5d['get'](_0x364372),_0x2aeece=_0x551d5d['get'](f),_0x445456=_0x43749e['config']['get']('footnotes.multiBlock');let _0x1d85da=null;this['listenTo'](_0x3e05ca['document'],'clipboardInput',(_0x35f4ea,_0x2c2cf3)=>{const _0x1fd935=_0x2c2cf3['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1d85da=_0x1fd935?JSON['parse'](_0x1fd935):null;}),this['listenTo'](_0x2e2e76,'contentInsertion',(_0x2406d2,_0x40e968)=>{const _0x512486=_0x40e968['sourceEditorId']===this['editor']['id'];_0x512486&&'drop'===_0x40e968['method']||_0x332d91['change'](_0x16be6c=>{let _0xa6dea=_0x2aeece['getFootnotesDefinitionsObjectElement']();const _0x348bd0=!!_0xa6dea&&Array['from'](_0x332d91['document']['selection']['getSelectedBlocks']())['includes'](_0xa6dea);if(!_0x1d85da&&function(_0x14080c){for(const {item:_0x10116b}of _0x14080c)if(_0x10116b['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x332d91['createRangeIn'](_0x40e968['content']))&&(_0x1d85da=function(_0x22f5d1,_0x49c60a){const _0x33d6e4=c(_0x22f5d1,_0x49c60a);if(!_0x33d6e4)return null;const _0x25337c=Object['create'](null);for(const _0x41f464 of _0x33d6e4['getChildren']())_0x41f464['is']('element','footnoteDefinition')&&_0x41f464['hasAttribute']('footnoteId')&&(_0x25337c[_0x41f464['getAttribute']('footnoteId')]=_0x22f5d1['cloneElement'](_0x41f464,!0x0));return Object['keys'](_0x25337c)['length']?_0x25337c:null;}(_0x16be6c,_0x40e968['content'])),(_0xa6dea&&!_0x348bd0||!_0xa6dea&&!_0x1d85da)&&function(_0x4cbea4,_0x1cfa69){const _0x4410a5=[];for(const {item:_0x2a8046}of _0x4cbea4['createRangeIn'](_0x1cfa69))_0x2a8046['is']('element','footnotesDefinitions')&&_0x4410a5['push'](_0x2a8046);for(const _0x37beae of _0x4410a5)_0x4cbea4['remove'](_0x37beae);}(_0x16be6c,_0x40e968['content']),!_0x1d85da)return;const {selection:_0x270ad5}=_0x332d91['document'],_0x29ee32=_0x270ad5['getFirstRange']()['root'];_0xa6dea&&!_0x348bd0||(_0xa6dea=c(_0x16be6c,_0x40e968['content']),_0xa6dea||=_0x2aeece['_insertEmptyFootnotesDefinitionsContainer'](_0x16be6c,_0x29ee32));const _0xe42763=Array['from'](_0x270ad5['getRanges']())['flatMap'](l),_0x5ed623=function(_0x213056,_0x14c190,_0x22dd53){const _0x552240=Object['create'](null);for(const {item:_0x3c43a6}of _0x213056['createRangeIn'](_0x14c190))if(_0x3c43a6['is']('element','footnoteRef')){const _0x53e32e=_0x3c43a6['getAttribute']('footnoteId');if(!_0x22dd53(_0x53e32e))continue;_0x552240[_0x53e32e]||(_0x552240[_0x53e32e]=_0x4a8e9()),_0x213056['setAttribute']('footnoteId',_0x552240[_0x53e32e],_0x3c43a6);}return _0x552240;}(_0x16be6c,_0x40e968['content'],_0x5e4e82=>{if(!_0x512486)return!0x0;return!!_0x2aeece['getFootnote'](_0x5e4e82)&&!_0xe42763['includes'](_0x5e4e82);});for(const [_0x200a47,_0x2cb7ec]of Object['entries'](_0x1d85da)){const _0x2663fe=_0x5ed623[_0x200a47]||_0x200a47;let _0x1c42a5;if('string'!=typeof _0x2cb7ec)_0x1c42a5=_0x2cb7ec,_0x2663fe!==_0x200a47&&_0x16be6c['setAttribute']('footnoteId',_0x2663fe,_0x1c42a5);else{_0x1c42a5=_0x16be6c['createElement']('footnoteDefinition',{'footnoteId':_0x2663fe});const _0x59dd88=_0x43749e['data']['htmlProcessor']['toView'](_0x2cb7ec);let _0x1d2b81;if(_0x445456)_0x1d2b81=_0x43749e['data']['toModel'](_0x59dd88,_0x1c42a5);else{_0x1d2b81=_0x16be6c['createElement']('footnoteInlineContent');const _0x15a768=_0x43749e['data']['toModel'](_0x59dd88,_0x1d2b81);_0x16be6c['insert'](_0x15a768,_0x1d2b81);}_0x16be6c['append'](_0x1d2b81,_0x1c42a5);}_0x16be6c['insert'](_0x1c42a5,_0xa6dea,'end');}_0x1d85da=null;});});}}function c(_0x25bc05,_0x4f4089){for(const {item:_0x33fef5}of _0x25bc05['createRangeIn'](_0x4f4089))if(_0x33fef5['is']('element','footnotesDefinitions'))return _0x33fef5;return null;}function l(_0x4d891b){const _0x56ad3e=new Set();for(const {item:_0x361edf}of _0x4d891b)_0x361edf['is']('element','footnoteRef')&&_0x56ad3e['add'](_0x361edf['getAttribute']('footnoteId'));return Array['from'](_0x56ad3e);}class i extends _0x55f208{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2a10d1}=this,{componentFactory:_0x62621d}=_0x2a10d1['ui'];_0x62621d['add']('insertFootnote',E(_0x2a10d1,_0x3a955b)),_0x62621d['add']('menuBar:insertFootnote',E(_0x2a10d1,_0x531778)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x54336c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1bd946;for(const _0x41c412 in _0x54336c){const _0x3ca1d3=_0x41c412,_0x13a4e9=_0x54336c[_0x3ca1d3];if('footnotesLicenseKeyValid'==_0x13a4e9||'footnotesLicenseKeyInvalid'==_0x13a4e9||'footnotesLicenseKeyExpired'==_0x13a4e9||'footnotesLicenseKeyDomainLimit'==_0x13a4e9||'footnotesLicenseKeyNotAllowed'==_0x13a4e9||'footnotesLicenseKeyEvaluationLimit'==_0x13a4e9||'footnotesLicenseKeyUsageLimit'==_0x13a4e9){delete _0x54336c[_0x3ca1d3],_0x1bd946=_0x13a4e9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1bd946&&_0x54336c['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1bd946&&_0x54336c['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1bd946&&_0x54336c['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1bd946&&_0x54336c['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1bd946&&_0x54336c['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x1bd946&&_0x54336c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x182b08,_0x522f96){const _0x3669e8=_0x182b08['commands']['get']('insertFootnote');return _0x28558a=>{const {t:t}=_0x28558a,_0x34ad37=new _0x522f96(_0x28558a),_0x51a4fd=_0x34ad37 instanceof _0x531778;return _0x34ad37['bind']('isEnabled')['to'](_0x3669e8,'isEnabled'),_0x34ad37['set']({'label':t(_0x51a4fd?'Footnote':'Insert\x20footnote'),'icon':_0x39a9b7,'tooltip':!0x0}),_0x34ad37['on']('execute',()=>{_0x3669e8['execute'](),_0x182b08['editing']['view']['focus']();}),_0x34ad37;};}class lt extends _0x55f208{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 _0x117536{['refresh'](){const {editor:_0x57430b}=this,_0xbfd5cc=_0x57430b['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xbfd5cc,this['value']=_0xbfd5cc?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x2f5c6a}){const {editor:_0x57a5ba}=this,_0x8fb353=_0x57a5ba['plugins']['get'](f),_0x184358=_0x8fb353['getFootnotesDefinitionsObjectElement']();_0x184358&&W['includes'](_0x2f5c6a)&&_0x57a5ba['model']['change'](_0x495d84=>{_0x495d84['setAttribute']('footnotesListStyle',_0x2f5c6a,_0x184358),_0x8fb353['_updateFootnotesCounters'](_0x495d84);});}}class C extends _0x117536{['refresh'](){const {editor:_0x1c4cf3}=this,_0x7b201d=_0x1c4cf3['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x7b201d,this['value']=_0x7b201d?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x121d4c}){const {editor:_0x439613}=this,_0x443d04=_0x439613['plugins']['get'](f),_0x3f57ef=_0x443d04['getFootnotesDefinitionsObjectElement']();_0x3f57ef&&Number['isInteger'](_0x121d4c)&&_0x439613['model']['change'](_0x538611=>{_0x538611['setAttribute']('footnotesListStart',_0x121d4c,_0x3f57ef),_0x443d04['_updateFootnotesCounters'](_0x538611);});}}class P extends _0x55f208{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x20b6b1}=this;_0x20b6b1['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x20b6b1['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x20b6b1['commands']['add']('footnotesStyle',new S(_0x20b6b1)),_0x20b6b1['commands']['add']('footnotesStart',new C(_0x20b6b1)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x58c4e6}=this,{schema:_0x31fbb7}=_0x58c4e6['model'];_0x31fbb7['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x8dbd9f}=this,{conversion:_0x44970f,model:_0x408b6c}=_0x8dbd9f,{schema:_0x1fa2e1}=_0x408b6c;_0x44970f['for']('upcast')['add'](_0x55da68=>{_0x55da68['on']('element:ol',(_0x1e6ba8,_0x2b3e9c,_0x44b63b)=>{const _0x4c1d27=_0x2b3e9c['viewItem'],_0x272705=_0x2b3e9c['modelCursor']?.['parent'];_0x4c1d27['hasClass']('footnotes-list')&&_0x272705?.['is']('element','footnotesDefinitions')&&(function(_0x55af0d,_0xe1be39,_0x59f0ae,_0x127ded){if(!_0x127ded['checkAttribute'](_0xe1be39,'footnotesListStart'))return;let _0x35f493=0x1;const _0x5c76bd=_0x59f0ae['consumable']['consume'](_0x55af0d,{'attributes':'start'});if(_0x5c76bd){const _0x44599d=Number['parseInt'](_0x55af0d['getAttribute']('start'),0xa);Number['isNaN'](_0x44599d)||(_0x35f493=_0x44599d);}!_0x5c76bd&&_0xe1be39['hasAttribute']('footnotesListStart')||_0x59f0ae['writer']['setAttribute']('footnotesListStart',_0x35f493,_0xe1be39);}(_0x4c1d27,_0x272705,_0x44b63b,_0x1fa2e1),function(_0xd9d62f,_0x1a1379,_0x510e2e,_0x4d804a){if(!_0x4d804a['checkAttribute'](_0x1a1379,'footnotesListStyle'))return;let _0x26edda='decimal',_0x194a45=!0x1;if(_0x510e2e['consumable']['consume'](_0xd9d62f,{'attributes':'type'})){const _0x161b80={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0xd9d62f['getAttribute']('type')];_0x161b80&&(_0x26edda=_0x161b80),_0x194a45=!0x0;}_0x510e2e['consumable']['consume'](_0xd9d62f,{'styles':'list-style-type'})&&(_0x26edda=function(_0x580240){switch(_0x580240){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x580240;}}(_0xd9d62f['getStyle']('list-style-type')),_0x194a45=!0x0),!_0x194a45&&_0x1a1379['hasAttribute']('footnotesListStyle')||_0x510e2e['writer']['setAttribute']('footnotesListStyle',_0x26edda,_0x1a1379);}(_0x4c1d27,_0x272705,_0x44b63b,_0x1fa2e1));});}),_0x44970f['for']('downcast')['add'](_0x469899=>{_0x469899['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x32f5fb,_0xf926c9,_0x57d0a0)=>{if(!_0x57d0a0['consumable']['consume'](_0xf926c9['item'],_0x32f5fb['name']))return;const _0x21ae2b=M(_0xf926c9['item'],_0x57d0a0['mapper']),{attributeNewValue:_0x504b97}=_0xf926c9;null==_0x504b97||0x1===_0x504b97?_0x57d0a0['writer']['removeAttribute']('start',_0x21ae2b):_0x57d0a0['writer']['setAttribute']('start',String(_0x504b97),_0x21ae2b);}),_0x469899['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x412116,_0x4c218a,_0x8ffcb1)=>{if(!_0x8ffcb1['consumable']['consume'](_0x4c218a['item'],_0x412116['name']))return;const _0x3e0063=M(_0x4c218a['item'],_0x8ffcb1['mapper']),{attributeNewValue:_0x1f4452}=_0x4c218a;_0x1f4452&&'decimal'!==_0x1f4452?_0x8ffcb1['writer']['setStyle']('list-style-type',_0x1f4452,_0x3e0063):_0x8ffcb1['writer']['removeStyle']('list-style-type',_0x3e0063);});});}['_definePostfixer'](){const {editor:_0x9f3aa2}=this,{model:_0x5c566d}=_0x9f3aa2,_0x199998=_0x9f3aa2['plugins']['get'](f),_0x34fcd8=this['_getDefaultListStyle'](),_0x3ca5b0=this['_getDefaultStartIndex']();_0x5c566d['document']['registerPostFixer'](_0x236b5f=>{const _0x1bf46e=_0x5c566d['document']['differ']['getChanges']();let _0x1c9ff8=!0x1;for(const _0x5df3d1 of _0x1bf46e){if('insert'!==_0x5df3d1['type']||'$text'===_0x5df3d1['name'])continue;const _0x411629=_0x5c566d['createRangeOn'](_0x5df3d1['position']['nodeAfter']);for(const _0x571fb0 of _0x411629['getItems']())_0x571fb0['is']('element','footnotesDefinitions')&&(!_0x571fb0['hasAttribute']('footnotesListStart')&&_0x5c566d['schema']['checkAttribute'](_0x571fb0,'footnotesListStart')&&(_0x236b5f['setAttribute']('footnotesListStart',_0x3ca5b0,_0x571fb0),_0x1c9ff8=!0x0),!_0x571fb0['hasAttribute']('footnotesListStyle')&&_0x5c566d['schema']['checkAttribute'](_0x571fb0,'footnotesListStyle')&&(_0x236b5f['setAttribute']('footnotesListStyle',_0x34fcd8,_0x571fb0),_0x1c9ff8=!0x0));}return _0x1c9ff8&&_0x199998['_updateFootnotesCounters'](_0x236b5f),_0x1c9ff8;});}['_defineFormatter'](){const {editor:_0x58b7d5}=this;_0x58b7d5['plugins']['get'](f)['setFootnoteFormatter'](_0x4562a6=>this['_formatFootnoteListValue'](_0x4562a6));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x38b959,value:_0x488817,digits:_0x1da4fc}){const _0x20d8eb=_0x38b959['getAttribute']('footnotesListStyle'),_0x36b2c1=_0x38b959['getAttribute']('footnotesListStart'),_0x1bbf19=Math['floor'](_0x488817)+(_0x36b2c1??0x1)-0x1;switch(_0x20d8eb){case'decimal-leading-zero':return function(_0x252704,_0x5a658c){return String(_0x252704)['padStart'](_0x5a658c,'0');}(_0x1bbf19,Math['max'](0x2,_0x1da4fc));case'lower-alpha':case'lower-latin':return N(_0x1bbf19,!0x1);case'upper-alpha':case'upper-latin':return N(_0x1bbf19,!0x0);case'lower-roman':return X(_0x1bbf19,!0x1);case'upper-roman':return X(_0x1bbf19,!0x0);default:return String(_0x1bbf19);}}}function M(_0x2ab3dd,_0x5bf6fc){const _0x2194e9=_0x5bf6fc['toViewElement'](_0x2ab3dd);return Array['from'](_0x2194e9['getChildren']())['find'](_0x2e4d7f=>_0x2e4d7f['is']('element','ol')&&_0x2e4d7f['hasClass']('footnotes-list'));}function N(_0x940d79,_0x4252f6){let _0x163231='',_0x35b657=_0x940d79;for(;_0x35b657>0x0;){const _0x2647f5=(_0x35b657-0x1)%0x1a;_0x163231=String['fromCharCode'](0x61+_0x2647f5)+_0x163231,_0x35b657=Math['floor']((_0x35b657-0x1)/0x1a);}return _0x4252f6?_0x163231['toUpperCase']():_0x163231;}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(_0x86f8b5,_0x53352d){let _0x226759='',_0x126a24=_0x86f8b5;for(const {value:_0x272cb6,numeral:_0x6f01ee}of V)for(;_0x126a24>=_0x272cb6;)_0x226759+=_0x6f01ee,_0x126a24-=_0x272cb6;return _0x53352d?_0x226759:_0x226759['toLowerCase']();}class $ extends _0x1ad2c0{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1cf98d();['focusCycler'];constructor(_0x2e3889,{styleButtonViews:_0x43b295,styleGridAriaLabel:_0x40783f}){super(_0x2e3889),(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'](_0x43b295,_0x40783f),[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 _0x1f2e74 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1f2e74['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 _0x4aad2c=_0x4f02e4=>_0x4f02e4['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4aad2c),this['keystrokes']['set']('arrowleft',_0x4aad2c),this['keystrokes']['set']('arrowup',_0x4aad2c),this['keystrokes']['set']('arrowdown',_0x4aad2c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xeb869d,_0xade792){const _0x52d0db=new _0x1ad2c0(this['locale']);return _0x52d0db['children']=_0x52d0db['createCollection'](),_0x52d0db['children']['addMany'](_0xeb869d),_0x52d0db['setTemplate']({'tag':'div','attributes':{'aria-label':_0xade792,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x52d0db['children']}),_0x52d0db['children']['delegate']('execute')['to'](this),_0x52d0db['focus']=function(){for(const _0x4d3348 of this['children'])if(_0x4d3348 instanceof _0x3a955b&&_0x4d3348['isOn'])return void _0x4d3348['focus']();this['children']['first']['focus']();},_0x52d0db['focusTracker']=new rt(),_0x52d0db['keystrokes']=new nt(),_0x52d0db['render'](),_0x52d0db['keystrokes']['listenTo'](_0x52d0db['element']),this['children']['add'](_0x52d0db),_0x52d0db;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x21f667=this['_createStartIndexPropertyView'](),_0x44a133=[_0x21f667],_0x51b206=new it(this['locale'],_0x44a133);return _0x51b206['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x51b206['buttonView']['bind']('isEnabled')['toMany'](_0x44a133,'isEnabled',(..._0x26c495)=>_0x26c495['some'](_0x573a16=>_0x573a16)),_0x51b206['buttonView']['on']('change:isEnabled',(_0x1cc1fb,_0x366cc3,_0xfef7ba)=>{_0xfef7ba||(_0x51b206['isCollapsed']=!0x0);}),this['children']['add'](_0x51b206),[_0x21f667,_0x51b206];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xe39e7f=new et(this['locale'],ot);return _0xe39e7f['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xe39e7f['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xe39e7f['fieldView']['on']('input',()=>{const _0x1b2627=_0xe39e7f['fieldView']['element'],_0x5c1876=_0x1b2627['valueAsNumber'];Number['isNaN'](_0x5c1876)?_0xe39e7f['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1b2627['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5c1876}):_0xe39e7f['errorText']=t(_0x5c1876<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xe39e7f;}}class j extends _0x55f208{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x50acf6,_0x569f83];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x51c22a}=this,{componentFactory:_0x57da5c}=_0x51c22a['ui'];_0x51c22a['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x57da5c['add']('footnotesStyle',function(_0x56b471){return _0x560eb7=>{const {t:t}=_0x560eb7,_0x4961cd=_0x56b471['commands']['get']('footnotesStyle'),_0xf35a8d=_0x3cd3b0(_0x560eb7),{buttonView:_0x48d2e9}=_0xf35a8d;return _0xf35a8d['class']='ck-footnotes-styles-dropdown',_0xf35a8d['bind']('isEnabled')['to'](_0x4961cd,'isEnabled'),_0x48d2e9['set']({'label':t('Footnotes\x20style'),'icon':_0x39a9b7,'tooltip':!0x0}),_0xf35a8d['once']('change:isOpen',()=>{const _0x1c8791=function({editor:_0x468d42,dropdownView:_0x425457}){const {t:t}=_0x468d42['locale'],_0x2eb801=t('Footnotes\x20definitions\x20styles'),_0x53ecc2=function(_0x29eed4){const t=_0x29eed4['locale']['t'],_0x267bcc=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x427de6},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xdbb943},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x51800d},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2a415c},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x37fb7e},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x174dcd}];return _0x267bcc['map'](function(_0x42b7ab){const _0x3982c3=_0x42b7ab['locale'];return({label:_0x4f70a4,icon:_0x121f2e,tooltip:_0x148c54,style:_0x470e86})=>{const _0xc6372c=_0x42b7ab['commands']['get']('footnotesStyle'),_0x4ce4e4=new _0x3a955b(_0x3982c3);return _0x4ce4e4['set']({'label':_0x4f70a4,'icon':_0x121f2e,'tooltip':_0x148c54}),_0x4ce4e4['bind']('isOn')['to'](_0xc6372c,'value',_0x4d356f=>_0x4d356f===_0x470e86),_0x4ce4e4['bind']('isEnabled')['to'](_0xc6372c,'isEnabled'),_0x4ce4e4['on']('execute',()=>{_0x42b7ab['execute']('footnotesStyle',{'value':_0x470e86}),_0x42b7ab['editing']['view']['focus']();}),_0x4ce4e4;};}(_0x29eed4));}(_0x468d42),_0x5d6e92=new $(_0x468d42['locale'],{'styleGridAriaLabel':_0x2eb801,'styleButtonViews':_0x53ecc2}),_0x2da9ae=_0x468d42['commands']['get']('footnotesStart');return _0x5d6e92['startIndexFieldView']['bind']('isEnabled')['to'](_0x2da9ae),_0x5d6e92['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2da9ae),_0x5d6e92['on']('footnotesListStart',(_0x3bcccc,_0x44755c)=>{_0x468d42['execute']('footnotesStart',{'value':_0x44755c['startIndex']});}),_0x5d6e92['delegate']('execute')['to'](_0x425457),_0x5d6e92;}({'editor':_0x56b471,'dropdownView':_0xf35a8d});_0xf35a8d['panelView']['children']['add'](_0x1c8791);}),_0xf35a8d;};}(_0x51c22a));}['afterInit'](){const {editor:_0x243be4}=this,{t:t}=_0x243be4['locale'],_0x335a60=_0x243be4['plugins']['get'](_0x569f83),{defaultPositions:_0x447e3a}=_0x3666fc;_0x335a60['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x243be4['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x38ed70=>{let _0x53d6c7=_0x38ed70['getFirstPosition']()?.['parent'];return _0x53d6c7?.['is']('$text')&&(_0x53d6c7=_0x53d6c7['parent']),_0x53d6c7?.['is']('element')?_0x53d6c7['findAncestor'](H):null;},'positions':[_0x447e3a['southArrowNorth'],_0x447e3a['southArrowNorthMiddleWest'],_0x447e3a['southArrowNorthMiddleEast'],_0x447e3a['southArrowNorthWest'],_0x447e3a['southArrowNorthEast'],_0x447e3a['northArrowSouth'],_0x447e3a['northArrowSouthMiddleWest'],_0x447e3a['northArrowSouthMiddleEast'],_0x447e3a['northArrowSouthWest'],_0x447e3a['northArrowSouthEast'],_0x447e3a['viewportStickyNorth']]});}}class ft extends _0x55f208{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 _0x2cb8f8,Command as _0x5cbc87}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x2b46a3,isWidget as _0x4e231d,toWidgetEditable as _0xe026d4,WidgetToolbarRepository as _0x1f0d24}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x8f38f,logWarning as _0x38459d,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x410bca,ClickObserver as _0x182ea6}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0xfcd335}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x2fb2a7,ButtonView as _0x4b4e2f,View as _0x4e4bbf,ViewCollection as _0x589861,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x372daf,BalloonPanelView as _0x21a899,createDropdown as _0x1e5899}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0xb948b1,IconListStyleDecimal as _0x1bb748,IconListStyleDecimalLeadingZero as _0x4a4bf5,IconListStyleLowerRoman as _0x59a039,IconListStyleUpperRoman as _0x102590,IconListStyleLowerLatin as _0x1aad39,IconListStyleUpperLatin as _0x10cf7a}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x25ac76,_0xd75689){this['_model']=_0x25ac76,this['_elementName']=_0xd75689['elementName'],this['_getElementKey']=_0xd75689['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x336ae5){const _0x4513eb=new Set(),_0x2d1369=new Map();for(const _0x328d43 of _0x336ae5){if('insert'===_0x328d43['type']&&'$text'!==_0x328d43['name']&&_0x328d43['position']['nodeAfter']){const _0x13540e=this['_model']['createRangeOn'](_0x328d43['position']['nodeAfter']);for(const _0x40a71e of _0x13540e['getItems']()){if(!_0x40a71e['is']('element',this['_elementName']))continue;const _0x4b1f8e=this['_getElementKey'](_0x40a71e);_0x2d1369['has'](_0x4b1f8e)||_0x2d1369['set'](_0x4b1f8e,[]),_0x2d1369['get'](_0x4b1f8e)['push'](_0x40a71e);}}if('remove'===_0x328d43['type']&&_0x328d43['name']===this['_elementName']){const _0x5f35b5=this['_getElementKey']({'getAttribute':_0x1e3719=>_0x328d43['attributes']['get'](_0x1e3719)});_0x4513eb['add'](_0x5f35b5);}}for(const [_0x37e646,_0xc6fcdf]of this['_trackedElements'])'$graveyard'===_0xc6fcdf['root']['rootName']&&_0x4513eb['add'](_0x37e646);for(const _0x10e6bd of _0x4513eb)this['_trackedElements']['delete'](_0x10e6bd);for(const [_0x3970cb,_0x142b87]of _0x2d1369)this['_trackedElements']['set'](_0x3970cb,_0x142b87[_0x142b87['length']-0x1]);const _0x28f579=new Set();for(const [_0xc23726,_0x34cadb]of _0x2d1369)_0x4513eb['has'](_0xc23726)&&(_0x28f579['add'](_0x34cadb[0x0]),_0x34cadb['length']>0x1?_0x2d1369['set'](_0xc23726,_0x34cadb['slice'](0x1)):_0x2d1369['delete'](_0xc23726),_0x4513eb['delete'](_0xc23726));return{'removed':Array['from'](_0x4513eb),'inserted':Array['from'](_0x2d1369['values']())['flat'](),'moved':Array['from'](_0x28f579)};}}class f extends _0x2cb8f8{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xed5f8b){super(_0xed5f8b),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x5130cf=>_0x5130cf['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x5bad29=>_0x5bad29['getAttribute']('footnoteId')});}['init'](){const {editor:_0x23af6c}=this,{model:_0x2fe383,data:_0x3b2863}=_0x23af6c;_0x2fe383['document']['registerPostFixer'](_0x6dd1ba=>{const _0x363728=_0x2fe383['document']['differ']['getChanges']();let _0x19caf2=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x6dd1ba,_0x363728)&&(_0x19caf2=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x6dd1ba,_0x363728)&&(_0x19caf2=!0x0),this['_handleFootnoteReferencesChanges'](_0x6dd1ba,_0x363728)&&(_0x19caf2=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x6dd1ba)&&(_0x19caf2=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x6dd1ba)&&(_0x19caf2=!0x0),this['_sortFootnoteDefinitions'](_0x6dd1ba)&&(_0x19caf2=!0x0),_0x19caf2;}),this['listenTo'](_0x2fe383['document'],'change:data',()=>{_0x2fe383['enqueueChange']({'isUndoable':!0x1},_0x581ec0=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x581ec0);});},{'priority':'low'}),this['listenTo'](_0x3b2863,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x324fa4){return this['_footnotes']['find'](_0x345609=>_0x345609['id']===_0x324fa4)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x1ad17b){this['_footnoteFormatter']=_0x1ad17b;}['_updateFootnotesCounters'](_0x3b7099,_0x305f5e=0x0){let _0x56b958=!0x1;for(let _0x43c3cb=_0x305f5e;_0x43c3cb<this['_footnotes']['length'];_0x43c3cb++)this['_updateFootnoteRefCounter'](_0x3b7099,_0x43c3cb)&&(_0x56b958=!0x0);return _0x56b958;}['_insertEmptyFootnotesDefinitionsContainer'](_0x360491,_0x56b11f){const _0x389908=_0x360491['createElement']('footnotesDefinitions',{});return _0x360491['append'](_0x389908,_0x56b11f),this['_footnotesDefinitions']=_0x389908,_0x389908;}['_ensureFootnotesDefinitionsContainerExists'](_0x3eaec7){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0xc71f39=this['_footnotes'][0x0]['reference']['root'],_0x376e8a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3eaec7,_0xc71f39);for(const _0x17f1c4 of this['_footnotes'])_0x17f1c4['definition']['parent']||_0x3eaec7['insert'](_0x17f1c4['definition'],_0x376e8a,'end');this['_updateFootnotesCounters'](_0x3eaec7);}['_handleFootnotesDefinitionsObjectChanges'](_0x5d82f5,_0x490b9a){let _0x199983=!0x1;const {inserted:_0x446b53,removed:_0x4d48d4,moved:_0x328407}=this['_footnoteDefsContainerTracker']['getChanges'](_0x490b9a);if(_0x328407['length']&&(this['_footnotesDefinitions']=_0x328407[0x0]),_0x446b53['length']){if(_0x446b53['length']>0x1||this['_footnotesDefinitions']&&_0x446b53['some'](_0x1d19fd=>_0x1d19fd!==this['_footnotesDefinitions'])){const _0x35ff61=_0x5d82f5['createElement']('footnotesDefinitions',{}),_0x4bee2c=[];this['_footnotesDefinitions']&&_0x4bee2c['push'](this['_footnotesDefinitions']),_0x4bee2c['push'](..._0x446b53),_0x5d82f5['insert'](_0x35ff61,_0x4bee2c[0x0],'before');for(const _0x2d07b4 of _0x4bee2c)_0x5d82f5['move'](_0x5d82f5['createRangeIn'](_0x2d07b4),_0x5d82f5['createPositionAt'](_0x35ff61,'end')),_0x5d82f5['remove'](_0x2d07b4);this['_footnotesDefinitions']=_0x35ff61,this['_updateFootnotesCounters'](_0x5d82f5),_0x199983=!0x0;}else this['_footnotesDefinitions']=_0x446b53[0x0];}if(_0x4d48d4['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x10540c of this['_footnotes'])_0x5d82f5['remove'](_0x10540c['reference']),_0x199983=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x199983;}['_handleFootnoteDefinitionsChanges'](_0x2959ab,_0x1263b3){let _0x43bae1=!0x1;const _0x440447=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x129dd3,moved:_0x4c9d06}=this['_footnoteDefsTracker']['getChanges'](_0x1263b3);for(const _0x577935 of[..._0x4c9d06,..._0x129dd3]){const _0x4a98a1=_0x577935['getAttribute']('footnoteId'),_0x35d847=this['getFootnote'](_0x4a98a1);_0x35d847&&(_0x35d847['definition']=_0x577935),_(_0x2959ab,_0x440447,_0x577935)&&(_0x43bae1=!0x0);}return _0x43bae1;}['_handleFootnoteReferencesChanges'](_0x457706,_0x336f62){let _0x2f1349=!0x1;const {removed:_0x4b3c54,inserted:_0x624388,moved:_0x2f7ee4}=this['_footnoteRefsTracker']['getChanges'](_0x336f62);for(const _0xb19e33 of _0x4b3c54)this['_handleRemoveFootnoteReferenceById'](_0x457706,_0xb19e33)&&(_0x2f1349=!0x0);for(const _0x50ec3c of _0x624388)this['_handleInsertedFootnoteReference'](_0x457706,_0x50ec3c)&&(_0x2f1349=!0x0);for(const _0x209cd5 of _0x2f7ee4)this['_handleMovedFootnoteReference'](_0x457706,_0x209cd5)&&(_0x2f1349=!0x0);return _0x2f1349;}['_handleFootnotesDefinitionsObjectSync'](_0x1846d3){if(!this['_footnotesDefinitions'])return!0x1;let _0x80f554=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x514e2c=[];for(const _0x39f68b of this['_footnotesDefinitions']['getChildren']()){const _0x594789=_0x39f68b['getAttribute']('footnoteId');this['getFootnote'](_0x594789)||(_0x514e2c['unshift'](_0x39f68b),_0x80f554=!0x0);}for(const _0x9d4e2c of _0x514e2c)_0x1846d3['remove'](_0x9d4e2c);}const _0x6815be=new Set(),_0x5f0125=[];for(const _0x5d6019 of this['_footnotesDefinitions']['getChildren']()){const _0x3c631d=_0x5d6019['getAttribute']('footnoteId');_0x6815be['has'](_0x3c631d)?(_0x5f0125['unshift'](_0x5d6019),_0x80f554=!0x0):_0x6815be['add'](_0x3c631d);}for(const _0x4211f0 of _0x5f0125)_0x1846d3['remove'](_0x4211f0);return this['_footnotesDefinitions']['childCount']||(_0x1846d3['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x80f554=!0x0),_0x80f554;}['_handleInsertedFootnoteReference'](_0x5c2b26,_0x50980a){if(this['_footnotes']['find'](_0xc6a8e7=>_0xc6a8e7['reference']===_0x50980a))return!0x1;let _0x16e9f1=!0x1;const _0x338ade=_0x50980a['getAttribute']('footnoteId'),_0x4ed864=this['_footnotes']['findIndex'](_0x5e3daa=>_0x5e3daa['id']===_0x338ade);-0x1!==_0x4ed864&&(_0x5c2b26['remove'](this['_footnotes'][_0x4ed864]['reference']),this['_footnotes']['splice'](_0x4ed864,0x1),_0x16e9f1=!0x0);let _0x483522=this['_footnotesDefinitions']?function(_0xe519a3,_0x26abbf){for(const _0x490234 of _0xe519a3['getChildren']())if(_0x490234['getAttribute']('footnoteId')===_0x26abbf)return _0x490234;return null;}(this['_footnotesDefinitions'],_0x338ade):null;_0x483522||(_0x483522=_0x5c2b26['createElement']('footnoteDefinition',{'footnoteId':_0x338ade}),this['_footnotesDefinitions']&&(_0x5c2b26['insert'](_0x483522,this['_footnotesDefinitions'],'end'),_0x16e9f1=!0x0));const _0x1f4321={'id':_0x338ade,'reference':_0x50980a,'definition':_0x483522},_0x2bc916=I(this['editor']['model'],this['_footnotes'],_0x50980a);this['_footnotes']['splice'](_0x2bc916,0x0,_0x1f4321);let _0x1df55d=_0x2bc916;return-0x1!==_0x4ed864&&(_0x1df55d=Math['min'](_0x2bc916,_0x4ed864)),this['_updateFootnotesCounters'](_0x5c2b26,_0x1df55d)&&(_0x16e9f1=!0x0),_0x16e9f1;}['_handleRemoveFootnoteReferenceById'](_0x1fa6c2,_0x25678e){const _0x500bb1=this['_footnotes']['findIndex'](_0x20ef44=>_0x20ef44['id']===_0x25678e);if(-0x1===_0x500bb1)return!0x1;let _0x4b3549=!0x1;const _0x2639fa=this['_footnotes'][_0x500bb1];return'$graveyard'!==_0x2639fa['definition']['root']['rootName']&&(_0x1fa6c2['remove'](_0x2639fa['definition']),_0x4b3549=!0x0),this['_footnotes']['splice'](_0x500bb1,0x1),this['_updateFootnotesCounters'](_0x1fa6c2,_0x500bb1)&&(_0x4b3549=!0x0),_0x4b3549;}['_handleMovedFootnoteReference'](_0x57c318,_0x341ffd){const _0x16755d=_0x341ffd['getAttribute']('footnoteId'),_0x48c83e=this['_footnotes']['findIndex'](_0x37faf0=>_0x37faf0['id']===_0x16755d),_0x5ad509=this['_footnotes'][_0x48c83e];let _0x1503c4=!0x1;_0x5ad509['reference']=_0x341ffd,this['_footnotes']['splice'](_0x48c83e,0x1);const _0x40be73=I(this['editor']['model'],this['_footnotes'],_0x341ffd);return this['_footnotes']['splice'](_0x40be73,0x0,_0x5ad509),this['_updateFootnotesCounters'](_0x57c318,Math['min'](_0x48c83e,_0x40be73))&&(_0x1503c4=!0x0),_0x1503c4;}['_updateFootnoteRefCounter'](_0x300459,_0x5265e5){if(!this['_footnotesDefinitions'])return!0x1;const _0x2f9d8c=this['_footnotes'][_0x5265e5];let _0x2f8dd9;return _0x2f8dd9=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2f9d8c,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x5265e5+0x1}):String(_0x5265e5+0x1),_0x2f9d8c['reference']['getAttribute']('footnoteCounter')!=_0x2f8dd9&&(_0x300459['setAttribute']('footnoteCounter',_0x2f8dd9,_0x2f9d8c['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x580657){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x5aed33,_0xc529b6){if(_0x5aed33['length']!==_0xc529b6['length'])return!0x1;for(let _0x520997=0x0;_0x520997<_0x5aed33['length'];_0x520997++)if(_0x5aed33[_0x520997]!==_0xc529b6[_0x520997])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x44fc61=>_0x44fc61['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x394177=>_0x394177['getAttribute']('footnoteId'))))return!0x1;let _0x44d4c2=!0x1;for(let _0x137372=0x0;_0x137372<this['_footnotes']['length'];_0x137372++){const _0x5a9c6c=this['_footnotes'][_0x137372],_0x244823=_0x580657['createPositionBefore'](_0x5a9c6c['definition']),_0x35e6b9=_0x580657['createPositionAt'](this['_footnotesDefinitions'],_0x137372);_0x244823['isEqual'](_0x35e6b9)||(_0x580657['move'](_0x580657['createRangeOn'](_0x5a9c6c['definition']),_0x35e6b9),_0x44d4c2=!0x0);}return _0x44d4c2;}['_ensureFootnotesReferencesHaveProperOrder'](_0x1c9e4e){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4b90bb}=this['editor'];let _0x5f42e5=!0x1;for(let _0x35df17=0x0;_0x35df17<this['_footnotes']['length']-0x1;_0x35df17++){const _0x4d3658=this['_footnotes'][_0x35df17],_0x2c9529=this['_footnotes'][_0x35df17+0x1],_0x554138=_0x4b90bb['createPositionBefore'](_0x4d3658['reference']),_0x353d4d=_0x4b90bb['createPositionBefore'](_0x2c9529['reference']);'after'===_0x554138['compareWith'](_0x353d4d)&&(this['_handleMovedFootnoteReference'](_0x1c9e4e,_0x4d3658['reference']),_0x35df17=-0x1,_0x5f42e5=!0x0);}return _0x5f42e5;}}function _(_0x4781cc,_0x22bad4,_0xacc48e){if(_0xacc48e['childCount'])return!0x1;const _0x4dc383=_0x22bad4?'paragraph':'footnoteInlineContent';return _0x4781cc['insert'](_0x4781cc['createElement'](_0x4dc383),_0xacc48e),!0x0;}function I(_0x5ee26d,_0x4eff1d,_0x32f6d9){if(0x0===_0x4eff1d['length'])return 0x0;const _0x18331f=_0x5ee26d['createPositionBefore'](_0x32f6d9);for(let _0x14c46a=0x0;_0x14c46a<_0x4eff1d['length'];_0x14c46a++){const _0xabef74=_0x4eff1d[_0x14c46a],_0x3b950e=_0x5ee26d['createPositionBefore'](_0xabef74['reference']);if('before'===_0x18331f['compareWith'](_0x3b950e))return _0x14c46a;}const _0x42da86=_0x32f6d9['root'];let _0x2c18bb=-0x1;for(let _0x3ee66e=_0x4eff1d['length']-0x1;_0x3ee66e>=0x0;_0x3ee66e--)if(_0x4eff1d[_0x3ee66e]['reference']['root']===_0x42da86){_0x2c18bb=_0x3ee66e;break;}if(-0x1!==_0x2c18bb)return _0x2c18bb+0x1;const _0x178eb4=_0x5ee26d['document']['getRootNames'](),_0xcf9c8e=_0x178eb4['indexOf'](_0x42da86['rootName']),_0x21ef1b=_0x178eb4[_0xcf9c8e+0x1];if(_0x21ef1b){for(let _0xb307a8=0x0;_0xb307a8<_0x4eff1d['length'];_0xb307a8++)if(_0x4eff1d[_0xb307a8]['reference']['root']['rootName']===_0x21ef1b)return _0xb307a8;}return _0x4eff1d['length'];}class h extends _0x5cbc87{['refresh'](){const _0x2664db=this['editor']['model']['document']['selection'],_0x594a87=this['_getPositionToInsertFootnote'](_0x2664db);this['isEnabled']=!!_0x594a87;}['execute'](_0x381879){const {editor:_0xf95924}=this,{model:_0x42fd43}=_0xf95924,{selection:_0x2900a4}=_0x42fd43['document'],_0x1127e5=this['_getPositionToInsertFootnote'](_0x2900a4);if(!_0x1127e5)return;const _0x431553=_0xf95924['plugins']['get']('FootnotesEditing'),_0x29ae63=_0x381879?.['footnoteId']??_0x8f38f();!function(_0x315e61){return'string'==typeof _0x315e61&&_0x315e61['length']>0x0&&!/\s/['test'](_0x315e61)&&!/^\d/['test'](_0x315e61);}(_0x29ae63)?_0x38459d('insert-footnote-command-executed-with-invalid-id'):(_0x42fd43['change'](_0x179525=>{const _0x5bcf60=_0x179525['createElement']('footnoteRef',{'footnoteId':_0x29ae63});_0x42fd43['insertObject'](_0x5bcf60,_0x1127e5,null);}),_0x431553['_moveSelectionToFootnoteDefinition'](_0x29ae63));}['_getPositionToInsertFootnote'](_0xd8d4e1){const {model:_0x30ab02}=this['editor'],{schema:_0x568016}=_0x30ab02,_0x605d69=_0xd8d4e1['getFirstRange']();for(const _0x8e10a5 of _0x605d69['getItems']())if(_0x568016['isBlock'](_0x8e10a5)||_0x568016['isObject'](_0x8e10a5))return null;const _0x3c19cf=_0x605d69['end'];return _0x568016['checkChild'](_0x3c19cf,'footnoteRef')?_0x3c19cf:null;}}class r extends _0x2cb8f8{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5095e8}=this;_0x5095e8['config']['define']('footnotes.multiBlock',!0x0),_0x5095e8['commands']['add']('insertFootnote',new h(_0x5095e8)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3ef5b7){const _0x2932ff=_0x2b3890([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]),_0xd3d03d=0x47a28506,_0x555c69=0x47a50f26^_0xd3d03d,_0x39e08d=window[_0x2b3890([0x44,0x61,0x74,0x65])][_0x2b3890([0x6e,0x6f,0x77])](),_0x4434c7=_0x3ef5b7[_0x2b3890([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x16e988=new window[(_0x2b3890([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f7e60=>{_0x4434c7[_0x2b3890([0x6f,0x6e,0x63,0x65])](_0x2b3890([0x72,0x65,0x61,0x64,0x79]),_0x2f7e60);}),_0x22ef26={[_0x2b3890([0x6b,0x74,0x79])]:_0x2b3890([0x45,0x43]),[_0x2b3890([0x75,0x73,0x65])]:_0x2b3890([0x73,0x69,0x67]),[_0x2b3890([0x63,0x72,0x76])]:_0x2b3890([0x50,0x2d,0x32,0x35,0x36]),[_0x2b3890([0x78])]:_0x2b3890([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]),[_0x2b3890([0x79])]:_0x2b3890([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]),[_0x2b3890([0x61,0x6c,0x67])]:_0x2b3890([0x45,0x53,0x32,0x35,0x36])},_0x2e5e65=_0x4434c7[_0x2b3890([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b3890([0x67,0x65,0x74])](_0x2b3890([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4cbd1b(){let _0x5ceaca,_0x3da631=null,_0x431c77=null;try{if(_0x2e5e65==_0x2b3890([0x47,0x50,0x4c]))return _0x2b3890([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ceaca=_0x114610(),!_0x5ceaca)return _0x2b3890([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ceaca[_0x2b3890([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x431c77=_0x326015(_0x5ceaca[_0x2b3890([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ceaca[_0x2b3890([0x6a,0x74,0x69])])),await _0x3a4cca()?_0x196aca()?_0x8a2a4()?_0x2b3890([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x300385()?(_0x5ceaca[_0x2b3890([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b3890([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3da631=_0x540aab(_0x2b3890([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x73fca3()):_0x2b3890([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b3890([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b3890([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b3890([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x8a2a4(){const _0x34e1fe=[_0x2b3890([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b3890([0x74,0x72,0x69,0x61,0x6c])][_0x2b3890([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ceaca[_0x2b3890([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39e08d/0x3e8:0xe10*_0x555c69;return _0x5ceaca[_0x2b3890([0x65,0x78,0x70])]<_0x34e1fe;}function _0x196aca(){const _0x2a726a=_0x5ceaca[_0x2b3890([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2a726a&&(!!_0x2a726a[_0x2b3890([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b3890([0x2a]))||!!_0x2a726a[_0x2b3890([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b3890([0x46,0x4f,0x4f])));}function _0x300385(){const _0x1a5172=_0x5ceaca[_0x2b3890([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1a5172||0x0==_0x1a5172[_0x2b3890([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4272f8}=new URL(window[_0x2b3890([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1a5172[_0x2b3890([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4272f8))return!0x0;const _0x4481dd=_0x4272f8[_0x2b3890([0x73,0x70,0x6c,0x69,0x74])](_0x2b3890([0x2e]));return _0x1a5172[_0x2b3890([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2420c6=>_0x2420c6[_0x2b3890([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b3890([0x2a])))[_0x2b3890([0x6d,0x61,0x70])](_0x51a2ce=>_0x51a2ce[_0x2b3890([0x73,0x70,0x6c,0x69,0x74])](_0x2b3890([0x2e])))[_0x2b3890([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe2b4ad=>_0xe2b4ad[_0x2b3890([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4481dd[_0x2b3890([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b3890([0x6d,0x61,0x70])](_0x5c6bc9=>Array(_0x4481dd[_0x2b3890([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c6bc9[_0x2b3890([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b3890([0x66,0x69,0x6c,0x6c])](_0x5c6bc9[0x0]===_0x2b3890([0x2a])?_0x2b3890([0x2a]):'')[_0x2b3890([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c6bc9))[_0x2b3890([0x73,0x6f,0x6d,0x65])](_0x216ae7=>_0x4481dd[_0x2b3890([0x65,0x76,0x65,0x72,0x79])]((_0x41583b,_0x26d31f)=>_0x216ae7[_0x26d31f]===_0x41583b||_0x216ae7[_0x26d31f]===_0x2b3890([0x2a])));}function _0x73fca3(){return _0x3da631&&_0x431c77?new window[(_0x2b3890([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1e3534,_0x4c44f3)=>{_0x3da631[_0x2b3890([0x74,0x68,0x65,0x6e])](_0x1e3534,_0x4c44f3),_0x431c77[_0x2b3890([0x74,0x68,0x65,0x6e])](_0x5299f2=>{_0x5299f2!=_0x2b3890([0x56,0x61,0x6c,0x69,0x64])&&_0x1e3534(_0x5299f2);},_0x4c44f3);}):_0x3da631||_0x431c77||_0x2b3890([0x56,0x61,0x6c,0x69,0x64]);}}function _0x326015(_0x38bed1,_0x25ecc6){return new window[(_0x2b3890([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27819b=>{if(_0x4e2d46())return _0x27819b(_0x2b3890([0x56,0x61,0x6c,0x69,0x64]));_0x4c3eb6(),_0x4434c7[_0x2b3890([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b3890([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x326e0d=!0x1;const _0xfd2f58=_0x8f38f();function _0x3630b5(_0x1634de){return!!_0x1634de&&(typeof _0x1634de===_0x2b3890([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1634de===_0x2b3890([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1634de[_0x2b3890([0x74,0x68,0x65,0x6e])]===_0x2b3890([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1634de[_0x2b3890([0x63,0x61,0x74,0x63,0x68])]===_0x2b3890([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1a2203(_0x3a6809){_0x76a8ce(_0x3a6809)[_0x2b3890([0x74,0x68,0x65,0x6e])](_0x19a2e0=>{if(!_0x19a2e0||_0x19a2e0[_0x2b3890([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b3890([0x6f,0x6b]))return _0x2b3890([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x36ce07(_0x1f13d0(_0xfd2f58+_0x25ecc6))!=_0x19a2e0[_0x2b3890([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b3890([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b3890([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b3890([0x74,0x68,0x65,0x6e])](_0x5f0b49=>(_0x39eb8f(),_0x5f0b49),()=>{const _0x545862=_0x393f70();return null==_0x545862?(_0x39eb8f(),_0x2b3890([0x56,0x61,0x6c,0x69,0x64])):_0x2b3890(_0x39e08d-_0x545862>(0x63ae0106^_0xd3d03d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b3890([0x74,0x68,0x65,0x6e])](_0x27819b)[_0x2b3890([0x63,0x61,0x74,0x63,0x68])](()=>{_0x27819b(_0x2b3890([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11f418=0x47946b86^_0xd3d03d;function _0x39eb8f(){const _0x81b272=_0x2b3890([0x6c,0x6c,0x63,0x74,0x2d])+_0x36ce07(_0x1f13d0(_0x38bed1)),_0x312c70=_0x1f38b1(_0x36ce07(window[_0x2b3890([0x4d,0x61,0x74,0x68])][_0x2b3890([0x63,0x65,0x69,0x6c])](_0x39e08d/_0x11f418)));window[_0x2b3890([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b3890([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x81b272,_0x312c70);}function _0x393f70(){const _0x578040=_0x2b3890([0x6c,0x6c,0x63,0x74,0x2d])+_0x36ce07(_0x1f13d0(_0x38bed1)),_0x25e5ea=window[_0x2b3890([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b3890([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x578040);return _0x25e5ea?window[_0x2b3890([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f38b1(_0x25e5ea),0x10)*_0x11f418:null;}function _0x76a8ce(_0xc4ea2b){return new window[(_0x2b3890([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x42f779,_0x1c1bf6)=>{_0xc4ea2b[_0x2b3890([0x74,0x68,0x65,0x6e])](_0x42f779,_0x1c1bf6),window[_0x2b3890([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c1bf6,0x47a351c6^_0xd3d03d);});}}_0x4434c7[_0x2b3890([0x6f,0x6e])](_0x2b3890([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3b70d6,_0x5ad399)=>{if(_0x5ad399[0x0]!=_0x38bed1)return _0x27819b(_0x2b3890([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ad399[0x1]={..._0x5ad399[0x1],[_0x2b3890([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xfd2f58};},{[_0x2b3890([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b3890([0x68,0x69,0x67,0x68])}),_0x4434c7[_0x2b3890([0x6f,0x6e])](_0x2b3890([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x470e36=>{_0x3630b5(_0x470e36[_0x2b3890([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x326e0d=!0x0,_0x1a2203(_0x470e36[_0x2b3890([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b3890([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b3890([0x6c,0x6f,0x77])}),_0x16e988[_0x2b3890([0x74,0x68,0x65,0x6e])](()=>{_0x326e0d||_0x27819b(_0x2b3890([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4e2d46(){return _0x4434c7[_0x2b3890([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b3890([0x76,0x69,0x65,0x77])][_0x2b3890([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b3890([0x61,0x75,0x74,0x6f]);}function _0x4c3eb6(){_0x4434c7[_0x2b3890([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b3890([0x76,0x69,0x65,0x77])][_0x2b3890([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b3890([0x61,0x75,0x74,0x6f]);}}function _0x540aab(_0x156871){const _0x4d9702=[new window[(_0x2b3890([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16b86e=>setTimeout(_0x16b86e,0x47abbbca^_0xd3d03d)),_0x16e988[_0x2b3890([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b3890([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x98ab70=>{let _0x5e323f=0x0;_0x4434c7[_0x2b3890([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b3890([0x6f,0x6e])](_0x2b3890([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x12194a,_0x545378)=>{_0x545378[0x0][_0x2b3890([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5e323f++,_0x5e323f==(0x47a280ee^_0xd3d03d)&&(_0x98ab70(),_0x12194a[_0x2b3890([0x6f,0x66,0x66])]());});}))];return window[_0x2b3890([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b3890([0x72,0x61,0x63,0x65])](_0x4d9702)[_0x2b3890([0x74,0x68,0x65,0x6e])](()=>_0x156871);}async function _0x13f68d(){await _0x16e988,_0x4434c7[_0x2b3890([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b3890([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x31cefc,_0x4434c7[_0x2b3890([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b3890([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x31cefc,_0x4434c7[_0x2b3890([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b3890([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x25caff(_0x1c182e){const _0x508b02=_0x4ff72b();_0x4434c7[_0x508b02]=_0x2b3890([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1c182e,_0x1c182e!=_0x2b3890([0x56,0x61,0x6c,0x69,0x64])&&_0x13f68d();}function _0x4ff72b(){const _0x357d20=window[_0x2b3890([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b3890([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b3890([0x6e,0x6f,0x77])]())[_0x2b3890([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b3890([0x2e]),'');let _0xbafbc5=_0x2b3890([0x75]);for(let _0x2d7c59=0x0;_0x2d7c59<_0x357d20[_0x2b3890([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d7c59+=0x2){let _0x188ed4=window[_0x2b3890([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x357d20[_0x2b3890([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2d7c59,_0x2d7c59+0x2));_0x188ed4>=_0x2932ff[_0x2b3890([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x188ed4-=_0x2932ff[_0x2b3890([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xbafbc5+=_0x2932ff[_0x188ed4];}return _0xbafbc5;}function _0x114610(){const _0xbfe398=_0x2e5e65[_0x2b3890([0x73,0x70,0x6c,0x69,0x74])](_0x2b3890([0x2e]));if(0x3!=_0xbfe398[_0x2b3890([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xfd2e00(_0xbfe398[0x1]);function _0xfd2e00(_0x4c0c5e){const _0x103d1f=_0x3943bc(_0x4c0c5e);return _0x103d1f&&_0x168949()?_0x103d1f:null;function _0x168949(){const _0x3e2032=_0x103d1f[_0x2b3890([0x6a,0x74,0x69])],_0x47fc03=window[_0x2b3890([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e2032[_0x2b3890([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e2032[_0x2b3890([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x320415={..._0x103d1f,[_0x2b3890([0x6a,0x74,0x69])]:_0x3e2032[_0x2b3890([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3e2032[_0x2b3890([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x320415[_0x2b3890([0x76,0x63])],_0x1f13d0(_0x320415)==_0x47fc03;}}}async function _0x3a4cca(){let _0x266ccb=!0x0;try{const _0x6bbc15=_0x2e5e65[_0x2b3890([0x73,0x70,0x6c,0x69,0x74])](_0x2b3890([0x2e])),[_0x4e5f3d,_0xdc1326,_0x4b9982]=_0x6bbc15;return _0x35d7e0(_0x4e5f3d),await _0x7e2f4(_0x4e5f3d,_0xdc1326,_0x4b9982),_0x266ccb;}catch{return!0x1;}function _0x35d7e0(_0x3dd418){const _0x408f2d=_0x3943bc(_0x3dd418);_0x408f2d&&_0x408f2d[_0x2b3890([0x61,0x6c,0x67])]==_0x2b3890([0x45,0x53,0x32,0x35,0x36])||(_0x266ccb=!0x1);}async function _0x7e2f4(_0x54d838,_0x442cf5,_0x42f2b6){const _0xeb986=window[_0x2b3890([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b3890([0x66,0x72,0x6f,0x6d])](_0x41f3a5(_0x42f2b6),_0x405eab=>_0x405eab[_0x2b3890([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x595350=new window[(_0x2b3890([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b3890([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54d838+_0x2b3890([0x2e])+_0x442cf5),_0x12ce9d=window[_0x2b3890([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b3890([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x12ce9d)return;const _0x4ae5e4=await _0x12ce9d[_0x2b3890([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b3890([0x6a,0x77,0x6b]),_0x22ef26,{[_0x2b3890([0x6e,0x61,0x6d,0x65])]:_0x2b3890([0x45,0x43,0x44,0x53,0x41]),[_0x2b3890([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b3890([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b3890([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x12ce9d[_0x2b3890([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b3890([0x6e,0x61,0x6d,0x65])]:_0x2b3890([0x45,0x43,0x44,0x53,0x41]),[_0x2b3890([0x68,0x61,0x73,0x68])]:{[_0x2b3890([0x6e,0x61,0x6d,0x65])]:_0x2b3890([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4ae5e4,_0xeb986,_0x595350)||(_0x266ccb=!0x1);}}function _0x3943bc(_0xf0eda9){return _0xf0eda9[_0x2b3890([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b3890([0x65,0x79]))?JSON[_0x2b3890([0x70,0x61,0x72,0x73,0x65])](_0x41f3a5(_0xf0eda9)):null;}function _0x41f3a5(_0x5daa9f){return window[_0x2b3890([0x61,0x74,0x6f,0x62])](_0x5daa9f[_0x2b3890([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b3890([0x2b]))[_0x2b3890([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b3890([0x2f])));}function _0x1f13d0(_0x4c7b70){let _0x4d7887=0x1505;function _0x455558(_0x6ff4ce){for(let _0x27329c=0x0;_0x27329c<_0x6ff4ce[_0x2b3890([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x27329c++){const _0x56d66a=_0x6ff4ce[_0x2b3890([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x27329c);_0x4d7887=(_0x4d7887<<0x5)+_0x4d7887+_0x56d66a,_0x4d7887&=_0x4d7887;}}function _0x59754a(_0xb38b29){Array[_0x2b3890([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb38b29)?_0xb38b29[_0x2b3890([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x59754a):_0xb38b29&&typeof _0xb38b29==_0x2b3890([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b3890([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb38b29)[_0x2b3890([0x73,0x6f,0x72,0x74])]()[_0x2b3890([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x508a5e,_0x6b7be8])=>{_0x455558(_0x508a5e),_0x59754a(_0x6b7be8);}):_0x455558(window[_0x2b3890([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb38b29));}return _0x59754a(_0x4c7b70),_0x4d7887>>>0x0;}function _0x36ce07(_0x104564){return _0x104564[_0x2b3890([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b3890([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b3890([0x30]));}function _0x1f38b1(_0x52bb61){return _0x52bb61[_0x2b3890([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b3890([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b3890([0x6a,0x6f,0x69,0x6e])]('');}function _0x31cefc(){}function _0x2b3890(_0x3ee5e8){return _0x3ee5e8['map'](_0x2e2a3=>String['fromCharCode'](_0x2e2a3))['join']('');}_0x25caff(await _0x4cbd1b());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4876cf){const {plugins:_0x1d2b06,editing:_0x54f6ab,model:_0x2af8ca}=this['editor'],_0x6279f4=_0x1d2b06['get'](f)['getFootnote'](_0x4876cf);return!!_0x6279f4&&(_0x2af8ca['change'](_0x584ce3=>{_0x584ce3['setSelection'](_0x584ce3['createPositionAt'](_0x6279f4['definition'],'end'));}),_0x54f6ab['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x121a60){const {plugins:_0x4a7551,editing:_0x470b4e,model:_0x131585}=this['editor'],_0x5f1218=_0x4a7551['get'](f)['getFootnote'](_0x121a60);return!!_0x5f1218&&(_0x131585['change'](_0x67a943=>{_0x67a943['setSelection'](_0x5f1218['reference'],'on');}),_0x470b4e['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3bcaa5}=this['editor']['model'],_0x594ead=this['editor']['config']['get']('footnotes.multiBlock');_0x3bcaa5['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3bcaa5['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3bcaa5['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x594ead?_0x3bcaa5['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3bcaa5['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3bcaa5['addChildCheck'](_0x2193a1=>{for(const _0x1e065a of _0x2193a1)if('footnoteDefinition'===_0x1e065a['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5618aa}=this,{conversion:_0x31ac3f,editing:_0x57347d}=_0x5618aa,{t:t}=_0x5618aa['locale'];_0x31ac3f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x40d3c9,{writer:_0xd4455a,consumable:_0x2e71be})=>{const _0x1bb90c=_0x40d3c9['getChild'](0x0);if(!_0x1bb90c||!_0x1bb90c['is']('element','a'))return null;const _0x503c36=_0x1bb90c['getAttribute']('href')||'';if(!_0x503c36['startsWith']('#'))return null;const _0x3864f1=_0x503c36['replace'](/^#/,'');if(!_0x3864f1)return null;_0x2e71be['consume'](_0x1bb90c,{'name':!0x0,'attributes':['href']});for(const {item:_0x2d31e2}of _0x57347d['view']['createRangeIn'](_0x1bb90c))_0x2d31e2['is']('$textProxy')?_0x2e71be['consume'](_0x2d31e2['textNode'],{'name':!0x0}):_0x2d31e2['is']('element')&&_0x2e71be['consume'](_0x2d31e2,{'name':!0x0});return _0xd4455a['createElement']('footnoteRef',{'footnoteId':_0x3864f1});}}),_0x31ac3f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x24bd0f,{writer:_0x331b8b})=>b(_0x24bd0f,_0x331b8b)}),_0x31ac3f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3e284d,{writer:_0x20d35a})=>{const _0x34be54=_0x3e284d['getAttribute']('footnoteCounter');return _0x2b46a3(b(_0x3e284d,_0x20d35a),_0x20d35a,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x34be54)});}});}['_defineDefinitionsConverters'](){const {editor:_0x225f96}=this,{t:t}=_0x225f96['locale'],{conversion:_0x4412c8}=_0x225f96;_0x4412c8['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4412c8['for']('upcast')['add'](_0x1301dc=>{_0x1301dc['on']('element:ol',(_0x2e4364,_0x457966,_0x133a68)=>{const _0x17b274=_0x457966['viewItem'];if(!_0x17b274['hasClass']('footnotes-list')||!_0x457966['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x133a68['consumable']['consume'](_0x17b274,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5d35be,modelCursor:_0x215d38}=_0x133a68['convertChildren'](_0x457966['viewItem'],_0x457966['modelCursor']);_0x457966['modelRange']=_0x5d35be,_0x457966['modelCursor']=_0x215d38;}),_0x1301dc['on']('element:hr',(_0x31014a,_0x3cc863,_0x27a505)=>{const _0x2ecc03=_0x3cc863['viewItem'];_0x2ecc03['hasClass']('footnotes-divider')&&_0x3cc863['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x27a505['consumable']['consume'](_0x2ecc03,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4412c8['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5b045a,{writer:_0x9b6fad})=>D(_0x9b6fad)}),_0x4412c8['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x47b802,{writer:_0x4d75f2})=>{const _0x417342=D(_0x4d75f2,{'data-footnotes-list-label':t('Footnotes')}),_0xe80e89=_0x2b46a3(_0x417342,_0x4d75f2,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4d75f2['setCustomProperty']('footnotesDefinitions',!0x0,_0xe80e89),_0xe80e89;}});}['_defineDefinitionConverters'](){const {editor:_0x1a0de4}=this,{conversion:_0x3833ab,locale:_0x2f93c9}=_0x1a0de4,_0x24ba8d=_0x1a0de4['config']['get']('footnotes.multiBlock');_0x3833ab['for']('upcast')['add'](_0x1d145b=>{_0x1d145b['on']('element:li',(_0x31fc3a,_0x7fe81e,_0x32ed6e)=>{const _0x13e87b=_0x7fe81e['viewItem'];if(!_0x13e87b['hasClass']('footnote-definition')||!_0x13e87b['getAttribute']('id'))return;const _0x4534cc=_0x13e87b['parent'];if(!_0x4534cc['is']('element','ol')||!_0x4534cc['hasClass']('footnotes-list'))return;if(!_0x32ed6e['consumable']['test'](_0x13e87b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3cfb1a=_0x32ed6e['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x13e87b['getAttribute']('id')});if(!_0x32ed6e['safeInsert'](_0x3cfb1a,_0x7fe81e['modelCursor']))return;_0x32ed6e['consumable']['consume'](_0x13e87b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x13e4dc=Array['from'](_0x13e87b['getChildren']())['find'](_0x2b3e82=>_0x2b3e82['is']('element')&&_0x2b3e82['hasClass']('footnote-content'));for(const _0x4a2d45 of _0x13e87b['getChildren']())_0x4a2d45['is']('element')&&(_0x32ed6e['consumable']['consume'](_0x4a2d45,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x32ed6e['consumable']['consume'](_0x4a2d45,{'name':!0x0,'classes':'footnote-content'}));if(_0x13e4dc){if(_0x24ba8d)_0x32ed6e['convertChildren'](_0x13e4dc,_0x3cfb1a);else{const _0x428332=_0x32ed6e['writer']['createElement']('footnoteInlineContent');_0x32ed6e['writer']['insert'](_0x428332,_0x3cfb1a),_0x32ed6e['convertChildren'](_0x13e4dc,_0x428332);}}_0x32ed6e['updateConversionResult'](_0x3cfb1a,_0x7fe81e);});}),_0x3833ab['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5805af,{writer:_0x5c6c6f})=>y(_0x5805af,_0x5c6c6f,_0x2f93c9,{'dataPipeline':!0x0})}),_0x3833ab['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x52648f,{writer:_0x58e6bb})=>y(_0x52648f,_0x58e6bb,_0x2f93c9)});}['_defineBogusParagraphConverters'](){const {editor:_0x229a4e}=this,{conversion:_0x56161d}=_0x229a4e;_0x229a4e['config']['get']('footnotes.multiBlock')?(_0x56161d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x56161d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x229a4e['model']['document'],'change:data',()=>{!function(_0x112c14,_0x266c00){const _0x5df37f=_0x112c14['document']['differ'],_0x256230=new Set();for(const _0x5a5110 of _0x5df37f['getChanges']()){const _0x20a5b6='attribute'==_0x5a5110['type']?_0x5a5110['range']['start']['parent']:_0x5a5110['position']['parent'];_0x20a5b6['is']('element','footnoteDefinition')&&_0x256230['add'](_0x20a5b6);}for(const _0x5dbac8 of _0x256230['values']()){const _0x3eba7a=Array['from'](_0x5dbac8['getChildren']())['filter'](_0x1ec31e=>v(_0x1ec31e,_0x266c00['mapper']));for(const _0x4e2828 of _0x3eba7a)_0x266c00['reconvertItem'](_0x4e2828);}}(_0x229a4e['model'],_0x229a4e['editing']);})):(_0x56161d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x56161d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x90fb7c,{writer:_0x2b69fe})=>{const _0x4e1d5c=_0x2b69fe['createContainerElement']('span');return _0x2b69fe['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4e1d5c),_0x4e1d5c;}}));}['_defineKeyboardHandlers'](){const {editor:_0x29eb60}=this,{editing:_0x543914,t:t}=_0x29eb60,_0x2457fb=_0x29eb60['model']['document']['selection'];_0x29eb60['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x29eb60['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x543914['view']['document'],'enter',(_0x4834c7,_0x287bd9)=>{const _0x68870b=function(_0x19a0d6){const _0x192ad6=_0x19a0d6['getSelectedElement']();if(_0x192ad6?.['is']('element','footnoteRef'))return _0x192ad6;return null;}(_0x2457fb);if(_0x68870b){const _0x3e0abc=_0x68870b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3e0abc),_0x287bd9['preventDefault'](),_0x4834c7['stop']();}},{'context':_0x4e231d});}['_defineClickHandlers'](){const {editor:_0x4e5dba}=this,{editing:_0xced964}=_0x4e5dba;_0x4e5dba['editing']['view']['addObserver'](_0x410bca),_0x4e5dba['editing']['view']['addObserver'](_0x182ea6);let _0x1f5b05=!0x1;this['listenTo'](_0xced964['view']['document'],'pointerdown',(_0xff54a4,_0x508462)=>{const {target:_0x9aa080}=_0x508462,_0x53c098=_0xced964['view']['document']['selection'];_0x1f5b05=!!(_0x9aa080?.['is']('element','a')&&_0x9aa080['parent']?.['is']('element','sup')&&_0x9aa080['parent']['hasClass']('footnote'))&&_0x53c098['getSelectedElement']()===_0x9aa080['parent'];},{'priority':'high'}),this['listenTo'](_0xced964['view']['document'],'click',(_0x1dc34b,_0x3b2b3c)=>{const {target:_0x23e97f}=_0x3b2b3c;if(!_0x23e97f?.['is']('element','a'))return;if(_0x23e97f['parent']?.['is']('element','sup')&&_0x23e97f['parent']['hasClass']('footnote')&&!_0x1f5b05)return void _0x3b2b3c['preventDefault']();let _0x194778=_0x23e97f['getAttribute']('href');if(!_0x194778?.['startsWith']('#'))return;_0x194778=_0x194778['slice'](0x1);let _0x36d01d=!0x1;(_0x194778['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x194778['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x194778))&&(_0x36d01d=!0x0),_0x36d01d&&(_0x3b2b3c['preventDefault'](),_0x1dc34b['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0xd57a7c}={}){return(_0x47327f,{writer:_0x9f6ecc})=>{if(!g(_0x47327f))return null;if(!_0xd57a7c)return _0x9f6ecc['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x135555=_0x9f6ecc['createContainerElement']('p');return _0x9f6ecc['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x135555),_0x135555;};}function g(_0x1c859c){const {parent:_0xfd3fc5}=_0x1c859c;if(!_0xfd3fc5?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xfd3fc5['childCount'])return!0x1;for(const _0x4e6540 of _0x1c859c['getAttributeKeys']())if(!_0x4e6540['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4e6540)return!0x1;return!0x0;}function v(_0x44d031,_0x5deb28){if(!_0x44d031['is']('element','paragraph'))return!0x1;const _0x33ede5=_0x5deb28['toViewElement'](_0x44d031);return!!_0x33ede5&&g(_0x44d031)!==_0x33ede5['is']('element','span');}function Q(_0x2d1235){return _0x4e231d(_0x2d1235)&&_0x2d1235['is']('containerElement')&&!!_0x2d1235['getCustomProperty']('footnotesDefinitions');}function D(_0x4c20df,_0x1ae9ff={}){const _0x491229=_0x4c20df['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x64893f=_0x4c20df['createContainerElement']('ol',{'class':'footnotes-list'},_0x4c20df['createSlot']());return _0x4c20df['createContainerElement']('div',{'class':'footnotes',..._0x1ae9ff},[_0x491229,_0x64893f]);}function b(_0x45b480,_0x1ee86b){const _0x3e89a5=_0x45b480['getAttribute']('footnoteId'),_0x15645d=_0x45b480['getAttribute']('footnoteCounter'),_0x4f18a3=_0x1ee86b['createUIElement']('a',{'href':'#'+_0x3e89a5},function(_0x68bbfa){const _0x768379=this['toDomElement'](_0x68bbfa);return _0x768379['textContent']=_0x15645d,_0x768379;}),_0x4f876a=_0x1ee86b['createContainerElement']('sup',{'id':'ref-'+_0x3e89a5,'class':'footnote'},[_0x4f18a3]);return _0x4f876a['getFillerOffset']=()=>null,_0x4f876a;}function y(_0x5a4e5f,_0x1f5e1b,_0x1a3e38,{dataPipeline:_0x9d615f}={}){const {t:t}=_0x1a3e38,_0x5943da=_0x5a4e5f['getAttribute']('footnoteId'),_0x4c1b68=_0x1f5e1b['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5943da},function(_0x3cbaf3){const _0x2ddc8a=this['toDomElement'](_0x3cbaf3);return _0x2ddc8a['innerText']='^',_0x2ddc8a;}),_0x19c41d=_0x9d615f?_0x1f5e1b['createContainerElement']('div',{'class':'footnote-content'}):_0xe026d4(_0x1f5e1b['createEditableElement']('div',{'class':'footnote-content'}),_0x1f5e1b,{'label':t('Footnote\x20content.')});return _0x1f5e1b['insert'](_0x1f5e1b['createPositionAt'](_0x19c41d,0x0),_0x1f5e1b['createSlot']()),_0x1f5e1b['createContainerElement']('li',{'class':'footnote-definition','id':_0x5943da},[_0x4c1b68,_0x19c41d]);}class e extends _0x2cb8f8{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0xfcd335];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x52223f}=this,{plugins:_0x546b64,model:_0x4920eb}=_0x52223f,_0x1386eb=_0x546b64['get'](_0xfcd335),_0x18f112=_0x546b64['get'](f);this['listenTo'](_0x1386eb,'outputTransformation',(_0x4000ee,_0x3a4480)=>{const _0x4eeff8=l(_0x4920eb['createRangeIn'](_0x3a4480['content']));if(!_0x4eeff8['length'])return;const _0x4d5104=_0x18f112['getFootnotes'](),_0x5c978f=_0x4eeff8['reduce']((_0x3c6454,_0x1edbeb)=>{const _0x392703=_0x4d5104['find'](_0x218453=>_0x218453['id']===_0x1edbeb);if(_0x392703){const _0x1f6039=_0x52223f['data']['toView'](_0x392703['definition'],{'isClipboardPipeline':!0x0}),_0x4751b6=_0x52223f['data']['htmlProcessor']['toData'](_0x1f6039);_0x3c6454[_0x392703['id']]=_0x4751b6;}return _0x3c6454;},Object['create'](null));_0x3a4480['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5c978f));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1573c8}=this,{model:_0x2cf6cb,plugins:_0x5b3511}=_0x1573c8,{view:_0x44eb70}=_0x1573c8['editing'],_0x58d17c=_0x5b3511['get'](_0xfcd335),_0x4d2b0d=_0x5b3511['get'](f),_0x2f3903=_0x1573c8['config']['get']('footnotes.multiBlock');let _0x51f381=null;this['listenTo'](_0x44eb70['document'],'clipboardInput',(_0x38e5b0,_0x6a16ca)=>{const _0x51982f=_0x6a16ca['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x51f381=_0x51982f?JSON['parse'](_0x51982f):null;}),this['listenTo'](_0x58d17c,'contentInsertion',(_0x3af7a8,_0x317d42)=>{const _0x39f583=_0x317d42['sourceEditorId']===this['editor']['id'];_0x39f583&&'drop'===_0x317d42['method']||_0x2cf6cb['change'](_0x151317=>{let _0x1c8233=_0x4d2b0d['getFootnotesDefinitionsObjectElement']();const _0x4c1f3d=!!_0x1c8233&&Array['from'](_0x2cf6cb['document']['selection']['getSelectedBlocks']())['includes'](_0x1c8233);if(!_0x51f381&&function(_0x518945){for(const {item:_0x1d9212}of _0x518945)if(_0x1d9212['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2cf6cb['createRangeIn'](_0x317d42['content']))&&(_0x51f381=function(_0x35ea84,_0xb15235){const _0x497340=c(_0x35ea84,_0xb15235);if(!_0x497340)return null;const _0x451ec9=Object['create'](null);for(const _0x54a7e4 of _0x497340['getChildren']())_0x54a7e4['is']('element','footnoteDefinition')&&_0x54a7e4['hasAttribute']('footnoteId')&&(_0x451ec9[_0x54a7e4['getAttribute']('footnoteId')]=_0x35ea84['cloneElement'](_0x54a7e4,!0x0));return Object['keys'](_0x451ec9)['length']?_0x451ec9:null;}(_0x151317,_0x317d42['content'])),(_0x1c8233&&!_0x4c1f3d||!_0x1c8233&&!_0x51f381)&&function(_0x1d3061,_0x1a9552){const _0x16f50e=[];for(const {item:_0x1d0851}of _0x1d3061['createRangeIn'](_0x1a9552))_0x1d0851['is']('element','footnotesDefinitions')&&_0x16f50e['push'](_0x1d0851);for(const _0x278115 of _0x16f50e)_0x1d3061['remove'](_0x278115);}(_0x151317,_0x317d42['content']),!_0x51f381)return;const {selection:_0x5abca8}=_0x2cf6cb['document'],_0x391fae=_0x5abca8['getFirstRange']()['root'];_0x1c8233&&!_0x4c1f3d||(_0x1c8233=c(_0x151317,_0x317d42['content']),_0x1c8233||=_0x4d2b0d['_insertEmptyFootnotesDefinitionsContainer'](_0x151317,_0x391fae));const _0x9dfe2d=Array['from'](_0x5abca8['getRanges']())['flatMap'](l),_0x1d2a84=function(_0x2967ab,_0x1277ca,_0x577810){const _0x30e8bc=Object['create'](null);for(const {item:_0x2b7e65}of _0x2967ab['createRangeIn'](_0x1277ca))if(_0x2b7e65['is']('element','footnoteRef')){const _0x13742f=_0x2b7e65['getAttribute']('footnoteId');if(!_0x577810(_0x13742f))continue;_0x30e8bc[_0x13742f]||(_0x30e8bc[_0x13742f]=_0x8f38f()),_0x2967ab['setAttribute']('footnoteId',_0x30e8bc[_0x13742f],_0x2b7e65);}return _0x30e8bc;}(_0x151317,_0x317d42['content'],_0x213d40=>{if(!_0x39f583)return!0x0;return!!_0x4d2b0d['getFootnote'](_0x213d40)&&!_0x9dfe2d['includes'](_0x213d40);});for(const [_0x1d3a5d,_0x118508]of Object['entries'](_0x51f381)){const _0x45991a=_0x1d2a84[_0x1d3a5d]||_0x1d3a5d;let _0x525e55;if('string'!=typeof _0x118508)_0x525e55=_0x118508,_0x45991a!==_0x1d3a5d&&_0x151317['setAttribute']('footnoteId',_0x45991a,_0x525e55);else{_0x525e55=_0x151317['createElement']('footnoteDefinition',{'footnoteId':_0x45991a});const _0x4590cc=_0x1573c8['data']['htmlProcessor']['toView'](_0x118508);let _0x480faf;if(_0x2f3903)_0x480faf=_0x1573c8['data']['toModel'](_0x4590cc,_0x525e55);else{_0x480faf=_0x151317['createElement']('footnoteInlineContent');const _0x569948=_0x1573c8['data']['toModel'](_0x4590cc,_0x480faf);_0x151317['insert'](_0x569948,_0x480faf);}_0x151317['append'](_0x480faf,_0x525e55);}_0x151317['insert'](_0x525e55,_0x1c8233,'end');}_0x51f381=null;});});}}function c(_0x44188f,_0xbfbfe2){for(const {item:_0x1ded80}of _0x44188f['createRangeIn'](_0xbfbfe2))if(_0x1ded80['is']('element','footnotesDefinitions'))return _0x1ded80;return null;}function l(_0x39fbc3){const _0x3ab834=new Set();for(const {item:_0x3aa65b}of _0x39fbc3)_0x3aa65b['is']('element','footnoteRef')&&_0x3ab834['add'](_0x3aa65b['getAttribute']('footnoteId'));return Array['from'](_0x3ab834);}class i extends _0x2cb8f8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x387ae8}=this,{componentFactory:_0x53b84e}=_0x387ae8['ui'];_0x53b84e['add']('insertFootnote',E(_0x387ae8,_0x4b4e2f)),_0x53b84e['add']('menuBar:insertFootnote',E(_0x387ae8,_0x2fb2a7)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x513df1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xd3d2aa;for(const _0x2776da in _0x513df1){const _0x5a0bc9=_0x2776da,_0x5d83b4=_0x513df1[_0x5a0bc9];if('footnotesLicenseKeyValid'==_0x5d83b4||'footnotesLicenseKeyInvalid'==_0x5d83b4||'footnotesLicenseKeyExpired'==_0x5d83b4||'footnotesLicenseKeyDomainLimit'==_0x5d83b4||'footnotesLicenseKeyNotAllowed'==_0x5d83b4||'footnotesLicenseKeyEvaluationLimit'==_0x5d83b4||'footnotesLicenseKeyUsageLimit'==_0x5d83b4){delete _0x513df1[_0x5a0bc9],_0xd3d2aa=_0x5d83b4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xd3d2aa&&_0x513df1['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xd3d2aa&&_0x513df1['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xd3d2aa&&_0x513df1['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xd3d2aa&&_0x513df1['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xd3d2aa&&_0x513df1['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0xd3d2aa&&_0x513df1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x1fc9e0,_0x3d66ef){const _0x117500=_0x1fc9e0['commands']['get']('insertFootnote');return _0x2a9a39=>{const {t:t}=_0x2a9a39,_0x5889d9=new _0x3d66ef(_0x2a9a39),_0x59e45e=_0x5889d9 instanceof _0x2fb2a7;return _0x5889d9['bind']('isEnabled')['to'](_0x117500,'isEnabled'),_0x5889d9['set']({'label':t(_0x59e45e?'Footnote':'Insert\x20footnote'),'icon':_0xb948b1,'tooltip':!0x0}),_0x5889d9['on']('execute',()=>{_0x117500['execute'](),_0x1fc9e0['editing']['view']['focus']();}),_0x5889d9;};}class Footnotes extends _0x2cb8f8{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 _0x5cbc87{['refresh'](){const {editor:_0x13a605}=this,_0x42a050=_0x13a605['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x42a050,this['value']=_0x42a050?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x174313}){const {editor:_0x11d0bc}=this,_0x26b344=_0x11d0bc['plugins']['get'](f),_0x37b91c=_0x26b344['getFootnotesDefinitionsObjectElement']();_0x37b91c&&W['includes'](_0x174313)&&_0x11d0bc['model']['change'](_0x537d4f=>{_0x537d4f['setAttribute']('footnotesListStyle',_0x174313,_0x37b91c),_0x26b344['_updateFootnotesCounters'](_0x537d4f);});}}class C extends _0x5cbc87{['refresh'](){const {editor:_0x396a37}=this,_0x21aac2=_0x396a37['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x21aac2,this['value']=_0x21aac2?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x35e92e}){const {editor:_0x287bce}=this,_0xab2e9a=_0x287bce['plugins']['get'](f),_0x159117=_0xab2e9a['getFootnotesDefinitionsObjectElement']();_0x159117&&Number['isInteger'](_0x35e92e)&&_0x287bce['model']['change'](_0x477a3c=>{_0x477a3c['setAttribute']('footnotesListStart',_0x35e92e,_0x159117),_0xab2e9a['_updateFootnotesCounters'](_0x477a3c);});}}class P extends _0x2cb8f8{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5ca622}=this;_0x5ca622['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5ca622['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5ca622['commands']['add']('footnotesStyle',new S(_0x5ca622)),_0x5ca622['commands']['add']('footnotesStart',new C(_0x5ca622)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x560b51}=this,{schema:_0x528f88}=_0x560b51['model'];_0x528f88['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x5428e0}=this,{conversion:_0xc659c0,model:_0x459f3a}=_0x5428e0,{schema:_0x5b703f}=_0x459f3a;_0xc659c0['for']('upcast')['add'](_0x2b4020=>{_0x2b4020['on']('element:ol',(_0xdf46cc,_0x4d4a63,_0x42fec6)=>{const _0x2983b5=_0x4d4a63['viewItem'],_0x2df638=_0x4d4a63['modelCursor']?.['parent'];_0x2983b5['hasClass']('footnotes-list')&&_0x2df638?.['is']('element','footnotesDefinitions')&&(function(_0xc0d839,_0x4b4c44,_0x4b4a4a,_0x520589){if(!_0x520589['checkAttribute'](_0x4b4c44,'footnotesListStart'))return;let _0x268244=0x1;const _0x649629=_0x4b4a4a['consumable']['consume'](_0xc0d839,{'attributes':'start'});if(_0x649629){const _0x14b659=Number['parseInt'](_0xc0d839['getAttribute']('start'),0xa);Number['isNaN'](_0x14b659)||(_0x268244=_0x14b659);}!_0x649629&&_0x4b4c44['hasAttribute']('footnotesListStart')||_0x4b4a4a['writer']['setAttribute']('footnotesListStart',_0x268244,_0x4b4c44);}(_0x2983b5,_0x2df638,_0x42fec6,_0x5b703f),function(_0x217b7b,_0x154eeb,_0x1b49c4,_0x1a4404){if(!_0x1a4404['checkAttribute'](_0x154eeb,'footnotesListStyle'))return;let _0x2b2deb='decimal',_0x27b885=!0x1;if(_0x1b49c4['consumable']['consume'](_0x217b7b,{'attributes':'type'})){const _0x43e06f={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x217b7b['getAttribute']('type')];_0x43e06f&&(_0x2b2deb=_0x43e06f),_0x27b885=!0x0;}_0x1b49c4['consumable']['consume'](_0x217b7b,{'styles':'list-style-type'})&&(_0x2b2deb=function(_0x3f2d9b){switch(_0x3f2d9b){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x3f2d9b;}}(_0x217b7b['getStyle']('list-style-type')),_0x27b885=!0x0),!_0x27b885&&_0x154eeb['hasAttribute']('footnotesListStyle')||_0x1b49c4['writer']['setAttribute']('footnotesListStyle',_0x2b2deb,_0x154eeb);}(_0x2983b5,_0x2df638,_0x42fec6,_0x5b703f));});}),_0xc659c0['for']('downcast')['add'](_0x3093db=>{_0x3093db['on']('attribute:footnotesListStart:footnotesDefinitions',(_0xe834b7,_0x41ba0e,_0x4e0e73)=>{if(!_0x4e0e73['consumable']['consume'](_0x41ba0e['item'],_0xe834b7['name']))return;const _0xf7af38=M(_0x41ba0e['item'],_0x4e0e73['mapper']),{attributeNewValue:_0x3ffb7f}=_0x41ba0e;null==_0x3ffb7f||0x1===_0x3ffb7f?_0x4e0e73['writer']['removeAttribute']('start',_0xf7af38):_0x4e0e73['writer']['setAttribute']('start',String(_0x3ffb7f),_0xf7af38);}),_0x3093db['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x319fb5,_0x3e18da,_0x27c3d7)=>{if(!_0x27c3d7['consumable']['consume'](_0x3e18da['item'],_0x319fb5['name']))return;const _0xb3bf9a=M(_0x3e18da['item'],_0x27c3d7['mapper']),{attributeNewValue:_0x4692d1}=_0x3e18da;_0x4692d1&&'decimal'!==_0x4692d1?_0x27c3d7['writer']['setStyle']('list-style-type',_0x4692d1,_0xb3bf9a):_0x27c3d7['writer']['removeStyle']('list-style-type',_0xb3bf9a);});});}['_definePostfixer'](){const {editor:_0x36c2d8}=this,{model:_0x690d84}=_0x36c2d8,_0x59d63c=_0x36c2d8['plugins']['get'](f),_0x295d9e=this['_getDefaultListStyle'](),_0x1950ab=this['_getDefaultStartIndex']();_0x690d84['document']['registerPostFixer'](_0x58405f=>{const _0x1e9925=_0x690d84['document']['differ']['getChanges']();let _0x38d27b=!0x1;for(const _0x245870 of _0x1e9925){if('insert'!==_0x245870['type']||'$text'===_0x245870['name'])continue;const _0x2c899a=_0x690d84['createRangeOn'](_0x245870['position']['nodeAfter']);for(const _0x29da9d of _0x2c899a['getItems']())_0x29da9d['is']('element','footnotesDefinitions')&&(!_0x29da9d['hasAttribute']('footnotesListStart')&&_0x690d84['schema']['checkAttribute'](_0x29da9d,'footnotesListStart')&&(_0x58405f['setAttribute']('footnotesListStart',_0x1950ab,_0x29da9d),_0x38d27b=!0x0),!_0x29da9d['hasAttribute']('footnotesListStyle')&&_0x690d84['schema']['checkAttribute'](_0x29da9d,'footnotesListStyle')&&(_0x58405f['setAttribute']('footnotesListStyle',_0x295d9e,_0x29da9d),_0x38d27b=!0x0));}return _0x38d27b&&_0x59d63c['_updateFootnotesCounters'](_0x58405f),_0x38d27b;});}['_defineFormatter'](){const {editor:_0x38c5b2}=this;_0x38c5b2['plugins']['get'](f)['setFootnoteFormatter'](_0x5a55ce=>this['_formatFootnoteListValue'](_0x5a55ce));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x383411,value:_0x2f0d30,digits:_0x2ea884}){const _0x4282d9=_0x383411['getAttribute']('footnotesListStyle'),_0x136296=_0x383411['getAttribute']('footnotesListStart'),_0x3372fc=Math['floor'](_0x2f0d30)+(_0x136296??0x1)-0x1;switch(_0x4282d9){case'decimal-leading-zero':return function(_0x4623a2,_0x34258d){return String(_0x4623a2)['padStart'](_0x34258d,'0');}(_0x3372fc,Math['max'](0x2,_0x2ea884));case'lower-alpha':case'lower-latin':return N(_0x3372fc,!0x1);case'upper-alpha':case'upper-latin':return N(_0x3372fc,!0x0);case'lower-roman':return X(_0x3372fc,!0x1);case'upper-roman':return X(_0x3372fc,!0x0);default:return String(_0x3372fc);}}}function M(_0x2fbc70,_0x190538){const _0x255a52=_0x190538['toViewElement'](_0x2fbc70);return Array['from'](_0x255a52['getChildren']())['find'](_0x27760f=>_0x27760f['is']('element','ol')&&_0x27760f['hasClass']('footnotes-list'));}function N(_0x16acae,_0x5ed515){let _0x29b24a='',_0x4a50ba=_0x16acae;for(;_0x4a50ba>0x0;){const _0x544902=(_0x4a50ba-0x1)%0x1a;_0x29b24a=String['fromCharCode'](0x61+_0x544902)+_0x29b24a,_0x4a50ba=Math['floor']((_0x4a50ba-0x1)/0x1a);}return _0x5ed515?_0x29b24a['toUpperCase']():_0x29b24a;}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(_0x4c32a6,_0x1814f0){let _0x5bf7f3='',_0x1f8be9=_0x4c32a6;for(const {value:_0x5e817b,numeral:_0x328c49}of V)for(;_0x1f8be9>=_0x5e817b;)_0x5bf7f3+=_0x328c49,_0x1f8be9-=_0x5e817b;return _0x1814f0?_0x5bf7f3:_0x5bf7f3['toLowerCase']();}class J extends _0x4e4bbf{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x589861();['focusCycler'];constructor(_0x491c4b,{styleButtonViews:_0x10c3a2,styleGridAriaLabel:_0x23d3df}){super(_0x491c4b),(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'](_0x10c3a2,_0x23d3df),[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 _0x45750d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x45750d['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 _0x2a58f6=_0x36a1d5=>_0x36a1d5['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2a58f6),this['keystrokes']['set']('arrowleft',_0x2a58f6),this['keystrokes']['set']('arrowup',_0x2a58f6),this['keystrokes']['set']('arrowdown',_0x2a58f6);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x654d0e,_0x27c6b1){const _0x2cd2d5=new _0x4e4bbf(this['locale']);return _0x2cd2d5['children']=_0x2cd2d5['createCollection'](),_0x2cd2d5['children']['addMany'](_0x654d0e),_0x2cd2d5['setTemplate']({'tag':'div','attributes':{'aria-label':_0x27c6b1,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2cd2d5['children']}),_0x2cd2d5['children']['delegate']('execute')['to'](this),_0x2cd2d5['focus']=function(){for(const _0x237ce0 of this['children'])if(_0x237ce0 instanceof _0x4b4e2f&&_0x237ce0['isOn'])return void _0x237ce0['focus']();this['children']['first']['focus']();},_0x2cd2d5['focusTracker']=new rt(),_0x2cd2d5['keystrokes']=new nt(),_0x2cd2d5['render'](),_0x2cd2d5['keystrokes']['listenTo'](_0x2cd2d5['element']),this['children']['add'](_0x2cd2d5),_0x2cd2d5;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1110ee=this['_createStartIndexPropertyView'](),_0x24ff98=[_0x1110ee],_0x817bac=new it(this['locale'],_0x24ff98);return _0x817bac['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x817bac['buttonView']['bind']('isEnabled')['toMany'](_0x24ff98,'isEnabled',(..._0x5bffff)=>_0x5bffff['some'](_0x322b67=>_0x322b67)),_0x817bac['buttonView']['on']('change:isEnabled',(_0x4d67f6,_0x221e8d,_0x16c8c9)=>{_0x16c8c9||(_0x817bac['isCollapsed']=!0x0);}),this['children']['add'](_0x817bac),[_0x1110ee,_0x817bac];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2ec11c=new et(this['locale'],ot);return _0x2ec11c['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2ec11c['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2ec11c['fieldView']['on']('input',()=>{const _0x1dbf2e=_0x2ec11c['fieldView']['element'],_0x4fb1f6=_0x1dbf2e['valueAsNumber'];Number['isNaN'](_0x4fb1f6)?_0x2ec11c['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1dbf2e['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4fb1f6}):_0x2ec11c['errorText']=t(_0x4fb1f6<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2ec11c;}}class j extends _0x2cb8f8{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x372daf,_0x1f0d24];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x42f4b9}=this,{componentFactory:_0x1fc48c}=_0x42f4b9['ui'];_0x42f4b9['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1fc48c['add']('footnotesStyle',function(_0x301cb3){return _0x1177a8=>{const {t:t}=_0x1177a8,_0xd5f4cb=_0x301cb3['commands']['get']('footnotesStyle'),_0xabc318=_0x1e5899(_0x1177a8),{buttonView:_0x4b7692}=_0xabc318;return _0xabc318['class']='ck-footnotes-styles-dropdown',_0xabc318['bind']('isEnabled')['to'](_0xd5f4cb,'isEnabled'),_0x4b7692['set']({'label':t('Footnotes\x20style'),'icon':_0xb948b1,'tooltip':!0x0}),_0xabc318['once']('change:isOpen',()=>{const _0x13a5fa=function({editor:_0x4acdc1,dropdownView:_0x3c5e2d}){const {t:t}=_0x4acdc1['locale'],_0x785e71=t('Footnotes\x20definitions\x20styles'),_0x25dbf4=function(_0x4637ba){const t=_0x4637ba['locale']['t'],_0x4cbf4e=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1bb748},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4a4bf5},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x59a039},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x102590},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x1aad39},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x10cf7a}];return _0x4cbf4e['map'](function(_0x570b3c){const _0x39a002=_0x570b3c['locale'];return({label:_0x23a136,icon:_0x4f5dd8,tooltip:_0xd84819,style:_0x44a292})=>{const _0x1402d9=_0x570b3c['commands']['get']('footnotesStyle'),_0x480456=new _0x4b4e2f(_0x39a002);return _0x480456['set']({'label':_0x23a136,'icon':_0x4f5dd8,'tooltip':_0xd84819}),_0x480456['bind']('isOn')['to'](_0x1402d9,'value',_0x1301d0=>_0x1301d0===_0x44a292),_0x480456['bind']('isEnabled')['to'](_0x1402d9,'isEnabled'),_0x480456['on']('execute',()=>{_0x570b3c['execute']('footnotesStyle',{'value':_0x44a292}),_0x570b3c['editing']['view']['focus']();}),_0x480456;};}(_0x4637ba));}(_0x4acdc1),_0x11f28c=new J(_0x4acdc1['locale'],{'styleGridAriaLabel':_0x785e71,'styleButtonViews':_0x25dbf4}),_0x35e140=_0x4acdc1['commands']['get']('footnotesStart');return _0x11f28c['startIndexFieldView']['bind']('isEnabled')['to'](_0x35e140),_0x11f28c['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x35e140),_0x11f28c['on']('footnotesListStart',(_0x4f43e2,_0x5debfd)=>{_0x4acdc1['execute']('footnotesStart',{'value':_0x5debfd['startIndex']});}),_0x11f28c['delegate']('execute')['to'](_0x3c5e2d),_0x11f28c;}({'editor':_0x301cb3,'dropdownView':_0xabc318});_0xabc318['panelView']['children']['add'](_0x13a5fa);}),_0xabc318;};}(_0x42f4b9));}['afterInit'](){const {editor:_0x316e6e}=this,{t:t}=_0x316e6e['locale'],_0x2a9061=_0x316e6e['plugins']['get'](_0x1f0d24),{defaultPositions:_0x12438b}=_0x21a899;_0x2a9061['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x316e6e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3e83e3=>{let _0xc30abb=_0x3e83e3['getFirstPosition']()?.['parent'];return _0xc30abb?.['is']('$text')&&(_0xc30abb=_0xc30abb['parent']),_0xc30abb?.['is']('element')?_0xc30abb['findAncestor'](Q):null;},'positions':[_0x12438b['southArrowNorth'],_0x12438b['southArrowNorthMiddleWest'],_0x12438b['southArrowNorthMiddleEast'],_0x12438b['southArrowNorthWest'],_0x12438b['southArrowNorthEast'],_0x12438b['northArrowSouth'],_0x12438b['northArrowSouthMiddleWest'],_0x12438b['northArrowSouthMiddleEast'],_0x12438b['northArrowSouthWest'],_0x12438b['northArrowSouthEast'],_0x12438b['viewportStickyNorth']]});}}class FootnotesProperties extends _0x2cb8f8{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Footnotes,e as FootnotesClipboard,r as FootnotesEditing,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':_0x3a1cff=>0x1!=_0x3a1cff}};
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':_0x61e8d2=>0x1!=_0x61e8d2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x54d9ac=>{const {af:{dictionary:_0x20be07,getPluralForm:_0x5e9859}}={'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':_0x297a10=>0x1!=_0x297a10}};_0x54d9ac['af']||={'dictionary':{},'getPluralForm':null},_0x54d9ac['af']['dictionary']=Object['assign'](_0x54d9ac['af']['dictionary'],_0x20be07),_0x54d9ac['af']['getPluralForm']=_0x5e9859;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x86ef9=>{const {af:{dictionary:_0x1cb19e,getPluralForm:_0x2d4f4a}}={'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':_0x470c9b=>0x1!=_0x470c9b}};_0x86ef9['af']||={'dictionary':{},'getPluralForm':null},_0x86ef9['af']['dictionary']=Object['assign'](_0x86ef9['af']['dictionary'],_0x1cb19e),_0x86ef9['af']['getPluralForm']=_0x2d4f4a;})(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':_0x6b0bfc=>0x0==_0x6b0bfc?0x0:0x1==_0x6b0bfc?0x1:0x2==_0x6b0bfc?0x2:_0x6b0bfc%0x64>=0x3&&_0x6b0bfc%0x64<=0xa?0x3:_0x6b0bfc%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':_0x552bf5=>0x0==_0x552bf5?0x0:0x1==_0x552bf5?0x1:0x2==_0x552bf5?0x2:_0x552bf5%0x64>=0x3&&_0x552bf5%0x64<=0xa?0x3:_0x552bf5%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x242561=>{const {ar:{dictionary:_0x3f7d39,getPluralForm:_0x2761a8}}={'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':_0xb9cf8c=>0x0==_0xb9cf8c?0x0:0x1==_0xb9cf8c?0x1:0x2==_0xb9cf8c?0x2:_0xb9cf8c%0x64>=0x3&&_0xb9cf8c%0x64<=0xa?0x3:_0xb9cf8c%0x64>=0xb?0x4:0x5}};_0x242561['ar']||={'dictionary':{},'getPluralForm':null},_0x242561['ar']['dictionary']=Object['assign'](_0x242561['ar']['dictionary'],_0x3f7d39),_0x242561['ar']['getPluralForm']=_0x2761a8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xab25b8=>{const {ar:{dictionary:_0x54a531,getPluralForm:_0x3e4adb}}={'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':_0x111786=>0x0==_0x111786?0x0:0x1==_0x111786?0x1:0x2==_0x111786?0x2:_0x111786%0x64>=0x3&&_0x111786%0x64<=0xa?0x3:_0x111786%0x64>=0xb?0x4:0x5}};_0xab25b8['ar']||={'dictionary':{},'getPluralForm':null},_0xab25b8['ar']['dictionary']=Object['assign'](_0xab25b8['ar']['dictionary'],_0x54a531),_0xab25b8['ar']['getPluralForm']=_0x3e4adb;})(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':_0x1d70d6=>0x1!=_0x1d70d6}};
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':_0x5b1aaa=>0x1!=_0x5b1aaa}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x474b37=>{const {ast:{dictionary:_0x594319,getPluralForm:_0x16ac39}}={'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':_0x33d8ab=>0x1!=_0x33d8ab}};_0x474b37['ast']||={'dictionary':{},'getPluralForm':null},_0x474b37['ast']['dictionary']=Object['assign'](_0x474b37['ast']['dictionary'],_0x594319),_0x474b37['ast']['getPluralForm']=_0x16ac39;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x29287c=>{const {ast:{dictionary:_0x328db7,getPluralForm:_0x356f87}}={'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':_0x19e378=>0x1!=_0x19e378}};_0x29287c['ast']||={'dictionary':{},'getPluralForm':null},_0x29287c['ast']['dictionary']=Object['assign'](_0x29287c['ast']['dictionary'],_0x328db7),_0x29287c['ast']['getPluralForm']=_0x356f87;})(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':_0x854874=>0x1!=_0x854874}};
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':_0xfa136b=>0x1!=_0xfa136b}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x317f58=>{const {az:{dictionary:_0x1c60ec,getPluralForm:_0x52f6d9}}={'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':_0x24370a=>0x1!=_0x24370a}};_0x317f58['az']||={'dictionary':{},'getPluralForm':null},_0x317f58['az']['dictionary']=Object['assign'](_0x317f58['az']['dictionary'],_0x1c60ec),_0x317f58['az']['getPluralForm']=_0x52f6d9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x373956=>{const {az:{dictionary:_0x4f178d,getPluralForm:_0x4806ae}}={'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':_0x10c87b=>0x1!=_0x10c87b}};_0x373956['az']||={'dictionary':{},'getPluralForm':null},_0x373956['az']['dictionary']=Object['assign'](_0x373956['az']['dictionary'],_0x4f178d),_0x373956['az']['getPluralForm']=_0x4806ae;})(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':_0x3aa359=>_0x3aa359%0xa==0x1&&_0x3aa359%0x64!=0xb?0x0:_0x3aa359%0xa>=0x2&&_0x3aa359%0xa<=0x4&&(_0x3aa359%0x64<0xa||_0x3aa359%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':_0x1d989e=>_0x1d989e%0xa==0x1&&_0x1d989e%0x64!=0xb?0x0:_0x1d989e%0xa>=0x2&&_0x1d989e%0xa<=0x4&&(_0x1d989e%0x64<0xa||_0x1d989e%0x64>=0x14)?0x1:0x2}};