@ckeditor/ckeditor5-footnotes 47.2.0-alpha.1 → 47.2.0-alpha.3

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 (240) hide show
  1. package/build/footnotes.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fi.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/he.js +1 -1
  15. package/build/translations/hi.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/ko.js +1 -1
  21. package/build/translations/lt.js +1 -1
  22. package/build/translations/lv.js +1 -1
  23. package/build/translations/ms.js +1 -1
  24. package/build/translations/nl.js +1 -1
  25. package/build/translations/no.js +1 -1
  26. package/build/translations/pl.js +1 -1
  27. package/build/translations/pt-br.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sk.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/dist/index.js +1 -1
  41. package/dist/translations/af.js +1 -1
  42. package/dist/translations/af.umd.js +1 -1
  43. package/dist/translations/ar.js +1 -1
  44. package/dist/translations/ar.umd.js +1 -1
  45. package/dist/translations/ast.js +1 -1
  46. package/dist/translations/ast.umd.js +1 -1
  47. package/dist/translations/az.js +1 -1
  48. package/dist/translations/az.umd.js +1 -1
  49. package/dist/translations/be.js +1 -1
  50. package/dist/translations/be.umd.js +1 -1
  51. package/dist/translations/bg.js +1 -1
  52. package/dist/translations/bg.umd.js +1 -1
  53. package/dist/translations/bn.js +1 -1
  54. package/dist/translations/bn.umd.js +1 -1
  55. package/dist/translations/bs.js +1 -1
  56. package/dist/translations/bs.umd.js +1 -1
  57. package/dist/translations/ca.js +1 -1
  58. package/dist/translations/ca.umd.js +1 -1
  59. package/dist/translations/cs.js +1 -1
  60. package/dist/translations/cs.umd.js +1 -1
  61. package/dist/translations/da.js +1 -1
  62. package/dist/translations/da.umd.js +1 -1
  63. package/dist/translations/de-ch.js +1 -1
  64. package/dist/translations/de-ch.umd.js +1 -1
  65. package/dist/translations/de.js +1 -1
  66. package/dist/translations/de.umd.js +1 -1
  67. package/dist/translations/el.js +1 -1
  68. package/dist/translations/el.umd.js +1 -1
  69. package/dist/translations/en-au.js +1 -1
  70. package/dist/translations/en-au.umd.js +1 -1
  71. package/dist/translations/en-gb.js +1 -1
  72. package/dist/translations/en-gb.umd.js +1 -1
  73. package/dist/translations/en.js +1 -1
  74. package/dist/translations/en.umd.js +1 -1
  75. package/dist/translations/eo.js +1 -1
  76. package/dist/translations/eo.umd.js +1 -1
  77. package/dist/translations/es-co.js +1 -1
  78. package/dist/translations/es-co.umd.js +1 -1
  79. package/dist/translations/es.js +1 -1
  80. package/dist/translations/es.umd.js +1 -1
  81. package/dist/translations/et.js +1 -1
  82. package/dist/translations/et.umd.js +1 -1
  83. package/dist/translations/eu.js +1 -1
  84. package/dist/translations/eu.umd.js +1 -1
  85. package/dist/translations/fa.js +1 -1
  86. package/dist/translations/fa.umd.js +1 -1
  87. package/dist/translations/fi.js +1 -1
  88. package/dist/translations/fi.umd.js +1 -1
  89. package/dist/translations/fr.js +1 -1
  90. package/dist/translations/fr.umd.js +1 -1
  91. package/dist/translations/gl.js +1 -1
  92. package/dist/translations/gl.umd.js +1 -1
  93. package/dist/translations/gu.js +1 -1
  94. package/dist/translations/gu.umd.js +1 -1
  95. package/dist/translations/he.js +1 -1
  96. package/dist/translations/he.umd.js +1 -1
  97. package/dist/translations/hi.js +1 -1
  98. package/dist/translations/hi.umd.js +1 -1
  99. package/dist/translations/hr.js +1 -1
  100. package/dist/translations/hr.umd.js +1 -1
  101. package/dist/translations/hu.js +1 -1
  102. package/dist/translations/hu.umd.js +1 -1
  103. package/dist/translations/hy.js +1 -1
  104. package/dist/translations/hy.umd.js +1 -1
  105. package/dist/translations/id.js +1 -1
  106. package/dist/translations/id.umd.js +1 -1
  107. package/dist/translations/it.js +1 -1
  108. package/dist/translations/it.umd.js +1 -1
  109. package/dist/translations/ja.js +1 -1
  110. package/dist/translations/ja.umd.js +1 -1
  111. package/dist/translations/jv.js +1 -1
  112. package/dist/translations/jv.umd.js +1 -1
  113. package/dist/translations/kk.js +1 -1
  114. package/dist/translations/kk.umd.js +1 -1
  115. package/dist/translations/km.js +1 -1
  116. package/dist/translations/km.umd.js +1 -1
  117. package/dist/translations/kn.js +1 -1
  118. package/dist/translations/kn.umd.js +1 -1
  119. package/dist/translations/ko.js +1 -1
  120. package/dist/translations/ko.umd.js +1 -1
  121. package/dist/translations/ku.js +1 -1
  122. package/dist/translations/ku.umd.js +1 -1
  123. package/dist/translations/lt.js +1 -1
  124. package/dist/translations/lt.umd.js +1 -1
  125. package/dist/translations/lv.js +1 -1
  126. package/dist/translations/lv.umd.js +1 -1
  127. package/dist/translations/ms.js +1 -1
  128. package/dist/translations/ms.umd.js +1 -1
  129. package/dist/translations/nb.js +1 -1
  130. package/dist/translations/nb.umd.js +1 -1
  131. package/dist/translations/ne.js +1 -1
  132. package/dist/translations/ne.umd.js +1 -1
  133. package/dist/translations/nl.js +1 -1
  134. package/dist/translations/nl.umd.js +1 -1
  135. package/dist/translations/no.js +1 -1
  136. package/dist/translations/no.umd.js +1 -1
  137. package/dist/translations/oc.js +1 -1
  138. package/dist/translations/oc.umd.js +1 -1
  139. package/dist/translations/pl.js +1 -1
  140. package/dist/translations/pl.umd.js +1 -1
  141. package/dist/translations/pt-br.js +1 -1
  142. package/dist/translations/pt-br.umd.js +1 -1
  143. package/dist/translations/pt.js +1 -1
  144. package/dist/translations/pt.umd.js +1 -1
  145. package/dist/translations/ro.js +1 -1
  146. package/dist/translations/ro.umd.js +1 -1
  147. package/dist/translations/ru.js +1 -1
  148. package/dist/translations/ru.umd.js +1 -1
  149. package/dist/translations/si.js +1 -1
  150. package/dist/translations/si.umd.js +1 -1
  151. package/dist/translations/sk.js +1 -1
  152. package/dist/translations/sk.umd.js +1 -1
  153. package/dist/translations/sl.js +1 -1
  154. package/dist/translations/sl.umd.js +1 -1
  155. package/dist/translations/sq.js +1 -1
  156. package/dist/translations/sq.umd.js +1 -1
  157. package/dist/translations/sr-latn.js +1 -1
  158. package/dist/translations/sr-latn.umd.js +1 -1
  159. package/dist/translations/sr.js +1 -1
  160. package/dist/translations/sr.umd.js +1 -1
  161. package/dist/translations/sv.js +1 -1
  162. package/dist/translations/sv.umd.js +1 -1
  163. package/dist/translations/th.js +1 -1
  164. package/dist/translations/th.umd.js +1 -1
  165. package/dist/translations/ti.js +1 -1
  166. package/dist/translations/ti.umd.js +1 -1
  167. package/dist/translations/tk.js +1 -1
  168. package/dist/translations/tk.umd.js +1 -1
  169. package/dist/translations/tr.js +1 -1
  170. package/dist/translations/tr.umd.js +1 -1
  171. package/dist/translations/tt.js +1 -1
  172. package/dist/translations/tt.umd.js +1 -1
  173. package/dist/translations/ug.js +1 -1
  174. package/dist/translations/ug.umd.js +1 -1
  175. package/dist/translations/uk.js +1 -1
  176. package/dist/translations/uk.umd.js +1 -1
  177. package/dist/translations/ur.js +1 -1
  178. package/dist/translations/ur.umd.js +1 -1
  179. package/dist/translations/uz.js +1 -1
  180. package/dist/translations/uz.umd.js +1 -1
  181. package/dist/translations/vi.js +1 -1
  182. package/dist/translations/vi.umd.js +1 -1
  183. package/dist/translations/zh-cn.js +1 -1
  184. package/dist/translations/zh-cn.umd.js +1 -1
  185. package/dist/translations/zh.js +1 -1
  186. package/dist/translations/zh.umd.js +1 -1
  187. package/lang/translations/ar.po +25 -25
  188. package/lang/translations/bg.po +25 -25
  189. package/lang/translations/bn.po +25 -25
  190. package/lang/translations/ca.po +25 -25
  191. package/lang/translations/cs.po +25 -25
  192. package/lang/translations/da.po +25 -25
  193. package/lang/translations/de.po +25 -25
  194. package/lang/translations/el.po +25 -25
  195. package/lang/translations/es.po +25 -25
  196. package/lang/translations/et.po +25 -25
  197. package/lang/translations/fi.po +25 -25
  198. package/lang/translations/fr.po +25 -25
  199. package/lang/translations/he.po +25 -25
  200. package/lang/translations/hi.po +25 -25
  201. package/lang/translations/hu.po +25 -25
  202. package/lang/translations/id.po +25 -25
  203. package/lang/translations/it.po +25 -25
  204. package/lang/translations/ja.po +25 -25
  205. package/lang/translations/ko.po +25 -25
  206. package/lang/translations/lt.po +25 -25
  207. package/lang/translations/lv.po +25 -25
  208. package/lang/translations/ms.po +25 -25
  209. package/lang/translations/nl.po +25 -25
  210. package/lang/translations/no.po +25 -25
  211. package/lang/translations/pl.po +25 -25
  212. package/lang/translations/pt-br.po +25 -25
  213. package/lang/translations/pt.po +25 -25
  214. package/lang/translations/ro.po +25 -25
  215. package/lang/translations/ru.po +25 -25
  216. package/lang/translations/sk.po +25 -25
  217. package/lang/translations/sr.po +25 -25
  218. package/lang/translations/sv.po +25 -25
  219. package/lang/translations/th.po +25 -25
  220. package/lang/translations/tr.po +25 -25
  221. package/lang/translations/uk.po +25 -25
  222. package/lang/translations/vi.po +25 -25
  223. package/lang/translations/zh-cn.po +25 -25
  224. package/lang/translations/zh.po +25 -25
  225. package/package.json +9 -9
  226. package/src/commands/insertfootnotecommand.js +1 -1
  227. package/src/footnotes.js +1 -1
  228. package/src/footnotesclipboard.js +1 -1
  229. package/src/footnotesediting.js +1 -1
  230. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  231. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  232. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  233. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  234. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  235. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  236. package/src/footnotesproperties.js +1 -1
  237. package/src/footnotestracker.js +1 -1
  238. package/src/footnotesui.js +1 -1
  239. package/src/index.js +1 -1
  240. 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 _0x302acb,Command as _0x972a91}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x21eb6d,isWidget as _0x515044,toWidgetEditable as _0x1b5c8c,WidgetToolbarRepository as _0x2f3f84}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x3d8f0c,logWarning as _0x4a8a46,FocusTracker as it,KeystrokeHandler as et,global as ot}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3592c0,ClickObserver as _0x1cf444}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x86a3f0}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x5cfea6,ButtonView as _0x25aeef,View as _0x25c993,ViewCollection as _0x3380f7,FocusCycler as _0x530d95,addKeyboardHandlingForGrid as _0x29b8f7,CollapsibleView as _0x4d3919,LabeledFieldView as tt,createLabeledInputNumber as st,ContextualBalloon as _0x21dae5,BalloonPanelView as _0x18585e,createDropdown as _0x51466b}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0xa11323,IconListStyleDecimal as _0x5a2825,IconListStyleDecimalLeadingZero as _0x563462,IconListStyleLowerRoman as _0x3ab0c0,IconListStyleUpperRoman as _0x1da637,IconListStyleLowerLatin as _0x499afe,IconListStyleUpperLatin as _0x1a9851}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x297e14,_0x474e29){this['_model']=_0x297e14,this['_elementName']=_0x474e29['elementName'],this['_getElementKey']=_0x474e29['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3d256){const _0xaf350a=new Set(),_0xd2c360=new Map();for(const _0x97c395 of _0x3d256){if('insert'===_0x97c395['type']&&'$text'!==_0x97c395['name']&&_0x97c395['position']['nodeAfter']){const _0x3bf4b2=this['_model']['createRangeOn'](_0x97c395['position']['nodeAfter']);for(const _0x1a4d4b of _0x3bf4b2['getItems']()){if(!_0x1a4d4b['is']('element',this['_elementName']))continue;const _0x592887=this['_getElementKey'](_0x1a4d4b);_0xd2c360['has'](_0x592887)||_0xd2c360['set'](_0x592887,[]),_0xd2c360['get'](_0x592887)['push'](_0x1a4d4b);}}if('remove'===_0x97c395['type']&&_0x97c395['name']===this['_elementName']){const _0x47ecf7=this['_getElementKey']({'getAttribute':_0x3e0c8b=>_0x97c395['attributes']['get'](_0x3e0c8b)});_0xaf350a['add'](_0x47ecf7);}}for(const [_0x56151d,_0x52012d]of this['_trackedElements'])'$graveyard'===_0x52012d['root']['rootName']&&_0xaf350a['add'](_0x56151d);for(const _0x25e370 of _0xaf350a)this['_trackedElements']['delete'](_0x25e370);for(const [_0x4f82d0,_0x18613e]of _0xd2c360)this['_trackedElements']['set'](_0x4f82d0,_0x18613e[_0x18613e['length']-0x1]);const _0x19070a=new Set();for(const [_0x15def2,_0x2cf43b]of _0xd2c360)_0xaf350a['has'](_0x15def2)&&(_0x19070a['add'](_0x2cf43b[0x0]),_0x2cf43b['length']>0x1?_0xd2c360['set'](_0x15def2,_0x2cf43b['slice'](0x1)):_0xd2c360['delete'](_0x15def2),_0xaf350a['delete'](_0x15def2));return{'removed':Array['from'](_0xaf350a),'inserted':Array['from'](_0xd2c360['values']())['flat'](),'moved':Array['from'](_0x19070a)};}}class c extends _0x302acb{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4bab58){super(_0x4bab58),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3473a4=>_0x3473a4['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x16992e=>_0x16992e['getAttribute']('footnoteId')});}['init'](){const {editor:_0x377e5c}=this,{model:_0x55d042,data:_0x321bfb}=_0x377e5c;_0x55d042['document']['registerPostFixer'](_0x4e63ff=>{const _0x68d7d=_0x55d042['document']['differ']['getChanges']();let _0x4ad48c=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4e63ff,_0x68d7d)&&(_0x4ad48c=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4e63ff,_0x68d7d)&&(_0x4ad48c=!0x0),this['_handleFootnoteReferencesChanges'](_0x4e63ff,_0x68d7d)&&(_0x4ad48c=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4e63ff)&&(_0x4ad48c=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4e63ff)&&(_0x4ad48c=!0x0),this['_sortFootnoteDefinitions'](_0x4e63ff)&&(_0x4ad48c=!0x0),_0x4ad48c;}),this['listenTo'](_0x55d042['document'],'change:data',()=>{_0x55d042['enqueueChange']({'isUndoable':!0x1},_0xad6c8=>{this['_ensureFootnotesDefinitionsContainerExists'](_0xad6c8);});},{'priority':'low'}),this['listenTo'](_0x321bfb,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x235443){return this['_footnotes']['find'](_0x1e39da=>_0x1e39da['id']===_0x235443)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x541af0){this['_footnoteFormatter']=_0x541af0;}['_updateFootnotesCounters'](_0x2312d5,_0x1b469d=0x0){let _0x394cf0=!0x1;for(let _0x144740=_0x1b469d;_0x144740<this['_footnotes']['length'];_0x144740++)this['_updateFootnoteRefCounter'](_0x2312d5,_0x144740)&&(_0x394cf0=!0x0);return _0x394cf0;}['_insertEmptyFootnotesDefinitionsContainer'](_0x320533,_0x3d533a){const _0x5ef7aa=_0x320533['createElement']('footnotesDefinitions',{});return _0x320533['append'](_0x5ef7aa,_0x3d533a),this['_footnotesDefinitions']=_0x5ef7aa,_0x5ef7aa;}['_ensureFootnotesDefinitionsContainerExists'](_0x13d2d3){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0xe78ed5=this['_footnotes'][0x0]['reference']['root'],_0x267805=this['_insertEmptyFootnotesDefinitionsContainer'](_0x13d2d3,_0xe78ed5);for(const _0x5cce65 of this['_footnotes'])_0x5cce65['definition']['parent']||_0x13d2d3['insert'](_0x5cce65['definition'],_0x267805,'end');this['_updateFootnotesCounters'](_0x13d2d3);}['_handleFootnotesDefinitionsObjectChanges'](_0x23331a,_0x36338b){let _0x36fc6c=!0x1;const {inserted:_0x38cfbd,removed:_0x409bd4,moved:_0x4a07b2}=this['_footnoteDefsContainerTracker']['getChanges'](_0x36338b);if(_0x4a07b2['length']&&(this['_footnotesDefinitions']=_0x4a07b2[0x0]),_0x38cfbd['length']){if(_0x38cfbd['length']>0x1||this['_footnotesDefinitions']&&_0x38cfbd['some'](_0x3e5cc4=>_0x3e5cc4!==this['_footnotesDefinitions'])){const _0x5139df=_0x23331a['createElement']('footnotesDefinitions',{}),_0x26e696=[];this['_footnotesDefinitions']&&_0x26e696['push'](this['_footnotesDefinitions']),_0x26e696['push'](..._0x38cfbd),_0x23331a['insert'](_0x5139df,_0x26e696[0x0],'before');for(const _0x377093 of _0x26e696)_0x23331a['move'](_0x23331a['createRangeIn'](_0x377093),_0x23331a['createPositionAt'](_0x5139df,'end')),_0x23331a['remove'](_0x377093);this['_footnotesDefinitions']=_0x5139df,this['_updateFootnotesCounters'](_0x23331a),_0x36fc6c=!0x0;}else this['_footnotesDefinitions']=_0x38cfbd[0x0];}if(_0x409bd4['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0xdedf12 of this['_footnotes'])_0x23331a['remove'](_0xdedf12['reference']),_0x36fc6c=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x36fc6c;}['_handleFootnoteDefinitionsChanges'](_0x364079,_0x3de4de){let _0x1cefa6=!0x1;const _0x3f183d=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x59bc22,moved:_0x3dd527}=this['_footnoteDefsTracker']['getChanges'](_0x3de4de);for(const _0x2f5aae of[..._0x3dd527,..._0x59bc22]){const _0x1a2b6b=_0x2f5aae['getAttribute']('footnoteId'),_0x5306a9=this['getFootnote'](_0x1a2b6b);_0x5306a9&&(_0x5306a9['definition']=_0x2f5aae),_(_0x364079,_0x3f183d,_0x2f5aae)&&(_0x1cefa6=!0x0);}return _0x1cefa6;}['_handleFootnoteReferencesChanges'](_0x1b0230,_0x23a6d9){let _0x5dfe4f=!0x1;const {removed:_0x44132f,inserted:_0x56da23,moved:_0x11bc66}=this['_footnoteRefsTracker']['getChanges'](_0x23a6d9);for(const _0x38ce94 of _0x44132f)this['_handleRemoveFootnoteReferenceById'](_0x1b0230,_0x38ce94)&&(_0x5dfe4f=!0x0);for(const _0x109797 of _0x56da23)this['_handleInsertedFootnoteReference'](_0x1b0230,_0x109797)&&(_0x5dfe4f=!0x0);for(const _0x1289ef of _0x11bc66)this['_handleMovedFootnoteReference'](_0x1b0230,_0x1289ef)&&(_0x5dfe4f=!0x0);return _0x5dfe4f;}['_handleFootnotesDefinitionsObjectSync'](_0x53ad0b){if(!this['_footnotesDefinitions'])return!0x1;let _0x2f5c81=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x385a4e=[];for(const _0x59a15b of this['_footnotesDefinitions']['getChildren']()){const _0x283326=_0x59a15b['getAttribute']('footnoteId');this['getFootnote'](_0x283326)||(_0x385a4e['unshift'](_0x59a15b),_0x2f5c81=!0x0);}for(const _0x2a04be of _0x385a4e)_0x53ad0b['remove'](_0x2a04be);}const _0xdc4c4a=new Set(),_0x104bdf=[];for(const _0x391ccd of this['_footnotesDefinitions']['getChildren']()){const _0x460004=_0x391ccd['getAttribute']('footnoteId');_0xdc4c4a['has'](_0x460004)?(_0x104bdf['unshift'](_0x391ccd),_0x2f5c81=!0x0):_0xdc4c4a['add'](_0x460004);}for(const _0x42ba16 of _0x104bdf)_0x53ad0b['remove'](_0x42ba16);return this['_footnotesDefinitions']['childCount']||(_0x53ad0b['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2f5c81=!0x0),_0x2f5c81;}['_handleInsertedFootnoteReference'](_0x1f2db2,_0x4d5ec5){if(this['_footnotes']['find'](_0x1dce60=>_0x1dce60['reference']===_0x4d5ec5))return!0x1;let _0x49603a=!0x1;const _0x594d17=_0x4d5ec5['getAttribute']('footnoteId'),_0x68f4e1=this['_footnotes']['findIndex'](_0x1949dd=>_0x1949dd['id']===_0x594d17);-0x1!==_0x68f4e1&&(_0x1f2db2['remove'](this['_footnotes'][_0x68f4e1]['reference']),this['_footnotes']['splice'](_0x68f4e1,0x1),_0x49603a=!0x0);let _0x557636=this['_footnotesDefinitions']?function(_0x3a5273,_0x3b5d77){for(const _0x3786a9 of _0x3a5273['getChildren']())if(_0x3786a9['getAttribute']('footnoteId')===_0x3b5d77)return _0x3786a9;return null;}(this['_footnotesDefinitions'],_0x594d17):null;_0x557636||(_0x557636=_0x1f2db2['createElement']('footnoteDefinition',{'footnoteId':_0x594d17}),this['_footnotesDefinitions']&&(_0x1f2db2['insert'](_0x557636,this['_footnotesDefinitions'],'end'),_0x49603a=!0x0));const _0x223ce7={'id':_0x594d17,'reference':_0x4d5ec5,'definition':_0x557636},_0x350f7d=I(this['editor']['model'],this['_footnotes'],_0x4d5ec5);this['_footnotes']['splice'](_0x350f7d,0x0,_0x223ce7);let _0x177a8f=_0x350f7d;return-0x1!==_0x68f4e1&&(_0x177a8f=Math['min'](_0x350f7d,_0x68f4e1)),this['_updateFootnotesCounters'](_0x1f2db2,_0x177a8f)&&(_0x49603a=!0x0),_0x49603a;}['_handleRemoveFootnoteReferenceById'](_0x1c1852,_0x5d4916){const _0x2b9fc2=this['_footnotes']['findIndex'](_0x586b22=>_0x586b22['id']===_0x5d4916);if(-0x1===_0x2b9fc2)return!0x1;let _0x3ecce5=!0x1;const _0x3ee3f3=this['_footnotes'][_0x2b9fc2];return'$graveyard'!==_0x3ee3f3['definition']['root']['rootName']&&(_0x1c1852['remove'](_0x3ee3f3['definition']),_0x3ecce5=!0x0),this['_footnotes']['splice'](_0x2b9fc2,0x1),this['_updateFootnotesCounters'](_0x1c1852,_0x2b9fc2)&&(_0x3ecce5=!0x0),_0x3ecce5;}['_handleMovedFootnoteReference'](_0x5220ac,_0x1fab1b){const _0x1d9627=_0x1fab1b['getAttribute']('footnoteId'),_0xbf5726=this['_footnotes']['findIndex'](_0x1be7c5=>_0x1be7c5['id']===_0x1d9627),_0x1b8727=this['_footnotes'][_0xbf5726];let _0x49ff4e=!0x1;_0x1b8727['reference']=_0x1fab1b,this['_footnotes']['splice'](_0xbf5726,0x1);const _0x18f8ad=I(this['editor']['model'],this['_footnotes'],_0x1fab1b);return this['_footnotes']['splice'](_0x18f8ad,0x0,_0x1b8727),this['_updateFootnotesCounters'](_0x5220ac,Math['min'](_0xbf5726,_0x18f8ad))&&(_0x49ff4e=!0x0),_0x49ff4e;}['_updateFootnoteRefCounter'](_0x3f70db,_0x241d73){if(!this['_footnotesDefinitions'])return!0x1;const _0x39079d=this['_footnotes'][_0x241d73];let _0x4c5a71;return _0x4c5a71=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x39079d,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x241d73+0x1}):String(_0x241d73+0x1),_0x39079d['reference']['getAttribute']('footnoteCounter')!=_0x4c5a71&&(_0x3f70db['setAttribute']('footnoteCounter',_0x4c5a71,_0x39079d['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x4b1252){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x41151a,_0x3acc01){if(_0x41151a['length']!==_0x3acc01['length'])return!0x1;for(let _0x2986bf=0x0;_0x2986bf<_0x41151a['length'];_0x2986bf++)if(_0x41151a[_0x2986bf]!==_0x3acc01[_0x2986bf])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x23d181=>_0x23d181['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x204b83=>_0x204b83['getAttribute']('footnoteId'))))return!0x1;let _0x94f019=!0x1;for(let _0x3d6a9d=0x0;_0x3d6a9d<this['_footnotes']['length'];_0x3d6a9d++){const _0x302f94=this['_footnotes'][_0x3d6a9d],_0x42348f=_0x4b1252['createPositionBefore'](_0x302f94['definition']),_0x3fd8bd=_0x4b1252['createPositionAt'](this['_footnotesDefinitions'],_0x3d6a9d);_0x42348f['isEqual'](_0x3fd8bd)||(_0x4b1252['move'](_0x4b1252['createRangeOn'](_0x302f94['definition']),_0x3fd8bd),_0x94f019=!0x0);}return _0x94f019;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3ad56a){if(!this['_footnotes']['length'])return!0x1;const {model:_0x11a77c}=this['editor'];let _0x537344=!0x1;for(let _0x402699=0x0;_0x402699<this['_footnotes']['length']-0x1;_0x402699++){const _0x552005=this['_footnotes'][_0x402699],_0x3ceb83=this['_footnotes'][_0x402699+0x1],_0x22b633=_0x11a77c['createPositionBefore'](_0x552005['reference']),_0x127e8b=_0x11a77c['createPositionBefore'](_0x3ceb83['reference']);'after'===_0x22b633['compareWith'](_0x127e8b)&&(this['_handleMovedFootnoteReference'](_0x3ad56a,_0x552005['reference']),_0x402699=-0x1,_0x537344=!0x0);}return _0x537344;}}function _(_0x5d4f93,_0x2e799d,_0x4339db){if(_0x4339db['childCount'])return!0x1;const _0xd89dde=_0x2e799d?'paragraph':'footnoteInlineContent';return _0x5d4f93['insert'](_0x5d4f93['createElement'](_0xd89dde),_0x4339db),!0x0;}function I(_0xb52326,_0x2acbb9,_0x13e817){if(0x0===_0x2acbb9['length'])return 0x0;const _0x37c41e=_0xb52326['createPositionBefore'](_0x13e817);for(let _0x444059=0x0;_0x444059<_0x2acbb9['length'];_0x444059++){const _0x43a2d7=_0x2acbb9[_0x444059],_0xf16d67=_0xb52326['createPositionBefore'](_0x43a2d7['reference']);if('before'===_0x37c41e['compareWith'](_0xf16d67))return _0x444059;}const _0x1077ee=_0x13e817['root'];let _0x49067d=-0x1;for(let _0x1519cb=_0x2acbb9['length']-0x1;_0x1519cb>=0x0;_0x1519cb--)if(_0x2acbb9[_0x1519cb]['reference']['root']===_0x1077ee){_0x49067d=_0x1519cb;break;}if(-0x1!==_0x49067d)return _0x49067d+0x1;const _0x451bb5=_0xb52326['document']['getRootNames'](),_0x1b9e85=_0x451bb5['indexOf'](_0x1077ee['rootName']),_0x36fc7c=_0x451bb5[_0x1b9e85+0x1];if(_0x36fc7c){for(let _0x595bbf=0x0;_0x595bbf<_0x2acbb9['length'];_0x595bbf++)if(_0x2acbb9[_0x595bbf]['reference']['root']['rootName']===_0x36fc7c)return _0x595bbf;}return _0x2acbb9['length'];}class w extends _0x972a91{['refresh'](){const _0xb8007d=this['editor']['model']['document']['selection'],_0x4c3a0a=this['_getPositionToInsertFootnote'](_0xb8007d);this['isEnabled']=!!_0x4c3a0a;}['execute'](_0x53ec91){const {editor:_0x51aa9b}=this,{model:_0x114edb}=_0x51aa9b,{selection:_0x25b86c}=_0x114edb['document'],_0x5346a0=this['_getPositionToInsertFootnote'](_0x25b86c);if(!_0x5346a0)return;const _0x254286=_0x51aa9b['plugins']['get']('FootnotesEditing'),_0x3fe517=_0x53ec91?.['footnoteId']??_0x3d8f0c();!function(_0x13512a){return'string'==typeof _0x13512a&&_0x13512a['length']>0x0&&!/\s/['test'](_0x13512a)&&!/^\d/['test'](_0x13512a);}(_0x3fe517)?_0x4a8a46('insert-footnote-command-executed-with-invalid-id'):(_0x114edb['change'](_0x302b04=>{const _0x4981bb=_0x302b04['createElement']('footnoteRef',{'footnoteId':_0x3fe517});_0x114edb['insertObject'](_0x4981bb,_0x5346a0,null);}),_0x254286['_moveSelectionToFootnoteDefinition'](_0x3fe517));}['_getPositionToInsertFootnote'](_0x309691){const {model:_0x36385c}=this['editor'],{schema:_0x423c8b}=_0x36385c,_0x526a1e=_0x309691['getFirstRange']();for(const _0x344801 of _0x526a1e['getItems']())if(_0x423c8b['isBlock'](_0x344801)||_0x423c8b['isObject'](_0x344801))return null;const _0x418b81=_0x526a1e['end'];return _0x423c8b['checkChild'](_0x418b81,'footnoteRef')?_0x418b81:null;}}class r extends _0x302acb{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x37347e}=this;_0x37347e['config']['define']('footnotes.multiBlock',!0x0),_0x37347e['commands']['add']('insertFootnote',new w(_0x37347e)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3c97b9){const _0x444376=_0x1fda97([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]),_0x21abd9=0x47a28506,_0x12f85f=0x47a5f2ae^_0x21abd9,_0x3903b2=window[_0x1fda97([0x44,0x61,0x74,0x65])][_0x1fda97([0x6e,0x6f,0x77])](),_0x323379=_0x3c97b9[_0x1fda97([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e5b0e=new window[(_0x1fda97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d3d80=>{_0x323379[_0x1fda97([0x6f,0x6e,0x63,0x65])](_0x1fda97([0x72,0x65,0x61,0x64,0x79]),_0x4d3d80);}),_0x2a6949={[_0x1fda97([0x6b,0x74,0x79])]:_0x1fda97([0x45,0x43]),[_0x1fda97([0x75,0x73,0x65])]:_0x1fda97([0x73,0x69,0x67]),[_0x1fda97([0x63,0x72,0x76])]:_0x1fda97([0x50,0x2d,0x32,0x35,0x36]),[_0x1fda97([0x78])]:_0x1fda97([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]),[_0x1fda97([0x79])]:_0x1fda97([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]),[_0x1fda97([0x61,0x6c,0x67])]:_0x1fda97([0x45,0x53,0x32,0x35,0x36])},_0x31ce28=_0x323379[_0x1fda97([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1fda97([0x67,0x65,0x74])](_0x1fda97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x484de1(){let _0x5b915b,_0x243ca8=null,_0x242cf6=null;try{if(_0x31ce28==_0x1fda97([0x47,0x50,0x4c]))return _0x1fda97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b915b=_0xbe3307(),!_0x5b915b)return _0x1fda97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b915b[_0x1fda97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x242cf6=_0x3faafa(_0x5b915b[_0x1fda97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b915b[_0x1fda97([0x6a,0x74,0x69])])),await _0x3b4779()?_0x13f5aa()?_0x138189()?_0x1fda97([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x674d4e()?(_0x5b915b[_0x1fda97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fda97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x243ca8=_0x452b80(_0x1fda97([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b915b[_0x1fda97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1fda97([0x74,0x72,0x69,0x61,0x6c])&&(_0x243ca8=_0x452b80(_0x1fda97([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x24a25d()):_0x1fda97([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1fda97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1fda97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1fda97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x138189(){const _0x2b2702=[_0x1fda97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1fda97([0x74,0x72,0x69,0x61,0x6c])][_0x1fda97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b915b[_0x1fda97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3903b2/0x3e8:0xe10*_0x12f85f;return _0x5b915b[_0x1fda97([0x65,0x78,0x70])]<_0x2b2702;}function _0x13f5aa(){const _0x491c8f=_0x5b915b[_0x1fda97([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x491c8f&&(!!_0x491c8f[_0x1fda97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fda97([0x2a]))||!!_0x491c8f[_0x1fda97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fda97([0x46,0x4f,0x4f])));}function _0x674d4e(){const _0x35aaf1=_0x5b915b[_0x1fda97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x35aaf1||0x0==_0x35aaf1[_0x1fda97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x44b590}=new URL(window[_0x1fda97([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x35aaf1[_0x1fda97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x44b590))return!0x0;const _0x4ca287=_0x44b590[_0x1fda97([0x73,0x70,0x6c,0x69,0x74])](_0x1fda97([0x2e]));return _0x35aaf1[_0x1fda97([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x170346=>_0x170346[_0x1fda97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fda97([0x2a])))[_0x1fda97([0x6d,0x61,0x70])](_0x46f3a0=>_0x46f3a0[_0x1fda97([0x73,0x70,0x6c,0x69,0x74])](_0x1fda97([0x2e])))[_0x1fda97([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x486a28=>_0x486a28[_0x1fda97([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4ca287[_0x1fda97([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1fda97([0x6d,0x61,0x70])](_0x118bba=>Array(_0x4ca287[_0x1fda97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x118bba[_0x1fda97([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1fda97([0x66,0x69,0x6c,0x6c])](_0x118bba[0x0]===_0x1fda97([0x2a])?_0x1fda97([0x2a]):'')[_0x1fda97([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x118bba))[_0x1fda97([0x73,0x6f,0x6d,0x65])](_0x40c929=>_0x4ca287[_0x1fda97([0x65,0x76,0x65,0x72,0x79])]((_0x13e1f7,_0x1c0646)=>_0x40c929[_0x1c0646]===_0x13e1f7||_0x40c929[_0x1c0646]===_0x1fda97([0x2a])));}function _0x24a25d(){return _0x243ca8&&_0x242cf6?new window[(_0x1fda97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d37bb,_0x321297)=>{_0x243ca8[_0x1fda97([0x74,0x68,0x65,0x6e])](_0x5d37bb,_0x321297),_0x242cf6[_0x1fda97([0x74,0x68,0x65,0x6e])](_0x4dae09=>{_0x4dae09!=_0x1fda97([0x56,0x61,0x6c,0x69,0x64])&&_0x5d37bb(_0x4dae09);},_0x321297);}):_0x243ca8||_0x242cf6||_0x1fda97([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3faafa(_0x3faa0d,_0x168248){return new window[(_0x1fda97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cd2b7=>{if(_0x591a30())return _0x2cd2b7(_0x1fda97([0x56,0x61,0x6c,0x69,0x64]));_0x376d6e(),_0x323379[_0x1fda97([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1fda97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x540528=!0x1;const _0x5ef055=_0x3d8f0c();function _0x2ee396(_0x36a60b){return!!_0x36a60b&&(typeof _0x36a60b===_0x1fda97([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x36a60b===_0x1fda97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x36a60b[_0x1fda97([0x74,0x68,0x65,0x6e])]===_0x1fda97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x36a60b[_0x1fda97([0x63,0x61,0x74,0x63,0x68])]===_0x1fda97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x102981(_0x44f1ea){_0x3f5581(_0x44f1ea)[_0x1fda97([0x74,0x68,0x65,0x6e])](_0x837ef9=>{if(!_0x837ef9||_0x837ef9[_0x1fda97([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1fda97([0x6f,0x6b]))return _0x1fda97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x144b4a(_0x3eb76d(_0x5ef055+_0x168248))!=_0x837ef9[_0x1fda97([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1fda97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1fda97([0x56,0x61,0x6c,0x69,0x64]);})[_0x1fda97([0x74,0x68,0x65,0x6e])](_0x55559a=>(_0x2ab75b(),_0x55559a),()=>{const _0x51518e=_0x3ac69d();return null==_0x51518e?(_0x2ab75b(),_0x1fda97([0x56,0x61,0x6c,0x69,0x64])):_0x1fda97(_0x3903b2-_0x51518e>(0x63ae0106^_0x21abd9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1fda97([0x74,0x68,0x65,0x6e])](_0x2cd2b7)[_0x1fda97([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2cd2b7(_0x1fda97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x259274=0x47946b86^_0x21abd9;function _0x2ab75b(){const _0x2d979b=_0x1fda97([0x6c,0x6c,0x63,0x74,0x2d])+_0x144b4a(_0x3eb76d(_0x3faa0d)),_0x29bd10=_0x3138c(_0x144b4a(window[_0x1fda97([0x4d,0x61,0x74,0x68])][_0x1fda97([0x63,0x65,0x69,0x6c])](_0x3903b2/_0x259274)));window[_0x1fda97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fda97([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2d979b,_0x29bd10);}function _0x3ac69d(){const _0x515414=_0x1fda97([0x6c,0x6c,0x63,0x74,0x2d])+_0x144b4a(_0x3eb76d(_0x3faa0d)),_0x2b7168=window[_0x1fda97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1fda97([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x515414);return _0x2b7168?window[_0x1fda97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3138c(_0x2b7168),0x10)*_0x259274:null;}function _0x3f5581(_0x3934b4){return new window[(_0x1fda97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ac2ae,_0x196624)=>{_0x3934b4[_0x1fda97([0x74,0x68,0x65,0x6e])](_0x1ac2ae,_0x196624),window[_0x1fda97([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x196624,0x47a351c6^_0x21abd9);});}}_0x323379[_0x1fda97([0x6f,0x6e])](_0x1fda97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x8e6f8e,_0x260280)=>{if(_0x260280[0x0]!=_0x3faa0d)return _0x2cd2b7(_0x1fda97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x260280[0x1]={..._0x260280[0x1],[_0x1fda97([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ef055};},{[_0x1fda97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fda97([0x68,0x69,0x67,0x68])}),_0x323379[_0x1fda97([0x6f,0x6e])](_0x1fda97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x27ff80=>{_0x2ee396(_0x27ff80[_0x1fda97([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x540528=!0x0,_0x102981(_0x27ff80[_0x1fda97([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1fda97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1fda97([0x6c,0x6f,0x77])}),_0x2e5b0e[_0x1fda97([0x74,0x68,0x65,0x6e])](()=>{_0x540528||_0x2cd2b7(_0x1fda97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x591a30(){return _0x323379[_0x1fda97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fda97([0x76,0x69,0x65,0x77])][_0x1fda97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1fda97([0x61,0x75,0x74,0x6f]);}function _0x376d6e(){_0x323379[_0x1fda97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1fda97([0x76,0x69,0x65,0x77])][_0x1fda97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1fda97([0x61,0x75,0x74,0x6f]);}}function _0x452b80(_0x4a30ea){const _0x229b4e=[new window[(_0x1fda97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c5b22=>setTimeout(_0x1c5b22,0x47abbbca^_0x21abd9)),_0x2e5b0e[_0x1fda97([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1fda97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cbb2a=>{let _0x4c592f=0x0;_0x323379[_0x1fda97([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fda97([0x6f,0x6e])](_0x1fda97([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36d2e2,_0xfe64fb)=>{_0xfe64fb[0x0][_0x1fda97([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c592f++,_0x4c592f==(0x47a284fe^_0x21abd9)&&(_0x1cbb2a(),_0x36d2e2[_0x1fda97([0x6f,0x66,0x66])]());});}))];return window[_0x1fda97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1fda97([0x72,0x61,0x63,0x65])](_0x229b4e)[_0x1fda97([0x74,0x68,0x65,0x6e])](()=>_0x4a30ea);}async function _0xf27e37(){await _0x2e5b0e,_0x323379[_0x1fda97([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fda97([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ee5e4,_0x323379[_0x1fda97([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fda97([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ee5e4,_0x323379[_0x1fda97([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fda97([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x725ca(_0x54d995){const _0x99a072=_0x5c410f();_0x323379[_0x99a072]=_0x1fda97([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x54d995,_0x54d995!=_0x1fda97([0x56,0x61,0x6c,0x69,0x64])&&_0xf27e37();}function _0x5c410f(){const _0x3fe6b1=window[_0x1fda97([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1fda97([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1fda97([0x6e,0x6f,0x77])]())[_0x1fda97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1fda97([0x2e]),'');let _0x2203a1=_0x1fda97([0x75]);for(let _0x17be60=0x0;_0x17be60<_0x3fe6b1[_0x1fda97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17be60+=0x2){let _0xcf317c=window[_0x1fda97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fe6b1[_0x1fda97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17be60,_0x17be60+0x2));_0xcf317c>=_0x444376[_0x1fda97([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xcf317c-=_0x444376[_0x1fda97([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2203a1+=_0x444376[_0xcf317c];}return _0x2203a1;}function _0xbe3307(){const _0x1e9721=_0x31ce28[_0x1fda97([0x73,0x70,0x6c,0x69,0x74])](_0x1fda97([0x2e]));if(0x3!=_0x1e9721[_0x1fda97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x19dd0c(_0x1e9721[0x1]);function _0x19dd0c(_0x370c72){const _0x3151d5=_0xaea0ad(_0x370c72);return _0x3151d5&&_0x315bca()?_0x3151d5:null;function _0x315bca(){const _0x3f9640=_0x3151d5[_0x1fda97([0x6a,0x74,0x69])],_0x50a1c1=window[_0x1fda97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f9640[_0x1fda97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f9640[_0x1fda97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2d6767={..._0x3151d5,[_0x1fda97([0x6a,0x74,0x69])]:_0x3f9640[_0x1fda97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f9640[_0x1fda97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2d6767[_0x1fda97([0x76,0x63])],_0x3eb76d(_0x2d6767)==_0x50a1c1;}}}async function _0x3b4779(){let _0x4e5e83=!0x0;try{const _0x4f7dcd=_0x31ce28[_0x1fda97([0x73,0x70,0x6c,0x69,0x74])](_0x1fda97([0x2e])),[_0x1d0315,_0x223a87,_0x3b284c]=_0x4f7dcd;return _0x304081(_0x1d0315),await _0x51b493(_0x1d0315,_0x223a87,_0x3b284c),_0x4e5e83;}catch{return!0x1;}function _0x304081(_0x32ade7){const _0x3fac91=_0xaea0ad(_0x32ade7);_0x3fac91&&_0x3fac91[_0x1fda97([0x61,0x6c,0x67])]==_0x1fda97([0x45,0x53,0x32,0x35,0x36])||(_0x4e5e83=!0x1);}async function _0x51b493(_0x4afefb,_0x1a4984,_0x1e5812){const _0x273c93=window[_0x1fda97([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1fda97([0x66,0x72,0x6f,0x6d])](_0x67583a(_0x1e5812),_0x12ad1c=>_0x12ad1c[_0x1fda97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4b0e5a=new window[(_0x1fda97([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1fda97([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4afefb+_0x1fda97([0x2e])+_0x1a4984),_0x2b94ee=window[_0x1fda97([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1fda97([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b94ee)return;const _0x49a13a=await _0x2b94ee[_0x1fda97([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1fda97([0x6a,0x77,0x6b]),_0x2a6949,{[_0x1fda97([0x6e,0x61,0x6d,0x65])]:_0x1fda97([0x45,0x43,0x44,0x53,0x41]),[_0x1fda97([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1fda97([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1fda97([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b94ee[_0x1fda97([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1fda97([0x6e,0x61,0x6d,0x65])]:_0x1fda97([0x45,0x43,0x44,0x53,0x41]),[_0x1fda97([0x68,0x61,0x73,0x68])]:{[_0x1fda97([0x6e,0x61,0x6d,0x65])]:_0x1fda97([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49a13a,_0x273c93,_0x4b0e5a)||(_0x4e5e83=!0x1);}}function _0xaea0ad(_0x699dbc){return _0x699dbc[_0x1fda97([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1fda97([0x65,0x79]))?JSON[_0x1fda97([0x70,0x61,0x72,0x73,0x65])](_0x67583a(_0x699dbc)):null;}function _0x67583a(_0x59d556){return window[_0x1fda97([0x61,0x74,0x6f,0x62])](_0x59d556[_0x1fda97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1fda97([0x2b]))[_0x1fda97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1fda97([0x2f])));}function _0x3eb76d(_0x4d09f6){let _0x4ba25a=0x1505;function _0x4f06f6(_0x15bc4d){for(let _0x17b795=0x0;_0x17b795<_0x15bc4d[_0x1fda97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17b795++){const _0x3e9efe=_0x15bc4d[_0x1fda97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x17b795);_0x4ba25a=(_0x4ba25a<<0x5)+_0x4ba25a+_0x3e9efe,_0x4ba25a&=_0x4ba25a;}}function _0x54fe41(_0x7b7a1a){Array[_0x1fda97([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x7b7a1a)?_0x7b7a1a[_0x1fda97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54fe41):_0x7b7a1a&&typeof _0x7b7a1a==_0x1fda97([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1fda97([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x7b7a1a)[_0x1fda97([0x73,0x6f,0x72,0x74])]()[_0x1fda97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x429a1f,_0x4643f8])=>{_0x4f06f6(_0x429a1f),_0x54fe41(_0x4643f8);}):_0x4f06f6(window[_0x1fda97([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x7b7a1a));}return _0x54fe41(_0x4d09f6),_0x4ba25a>>>0x0;}function _0x144b4a(_0x1bb8e9){return _0x1bb8e9[_0x1fda97([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1fda97([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1fda97([0x30]));}function _0x3138c(_0x5aeef4){return _0x5aeef4[_0x1fda97([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1fda97([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1fda97([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ee5e4(){}function _0x1fda97(_0xb3c1c3){return _0xb3c1c3['map'](_0xdf7d21=>String['fromCharCode'](_0xdf7d21))['join']('');}_0x725ca(await _0x484de1());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3f75e6){const {plugins:_0x110cfd,editing:_0x2d1368,model:_0x57ffb5}=this['editor'],_0x2ac397=_0x110cfd['get'](c)['getFootnote'](_0x3f75e6);return!!_0x2ac397&&(_0x57ffb5['change'](_0x4686a2=>{_0x4686a2['setSelection'](_0x4686a2['createPositionAt'](_0x2ac397['definition'],'end'));}),_0x2d1368['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x53a2a6){const {plugins:_0x5be1a5,editing:_0x2de69a,model:_0x3553cf}=this['editor'],_0xe783cd=_0x5be1a5['get'](c)['getFootnote'](_0x53a2a6);return!!_0xe783cd&&(_0x3553cf['change'](_0x4d806f=>{_0x4d806f['setSelection'](_0xe783cd['reference'],'on');}),_0x2de69a['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x37d1c9}=this['editor']['model'],_0x242bfa=this['editor']['config']['get']('footnotes.multiBlock');_0x37d1c9['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x37d1c9['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x37d1c9['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x242bfa?_0x37d1c9['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x37d1c9['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x37d1c9['addChildCheck'](_0x38a790=>{for(const _0x5a3637 of _0x38a790)if('footnoteDefinition'===_0x5a3637['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1f2d49}=this,{conversion:_0x1c7d80,editing:_0x2e0e14}=_0x1f2d49,{t:t}=_0x1f2d49['locale'];_0x1c7d80['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x16c312,{writer:_0x3d464f,consumable:_0x5d1d3b})=>{const _0xd4cc25=_0x16c312['getChild'](0x0);if(!_0xd4cc25||!_0xd4cc25['is']('element','a'))return null;const _0x2589de=_0xd4cc25['getAttribute']('href')||'';if(!_0x2589de['startsWith']('#'))return null;const _0xa81e94=_0x2589de['replace'](/^#/,'');if(!_0xa81e94)return null;_0x5d1d3b['consume'](_0xd4cc25,{'name':!0x0,'attributes':['href']});for(const {item:_0x167b23}of _0x2e0e14['view']['createRangeIn'](_0xd4cc25))_0x167b23['is']('$textProxy')?_0x5d1d3b['consume'](_0x167b23['textNode'],{'name':!0x0}):_0x167b23['is']('element')&&_0x5d1d3b['consume'](_0x167b23,{'name':!0x0});return _0x3d464f['createElement']('footnoteRef',{'footnoteId':_0xa81e94});}}),_0x1c7d80['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x51ffec,{writer:_0x8d198e})=>D(_0x51ffec,_0x8d198e)}),_0x1c7d80['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x12fe2d,{writer:_0x17105c})=>{const _0x205367=_0x12fe2d['getAttribute']('footnoteCounter');return _0x21eb6d(D(_0x12fe2d,_0x17105c),_0x17105c,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x205367)});}});}['_defineDefinitionsConverters'](){const {editor:_0x45a52d}=this,{t:t}=_0x45a52d['locale'],{conversion:_0x28e2a0}=_0x45a52d;_0x28e2a0['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x28e2a0['for']('upcast')['add'](_0x4377ee=>{_0x4377ee['on']('element:ol',(_0x196683,_0x11d306,_0x118728)=>{const _0x44d8e7=_0x11d306['viewItem'];if(!_0x44d8e7['hasClass']('footnotes-list')||!_0x11d306['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x118728['consumable']['consume'](_0x44d8e7,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x40dc73,modelCursor:_0x522dee}=_0x118728['convertChildren'](_0x11d306['viewItem'],_0x11d306['modelCursor']);_0x11d306['modelRange']=_0x40dc73,_0x11d306['modelCursor']=_0x522dee;}),_0x4377ee['on']('element:hr',(_0x11fca7,_0x161c9e,_0x47cf45)=>{const _0x480a6e=_0x161c9e['viewItem'];_0x480a6e['hasClass']('footnotes-divider')&&_0x161c9e['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x47cf45['consumable']['consume'](_0x480a6e,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x28e2a0['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x261343,{writer:_0x3f5b21})=>g(_0x3f5b21)}),_0x28e2a0['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x11f517,{writer:_0x1c25d5})=>{const _0x3f17ad=g(_0x1c25d5,{'data-footnotes-list-label':t('Footnotes')}),_0x5b8bfc=_0x21eb6d(_0x3f17ad,_0x1c25d5,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1c25d5['setCustomProperty']('footnotesDefinitions',!0x0,_0x5b8bfc),_0x5b8bfc;}});}['_defineDefinitionConverters'](){const {editor:_0x3b23bf}=this,{conversion:_0x43036b,locale:_0x176481}=_0x3b23bf,_0x27b1cf=_0x3b23bf['config']['get']('footnotes.multiBlock');_0x43036b['for']('upcast')['add'](_0x5a0ed8=>{_0x5a0ed8['on']('element:li',(_0x3f1242,_0x592600,_0x40b889)=>{const _0x4ff3d2=_0x592600['viewItem'];if(!_0x4ff3d2['hasClass']('footnote-definition')||!_0x4ff3d2['getAttribute']('id'))return;const _0x374995=_0x4ff3d2['parent'];if(!_0x374995['is']('element','ol')||!_0x374995['hasClass']('footnotes-list'))return;if(!_0x40b889['consumable']['test'](_0x4ff3d2,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x55f9f0=_0x40b889['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4ff3d2['getAttribute']('id')});if(!_0x40b889['safeInsert'](_0x55f9f0,_0x592600['modelCursor']))return;_0x40b889['consumable']['consume'](_0x4ff3d2,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x494142=Array['from'](_0x4ff3d2['getChildren']())['find'](_0x26a119=>_0x26a119['is']('element')&&_0x26a119['hasClass']('footnote-content'));for(const _0x29fdc2 of _0x4ff3d2['getChildren']())_0x29fdc2['is']('element')&&(_0x40b889['consumable']['consume'](_0x29fdc2,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x40b889['consumable']['consume'](_0x29fdc2,{'name':!0x0,'classes':'footnote-content'}));if(_0x494142){if(_0x27b1cf)_0x40b889['convertChildren'](_0x494142,_0x55f9f0);else{const _0x5ec6c2=_0x40b889['writer']['createElement']('footnoteInlineContent');_0x40b889['writer']['insert'](_0x5ec6c2,_0x55f9f0),_0x40b889['convertChildren'](_0x494142,_0x5ec6c2);}}_0x40b889['updateConversionResult'](_0x55f9f0,_0x592600);});}),_0x43036b['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x22f5f7,{writer:_0xf8a894})=>v(_0x22f5f7,_0xf8a894,_0x176481,{'dataPipeline':!0x0})}),_0x43036b['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x20b3aa,{writer:_0x1c0661})=>v(_0x20b3aa,_0x1c0661,_0x176481)});}['_defineBogusParagraphConverters'](){const {editor:_0x1f2075}=this,{conversion:_0x22fd71}=_0x1f2075;_0x1f2075['config']['get']('footnotes.multiBlock')?(_0x22fd71['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x22fd71['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1f2075['model']['document'],'change:data',()=>{!function(_0x516913,_0x1e74b7){const _0x345d40=_0x516913['document']['differ'],_0x3a21f0=new Set();for(const _0x16c9c6 of _0x345d40['getChanges']()){const _0xe20c85='attribute'==_0x16c9c6['type']?_0x16c9c6['range']['start']['parent']:_0x16c9c6['position']['parent'];_0xe20c85['is']('element','footnoteDefinition')&&_0x3a21f0['add'](_0xe20c85);}for(const _0x3b1365 of _0x3a21f0['values']()){const _0x29b9fd=Array['from'](_0x3b1365['getChildren']())['filter'](_0x200a72=>p(_0x200a72,_0x1e74b7['mapper']));for(const _0x518f0a of _0x29b9fd)_0x1e74b7['reconvertItem'](_0x518f0a);}}(_0x1f2075['model'],_0x1f2075['editing']);})):(_0x22fd71['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x22fd71['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x6ee13,{writer:_0x48b84e})=>{const _0x1e7aa0=_0x48b84e['createContainerElement']('span');return _0x48b84e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1e7aa0),_0x1e7aa0;}}));}['_defineKeyboardHandlers'](){const {editor:_0x54d5c2}=this,{editing:_0x11b9e0,t:t}=_0x54d5c2,_0x3d79be=_0x54d5c2['model']['document']['selection'];_0x54d5c2['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x54d5c2['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x11b9e0['view']['document'],'enter',(_0x53da74,_0x4f2d6a)=>{const _0x1c5026=function(_0x3e0038){const _0x244145=_0x3e0038['getSelectedElement']();if(_0x244145?.['is']('element','footnoteRef'))return _0x244145;return null;}(_0x3d79be);if(_0x1c5026){const _0x3b43b1=_0x1c5026['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3b43b1),_0x4f2d6a['preventDefault'](),_0x53da74['stop']();}},{'context':_0x515044});}['_defineClickHandlers'](){const {editor:_0x70de94}=this,{editing:_0x3ec93b}=_0x70de94;_0x70de94['editing']['view']['addObserver'](_0x3592c0),_0x70de94['editing']['view']['addObserver'](_0x1cf444);let _0x1dd7f7=!0x1;this['listenTo'](_0x3ec93b['view']['document'],'pointerdown',(_0x3446af,_0x4a3408)=>{const {target:_0x5459e5}=_0x4a3408,_0x3443a9=_0x3ec93b['view']['document']['selection'];_0x1dd7f7=!!(_0x5459e5?.['is']('element','a')&&_0x5459e5['parent']?.['is']('element','sup')&&_0x5459e5['parent']['hasClass']('footnote'))&&_0x3443a9['getSelectedElement']()===_0x5459e5['parent'];},{'priority':'high'}),this['listenTo'](_0x3ec93b['view']['document'],'click',(_0x2c1837,_0x9164f7)=>{const {target:_0x1a4bb3}=_0x9164f7;if(!_0x1a4bb3?.['is']('element','a'))return;if(_0x1a4bb3['parent']?.['is']('element','sup')&&_0x1a4bb3['parent']['hasClass']('footnote')&&!_0x1dd7f7)return void _0x9164f7['preventDefault']();let _0x2103c8=_0x1a4bb3['getAttribute']('href');if(!_0x2103c8?.['startsWith']('#'))return;_0x2103c8=_0x2103c8['slice'](0x1);let _0x4ee9e7=!0x1;(_0x2103c8['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2103c8['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2103c8))&&(_0x4ee9e7=!0x0),_0x4ee9e7&&(_0x9164f7['preventDefault'](),_0x2c1837['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x441d96}={}){return(_0x3e4fce,{writer:_0x24636c})=>{if(!h(_0x3e4fce))return null;if(!_0x441d96)return _0x24636c['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1a1b5a=_0x24636c['createContainerElement']('p');return _0x24636c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1a1b5a),_0x1a1b5a;};}function h(_0x23d0ab){const {parent:_0x159169}=_0x23d0ab;if(!_0x159169?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x159169['childCount'])return!0x1;for(const _0x1c2b08 of _0x23d0ab['getAttributeKeys']())if(!_0x1c2b08['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1c2b08)return!0x1;return!0x0;}function p(_0x5da06a,_0x4ee75a){if(!_0x5da06a['is']('element','paragraph'))return!0x1;const _0x515feb=_0x4ee75a['toViewElement'](_0x5da06a);return!!_0x515feb&&h(_0x5da06a)!==_0x515feb['is']('element','span');}function J(_0x5edfe2){return _0x515044(_0x5edfe2)&&_0x5edfe2['is']('containerElement')&&!!_0x5edfe2['getCustomProperty']('footnotesDefinitions');}function g(_0x5d8f85,_0x405faa={}){const _0x4d1583=_0x5d8f85['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x45ec83=_0x5d8f85['createContainerElement']('ol',{'class':'footnotes-list'},_0x5d8f85['createSlot']());return _0x5d8f85['createContainerElement']('div',{'class':'footnotes',..._0x405faa},[_0x4d1583,_0x45ec83]);}function D(_0x24fd80,_0x5f4fe8){const _0x35159c=_0x24fd80['getAttribute']('footnoteId'),_0x354e71=_0x24fd80['getAttribute']('footnoteCounter'),_0x332361=_0x5f4fe8['createUIElement']('a',{'href':'#'+_0x35159c},function(_0x535d40){const _0x4b198b=this['toDomElement'](_0x535d40);return _0x4b198b['textContent']=_0x354e71,_0x4b198b;}),_0x3ba491=_0x5f4fe8['createContainerElement']('sup',{'id':'ref-'+_0x35159c,'class':'footnote'},[_0x332361]);return _0x3ba491['getFillerOffset']=()=>null,_0x3ba491;}function v(_0x38b82c,_0x2b8eaa,_0x2b971f,{dataPipeline:_0x2047b9}={}){const {t:t}=_0x2b971f,_0x2958b6=_0x38b82c['getAttribute']('footnoteId'),_0x3b4c22=_0x2b8eaa['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2958b6},function(_0x3a42b9){const _0x2ba890=this['toDomElement'](_0x3a42b9);return _0x2ba890['innerText']='^',_0x2ba890;}),_0x30029c=_0x2047b9?_0x2b8eaa['createContainerElement']('div',{'class':'footnote-content'}):_0x1b5c8c(_0x2b8eaa['createEditableElement']('div',{'class':'footnote-content'}),_0x2b8eaa,{'label':t('Footnote\x20content.')});return _0x2b8eaa['insert'](_0x2b8eaa['createPositionAt'](_0x30029c,0x0),_0x2b8eaa['createSlot']()),_0x2b8eaa['createContainerElement']('li',{'class':'footnote-definition','id':_0x2958b6},[_0x3b4c22,_0x30029c]);}class e extends _0x302acb{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x86a3f0];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x5628b7}=this,{plugins:_0x2ab88c,model:_0x30edda}=_0x5628b7,_0xffd85f=_0x2ab88c['get'](_0x86a3f0),_0x4e47ee=_0x2ab88c['get'](c);this['listenTo'](_0xffd85f,'outputTransformation',(_0x5c4068,_0xd199aa)=>{const _0x16bf05=function(_0x345977,_0xf7f285){const _0x3c7b69=new Set();for(const {item:_0x1fb243}of _0x345977['createRangeIn'](_0xf7f285))_0x1fb243['is']('element','footnoteRef')&&_0x3c7b69['add'](_0x1fb243['getAttribute']('footnoteId'));return Array['from'](_0x3c7b69);}(_0x30edda,_0xd199aa['content']);if(!_0x16bf05['length'])return;const _0x9c99ac=_0x4e47ee['getFootnotes'](),_0x7d95a0=_0x16bf05['reduce']((_0x3e8f31,_0x2efc51)=>{const _0x13b746=_0x9c99ac['find'](_0x1efbf3=>_0x1efbf3['id']===_0x2efc51);if(_0x13b746){const _0x20c84c=_0x5628b7['data']['toView'](_0x13b746['definition'],{'isClipboardPipeline':!0x0}),_0xf2aa61=_0x5628b7['data']['htmlProcessor']['toData'](_0x20c84c);_0x3e8f31[_0x13b746['id']]=_0xf2aa61;}return _0x3e8f31;},Object['create'](null));_0xd199aa['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x7d95a0));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x4be514}=this,{model:_0x11e475,plugins:_0x574fa4}=_0x4be514,{view:_0x56e597}=_0x4be514['editing'],_0x3bd881=_0x574fa4['get'](_0x86a3f0),_0x2fe947=_0x574fa4['get'](c);let _0x3052dd=null;this['listenTo'](_0x56e597['document'],'clipboardInput',(_0x210ca6,_0x21b926)=>{const _0x428434=_0x21b926['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3052dd=_0x428434?JSON['parse'](_0x428434):null;}),this['listenTo'](_0x3bd881,'contentInsertion',(_0x4951ae,_0xdbbeb6)=>{if(!_0x3052dd)return;const _0x4039be=_0xdbbeb6['sourceEditorId']===this['editor']['id'];_0x4039be&&'drop'===_0xdbbeb6['method']||_0x11e475['change'](_0x4dd2d1=>{!function(_0x444707,_0xb19139){const _0x131d46=[];for(const {item:_0x2357b0}of _0x444707['createRangeIn'](_0xb19139))_0x2357b0['is']('element','footnotesDefinitions')&&_0x131d46['push'](_0x2357b0);for(const _0x2b1e10 of _0x131d46)_0x444707['remove'](_0x2b1e10);}(_0x4dd2d1,_0xdbbeb6['content']);let _0x5d7795=_0x2fe947['getFootnotesDefinitionsObjectElement']();if(!_0x5d7795){const _0x229f2c=_0x11e475['document']['selection']['getFirstRange']()['root'];_0x5d7795=_0x2fe947['_insertEmptyFootnotesDefinitionsContainer'](_0x4dd2d1,_0x229f2c);}const _0x388dfd=function(_0x1815ac,_0x5ae773,_0x4ffce9){const _0x5b9b5c=Object['create'](null);for(const {item:_0x50559e}of _0x1815ac['createRangeIn'](_0x5ae773))if(_0x50559e['is']('element','footnoteRef')){const _0x3bb525=_0x50559e['getAttribute']('footnoteId');if(!_0x4ffce9(_0x3bb525))continue;_0x5b9b5c[_0x3bb525]||(_0x5b9b5c[_0x3bb525]=_0x3d8f0c()),_0x1815ac['setAttribute']('footnoteId',_0x5b9b5c[_0x3bb525],_0x50559e);}return _0x5b9b5c;}(_0x4dd2d1,_0xdbbeb6['content'],_0x1c4350=>!_0x4039be||null!==_0x2fe947['getFootnote'](_0x1c4350));for(const [_0xbc7d09,_0x2ec0e1]of Object['entries'](_0x3052dd)){const _0x3712cd=_0x388dfd[_0xbc7d09]||_0xbc7d09,_0x18e031=_0x4dd2d1['createElement']('footnoteDefinition',{'footnoteId':_0x3712cd}),_0x5a8d22=_0x4be514['data']['htmlProcessor']['toView'](_0x2ec0e1),_0x2beec0=_0x4be514['data']['toModel'](_0x5a8d22,_0x18e031);_0x4dd2d1['append'](_0x2beec0,_0x18e031),_0x4dd2d1['insert'](_0x18e031,_0x5d7795,'end');}_0x3052dd=null;});});}}class i extends _0x302acb{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x40d98a}=this,{componentFactory:_0x4e7006}=_0x40d98a['ui'];_0x4e7006['add']('insertFootnote',x(_0x40d98a,_0x25aeef)),_0x4e7006['add']('menuBar:insertFootnote',x(_0x40d98a,_0x5cfea6)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3fd3c8=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3dd19a;for(const _0x1df2c1 in _0x3fd3c8){const _0x21365b=_0x1df2c1,_0x2f7040=_0x3fd3c8[_0x21365b];if('footnotesLicenseKeyValid'==_0x2f7040||'footnotesLicenseKeyInvalid'==_0x2f7040||'footnotesLicenseKeyExpired'==_0x2f7040||'footnotesLicenseKeyDomainLimit'==_0x2f7040||'footnotesLicenseKeyNotAllowed'==_0x2f7040||'footnotesLicenseKeyEvaluationLimit'==_0x2f7040||'footnotesLicenseKeyTrialLimit'==_0x2f7040||'footnotesLicenseKeyUsageLimit'==_0x2f7040){delete _0x3fd3c8[_0x21365b],_0x3dd19a=_0x2f7040,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3dd19a&&_0x3fd3c8['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3dd19a&&_0x3fd3c8['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3dd19a&&_0x3fd3c8['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3dd19a&&_0x3fd3c8['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3dd19a&&_0x3fd3c8['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3dd19a&&_0x3fd3c8['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3dd19a&&_0x3fd3c8['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x37c10f,_0xe9ec98){const _0x226176=_0x37c10f['commands']['get']('insertFootnote');return _0x2707ab=>{const {t:t}=_0x2707ab,_0x5ac37f=new _0xe9ec98(_0x2707ab),_0x33759e=_0x5ac37f instanceof _0x5cfea6;return _0x5ac37f['bind']('isEnabled')['to'](_0x226176,'isEnabled'),_0x5ac37f['set']({'label':t(_0x33759e?'Footnote':'Insert\x20footnote'),'icon':_0xa11323,'tooltip':!0x0}),_0x5ac37f['on']('execute',()=>{_0x226176['execute'](),_0x37c10f['editing']['view']['focus']();}),_0x5ac37f;};}class nt extends _0x302acb{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const rt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x972a91{['refresh'](){const {editor:_0x5052bd}=this,_0x439161=_0x5052bd['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x439161,this['value']=_0x439161?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x4b77e8}){const {editor:_0x39e00f}=this,_0x549538=_0x39e00f['plugins']['get'](c),_0x5dc452=_0x549538['getFootnotesDefinitionsObjectElement']();_0x5dc452&&rt['includes'](_0x4b77e8)&&_0x39e00f['model']['change'](_0x182153=>{_0x182153['setAttribute']('footnotesListStyle',_0x4b77e8,_0x5dc452),_0x549538['_updateFootnotesCounters'](_0x182153);});}}class b extends _0x972a91{['refresh'](){const {editor:_0xdef94a}=this,_0x233dcd=_0xdef94a['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x233dcd,this['value']=_0x233dcd?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x33962d}){const {editor:_0xc76b55}=this,_0x1354b0=_0xc76b55['plugins']['get'](c),_0x2cd982=_0x1354b0['getFootnotesDefinitionsObjectElement']();_0x2cd982&&Number['isInteger'](_0x33962d)&&_0xc76b55['model']['change'](_0x47809f=>{_0x47809f['setAttribute']('footnotesListStart',_0x33962d,_0x2cd982),_0x1354b0['_updateFootnotesCounters'](_0x47809f);});}}class P extends _0x302acb{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x9af88e}=this;_0x9af88e['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x9af88e['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x9af88e['commands']['add']('footnotesStyle',new S(_0x9af88e)),_0x9af88e['commands']['add']('footnotesStart',new b(_0x9af88e)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x3334ea}=this,{schema:_0x4809e3}=_0x3334ea['model'];_0x4809e3['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x3f5159}=this,{conversion:_0x2c7e1a,model:_0x6cc750}=_0x3f5159,{schema:_0x5c2ef2}=_0x6cc750;_0x2c7e1a['for']('upcast')['add'](_0x816513=>{_0x816513['on']('element:ol',(_0x5f3bd4,_0x240eb7,_0x2489d4)=>{const _0x14d056=_0x240eb7['viewItem'],_0x436c22=_0x240eb7['modelCursor']?.['parent'];_0x14d056['hasClass']('footnotes-list')&&_0x436c22?.['is']('element','footnotesDefinitions')&&(function(_0x38a1d8,_0x20a317,_0x2ff4e9,_0x232b0a){if(!_0x232b0a['checkAttribute'](_0x20a317,'footnotesListStart'))return;let _0x32863a=0x1;const _0x13ff87=_0x2ff4e9['consumable']['consume'](_0x38a1d8,{'attributes':'start'});if(_0x13ff87){const _0x3d9b15=Number['parseInt'](_0x38a1d8['getAttribute']('start'),0xa);Number['isNaN'](_0x3d9b15)||(_0x32863a=_0x3d9b15);}!_0x13ff87&&_0x20a317['hasAttribute']('footnotesListStart')||_0x2ff4e9['writer']['setAttribute']('footnotesListStart',_0x32863a,_0x20a317);}(_0x14d056,_0x436c22,_0x2489d4,_0x5c2ef2),function(_0x2fa6e7,_0x481e25,_0x50c9b8,_0xa1efc7){if(!_0xa1efc7['checkAttribute'](_0x481e25,'footnotesListStyle'))return;let _0x5dfb43='decimal',_0x36e4fd=!0x1;if(_0x50c9b8['consumable']['consume'](_0x2fa6e7,{'attributes':'type'})){const _0x27b44d={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2fa6e7['getAttribute']('type')];_0x27b44d&&(_0x5dfb43=_0x27b44d),_0x36e4fd=!0x0;}_0x50c9b8['consumable']['consume'](_0x2fa6e7,{'styles':'list-style-type'})&&(_0x5dfb43=_0x2fa6e7['getStyle']('list-style-type'),_0x36e4fd=!0x0),!_0x36e4fd&&_0x481e25['hasAttribute']('footnotesListStyle')||_0x50c9b8['writer']['setAttribute']('footnotesListStyle',_0x5dfb43,_0x481e25);}(_0x14d056,_0x436c22,_0x2489d4,_0x5c2ef2));});}),_0x2c7e1a['for']('downcast')['add'](_0x44d7d2=>{_0x44d7d2['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x688893,_0x224eb0,_0x2d3f62)=>{if(!_0x2d3f62['consumable']['consume'](_0x224eb0['item'],_0x688893['name']))return;const _0x9bfc21=C(_0x224eb0['item'],_0x2d3f62['mapper']),{attributeNewValue:_0x50f9b8}=_0x224eb0;null==_0x50f9b8||0x1===_0x50f9b8?_0x2d3f62['writer']['removeAttribute']('start',_0x9bfc21):_0x2d3f62['writer']['setAttribute']('start',String(_0x50f9b8),_0x9bfc21);}),_0x44d7d2['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0xcfb1b1,_0x237061,_0x4446a9)=>{if(!_0x4446a9['consumable']['consume'](_0x237061['item'],_0xcfb1b1['name']))return;const _0x37faa0=C(_0x237061['item'],_0x4446a9['mapper']),{attributeNewValue:_0x354e3d}=_0x237061;_0x354e3d&&'decimal'!==_0x354e3d?_0x4446a9['writer']['setStyle']('list-style-type',_0x354e3d,_0x37faa0):_0x4446a9['writer']['removeStyle']('list-style-type',_0x37faa0);});});}['_definePostfixer'](){const {editor:_0x173151}=this,{model:_0x489a56}=_0x173151,_0x456b1c=_0x173151['plugins']['get'](c),_0x4d75b8=this['_getDefaultListStyle'](),_0x38d28a=this['_getDefaultStartIndex']();_0x489a56['document']['registerPostFixer'](_0x5665b7=>{const _0x3ce1d7=_0x489a56['document']['differ']['getChanges']();let _0x2711a4=!0x1;for(const _0x2ee7c4 of _0x3ce1d7){if('insert'!==_0x2ee7c4['type']||'$text'===_0x2ee7c4['name'])continue;const _0x4b5e1b=_0x489a56['createRangeOn'](_0x2ee7c4['position']['nodeAfter']);for(const _0x57db15 of _0x4b5e1b['getItems']())_0x57db15['is']('element','footnotesDefinitions')&&(!_0x57db15['hasAttribute']('footnotesListStart')&&_0x489a56['schema']['checkAttribute'](_0x57db15,'footnotesListStart')&&(_0x5665b7['setAttribute']('footnotesListStart',_0x38d28a,_0x57db15),_0x2711a4=!0x0),!_0x57db15['hasAttribute']('footnotesListStyle')&&_0x489a56['schema']['checkAttribute'](_0x57db15,'footnotesListStyle')&&(_0x5665b7['setAttribute']('footnotesListStyle',_0x4d75b8,_0x57db15),_0x2711a4=!0x0));}return _0x2711a4&&_0x456b1c['_updateFootnotesCounters'](_0x5665b7),_0x2711a4;});}['_defineFormatter'](){const {editor:_0x5697d4}=this;_0x5697d4['plugins']['get'](c)['setFootnoteFormatter'](_0xb9bbf4=>this['_formatFootnoteListValue'](_0xb9bbf4));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x566944,value:_0x26bea4,digits:_0x104a2d}){const _0x269771=_0x566944['getAttribute']('footnotesListStyle'),_0x38ce6d=_0x566944['getAttribute']('footnotesListStart'),_0x12b77e=Math['floor'](_0x26bea4)+(_0x38ce6d??0x1)-0x1;switch(_0x269771){case'decimal-leading-zero':return function(_0x5f0f33,_0x2cd19a){return String(_0x5f0f33)['padStart'](_0x2cd19a,'0');}(_0x12b77e,Math['max'](0x2,_0x104a2d));case'lower-alpha':case'lower-latin':return M(_0x12b77e,!0x1);case'upper-alpha':case'upper-latin':return M(_0x12b77e,!0x0);case'lower-roman':return V(_0x12b77e,!0x1);case'upper-roman':return V(_0x12b77e,!0x0);default:return String(_0x12b77e);}}}function C(_0x3d8832,_0x5dccb2){const _0x5959dc=_0x5dccb2['toViewElement'](_0x3d8832);return Array['from'](_0x5959dc['getChildren']())['find'](_0x2c9338=>_0x2c9338['is']('element','ol')&&_0x2c9338['hasClass']('footnotes-list'));}function M(_0x4860f6,_0x32b8e7){let _0x5d9331='',_0x2c4ade=_0x4860f6;for(;_0x2c4ade>0x0;){const _0x332378=(_0x2c4ade-0x1)%0x1a;_0x5d9331=String['fromCharCode'](0x61+_0x332378)+_0x5d9331,_0x2c4ade=Math['floor']((_0x2c4ade-0x1)/0x1a);}return _0x32b8e7?_0x5d9331['toUpperCase']():_0x5d9331;}const N=[{'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 V(_0x4bc46a,_0x3831d7){let _0x14111d='',_0x37e308=_0x4bc46a;for(const {value:_0x1d6d85,numeral:_0x43f45e}of N)for(;_0x37e308>=_0x1d6d85;)_0x14111d+=_0x43f45e,_0x37e308-=_0x1d6d85;return _0x3831d7?_0x14111d:_0x14111d['toLowerCase']();}class H extends _0x25c993{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new it();['keystrokes']=new et();['focusables']=new _0x3380f7();['focusCycler'];constructor(_0x42f047,{styleButtonViews:_0x2d9d7b,styleGridAriaLabel:_0x1997cb}){super(_0x42f047),(this['focusCycler']=new _0x530d95({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2d9d7b,_0x1997cb),[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 _0x20750d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x20750d['element']);_0x29b8f7({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>ot['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 _0x1de51d=_0x292585=>_0x292585['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1de51d),this['keystrokes']['set']('arrowleft',_0x1de51d),this['keystrokes']['set']('arrowup',_0x1de51d),this['keystrokes']['set']('arrowdown',_0x1de51d);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x508d19,_0x4327f2){const _0x405b16=new _0x25c993(this['locale']);return _0x405b16['children']=_0x405b16['createCollection'](),_0x405b16['children']['addMany'](_0x508d19),_0x405b16['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4327f2,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x405b16['children']}),_0x405b16['children']['delegate']('execute')['to'](this),_0x405b16['focus']=function(){for(const _0x366329 of this['children'])if(_0x366329 instanceof _0x25aeef&&_0x366329['isOn'])return void _0x366329['focus']();this['children']['first']['focus']();},_0x405b16['focusTracker']=new it(),_0x405b16['keystrokes']=new et(),_0x405b16['render'](),_0x405b16['keystrokes']['listenTo'](_0x405b16['element']),this['children']['add'](_0x405b16),_0x405b16;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x47c738=this['_createStartIndexPropertyView'](),_0xfa23f9=[_0x47c738],_0x21d7d9=new _0x4d3919(this['locale'],_0xfa23f9);return _0x21d7d9['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x21d7d9['buttonView']['bind']('isEnabled')['toMany'](_0xfa23f9,'isEnabled',(..._0x4f8b1c)=>_0x4f8b1c['some'](_0x574a39=>_0x574a39)),_0x21d7d9['buttonView']['on']('change:isEnabled',(_0x372ef2,_0x19561d,_0x412f76)=>{_0x412f76||(_0x21d7d9['isCollapsed']=!0x0);}),this['children']['add'](_0x21d7d9),[_0x47c738,_0x21d7d9];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x48f826=new tt(this['locale'],st);return _0x48f826['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x48f826['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x48f826['fieldView']['on']('input',()=>{const _0x581921=_0x48f826['fieldView']['element'],_0x3bf861=_0x581921['valueAsNumber'];Number['isNaN'](_0x3bf861)?_0x48f826['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x581921['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3bf861}):_0x48f826['errorText']=t(_0x3bf861<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x48f826;}}class j extends _0x302acb{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x21dae5,_0x2f3f84];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x30210c}=this,{componentFactory:_0x27b415}=_0x30210c['ui'];_0x30210c['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x27b415['add']('footnotesStyle',function(_0x43aa30){return _0x1d1e6a=>{const {t:t}=_0x1d1e6a,_0x2b6b9b=_0x43aa30['commands']['get']('footnotesStyle'),_0x53208c=_0x51466b(_0x1d1e6a),{buttonView:_0x112baf}=_0x53208c;return _0x53208c['class']='ck-footnotes-styles-dropdown',_0x53208c['bind']('isEnabled')['to'](_0x2b6b9b,'isEnabled'),_0x112baf['set']({'label':t('Footnotes\x20style'),'icon':_0xa11323,'tooltip':!0x0}),_0x53208c['once']('change:isOpen',()=>{const _0x2e3c97=function({editor:_0x76f884,dropdownView:_0x1e2eeb}){const {t:t}=_0x76f884['locale'],_0x1e7cd5=t('Footnotes\x20definitions\x20styles'),_0x29a28a=function(_0x22016d){const t=_0x22016d['locale']['t'],_0x3509c3=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x5a2825},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x563462},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3ab0c0},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1da637},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x499afe},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1a9851}];return _0x3509c3['map'](function(_0x47d7b3){const _0x5dcb4f=_0x47d7b3['locale'];return({label:_0x2ea8c3,icon:_0x18e5f1,tooltip:_0x354626,style:_0x8dd0ff})=>{const _0x54dea9=_0x47d7b3['commands']['get']('footnotesStyle'),_0x1eb5f1=new _0x25aeef(_0x5dcb4f);return _0x1eb5f1['set']({'label':_0x2ea8c3,'icon':_0x18e5f1,'tooltip':_0x354626}),_0x1eb5f1['bind']('isOn')['to'](_0x54dea9,'value',_0x4194e0=>_0x4194e0===_0x8dd0ff),_0x1eb5f1['bind']('isEnabled')['to'](_0x54dea9,'isEnabled'),_0x1eb5f1['on']('execute',()=>{_0x47d7b3['execute']('footnotesStyle',{'value':_0x8dd0ff}),_0x47d7b3['editing']['view']['focus']();}),_0x1eb5f1;};}(_0x22016d));}(_0x76f884),_0xf74d96=new H(_0x76f884['locale'],{'styleGridAriaLabel':_0x1e7cd5,'styleButtonViews':_0x29a28a});return _0xf74d96['delegate']('execute')['to'](_0x1e2eeb),_0xf74d96['on']('footnotesListStart',(_0x47cdbf,_0x4e00e8)=>{_0x76f884['execute']('footnotesStart',{'value':_0x4e00e8['startIndex']});}),_0xf74d96;}({'editor':_0x43aa30,'dropdownView':_0x53208c});_0x53208c['panelView']['children']['add'](_0x2e3c97);}),_0x53208c;};}(_0x30210c));}['afterInit'](){const {editor:_0x3a0c2e}=this,{t:t}=_0x3a0c2e['locale'],_0x1d892c=_0x3a0c2e['plugins']['get'](_0x2f3f84),{defaultPositions:_0x3ba9bc}=_0x18585e;_0x1d892c['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3a0c2e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4ca737=>{let _0x5f29f1=_0x4ca737['getFirstPosition']()?.['parent'];return _0x5f29f1?.['is']('$text')&&(_0x5f29f1=_0x5f29f1['parent']),_0x5f29f1?.['is']('element')?_0x5f29f1['findAncestor'](J):null;},'positions':[_0x3ba9bc['southArrowNorth'],_0x3ba9bc['southArrowNorthMiddleWest'],_0x3ba9bc['southArrowNorthMiddleEast'],_0x3ba9bc['southArrowNorthWest'],_0x3ba9bc['southArrowNorthEast'],_0x3ba9bc['northArrowSouth'],_0x3ba9bc['northArrowSouthMiddleWest'],_0x3ba9bc['northArrowSouthMiddleEast'],_0x3ba9bc['northArrowSouthWest'],_0x3ba9bc['northArrowSouthEast'],_0x3ba9bc['viewportStickyNorth']]});}}class lt extends _0x302acb{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{nt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,lt as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,b as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,w as InsertFootnoteCommand};
23
+ import{Plugin as _0x56a762,Command as _0x38f340}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x5146b1,isWidget as _0x5eb282,toWidgetEditable as _0x4e9961,WidgetToolbarRepository as _0x4f9f42}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xf15334,logWarning as _0x54d84b,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x4f0f0b,ClickObserver as _0x52d689}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x5e5846}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x40f8a5,ButtonView as _0x35adf5,View as _0x1f29a4,ViewCollection as _0x497dc,FocusCycler as _0x3ace6d,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x30e4c4,BalloonPanelView as _0xa53207,createDropdown as _0x49d87f}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x4985ca,IconListStyleDecimal as _0x504c91,IconListStyleDecimalLeadingZero as _0x22f7ed,IconListStyleLowerRoman as _0x3b396a,IconListStyleUpperRoman as _0x48cf64,IconListStyleLowerLatin as _0x5efb33,IconListStyleUpperLatin as _0xe36eb3}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1d7dd7,_0x511b90){this['_model']=_0x1d7dd7,this['_elementName']=_0x511b90['elementName'],this['_getElementKey']=_0x511b90['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0xe4a65a){const _0x2d841d=new Set(),_0x83daf3=new Map();for(const _0x50089e of _0xe4a65a){if('insert'===_0x50089e['type']&&'$text'!==_0x50089e['name']&&_0x50089e['position']['nodeAfter']){const _0x81d637=this['_model']['createRangeOn'](_0x50089e['position']['nodeAfter']);for(const _0x8bbded of _0x81d637['getItems']()){if(!_0x8bbded['is']('element',this['_elementName']))continue;const _0x969947=this['_getElementKey'](_0x8bbded);_0x83daf3['has'](_0x969947)||_0x83daf3['set'](_0x969947,[]),_0x83daf3['get'](_0x969947)['push'](_0x8bbded);}}if('remove'===_0x50089e['type']&&_0x50089e['name']===this['_elementName']){const _0x5999a1=this['_getElementKey']({'getAttribute':_0x268049=>_0x50089e['attributes']['get'](_0x268049)});_0x2d841d['add'](_0x5999a1);}}for(const [_0x389de2,_0x5b74f0]of this['_trackedElements'])'$graveyard'===_0x5b74f0['root']['rootName']&&_0x2d841d['add'](_0x389de2);for(const _0x124751 of _0x2d841d)this['_trackedElements']['delete'](_0x124751);for(const [_0xa9fa2b,_0x5a9c2d]of _0x83daf3)this['_trackedElements']['set'](_0xa9fa2b,_0x5a9c2d[_0x5a9c2d['length']-0x1]);const _0x57f768=new Set();for(const [_0x33faee,_0x40fdfe]of _0x83daf3)_0x2d841d['has'](_0x33faee)&&(_0x57f768['add'](_0x40fdfe[0x0]),_0x40fdfe['length']>0x1?_0x83daf3['set'](_0x33faee,_0x40fdfe['slice'](0x1)):_0x83daf3['delete'](_0x33faee),_0x2d841d['delete'](_0x33faee));return{'removed':Array['from'](_0x2d841d),'inserted':Array['from'](_0x83daf3['values']())['flat'](),'moved':Array['from'](_0x57f768)};}}class c extends _0x56a762{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4ed30e){super(_0x4ed30e),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x30706c=>_0x30706c['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x174bd6=>_0x174bd6['getAttribute']('footnoteId')});}['init'](){const {editor:_0x220b91}=this,{model:_0x3ed425,data:_0x4f2abe}=_0x220b91;_0x3ed425['document']['registerPostFixer'](_0x36138f=>{const _0x52440a=_0x3ed425['document']['differ']['getChanges']();let _0x112d79=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x36138f,_0x52440a)&&(_0x112d79=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x36138f,_0x52440a)&&(_0x112d79=!0x0),this['_handleFootnoteReferencesChanges'](_0x36138f,_0x52440a)&&(_0x112d79=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x36138f)&&(_0x112d79=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x36138f)&&(_0x112d79=!0x0),this['_sortFootnoteDefinitions'](_0x36138f)&&(_0x112d79=!0x0),_0x112d79;}),this['listenTo'](_0x3ed425['document'],'change:data',()=>{_0x3ed425['enqueueChange']({'isUndoable':!0x1},_0x4bf76e=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4bf76e);});},{'priority':'low'}),this['listenTo'](_0x4f2abe,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x52ebac){return this['_footnotes']['find'](_0xe978f2=>_0xe978f2['id']===_0x52ebac)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x35bc6e){this['_footnoteFormatter']=_0x35bc6e;}['_updateFootnotesCounters'](_0x3cd7ee,_0x5c8e1e=0x0){let _0x3b0d6a=!0x1;for(let _0x192d0b=_0x5c8e1e;_0x192d0b<this['_footnotes']['length'];_0x192d0b++)this['_updateFootnoteRefCounter'](_0x3cd7ee,_0x192d0b)&&(_0x3b0d6a=!0x0);return _0x3b0d6a;}['_insertEmptyFootnotesDefinitionsContainer'](_0x4f720e,_0x46e983){const _0x4638e3=_0x4f720e['createElement']('footnotesDefinitions',{});return _0x4f720e['append'](_0x4638e3,_0x46e983),this['_footnotesDefinitions']=_0x4638e3,_0x4638e3;}['_ensureFootnotesDefinitionsContainerExists'](_0x21291f){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x169fd4=this['_footnotes'][0x0]['reference']['root'],_0x42f0d9=this['_insertEmptyFootnotesDefinitionsContainer'](_0x21291f,_0x169fd4);for(const _0x489442 of this['_footnotes'])_0x489442['definition']['parent']||_0x21291f['insert'](_0x489442['definition'],_0x42f0d9,'end');this['_updateFootnotesCounters'](_0x21291f);}['_handleFootnotesDefinitionsObjectChanges'](_0x3c217b,_0x37bed8){let _0x5d0866=!0x1;const {inserted:_0x4df4ac,removed:_0x117181,moved:_0x1a89fe}=this['_footnoteDefsContainerTracker']['getChanges'](_0x37bed8);if(_0x1a89fe['length']&&(this['_footnotesDefinitions']=_0x1a89fe[0x0]),_0x4df4ac['length']){if(_0x4df4ac['length']>0x1||this['_footnotesDefinitions']&&_0x4df4ac['some'](_0xe2a28a=>_0xe2a28a!==this['_footnotesDefinitions'])){const _0x2b95cc=_0x3c217b['createElement']('footnotesDefinitions',{}),_0x32d9cc=[];this['_footnotesDefinitions']&&_0x32d9cc['push'](this['_footnotesDefinitions']),_0x32d9cc['push'](..._0x4df4ac),_0x3c217b['insert'](_0x2b95cc,_0x32d9cc[0x0],'before');for(const _0x4a5733 of _0x32d9cc)_0x3c217b['move'](_0x3c217b['createRangeIn'](_0x4a5733),_0x3c217b['createPositionAt'](_0x2b95cc,'end')),_0x3c217b['remove'](_0x4a5733);this['_footnotesDefinitions']=_0x2b95cc,this['_updateFootnotesCounters'](_0x3c217b),_0x5d0866=!0x0;}else this['_footnotesDefinitions']=_0x4df4ac[0x0];}if(_0x117181['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x35e7df of this['_footnotes'])_0x3c217b['remove'](_0x35e7df['reference']),_0x5d0866=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x5d0866;}['_handleFootnoteDefinitionsChanges'](_0x28f87e,_0x25dc04){let _0x1ac492=!0x1;const _0xab187=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x54a4ec,moved:_0x4188a5}=this['_footnoteDefsTracker']['getChanges'](_0x25dc04);for(const _0x185056 of[..._0x4188a5,..._0x54a4ec]){const _0x132fe2=_0x185056['getAttribute']('footnoteId'),_0x19a8f1=this['getFootnote'](_0x132fe2);_0x19a8f1&&(_0x19a8f1['definition']=_0x185056),_(_0x28f87e,_0xab187,_0x185056)&&(_0x1ac492=!0x0);}return _0x1ac492;}['_handleFootnoteReferencesChanges'](_0x5f1d1e,_0x49bcd4){let _0x43b4f9=!0x1;const {removed:_0x59da72,inserted:_0x304739,moved:_0x5d4720}=this['_footnoteRefsTracker']['getChanges'](_0x49bcd4);for(const _0x294bd1 of _0x59da72)this['_handleRemoveFootnoteReferenceById'](_0x5f1d1e,_0x294bd1)&&(_0x43b4f9=!0x0);for(const _0x40f2d8 of _0x304739)this['_handleInsertedFootnoteReference'](_0x5f1d1e,_0x40f2d8)&&(_0x43b4f9=!0x0);for(const _0x31a96c of _0x5d4720)this['_handleMovedFootnoteReference'](_0x5f1d1e,_0x31a96c)&&(_0x43b4f9=!0x0);return _0x43b4f9;}['_handleFootnotesDefinitionsObjectSync'](_0x59b8a1){if(!this['_footnotesDefinitions'])return!0x1;let _0x1188f5=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x38271b=[];for(const _0x22a1ee of this['_footnotesDefinitions']['getChildren']()){const _0x11f564=_0x22a1ee['getAttribute']('footnoteId');this['getFootnote'](_0x11f564)||(_0x38271b['unshift'](_0x22a1ee),_0x1188f5=!0x0);}for(const _0x77c3f2 of _0x38271b)_0x59b8a1['remove'](_0x77c3f2);}const _0x26a615=new Set(),_0x512aec=[];for(const _0x493f17 of this['_footnotesDefinitions']['getChildren']()){const _0x3a34ae=_0x493f17['getAttribute']('footnoteId');_0x26a615['has'](_0x3a34ae)?(_0x512aec['unshift'](_0x493f17),_0x1188f5=!0x0):_0x26a615['add'](_0x3a34ae);}for(const _0x4c33e8 of _0x512aec)_0x59b8a1['remove'](_0x4c33e8);return this['_footnotesDefinitions']['childCount']||(_0x59b8a1['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1188f5=!0x0),_0x1188f5;}['_handleInsertedFootnoteReference'](_0x2486d9,_0x511551){if(this['_footnotes']['find'](_0x5bb741=>_0x5bb741['reference']===_0x511551))return!0x1;let _0x5e3aa8=!0x1;const _0x3344f3=_0x511551['getAttribute']('footnoteId'),_0x414d8c=this['_footnotes']['findIndex'](_0x5d1200=>_0x5d1200['id']===_0x3344f3);-0x1!==_0x414d8c&&(_0x2486d9['remove'](this['_footnotes'][_0x414d8c]['reference']),this['_footnotes']['splice'](_0x414d8c,0x1),_0x5e3aa8=!0x0);let _0xacf78e=this['_footnotesDefinitions']?function(_0x6783ea,_0x15a654){for(const _0x1ad667 of _0x6783ea['getChildren']())if(_0x1ad667['getAttribute']('footnoteId')===_0x15a654)return _0x1ad667;return null;}(this['_footnotesDefinitions'],_0x3344f3):null;_0xacf78e||(_0xacf78e=_0x2486d9['createElement']('footnoteDefinition',{'footnoteId':_0x3344f3}),this['_footnotesDefinitions']&&(_0x2486d9['insert'](_0xacf78e,this['_footnotesDefinitions'],'end'),_0x5e3aa8=!0x0));const _0x26a0d5={'id':_0x3344f3,'reference':_0x511551,'definition':_0xacf78e},_0x5dab27=I(this['editor']['model'],this['_footnotes'],_0x511551);this['_footnotes']['splice'](_0x5dab27,0x0,_0x26a0d5);let _0x5adff8=_0x5dab27;return-0x1!==_0x414d8c&&(_0x5adff8=Math['min'](_0x5dab27,_0x414d8c)),this['_updateFootnotesCounters'](_0x2486d9,_0x5adff8)&&(_0x5e3aa8=!0x0),_0x5e3aa8;}['_handleRemoveFootnoteReferenceById'](_0x5450f6,_0x236594){const _0x1a18fa=this['_footnotes']['findIndex'](_0x1e3984=>_0x1e3984['id']===_0x236594);if(-0x1===_0x1a18fa)return!0x1;let _0x355a2c=!0x1;const _0x11093a=this['_footnotes'][_0x1a18fa];return'$graveyard'!==_0x11093a['definition']['root']['rootName']&&(_0x5450f6['remove'](_0x11093a['definition']),_0x355a2c=!0x0),this['_footnotes']['splice'](_0x1a18fa,0x1),this['_updateFootnotesCounters'](_0x5450f6,_0x1a18fa)&&(_0x355a2c=!0x0),_0x355a2c;}['_handleMovedFootnoteReference'](_0xbb8283,_0x1567dd){const _0x56a3e8=_0x1567dd['getAttribute']('footnoteId'),_0x17386e=this['_footnotes']['findIndex'](_0x6800e8=>_0x6800e8['id']===_0x56a3e8),_0xe63cc5=this['_footnotes'][_0x17386e];let _0x36fc9b=!0x1;_0xe63cc5['reference']=_0x1567dd,this['_footnotes']['splice'](_0x17386e,0x1);const _0x5bc1f4=I(this['editor']['model'],this['_footnotes'],_0x1567dd);return this['_footnotes']['splice'](_0x5bc1f4,0x0,_0xe63cc5),this['_updateFootnotesCounters'](_0xbb8283,Math['min'](_0x17386e,_0x5bc1f4))&&(_0x36fc9b=!0x0),_0x36fc9b;}['_updateFootnoteRefCounter'](_0x51a673,_0x224752){if(!this['_footnotesDefinitions'])return!0x1;const _0x6b9980=this['_footnotes'][_0x224752];let _0x4850f0;return _0x4850f0=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x6b9980,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x224752+0x1}):String(_0x224752+0x1),_0x6b9980['reference']['getAttribute']('footnoteCounter')!=_0x4850f0&&(_0x51a673['setAttribute']('footnoteCounter',_0x4850f0,_0x6b9980['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x1ffd00){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3abadb,_0x5ea10e){if(_0x3abadb['length']!==_0x5ea10e['length'])return!0x1;for(let _0x4f2df9=0x0;_0x4f2df9<_0x3abadb['length'];_0x4f2df9++)if(_0x3abadb[_0x4f2df9]!==_0x5ea10e[_0x4f2df9])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x4c1a2f=>_0x4c1a2f['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x366d55=>_0x366d55['getAttribute']('footnoteId'))))return!0x1;let _0x4a2340=!0x1;for(let _0x4779b2=0x0;_0x4779b2<this['_footnotes']['length'];_0x4779b2++){const _0x255327=this['_footnotes'][_0x4779b2],_0x36cd23=_0x1ffd00['createPositionBefore'](_0x255327['definition']),_0x253858=_0x1ffd00['createPositionAt'](this['_footnotesDefinitions'],_0x4779b2);_0x36cd23['isEqual'](_0x253858)||(_0x1ffd00['move'](_0x1ffd00['createRangeOn'](_0x255327['definition']),_0x253858),_0x4a2340=!0x0);}return _0x4a2340;}['_ensureFootnotesReferencesHaveProperOrder'](_0x1b6199){if(!this['_footnotes']['length'])return!0x1;const {model:_0x373ab6}=this['editor'];let _0x175cd6=!0x1;for(let _0x599252=0x0;_0x599252<this['_footnotes']['length']-0x1;_0x599252++){const _0x5c25cd=this['_footnotes'][_0x599252],_0x29e767=this['_footnotes'][_0x599252+0x1],_0x1de4fe=_0x373ab6['createPositionBefore'](_0x5c25cd['reference']),_0x55cb10=_0x373ab6['createPositionBefore'](_0x29e767['reference']);'after'===_0x1de4fe['compareWith'](_0x55cb10)&&(this['_handleMovedFootnoteReference'](_0x1b6199,_0x5c25cd['reference']),_0x599252=-0x1,_0x175cd6=!0x0);}return _0x175cd6;}}function _(_0x53a2e3,_0x16a442,_0x177b19){if(_0x177b19['childCount'])return!0x1;const _0x445a27=_0x16a442?'paragraph':'footnoteInlineContent';return _0x53a2e3['insert'](_0x53a2e3['createElement'](_0x445a27),_0x177b19),!0x0;}function I(_0xe58a58,_0x355785,_0x48adb9){if(0x0===_0x355785['length'])return 0x0;const _0x3b4d79=_0xe58a58['createPositionBefore'](_0x48adb9);for(let _0x2e342f=0x0;_0x2e342f<_0x355785['length'];_0x2e342f++){const _0x553eda=_0x355785[_0x2e342f],_0x3096fd=_0xe58a58['createPositionBefore'](_0x553eda['reference']);if('before'===_0x3b4d79['compareWith'](_0x3096fd))return _0x2e342f;}const _0x3c57c4=_0x48adb9['root'];let _0x515270=-0x1;for(let _0x5617f7=_0x355785['length']-0x1;_0x5617f7>=0x0;_0x5617f7--)if(_0x355785[_0x5617f7]['reference']['root']===_0x3c57c4){_0x515270=_0x5617f7;break;}if(-0x1!==_0x515270)return _0x515270+0x1;const _0x5caeda=_0xe58a58['document']['getRootNames'](),_0x34281c=_0x5caeda['indexOf'](_0x3c57c4['rootName']),_0x2d5d3d=_0x5caeda[_0x34281c+0x1];if(_0x2d5d3d){for(let _0x358f53=0x0;_0x358f53<_0x355785['length'];_0x358f53++)if(_0x355785[_0x358f53]['reference']['root']['rootName']===_0x2d5d3d)return _0x358f53;}return _0x355785['length'];}class m extends _0x38f340{['refresh'](){const _0x3bcba9=this['editor']['model']['document']['selection'],_0x4da242=this['_getPositionToInsertFootnote'](_0x3bcba9);this['isEnabled']=!!_0x4da242;}['execute'](_0x5e58f5){const {editor:_0x1c43a5}=this,{model:_0x3da633}=_0x1c43a5,{selection:_0x11f046}=_0x3da633['document'],_0x423afb=this['_getPositionToInsertFootnote'](_0x11f046);if(!_0x423afb)return;const _0x24cc41=_0x1c43a5['plugins']['get']('FootnotesEditing'),_0x166101=_0x5e58f5?.['footnoteId']??_0xf15334();!function(_0x4185d6){return'string'==typeof _0x4185d6&&_0x4185d6['length']>0x0&&!/\s/['test'](_0x4185d6)&&!/^\d/['test'](_0x4185d6);}(_0x166101)?_0x54d84b('insert-footnote-command-executed-with-invalid-id'):(_0x3da633['change'](_0x4a6939=>{const _0xb38211=_0x4a6939['createElement']('footnoteRef',{'footnoteId':_0x166101});_0x3da633['insertObject'](_0xb38211,_0x423afb,null);}),_0x24cc41['_moveSelectionToFootnoteDefinition'](_0x166101));}['_getPositionToInsertFootnote'](_0x23f667){const {model:_0x47318d}=this['editor'],{schema:_0x3fcf36}=_0x47318d,_0x1f6824=_0x23f667['getFirstRange']();for(const _0x1ddf32 of _0x1f6824['getItems']())if(_0x3fcf36['isBlock'](_0x1ddf32)||_0x3fcf36['isObject'](_0x1ddf32))return null;const _0x223e80=_0x1f6824['end'];return _0x3fcf36['checkChild'](_0x223e80,'footnoteRef')?_0x223e80:null;}}class r extends _0x56a762{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x200b42}=this;_0x200b42['config']['define']('footnotes.multiBlock',!0x0),_0x200b42['commands']['add']('insertFootnote',new m(_0x200b42)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5c07db){const _0x3c7b3b=_0x52b546([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]),_0x26d189=0x47a28506,_0x2d2d74=0x47a5f2de^_0x26d189,_0x2c6032=window[_0x52b546([0x44,0x61,0x74,0x65])][_0x52b546([0x6e,0x6f,0x77])](),_0x4f62f1=_0x5c07db[_0x52b546([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3efe33=new window[(_0x52b546([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ac399=>{_0x4f62f1[_0x52b546([0x6f,0x6e,0x63,0x65])](_0x52b546([0x72,0x65,0x61,0x64,0x79]),_0x2ac399);}),_0x5b624b={[_0x52b546([0x6b,0x74,0x79])]:_0x52b546([0x45,0x43]),[_0x52b546([0x75,0x73,0x65])]:_0x52b546([0x73,0x69,0x67]),[_0x52b546([0x63,0x72,0x76])]:_0x52b546([0x50,0x2d,0x32,0x35,0x36]),[_0x52b546([0x78])]:_0x52b546([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]),[_0x52b546([0x79])]:_0x52b546([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]),[_0x52b546([0x61,0x6c,0x67])]:_0x52b546([0x45,0x53,0x32,0x35,0x36])},_0x153a4d=_0x4f62f1[_0x52b546([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x52b546([0x67,0x65,0x74])](_0x52b546([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1b5ad5(){let _0x7c3b8,_0x1980cc=null,_0x29b078=null;try{if(_0x153a4d==_0x52b546([0x47,0x50,0x4c]))return _0x52b546([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x7c3b8=_0x482716(),!_0x7c3b8)return _0x52b546([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x7c3b8[_0x52b546([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29b078=_0x34d404(_0x7c3b8[_0x52b546([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x7c3b8[_0x52b546([0x6a,0x74,0x69])])),await _0x2da2c8()?_0x2700df()?_0x2e2895()?_0x52b546([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x225d92()?(_0x7c3b8[_0x52b546([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52b546([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1980cc=_0x470f4c(_0x52b546([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x7c3b8[_0x52b546([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x52b546([0x74,0x72,0x69,0x61,0x6c])&&(_0x1980cc=_0x470f4c(_0x52b546([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x38dda9()):_0x52b546([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x52b546([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x52b546([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x52b546([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2e2895(){const _0x46ac74=[_0x52b546([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x52b546([0x74,0x72,0x69,0x61,0x6c])][_0x52b546([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x7c3b8[_0x52b546([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2c6032/0x3e8:0xe10*_0x2d2d74;return _0x7c3b8[_0x52b546([0x65,0x78,0x70])]<_0x46ac74;}function _0x2700df(){const _0x386d14=_0x7c3b8[_0x52b546([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x386d14&&(!!_0x386d14[_0x52b546([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52b546([0x2a]))||!!_0x386d14[_0x52b546([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52b546([0x46,0x4f,0x4f])));}function _0x225d92(){const _0x19a3a0=_0x7c3b8[_0x52b546([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x19a3a0||0x0==_0x19a3a0[_0x52b546([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x561e65}=new URL(window[_0x52b546([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x19a3a0[_0x52b546([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x561e65))return!0x0;const _0x252011=_0x561e65[_0x52b546([0x73,0x70,0x6c,0x69,0x74])](_0x52b546([0x2e]));return _0x19a3a0[_0x52b546([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x308a6c=>_0x308a6c[_0x52b546([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52b546([0x2a])))[_0x52b546([0x6d,0x61,0x70])](_0x2e2cfd=>_0x2e2cfd[_0x52b546([0x73,0x70,0x6c,0x69,0x74])](_0x52b546([0x2e])))[_0x52b546([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x316592=>_0x316592[_0x52b546([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x252011[_0x52b546([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52b546([0x6d,0x61,0x70])](_0x5a9fcb=>Array(_0x252011[_0x52b546([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a9fcb[_0x52b546([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x52b546([0x66,0x69,0x6c,0x6c])](_0x5a9fcb[0x0]===_0x52b546([0x2a])?_0x52b546([0x2a]):'')[_0x52b546([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a9fcb))[_0x52b546([0x73,0x6f,0x6d,0x65])](_0x5385bb=>_0x252011[_0x52b546([0x65,0x76,0x65,0x72,0x79])]((_0x447438,_0x29c0ac)=>_0x5385bb[_0x29c0ac]===_0x447438||_0x5385bb[_0x29c0ac]===_0x52b546([0x2a])));}function _0x38dda9(){return _0x1980cc&&_0x29b078?new window[(_0x52b546([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f9aad,_0x229515)=>{_0x1980cc[_0x52b546([0x74,0x68,0x65,0x6e])](_0x1f9aad,_0x229515),_0x29b078[_0x52b546([0x74,0x68,0x65,0x6e])](_0x4bf5ae=>{_0x4bf5ae!=_0x52b546([0x56,0x61,0x6c,0x69,0x64])&&_0x1f9aad(_0x4bf5ae);},_0x229515);}):_0x1980cc||_0x29b078||_0x52b546([0x56,0x61,0x6c,0x69,0x64]);}}function _0x34d404(_0x54acde,_0x2ec77e){return new window[(_0x52b546([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x282da0=>{if(_0x2af8c8())return _0x282da0(_0x52b546([0x56,0x61,0x6c,0x69,0x64]));_0x226341(),_0x4f62f1[_0x52b546([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x52b546([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x19636b=!0x1;const _0x224540=_0xf15334();function _0x5075c9(_0x2a4fc2){return!!_0x2a4fc2&&(typeof _0x2a4fc2===_0x52b546([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2a4fc2===_0x52b546([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2a4fc2[_0x52b546([0x74,0x68,0x65,0x6e])]===_0x52b546([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2a4fc2[_0x52b546([0x63,0x61,0x74,0x63,0x68])]===_0x52b546([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52a19f(_0xacd30){_0xc0f77b(_0xacd30)[_0x52b546([0x74,0x68,0x65,0x6e])](_0x9a1d25=>{if(!_0x9a1d25||_0x9a1d25[_0x52b546([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x52b546([0x6f,0x6b]))return _0x52b546([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d6ba3(_0x470e38(_0x224540+_0x2ec77e))!=_0x9a1d25[_0x52b546([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x52b546([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x52b546([0x56,0x61,0x6c,0x69,0x64]);})[_0x52b546([0x74,0x68,0x65,0x6e])](_0x3cd196=>(_0x4f68fd(),_0x3cd196),()=>{const _0x470a48=_0x49a606();return null==_0x470a48?(_0x4f68fd(),_0x52b546([0x56,0x61,0x6c,0x69,0x64])):_0x52b546(_0x2c6032-_0x470a48>(0x63ae0106^_0x26d189)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x52b546([0x74,0x68,0x65,0x6e])](_0x282da0)[_0x52b546([0x63,0x61,0x74,0x63,0x68])](()=>{_0x282da0(_0x52b546([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33adce=0x47946b86^_0x26d189;function _0x4f68fd(){const _0x36a8bf=_0x52b546([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d6ba3(_0x470e38(_0x54acde)),_0x20feb8=_0x165829(_0x5d6ba3(window[_0x52b546([0x4d,0x61,0x74,0x68])][_0x52b546([0x63,0x65,0x69,0x6c])](_0x2c6032/_0x33adce)));window[_0x52b546([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52b546([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x36a8bf,_0x20feb8);}function _0x49a606(){const _0x30be26=_0x52b546([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d6ba3(_0x470e38(_0x54acde)),_0x59d0f9=window[_0x52b546([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x52b546([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x30be26);return _0x59d0f9?window[_0x52b546([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x165829(_0x59d0f9),0x10)*_0x33adce:null;}function _0xc0f77b(_0x1fa97a){return new window[(_0x52b546([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x170a0e,_0x944e6a)=>{_0x1fa97a[_0x52b546([0x74,0x68,0x65,0x6e])](_0x170a0e,_0x944e6a),window[_0x52b546([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x944e6a,0x47a351c6^_0x26d189);});}}_0x4f62f1[_0x52b546([0x6f,0x6e])](_0x52b546([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4d6863,_0x2c8b03)=>{if(_0x2c8b03[0x0]!=_0x54acde)return _0x282da0(_0x52b546([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c8b03[0x1]={..._0x2c8b03[0x1],[_0x52b546([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x224540};},{[_0x52b546([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52b546([0x68,0x69,0x67,0x68])}),_0x4f62f1[_0x52b546([0x6f,0x6e])](_0x52b546([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x9b2a2f=>{_0x5075c9(_0x9b2a2f[_0x52b546([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x19636b=!0x0,_0x52a19f(_0x9b2a2f[_0x52b546([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x52b546([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x52b546([0x6c,0x6f,0x77])}),_0x3efe33[_0x52b546([0x74,0x68,0x65,0x6e])](()=>{_0x19636b||_0x282da0(_0x52b546([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2af8c8(){return _0x4f62f1[_0x52b546([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52b546([0x76,0x69,0x65,0x77])][_0x52b546([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x52b546([0x61,0x75,0x74,0x6f]);}function _0x226341(){_0x4f62f1[_0x52b546([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x52b546([0x76,0x69,0x65,0x77])][_0x52b546([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x52b546([0x61,0x75,0x74,0x6f]);}}function _0x470f4c(_0x33b8a8){const _0x253cfc=[new window[(_0x52b546([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3af25e=>setTimeout(_0x3af25e,0x47abbbca^_0x26d189)),_0x3efe33[_0x52b546([0x74,0x68,0x65,0x6e])](()=>new window[(_0x52b546([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3369eb=>{let _0x166ea1=0x0;_0x4f62f1[_0x52b546([0x6d,0x6f,0x64,0x65,0x6c])][_0x52b546([0x6f,0x6e])](_0x52b546([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e624b,_0x4f7570)=>{_0x4f7570[0x0][_0x52b546([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x166ea1++,_0x166ea1==(0x47a284fe^_0x26d189)&&(_0x3369eb(),_0x4e624b[_0x52b546([0x6f,0x66,0x66])]());});}))];return window[_0x52b546([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x52b546([0x72,0x61,0x63,0x65])](_0x253cfc)[_0x52b546([0x74,0x68,0x65,0x6e])](()=>_0x33b8a8);}async function _0x49b39a(){await _0x3efe33,_0x4f62f1[_0x52b546([0x6d,0x6f,0x64,0x65,0x6c])][_0x52b546([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18d321,_0x4f62f1[_0x52b546([0x6d,0x6f,0x64,0x65,0x6c])][_0x52b546([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18d321,_0x4f62f1[_0x52b546([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x52b546([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1a9778(_0x5db7c2){const _0x225b75=_0x17c742();_0x4f62f1[_0x225b75]=_0x52b546([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5db7c2,_0x5db7c2!=_0x52b546([0x56,0x61,0x6c,0x69,0x64])&&_0x49b39a();}function _0x17c742(){const _0x4ffdfd=window[_0x52b546([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x52b546([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x52b546([0x6e,0x6f,0x77])]())[_0x52b546([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x52b546([0x2e]),'');let _0x2dab41=_0x52b546([0x75]);for(let _0x41ebcf=0x0;_0x41ebcf<_0x4ffdfd[_0x52b546([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41ebcf+=0x2){let _0x551055=window[_0x52b546([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ffdfd[_0x52b546([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41ebcf,_0x41ebcf+0x2));_0x551055>=_0x3c7b3b[_0x52b546([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x551055-=_0x3c7b3b[_0x52b546([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2dab41+=_0x3c7b3b[_0x551055];}return _0x2dab41;}function _0x482716(){const _0xe44605=_0x153a4d[_0x52b546([0x73,0x70,0x6c,0x69,0x74])](_0x52b546([0x2e]));if(0x3!=_0xe44605[_0x52b546([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3051e9(_0xe44605[0x1]);function _0x3051e9(_0x479442){const _0x127f84=_0x5db59d(_0x479442);return _0x127f84&&_0x32c3da()?_0x127f84:null;function _0x32c3da(){const _0x5512c7=_0x127f84[_0x52b546([0x6a,0x74,0x69])],_0x32494e=window[_0x52b546([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5512c7[_0x52b546([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5512c7[_0x52b546([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x520363={..._0x127f84,[_0x52b546([0x6a,0x74,0x69])]:_0x5512c7[_0x52b546([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5512c7[_0x52b546([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x520363[_0x52b546([0x76,0x63])],_0x470e38(_0x520363)==_0x32494e;}}}async function _0x2da2c8(){let _0x1f62f5=!0x0;try{const _0x146df4=_0x153a4d[_0x52b546([0x73,0x70,0x6c,0x69,0x74])](_0x52b546([0x2e])),[_0x39e2ad,_0x381cdd,_0x19dc5d]=_0x146df4;return _0xa4f7(_0x39e2ad),await _0xc9768a(_0x39e2ad,_0x381cdd,_0x19dc5d),_0x1f62f5;}catch{return!0x1;}function _0xa4f7(_0x29fca3){const _0x219e7d=_0x5db59d(_0x29fca3);_0x219e7d&&_0x219e7d[_0x52b546([0x61,0x6c,0x67])]==_0x52b546([0x45,0x53,0x32,0x35,0x36])||(_0x1f62f5=!0x1);}async function _0xc9768a(_0x5c8f62,_0x243ad5,_0x3e0ec4){const _0x24f0d5=window[_0x52b546([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x52b546([0x66,0x72,0x6f,0x6d])](_0xc8b10b(_0x3e0ec4),_0x5a2427=>_0x5a2427[_0x52b546([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x522532=new window[(_0x52b546([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x52b546([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5c8f62+_0x52b546([0x2e])+_0x243ad5),_0xa8a21d=window[_0x52b546([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x52b546([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa8a21d)return;const _0x4667b6=await _0xa8a21d[_0x52b546([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x52b546([0x6a,0x77,0x6b]),_0x5b624b,{[_0x52b546([0x6e,0x61,0x6d,0x65])]:_0x52b546([0x45,0x43,0x44,0x53,0x41]),[_0x52b546([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x52b546([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x52b546([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa8a21d[_0x52b546([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x52b546([0x6e,0x61,0x6d,0x65])]:_0x52b546([0x45,0x43,0x44,0x53,0x41]),[_0x52b546([0x68,0x61,0x73,0x68])]:{[_0x52b546([0x6e,0x61,0x6d,0x65])]:_0x52b546([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4667b6,_0x24f0d5,_0x522532)||(_0x1f62f5=!0x1);}}function _0x5db59d(_0x5d6489){return _0x5d6489[_0x52b546([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x52b546([0x65,0x79]))?JSON[_0x52b546([0x70,0x61,0x72,0x73,0x65])](_0xc8b10b(_0x5d6489)):null;}function _0xc8b10b(_0x223640){return window[_0x52b546([0x61,0x74,0x6f,0x62])](_0x223640[_0x52b546([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x52b546([0x2b]))[_0x52b546([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x52b546([0x2f])));}function _0x470e38(_0x2acb3f){let _0x2547b6=0x1505;function _0x1cae76(_0x54e87c){for(let _0x170497=0x0;_0x170497<_0x54e87c[_0x52b546([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x170497++){const _0x512849=_0x54e87c[_0x52b546([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x170497);_0x2547b6=(_0x2547b6<<0x5)+_0x2547b6+_0x512849,_0x2547b6&=_0x2547b6;}}function _0x93d434(_0x172ccb){Array[_0x52b546([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x172ccb)?_0x172ccb[_0x52b546([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x93d434):_0x172ccb&&typeof _0x172ccb==_0x52b546([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x52b546([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x172ccb)[_0x52b546([0x73,0x6f,0x72,0x74])]()[_0x52b546([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x304a93,_0x1284ed])=>{_0x1cae76(_0x304a93),_0x93d434(_0x1284ed);}):_0x1cae76(window[_0x52b546([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x172ccb));}return _0x93d434(_0x2acb3f),_0x2547b6>>>0x0;}function _0x5d6ba3(_0x4bb5d3){return _0x4bb5d3[_0x52b546([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x52b546([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x52b546([0x30]));}function _0x165829(_0x24cd17){return _0x24cd17[_0x52b546([0x73,0x70,0x6c,0x69,0x74])]('')[_0x52b546([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x52b546([0x6a,0x6f,0x69,0x6e])]('');}function _0x18d321(){}function _0x52b546(_0x216244){return _0x216244['map'](_0x556c78=>String['fromCharCode'](_0x556c78))['join']('');}_0x1a9778(await _0x1b5ad5());}(this);}['_moveSelectionToFootnoteDefinition'](_0x236b1b){const {plugins:_0x2141dc,editing:_0x207ad7,model:_0x26bf0a}=this['editor'],_0x1118fb=_0x2141dc['get'](c)['getFootnote'](_0x236b1b);return!!_0x1118fb&&(_0x26bf0a['change'](_0x34deb2=>{_0x34deb2['setSelection'](_0x34deb2['createPositionAt'](_0x1118fb['definition'],'end'));}),_0x207ad7['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xa39d0d){const {plugins:_0x33cf9c,editing:_0x535ad6,model:_0x2a9d81}=this['editor'],_0x488fac=_0x33cf9c['get'](c)['getFootnote'](_0xa39d0d);return!!_0x488fac&&(_0x2a9d81['change'](_0x50ed84=>{_0x50ed84['setSelection'](_0x488fac['reference'],'on');}),_0x535ad6['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3feab5}=this['editor']['model'],_0x44a2b9=this['editor']['config']['get']('footnotes.multiBlock');_0x3feab5['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3feab5['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3feab5['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x44a2b9?_0x3feab5['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3feab5['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3feab5['addChildCheck'](_0x12ec79=>{for(const _0x4d6cc0 of _0x12ec79)if('footnoteDefinition'===_0x4d6cc0['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xba472f}=this,{conversion:_0x433a83,editing:_0x1c5caf}=_0xba472f,{t:t}=_0xba472f['locale'];_0x433a83['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3a25b6,{writer:_0x11c49c,consumable:_0x642966})=>{const _0x1ec8c1=_0x3a25b6['getChild'](0x0);if(!_0x1ec8c1||!_0x1ec8c1['is']('element','a'))return null;const _0x3d6caa=_0x1ec8c1['getAttribute']('href')||'';if(!_0x3d6caa['startsWith']('#'))return null;const _0x292577=_0x3d6caa['replace'](/^#/,'');if(!_0x292577)return null;_0x642966['consume'](_0x1ec8c1,{'name':!0x0,'attributes':['href']});for(const {item:_0x5d714e}of _0x1c5caf['view']['createRangeIn'](_0x1ec8c1))_0x5d714e['is']('$textProxy')?_0x642966['consume'](_0x5d714e['textNode'],{'name':!0x0}):_0x5d714e['is']('element')&&_0x642966['consume'](_0x5d714e,{'name':!0x0});return _0x11c49c['createElement']('footnoteRef',{'footnoteId':_0x292577});}}),_0x433a83['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x850f10,{writer:_0x4f0fb1})=>D(_0x850f10,_0x4f0fb1)}),_0x433a83['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2b52a8,{writer:_0x373cc4})=>{const _0x32df26=_0x2b52a8['getAttribute']('footnoteCounter');return _0x5146b1(D(_0x2b52a8,_0x373cc4),_0x373cc4,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x32df26)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4768be}=this,{t:t}=_0x4768be['locale'],{conversion:_0x331deb}=_0x4768be;_0x331deb['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x331deb['for']('upcast')['add'](_0x4ffa0e=>{_0x4ffa0e['on']('element:ol',(_0x5e013b,_0x4a08ea,_0x5832ca)=>{const _0x5d9aed=_0x4a08ea['viewItem'];if(!_0x5d9aed['hasClass']('footnotes-list')||!_0x4a08ea['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5832ca['consumable']['consume'](_0x5d9aed,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x33bc7b,modelCursor:_0x1d326d}=_0x5832ca['convertChildren'](_0x4a08ea['viewItem'],_0x4a08ea['modelCursor']);_0x4a08ea['modelRange']=_0x33bc7b,_0x4a08ea['modelCursor']=_0x1d326d;}),_0x4ffa0e['on']('element:hr',(_0x44493f,_0x125c23,_0x540f29)=>{const _0x484cc5=_0x125c23['viewItem'];_0x484cc5['hasClass']('footnotes-divider')&&_0x125c23['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x540f29['consumable']['consume'](_0x484cc5,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x331deb['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x186e5c,{writer:_0x13fab7})=>v(_0x13fab7)}),_0x331deb['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x24ac02,{writer:_0x21153a})=>{const _0x479c48=v(_0x21153a,{'data-footnotes-list-label':t('Footnotes')}),_0x3f8934=_0x5146b1(_0x479c48,_0x21153a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x21153a['setCustomProperty']('footnotesDefinitions',!0x0,_0x3f8934),_0x3f8934;}});}['_defineDefinitionConverters'](){const {editor:_0x49a7f9}=this,{conversion:_0x34b6fa,locale:_0x6589ad}=_0x49a7f9,_0x2914db=_0x49a7f9['config']['get']('footnotes.multiBlock');_0x34b6fa['for']('upcast')['add'](_0x4a09c4=>{_0x4a09c4['on']('element:li',(_0x42606a,_0x410f3c,_0x5b8493)=>{const _0x15cabb=_0x410f3c['viewItem'];if(!_0x15cabb['hasClass']('footnote-definition')||!_0x15cabb['getAttribute']('id'))return;const _0x49c95f=_0x15cabb['parent'];if(!_0x49c95f['is']('element','ol')||!_0x49c95f['hasClass']('footnotes-list'))return;if(!_0x5b8493['consumable']['test'](_0x15cabb,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x31f926=_0x5b8493['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x15cabb['getAttribute']('id')});if(!_0x5b8493['safeInsert'](_0x31f926,_0x410f3c['modelCursor']))return;_0x5b8493['consumable']['consume'](_0x15cabb,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x482f96=Array['from'](_0x15cabb['getChildren']())['find'](_0x308a48=>_0x308a48['is']('element')&&_0x308a48['hasClass']('footnote-content'));for(const _0x94a91e of _0x15cabb['getChildren']())_0x94a91e['is']('element')&&(_0x5b8493['consumable']['consume'](_0x94a91e,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5b8493['consumable']['consume'](_0x94a91e,{'name':!0x0,'classes':'footnote-content'}));if(_0x482f96){if(_0x2914db)_0x5b8493['convertChildren'](_0x482f96,_0x31f926);else{const _0x5e134a=_0x5b8493['writer']['createElement']('footnoteInlineContent');_0x5b8493['writer']['insert'](_0x5e134a,_0x31f926),_0x5b8493['convertChildren'](_0x482f96,_0x5e134a);}}_0x5b8493['updateConversionResult'](_0x31f926,_0x410f3c);});}),_0x34b6fa['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5429e9,{writer:_0x1adc00})=>b(_0x5429e9,_0x1adc00,_0x6589ad,{'dataPipeline':!0x0})}),_0x34b6fa['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2c3476,{writer:_0x587ce7})=>b(_0x2c3476,_0x587ce7,_0x6589ad)});}['_defineBogusParagraphConverters'](){const {editor:_0x396f29}=this,{conversion:_0x5663a8}=_0x396f29;_0x396f29['config']['get']('footnotes.multiBlock')?(_0x5663a8['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x5663a8['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x396f29['model']['document'],'change:data',()=>{!function(_0x53b415,_0x55411e){const _0x36a8a4=_0x53b415['document']['differ'],_0x206aff=new Set();for(const _0x4df5c9 of _0x36a8a4['getChanges']()){const _0x4d1b17='attribute'==_0x4df5c9['type']?_0x4df5c9['range']['start']['parent']:_0x4df5c9['position']['parent'];_0x4d1b17['is']('element','footnoteDefinition')&&_0x206aff['add'](_0x4d1b17);}for(const _0x450ba3 of _0x206aff['values']()){const _0x17db26=Array['from'](_0x450ba3['getChildren']())['filter'](_0x12e661=>g(_0x12e661,_0x55411e['mapper']));for(const _0x270728 of _0x17db26)_0x55411e['reconvertItem'](_0x270728);}}(_0x396f29['model'],_0x396f29['editing']);})):(_0x5663a8['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x5663a8['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4fa8e0,{writer:_0x300558})=>{const _0x5b3a1a=_0x300558['createContainerElement']('span');return _0x300558['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5b3a1a),_0x5b3a1a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x64e386}=this,{editing:_0x5216fd,t:t}=_0x64e386,_0x427267=_0x64e386['model']['document']['selection'];_0x64e386['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x64e386['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5216fd['view']['document'],'enter',(_0x44e625,_0x143992)=>{const _0x2caacf=function(_0x41089e){const _0x257925=_0x41089e['getSelectedElement']();if(_0x257925?.['is']('element','footnoteRef'))return _0x257925;return null;}(_0x427267);if(_0x2caacf){const _0x1bcab5=_0x2caacf['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1bcab5),_0x143992['preventDefault'](),_0x44e625['stop']();}},{'context':_0x5eb282});}['_defineClickHandlers'](){const {editor:_0x4ac713}=this,{editing:_0x27d39c}=_0x4ac713;_0x4ac713['editing']['view']['addObserver'](_0x4f0f0b),_0x4ac713['editing']['view']['addObserver'](_0x52d689);let _0x63e20b=!0x1;this['listenTo'](_0x27d39c['view']['document'],'pointerdown',(_0x3b0903,_0xea3868)=>{const {target:_0x5e851c}=_0xea3868,_0x3797a4=_0x27d39c['view']['document']['selection'];_0x63e20b=!!(_0x5e851c?.['is']('element','a')&&_0x5e851c['parent']?.['is']('element','sup')&&_0x5e851c['parent']['hasClass']('footnote'))&&_0x3797a4['getSelectedElement']()===_0x5e851c['parent'];},{'priority':'high'}),this['listenTo'](_0x27d39c['view']['document'],'click',(_0x4efdb1,_0x43fde7)=>{const {target:_0x1320ca}=_0x43fde7;if(!_0x1320ca?.['is']('element','a'))return;if(_0x1320ca['parent']?.['is']('element','sup')&&_0x1320ca['parent']['hasClass']('footnote')&&!_0x63e20b)return void _0x43fde7['preventDefault']();let _0x705e80=_0x1320ca['getAttribute']('href');if(!_0x705e80?.['startsWith']('#'))return;_0x705e80=_0x705e80['slice'](0x1);let _0x1775ce=!0x1;(_0x705e80['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x705e80['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x705e80))&&(_0x1775ce=!0x0),_0x1775ce&&(_0x43fde7['preventDefault'](),_0x4efdb1['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x238f95}={}){return(_0x496c01,{writer:_0x2929fb})=>{if(!p(_0x496c01))return null;if(!_0x238f95)return _0x2929fb['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x398be9=_0x2929fb['createContainerElement']('p');return _0x2929fb['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x398be9),_0x398be9;};}function p(_0x383f39){const {parent:_0x50119d}=_0x383f39;if(!_0x50119d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x50119d['childCount'])return!0x1;for(const _0x35bad9 of _0x383f39['getAttributeKeys']())if(!_0x35bad9['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x35bad9)return!0x1;return!0x0;}function g(_0x3025ba,_0x5a7de9){if(!_0x3025ba['is']('element','paragraph'))return!0x1;const _0x407c0a=_0x5a7de9['toViewElement'](_0x3025ba);return!!_0x407c0a&&p(_0x3025ba)!==_0x407c0a['is']('element','span');}function J(_0x545bbf){return _0x5eb282(_0x545bbf)&&_0x545bbf['is']('containerElement')&&!!_0x545bbf['getCustomProperty']('footnotesDefinitions');}function v(_0x16077e,_0x516bb4={}){const _0x44cb9d=_0x16077e['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x44c56d=_0x16077e['createContainerElement']('ol',{'class':'footnotes-list'},_0x16077e['createSlot']());return _0x16077e['createContainerElement']('div',{'class':'footnotes',..._0x516bb4},[_0x44cb9d,_0x44c56d]);}function D(_0x40e6af,_0x4b7521){const _0x4dce87=_0x40e6af['getAttribute']('footnoteId'),_0xe18edb=_0x40e6af['getAttribute']('footnoteCounter'),_0x379b3c=_0x4b7521['createUIElement']('a',{'href':'#'+_0x4dce87},function(_0x3e4815){const _0x302c12=this['toDomElement'](_0x3e4815);return _0x302c12['textContent']=_0xe18edb,_0x302c12;}),_0x411cbe=_0x4b7521['createContainerElement']('sup',{'id':'ref-'+_0x4dce87,'class':'footnote'},[_0x379b3c]);return _0x411cbe['getFillerOffset']=()=>null,_0x411cbe;}function b(_0x4a35ae,_0x359242,_0x53337b,{dataPipeline:_0xc3735f}={}){const {t:t}=_0x53337b,_0x45d3d6=_0x4a35ae['getAttribute']('footnoteId'),_0x2f748a=_0x359242['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x45d3d6},function(_0x55fdff){const _0x238629=this['toDomElement'](_0x55fdff);return _0x238629['innerText']='^',_0x238629;}),_0x7af18c=_0xc3735f?_0x359242['createContainerElement']('div',{'class':'footnote-content'}):_0x4e9961(_0x359242['createEditableElement']('div',{'class':'footnote-content'}),_0x359242,{'label':t('Footnote\x20content.')});return _0x359242['insert'](_0x359242['createPositionAt'](_0x7af18c,0x0),_0x359242['createSlot']()),_0x359242['createContainerElement']('li',{'class':'footnote-definition','id':_0x45d3d6},[_0x2f748a,_0x7af18c]);}class e extends _0x56a762{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x5e5846];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x2e4b7c}=this,{plugins:_0x3fd431,model:_0x9aff68}=_0x2e4b7c,_0x4c2590=_0x3fd431['get'](_0x5e5846),_0x4b3888=_0x3fd431['get'](c);this['listenTo'](_0x4c2590,'outputTransformation',(_0x57ed36,_0x388922)=>{const _0x40387f=f(_0x9aff68['createRangeIn'](_0x388922['content']));if(!_0x40387f['length'])return;const _0x2a0e5b=_0x4b3888['getFootnotes'](),_0x5a8925=_0x40387f['reduce']((_0x54b1d2,_0x5131fa)=>{const _0x3dd5a4=_0x2a0e5b['find'](_0x5f5d97=>_0x5f5d97['id']===_0x5131fa);if(_0x3dd5a4){const _0x33a326=_0x2e4b7c['data']['toView'](_0x3dd5a4['definition'],{'isClipboardPipeline':!0x0}),_0x2e28b4=_0x2e4b7c['data']['htmlProcessor']['toData'](_0x33a326);_0x54b1d2[_0x3dd5a4['id']]=_0x2e28b4;}return _0x54b1d2;},Object['create'](null));_0x388922['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5a8925));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1f27d9}=this,{model:_0x5b3c2e,plugins:_0x1e8156}=_0x1f27d9,{view:_0x1d2e1b}=_0x1f27d9['editing'],_0x322718=_0x1e8156['get'](_0x5e5846),_0x1dbae3=_0x1e8156['get'](c);let _0x37eab6=null;this['listenTo'](_0x1d2e1b['document'],'clipboardInput',(_0x13669b,_0x1585ec)=>{const _0x20583a=_0x1585ec['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x37eab6=_0x20583a?JSON['parse'](_0x20583a):null;}),this['listenTo'](_0x322718,'contentInsertion',(_0x4c1c81,_0x3c1756)=>{const _0x4c06d9=_0x3c1756['sourceEditorId']===this['editor']['id'];_0x4c06d9&&'drop'===_0x3c1756['method']||_0x5b3c2e['change'](_0x1976d1=>{let _0x4ab337=_0x1dbae3['getFootnotesDefinitionsObjectElement']();const _0x3d44f4=!!_0x4ab337&&Array['from'](_0x5b3c2e['document']['selection']['getSelectedBlocks']())['includes'](_0x4ab337);if(_0x4ab337&&!_0x3d44f4&&function(_0x3e193e,_0x15c945){const _0x2a6e2c=[];for(const {item:_0x10d5c4}of _0x3e193e['createRangeIn'](_0x15c945))_0x10d5c4['is']('element','footnotesDefinitions')&&_0x2a6e2c['push'](_0x10d5c4);for(const _0x43d0ec of _0x2a6e2c)_0x3e193e['remove'](_0x43d0ec);}(_0x1976d1,_0x3c1756['content']),!_0x37eab6)return;const {selection:_0x2fa83a}=_0x5b3c2e['document'],_0x5ce5b8=_0x2fa83a['getFirstRange']()['root'];_0x4ab337&&!_0x3d44f4||(_0x4ab337=function(_0x45675a,_0x4d4ed9){for(const {item:_0x417690}of _0x45675a['createRangeIn'](_0x4d4ed9))if(_0x417690['is']('element','footnotesDefinitions'))return _0x417690;return null;}(_0x1976d1,_0x3c1756['content']),_0x4ab337||=_0x1dbae3['_insertEmptyFootnotesDefinitionsContainer'](_0x1976d1,_0x5ce5b8));const _0x5c8db0=Array['from'](_0x2fa83a['getRanges']())['flatMap'](f),_0x59c2f8=function(_0x31e62a,_0x1156cf,_0x4db79d){const _0xf3b518=Object['create'](null);for(const {item:_0x31b84f}of _0x31e62a['createRangeIn'](_0x1156cf))if(_0x31b84f['is']('element','footnoteRef')){const _0x29e7e6=_0x31b84f['getAttribute']('footnoteId');if(!_0x4db79d(_0x29e7e6))continue;_0xf3b518[_0x29e7e6]||(_0xf3b518[_0x29e7e6]=_0xf15334()),_0x31e62a['setAttribute']('footnoteId',_0xf3b518[_0x29e7e6],_0x31b84f);}return _0xf3b518;}(_0x1976d1,_0x3c1756['content'],_0x3bdfa1=>{if(!_0x4c06d9)return!0x0;return!!_0x1dbae3['getFootnote'](_0x3bdfa1)&&!_0x5c8db0['includes'](_0x3bdfa1);});for(const [_0x54faee,_0x24387d]of Object['entries'](_0x37eab6)){const _0xf3edae=_0x59c2f8[_0x54faee]||_0x54faee,_0x21b5f1=_0x1976d1['createElement']('footnoteDefinition',{'footnoteId':_0xf3edae}),_0x55d722=_0x1f27d9['data']['htmlProcessor']['toView'](_0x24387d),_0x2e7b83=_0x1f27d9['data']['toModel'](_0x55d722,_0x21b5f1);_0x1976d1['append'](_0x2e7b83,_0x21b5f1),_0x1976d1['insert'](_0x21b5f1,_0x4ab337,'end');}_0x37eab6=null;});});}}function f(_0x3a70ec){const _0x253429=new Set();for(const {item:_0xe51152}of _0x3a70ec)_0xe51152['is']('element','footnoteRef')&&_0x253429['add'](_0xe51152['getAttribute']('footnoteId'));return Array['from'](_0x253429);}class i extends _0x56a762{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2bf228}=this,{componentFactory:_0x22863a}=_0x2bf228['ui'];_0x22863a['add']('insertFootnote',x(_0x2bf228,_0x35adf5)),_0x22863a['add']('menuBar:insertFootnote',x(_0x2bf228,_0x40f8a5)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x580cce=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc3a8d2;for(const _0x23b4d9 in _0x580cce){const _0x22d340=_0x23b4d9,_0x2d2562=_0x580cce[_0x22d340];if('footnotesLicenseKeyValid'==_0x2d2562||'footnotesLicenseKeyInvalid'==_0x2d2562||'footnotesLicenseKeyExpired'==_0x2d2562||'footnotesLicenseKeyDomainLimit'==_0x2d2562||'footnotesLicenseKeyNotAllowed'==_0x2d2562||'footnotesLicenseKeyEvaluationLimit'==_0x2d2562||'footnotesLicenseKeyTrialLimit'==_0x2d2562||'footnotesLicenseKeyUsageLimit'==_0x2d2562){delete _0x580cce[_0x22d340],_0xc3a8d2=_0x2d2562,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xc3a8d2&&_0x580cce['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xc3a8d2&&_0x580cce['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xc3a8d2&&_0x580cce['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xc3a8d2&&_0x580cce['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xc3a8d2&&_0x580cce['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0xc3a8d2&&_0x580cce['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0xc3a8d2&&_0x580cce['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x51e01b,_0x11ce53){const _0x16dfe7=_0x51e01b['commands']['get']('insertFootnote');return _0x191678=>{const {t:t}=_0x191678,_0x7464ae=new _0x11ce53(_0x191678),_0x9a36f0=_0x7464ae instanceof _0x40f8a5;return _0x7464ae['bind']('isEnabled')['to'](_0x16dfe7,'isEnabled'),_0x7464ae['set']({'label':t(_0x9a36f0?'Footnote':'Insert\x20footnote'),'icon':_0x4985ca,'tooltip':!0x0}),_0x7464ae['on']('execute',()=>{_0x16dfe7['execute'](),_0x51e01b['editing']['view']['focus']();}),_0x7464ae;};}class lt extends _0x56a762{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x38f340{['refresh'](){const {editor:_0x32f39e}=this,_0x4ab7c9=_0x32f39e['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4ab7c9,this['value']=_0x4ab7c9?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0xaa589d}){const {editor:_0x183ae8}=this,_0xaf94a2=_0x183ae8['plugins']['get'](c),_0x13ede3=_0xaf94a2['getFootnotesDefinitionsObjectElement']();_0x13ede3&&Q['includes'](_0xaa589d)&&_0x183ae8['model']['change'](_0x5242eb=>{_0x5242eb['setAttribute']('footnotesListStyle',_0xaa589d,_0x13ede3),_0xaf94a2['_updateFootnotesCounters'](_0x5242eb);});}}class C extends _0x38f340{['refresh'](){const {editor:_0xc21867}=this,_0x4c64fc=_0xc21867['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4c64fc,this['value']=_0x4c64fc?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4e399b}){const {editor:_0x3b99cd}=this,_0xe2c582=_0x3b99cd['plugins']['get'](c),_0x24ff79=_0xe2c582['getFootnotesDefinitionsObjectElement']();_0x24ff79&&Number['isInteger'](_0x4e399b)&&_0x3b99cd['model']['change'](_0x7c61ae=>{_0x7c61ae['setAttribute']('footnotesListStart',_0x4e399b,_0x24ff79),_0xe2c582['_updateFootnotesCounters'](_0x7c61ae);});}}class P extends _0x56a762{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1beea7}=this;_0x1beea7['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1beea7['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1beea7['commands']['add']('footnotesStyle',new S(_0x1beea7)),_0x1beea7['commands']['add']('footnotesStart',new C(_0x1beea7)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x28a1ed}=this,{schema:_0x2c81cd}=_0x28a1ed['model'];_0x2c81cd['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x278def}=this,{conversion:_0x169ff4,model:_0x43d784}=_0x278def,{schema:_0x47a0ce}=_0x43d784;_0x169ff4['for']('upcast')['add'](_0x869bdf=>{_0x869bdf['on']('element:ol',(_0x103784,_0x3c087a,_0xc1d041)=>{const _0xe10bd4=_0x3c087a['viewItem'],_0x17ecd9=_0x3c087a['modelCursor']?.['parent'];_0xe10bd4['hasClass']('footnotes-list')&&_0x17ecd9?.['is']('element','footnotesDefinitions')&&(function(_0x26e364,_0x4e1b7e,_0x405ffe,_0x46c4a9){if(!_0x46c4a9['checkAttribute'](_0x4e1b7e,'footnotesListStart'))return;let _0x311bd6=0x1;const _0x662a8d=_0x405ffe['consumable']['consume'](_0x26e364,{'attributes':'start'});if(_0x662a8d){const _0x3e2480=Number['parseInt'](_0x26e364['getAttribute']('start'),0xa);Number['isNaN'](_0x3e2480)||(_0x311bd6=_0x3e2480);}!_0x662a8d&&_0x4e1b7e['hasAttribute']('footnotesListStart')||_0x405ffe['writer']['setAttribute']('footnotesListStart',_0x311bd6,_0x4e1b7e);}(_0xe10bd4,_0x17ecd9,_0xc1d041,_0x47a0ce),function(_0x2f2dcf,_0x8cec10,_0x1bff81,_0x44bfb1){if(!_0x44bfb1['checkAttribute'](_0x8cec10,'footnotesListStyle'))return;let _0x26fc4f='decimal',_0x205ccb=!0x1;if(_0x1bff81['consumable']['consume'](_0x2f2dcf,{'attributes':'type'})){const _0x4c31cd={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2f2dcf['getAttribute']('type')];_0x4c31cd&&(_0x26fc4f=_0x4c31cd),_0x205ccb=!0x0;}_0x1bff81['consumable']['consume'](_0x2f2dcf,{'styles':'list-style-type'})&&(_0x26fc4f=_0x2f2dcf['getStyle']('list-style-type'),_0x205ccb=!0x0),!_0x205ccb&&_0x8cec10['hasAttribute']('footnotesListStyle')||_0x1bff81['writer']['setAttribute']('footnotesListStyle',_0x26fc4f,_0x8cec10);}(_0xe10bd4,_0x17ecd9,_0xc1d041,_0x47a0ce));});}),_0x169ff4['for']('downcast')['add'](_0x17d1e5=>{_0x17d1e5['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5e9ba3,_0xc2c24c,_0x5455f5)=>{if(!_0x5455f5['consumable']['consume'](_0xc2c24c['item'],_0x5e9ba3['name']))return;const _0x1aab70=M(_0xc2c24c['item'],_0x5455f5['mapper']),{attributeNewValue:_0x540ff2}=_0xc2c24c;null==_0x540ff2||0x1===_0x540ff2?_0x5455f5['writer']['removeAttribute']('start',_0x1aab70):_0x5455f5['writer']['setAttribute']('start',String(_0x540ff2),_0x1aab70);}),_0x17d1e5['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x3aef3d,_0x517d69,_0x13059d)=>{if(!_0x13059d['consumable']['consume'](_0x517d69['item'],_0x3aef3d['name']))return;const _0x2b8b49=M(_0x517d69['item'],_0x13059d['mapper']),{attributeNewValue:_0x5093e5}=_0x517d69;_0x5093e5&&'decimal'!==_0x5093e5?_0x13059d['writer']['setStyle']('list-style-type',_0x5093e5,_0x2b8b49):_0x13059d['writer']['removeStyle']('list-style-type',_0x2b8b49);});});}['_definePostfixer'](){const {editor:_0x918f79}=this,{model:_0x1921ea}=_0x918f79,_0x1907db=_0x918f79['plugins']['get'](c),_0x3549cc=this['_getDefaultListStyle'](),_0x3a2c33=this['_getDefaultStartIndex']();_0x1921ea['document']['registerPostFixer'](_0x3af1ec=>{const _0x52ba4c=_0x1921ea['document']['differ']['getChanges']();let _0x2ec13d=!0x1;for(const _0x3b7639 of _0x52ba4c){if('insert'!==_0x3b7639['type']||'$text'===_0x3b7639['name'])continue;const _0x2b8561=_0x1921ea['createRangeOn'](_0x3b7639['position']['nodeAfter']);for(const _0x55cfe4 of _0x2b8561['getItems']())_0x55cfe4['is']('element','footnotesDefinitions')&&(!_0x55cfe4['hasAttribute']('footnotesListStart')&&_0x1921ea['schema']['checkAttribute'](_0x55cfe4,'footnotesListStart')&&(_0x3af1ec['setAttribute']('footnotesListStart',_0x3a2c33,_0x55cfe4),_0x2ec13d=!0x0),!_0x55cfe4['hasAttribute']('footnotesListStyle')&&_0x1921ea['schema']['checkAttribute'](_0x55cfe4,'footnotesListStyle')&&(_0x3af1ec['setAttribute']('footnotesListStyle',_0x3549cc,_0x55cfe4),_0x2ec13d=!0x0));}return _0x2ec13d&&_0x1907db['_updateFootnotesCounters'](_0x3af1ec),_0x2ec13d;});}['_defineFormatter'](){const {editor:_0x618bb8}=this;_0x618bb8['plugins']['get'](c)['setFootnoteFormatter'](_0x26f77e=>this['_formatFootnoteListValue'](_0x26f77e));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x41005a,value:_0x3a633a,digits:_0x2cece0}){const _0x66416c=_0x41005a['getAttribute']('footnotesListStyle'),_0x4e7394=_0x41005a['getAttribute']('footnotesListStart'),_0x303d06=Math['floor'](_0x3a633a)+(_0x4e7394??0x1)-0x1;switch(_0x66416c){case'decimal-leading-zero':return function(_0x4720ad,_0xfe4e2b){return String(_0x4720ad)['padStart'](_0xfe4e2b,'0');}(_0x303d06,Math['max'](0x2,_0x2cece0));case'lower-alpha':case'lower-latin':return N(_0x303d06,!0x1);case'upper-alpha':case'upper-latin':return N(_0x303d06,!0x0);case'lower-roman':return X(_0x303d06,!0x1);case'upper-roman':return X(_0x303d06,!0x0);default:return String(_0x303d06);}}}function M(_0x153fa9,_0x51cacd){const _0x20db70=_0x51cacd['toViewElement'](_0x153fa9);return Array['from'](_0x20db70['getChildren']())['find'](_0x4a0a4f=>_0x4a0a4f['is']('element','ol')&&_0x4a0a4f['hasClass']('footnotes-list'));}function N(_0x475031,_0x38041c){let _0x2e8197='',_0x2a61c1=_0x475031;for(;_0x2a61c1>0x0;){const _0x40887a=(_0x2a61c1-0x1)%0x1a;_0x2e8197=String['fromCharCode'](0x61+_0x40887a)+_0x2e8197,_0x2a61c1=Math['floor']((_0x2a61c1-0x1)/0x1a);}return _0x38041c?_0x2e8197['toUpperCase']():_0x2e8197;}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(_0x2d10e6,_0x5834ef){let _0x29d22b='',_0x3f19a4=_0x2d10e6;for(const {value:_0x57a0ef,numeral:_0x42f407}of V)for(;_0x3f19a4>=_0x57a0ef;)_0x29d22b+=_0x42f407,_0x3f19a4-=_0x57a0ef;return _0x5834ef?_0x29d22b:_0x29d22b['toLowerCase']();}class H extends _0x1f29a4{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x497dc();['focusCycler'];constructor(_0x52c070,{styleButtonViews:_0x36dde7,styleGridAriaLabel:_0x1cb196}){super(_0x52c070),(this['focusCycler']=new _0x3ace6d({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x36dde7,_0x1cb196),[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 _0x5dbc09 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5dbc09['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x5f03ea=_0x3d0875=>_0x3d0875['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5f03ea),this['keystrokes']['set']('arrowleft',_0x5f03ea),this['keystrokes']['set']('arrowup',_0x5f03ea),this['keystrokes']['set']('arrowdown',_0x5f03ea);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x431c49,_0x285fa2){const _0x30392d=new _0x1f29a4(this['locale']);return _0x30392d['children']=_0x30392d['createCollection'](),_0x30392d['children']['addMany'](_0x431c49),_0x30392d['setTemplate']({'tag':'div','attributes':{'aria-label':_0x285fa2,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x30392d['children']}),_0x30392d['children']['delegate']('execute')['to'](this),_0x30392d['focus']=function(){for(const _0x5de662 of this['children'])if(_0x5de662 instanceof _0x35adf5&&_0x5de662['isOn'])return void _0x5de662['focus']();this['children']['first']['focus']();},_0x30392d['focusTracker']=new ot(),_0x30392d['keystrokes']=new rt(),_0x30392d['render'](),_0x30392d['keystrokes']['listenTo'](_0x30392d['element']),this['children']['add'](_0x30392d),_0x30392d;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x51da7d=this['_createStartIndexPropertyView'](),_0x5093cc=[_0x51da7d],_0x406d0d=new st(this['locale'],_0x5093cc);return _0x406d0d['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x406d0d['buttonView']['bind']('isEnabled')['toMany'](_0x5093cc,'isEnabled',(..._0x931ec8)=>_0x931ec8['some'](_0x1937b1=>_0x1937b1)),_0x406d0d['buttonView']['on']('change:isEnabled',(_0xe319c7,_0x1b17c0,_0x38f845)=>{_0x38f845||(_0x406d0d['isCollapsed']=!0x0);}),this['children']['add'](_0x406d0d),[_0x51da7d,_0x406d0d];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x115cad=new it(this['locale'],et);return _0x115cad['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x115cad['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x115cad['fieldView']['on']('input',()=>{const _0x297a07=_0x115cad['fieldView']['element'],_0x6c35d6=_0x297a07['valueAsNumber'];Number['isNaN'](_0x6c35d6)?_0x115cad['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x297a07['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x6c35d6}):_0x115cad['errorText']=t(_0x6c35d6<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x115cad;}}class j extends _0x56a762{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x30e4c4,_0x4f9f42];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4e7d72}=this,{componentFactory:_0x26d242}=_0x4e7d72['ui'];_0x4e7d72['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x26d242['add']('footnotesStyle',function(_0x25d168){return _0x5a3e0d=>{const {t:t}=_0x5a3e0d,_0x1a2650=_0x25d168['commands']['get']('footnotesStyle'),_0x47c8de=_0x49d87f(_0x5a3e0d),{buttonView:_0x2faee6}=_0x47c8de;return _0x47c8de['class']='ck-footnotes-styles-dropdown',_0x47c8de['bind']('isEnabled')['to'](_0x1a2650,'isEnabled'),_0x2faee6['set']({'label':t('Footnotes\x20style'),'icon':_0x4985ca,'tooltip':!0x0}),_0x47c8de['once']('change:isOpen',()=>{const _0x213e09=function({editor:_0x2e11ca,dropdownView:_0x1e3f1e}){const {t:t}=_0x2e11ca['locale'],_0xdcf102=t('Footnotes\x20definitions\x20styles'),_0x3661c1=function(_0xd59ced){const t=_0xd59ced['locale']['t'],_0x134b4d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x504c91},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x22f7ed},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3b396a},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x48cf64},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5efb33},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xe36eb3}];return _0x134b4d['map'](function(_0x4eec5a){const _0x43294c=_0x4eec5a['locale'];return({label:_0x163012,icon:_0x587623,tooltip:_0x1eb9b7,style:_0x218a2b})=>{const _0x13a84a=_0x4eec5a['commands']['get']('footnotesStyle'),_0x87f95b=new _0x35adf5(_0x43294c);return _0x87f95b['set']({'label':_0x163012,'icon':_0x587623,'tooltip':_0x1eb9b7}),_0x87f95b['bind']('isOn')['to'](_0x13a84a,'value',_0x4b8080=>_0x4b8080===_0x218a2b),_0x87f95b['bind']('isEnabled')['to'](_0x13a84a,'isEnabled'),_0x87f95b['on']('execute',()=>{_0x4eec5a['execute']('footnotesStyle',{'value':_0x218a2b}),_0x4eec5a['editing']['view']['focus']();}),_0x87f95b;};}(_0xd59ced));}(_0x2e11ca),_0x1784a5=new H(_0x2e11ca['locale'],{'styleGridAriaLabel':_0xdcf102,'styleButtonViews':_0x3661c1});return _0x1784a5['delegate']('execute')['to'](_0x1e3f1e),_0x1784a5['on']('footnotesListStart',(_0x2a3fd1,_0x25eb28)=>{_0x2e11ca['execute']('footnotesStart',{'value':_0x25eb28['startIndex']});}),_0x1784a5;}({'editor':_0x25d168,'dropdownView':_0x47c8de});_0x47c8de['panelView']['children']['add'](_0x213e09);}),_0x47c8de;};}(_0x4e7d72));}['afterInit'](){const {editor:_0x20312c}=this,{t:t}=_0x20312c['locale'],_0x194c8e=_0x20312c['plugins']['get'](_0x4f9f42),{defaultPositions:_0x597f21}=_0xa53207;_0x194c8e['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x20312c['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5b21a7=>{let _0x2f7fbc=_0x5b21a7['getFirstPosition']()?.['parent'];return _0x2f7fbc?.['is']('$text')&&(_0x2f7fbc=_0x2f7fbc['parent']),_0x2f7fbc?.['is']('element')?_0x2f7fbc['findAncestor'](J):null;},'positions':[_0x597f21['southArrowNorth'],_0x597f21['southArrowNorthMiddleWest'],_0x597f21['southArrowNorthMiddleEast'],_0x597f21['southArrowNorthWest'],_0x597f21['southArrowNorthEast'],_0x597f21['northArrowSouth'],_0x597f21['northArrowSouthMiddleWest'],_0x597f21['northArrowSouthMiddleEast'],_0x597f21['northArrowSouthWest'],_0x597f21['northArrowSouthEast'],_0x597f21['viewportStickyNorth']]});}}class ft extends _0x56a762{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,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x2504e9=>0x1!=_0x2504e9}};
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':_0x181fdf=>0x1!=_0x181fdf}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2e2137=>{const {af:{dictionary:_0x4aba1a,getPluralForm:_0x5e7af6}}={'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':_0x5f4e03=>0x1!=_0x5f4e03}};_0x2e2137['af']||={'dictionary':{},'getPluralForm':null},_0x2e2137['af']['dictionary']=Object['assign'](_0x2e2137['af']['dictionary'],_0x4aba1a),_0x2e2137['af']['getPluralForm']=_0x5e7af6;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x36a20a=>{const {af:{dictionary:_0x34d87f,getPluralForm:_0x42e83b}}={'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':_0x5e5dc8=>0x1!=_0x5e5dc8}};_0x36a20a['af']||={'dictionary':{},'getPluralForm':null},_0x36a20a['af']['dictionary']=Object['assign'](_0x36a20a['af']['dictionary'],_0x34d87f),_0x36a20a['af']['getPluralForm']=_0x42e83b;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'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':_0x4f18da=>0x0==_0x4f18da?0x0:0x1==_0x4f18da?0x1:0x2==_0x4f18da?0x2:_0x4f18da%0x64>=0x3&&_0x4f18da%0x64<=0xa?0x3:_0x4f18da%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':_0x57e26f=>0x0==_0x57e26f?0x0:0x1==_0x57e26f?0x1:0x2==_0x57e26f?0x2:_0x57e26f%0x64>=0x3&&_0x57e26f%0x64<=0xa?0x3:_0x57e26f%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x25cf53=>{const {ar:{dictionary:_0x3ad7ea,getPluralForm:_0x570e70}}={'ar':{'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':_0x32b2e6=>0x0==_0x32b2e6?0x0:0x1==_0x32b2e6?0x1:0x2==_0x32b2e6?0x2:_0x32b2e6%0x64>=0x3&&_0x32b2e6%0x64<=0xa?0x3:_0x32b2e6%0x64>=0xb?0x4:0x5}};_0x25cf53['ar']||={'dictionary':{},'getPluralForm':null},_0x25cf53['ar']['dictionary']=Object['assign'](_0x25cf53['ar']['dictionary'],_0x3ad7ea),_0x25cf53['ar']['getPluralForm']=_0x570e70;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5f5402=>{const {ar:{dictionary:_0xdb04e8,getPluralForm:_0x978652}}={'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':_0x176ddf=>0x0==_0x176ddf?0x0:0x1==_0x176ddf?0x1:0x2==_0x176ddf?0x2:_0x176ddf%0x64>=0x3&&_0x176ddf%0x64<=0xa?0x3:_0x176ddf%0x64>=0xb?0x4:0x5}};_0x5f5402['ar']||={'dictionary':{},'getPluralForm':null},_0x5f5402['ar']['dictionary']=Object['assign'](_0x5f5402['ar']['dictionary'],_0xdb04e8),_0x5f5402['ar']['getPluralForm']=_0x978652;})(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':_0x3708bf=>0x1!=_0x3708bf}};
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':_0x290ecb=>0x1!=_0x290ecb}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x2edcf=>{const {ast:{dictionary:_0x2f922d,getPluralForm:_0x1d4214}}={'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':_0x586cc4=>0x1!=_0x586cc4}};_0x2edcf['ast']||={'dictionary':{},'getPluralForm':null},_0x2edcf['ast']['dictionary']=Object['assign'](_0x2edcf['ast']['dictionary'],_0x2f922d),_0x2edcf['ast']['getPluralForm']=_0x1d4214;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x555511=>{const {ast:{dictionary:_0x6fd398,getPluralForm:_0x1d04e5}}={'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':_0x3ad9d2=>0x1!=_0x3ad9d2}};_0x555511['ast']||={'dictionary':{},'getPluralForm':null},_0x555511['ast']['dictionary']=Object['assign'](_0x555511['ast']['dictionary'],_0x6fd398),_0x555511['ast']['getPluralForm']=_0x1d04e5;})(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':_0x58d329=>0x1!=_0x58d329}};
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':_0x4ca1e6=>0x1!=_0x4ca1e6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4ef34f=>{const {az:{dictionary:_0x500c12,getPluralForm:_0x1677fc}}={'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':_0x504d1d=>0x1!=_0x504d1d}};_0x4ef34f['az']||={'dictionary':{},'getPluralForm':null},_0x4ef34f['az']['dictionary']=Object['assign'](_0x4ef34f['az']['dictionary'],_0x500c12),_0x4ef34f['az']['getPluralForm']=_0x1677fc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1fa44e=>{const {az:{dictionary:_0xb13ec7,getPluralForm:_0x2f67d2}}={'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':_0x23427c=>0x1!=_0x23427c}};_0x1fa44e['az']||={'dictionary':{},'getPluralForm':null},_0x1fa44e['az']['dictionary']=Object['assign'](_0x1fa44e['az']['dictionary'],_0xb13ec7),_0x1fa44e['az']['getPluralForm']=_0x2f67d2;})(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':_0x298ea2=>_0x298ea2%0xa==0x1&&_0x298ea2%0x64!=0xb?0x0:_0x298ea2%0xa>=0x2&&_0x298ea2%0xa<=0x4&&(_0x298ea2%0x64<0xa||_0x298ea2%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':_0x19df05=>_0x19df05%0xa==0x1&&_0x19df05%0x64!=0xb?0x0:_0x19df05%0xa>=0x2&&_0x19df05%0xa<=0x4&&(_0x19df05%0x64<0xa||_0x19df05%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x47f1bd=>{const {be:{dictionary:_0x34363c,getPluralForm:_0x2f91f4}}={'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':_0x38f2c8=>_0x38f2c8%0xa==0x1&&_0x38f2c8%0x64!=0xb?0x0:_0x38f2c8%0xa>=0x2&&_0x38f2c8%0xa<=0x4&&(_0x38f2c8%0x64<0xa||_0x38f2c8%0x64>=0x14)?0x1:0x2}};_0x47f1bd['be']||={'dictionary':{},'getPluralForm':null},_0x47f1bd['be']['dictionary']=Object['assign'](_0x47f1bd['be']['dictionary'],_0x34363c),_0x47f1bd['be']['getPluralForm']=_0x2f91f4;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1ddc09=>{const {be:{dictionary:_0x3e51b1,getPluralForm:_0x275429}}={'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':_0x436907=>_0x436907%0xa==0x1&&_0x436907%0x64!=0xb?0x0:_0x436907%0xa>=0x2&&_0x436907%0xa<=0x4&&(_0x436907%0x64<0xa||_0x436907%0x64>=0x14)?0x1:0x2}};_0x1ddc09['be']||={'dictionary':{},'getPluralForm':null},_0x1ddc09['be']['dictionary']=Object['assign'](_0x1ddc09['be']['dictionary'],_0x3e51b1),_0x1ddc09['be']['getPluralForm']=_0x275429;})(window['CKEDITOR_TRANSLATIONS']||={});