@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251204.0 → 0.0.0-nightly-20251206.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x7cf97c,Command as _0x508bf5}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x932ce6,isWidget as _0x5d8c7c,toWidgetEditable as _0x5983a7,WidgetToolbarRepository as _0xd701c}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xb2ad1e,logWarning as _0x4fe30e,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3ddfa1,ClickObserver as _0x3b82a8}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x2cf3f1}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x341efd,ButtonView as _0x48319d,View as _0x1e6c01,ViewCollection as _0x3409d7,FocusCycler as _0x453729,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x4d12df,BalloonPanelView as _0x2bfacc,createDropdown as _0xc55082}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x2445ed,IconListStyleDecimal as _0xe0b9cb,IconListStyleDecimalLeadingZero as _0x315e77,IconListStyleLowerRoman as _0x5e3ec5,IconListStyleUpperRoman as _0x2e1c7c,IconListStyleLowerLatin as _0x3238b6,IconListStyleUpperLatin as _0x4b2dda}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4c38c1,_0x33e889){this['_model']=_0x4c38c1,this['_elementName']=_0x33e889['elementName'],this['_getElementKey']=_0x33e889['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x235697){const _0x5d3b97=new Set(),_0x2474e3=new Map();for(const _0x15da79 of _0x235697){if('insert'===_0x15da79['type']&&'$text'!==_0x15da79['name']&&_0x15da79['position']['nodeAfter']){const _0x263b77=this['_model']['createRangeOn'](_0x15da79['position']['nodeAfter']);for(const _0x51af18 of _0x263b77['getItems']()){if(!_0x51af18['is']('element',this['_elementName']))continue;const _0x5248e7=this['_getElementKey'](_0x51af18);_0x2474e3['has'](_0x5248e7)||_0x2474e3['set'](_0x5248e7,[]),_0x2474e3['get'](_0x5248e7)['push'](_0x51af18);}}if('remove'===_0x15da79['type']&&_0x15da79['name']===this['_elementName']){const _0x30ee9d=this['_getElementKey']({'getAttribute':_0x363267=>_0x15da79['attributes']['get'](_0x363267)});_0x5d3b97['add'](_0x30ee9d);}}for(const [_0x2aba87,_0x544045]of this['_trackedElements'])'$graveyard'===_0x544045['root']['rootName']&&_0x5d3b97['add'](_0x2aba87);for(const _0x2e1d of _0x5d3b97)this['_trackedElements']['delete'](_0x2e1d);for(const [_0x9ba3c0,_0x74539b]of _0x2474e3)this['_trackedElements']['set'](_0x9ba3c0,_0x74539b[_0x74539b['length']-0x1]);const _0x13ba0f=new Set();for(const [_0x40cca0,_0x49a826]of _0x2474e3)_0x5d3b97['has'](_0x40cca0)&&(_0x13ba0f['add'](_0x49a826[0x0]),_0x49a826['length']>0x1?_0x2474e3['set'](_0x40cca0,_0x49a826['slice'](0x1)):_0x2474e3['delete'](_0x40cca0),_0x5d3b97['delete'](_0x40cca0));return{'removed':Array['from'](_0x5d3b97),'inserted':Array['from'](_0x2474e3['values']())['flat'](),'moved':Array['from'](_0x13ba0f)};}}class f extends _0x7cf97c{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4fe6b0){super(_0x4fe6b0),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3872d7=>_0x3872d7['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x378c32=>_0x378c32['getAttribute']('footnoteId')});}['init'](){const {editor:_0x13bec3}=this,{model:_0x3f68e0,data:_0x2051ec}=_0x13bec3;_0x3f68e0['document']['registerPostFixer'](_0x363c84=>{const _0x1d6d46=_0x3f68e0['document']['differ']['getChanges']();let _0x956963=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x363c84,_0x1d6d46)&&(_0x956963=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x363c84,_0x1d6d46)&&(_0x956963=!0x0),this['_handleFootnoteReferencesChanges'](_0x363c84,_0x1d6d46)&&(_0x956963=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x363c84)&&(_0x956963=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x363c84)&&(_0x956963=!0x0),this['_sortFootnoteDefinitions'](_0x363c84)&&(_0x956963=!0x0),_0x956963;}),this['listenTo'](_0x3f68e0['document'],'change:data',()=>{_0x3f68e0['enqueueChange']({'isUndoable':!0x1},_0xe3a793=>{this['_ensureFootnotesDefinitionsContainerExists'](_0xe3a793);});},{'priority':'low'}),this['listenTo'](_0x2051ec,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x48063f){return this['_footnotes']['find'](_0xe59d8c=>_0xe59d8c['id']===_0x48063f)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x371725){this['_footnoteFormatter']=_0x371725;}['_updateFootnotesCounters'](_0x1bc25b,_0x42922a=0x0){let _0x26b132=!0x1;for(let _0x482ef5=_0x42922a;_0x482ef5<this['_footnotes']['length'];_0x482ef5++)this['_updateFootnoteRefCounter'](_0x1bc25b,_0x482ef5)&&(_0x26b132=!0x0);return _0x26b132;}['_insertEmptyFootnotesDefinitionsContainer'](_0x10823a,_0xa11f95){const _0x302fd3=_0x10823a['createElement']('footnotesDefinitions',{});return _0x10823a['append'](_0x302fd3,_0xa11f95),this['_footnotesDefinitions']=_0x302fd3,_0x302fd3;}['_ensureFootnotesDefinitionsContainerExists'](_0xbb11dc){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x44da82=this['_footnotes'][0x0]['reference']['root'],_0x2545c9=this['_insertEmptyFootnotesDefinitionsContainer'](_0xbb11dc,_0x44da82);for(const _0x3b479f of this['_footnotes'])_0x3b479f['definition']['parent']||_0xbb11dc['insert'](_0x3b479f['definition'],_0x2545c9,'end');this['_updateFootnotesCounters'](_0xbb11dc);}['_handleFootnotesDefinitionsObjectChanges'](_0x303706,_0x551acc){let _0xac0b93=!0x1;const {inserted:_0x5a30f2,removed:_0x176521,moved:_0x55ebf5}=this['_footnoteDefsContainerTracker']['getChanges'](_0x551acc);if(_0x55ebf5['length']&&(this['_footnotesDefinitions']=_0x55ebf5[0x0]),_0x5a30f2['length']){if(_0x5a30f2['length']>0x1||this['_footnotesDefinitions']&&_0x5a30f2['some'](_0x13ba6f=>_0x13ba6f!==this['_footnotesDefinitions'])){const _0x5dbdf2=_0x303706['createElement']('footnotesDefinitions',{}),_0x18f754=[];this['_footnotesDefinitions']&&_0x18f754['push'](this['_footnotesDefinitions']),_0x18f754['push'](..._0x5a30f2),_0x303706['insert'](_0x5dbdf2,_0x18f754[0x0],'before');for(const _0x518f09 of _0x18f754)_0x303706['move'](_0x303706['createRangeIn'](_0x518f09),_0x303706['createPositionAt'](_0x5dbdf2,'end')),_0x303706['remove'](_0x518f09);this['_footnotesDefinitions']=_0x5dbdf2,this['_updateFootnotesCounters'](_0x303706),_0xac0b93=!0x0;}else this['_footnotesDefinitions']=_0x5a30f2[0x0];}if(_0x176521['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x599b7a of this['_footnotes'])_0x303706['remove'](_0x599b7a['reference']),_0xac0b93=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xac0b93;}['_handleFootnoteDefinitionsChanges'](_0x419cdd,_0x24f3d8){let _0x20042a=!0x1;const _0x1842ae=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x43df79,moved:_0x32eb1d}=this['_footnoteDefsTracker']['getChanges'](_0x24f3d8);for(const _0x3901e6 of[..._0x32eb1d,..._0x43df79]){const _0x4a224e=_0x3901e6['getAttribute']('footnoteId'),_0x19f6ca=this['getFootnote'](_0x4a224e);_0x19f6ca&&(_0x19f6ca['definition']=_0x3901e6),_(_0x419cdd,_0x1842ae,_0x3901e6)&&(_0x20042a=!0x0);}return _0x20042a;}['_handleFootnoteReferencesChanges'](_0x358fad,_0x1667bb){let _0x4a51ff=!0x1;const {removed:_0x2498eb,inserted:_0x8345c6,moved:_0x5ed587}=this['_footnoteRefsTracker']['getChanges'](_0x1667bb);for(const _0x3a696b of _0x2498eb)this['_handleRemoveFootnoteReferenceById'](_0x358fad,_0x3a696b)&&(_0x4a51ff=!0x0);for(const _0x2880d9 of _0x8345c6)this['_handleInsertedFootnoteReference'](_0x358fad,_0x2880d9)&&(_0x4a51ff=!0x0);for(const _0x4e0b76 of _0x5ed587)this['_handleMovedFootnoteReference'](_0x358fad,_0x4e0b76)&&(_0x4a51ff=!0x0);return _0x4a51ff;}['_handleFootnotesDefinitionsObjectSync'](_0x33918a){if(!this['_footnotesDefinitions'])return!0x1;let _0x31783d=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4452e1=[];for(const _0x3fc16a of this['_footnotesDefinitions']['getChildren']()){const _0x367680=_0x3fc16a['getAttribute']('footnoteId');this['getFootnote'](_0x367680)||(_0x4452e1['unshift'](_0x3fc16a),_0x31783d=!0x0);}for(const _0x27dfcd of _0x4452e1)_0x33918a['remove'](_0x27dfcd);}const _0x12442f=new Set(),_0x12cb04=[];for(const _0x294df0 of this['_footnotesDefinitions']['getChildren']()){const _0x2c35f3=_0x294df0['getAttribute']('footnoteId');_0x12442f['has'](_0x2c35f3)?(_0x12cb04['unshift'](_0x294df0),_0x31783d=!0x0):_0x12442f['add'](_0x2c35f3);}for(const _0x2945dd of _0x12cb04)_0x33918a['remove'](_0x2945dd);return this['_footnotesDefinitions']['childCount']||(_0x33918a['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x31783d=!0x0),_0x31783d;}['_handleInsertedFootnoteReference'](_0x19df52,_0x50eb45){if(this['_footnotes']['find'](_0x1246ad=>_0x1246ad['reference']===_0x50eb45))return!0x1;let _0x2a7c91=!0x1;const _0x254b07=_0x50eb45['getAttribute']('footnoteId'),_0x31bf3d=this['_footnotes']['findIndex'](_0x7ab61f=>_0x7ab61f['id']===_0x254b07);-0x1!==_0x31bf3d&&(_0x19df52['remove'](this['_footnotes'][_0x31bf3d]['reference']),this['_footnotes']['splice'](_0x31bf3d,0x1),_0x2a7c91=!0x0);let _0x496d4b=this['_footnotesDefinitions']?function(_0x1ed258,_0x5f06a6){for(const _0x4c44d7 of _0x1ed258['getChildren']())if(_0x4c44d7['getAttribute']('footnoteId')===_0x5f06a6)return _0x4c44d7;return null;}(this['_footnotesDefinitions'],_0x254b07):null;_0x496d4b||(_0x496d4b=_0x19df52['createElement']('footnoteDefinition',{'footnoteId':_0x254b07}),this['_footnotesDefinitions']&&(_0x19df52['insert'](_0x496d4b,this['_footnotesDefinitions'],'end'),_0x2a7c91=!0x0));const _0x9eb824={'id':_0x254b07,'reference':_0x50eb45,'definition':_0x496d4b},_0x11bab7=I(this['editor']['model'],this['_footnotes'],_0x50eb45);this['_footnotes']['splice'](_0x11bab7,0x0,_0x9eb824);let _0x553e38=_0x11bab7;return-0x1!==_0x31bf3d&&(_0x553e38=Math['min'](_0x11bab7,_0x31bf3d)),this['_updateFootnotesCounters'](_0x19df52,_0x553e38)&&(_0x2a7c91=!0x0),_0x2a7c91;}['_handleRemoveFootnoteReferenceById'](_0x3065f8,_0x358620){const _0x5a9e8a=this['_footnotes']['findIndex'](_0x53889e=>_0x53889e['id']===_0x358620);if(-0x1===_0x5a9e8a)return!0x1;let _0x7d55a0=!0x1;const _0x30ef44=this['_footnotes'][_0x5a9e8a];return'$graveyard'!==_0x30ef44['definition']['root']['rootName']&&(_0x3065f8['remove'](_0x30ef44['definition']),_0x7d55a0=!0x0),this['_footnotes']['splice'](_0x5a9e8a,0x1),this['_updateFootnotesCounters'](_0x3065f8,_0x5a9e8a)&&(_0x7d55a0=!0x0),_0x7d55a0;}['_handleMovedFootnoteReference'](_0x56cc4d,_0x43c276){const _0x390e60=_0x43c276['getAttribute']('footnoteId'),_0xad6b90=this['_footnotes']['findIndex'](_0x311400=>_0x311400['id']===_0x390e60),_0x3647e8=this['_footnotes'][_0xad6b90];let _0x585e26=!0x1;_0x3647e8['reference']=_0x43c276,this['_footnotes']['splice'](_0xad6b90,0x1);const _0x3686cb=I(this['editor']['model'],this['_footnotes'],_0x43c276);return this['_footnotes']['splice'](_0x3686cb,0x0,_0x3647e8),this['_updateFootnotesCounters'](_0x56cc4d,Math['min'](_0xad6b90,_0x3686cb))&&(_0x585e26=!0x0),_0x585e26;}['_updateFootnoteRefCounter'](_0x1acccc,_0xb3b5d3){if(!this['_footnotesDefinitions'])return!0x1;const _0x12b6b7=this['_footnotes'][_0xb3b5d3];let _0x5d1861;return _0x5d1861=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x12b6b7,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0xb3b5d3+0x1}):String(_0xb3b5d3+0x1),_0x12b6b7['reference']['getAttribute']('footnoteCounter')!=_0x5d1861&&(_0x1acccc['setAttribute']('footnoteCounter',_0x5d1861,_0x12b6b7['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x50a010){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3ec8cc,_0x3d7c3f){if(_0x3ec8cc['length']!==_0x3d7c3f['length'])return!0x1;for(let _0x4149cf=0x0;_0x4149cf<_0x3ec8cc['length'];_0x4149cf++)if(_0x3ec8cc[_0x4149cf]!==_0x3d7c3f[_0x4149cf])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x12ecf5=>_0x12ecf5['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x57531c=>_0x57531c['getAttribute']('footnoteId'))))return!0x1;let _0x5440a8=!0x1;for(let _0xfbaff3=0x0;_0xfbaff3<this['_footnotes']['length'];_0xfbaff3++){const _0x96f73c=this['_footnotes'][_0xfbaff3],_0x26f7d1=_0x50a010['createPositionBefore'](_0x96f73c['definition']),_0xc27286=_0x50a010['createPositionAt'](this['_footnotesDefinitions'],_0xfbaff3);_0x26f7d1['isEqual'](_0xc27286)||(_0x50a010['move'](_0x50a010['createRangeOn'](_0x96f73c['definition']),_0xc27286),_0x5440a8=!0x0);}return _0x5440a8;}['_ensureFootnotesReferencesHaveProperOrder'](_0x490046){if(!this['_footnotes']['length'])return!0x1;const {model:_0x1eeed4}=this['editor'];let _0x4d5d9f=!0x1;for(let _0x44b108=0x0;_0x44b108<this['_footnotes']['length']-0x1;_0x44b108++){const _0x20fc3b=this['_footnotes'][_0x44b108],_0x22c895=this['_footnotes'][_0x44b108+0x1],_0x21a8d6=_0x1eeed4['createPositionBefore'](_0x20fc3b['reference']),_0x85e579=_0x1eeed4['createPositionBefore'](_0x22c895['reference']);'after'===_0x21a8d6['compareWith'](_0x85e579)&&(this['_handleMovedFootnoteReference'](_0x490046,_0x20fc3b['reference']),_0x44b108=-0x1,_0x4d5d9f=!0x0);}return _0x4d5d9f;}}function _(_0x4d8902,_0x55f42b,_0x3b3b4e){if(_0x3b3b4e['childCount'])return!0x1;const _0xd9069e=_0x55f42b?'paragraph':'footnoteInlineContent';return _0x4d8902['insert'](_0x4d8902['createElement'](_0xd9069e),_0x3b3b4e),!0x0;}function I(_0x5cf147,_0x33829a,_0x4299c6){if(0x0===_0x33829a['length'])return 0x0;const _0x2f067d=_0x5cf147['createPositionBefore'](_0x4299c6);for(let _0x5b8658=0x0;_0x5b8658<_0x33829a['length'];_0x5b8658++){const _0x1be4be=_0x33829a[_0x5b8658],_0x2c45dc=_0x5cf147['createPositionBefore'](_0x1be4be['reference']);if('before'===_0x2f067d['compareWith'](_0x2c45dc))return _0x5b8658;}const _0x5c86ad=_0x4299c6['root'];let _0x3ae4fa=-0x1;for(let _0x3db109=_0x33829a['length']-0x1;_0x3db109>=0x0;_0x3db109--)if(_0x33829a[_0x3db109]['reference']['root']===_0x5c86ad){_0x3ae4fa=_0x3db109;break;}if(-0x1!==_0x3ae4fa)return _0x3ae4fa+0x1;const _0x323fd5=_0x5cf147['document']['getRootNames'](),_0x1d1b83=_0x323fd5['indexOf'](_0x5c86ad['rootName']),_0x22ad68=_0x323fd5[_0x1d1b83+0x1];if(_0x22ad68){for(let _0x91b364=0x0;_0x91b364<_0x33829a['length'];_0x91b364++)if(_0x33829a[_0x91b364]['reference']['root']['rootName']===_0x22ad68)return _0x91b364;}return _0x33829a['length'];}class m extends _0x508bf5{['refresh'](){const _0x2124b2=this['editor']['model']['document']['selection'],_0x2ae0c5=this['_getPositionToInsertFootnote'](_0x2124b2);this['isEnabled']=!!_0x2ae0c5;}['execute'](_0x2a6803){const {editor:_0x215f4c}=this,{model:_0x4cc2d9}=_0x215f4c,{selection:_0x244110}=_0x4cc2d9['document'],_0x336e89=this['_getPositionToInsertFootnote'](_0x244110);if(!_0x336e89)return;const _0x58f6fc=_0x215f4c['plugins']['get']('FootnotesEditing'),_0xc2c0fe=_0x2a6803?.['footnoteId']??_0xb2ad1e();!function(_0x26dd4e){return'string'==typeof _0x26dd4e&&_0x26dd4e['length']>0x0&&!/\s/['test'](_0x26dd4e)&&!/^\d/['test'](_0x26dd4e);}(_0xc2c0fe)?_0x4fe30e('insert-footnote-command-executed-with-invalid-id'):(_0x4cc2d9['change'](_0x561edb=>{const _0x39acb9=_0x561edb['createElement']('footnoteRef',{'footnoteId':_0xc2c0fe});_0x4cc2d9['insertObject'](_0x39acb9,_0x336e89,null);}),_0x58f6fc['_moveSelectionToFootnoteDefinition'](_0xc2c0fe));}['_getPositionToInsertFootnote'](_0xad25e6){const {model:_0x36420e}=this['editor'],{schema:_0x467f18}=_0x36420e,_0x179df6=_0xad25e6['getFirstRange']();for(const _0x4e4c4d of _0x179df6['getItems']())if(_0x467f18['isBlock'](_0x4e4c4d)||_0x467f18['isObject'](_0x4e4c4d))return null;const _0x34cc31=_0x179df6['end'];return _0x467f18['checkChild'](_0x34cc31,'footnoteRef')?_0x34cc31:null;}}class r extends _0x7cf97c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4c16d8}=this;_0x4c16d8['config']['define']('footnotes.multiBlock',!0x0),_0x4c16d8['commands']['add']('insertFootnote',new m(_0x4c16d8)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xaae967){const _0x4d241f=_0x4adc92([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]),_0x37a113=0x47a28506,_0x2d9394=0x47a5fff6^_0x37a113,_0x4d131c=window[_0x4adc92([0x44,0x61,0x74,0x65])][_0x4adc92([0x6e,0x6f,0x77])](),_0x5df3a2=_0xaae967[_0x4adc92([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b0598=new window[(_0x4adc92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cbfbe=>{_0x5df3a2[_0x4adc92([0x6f,0x6e,0x63,0x65])](_0x4adc92([0x72,0x65,0x61,0x64,0x79]),_0x3cbfbe);}),_0x5567b4={[_0x4adc92([0x6b,0x74,0x79])]:_0x4adc92([0x45,0x43]),[_0x4adc92([0x75,0x73,0x65])]:_0x4adc92([0x73,0x69,0x67]),[_0x4adc92([0x63,0x72,0x76])]:_0x4adc92([0x50,0x2d,0x32,0x35,0x36]),[_0x4adc92([0x78])]:_0x4adc92([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]),[_0x4adc92([0x79])]:_0x4adc92([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]),[_0x4adc92([0x61,0x6c,0x67])]:_0x4adc92([0x45,0x53,0x32,0x35,0x36])},_0x1ddb7f=_0x5df3a2[_0x4adc92([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4adc92([0x67,0x65,0x74])](_0x4adc92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4cee46(){let _0x578814,_0x29f663=null,_0x1c1830=null;try{if(_0x1ddb7f==_0x4adc92([0x47,0x50,0x4c]))return _0x4adc92([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x578814=_0x4e49a9(),!_0x578814)return _0x4adc92([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x578814[_0x4adc92([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c1830=_0x1a1ba2(_0x578814[_0x4adc92([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x578814[_0x4adc92([0x6a,0x74,0x69])])),await _0x37eb0a()?_0x2b6a78()?_0x5e52ab()?_0x4adc92([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b2dd9()?(_0x578814[_0x4adc92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4adc92([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29f663=_0x2dcce4(_0x4adc92([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x578814[_0x4adc92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4adc92([0x74,0x72,0x69,0x61,0x6c])&&(_0x29f663=_0x2dcce4(_0x4adc92([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e3bbd()):_0x4adc92([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4adc92([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4adc92([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4adc92([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e52ab(){const _0x54abd5=[_0x4adc92([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4adc92([0x74,0x72,0x69,0x61,0x6c])][_0x4adc92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x578814[_0x4adc92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d131c/0x3e8:0xe10*_0x2d9394;return _0x578814[_0x4adc92([0x65,0x78,0x70])]<_0x54abd5;}function _0x2b6a78(){const _0x1f1d04=_0x578814[_0x4adc92([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f1d04&&(!!_0x1f1d04[_0x4adc92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4adc92([0x2a]))||!!_0x1f1d04[_0x4adc92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4adc92([0x46,0x4f,0x4f])));}function _0x5b2dd9(){const _0x2fa23a=_0x578814[_0x4adc92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2fa23a||0x0==_0x2fa23a[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f43e2}=new URL(window[_0x4adc92([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2fa23a[_0x4adc92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f43e2))return!0x0;const _0x2dab2e=_0x1f43e2[_0x4adc92([0x73,0x70,0x6c,0x69,0x74])](_0x4adc92([0x2e]));return _0x2fa23a[_0x4adc92([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x187089=>_0x187089[_0x4adc92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4adc92([0x2a])))[_0x4adc92([0x6d,0x61,0x70])](_0x28c535=>_0x28c535[_0x4adc92([0x73,0x70,0x6c,0x69,0x74])](_0x4adc92([0x2e])))[_0x4adc92([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa0e413=>_0xa0e413[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2dab2e[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4adc92([0x6d,0x61,0x70])](_0x5bafe8=>Array(_0x2dab2e[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5bafe8[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4adc92([0x66,0x69,0x6c,0x6c])](_0x5bafe8[0x0]===_0x4adc92([0x2a])?_0x4adc92([0x2a]):'')[_0x4adc92([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5bafe8))[_0x4adc92([0x73,0x6f,0x6d,0x65])](_0xd54621=>_0x2dab2e[_0x4adc92([0x65,0x76,0x65,0x72,0x79])]((_0x4131bc,_0x529924)=>_0xd54621[_0x529924]===_0x4131bc||_0xd54621[_0x529924]===_0x4adc92([0x2a])));}function _0x1e3bbd(){return _0x29f663&&_0x1c1830?new window[(_0x4adc92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3fc8df,_0x314c84)=>{_0x29f663[_0x4adc92([0x74,0x68,0x65,0x6e])](_0x3fc8df,_0x314c84),_0x1c1830[_0x4adc92([0x74,0x68,0x65,0x6e])](_0x3e7d30=>{_0x3e7d30!=_0x4adc92([0x56,0x61,0x6c,0x69,0x64])&&_0x3fc8df(_0x3e7d30);},_0x314c84);}):_0x29f663||_0x1c1830||_0x4adc92([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a1ba2(_0x481004,_0x4d54c3){return new window[(_0x4adc92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20b3d5=>{if(_0xa26c2a())return _0x20b3d5(_0x4adc92([0x56,0x61,0x6c,0x69,0x64]));_0x2f494b(),_0x5df3a2[_0x4adc92([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4adc92([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd5e703=!0x1;const _0x207fc9=_0xb2ad1e();function _0x2ab200(_0x9ac064){return!!_0x9ac064&&(typeof _0x9ac064===_0x4adc92([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9ac064===_0x4adc92([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9ac064[_0x4adc92([0x74,0x68,0x65,0x6e])]===_0x4adc92([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9ac064[_0x4adc92([0x63,0x61,0x74,0x63,0x68])]===_0x4adc92([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31c656(_0x57a290){_0x5d2713(_0x57a290)[_0x4adc92([0x74,0x68,0x65,0x6e])](_0x182a1e=>{if(!_0x182a1e||_0x182a1e[_0x4adc92([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4adc92([0x6f,0x6b]))return _0x4adc92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x375667(_0x5ba378(_0x207fc9+_0x4d54c3))!=_0x182a1e[_0x4adc92([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4adc92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4adc92([0x56,0x61,0x6c,0x69,0x64]);})[_0x4adc92([0x74,0x68,0x65,0x6e])](_0x4323bb=>(_0x463566(),_0x4323bb),()=>{const _0x12a59f=_0x24c5e3();return null==_0x12a59f?(_0x463566(),_0x4adc92([0x56,0x61,0x6c,0x69,0x64])):_0x4adc92(_0x4d131c-_0x12a59f>(0x63ae0106^_0x37a113)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4adc92([0x74,0x68,0x65,0x6e])](_0x20b3d5)[_0x4adc92([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20b3d5(_0x4adc92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x217a65=0x47946b86^_0x37a113;function _0x463566(){const _0x2f5385=_0x4adc92([0x6c,0x6c,0x63,0x74,0x2d])+_0x375667(_0x5ba378(_0x481004)),_0x4c03a6=_0x5bd2b1(_0x375667(window[_0x4adc92([0x4d,0x61,0x74,0x68])][_0x4adc92([0x63,0x65,0x69,0x6c])](_0x4d131c/_0x217a65)));window[_0x4adc92([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4adc92([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f5385,_0x4c03a6);}function _0x24c5e3(){const _0x4a3ff2=_0x4adc92([0x6c,0x6c,0x63,0x74,0x2d])+_0x375667(_0x5ba378(_0x481004)),_0x285bdc=window[_0x4adc92([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4adc92([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a3ff2);return _0x285bdc?window[_0x4adc92([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bd2b1(_0x285bdc),0x10)*_0x217a65:null;}function _0x5d2713(_0x23527a){return new window[(_0x4adc92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x606828,_0x31b5b6)=>{_0x23527a[_0x4adc92([0x74,0x68,0x65,0x6e])](_0x606828,_0x31b5b6),window[_0x4adc92([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31b5b6,0x47a351c6^_0x37a113);});}}_0x5df3a2[_0x4adc92([0x6f,0x6e])](_0x4adc92([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x368258,_0x3980ef)=>{if(_0x3980ef[0x0]!=_0x481004)return _0x20b3d5(_0x4adc92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3980ef[0x1]={..._0x3980ef[0x1],[_0x4adc92([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x207fc9};},{[_0x4adc92([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4adc92([0x68,0x69,0x67,0x68])}),_0x5df3a2[_0x4adc92([0x6f,0x6e])](_0x4adc92([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x483e91=>{_0x2ab200(_0x483e91[_0x4adc92([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd5e703=!0x0,_0x31c656(_0x483e91[_0x4adc92([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4adc92([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4adc92([0x6c,0x6f,0x77])}),_0x4b0598[_0x4adc92([0x74,0x68,0x65,0x6e])](()=>{_0xd5e703||_0x20b3d5(_0x4adc92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xa26c2a(){return _0x5df3a2[_0x4adc92([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4adc92([0x76,0x69,0x65,0x77])][_0x4adc92([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4adc92([0x61,0x75,0x74,0x6f]);}function _0x2f494b(){_0x5df3a2[_0x4adc92([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4adc92([0x76,0x69,0x65,0x77])][_0x4adc92([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4adc92([0x61,0x75,0x74,0x6f]);}}function _0x2dcce4(_0x5e17c9){const _0x5a0117=[new window[(_0x4adc92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57e7a6=>setTimeout(_0x57e7a6,0x47abbbca^_0x37a113)),_0x4b0598[_0x4adc92([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4adc92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x457a09=>{let _0x2dcfe5=0x0;_0x5df3a2[_0x4adc92([0x6d,0x6f,0x64,0x65,0x6c])][_0x4adc92([0x6f,0x6e])](_0x4adc92([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x42b22b,_0x277ce9)=>{_0x277ce9[0x0][_0x4adc92([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2dcfe5++,_0x2dcfe5==(0x47a284fe^_0x37a113)&&(_0x457a09(),_0x42b22b[_0x4adc92([0x6f,0x66,0x66])]());});}))];return window[_0x4adc92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4adc92([0x72,0x61,0x63,0x65])](_0x5a0117)[_0x4adc92([0x74,0x68,0x65,0x6e])](()=>_0x5e17c9);}async function _0x14fd46(){await _0x4b0598,_0x5df3a2[_0x4adc92([0x6d,0x6f,0x64,0x65,0x6c])][_0x4adc92([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9eb4ba,_0x5df3a2[_0x4adc92([0x6d,0x6f,0x64,0x65,0x6c])][_0x4adc92([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9eb4ba,_0x5df3a2[_0x4adc92([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4adc92([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a2ada(_0x174279){const _0x3aea56=_0x40da68();_0x5df3a2[_0x3aea56]=_0x4adc92([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x174279,_0x174279!=_0x4adc92([0x56,0x61,0x6c,0x69,0x64])&&_0x14fd46();}function _0x40da68(){const _0x253265=window[_0x4adc92([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4adc92([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4adc92([0x6e,0x6f,0x77])]())[_0x4adc92([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4adc92([0x2e]),'');let _0x68b651=_0x4adc92([0x75]);for(let _0x21082d=0x0;_0x21082d<_0x253265[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21082d+=0x2){let _0x4d2dd8=window[_0x4adc92([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x253265[_0x4adc92([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21082d,_0x21082d+0x2));_0x4d2dd8>=_0x4d241f[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d2dd8-=_0x4d241f[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x68b651+=_0x4d241f[_0x4d2dd8];}return _0x68b651;}function _0x4e49a9(){const _0x28a1ca=_0x1ddb7f[_0x4adc92([0x73,0x70,0x6c,0x69,0x74])](_0x4adc92([0x2e]));if(0x3!=_0x28a1ca[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18df80(_0x28a1ca[0x1]);function _0x18df80(_0x816347){const _0x50dae9=_0x272997(_0x816347);return _0x50dae9&&_0x18452d()?_0x50dae9:null;function _0x18452d(){const _0x2cdece=_0x50dae9[_0x4adc92([0x6a,0x74,0x69])],_0x5f4c57=window[_0x4adc92([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cdece[_0x4adc92([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cdece[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38188b={..._0x50dae9,[_0x4adc92([0x6a,0x74,0x69])]:_0x2cdece[_0x4adc92([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2cdece[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38188b[_0x4adc92([0x76,0x63])],_0x5ba378(_0x38188b)==_0x5f4c57;}}}async function _0x37eb0a(){let _0x4b865d=!0x0;try{const _0x45043c=_0x1ddb7f[_0x4adc92([0x73,0x70,0x6c,0x69,0x74])](_0x4adc92([0x2e])),[_0x48c5c3,_0x12717b,_0x50c1c5]=_0x45043c;return _0x514e4d(_0x48c5c3),await _0x22ebf3(_0x48c5c3,_0x12717b,_0x50c1c5),_0x4b865d;}catch{return!0x1;}function _0x514e4d(_0xc68092){const _0x2a6c2a=_0x272997(_0xc68092);_0x2a6c2a&&_0x2a6c2a[_0x4adc92([0x61,0x6c,0x67])]==_0x4adc92([0x45,0x53,0x32,0x35,0x36])||(_0x4b865d=!0x1);}async function _0x22ebf3(_0x397ddf,_0x151b38,_0x24318c){const _0xd4e230=window[_0x4adc92([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4adc92([0x66,0x72,0x6f,0x6d])](_0x4aaae1(_0x24318c),_0x151b50=>_0x151b50[_0x4adc92([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x378f05=new window[(_0x4adc92([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4adc92([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x397ddf+_0x4adc92([0x2e])+_0x151b38),_0x47c423=window[_0x4adc92([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4adc92([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x47c423)return;const _0x203f2f=await _0x47c423[_0x4adc92([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4adc92([0x6a,0x77,0x6b]),_0x5567b4,{[_0x4adc92([0x6e,0x61,0x6d,0x65])]:_0x4adc92([0x45,0x43,0x44,0x53,0x41]),[_0x4adc92([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4adc92([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4adc92([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x47c423[_0x4adc92([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4adc92([0x6e,0x61,0x6d,0x65])]:_0x4adc92([0x45,0x43,0x44,0x53,0x41]),[_0x4adc92([0x68,0x61,0x73,0x68])]:{[_0x4adc92([0x6e,0x61,0x6d,0x65])]:_0x4adc92([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x203f2f,_0xd4e230,_0x378f05)||(_0x4b865d=!0x1);}}function _0x272997(_0x596a76){return _0x596a76[_0x4adc92([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4adc92([0x65,0x79]))?JSON[_0x4adc92([0x70,0x61,0x72,0x73,0x65])](_0x4aaae1(_0x596a76)):null;}function _0x4aaae1(_0x30e6b9){return window[_0x4adc92([0x61,0x74,0x6f,0x62])](_0x30e6b9[_0x4adc92([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4adc92([0x2b]))[_0x4adc92([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4adc92([0x2f])));}function _0x5ba378(_0x5dfe25){let _0x3adb03=0x1505;function _0x3f65f0(_0x399f4b){for(let _0x7ae9e3=0x0;_0x7ae9e3<_0x399f4b[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7ae9e3++){const _0x3e6175=_0x399f4b[_0x4adc92([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7ae9e3);_0x3adb03=(_0x3adb03<<0x5)+_0x3adb03+_0x3e6175,_0x3adb03&=_0x3adb03;}}function _0x15988f(_0x5ccae4){Array[_0x4adc92([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ccae4)?_0x5ccae4[_0x4adc92([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15988f):_0x5ccae4&&typeof _0x5ccae4==_0x4adc92([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4adc92([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ccae4)[_0x4adc92([0x73,0x6f,0x72,0x74])]()[_0x4adc92([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4fcc1d,_0x3aa177])=>{_0x3f65f0(_0x4fcc1d),_0x15988f(_0x3aa177);}):_0x3f65f0(window[_0x4adc92([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ccae4));}return _0x15988f(_0x5dfe25),_0x3adb03>>>0x0;}function _0x375667(_0x28dd0d){return _0x28dd0d[_0x4adc92([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4adc92([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4adc92([0x30]));}function _0x5bd2b1(_0x12bf81){return _0x12bf81[_0x4adc92([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4adc92([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4adc92([0x6a,0x6f,0x69,0x6e])]('');}function _0x9eb4ba(){}function _0x4adc92(_0x3c37b5){return _0x3c37b5['map'](_0x4a2aa1=>String['fromCharCode'](_0x4a2aa1))['join']('');}_0x2a2ada(await _0x4cee46());}(this);}['_moveSelectionToFootnoteDefinition'](_0x568063){const {plugins:_0x32f9ba,editing:_0x2bc1cf,model:_0x5e882f}=this['editor'],_0x26dc2b=_0x32f9ba['get'](f)['getFootnote'](_0x568063);return!!_0x26dc2b&&(_0x5e882f['change'](_0x508134=>{_0x508134['setSelection'](_0x508134['createPositionAt'](_0x26dc2b['definition'],'end'));}),_0x2bc1cf['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x8a701f){const {plugins:_0x463bab,editing:_0x7e3c82,model:_0x5cd012}=this['editor'],_0x510f42=_0x463bab['get'](f)['getFootnote'](_0x8a701f);return!!_0x510f42&&(_0x5cd012['change'](_0x5126fb=>{_0x5126fb['setSelection'](_0x510f42['reference'],'on');}),_0x7e3c82['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2e6a5c}=this['editor']['model'],_0xf42879=this['editor']['config']['get']('footnotes.multiBlock');_0x2e6a5c['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2e6a5c['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2e6a5c['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xf42879?_0x2e6a5c['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2e6a5c['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2e6a5c['addChildCheck'](_0x4b673e=>{for(const _0x5be377 of _0x4b673e)if('footnoteDefinition'===_0x5be377['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x23ab08}=this,{conversion:_0x3c9dd9,editing:_0x666c47}=_0x23ab08,{t:t}=_0x23ab08['locale'];_0x3c9dd9['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x330b1c,{writer:_0x92de75,consumable:_0x35a048})=>{const _0x32073c=_0x330b1c['getChild'](0x0);if(!_0x32073c||!_0x32073c['is']('element','a'))return null;const _0x130673=_0x32073c['getAttribute']('href')||'';if(!_0x130673['startsWith']('#'))return null;const _0x1812c3=_0x130673['replace'](/^#/,'');if(!_0x1812c3)return null;_0x35a048['consume'](_0x32073c,{'name':!0x0,'attributes':['href']});for(const {item:_0x3719ce}of _0x666c47['view']['createRangeIn'](_0x32073c))_0x3719ce['is']('$textProxy')?_0x35a048['consume'](_0x3719ce['textNode'],{'name':!0x0}):_0x3719ce['is']('element')&&_0x35a048['consume'](_0x3719ce,{'name':!0x0});return _0x92de75['createElement']('footnoteRef',{'footnoteId':_0x1812c3});}}),_0x3c9dd9['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5ba9c7,{writer:_0x1eac78})=>D(_0x5ba9c7,_0x1eac78)}),_0x3c9dd9['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x206081,{writer:_0x4c9cd9})=>{const _0x2de8c7=_0x206081['getAttribute']('footnoteCounter');return _0x932ce6(D(_0x206081,_0x4c9cd9),_0x4c9cd9,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2de8c7)});}});}['_defineDefinitionsConverters'](){const {editor:_0x563ad8}=this,{t:t}=_0x563ad8['locale'],{conversion:_0x1f89f7}=_0x563ad8;_0x1f89f7['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1f89f7['for']('upcast')['add'](_0x1d4c58=>{_0x1d4c58['on']('element:ol',(_0x9b7a57,_0x25fbb3,_0x12c372)=>{const _0x101b3f=_0x25fbb3['viewItem'];if(!_0x101b3f['hasClass']('footnotes-list')||!_0x25fbb3['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x12c372['consumable']['consume'](_0x101b3f,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x53bf19,modelCursor:_0x2bc013}=_0x12c372['convertChildren'](_0x25fbb3['viewItem'],_0x25fbb3['modelCursor']);_0x25fbb3['modelRange']=_0x53bf19,_0x25fbb3['modelCursor']=_0x2bc013;}),_0x1d4c58['on']('element:hr',(_0x313f09,_0x2e40d1,_0x2d415f)=>{const _0x1cd881=_0x2e40d1['viewItem'];_0x1cd881['hasClass']('footnotes-divider')&&_0x2e40d1['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2d415f['consumable']['consume'](_0x1cd881,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1f89f7['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x272a7d,{writer:_0x535acc})=>v(_0x535acc)}),_0x1f89f7['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xcc5eb1,{writer:_0x2fd8b6})=>{const _0xfc8d25=v(_0x2fd8b6,{'data-footnotes-list-label':t('Footnotes')}),_0x42bbfd=_0x932ce6(_0xfc8d25,_0x2fd8b6,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2fd8b6['setCustomProperty']('footnotesDefinitions',!0x0,_0x42bbfd),_0x42bbfd;}});}['_defineDefinitionConverters'](){const {editor:_0x1cb636}=this,{conversion:_0x4195ab,locale:_0x16de80}=_0x1cb636,_0x34c4b2=_0x1cb636['config']['get']('footnotes.multiBlock');_0x4195ab['for']('upcast')['add'](_0x410c47=>{_0x410c47['on']('element:li',(_0x209f4b,_0x4a7584,_0x24439f)=>{const _0x5c2c10=_0x4a7584['viewItem'];if(!_0x5c2c10['hasClass']('footnote-definition')||!_0x5c2c10['getAttribute']('id'))return;const _0x2dc376=_0x5c2c10['parent'];if(!_0x2dc376['is']('element','ol')||!_0x2dc376['hasClass']('footnotes-list'))return;if(!_0x24439f['consumable']['test'](_0x5c2c10,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x32a8bf=_0x24439f['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5c2c10['getAttribute']('id')});if(!_0x24439f['safeInsert'](_0x32a8bf,_0x4a7584['modelCursor']))return;_0x24439f['consumable']['consume'](_0x5c2c10,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4aa8a2=Array['from'](_0x5c2c10['getChildren']())['find'](_0x3e5245=>_0x3e5245['is']('element')&&_0x3e5245['hasClass']('footnote-content'));for(const _0x2d5094 of _0x5c2c10['getChildren']())_0x2d5094['is']('element')&&(_0x24439f['consumable']['consume'](_0x2d5094,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x24439f['consumable']['consume'](_0x2d5094,{'name':!0x0,'classes':'footnote-content'}));if(_0x4aa8a2){if(_0x34c4b2)_0x24439f['convertChildren'](_0x4aa8a2,_0x32a8bf);else{const _0x2b789f=_0x24439f['writer']['createElement']('footnoteInlineContent');_0x24439f['writer']['insert'](_0x2b789f,_0x32a8bf),_0x24439f['convertChildren'](_0x4aa8a2,_0x2b789f);}}_0x24439f['updateConversionResult'](_0x32a8bf,_0x4a7584);});}),_0x4195ab['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4a05c8,{writer:_0x4011cf})=>b(_0x4a05c8,_0x4011cf,_0x16de80,{'dataPipeline':!0x0})}),_0x4195ab['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4c24aa,{writer:_0xb2e25f})=>b(_0x4c24aa,_0xb2e25f,_0x16de80)});}['_defineBogusParagraphConverters'](){const {editor:_0x37b7de}=this,{conversion:_0x399bd5}=_0x37b7de;_0x37b7de['config']['get']('footnotes.multiBlock')?(_0x399bd5['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x399bd5['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x37b7de['model']['document'],'change:data',()=>{!function(_0x53e4f0,_0x230a55){const _0x205976=_0x53e4f0['document']['differ'],_0x2df4f4=new Set();for(const _0x4b32d0 of _0x205976['getChanges']()){const _0x4057b4='attribute'==_0x4b32d0['type']?_0x4b32d0['range']['start']['parent']:_0x4b32d0['position']['parent'];_0x4057b4['is']('element','footnoteDefinition')&&_0x2df4f4['add'](_0x4057b4);}for(const _0x25efba of _0x2df4f4['values']()){const _0x13614c=Array['from'](_0x25efba['getChildren']())['filter'](_0x3eac42=>g(_0x3eac42,_0x230a55['mapper']));for(const _0x373fe0 of _0x13614c)_0x230a55['reconvertItem'](_0x373fe0);}}(_0x37b7de['model'],_0x37b7de['editing']);})):(_0x399bd5['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x399bd5['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4c0f6f,{writer:_0x41775e})=>{const _0x1be874=_0x41775e['createContainerElement']('span');return _0x41775e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1be874),_0x1be874;}}));}['_defineKeyboardHandlers'](){const {editor:_0x113d1d}=this,{editing:_0x4e54c3,t:t}=_0x113d1d,_0x1b4d9d=_0x113d1d['model']['document']['selection'];_0x113d1d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x113d1d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4e54c3['view']['document'],'enter',(_0x317088,_0x2c8f71)=>{const _0x3f8585=function(_0x5216e8){const _0x5e125e=_0x5216e8['getSelectedElement']();if(_0x5e125e?.['is']('element','footnoteRef'))return _0x5e125e;return null;}(_0x1b4d9d);if(_0x3f8585){const _0x46de0c=_0x3f8585['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x46de0c),_0x2c8f71['preventDefault'](),_0x317088['stop']();}},{'context':_0x5d8c7c});}['_defineClickHandlers'](){const {editor:_0x42d51f}=this,{editing:_0x2f95af}=_0x42d51f;_0x42d51f['editing']['view']['addObserver'](_0x3ddfa1),_0x42d51f['editing']['view']['addObserver'](_0x3b82a8);let _0x318f3e=!0x1;this['listenTo'](_0x2f95af['view']['document'],'pointerdown',(_0x2dfae9,_0x1d8c46)=>{const {target:_0xc096fa}=_0x1d8c46,_0x4e8ee7=_0x2f95af['view']['document']['selection'];_0x318f3e=!!(_0xc096fa?.['is']('element','a')&&_0xc096fa['parent']?.['is']('element','sup')&&_0xc096fa['parent']['hasClass']('footnote'))&&_0x4e8ee7['getSelectedElement']()===_0xc096fa['parent'];},{'priority':'high'}),this['listenTo'](_0x2f95af['view']['document'],'click',(_0x3c837b,_0x2a8b62)=>{const {target:_0x4003b8}=_0x2a8b62;if(!_0x4003b8?.['is']('element','a'))return;if(_0x4003b8['parent']?.['is']('element','sup')&&_0x4003b8['parent']['hasClass']('footnote')&&!_0x318f3e)return void _0x2a8b62['preventDefault']();let _0x1c53fd=_0x4003b8['getAttribute']('href');if(!_0x1c53fd?.['startsWith']('#'))return;_0x1c53fd=_0x1c53fd['slice'](0x1);let _0x16a06e=!0x1;(_0x1c53fd['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1c53fd['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1c53fd))&&(_0x16a06e=!0x0),_0x16a06e&&(_0x2a8b62['preventDefault'](),_0x3c837b['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x21660f}={}){return(_0x2cc288,{writer:_0x144def})=>{if(!p(_0x2cc288))return null;if(!_0x21660f)return _0x144def['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x23322d=_0x144def['createContainerElement']('p');return _0x144def['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x23322d),_0x23322d;};}function p(_0x1e96c6){const {parent:_0x38329a}=_0x1e96c6;if(!_0x38329a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x38329a['childCount'])return!0x1;for(const _0x37b541 of _0x1e96c6['getAttributeKeys']())if(!_0x37b541['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x37b541)return!0x1;return!0x0;}function g(_0x3293be,_0x42c69c){if(!_0x3293be['is']('element','paragraph'))return!0x1;const _0x42d292=_0x42c69c['toViewElement'](_0x3293be);return!!_0x42d292&&p(_0x3293be)!==_0x42d292['is']('element','span');}function J(_0x26a7fe){return _0x5d8c7c(_0x26a7fe)&&_0x26a7fe['is']('containerElement')&&!!_0x26a7fe['getCustomProperty']('footnotesDefinitions');}function v(_0x3a82f8,_0x197251={}){const _0x3cf18a=_0x3a82f8['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x452ae1=_0x3a82f8['createContainerElement']('ol',{'class':'footnotes-list'},_0x3a82f8['createSlot']());return _0x3a82f8['createContainerElement']('div',{'class':'footnotes',..._0x197251},[_0x3cf18a,_0x452ae1]);}function D(_0x1be931,_0x161ea7){const _0x56423c=_0x1be931['getAttribute']('footnoteId'),_0x509836=_0x1be931['getAttribute']('footnoteCounter'),_0x3e2a01=_0x161ea7['createUIElement']('a',{'href':'#'+_0x56423c},function(_0x1e71ed){const _0x30813f=this['toDomElement'](_0x1e71ed);return _0x30813f['textContent']=_0x509836,_0x30813f;}),_0x258449=_0x161ea7['createContainerElement']('sup',{'id':'ref-'+_0x56423c,'class':'footnote'},[_0x3e2a01]);return _0x258449['getFillerOffset']=()=>null,_0x258449;}function b(_0x279f38,_0x5cc47a,_0x72a480,{dataPipeline:_0x56a111}={}){const {t:t}=_0x72a480,_0x97d50f=_0x279f38['getAttribute']('footnoteId'),_0x466bc7=_0x5cc47a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x97d50f},function(_0x363b15){const _0xe91865=this['toDomElement'](_0x363b15);return _0xe91865['innerText']='^',_0xe91865;}),_0x50db11=_0x56a111?_0x5cc47a['createContainerElement']('div',{'class':'footnote-content'}):_0x5983a7(_0x5cc47a['createEditableElement']('div',{'class':'footnote-content'}),_0x5cc47a,{'label':t('Footnote\x20content.')});return _0x5cc47a['insert'](_0x5cc47a['createPositionAt'](_0x50db11,0x0),_0x5cc47a['createSlot']()),_0x5cc47a['createContainerElement']('li',{'class':'footnote-definition','id':_0x97d50f},[_0x466bc7,_0x50db11]);}class e extends _0x7cf97c{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x2cf3f1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3ce811}=this,{plugins:_0x8e82ae,model:_0x26b8ce}=_0x3ce811,_0x4c248a=_0x8e82ae['get'](_0x2cf3f1),_0x45906b=_0x8e82ae['get'](f);this['listenTo'](_0x4c248a,'outputTransformation',(_0x16c666,_0x4f03c5)=>{const _0x22457b=c(_0x26b8ce['createRangeIn'](_0x4f03c5['content']));if(!_0x22457b['length'])return;const _0x2c4991=_0x45906b['getFootnotes'](),_0x91ede8=_0x22457b['reduce']((_0x18d384,_0xb08028)=>{const _0x12daff=_0x2c4991['find'](_0x57844d=>_0x57844d['id']===_0xb08028);if(_0x12daff){const _0xc05eb4=_0x3ce811['data']['toView'](_0x12daff['definition'],{'isClipboardPipeline':!0x0}),_0x5799c1=_0x3ce811['data']['htmlProcessor']['toData'](_0xc05eb4);_0x18d384[_0x12daff['id']]=_0x5799c1;}return _0x18d384;},Object['create'](null));_0x4f03c5['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x91ede8));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x5c618e}=this,{model:_0x2fbd94,plugins:_0x3ef240}=_0x5c618e,{view:_0x731e25}=_0x5c618e['editing'],_0x3990fd=_0x3ef240['get'](_0x2cf3f1),_0x554c6b=_0x3ef240['get'](f),_0x1244b5=_0x5c618e['config']['get']('footnotes.multiBlock');let _0x3601ca=null;this['listenTo'](_0x731e25['document'],'clipboardInput',(_0x2df546,_0x1c6f71)=>{const _0xcbc1cd=_0x1c6f71['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3601ca=_0xcbc1cd?JSON['parse'](_0xcbc1cd):null;}),this['listenTo'](_0x3990fd,'contentInsertion',(_0x4af526,_0x3c6723)=>{const _0x1740f8=_0x3c6723['sourceEditorId']===this['editor']['id'];_0x1740f8&&'drop'===_0x3c6723['method']||_0x2fbd94['change'](_0x3347bf=>{let _0x25163d=_0x554c6b['getFootnotesDefinitionsObjectElement']();const _0x82d789=!!_0x25163d&&Array['from'](_0x2fbd94['document']['selection']['getSelectedBlocks']())['includes'](_0x25163d);if((_0x25163d&&!_0x82d789||!_0x25163d&&!_0x3601ca)&&function(_0x41ed43,_0x490ded){const _0x30f4ad=[];for(const {item:_0x4421c0}of _0x41ed43['createRangeIn'](_0x490ded))_0x4421c0['is']('element','footnotesDefinitions')&&_0x30f4ad['push'](_0x4421c0);for(const _0x454439 of _0x30f4ad)_0x41ed43['remove'](_0x454439);}(_0x3347bf,_0x3c6723['content']),!_0x3601ca)return;const {selection:_0x78dadd}=_0x2fbd94['document'],_0xb16c9a=_0x78dadd['getFirstRange']()['root'];_0x25163d&&!_0x82d789||(_0x25163d=function(_0x7be895,_0x207b76){for(const {item:_0x3d597b}of _0x7be895['createRangeIn'](_0x207b76))if(_0x3d597b['is']('element','footnotesDefinitions'))return _0x3d597b;return null;}(_0x3347bf,_0x3c6723['content']),_0x25163d||=_0x554c6b['_insertEmptyFootnotesDefinitionsContainer'](_0x3347bf,_0xb16c9a));const _0x20bcb9=Array['from'](_0x78dadd['getRanges']())['flatMap'](c),_0x1c0c11=function(_0x2b0cac,_0x436267,_0x4b65fe){const _0x1acab4=Object['create'](null);for(const {item:_0x3a57a0}of _0x2b0cac['createRangeIn'](_0x436267))if(_0x3a57a0['is']('element','footnoteRef')){const _0x423dc3=_0x3a57a0['getAttribute']('footnoteId');if(!_0x4b65fe(_0x423dc3))continue;_0x1acab4[_0x423dc3]||(_0x1acab4[_0x423dc3]=_0xb2ad1e()),_0x2b0cac['setAttribute']('footnoteId',_0x1acab4[_0x423dc3],_0x3a57a0);}return _0x1acab4;}(_0x3347bf,_0x3c6723['content'],_0x5c8042=>{if(!_0x1740f8)return!0x0;return!!_0x554c6b['getFootnote'](_0x5c8042)&&!_0x20bcb9['includes'](_0x5c8042);});for(const [_0x273957,_0x418620]of Object['entries'](_0x3601ca)){const _0x41523d=_0x1c0c11[_0x273957]||_0x273957,_0x260b10=_0x3347bf['createElement']('footnoteDefinition',{'footnoteId':_0x41523d}),_0x28a097=_0x5c618e['data']['htmlProcessor']['toView'](_0x418620);let _0x54e8a6;if(_0x1244b5)_0x54e8a6=_0x5c618e['data']['toModel'](_0x28a097,_0x260b10);else{_0x54e8a6=_0x3347bf['createElement']('footnoteInlineContent');const _0x3f5a39=_0x5c618e['data']['toModel'](_0x28a097,_0x54e8a6);_0x3347bf['insert'](_0x3f5a39,_0x54e8a6);}_0x3347bf['append'](_0x54e8a6,_0x260b10),_0x3347bf['insert'](_0x260b10,_0x25163d,'end');}_0x3601ca=null;});});}}function c(_0x2d59c8){const _0x1a09a9=new Set();for(const {item:_0xf64dc3}of _0x2d59c8)_0xf64dc3['is']('element','footnoteRef')&&_0x1a09a9['add'](_0xf64dc3['getAttribute']('footnoteId'));return Array['from'](_0x1a09a9);}class i extends _0x7cf97c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x565c45}=this,{componentFactory:_0x5392d2}=_0x565c45['ui'];_0x5392d2['add']('insertFootnote',x(_0x565c45,_0x48319d)),_0x5392d2['add']('menuBar:insertFootnote',x(_0x565c45,_0x341efd)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x287808=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3c58d4;for(const _0x165be6 in _0x287808){const _0x17adb2=_0x165be6,_0x4ad6fd=_0x287808[_0x17adb2];if('footnotesLicenseKeyValid'==_0x4ad6fd||'footnotesLicenseKeyInvalid'==_0x4ad6fd||'footnotesLicenseKeyExpired'==_0x4ad6fd||'footnotesLicenseKeyDomainLimit'==_0x4ad6fd||'footnotesLicenseKeyNotAllowed'==_0x4ad6fd||'footnotesLicenseKeyEvaluationLimit'==_0x4ad6fd||'footnotesLicenseKeyTrialLimit'==_0x4ad6fd||'footnotesLicenseKeyUsageLimit'==_0x4ad6fd){delete _0x287808[_0x17adb2],_0x3c58d4=_0x4ad6fd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3c58d4&&_0x287808['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3c58d4&&_0x287808['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3c58d4&&_0x287808['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3c58d4&&_0x287808['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3c58d4&&_0x287808['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3c58d4&&_0x287808['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3c58d4&&_0x287808['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x49e65f,_0x2b7a7e){const _0x49957b=_0x49e65f['commands']['get']('insertFootnote');return _0x138482=>{const {t:t}=_0x138482,_0x3276aa=new _0x2b7a7e(_0x138482),_0x3976c9=_0x3276aa instanceof _0x341efd;return _0x3276aa['bind']('isEnabled')['to'](_0x49957b,'isEnabled'),_0x3276aa['set']({'label':t(_0x3976c9?'Footnote':'Insert\x20footnote'),'icon':_0x2445ed,'tooltip':!0x0}),_0x3276aa['on']('execute',()=>{_0x49957b['execute'](),_0x49e65f['editing']['view']['focus']();}),_0x3276aa;};}class lt extends _0x7cf97c{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 _0x508bf5{['refresh'](){const {editor:_0x340b18}=this,_0x399245=_0x340b18['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x399245,this['value']=_0x399245?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x201935}){const {editor:_0x2f2a92}=this,_0x59dddd=_0x2f2a92['plugins']['get'](f),_0x23e069=_0x59dddd['getFootnotesDefinitionsObjectElement']();_0x23e069&&Q['includes'](_0x201935)&&_0x2f2a92['model']['change'](_0x5aa4bc=>{_0x5aa4bc['setAttribute']('footnotesListStyle',_0x201935,_0x23e069),_0x59dddd['_updateFootnotesCounters'](_0x5aa4bc);});}}class C extends _0x508bf5{['refresh'](){const {editor:_0x2e9a25}=this,_0x994bb0=_0x2e9a25['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x994bb0,this['value']=_0x994bb0?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0xd17fa9}){const {editor:_0x592316}=this,_0x482328=_0x592316['plugins']['get'](f),_0x2dc2ae=_0x482328['getFootnotesDefinitionsObjectElement']();_0x2dc2ae&&Number['isInteger'](_0xd17fa9)&&_0x592316['model']['change'](_0x28325e=>{_0x28325e['setAttribute']('footnotesListStart',_0xd17fa9,_0x2dc2ae),_0x482328['_updateFootnotesCounters'](_0x28325e);});}}class P extends _0x7cf97c{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x355354}=this;_0x355354['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x355354['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x355354['commands']['add']('footnotesStyle',new S(_0x355354)),_0x355354['commands']['add']('footnotesStart',new C(_0x355354)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x84650f}=this,{schema:_0x14e53b}=_0x84650f['model'];_0x14e53b['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x264af2}=this,{conversion:_0x264233,model:_0x3a0ef4}=_0x264af2,{schema:_0x154df0}=_0x3a0ef4;_0x264233['for']('upcast')['add'](_0x9160d6=>{_0x9160d6['on']('element:ol',(_0x5c640e,_0x159c49,_0x430a1d)=>{const _0x495cae=_0x159c49['viewItem'],_0x54e451=_0x159c49['modelCursor']?.['parent'];_0x495cae['hasClass']('footnotes-list')&&_0x54e451?.['is']('element','footnotesDefinitions')&&(function(_0x5b4c65,_0x2b033d,_0x47e054,_0x5a2c0a){if(!_0x5a2c0a['checkAttribute'](_0x2b033d,'footnotesListStart'))return;let _0x3334c3=0x1;const _0x3a231a=_0x47e054['consumable']['consume'](_0x5b4c65,{'attributes':'start'});if(_0x3a231a){const _0x4a730b=Number['parseInt'](_0x5b4c65['getAttribute']('start'),0xa);Number['isNaN'](_0x4a730b)||(_0x3334c3=_0x4a730b);}!_0x3a231a&&_0x2b033d['hasAttribute']('footnotesListStart')||_0x47e054['writer']['setAttribute']('footnotesListStart',_0x3334c3,_0x2b033d);}(_0x495cae,_0x54e451,_0x430a1d,_0x154df0),function(_0x2fb1ee,_0x15f25c,_0x513110,_0x9b3d31){if(!_0x9b3d31['checkAttribute'](_0x15f25c,'footnotesListStyle'))return;let _0x4f9bd2='decimal',_0x593bff=!0x1;if(_0x513110['consumable']['consume'](_0x2fb1ee,{'attributes':'type'})){const _0xe4c2cf={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2fb1ee['getAttribute']('type')];_0xe4c2cf&&(_0x4f9bd2=_0xe4c2cf),_0x593bff=!0x0;}_0x513110['consumable']['consume'](_0x2fb1ee,{'styles':'list-style-type'})&&(_0x4f9bd2=function(_0x46fad3){switch(_0x46fad3){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x46fad3;}}(_0x2fb1ee['getStyle']('list-style-type')),_0x593bff=!0x0),!_0x593bff&&_0x15f25c['hasAttribute']('footnotesListStyle')||_0x513110['writer']['setAttribute']('footnotesListStyle',_0x4f9bd2,_0x15f25c);}(_0x495cae,_0x54e451,_0x430a1d,_0x154df0));});}),_0x264233['for']('downcast')['add'](_0x53081a=>{_0x53081a['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x467c95,_0x58b694,_0x36876a)=>{if(!_0x36876a['consumable']['consume'](_0x58b694['item'],_0x467c95['name']))return;const _0x1f8f51=M(_0x58b694['item'],_0x36876a['mapper']),{attributeNewValue:_0x2159c2}=_0x58b694;null==_0x2159c2||0x1===_0x2159c2?_0x36876a['writer']['removeAttribute']('start',_0x1f8f51):_0x36876a['writer']['setAttribute']('start',String(_0x2159c2),_0x1f8f51);}),_0x53081a['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1002c2,_0x40dd55,_0x369218)=>{if(!_0x369218['consumable']['consume'](_0x40dd55['item'],_0x1002c2['name']))return;const _0x1d5abe=M(_0x40dd55['item'],_0x369218['mapper']),{attributeNewValue:_0x38f711}=_0x40dd55;_0x38f711&&'decimal'!==_0x38f711?_0x369218['writer']['setStyle']('list-style-type',_0x38f711,_0x1d5abe):_0x369218['writer']['removeStyle']('list-style-type',_0x1d5abe);});});}['_definePostfixer'](){const {editor:_0xb51b62}=this,{model:_0xe5da04}=_0xb51b62,_0x26f3ed=_0xb51b62['plugins']['get'](f),_0x8d04b1=this['_getDefaultListStyle'](),_0x50d7b6=this['_getDefaultStartIndex']();_0xe5da04['document']['registerPostFixer'](_0x58d4c0=>{const _0x10bf49=_0xe5da04['document']['differ']['getChanges']();let _0x1eab44=!0x1;for(const _0x2be705 of _0x10bf49){if('insert'!==_0x2be705['type']||'$text'===_0x2be705['name'])continue;const _0x587f51=_0xe5da04['createRangeOn'](_0x2be705['position']['nodeAfter']);for(const _0x5d5c0f of _0x587f51['getItems']())_0x5d5c0f['is']('element','footnotesDefinitions')&&(!_0x5d5c0f['hasAttribute']('footnotesListStart')&&_0xe5da04['schema']['checkAttribute'](_0x5d5c0f,'footnotesListStart')&&(_0x58d4c0['setAttribute']('footnotesListStart',_0x50d7b6,_0x5d5c0f),_0x1eab44=!0x0),!_0x5d5c0f['hasAttribute']('footnotesListStyle')&&_0xe5da04['schema']['checkAttribute'](_0x5d5c0f,'footnotesListStyle')&&(_0x58d4c0['setAttribute']('footnotesListStyle',_0x8d04b1,_0x5d5c0f),_0x1eab44=!0x0));}return _0x1eab44&&_0x26f3ed['_updateFootnotesCounters'](_0x58d4c0),_0x1eab44;});}['_defineFormatter'](){const {editor:_0x13d669}=this;_0x13d669['plugins']['get'](f)['setFootnoteFormatter'](_0x47b5b3=>this['_formatFootnoteListValue'](_0x47b5b3));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1daa0b,value:_0x2ec1db,digits:_0x3590f0}){const _0x1f7e1b=_0x1daa0b['getAttribute']('footnotesListStyle'),_0x1f3aed=_0x1daa0b['getAttribute']('footnotesListStart'),_0x7f9bd0=Math['floor'](_0x2ec1db)+(_0x1f3aed??0x1)-0x1;switch(_0x1f7e1b){case'decimal-leading-zero':return function(_0x53e2e3,_0x3c157e){return String(_0x53e2e3)['padStart'](_0x3c157e,'0');}(_0x7f9bd0,Math['max'](0x2,_0x3590f0));case'lower-alpha':case'lower-latin':return N(_0x7f9bd0,!0x1);case'upper-alpha':case'upper-latin':return N(_0x7f9bd0,!0x0);case'lower-roman':return X(_0x7f9bd0,!0x1);case'upper-roman':return X(_0x7f9bd0,!0x0);default:return String(_0x7f9bd0);}}}function M(_0xeeb81d,_0x40a33e){const _0x44be53=_0x40a33e['toViewElement'](_0xeeb81d);return Array['from'](_0x44be53['getChildren']())['find'](_0x1bd821=>_0x1bd821['is']('element','ol')&&_0x1bd821['hasClass']('footnotes-list'));}function N(_0x492ddc,_0x5790eb){let _0x2abb3c='',_0x497fc6=_0x492ddc;for(;_0x497fc6>0x0;){const _0x421135=(_0x497fc6-0x1)%0x1a;_0x2abb3c=String['fromCharCode'](0x61+_0x421135)+_0x2abb3c,_0x497fc6=Math['floor']((_0x497fc6-0x1)/0x1a);}return _0x5790eb?_0x2abb3c['toUpperCase']():_0x2abb3c;}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(_0xca0d8f,_0x19c0dc){let _0x4ae0ac='',_0x35b02d=_0xca0d8f;for(const {value:_0x13d728,numeral:_0x27cbdd}of V)for(;_0x35b02d>=_0x13d728;)_0x4ae0ac+=_0x27cbdd,_0x35b02d-=_0x13d728;return _0x19c0dc?_0x4ae0ac:_0x4ae0ac['toLowerCase']();}class H extends _0x1e6c01{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x3409d7();['focusCycler'];constructor(_0x339404,{styleButtonViews:_0x164063,styleGridAriaLabel:_0x21fe90}){super(_0x339404),(this['focusCycler']=new _0x453729({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x164063,_0x21fe90),[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 _0x874f33 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x874f33['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 _0x1e63b8=_0x42a236=>_0x42a236['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1e63b8),this['keystrokes']['set']('arrowleft',_0x1e63b8),this['keystrokes']['set']('arrowup',_0x1e63b8),this['keystrokes']['set']('arrowdown',_0x1e63b8);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x41f25b,_0x57f119){const _0x208144=new _0x1e6c01(this['locale']);return _0x208144['children']=_0x208144['createCollection'](),_0x208144['children']['addMany'](_0x41f25b),_0x208144['setTemplate']({'tag':'div','attributes':{'aria-label':_0x57f119,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x208144['children']}),_0x208144['children']['delegate']('execute')['to'](this),_0x208144['focus']=function(){for(const _0x3f3872 of this['children'])if(_0x3f3872 instanceof _0x48319d&&_0x3f3872['isOn'])return void _0x3f3872['focus']();this['children']['first']['focus']();},_0x208144['focusTracker']=new ot(),_0x208144['keystrokes']=new rt(),_0x208144['render'](),_0x208144['keystrokes']['listenTo'](_0x208144['element']),this['children']['add'](_0x208144),_0x208144;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xc92f4e=this['_createStartIndexPropertyView'](),_0x1c3da3=[_0xc92f4e],_0x3484f7=new st(this['locale'],_0x1c3da3);return _0x3484f7['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3484f7['buttonView']['bind']('isEnabled')['toMany'](_0x1c3da3,'isEnabled',(..._0xac1ff3)=>_0xac1ff3['some'](_0x26e15c=>_0x26e15c)),_0x3484f7['buttonView']['on']('change:isEnabled',(_0x526461,_0x57648a,_0x13d668)=>{_0x13d668||(_0x3484f7['isCollapsed']=!0x0);}),this['children']['add'](_0x3484f7),[_0xc92f4e,_0x3484f7];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xa64885=new it(this['locale'],et);return _0xa64885['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xa64885['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xa64885['fieldView']['on']('input',()=>{const _0x18a2fb=_0xa64885['fieldView']['element'],_0x20255e=_0x18a2fb['valueAsNumber'];Number['isNaN'](_0x20255e)?_0xa64885['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x18a2fb['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x20255e}):_0xa64885['errorText']=t(_0x20255e<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xa64885;}}class j extends _0x7cf97c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4d12df,_0xd701c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x417540}=this,{componentFactory:_0x3a8a66}=_0x417540['ui'];_0x417540['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3a8a66['add']('footnotesStyle',function(_0x90f032){return _0x10616c=>{const {t:t}=_0x10616c,_0x37a2d2=_0x90f032['commands']['get']('footnotesStyle'),_0x3e59bf=_0xc55082(_0x10616c),{buttonView:_0x1fc301}=_0x3e59bf;return _0x3e59bf['class']='ck-footnotes-styles-dropdown',_0x3e59bf['bind']('isEnabled')['to'](_0x37a2d2,'isEnabled'),_0x1fc301['set']({'label':t('Footnotes\x20style'),'icon':_0x2445ed,'tooltip':!0x0}),_0x3e59bf['once']('change:isOpen',()=>{const _0x2415ab=function({editor:_0x43d261,dropdownView:_0x54c37d}){const {t:t}=_0x43d261['locale'],_0x2c55ce=t('Footnotes\x20definitions\x20styles'),_0x3fade3=function(_0xe6b1a2){const t=_0xe6b1a2['locale']['t'],_0x2f16f2=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xe0b9cb},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x315e77},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5e3ec5},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2e1c7c},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3238b6},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4b2dda}];return _0x2f16f2['map'](function(_0x4081b4){const _0x14e1b3=_0x4081b4['locale'];return({label:_0x4b9597,icon:_0x569cb2,tooltip:_0x2cd6fd,style:_0x3bc094})=>{const _0x56cbcc=_0x4081b4['commands']['get']('footnotesStyle'),_0x2dbeed=new _0x48319d(_0x14e1b3);return _0x2dbeed['set']({'label':_0x4b9597,'icon':_0x569cb2,'tooltip':_0x2cd6fd}),_0x2dbeed['bind']('isOn')['to'](_0x56cbcc,'value',_0xad9363=>_0xad9363===_0x3bc094),_0x2dbeed['bind']('isEnabled')['to'](_0x56cbcc,'isEnabled'),_0x2dbeed['on']('execute',()=>{_0x4081b4['execute']('footnotesStyle',{'value':_0x3bc094}),_0x4081b4['editing']['view']['focus']();}),_0x2dbeed;};}(_0xe6b1a2));}(_0x43d261),_0x2fdf4a=new H(_0x43d261['locale'],{'styleGridAriaLabel':_0x2c55ce,'styleButtonViews':_0x3fade3}),_0x3ca480=_0x43d261['commands']['get']('footnotesStart');return _0x2fdf4a['startIndexFieldView']['bind']('isEnabled')['to'](_0x3ca480),_0x2fdf4a['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3ca480),_0x2fdf4a['on']('footnotesListStart',(_0x154cac,_0x22a6e9)=>{_0x43d261['execute']('footnotesStart',{'value':_0x22a6e9['startIndex']});}),_0x2fdf4a['delegate']('execute')['to'](_0x54c37d),_0x2fdf4a;}({'editor':_0x90f032,'dropdownView':_0x3e59bf});_0x3e59bf['panelView']['children']['add'](_0x2415ab);}),_0x3e59bf;};}(_0x417540));}['afterInit'](){const {editor:_0x3dd72f}=this,{t:t}=_0x3dd72f['locale'],_0x40f070=_0x3dd72f['plugins']['get'](_0xd701c),{defaultPositions:_0x3b6340}=_0x2bfacc;_0x40f070['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3dd72f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x26d4b5=>{let _0x159a02=_0x26d4b5['getFirstPosition']()?.['parent'];return _0x159a02?.['is']('$text')&&(_0x159a02=_0x159a02['parent']),_0x159a02?.['is']('element')?_0x159a02['findAncestor'](J):null;},'positions':[_0x3b6340['southArrowNorth'],_0x3b6340['southArrowNorthMiddleWest'],_0x3b6340['southArrowNorthMiddleEast'],_0x3b6340['southArrowNorthWest'],_0x3b6340['southArrowNorthEast'],_0x3b6340['northArrowSouth'],_0x3b6340['northArrowSouthMiddleWest'],_0x3b6340['northArrowSouthMiddleEast'],_0x3b6340['northArrowSouthWest'],_0x3b6340['northArrowSouthEast'],_0x3b6340['viewportStickyNorth']]});}}class ft extends _0x7cf97c{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
23
+ import{Plugin as _0xdc1d92,Command as _0x2922a0}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x456aae,isWidget as _0x492a9c,toWidgetEditable as _0x232f1e,WidgetToolbarRepository as _0x41e8fb}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x1d1e30,logWarning as _0x4e11b0,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x2f5e72,ClickObserver as _0x297110}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x3ca5ad}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4c975f,ButtonView as _0x3c7b9c,View as _0x5addd1,ViewCollection as _0x5a99c4,FocusCycler as _0x69f264,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x2f927b,BalloonPanelView as _0x354bcb,createDropdown as _0x229e8e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x5bc017,IconListStyleDecimal as _0x54e97f,IconListStyleDecimalLeadingZero as _0x3a044a,IconListStyleLowerRoman as _0x234538,IconListStyleUpperRoman as _0x5edc10,IconListStyleLowerLatin as _0x3d019f,IconListStyleUpperLatin as _0x1a86d1}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x10f0e3,_0x1623da){this['_model']=_0x10f0e3,this['_elementName']=_0x1623da['elementName'],this['_getElementKey']=_0x1623da['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x111fed){const _0x43962f=new Set(),_0x359ea1=new Map();for(const _0x1fdaac of _0x111fed){if('insert'===_0x1fdaac['type']&&'$text'!==_0x1fdaac['name']&&_0x1fdaac['position']['nodeAfter']){const _0x1fd7a7=this['_model']['createRangeOn'](_0x1fdaac['position']['nodeAfter']);for(const _0x495fd6 of _0x1fd7a7['getItems']()){if(!_0x495fd6['is']('element',this['_elementName']))continue;const _0x597e6e=this['_getElementKey'](_0x495fd6);_0x359ea1['has'](_0x597e6e)||_0x359ea1['set'](_0x597e6e,[]),_0x359ea1['get'](_0x597e6e)['push'](_0x495fd6);}}if('remove'===_0x1fdaac['type']&&_0x1fdaac['name']===this['_elementName']){const _0x255d1b=this['_getElementKey']({'getAttribute':_0x14ef13=>_0x1fdaac['attributes']['get'](_0x14ef13)});_0x43962f['add'](_0x255d1b);}}for(const [_0x122a2f,_0x2121b3]of this['_trackedElements'])'$graveyard'===_0x2121b3['root']['rootName']&&_0x43962f['add'](_0x122a2f);for(const _0xf8ae56 of _0x43962f)this['_trackedElements']['delete'](_0xf8ae56);for(const [_0x42bdda,_0x358d54]of _0x359ea1)this['_trackedElements']['set'](_0x42bdda,_0x358d54[_0x358d54['length']-0x1]);const _0x160b50=new Set();for(const [_0x40a30f,_0x1aa0f7]of _0x359ea1)_0x43962f['has'](_0x40a30f)&&(_0x160b50['add'](_0x1aa0f7[0x0]),_0x1aa0f7['length']>0x1?_0x359ea1['set'](_0x40a30f,_0x1aa0f7['slice'](0x1)):_0x359ea1['delete'](_0x40a30f),_0x43962f['delete'](_0x40a30f));return{'removed':Array['from'](_0x43962f),'inserted':Array['from'](_0x359ea1['values']())['flat'](),'moved':Array['from'](_0x160b50)};}}class f extends _0xdc1d92{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x40d301){super(_0x40d301),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x41e276=>_0x41e276['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x4992b6=>_0x4992b6['getAttribute']('footnoteId')});}['init'](){const {editor:_0x16305c}=this,{model:_0x53bb63,data:_0x5b5ec9}=_0x16305c;_0x53bb63['document']['registerPostFixer'](_0x34f223=>{const _0x2285c8=_0x53bb63['document']['differ']['getChanges']();let _0x28124e=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x34f223,_0x2285c8)&&(_0x28124e=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x34f223,_0x2285c8)&&(_0x28124e=!0x0),this['_handleFootnoteReferencesChanges'](_0x34f223,_0x2285c8)&&(_0x28124e=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x34f223)&&(_0x28124e=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x34f223)&&(_0x28124e=!0x0),this['_sortFootnoteDefinitions'](_0x34f223)&&(_0x28124e=!0x0),_0x28124e;}),this['listenTo'](_0x53bb63['document'],'change:data',()=>{_0x53bb63['enqueueChange']({'isUndoable':!0x1},_0x3a4555=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x3a4555);});},{'priority':'low'}),this['listenTo'](_0x5b5ec9,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x2a302a){return this['_footnotes']['find'](_0x5e85bf=>_0x5e85bf['id']===_0x2a302a)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x540e0c){this['_footnoteFormatter']=_0x540e0c;}['_updateFootnotesCounters'](_0x36ba89,_0x1ab7d7=0x0){let _0x561ce6=!0x1;for(let _0x372218=_0x1ab7d7;_0x372218<this['_footnotes']['length'];_0x372218++)this['_updateFootnoteRefCounter'](_0x36ba89,_0x372218)&&(_0x561ce6=!0x0);return _0x561ce6;}['_insertEmptyFootnotesDefinitionsContainer'](_0x442c64,_0x5f0605){const _0x6e6441=_0x442c64['createElement']('footnotesDefinitions',{});return _0x442c64['append'](_0x6e6441,_0x5f0605),this['_footnotesDefinitions']=_0x6e6441,_0x6e6441;}['_ensureFootnotesDefinitionsContainerExists'](_0x32ee25){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x10e051=this['_footnotes'][0x0]['reference']['root'],_0x5ab70a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x32ee25,_0x10e051);for(const _0x25a1a7 of this['_footnotes'])_0x25a1a7['definition']['parent']||_0x32ee25['insert'](_0x25a1a7['definition'],_0x5ab70a,'end');this['_updateFootnotesCounters'](_0x32ee25);}['_handleFootnotesDefinitionsObjectChanges'](_0x34aa03,_0x1a22c7){let _0x178d8f=!0x1;const {inserted:_0x4308d3,removed:_0x2781ef,moved:_0x4e80b3}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1a22c7);if(_0x4e80b3['length']&&(this['_footnotesDefinitions']=_0x4e80b3[0x0]),_0x4308d3['length']){if(_0x4308d3['length']>0x1||this['_footnotesDefinitions']&&_0x4308d3['some'](_0x313a6b=>_0x313a6b!==this['_footnotesDefinitions'])){const _0x4d5c31=_0x34aa03['createElement']('footnotesDefinitions',{}),_0x4d5c54=[];this['_footnotesDefinitions']&&_0x4d5c54['push'](this['_footnotesDefinitions']),_0x4d5c54['push'](..._0x4308d3),_0x34aa03['insert'](_0x4d5c31,_0x4d5c54[0x0],'before');for(const _0xad2b90 of _0x4d5c54)_0x34aa03['move'](_0x34aa03['createRangeIn'](_0xad2b90),_0x34aa03['createPositionAt'](_0x4d5c31,'end')),_0x34aa03['remove'](_0xad2b90);this['_footnotesDefinitions']=_0x4d5c31,this['_updateFootnotesCounters'](_0x34aa03),_0x178d8f=!0x0;}else this['_footnotesDefinitions']=_0x4308d3[0x0];}if(_0x2781ef['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x465816 of this['_footnotes'])_0x34aa03['remove'](_0x465816['reference']),_0x178d8f=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x178d8f;}['_handleFootnoteDefinitionsChanges'](_0x4557b4,_0x53d3b8){let _0x54828e=!0x1;const _0x35fd41=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x4043e6,moved:_0x4b1b8b}=this['_footnoteDefsTracker']['getChanges'](_0x53d3b8);for(const _0x5aee67 of[..._0x4b1b8b,..._0x4043e6]){const _0x7dca93=_0x5aee67['getAttribute']('footnoteId'),_0x23293d=this['getFootnote'](_0x7dca93);_0x23293d&&(_0x23293d['definition']=_0x5aee67),_(_0x4557b4,_0x35fd41,_0x5aee67)&&(_0x54828e=!0x0);}return _0x54828e;}['_handleFootnoteReferencesChanges'](_0xcc0040,_0x44ee6c){let _0x4def7b=!0x1;const {removed:_0x58d9c7,inserted:_0x289c4d,moved:_0x3a9a45}=this['_footnoteRefsTracker']['getChanges'](_0x44ee6c);for(const _0x1daada of _0x58d9c7)this['_handleRemoveFootnoteReferenceById'](_0xcc0040,_0x1daada)&&(_0x4def7b=!0x0);for(const _0x2f0914 of _0x289c4d)this['_handleInsertedFootnoteReference'](_0xcc0040,_0x2f0914)&&(_0x4def7b=!0x0);for(const _0x5998c1 of _0x3a9a45)this['_handleMovedFootnoteReference'](_0xcc0040,_0x5998c1)&&(_0x4def7b=!0x0);return _0x4def7b;}['_handleFootnotesDefinitionsObjectSync'](_0x1bafae){if(!this['_footnotesDefinitions'])return!0x1;let _0x46b61c=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x58f234=[];for(const _0x138699 of this['_footnotesDefinitions']['getChildren']()){const _0x921518=_0x138699['getAttribute']('footnoteId');this['getFootnote'](_0x921518)||(_0x58f234['unshift'](_0x138699),_0x46b61c=!0x0);}for(const _0x45dbe3 of _0x58f234)_0x1bafae['remove'](_0x45dbe3);}const _0x469b23=new Set(),_0x43312b=[];for(const _0x4700f7 of this['_footnotesDefinitions']['getChildren']()){const _0x2d6c94=_0x4700f7['getAttribute']('footnoteId');_0x469b23['has'](_0x2d6c94)?(_0x43312b['unshift'](_0x4700f7),_0x46b61c=!0x0):_0x469b23['add'](_0x2d6c94);}for(const _0x101234 of _0x43312b)_0x1bafae['remove'](_0x101234);return this['_footnotesDefinitions']['childCount']||(_0x1bafae['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x46b61c=!0x0),_0x46b61c;}['_handleInsertedFootnoteReference'](_0x5c8cb9,_0x485da3){if(this['_footnotes']['find'](_0x596a3f=>_0x596a3f['reference']===_0x485da3))return!0x1;let _0x41e0bb=!0x1;const _0x185bd3=_0x485da3['getAttribute']('footnoteId'),_0x4adc98=this['_footnotes']['findIndex'](_0x43e9f9=>_0x43e9f9['id']===_0x185bd3);-0x1!==_0x4adc98&&(_0x5c8cb9['remove'](this['_footnotes'][_0x4adc98]['reference']),this['_footnotes']['splice'](_0x4adc98,0x1),_0x41e0bb=!0x0);let _0x41e8ea=this['_footnotesDefinitions']?function(_0x4538ce,_0x1b5545){for(const _0x4114c0 of _0x4538ce['getChildren']())if(_0x4114c0['getAttribute']('footnoteId')===_0x1b5545)return _0x4114c0;return null;}(this['_footnotesDefinitions'],_0x185bd3):null;_0x41e8ea||(_0x41e8ea=_0x5c8cb9['createElement']('footnoteDefinition',{'footnoteId':_0x185bd3}),this['_footnotesDefinitions']&&(_0x5c8cb9['insert'](_0x41e8ea,this['_footnotesDefinitions'],'end'),_0x41e0bb=!0x0));const _0x33d22e={'id':_0x185bd3,'reference':_0x485da3,'definition':_0x41e8ea},_0x3822d2=I(this['editor']['model'],this['_footnotes'],_0x485da3);this['_footnotes']['splice'](_0x3822d2,0x0,_0x33d22e);let _0x3e61cf=_0x3822d2;return-0x1!==_0x4adc98&&(_0x3e61cf=Math['min'](_0x3822d2,_0x4adc98)),this['_updateFootnotesCounters'](_0x5c8cb9,_0x3e61cf)&&(_0x41e0bb=!0x0),_0x41e0bb;}['_handleRemoveFootnoteReferenceById'](_0x5d82b9,_0xac17cb){const _0x392f7f=this['_footnotes']['findIndex'](_0x3efe32=>_0x3efe32['id']===_0xac17cb);if(-0x1===_0x392f7f)return!0x1;let _0x1ed507=!0x1;const _0x1e704c=this['_footnotes'][_0x392f7f];return'$graveyard'!==_0x1e704c['definition']['root']['rootName']&&(_0x5d82b9['remove'](_0x1e704c['definition']),_0x1ed507=!0x0),this['_footnotes']['splice'](_0x392f7f,0x1),this['_updateFootnotesCounters'](_0x5d82b9,_0x392f7f)&&(_0x1ed507=!0x0),_0x1ed507;}['_handleMovedFootnoteReference'](_0x5ef11e,_0x1433ba){const _0x476ecb=_0x1433ba['getAttribute']('footnoteId'),_0x2c500b=this['_footnotes']['findIndex'](_0x4686bb=>_0x4686bb['id']===_0x476ecb),_0x27bc09=this['_footnotes'][_0x2c500b];let _0x334b5c=!0x1;_0x27bc09['reference']=_0x1433ba,this['_footnotes']['splice'](_0x2c500b,0x1);const _0x41ecce=I(this['editor']['model'],this['_footnotes'],_0x1433ba);return this['_footnotes']['splice'](_0x41ecce,0x0,_0x27bc09),this['_updateFootnotesCounters'](_0x5ef11e,Math['min'](_0x2c500b,_0x41ecce))&&(_0x334b5c=!0x0),_0x334b5c;}['_updateFootnoteRefCounter'](_0x28f40b,_0x3386fc){if(!this['_footnotesDefinitions'])return!0x1;const _0x44ca44=this['_footnotes'][_0x3386fc];let _0x15e45b;return _0x15e45b=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x44ca44,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3386fc+0x1}):String(_0x3386fc+0x1),_0x44ca44['reference']['getAttribute']('footnoteCounter')!=_0x15e45b&&(_0x28f40b['setAttribute']('footnoteCounter',_0x15e45b,_0x44ca44['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x29b688){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x4a9fd2,_0x2538b7){if(_0x4a9fd2['length']!==_0x2538b7['length'])return!0x1;for(let _0x487066=0x0;_0x487066<_0x4a9fd2['length'];_0x487066++)if(_0x4a9fd2[_0x487066]!==_0x2538b7[_0x487066])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x12a948=>_0x12a948['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x5e85b6=>_0x5e85b6['getAttribute']('footnoteId'))))return!0x1;let _0xce6d42=!0x1;for(let _0xd7d66f=0x0;_0xd7d66f<this['_footnotes']['length'];_0xd7d66f++){const _0x14c661=this['_footnotes'][_0xd7d66f],_0x417049=_0x29b688['createPositionBefore'](_0x14c661['definition']),_0x5505f3=_0x29b688['createPositionAt'](this['_footnotesDefinitions'],_0xd7d66f);_0x417049['isEqual'](_0x5505f3)||(_0x29b688['move'](_0x29b688['createRangeOn'](_0x14c661['definition']),_0x5505f3),_0xce6d42=!0x0);}return _0xce6d42;}['_ensureFootnotesReferencesHaveProperOrder'](_0x4c9d44){if(!this['_footnotes']['length'])return!0x1;const {model:_0x18831f}=this['editor'];let _0x10e9f3=!0x1;for(let _0x16cf5b=0x0;_0x16cf5b<this['_footnotes']['length']-0x1;_0x16cf5b++){const _0x54b964=this['_footnotes'][_0x16cf5b],_0x2b307d=this['_footnotes'][_0x16cf5b+0x1],_0x11b8a5=_0x18831f['createPositionBefore'](_0x54b964['reference']),_0x5e34c8=_0x18831f['createPositionBefore'](_0x2b307d['reference']);'after'===_0x11b8a5['compareWith'](_0x5e34c8)&&(this['_handleMovedFootnoteReference'](_0x4c9d44,_0x54b964['reference']),_0x16cf5b=-0x1,_0x10e9f3=!0x0);}return _0x10e9f3;}}function _(_0x2e0078,_0xd97fab,_0x346f41){if(_0x346f41['childCount'])return!0x1;const _0x14fc3e=_0xd97fab?'paragraph':'footnoteInlineContent';return _0x2e0078['insert'](_0x2e0078['createElement'](_0x14fc3e),_0x346f41),!0x0;}function I(_0x5c9e45,_0x13b6c0,_0x2ecf78){if(0x0===_0x13b6c0['length'])return 0x0;const _0x4e9619=_0x5c9e45['createPositionBefore'](_0x2ecf78);for(let _0x45fb98=0x0;_0x45fb98<_0x13b6c0['length'];_0x45fb98++){const _0x1d0f30=_0x13b6c0[_0x45fb98],_0x36ab02=_0x5c9e45['createPositionBefore'](_0x1d0f30['reference']);if('before'===_0x4e9619['compareWith'](_0x36ab02))return _0x45fb98;}const _0x42370a=_0x2ecf78['root'];let _0x4df7d2=-0x1;for(let _0x428a0a=_0x13b6c0['length']-0x1;_0x428a0a>=0x0;_0x428a0a--)if(_0x13b6c0[_0x428a0a]['reference']['root']===_0x42370a){_0x4df7d2=_0x428a0a;break;}if(-0x1!==_0x4df7d2)return _0x4df7d2+0x1;const _0x48fc4e=_0x5c9e45['document']['getRootNames'](),_0x1a8d5a=_0x48fc4e['indexOf'](_0x42370a['rootName']),_0x5d0850=_0x48fc4e[_0x1a8d5a+0x1];if(_0x5d0850){for(let _0x54d041=0x0;_0x54d041<_0x13b6c0['length'];_0x54d041++)if(_0x13b6c0[_0x54d041]['reference']['root']['rootName']===_0x5d0850)return _0x54d041;}return _0x13b6c0['length'];}class m extends _0x2922a0{['refresh'](){const _0x727bb5=this['editor']['model']['document']['selection'],_0x2dba92=this['_getPositionToInsertFootnote'](_0x727bb5);this['isEnabled']=!!_0x2dba92;}['execute'](_0x5cffae){const {editor:_0x599317}=this,{model:_0x4b15de}=_0x599317,{selection:_0x56c8a5}=_0x4b15de['document'],_0x311555=this['_getPositionToInsertFootnote'](_0x56c8a5);if(!_0x311555)return;const _0x14be06=_0x599317['plugins']['get']('FootnotesEditing'),_0x299ef4=_0x5cffae?.['footnoteId']??_0x1d1e30();!function(_0x23ab2a){return'string'==typeof _0x23ab2a&&_0x23ab2a['length']>0x0&&!/\s/['test'](_0x23ab2a)&&!/^\d/['test'](_0x23ab2a);}(_0x299ef4)?_0x4e11b0('insert-footnote-command-executed-with-invalid-id'):(_0x4b15de['change'](_0x5fb253=>{const _0x502287=_0x5fb253['createElement']('footnoteRef',{'footnoteId':_0x299ef4});_0x4b15de['insertObject'](_0x502287,_0x311555,null);}),_0x14be06['_moveSelectionToFootnoteDefinition'](_0x299ef4));}['_getPositionToInsertFootnote'](_0x181ea){const {model:_0x2d7fd7}=this['editor'],{schema:_0xe47f83}=_0x2d7fd7,_0x48d763=_0x181ea['getFirstRange']();for(const _0x4410d8 of _0x48d763['getItems']())if(_0xe47f83['isBlock'](_0x4410d8)||_0xe47f83['isObject'](_0x4410d8))return null;const _0x3354fd=_0x48d763['end'];return _0xe47f83['checkChild'](_0x3354fd,'footnoteRef')?_0x3354fd:null;}}class r extends _0xdc1d92{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5adb2b}=this;_0x5adb2b['config']['define']('footnotes.multiBlock',!0x0),_0x5adb2b['commands']['add']('insertFootnote',new m(_0x5adb2b)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5920bc){const _0x1611a2=_0x31be3b([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]),_0x5365d1=0x47a28506,_0x55e586=0x47a5fe26^_0x5365d1,_0x13113f=window[_0x31be3b([0x44,0x61,0x74,0x65])][_0x31be3b([0x6e,0x6f,0x77])](),_0x386034=_0x5920bc[_0x31be3b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x34e6f8=new window[(_0x31be3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x421de3=>{_0x386034[_0x31be3b([0x6f,0x6e,0x63,0x65])](_0x31be3b([0x72,0x65,0x61,0x64,0x79]),_0x421de3);}),_0x294823={[_0x31be3b([0x6b,0x74,0x79])]:_0x31be3b([0x45,0x43]),[_0x31be3b([0x75,0x73,0x65])]:_0x31be3b([0x73,0x69,0x67]),[_0x31be3b([0x63,0x72,0x76])]:_0x31be3b([0x50,0x2d,0x32,0x35,0x36]),[_0x31be3b([0x78])]:_0x31be3b([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]),[_0x31be3b([0x79])]:_0x31be3b([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]),[_0x31be3b([0x61,0x6c,0x67])]:_0x31be3b([0x45,0x53,0x32,0x35,0x36])},_0x49fd4f=_0x386034[_0x31be3b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x31be3b([0x67,0x65,0x74])](_0x31be3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2b46f5(){let _0x3b9028,_0x233800=null,_0x212145=null;try{if(_0x49fd4f==_0x31be3b([0x47,0x50,0x4c]))return _0x31be3b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b9028=_0x2b9a98(),!_0x3b9028)return _0x31be3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b9028[_0x31be3b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x212145=_0x5116b8(_0x3b9028[_0x31be3b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b9028[_0x31be3b([0x6a,0x74,0x69])])),await _0x15c459()?_0x5c3920()?_0x5c45e2()?_0x31be3b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xca13aa()?(_0x3b9028[_0x31be3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31be3b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x233800=_0x43903b(_0x31be3b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3b9028[_0x31be3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31be3b([0x74,0x72,0x69,0x61,0x6c])&&(_0x233800=_0x43903b(_0x31be3b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2245e6()):_0x31be3b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x31be3b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x31be3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x31be3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5c45e2(){const _0x3cfa05=[_0x31be3b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x31be3b([0x74,0x72,0x69,0x61,0x6c])][_0x31be3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b9028[_0x31be3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x13113f/0x3e8:0xe10*_0x55e586;return _0x3b9028[_0x31be3b([0x65,0x78,0x70])]<_0x3cfa05;}function _0x5c3920(){const _0x3a16ec=_0x3b9028[_0x31be3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a16ec&&(!!_0x3a16ec[_0x31be3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31be3b([0x2a]))||!!_0x3a16ec[_0x31be3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31be3b([0x46,0x4f,0x4f])));}function _0xca13aa(){const _0x4cd396=_0x3b9028[_0x31be3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4cd396||0x0==_0x4cd396[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x83ec9c}=new URL(window[_0x31be3b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4cd396[_0x31be3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x83ec9c))return!0x0;const _0x48ddfe=_0x83ec9c[_0x31be3b([0x73,0x70,0x6c,0x69,0x74])](_0x31be3b([0x2e]));return _0x4cd396[_0x31be3b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36792b=>_0x36792b[_0x31be3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31be3b([0x2a])))[_0x31be3b([0x6d,0x61,0x70])](_0x120aa6=>_0x120aa6[_0x31be3b([0x73,0x70,0x6c,0x69,0x74])](_0x31be3b([0x2e])))[_0x31be3b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b43a4=>_0x3b43a4[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x48ddfe[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31be3b([0x6d,0x61,0x70])](_0x2fe2e5=>Array(_0x48ddfe[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2fe2e5[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x31be3b([0x66,0x69,0x6c,0x6c])](_0x2fe2e5[0x0]===_0x31be3b([0x2a])?_0x31be3b([0x2a]):'')[_0x31be3b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2fe2e5))[_0x31be3b([0x73,0x6f,0x6d,0x65])](_0x1af1ea=>_0x48ddfe[_0x31be3b([0x65,0x76,0x65,0x72,0x79])]((_0x2f3c6f,_0x2d1197)=>_0x1af1ea[_0x2d1197]===_0x2f3c6f||_0x1af1ea[_0x2d1197]===_0x31be3b([0x2a])));}function _0x2245e6(){return _0x233800&&_0x212145?new window[(_0x31be3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1caa46,_0x42ed46)=>{_0x233800[_0x31be3b([0x74,0x68,0x65,0x6e])](_0x1caa46,_0x42ed46),_0x212145[_0x31be3b([0x74,0x68,0x65,0x6e])](_0x4185f9=>{_0x4185f9!=_0x31be3b([0x56,0x61,0x6c,0x69,0x64])&&_0x1caa46(_0x4185f9);},_0x42ed46);}):_0x233800||_0x212145||_0x31be3b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5116b8(_0x39e796,_0x19be1e){return new window[(_0x31be3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x207e7e=>{if(_0x47bf50())return _0x207e7e(_0x31be3b([0x56,0x61,0x6c,0x69,0x64]));_0x3c37f3(),_0x386034[_0x31be3b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x31be3b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4243b5=!0x1;const _0x1359ad=_0x1d1e30();function _0x1c73c9(_0x43ad71){return!!_0x43ad71&&(typeof _0x43ad71===_0x31be3b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x43ad71===_0x31be3b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x43ad71[_0x31be3b([0x74,0x68,0x65,0x6e])]===_0x31be3b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x43ad71[_0x31be3b([0x63,0x61,0x74,0x63,0x68])]===_0x31be3b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x11022f(_0x300c1b){_0x225781(_0x300c1b)[_0x31be3b([0x74,0x68,0x65,0x6e])](_0x1990a7=>{if(!_0x1990a7||_0x1990a7[_0x31be3b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x31be3b([0x6f,0x6b]))return _0x31be3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xc42443(_0x51950d(_0x1359ad+_0x19be1e))!=_0x1990a7[_0x31be3b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x31be3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x31be3b([0x56,0x61,0x6c,0x69,0x64]);})[_0x31be3b([0x74,0x68,0x65,0x6e])](_0x39422f=>(_0x2a17b7(),_0x39422f),()=>{const _0x24b01f=_0x41c59a();return null==_0x24b01f?(_0x2a17b7(),_0x31be3b([0x56,0x61,0x6c,0x69,0x64])):_0x31be3b(_0x13113f-_0x24b01f>(0x63ae0106^_0x5365d1)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x31be3b([0x74,0x68,0x65,0x6e])](_0x207e7e)[_0x31be3b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x207e7e(_0x31be3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x109b1b=0x47946b86^_0x5365d1;function _0x2a17b7(){const _0x17dcf6=_0x31be3b([0x6c,0x6c,0x63,0x74,0x2d])+_0xc42443(_0x51950d(_0x39e796)),_0xc7286c=_0x590da0(_0xc42443(window[_0x31be3b([0x4d,0x61,0x74,0x68])][_0x31be3b([0x63,0x65,0x69,0x6c])](_0x13113f/_0x109b1b)));window[_0x31be3b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31be3b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17dcf6,_0xc7286c);}function _0x41c59a(){const _0x3922b7=_0x31be3b([0x6c,0x6c,0x63,0x74,0x2d])+_0xc42443(_0x51950d(_0x39e796)),_0x17f030=window[_0x31be3b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31be3b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3922b7);return _0x17f030?window[_0x31be3b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x590da0(_0x17f030),0x10)*_0x109b1b:null;}function _0x225781(_0x534c29){return new window[(_0x31be3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e4802,_0xf5048a)=>{_0x534c29[_0x31be3b([0x74,0x68,0x65,0x6e])](_0x2e4802,_0xf5048a),window[_0x31be3b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xf5048a,0x47a351c6^_0x5365d1);});}}_0x386034[_0x31be3b([0x6f,0x6e])](_0x31be3b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x303160,_0x3c3799)=>{if(_0x3c3799[0x0]!=_0x39e796)return _0x207e7e(_0x31be3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3c3799[0x1]={..._0x3c3799[0x1],[_0x31be3b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1359ad};},{[_0x31be3b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31be3b([0x68,0x69,0x67,0x68])}),_0x386034[_0x31be3b([0x6f,0x6e])](_0x31be3b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xfaf361=>{_0x1c73c9(_0xfaf361[_0x31be3b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4243b5=!0x0,_0x11022f(_0xfaf361[_0x31be3b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x31be3b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31be3b([0x6c,0x6f,0x77])}),_0x34e6f8[_0x31be3b([0x74,0x68,0x65,0x6e])](()=>{_0x4243b5||_0x207e7e(_0x31be3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47bf50(){return _0x386034[_0x31be3b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31be3b([0x76,0x69,0x65,0x77])][_0x31be3b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x31be3b([0x61,0x75,0x74,0x6f]);}function _0x3c37f3(){_0x386034[_0x31be3b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31be3b([0x76,0x69,0x65,0x77])][_0x31be3b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x31be3b([0x61,0x75,0x74,0x6f]);}}function _0x43903b(_0x591ae4){const _0x5ceb66=[new window[(_0x31be3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ddaff=>setTimeout(_0x5ddaff,0x47abbbca^_0x5365d1)),_0x34e6f8[_0x31be3b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x31be3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52cdc2=>{let _0x1cb046=0x0;_0x386034[_0x31be3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x31be3b([0x6f,0x6e])](_0x31be3b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x31c78f,_0x5dfc74)=>{_0x5dfc74[0x0][_0x31be3b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1cb046++,_0x1cb046==(0x47a284fe^_0x5365d1)&&(_0x52cdc2(),_0x31c78f[_0x31be3b([0x6f,0x66,0x66])]());});}))];return window[_0x31be3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x31be3b([0x72,0x61,0x63,0x65])](_0x5ceb66)[_0x31be3b([0x74,0x68,0x65,0x6e])](()=>_0x591ae4);}async function _0x5be578(){await _0x34e6f8,_0x386034[_0x31be3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x31be3b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x483afd,_0x386034[_0x31be3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x31be3b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x483afd,_0x386034[_0x31be3b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x31be3b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c38e8(_0x80c4e8){const _0x16273b=_0x248e36();_0x386034[_0x16273b]=_0x31be3b([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x80c4e8,_0x80c4e8!=_0x31be3b([0x56,0x61,0x6c,0x69,0x64])&&_0x5be578();}function _0x248e36(){const _0x19cfc7=window[_0x31be3b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x31be3b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x31be3b([0x6e,0x6f,0x77])]())[_0x31be3b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x31be3b([0x2e]),'');let _0x30cf47=_0x31be3b([0x75]);for(let _0x485d3f=0x0;_0x485d3f<_0x19cfc7[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x485d3f+=0x2){let _0x42a0a3=window[_0x31be3b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19cfc7[_0x31be3b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x485d3f,_0x485d3f+0x2));_0x42a0a3>=_0x1611a2[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x42a0a3-=_0x1611a2[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x30cf47+=_0x1611a2[_0x42a0a3];}return _0x30cf47;}function _0x2b9a98(){const _0x54ebb9=_0x49fd4f[_0x31be3b([0x73,0x70,0x6c,0x69,0x74])](_0x31be3b([0x2e]));if(0x3!=_0x54ebb9[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x459ba2(_0x54ebb9[0x1]);function _0x459ba2(_0x58c75b){const _0x998557=_0x2887a5(_0x58c75b);return _0x998557&&_0x5bee3a()?_0x998557:null;function _0x5bee3a(){const _0x6e9d49=_0x998557[_0x31be3b([0x6a,0x74,0x69])],_0x20c7e2=window[_0x31be3b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6e9d49[_0x31be3b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6e9d49[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d7e98={..._0x998557,[_0x31be3b([0x6a,0x74,0x69])]:_0x6e9d49[_0x31be3b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x6e9d49[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d7e98[_0x31be3b([0x76,0x63])],_0x51950d(_0x3d7e98)==_0x20c7e2;}}}async function _0x15c459(){let _0x5391eb=!0x0;try{const _0x4423ee=_0x49fd4f[_0x31be3b([0x73,0x70,0x6c,0x69,0x74])](_0x31be3b([0x2e])),[_0x5c5847,_0x4b2d6d,_0x5e73af]=_0x4423ee;return _0x2e263b(_0x5c5847),await _0x2b8321(_0x5c5847,_0x4b2d6d,_0x5e73af),_0x5391eb;}catch{return!0x1;}function _0x2e263b(_0x41bca7){const _0x2aacd7=_0x2887a5(_0x41bca7);_0x2aacd7&&_0x2aacd7[_0x31be3b([0x61,0x6c,0x67])]==_0x31be3b([0x45,0x53,0x32,0x35,0x36])||(_0x5391eb=!0x1);}async function _0x2b8321(_0x46b529,_0x17a03c,_0x33ba68){const _0x3843c2=window[_0x31be3b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x31be3b([0x66,0x72,0x6f,0x6d])](_0x2a4a18(_0x33ba68),_0x1bb579=>_0x1bb579[_0x31be3b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc2fe25=new window[(_0x31be3b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x31be3b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46b529+_0x31be3b([0x2e])+_0x17a03c),_0xc4b3c4=window[_0x31be3b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x31be3b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc4b3c4)return;const _0x77d1cf=await _0xc4b3c4[_0x31be3b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x31be3b([0x6a,0x77,0x6b]),_0x294823,{[_0x31be3b([0x6e,0x61,0x6d,0x65])]:_0x31be3b([0x45,0x43,0x44,0x53,0x41]),[_0x31be3b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x31be3b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x31be3b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc4b3c4[_0x31be3b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x31be3b([0x6e,0x61,0x6d,0x65])]:_0x31be3b([0x45,0x43,0x44,0x53,0x41]),[_0x31be3b([0x68,0x61,0x73,0x68])]:{[_0x31be3b([0x6e,0x61,0x6d,0x65])]:_0x31be3b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x77d1cf,_0x3843c2,_0xc2fe25)||(_0x5391eb=!0x1);}}function _0x2887a5(_0x283e21){return _0x283e21[_0x31be3b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x31be3b([0x65,0x79]))?JSON[_0x31be3b([0x70,0x61,0x72,0x73,0x65])](_0x2a4a18(_0x283e21)):null;}function _0x2a4a18(_0x1ed0b3){return window[_0x31be3b([0x61,0x74,0x6f,0x62])](_0x1ed0b3[_0x31be3b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x31be3b([0x2b]))[_0x31be3b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x31be3b([0x2f])));}function _0x51950d(_0x337a76){let _0x4cdc66=0x1505;function _0x1a6eb1(_0xdc62d6){for(let _0x3c1cf4=0x0;_0x3c1cf4<_0xdc62d6[_0x31be3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c1cf4++){const _0x2e8611=_0xdc62d6[_0x31be3b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3c1cf4);_0x4cdc66=(_0x4cdc66<<0x5)+_0x4cdc66+_0x2e8611,_0x4cdc66&=_0x4cdc66;}}function _0x20e15d(_0x2a5095){Array[_0x31be3b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2a5095)?_0x2a5095[_0x31be3b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20e15d):_0x2a5095&&typeof _0x2a5095==_0x31be3b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x31be3b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2a5095)[_0x31be3b([0x73,0x6f,0x72,0x74])]()[_0x31be3b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44092c,_0x12ed7a])=>{_0x1a6eb1(_0x44092c),_0x20e15d(_0x12ed7a);}):_0x1a6eb1(window[_0x31be3b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2a5095));}return _0x20e15d(_0x337a76),_0x4cdc66>>>0x0;}function _0xc42443(_0xc9b301){return _0xc9b301[_0x31be3b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x31be3b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x31be3b([0x30]));}function _0x590da0(_0x6d2069){return _0x6d2069[_0x31be3b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x31be3b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x31be3b([0x6a,0x6f,0x69,0x6e])]('');}function _0x483afd(){}function _0x31be3b(_0x38c333){return _0x38c333['map'](_0x43cb90=>String['fromCharCode'](_0x43cb90))['join']('');}_0x3c38e8(await _0x2b46f5());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4b3996){const {plugins:_0x372e74,editing:_0x42ab62,model:_0x5ef484}=this['editor'],_0x2a54d6=_0x372e74['get'](f)['getFootnote'](_0x4b3996);return!!_0x2a54d6&&(_0x5ef484['change'](_0x2d61a8=>{_0x2d61a8['setSelection'](_0x2d61a8['createPositionAt'](_0x2a54d6['definition'],'end'));}),_0x42ab62['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x426ad6){const {plugins:_0x3986be,editing:_0x22154d,model:_0x194013}=this['editor'],_0x2c05e6=_0x3986be['get'](f)['getFootnote'](_0x426ad6);return!!_0x2c05e6&&(_0x194013['change'](_0x5c54ce=>{_0x5c54ce['setSelection'](_0x2c05e6['reference'],'on');}),_0x22154d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2a77ac}=this['editor']['model'],_0x3cbe94=this['editor']['config']['get']('footnotes.multiBlock');_0x2a77ac['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2a77ac['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2a77ac['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3cbe94?_0x2a77ac['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2a77ac['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2a77ac['addChildCheck'](_0x90abea=>{for(const _0x19e0cf of _0x90abea)if('footnoteDefinition'===_0x19e0cf['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x57fa77}=this,{conversion:_0x544f92,editing:_0xdccb29}=_0x57fa77,{t:t}=_0x57fa77['locale'];_0x544f92['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3637df,{writer:_0x3d3c3a,consumable:_0x2c2cb3})=>{const _0x3d9f93=_0x3637df['getChild'](0x0);if(!_0x3d9f93||!_0x3d9f93['is']('element','a'))return null;const _0x26444f=_0x3d9f93['getAttribute']('href')||'';if(!_0x26444f['startsWith']('#'))return null;const _0x5ab531=_0x26444f['replace'](/^#/,'');if(!_0x5ab531)return null;_0x2c2cb3['consume'](_0x3d9f93,{'name':!0x0,'attributes':['href']});for(const {item:_0x14e791}of _0xdccb29['view']['createRangeIn'](_0x3d9f93))_0x14e791['is']('$textProxy')?_0x2c2cb3['consume'](_0x14e791['textNode'],{'name':!0x0}):_0x14e791['is']('element')&&_0x2c2cb3['consume'](_0x14e791,{'name':!0x0});return _0x3d3c3a['createElement']('footnoteRef',{'footnoteId':_0x5ab531});}}),_0x544f92['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x153b6c,{writer:_0x14f424})=>D(_0x153b6c,_0x14f424)}),_0x544f92['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1f1749,{writer:_0x55b043})=>{const _0xae079=_0x1f1749['getAttribute']('footnoteCounter');return _0x456aae(D(_0x1f1749,_0x55b043),_0x55b043,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xae079)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1cf032}=this,{t:t}=_0x1cf032['locale'],{conversion:_0x417a6d}=_0x1cf032;_0x417a6d['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x417a6d['for']('upcast')['add'](_0x1cf97b=>{_0x1cf97b['on']('element:ol',(_0x1d1919,_0x4dd442,_0x4daefa)=>{const _0x20bbce=_0x4dd442['viewItem'];if(!_0x20bbce['hasClass']('footnotes-list')||!_0x4dd442['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4daefa['consumable']['consume'](_0x20bbce,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x18a6f4,modelCursor:_0x1e9874}=_0x4daefa['convertChildren'](_0x4dd442['viewItem'],_0x4dd442['modelCursor']);_0x4dd442['modelRange']=_0x18a6f4,_0x4dd442['modelCursor']=_0x1e9874;}),_0x1cf97b['on']('element:hr',(_0x35910c,_0x40083e,_0x1b0829)=>{const _0x145150=_0x40083e['viewItem'];_0x145150['hasClass']('footnotes-divider')&&_0x40083e['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1b0829['consumable']['consume'](_0x145150,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x417a6d['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x564f8e,{writer:_0x1e530a})=>v(_0x1e530a)}),_0x417a6d['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4d21e2,{writer:_0x5559e1})=>{const _0x1a7aef=v(_0x5559e1,{'data-footnotes-list-label':t('Footnotes')}),_0x164eb4=_0x456aae(_0x1a7aef,_0x5559e1,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5559e1['setCustomProperty']('footnotesDefinitions',!0x0,_0x164eb4),_0x164eb4;}});}['_defineDefinitionConverters'](){const {editor:_0x22ef62}=this,{conversion:_0x10c6e3,locale:_0x3f4dde}=_0x22ef62,_0x4b6caf=_0x22ef62['config']['get']('footnotes.multiBlock');_0x10c6e3['for']('upcast')['add'](_0x1527e5=>{_0x1527e5['on']('element:li',(_0x24ea8b,_0x28ee89,_0x3e5009)=>{const _0xa84526=_0x28ee89['viewItem'];if(!_0xa84526['hasClass']('footnote-definition')||!_0xa84526['getAttribute']('id'))return;const _0x58dd29=_0xa84526['parent'];if(!_0x58dd29['is']('element','ol')||!_0x58dd29['hasClass']('footnotes-list'))return;if(!_0x3e5009['consumable']['test'](_0xa84526,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x40facf=_0x3e5009['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xa84526['getAttribute']('id')});if(!_0x3e5009['safeInsert'](_0x40facf,_0x28ee89['modelCursor']))return;_0x3e5009['consumable']['consume'](_0xa84526,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x383300=Array['from'](_0xa84526['getChildren']())['find'](_0x2f60f8=>_0x2f60f8['is']('element')&&_0x2f60f8['hasClass']('footnote-content'));for(const _0x4266d8 of _0xa84526['getChildren']())_0x4266d8['is']('element')&&(_0x3e5009['consumable']['consume'](_0x4266d8,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3e5009['consumable']['consume'](_0x4266d8,{'name':!0x0,'classes':'footnote-content'}));if(_0x383300){if(_0x4b6caf)_0x3e5009['convertChildren'](_0x383300,_0x40facf);else{const _0x3becbc=_0x3e5009['writer']['createElement']('footnoteInlineContent');_0x3e5009['writer']['insert'](_0x3becbc,_0x40facf),_0x3e5009['convertChildren'](_0x383300,_0x3becbc);}}_0x3e5009['updateConversionResult'](_0x40facf,_0x28ee89);});}),_0x10c6e3['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2d11f3,{writer:_0x227936})=>b(_0x2d11f3,_0x227936,_0x3f4dde,{'dataPipeline':!0x0})}),_0x10c6e3['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x115f27,{writer:_0x46b1f1})=>b(_0x115f27,_0x46b1f1,_0x3f4dde)});}['_defineBogusParagraphConverters'](){const {editor:_0x4ae099}=this,{conversion:_0x17ca60}=_0x4ae099;_0x4ae099['config']['get']('footnotes.multiBlock')?(_0x17ca60['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x17ca60['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4ae099['model']['document'],'change:data',()=>{!function(_0x13f5c6,_0x29cf55){const _0x6484c3=_0x13f5c6['document']['differ'],_0x57642a=new Set();for(const _0x2d35c3 of _0x6484c3['getChanges']()){const _0x376075='attribute'==_0x2d35c3['type']?_0x2d35c3['range']['start']['parent']:_0x2d35c3['position']['parent'];_0x376075['is']('element','footnoteDefinition')&&_0x57642a['add'](_0x376075);}for(const _0x2b7b8b of _0x57642a['values']()){const _0xa3a5de=Array['from'](_0x2b7b8b['getChildren']())['filter'](_0x2f0aef=>g(_0x2f0aef,_0x29cf55['mapper']));for(const _0x33a79d of _0xa3a5de)_0x29cf55['reconvertItem'](_0x33a79d);}}(_0x4ae099['model'],_0x4ae099['editing']);})):(_0x17ca60['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x17ca60['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3a3dc2,{writer:_0x1cb546})=>{const _0x412adb=_0x1cb546['createContainerElement']('span');return _0x1cb546['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x412adb),_0x412adb;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3e8843}=this,{editing:_0x1686b4,t:t}=_0x3e8843,_0x5f2f33=_0x3e8843['model']['document']['selection'];_0x3e8843['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3e8843['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1686b4['view']['document'],'enter',(_0x2cbbbc,_0x2f7f50)=>{const _0x1b3f8b=function(_0x10d1b4){const _0x320a38=_0x10d1b4['getSelectedElement']();if(_0x320a38?.['is']('element','footnoteRef'))return _0x320a38;return null;}(_0x5f2f33);if(_0x1b3f8b){const _0x7bd2fc=_0x1b3f8b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x7bd2fc),_0x2f7f50['preventDefault'](),_0x2cbbbc['stop']();}},{'context':_0x492a9c});}['_defineClickHandlers'](){const {editor:_0x3427b3}=this,{editing:_0x11659b}=_0x3427b3;_0x3427b3['editing']['view']['addObserver'](_0x2f5e72),_0x3427b3['editing']['view']['addObserver'](_0x297110);let _0x42707a=!0x1;this['listenTo'](_0x11659b['view']['document'],'pointerdown',(_0x51c40d,_0x5bc024)=>{const {target:_0x1600d4}=_0x5bc024,_0x30c862=_0x11659b['view']['document']['selection'];_0x42707a=!!(_0x1600d4?.['is']('element','a')&&_0x1600d4['parent']?.['is']('element','sup')&&_0x1600d4['parent']['hasClass']('footnote'))&&_0x30c862['getSelectedElement']()===_0x1600d4['parent'];},{'priority':'high'}),this['listenTo'](_0x11659b['view']['document'],'click',(_0x173103,_0x1715f2)=>{const {target:_0x432934}=_0x1715f2;if(!_0x432934?.['is']('element','a'))return;if(_0x432934['parent']?.['is']('element','sup')&&_0x432934['parent']['hasClass']('footnote')&&!_0x42707a)return void _0x1715f2['preventDefault']();let _0x799b3a=_0x432934['getAttribute']('href');if(!_0x799b3a?.['startsWith']('#'))return;_0x799b3a=_0x799b3a['slice'](0x1);let _0x30522f=!0x1;(_0x799b3a['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x799b3a['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x799b3a))&&(_0x30522f=!0x0),_0x30522f&&(_0x1715f2['preventDefault'](),_0x173103['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x48099d}={}){return(_0x2778b5,{writer:_0x237e52})=>{if(!p(_0x2778b5))return null;if(!_0x48099d)return _0x237e52['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x205fcd=_0x237e52['createContainerElement']('p');return _0x237e52['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x205fcd),_0x205fcd;};}function p(_0x5f2149){const {parent:_0x76fef7}=_0x5f2149;if(!_0x76fef7?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x76fef7['childCount'])return!0x1;for(const _0xf0c7ea of _0x5f2149['getAttributeKeys']())if(!_0xf0c7ea['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xf0c7ea)return!0x1;return!0x0;}function g(_0x401284,_0x44ba73){if(!_0x401284['is']('element','paragraph'))return!0x1;const _0xc89ab0=_0x44ba73['toViewElement'](_0x401284);return!!_0xc89ab0&&p(_0x401284)!==_0xc89ab0['is']('element','span');}function J(_0x55577c){return _0x492a9c(_0x55577c)&&_0x55577c['is']('containerElement')&&!!_0x55577c['getCustomProperty']('footnotesDefinitions');}function v(_0x1f23fc,_0x1c9636={}){const _0x181f0b=_0x1f23fc['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x11d594=_0x1f23fc['createContainerElement']('ol',{'class':'footnotes-list'},_0x1f23fc['createSlot']());return _0x1f23fc['createContainerElement']('div',{'class':'footnotes',..._0x1c9636},[_0x181f0b,_0x11d594]);}function D(_0xcf323e,_0x122c23){const _0xfa3cf2=_0xcf323e['getAttribute']('footnoteId'),_0x3b3b67=_0xcf323e['getAttribute']('footnoteCounter'),_0x1e5bf5=_0x122c23['createUIElement']('a',{'href':'#'+_0xfa3cf2},function(_0x2b3817){const _0x4eda6=this['toDomElement'](_0x2b3817);return _0x4eda6['textContent']=_0x3b3b67,_0x4eda6;}),_0x18bd74=_0x122c23['createContainerElement']('sup',{'id':'ref-'+_0xfa3cf2,'class':'footnote'},[_0x1e5bf5]);return _0x18bd74['getFillerOffset']=()=>null,_0x18bd74;}function b(_0x3fa37f,_0x5c6c39,_0x43f4a6,{dataPipeline:_0x4323b3}={}){const {t:t}=_0x43f4a6,_0x1bfa86=_0x3fa37f['getAttribute']('footnoteId'),_0x30a18f=_0x5c6c39['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1bfa86},function(_0x2b35b5){const _0x12c77a=this['toDomElement'](_0x2b35b5);return _0x12c77a['innerText']='^',_0x12c77a;}),_0x4e435e=_0x4323b3?_0x5c6c39['createContainerElement']('div',{'class':'footnote-content'}):_0x232f1e(_0x5c6c39['createEditableElement']('div',{'class':'footnote-content'}),_0x5c6c39,{'label':t('Footnote\x20content.')});return _0x5c6c39['insert'](_0x5c6c39['createPositionAt'](_0x4e435e,0x0),_0x5c6c39['createSlot']()),_0x5c6c39['createContainerElement']('li',{'class':'footnote-definition','id':_0x1bfa86},[_0x30a18f,_0x4e435e]);}class e extends _0xdc1d92{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x3ca5ad];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x54762a}=this,{plugins:_0x7480a6,model:_0x40c581}=_0x54762a,_0x457109=_0x7480a6['get'](_0x3ca5ad),_0x5af9c3=_0x7480a6['get'](f);this['listenTo'](_0x457109,'outputTransformation',(_0x3cd8d0,_0x318967)=>{const _0x4ac139=c(_0x40c581['createRangeIn'](_0x318967['content']));if(!_0x4ac139['length'])return;const _0xbdac2b=_0x5af9c3['getFootnotes'](),_0x24072d=_0x4ac139['reduce']((_0x4d23a7,_0x5b1aba)=>{const _0x90c787=_0xbdac2b['find'](_0x13b00f=>_0x13b00f['id']===_0x5b1aba);if(_0x90c787){const _0x131d97=_0x54762a['data']['toView'](_0x90c787['definition'],{'isClipboardPipeline':!0x0}),_0x46711c=_0x54762a['data']['htmlProcessor']['toData'](_0x131d97);_0x4d23a7[_0x90c787['id']]=_0x46711c;}return _0x4d23a7;},Object['create'](null));_0x318967['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x24072d));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x4a5c73}=this,{model:_0x1158ea,plugins:_0x2f2ae4}=_0x4a5c73,{view:_0x3edc6e}=_0x4a5c73['editing'],_0x39dd41=_0x2f2ae4['get'](_0x3ca5ad),_0x1d533a=_0x2f2ae4['get'](f),_0x365895=_0x4a5c73['config']['get']('footnotes.multiBlock');let _0x19c196=null;this['listenTo'](_0x3edc6e['document'],'clipboardInput',(_0x1a8c65,_0x1fd0bb)=>{const _0xe05d59=_0x1fd0bb['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x19c196=_0xe05d59?JSON['parse'](_0xe05d59):null;}),this['listenTo'](_0x39dd41,'contentInsertion',(_0x2fde47,_0x120445)=>{const _0x1ebe7b=_0x120445['sourceEditorId']===this['editor']['id'];_0x1ebe7b&&'drop'===_0x120445['method']||_0x1158ea['change'](_0x215d87=>{let _0x1cf415=_0x1d533a['getFootnotesDefinitionsObjectElement']();const _0x1ab552=!!_0x1cf415&&Array['from'](_0x1158ea['document']['selection']['getSelectedBlocks']())['includes'](_0x1cf415);if((_0x1cf415&&!_0x1ab552||!_0x1cf415&&!_0x19c196)&&function(_0xb4a8f2,_0x9e989f){const _0x54771c=[];for(const {item:_0x5e7d94}of _0xb4a8f2['createRangeIn'](_0x9e989f))_0x5e7d94['is']('element','footnotesDefinitions')&&_0x54771c['push'](_0x5e7d94);for(const _0x3c09fd of _0x54771c)_0xb4a8f2['remove'](_0x3c09fd);}(_0x215d87,_0x120445['content']),!_0x19c196)return;const {selection:_0x4530dc}=_0x1158ea['document'],_0x2ab2a4=_0x4530dc['getFirstRange']()['root'];_0x1cf415&&!_0x1ab552||(_0x1cf415=function(_0x15b93c,_0x2eab1b){for(const {item:_0x4c3a37}of _0x15b93c['createRangeIn'](_0x2eab1b))if(_0x4c3a37['is']('element','footnotesDefinitions'))return _0x4c3a37;return null;}(_0x215d87,_0x120445['content']),_0x1cf415||=_0x1d533a['_insertEmptyFootnotesDefinitionsContainer'](_0x215d87,_0x2ab2a4));const _0xad6ab=Array['from'](_0x4530dc['getRanges']())['flatMap'](c),_0x4a858c=function(_0x1dfce7,_0x1a6fbe,_0x1873a1){const _0x3fda5a=Object['create'](null);for(const {item:_0x17965e}of _0x1dfce7['createRangeIn'](_0x1a6fbe))if(_0x17965e['is']('element','footnoteRef')){const _0x5c0cd2=_0x17965e['getAttribute']('footnoteId');if(!_0x1873a1(_0x5c0cd2))continue;_0x3fda5a[_0x5c0cd2]||(_0x3fda5a[_0x5c0cd2]=_0x1d1e30()),_0x1dfce7['setAttribute']('footnoteId',_0x3fda5a[_0x5c0cd2],_0x17965e);}return _0x3fda5a;}(_0x215d87,_0x120445['content'],_0x52ee03=>{if(!_0x1ebe7b)return!0x0;return!!_0x1d533a['getFootnote'](_0x52ee03)&&!_0xad6ab['includes'](_0x52ee03);});for(const [_0x3586f2,_0xf25135]of Object['entries'](_0x19c196)){const _0x24c28d=_0x4a858c[_0x3586f2]||_0x3586f2,_0x5c1c4f=_0x215d87['createElement']('footnoteDefinition',{'footnoteId':_0x24c28d}),_0x448d2e=_0x4a5c73['data']['htmlProcessor']['toView'](_0xf25135);let _0x50a989;if(_0x365895)_0x50a989=_0x4a5c73['data']['toModel'](_0x448d2e,_0x5c1c4f);else{_0x50a989=_0x215d87['createElement']('footnoteInlineContent');const _0x1354d7=_0x4a5c73['data']['toModel'](_0x448d2e,_0x50a989);_0x215d87['insert'](_0x1354d7,_0x50a989);}_0x215d87['append'](_0x50a989,_0x5c1c4f),_0x215d87['insert'](_0x5c1c4f,_0x1cf415,'end');}_0x19c196=null;});});}}function c(_0x18677b){const _0x859c8b=new Set();for(const {item:_0x2a58b2}of _0x18677b)_0x2a58b2['is']('element','footnoteRef')&&_0x859c8b['add'](_0x2a58b2['getAttribute']('footnoteId'));return Array['from'](_0x859c8b);}class i extends _0xdc1d92{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4e645a}=this,{componentFactory:_0x169960}=_0x4e645a['ui'];_0x169960['add']('insertFootnote',x(_0x4e645a,_0x3c7b9c)),_0x169960['add']('menuBar:insertFootnote',x(_0x4e645a,_0x4c975f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3cbd04=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x56703f;for(const _0x163d36 in _0x3cbd04){const _0x51f6dc=_0x163d36,_0x1705ff=_0x3cbd04[_0x51f6dc];if('footnotesLicenseKeyValid'==_0x1705ff||'footnotesLicenseKeyInvalid'==_0x1705ff||'footnotesLicenseKeyExpired'==_0x1705ff||'footnotesLicenseKeyDomainLimit'==_0x1705ff||'footnotesLicenseKeyNotAllowed'==_0x1705ff||'footnotesLicenseKeyEvaluationLimit'==_0x1705ff||'footnotesLicenseKeyTrialLimit'==_0x1705ff||'footnotesLicenseKeyUsageLimit'==_0x1705ff){delete _0x3cbd04[_0x51f6dc],_0x56703f=_0x1705ff,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x56703f&&_0x3cbd04['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x56703f&&_0x3cbd04['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x56703f&&_0x3cbd04['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x56703f&&_0x3cbd04['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x56703f&&_0x3cbd04['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x56703f&&_0x3cbd04['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x56703f&&_0x3cbd04['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x3d9450,_0x3c7711){const _0x4c8f99=_0x3d9450['commands']['get']('insertFootnote');return _0xefddc6=>{const {t:t}=_0xefddc6,_0x442669=new _0x3c7711(_0xefddc6),_0x4f2112=_0x442669 instanceof _0x4c975f;return _0x442669['bind']('isEnabled')['to'](_0x4c8f99,'isEnabled'),_0x442669['set']({'label':t(_0x4f2112?'Footnote':'Insert\x20footnote'),'icon':_0x5bc017,'tooltip':!0x0}),_0x442669['on']('execute',()=>{_0x4c8f99['execute'](),_0x3d9450['editing']['view']['focus']();}),_0x442669;};}class lt extends _0xdc1d92{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 _0x2922a0{['refresh'](){const {editor:_0x1eda5c}=this,_0xce6a7b=_0x1eda5c['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xce6a7b,this['value']=_0xce6a7b?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x28063a}){const {editor:_0x4366b1}=this,_0x1ff939=_0x4366b1['plugins']['get'](f),_0x3cf27a=_0x1ff939['getFootnotesDefinitionsObjectElement']();_0x3cf27a&&Q['includes'](_0x28063a)&&_0x4366b1['model']['change'](_0x43ecc4=>{_0x43ecc4['setAttribute']('footnotesListStyle',_0x28063a,_0x3cf27a),_0x1ff939['_updateFootnotesCounters'](_0x43ecc4);});}}class C extends _0x2922a0{['refresh'](){const {editor:_0x514d93}=this,_0x25664f=_0x514d93['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x25664f,this['value']=_0x25664f?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x7dc46a}){const {editor:_0x442b86}=this,_0x58d353=_0x442b86['plugins']['get'](f),_0x2ab4ac=_0x58d353['getFootnotesDefinitionsObjectElement']();_0x2ab4ac&&Number['isInteger'](_0x7dc46a)&&_0x442b86['model']['change'](_0x23b2d1=>{_0x23b2d1['setAttribute']('footnotesListStart',_0x7dc46a,_0x2ab4ac),_0x58d353['_updateFootnotesCounters'](_0x23b2d1);});}}class P extends _0xdc1d92{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x25d34c}=this;_0x25d34c['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x25d34c['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x25d34c['commands']['add']('footnotesStyle',new S(_0x25d34c)),_0x25d34c['commands']['add']('footnotesStart',new C(_0x25d34c)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2c22b5}=this,{schema:_0x5b82e6}=_0x2c22b5['model'];_0x5b82e6['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x22ad5a}=this,{conversion:_0x50da07,model:_0x6cfc3a}=_0x22ad5a,{schema:_0x31f257}=_0x6cfc3a;_0x50da07['for']('upcast')['add'](_0x186373=>{_0x186373['on']('element:ol',(_0x2f7115,_0x304bba,_0xabe21f)=>{const _0x2a336c=_0x304bba['viewItem'],_0x156d2c=_0x304bba['modelCursor']?.['parent'];_0x2a336c['hasClass']('footnotes-list')&&_0x156d2c?.['is']('element','footnotesDefinitions')&&(function(_0x26e65a,_0x3e59ff,_0x9f475c,_0xa57358){if(!_0xa57358['checkAttribute'](_0x3e59ff,'footnotesListStart'))return;let _0x56aa4a=0x1;const _0x33254a=_0x9f475c['consumable']['consume'](_0x26e65a,{'attributes':'start'});if(_0x33254a){const _0x5ec716=Number['parseInt'](_0x26e65a['getAttribute']('start'),0xa);Number['isNaN'](_0x5ec716)||(_0x56aa4a=_0x5ec716);}!_0x33254a&&_0x3e59ff['hasAttribute']('footnotesListStart')||_0x9f475c['writer']['setAttribute']('footnotesListStart',_0x56aa4a,_0x3e59ff);}(_0x2a336c,_0x156d2c,_0xabe21f,_0x31f257),function(_0x1840b1,_0x4a6684,_0x4496ab,_0x13ee6b){if(!_0x13ee6b['checkAttribute'](_0x4a6684,'footnotesListStyle'))return;let _0x1757f9='decimal',_0x34bc9d=!0x1;if(_0x4496ab['consumable']['consume'](_0x1840b1,{'attributes':'type'})){const _0x2cc87e={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x1840b1['getAttribute']('type')];_0x2cc87e&&(_0x1757f9=_0x2cc87e),_0x34bc9d=!0x0;}_0x4496ab['consumable']['consume'](_0x1840b1,{'styles':'list-style-type'})&&(_0x1757f9=function(_0x5a9a35){switch(_0x5a9a35){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x5a9a35;}}(_0x1840b1['getStyle']('list-style-type')),_0x34bc9d=!0x0),!_0x34bc9d&&_0x4a6684['hasAttribute']('footnotesListStyle')||_0x4496ab['writer']['setAttribute']('footnotesListStyle',_0x1757f9,_0x4a6684);}(_0x2a336c,_0x156d2c,_0xabe21f,_0x31f257));});}),_0x50da07['for']('downcast')['add'](_0x3480ce=>{_0x3480ce['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x41c43e,_0x329235,_0x57d33b)=>{if(!_0x57d33b['consumable']['consume'](_0x329235['item'],_0x41c43e['name']))return;const _0x4b4e3c=M(_0x329235['item'],_0x57d33b['mapper']),{attributeNewValue:_0x4bcbcd}=_0x329235;null==_0x4bcbcd||0x1===_0x4bcbcd?_0x57d33b['writer']['removeAttribute']('start',_0x4b4e3c):_0x57d33b['writer']['setAttribute']('start',String(_0x4bcbcd),_0x4b4e3c);}),_0x3480ce['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x447249,_0x3e2c0e,_0x2f1a0d)=>{if(!_0x2f1a0d['consumable']['consume'](_0x3e2c0e['item'],_0x447249['name']))return;const _0x19073a=M(_0x3e2c0e['item'],_0x2f1a0d['mapper']),{attributeNewValue:_0x3d8a46}=_0x3e2c0e;_0x3d8a46&&'decimal'!==_0x3d8a46?_0x2f1a0d['writer']['setStyle']('list-style-type',_0x3d8a46,_0x19073a):_0x2f1a0d['writer']['removeStyle']('list-style-type',_0x19073a);});});}['_definePostfixer'](){const {editor:_0x20ef5a}=this,{model:_0x5bd67b}=_0x20ef5a,_0x43729c=_0x20ef5a['plugins']['get'](f),_0x12d6e9=this['_getDefaultListStyle'](),_0x4232fd=this['_getDefaultStartIndex']();_0x5bd67b['document']['registerPostFixer'](_0x2b3c0d=>{const _0x3a757e=_0x5bd67b['document']['differ']['getChanges']();let _0x2497ed=!0x1;for(const _0x4de1d0 of _0x3a757e){if('insert'!==_0x4de1d0['type']||'$text'===_0x4de1d0['name'])continue;const _0x5a358d=_0x5bd67b['createRangeOn'](_0x4de1d0['position']['nodeAfter']);for(const _0x22d87b of _0x5a358d['getItems']())_0x22d87b['is']('element','footnotesDefinitions')&&(!_0x22d87b['hasAttribute']('footnotesListStart')&&_0x5bd67b['schema']['checkAttribute'](_0x22d87b,'footnotesListStart')&&(_0x2b3c0d['setAttribute']('footnotesListStart',_0x4232fd,_0x22d87b),_0x2497ed=!0x0),!_0x22d87b['hasAttribute']('footnotesListStyle')&&_0x5bd67b['schema']['checkAttribute'](_0x22d87b,'footnotesListStyle')&&(_0x2b3c0d['setAttribute']('footnotesListStyle',_0x12d6e9,_0x22d87b),_0x2497ed=!0x0));}return _0x2497ed&&_0x43729c['_updateFootnotesCounters'](_0x2b3c0d),_0x2497ed;});}['_defineFormatter'](){const {editor:_0x482844}=this;_0x482844['plugins']['get'](f)['setFootnoteFormatter'](_0x98bc3f=>this['_formatFootnoteListValue'](_0x98bc3f));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x2533c3,value:_0x49a550,digits:_0x40b478}){const _0x14cc95=_0x2533c3['getAttribute']('footnotesListStyle'),_0xb19b10=_0x2533c3['getAttribute']('footnotesListStart'),_0x1729ac=Math['floor'](_0x49a550)+(_0xb19b10??0x1)-0x1;switch(_0x14cc95){case'decimal-leading-zero':return function(_0x5c3fd9,_0x2f7f03){return String(_0x5c3fd9)['padStart'](_0x2f7f03,'0');}(_0x1729ac,Math['max'](0x2,_0x40b478));case'lower-alpha':case'lower-latin':return N(_0x1729ac,!0x1);case'upper-alpha':case'upper-latin':return N(_0x1729ac,!0x0);case'lower-roman':return X(_0x1729ac,!0x1);case'upper-roman':return X(_0x1729ac,!0x0);default:return String(_0x1729ac);}}}function M(_0x29079a,_0x52ea7d){const _0x558027=_0x52ea7d['toViewElement'](_0x29079a);return Array['from'](_0x558027['getChildren']())['find'](_0x4a817b=>_0x4a817b['is']('element','ol')&&_0x4a817b['hasClass']('footnotes-list'));}function N(_0x253093,_0xc95966){let _0x128fb9='',_0x38ef48=_0x253093;for(;_0x38ef48>0x0;){const _0x2285d4=(_0x38ef48-0x1)%0x1a;_0x128fb9=String['fromCharCode'](0x61+_0x2285d4)+_0x128fb9,_0x38ef48=Math['floor']((_0x38ef48-0x1)/0x1a);}return _0xc95966?_0x128fb9['toUpperCase']():_0x128fb9;}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(_0x22f2b4,_0x38262c){let _0x1bfd7e='',_0x5839ee=_0x22f2b4;for(const {value:_0x262b86,numeral:_0x5c6c2a}of V)for(;_0x5839ee>=_0x262b86;)_0x1bfd7e+=_0x5c6c2a,_0x5839ee-=_0x262b86;return _0x38262c?_0x1bfd7e:_0x1bfd7e['toLowerCase']();}class H extends _0x5addd1{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x5a99c4();['focusCycler'];constructor(_0xe8f13c,{styleButtonViews:_0x124bd2,styleGridAriaLabel:_0xe797ba}){super(_0xe8f13c),(this['focusCycler']=new _0x69f264({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x124bd2,_0xe797ba),[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 _0x19d526 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x19d526['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 _0x531e11=_0x5bd996=>_0x5bd996['stopPropagation']();this['keystrokes']['set']('arrowright',_0x531e11),this['keystrokes']['set']('arrowleft',_0x531e11),this['keystrokes']['set']('arrowup',_0x531e11),this['keystrokes']['set']('arrowdown',_0x531e11);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xe0ee87,_0x2827fb){const _0x215815=new _0x5addd1(this['locale']);return _0x215815['children']=_0x215815['createCollection'](),_0x215815['children']['addMany'](_0xe0ee87),_0x215815['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2827fb,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x215815['children']}),_0x215815['children']['delegate']('execute')['to'](this),_0x215815['focus']=function(){for(const _0x5160e0 of this['children'])if(_0x5160e0 instanceof _0x3c7b9c&&_0x5160e0['isOn'])return void _0x5160e0['focus']();this['children']['first']['focus']();},_0x215815['focusTracker']=new ot(),_0x215815['keystrokes']=new rt(),_0x215815['render'](),_0x215815['keystrokes']['listenTo'](_0x215815['element']),this['children']['add'](_0x215815),_0x215815;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x49de7a=this['_createStartIndexPropertyView'](),_0x13a94e=[_0x49de7a],_0x463d7d=new st(this['locale'],_0x13a94e);return _0x463d7d['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x463d7d['buttonView']['bind']('isEnabled')['toMany'](_0x13a94e,'isEnabled',(..._0x128b93)=>_0x128b93['some'](_0x7f8598=>_0x7f8598)),_0x463d7d['buttonView']['on']('change:isEnabled',(_0x15c0d3,_0x368555,_0x366f31)=>{_0x366f31||(_0x463d7d['isCollapsed']=!0x0);}),this['children']['add'](_0x463d7d),[_0x49de7a,_0x463d7d];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x404bc8=new it(this['locale'],et);return _0x404bc8['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x404bc8['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x404bc8['fieldView']['on']('input',()=>{const _0x572b55=_0x404bc8['fieldView']['element'],_0x413df8=_0x572b55['valueAsNumber'];Number['isNaN'](_0x413df8)?_0x404bc8['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x572b55['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x413df8}):_0x404bc8['errorText']=t(_0x413df8<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x404bc8;}}class j extends _0xdc1d92{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2f927b,_0x41e8fb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x92a778}=this,{componentFactory:_0x34958f}=_0x92a778['ui'];_0x92a778['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x34958f['add']('footnotesStyle',function(_0x35a98a){return _0x3ccea8=>{const {t:t}=_0x3ccea8,_0x3cbe0d=_0x35a98a['commands']['get']('footnotesStyle'),_0x4fe1f0=_0x229e8e(_0x3ccea8),{buttonView:_0x458bac}=_0x4fe1f0;return _0x4fe1f0['class']='ck-footnotes-styles-dropdown',_0x4fe1f0['bind']('isEnabled')['to'](_0x3cbe0d,'isEnabled'),_0x458bac['set']({'label':t('Footnotes\x20style'),'icon':_0x5bc017,'tooltip':!0x0}),_0x4fe1f0['once']('change:isOpen',()=>{const _0x1b86bf=function({editor:_0xbc26bb,dropdownView:_0x54ee18}){const {t:t}=_0xbc26bb['locale'],_0x4878d4=t('Footnotes\x20definitions\x20styles'),_0x58f335=function(_0x515006){const t=_0x515006['locale']['t'],_0x267325=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x54e97f},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3a044a},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x234538},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5edc10},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3d019f},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1a86d1}];return _0x267325['map'](function(_0x4adbe8){const _0xe7b0a7=_0x4adbe8['locale'];return({label:_0x156f5a,icon:_0x31bf69,tooltip:_0x5e5f3c,style:_0x1f2252})=>{const _0x174385=_0x4adbe8['commands']['get']('footnotesStyle'),_0x3dc052=new _0x3c7b9c(_0xe7b0a7);return _0x3dc052['set']({'label':_0x156f5a,'icon':_0x31bf69,'tooltip':_0x5e5f3c}),_0x3dc052['bind']('isOn')['to'](_0x174385,'value',_0x34e7eb=>_0x34e7eb===_0x1f2252),_0x3dc052['bind']('isEnabled')['to'](_0x174385,'isEnabled'),_0x3dc052['on']('execute',()=>{_0x4adbe8['execute']('footnotesStyle',{'value':_0x1f2252}),_0x4adbe8['editing']['view']['focus']();}),_0x3dc052;};}(_0x515006));}(_0xbc26bb),_0x2bdd22=new H(_0xbc26bb['locale'],{'styleGridAriaLabel':_0x4878d4,'styleButtonViews':_0x58f335}),_0x316717=_0xbc26bb['commands']['get']('footnotesStart');return _0x2bdd22['startIndexFieldView']['bind']('isEnabled')['to'](_0x316717),_0x2bdd22['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x316717),_0x2bdd22['on']('footnotesListStart',(_0x1e0019,_0x5af72e)=>{_0xbc26bb['execute']('footnotesStart',{'value':_0x5af72e['startIndex']});}),_0x2bdd22['delegate']('execute')['to'](_0x54ee18),_0x2bdd22;}({'editor':_0x35a98a,'dropdownView':_0x4fe1f0});_0x4fe1f0['panelView']['children']['add'](_0x1b86bf);}),_0x4fe1f0;};}(_0x92a778));}['afterInit'](){const {editor:_0x4217ba}=this,{t:t}=_0x4217ba['locale'],_0x7cba69=_0x4217ba['plugins']['get'](_0x41e8fb),{defaultPositions:_0x244373}=_0x354bcb;_0x7cba69['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4217ba['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1f3c9c=>{let _0x2f57d4=_0x1f3c9c['getFirstPosition']()?.['parent'];return _0x2f57d4?.['is']('$text')&&(_0x2f57d4=_0x2f57d4['parent']),_0x2f57d4?.['is']('element')?_0x2f57d4['findAncestor'](J):null;},'positions':[_0x244373['southArrowNorth'],_0x244373['southArrowNorthMiddleWest'],_0x244373['southArrowNorthMiddleEast'],_0x244373['southArrowNorthWest'],_0x244373['southArrowNorthEast'],_0x244373['northArrowSouth'],_0x244373['northArrowSouthMiddleWest'],_0x244373['northArrowSouthMiddleEast'],_0x244373['northArrowSouthWest'],_0x244373['northArrowSouthEast'],_0x244373['viewportStickyNorth']]});}}class ft extends _0xdc1d92{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x32bc63=>0x1!=_0x32bc63}};
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':_0x2b3cd6=>0x1!=_0x2b3cd6}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x727688=>{const {af:{dictionary:_0x3aa5c8,getPluralForm:_0x18ac81}}={'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':_0x237236=>0x1!=_0x237236}};_0x727688['af']||={'dictionary':{},'getPluralForm':null},_0x727688['af']['dictionary']=Object['assign'](_0x727688['af']['dictionary'],_0x3aa5c8),_0x727688['af']['getPluralForm']=_0x18ac81;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x19d597=>{const {af:{dictionary:_0x9321f3,getPluralForm:_0x412b3e}}={'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':_0x37e947=>0x1!=_0x37e947}};_0x19d597['af']||={'dictionary':{},'getPluralForm':null},_0x19d597['af']['dictionary']=Object['assign'](_0x19d597['af']['dictionary'],_0x9321f3),_0x19d597['af']['getPluralForm']=_0x412b3e;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x518dca=>0x0==_0x518dca?0x0:0x1==_0x518dca?0x1:0x2==_0x518dca?0x2:_0x518dca%0x64>=0x3&&_0x518dca%0x64<=0xa?0x3:_0x518dca%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':_0x3ee2cd=>0x0==_0x3ee2cd?0x0:0x1==_0x3ee2cd?0x1:0x2==_0x3ee2cd?0x2:_0x3ee2cd%0x64>=0x3&&_0x3ee2cd%0x64<=0xa?0x3:_0x3ee2cd%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3822e8=>{const {ar:{dictionary:_0x2b0e77,getPluralForm:_0x4dd30f}}={'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':_0x27ec2a=>0x0==_0x27ec2a?0x0:0x1==_0x27ec2a?0x1:0x2==_0x27ec2a?0x2:_0x27ec2a%0x64>=0x3&&_0x27ec2a%0x64<=0xa?0x3:_0x27ec2a%0x64>=0xb?0x4:0x5}};_0x3822e8['ar']||={'dictionary':{},'getPluralForm':null},_0x3822e8['ar']['dictionary']=Object['assign'](_0x3822e8['ar']['dictionary'],_0x2b0e77),_0x3822e8['ar']['getPluralForm']=_0x4dd30f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x578d03=>{const {ar:{dictionary:_0x38d3b6,getPluralForm:_0xa53040}}={'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':_0x5b0322=>0x0==_0x5b0322?0x0:0x1==_0x5b0322?0x1:0x2==_0x5b0322?0x2:_0x5b0322%0x64>=0x3&&_0x5b0322%0x64<=0xa?0x3:_0x5b0322%0x64>=0xb?0x4:0x5}};_0x578d03['ar']||={'dictionary':{},'getPluralForm':null},_0x578d03['ar']['dictionary']=Object['assign'](_0x578d03['ar']['dictionary'],_0x38d3b6),_0x578d03['ar']['getPluralForm']=_0xa53040;})(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':_0x45640a=>0x1!=_0x45640a}};
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':_0x2b988a=>0x1!=_0x2b988a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1d0c8f=>{const {ast:{dictionary:_0xb8ebd8,getPluralForm:_0x579cfc}}={'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':_0xb78078=>0x1!=_0xb78078}};_0x1d0c8f['ast']||={'dictionary':{},'getPluralForm':null},_0x1d0c8f['ast']['dictionary']=Object['assign'](_0x1d0c8f['ast']['dictionary'],_0xb8ebd8),_0x1d0c8f['ast']['getPluralForm']=_0x579cfc;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0xa79a73=>{const {ast:{dictionary:_0x715f5,getPluralForm:_0x2c6cf9}}={'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':_0x329833=>0x1!=_0x329833}};_0xa79a73['ast']||={'dictionary':{},'getPluralForm':null},_0xa79a73['ast']['dictionary']=Object['assign'](_0xa79a73['ast']['dictionary'],_0x715f5),_0xa79a73['ast']['getPluralForm']=_0x2c6cf9;})(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':_0x5a85d5=>0x1!=_0x5a85d5}};
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':_0x3d94d4=>0x1!=_0x3d94d4}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x23959b=>{const {az:{dictionary:_0x4db4f6,getPluralForm:_0x16bfd0}}={'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':_0x59ae45=>0x1!=_0x59ae45}};_0x23959b['az']||={'dictionary':{},'getPluralForm':null},_0x23959b['az']['dictionary']=Object['assign'](_0x23959b['az']['dictionary'],_0x4db4f6),_0x23959b['az']['getPluralForm']=_0x16bfd0;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3af8b4=>{const {az:{dictionary:_0x12e888,getPluralForm:_0xbc9cfd}}={'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':_0x536d31=>0x1!=_0x536d31}};_0x3af8b4['az']||={'dictionary':{},'getPluralForm':null},_0x3af8b4['az']['dictionary']=Object['assign'](_0x3af8b4['az']['dictionary'],_0x12e888),_0x3af8b4['az']['getPluralForm']=_0xbc9cfd;})(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':_0x45c682=>_0x45c682%0xa==0x1&&_0x45c682%0x64!=0xb?0x0:_0x45c682%0xa>=0x2&&_0x45c682%0xa<=0x4&&(_0x45c682%0x64<0xa||_0x45c682%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':_0x1ee956=>_0x1ee956%0xa==0x1&&_0x1ee956%0x64!=0xb?0x0:_0x1ee956%0xa>=0x2&&_0x1ee956%0xa<=0x4&&(_0x1ee956%0x64<0xa||_0x1ee956%0x64>=0x14)?0x1:0x2}};