@ckeditor/ckeditor5-footnotes 47.6.1 → 47.6.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2bb0c8,Command as _0x464335}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x27d5d8,isWidget as _0x213161,toWidgetEditable as _0x2eda1f,WidgetToolbarRepository as _0x377365}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5d0fbc,logWarning as _0x3d345d,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x2bc923,ClickObserver as _0x52a9d2}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x31541e}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x36d761,ButtonView as _0x5c824a,View as _0x3152a6,ViewCollection as _0x2db543,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x444dfc,BalloonPanelView as _0x3575fb,createDropdown as _0x5f256e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x17097c,IconListStyleDecimal as _0x2f1215,IconListStyleDecimalLeadingZero as _0x53a329,IconListStyleLowerRoman as _0xa25ed6,IconListStyleUpperRoman as _0x16a1f8,IconListStyleLowerLatin as _0x536eb8,IconListStyleUpperLatin as _0xf38aed}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3f27c8,_0x2145b6){this['_model']=_0x3f27c8,this['_elementName']=_0x2145b6['elementName'],this['_getElementKey']=_0x2145b6['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x57a868){const _0x59336a=new Set(),_0x59c5aa=new Map();for(const _0x105c4f of _0x57a868){if('insert'===_0x105c4f['type']&&'$text'!==_0x105c4f['name']&&_0x105c4f['position']['nodeAfter']){const _0x452f1c=this['_model']['createRangeOn'](_0x105c4f['position']['nodeAfter']);for(const _0x3f1bd8 of _0x452f1c['getItems']()){if(!_0x3f1bd8['is']('element',this['_elementName']))continue;const _0x4474dd=this['_getElementKey'](_0x3f1bd8);_0x59c5aa['has'](_0x4474dd)||_0x59c5aa['set'](_0x4474dd,[]),_0x59c5aa['get'](_0x4474dd)['push'](_0x3f1bd8);}}if('remove'===_0x105c4f['type']&&_0x105c4f['name']===this['_elementName']){const _0x1e6e24=this['_getElementKey']({'getAttribute':_0x4918a9=>_0x105c4f['attributes']['get'](_0x4918a9)});_0x59336a['add'](_0x1e6e24);}}for(const [_0xc8fc04,_0x4fcf5f]of this['_trackedElements'])'$graveyard'===_0x4fcf5f['root']['rootName']&&_0x59336a['add'](_0xc8fc04);for(const _0x8c4c22 of _0x59336a)this['_trackedElements']['delete'](_0x8c4c22);for(const [_0x178acc,_0x388ce9]of _0x59c5aa)this['_trackedElements']['set'](_0x178acc,_0x388ce9[_0x388ce9['length']-0x1]);const _0x5e40ee=new Set();for(const [_0x14a9f9,_0x38e9d4]of _0x59c5aa)_0x59336a['has'](_0x14a9f9)&&(_0x5e40ee['add'](_0x38e9d4[0x0]),_0x38e9d4['length']>0x1?_0x59c5aa['set'](_0x14a9f9,_0x38e9d4['slice'](0x1)):_0x59c5aa['delete'](_0x14a9f9),_0x59336a['delete'](_0x14a9f9));return{'removed':Array['from'](_0x59336a),'inserted':Array['from'](_0x59c5aa['values']())['flat'](),'moved':Array['from'](_0x5e40ee)};}}class f extends _0x2bb0c8{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x59cf79){super(_0x59cf79),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x412ab5=>_0x412ab5['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x5bef94=>_0x5bef94['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1a0240}=this,{model:_0x3fbabf,data:_0x2c1537}=_0x1a0240;_0x3fbabf['document']['registerPostFixer'](_0x40dc35=>{const _0x30ce45=_0x3fbabf['document']['differ']['getChanges']();let _0x4daef5=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x40dc35,_0x30ce45)&&(_0x4daef5=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x40dc35,_0x30ce45)&&(_0x4daef5=!0x0),this['_handleFootnoteReferencesChanges'](_0x40dc35,_0x30ce45)&&(_0x4daef5=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x40dc35)&&(_0x4daef5=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x40dc35)&&(_0x4daef5=!0x0),this['_sortFootnoteDefinitions'](_0x40dc35)&&(_0x4daef5=!0x0),_0x4daef5;}),this['listenTo'](_0x3fbabf['document'],'change:data',()=>{_0x3fbabf['enqueueChange']({'isUndoable':!0x1},_0x11107e=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x11107e);});},{'priority':'low'}),this['listenTo'](_0x2c1537,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x7158de){return this['_footnotes']['find'](_0x466a8f=>_0x466a8f['id']===_0x7158de)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x3113af){this['_footnoteFormatter']=_0x3113af;}['_updateFootnotesCounters'](_0x3a8a30,_0x19c08d=0x0){let _0x38c95f=!0x1;for(let _0x499d89=_0x19c08d;_0x499d89<this['_footnotes']['length'];_0x499d89++)this['_updateFootnoteRefCounter'](_0x3a8a30,_0x499d89)&&(_0x38c95f=!0x0);return _0x38c95f;}['_insertEmptyFootnotesDefinitionsContainer'](_0xe2b288,_0xf2b552){const _0xf1b86f=_0xe2b288['createElement']('footnotesDefinitions',{});return _0xe2b288['append'](_0xf1b86f,_0xf2b552),this['_footnotesDefinitions']=_0xf1b86f,_0xf1b86f;}['_ensureFootnotesDefinitionsContainerExists'](_0x1ec32a){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x4636d6=this['_footnotes'][0x0]['reference']['root'],_0x247be3=this['_insertEmptyFootnotesDefinitionsContainer'](_0x1ec32a,_0x4636d6);for(const _0x418157 of this['_footnotes'])_0x418157['definition']['parent']||_0x1ec32a['insert'](_0x418157['definition'],_0x247be3,'end');this['_updateFootnotesCounters'](_0x1ec32a);}['_handleFootnotesDefinitionsObjectChanges'](_0x2fbc88,_0x1c3ef6){let _0x4e3fea=!0x1;const {inserted:_0x5b3dff,removed:_0x1681ca,moved:_0x25c6a8}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1c3ef6);if(_0x25c6a8['length']&&(this['_footnotesDefinitions']=_0x25c6a8[0x0]),_0x5b3dff['length']){if(_0x5b3dff['length']>0x1||this['_footnotesDefinitions']&&_0x5b3dff['some'](_0x110b6f=>_0x110b6f!==this['_footnotesDefinitions'])){const _0x38ab0a=_0x2fbc88['createElement']('footnotesDefinitions',{}),_0x1813b2=[];this['_footnotesDefinitions']&&_0x1813b2['push'](this['_footnotesDefinitions']),_0x1813b2['push'](..._0x5b3dff),_0x2fbc88['insert'](_0x38ab0a,_0x1813b2[0x0],'before');for(const _0x5723e1 of _0x1813b2)_0x2fbc88['move'](_0x2fbc88['createRangeIn'](_0x5723e1),_0x2fbc88['createPositionAt'](_0x38ab0a,'end')),_0x2fbc88['remove'](_0x5723e1);this['_footnotesDefinitions']=_0x38ab0a,this['_updateFootnotesCounters'](_0x2fbc88),_0x4e3fea=!0x0;}else this['_footnotesDefinitions']=_0x5b3dff[0x0];}if(_0x1681ca['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5a122c of this['_footnotes'])_0x2fbc88['remove'](_0x5a122c['reference']),_0x4e3fea=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4e3fea;}['_handleFootnoteDefinitionsChanges'](_0x3d1c9c,_0x5b1905){let _0x2b0744=!0x1;const _0x1dd855=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x1270b4,moved:_0x17b053}=this['_footnoteDefsTracker']['getChanges'](_0x5b1905);for(const _0x16484f of[..._0x17b053,..._0x1270b4]){const _0x26203b=_0x16484f['getAttribute']('footnoteId'),_0x1ecd39=this['getFootnote'](_0x26203b);_0x1ecd39&&(_0x1ecd39['definition']=_0x16484f),_(_0x3d1c9c,_0x1dd855,_0x16484f)&&(_0x2b0744=!0x0);}return _0x2b0744;}['_handleFootnoteReferencesChanges'](_0x120292,_0x12f896){let _0x1fc8cb=!0x1;const {removed:_0x3ee231,inserted:_0x5c1d6b,moved:_0x436eca}=this['_footnoteRefsTracker']['getChanges'](_0x12f896);for(const _0x1a3d08 of _0x3ee231)this['_handleRemoveFootnoteReferenceById'](_0x120292,_0x1a3d08)&&(_0x1fc8cb=!0x0);for(const _0x2b2bca of _0x5c1d6b)this['_handleInsertedFootnoteReference'](_0x120292,_0x2b2bca)&&(_0x1fc8cb=!0x0);for(const _0x273fad of _0x436eca)this['_handleMovedFootnoteReference'](_0x120292,_0x273fad)&&(_0x1fc8cb=!0x0);return _0x1fc8cb;}['_handleFootnotesDefinitionsObjectSync'](_0xa26440){if(!this['_footnotesDefinitions'])return!0x1;let _0x62361=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x3eb188=[];for(const _0x2200c4 of this['_footnotesDefinitions']['getChildren']()){const _0x2da0d1=_0x2200c4['getAttribute']('footnoteId');this['getFootnote'](_0x2da0d1)||(_0x3eb188['unshift'](_0x2200c4),_0x62361=!0x0);}for(const _0x22d781 of _0x3eb188)_0xa26440['remove'](_0x22d781);}const _0x279282=new Set(),_0x31ce31=[];for(const _0x1a6edc of this['_footnotesDefinitions']['getChildren']()){const _0x203d22=_0x1a6edc['getAttribute']('footnoteId');_0x279282['has'](_0x203d22)?(_0x31ce31['unshift'](_0x1a6edc),_0x62361=!0x0):_0x279282['add'](_0x203d22);}for(const _0x52f252 of _0x31ce31)_0xa26440['remove'](_0x52f252);return this['_footnotesDefinitions']['childCount']||(_0xa26440['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x62361=!0x0),_0x62361;}['_handleInsertedFootnoteReference'](_0x109536,_0x55e9c4){if(this['_footnotes']['find'](_0x15ba77=>_0x15ba77['reference']===_0x55e9c4))return!0x1;let _0x4f89d8=!0x1;const _0x4f3e95=_0x55e9c4['getAttribute']('footnoteId'),_0x2a6003=this['_footnotes']['findIndex'](_0x3d05df=>_0x3d05df['id']===_0x4f3e95);-0x1!==_0x2a6003&&(_0x109536['remove'](this['_footnotes'][_0x2a6003]['reference']),this['_footnotes']['splice'](_0x2a6003,0x1),_0x4f89d8=!0x0);let _0x22f9b7=this['_footnotesDefinitions']?function(_0x3a2c58,_0x47a88a){for(const _0xc27068 of _0x3a2c58['getChildren']())if(_0xc27068['getAttribute']('footnoteId')===_0x47a88a)return _0xc27068;return null;}(this['_footnotesDefinitions'],_0x4f3e95):null;_0x22f9b7||(_0x22f9b7=_0x109536['createElement']('footnoteDefinition',{'footnoteId':_0x4f3e95}),this['_footnotesDefinitions']&&(_0x109536['insert'](_0x22f9b7,this['_footnotesDefinitions'],'end'),_0x4f89d8=!0x0));const _0x4f1fae={'id':_0x4f3e95,'reference':_0x55e9c4,'definition':_0x22f9b7},_0x29c713=I(this['editor']['model'],this['_footnotes'],_0x55e9c4);this['_footnotes']['splice'](_0x29c713,0x0,_0x4f1fae);let _0x1aaafa=_0x29c713;return-0x1!==_0x2a6003&&(_0x1aaafa=Math['min'](_0x29c713,_0x2a6003)),this['_updateFootnotesCounters'](_0x109536,_0x1aaafa)&&(_0x4f89d8=!0x0),_0x4f89d8;}['_handleRemoveFootnoteReferenceById'](_0x52dc34,_0x195598){const _0x188f33=this['_footnotes']['findIndex'](_0x4aaeab=>_0x4aaeab['id']===_0x195598);if(-0x1===_0x188f33)return!0x1;let _0x513ec8=!0x1;const _0xfa62ed=this['_footnotes'][_0x188f33];return'$graveyard'!==_0xfa62ed['definition']['root']['rootName']&&(_0x52dc34['remove'](_0xfa62ed['definition']),_0x513ec8=!0x0),this['_footnotes']['splice'](_0x188f33,0x1),this['_updateFootnotesCounters'](_0x52dc34,_0x188f33)&&(_0x513ec8=!0x0),_0x513ec8;}['_handleMovedFootnoteReference'](_0x38ed41,_0x2d852f){const _0x259a7d=_0x2d852f['getAttribute']('footnoteId'),_0x46780b=this['_footnotes']['findIndex'](_0x36c041=>_0x36c041['id']===_0x259a7d),_0x184993=this['_footnotes'][_0x46780b];let _0x33738f=!0x1;_0x184993['reference']=_0x2d852f,this['_footnotes']['splice'](_0x46780b,0x1);const _0x4b7937=I(this['editor']['model'],this['_footnotes'],_0x2d852f);return this['_footnotes']['splice'](_0x4b7937,0x0,_0x184993),this['_updateFootnotesCounters'](_0x38ed41,Math['min'](_0x46780b,_0x4b7937))&&(_0x33738f=!0x0),_0x33738f;}['_updateFootnoteRefCounter'](_0x513daf,_0x2ac8f2){if(!this['_footnotesDefinitions'])return!0x1;const _0xab272a=this['_footnotes'][_0x2ac8f2];let _0x3d1114;return _0x3d1114=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0xab272a,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x2ac8f2+0x1}):String(_0x2ac8f2+0x1),_0xab272a['reference']['getAttribute']('footnoteCounter')!=_0x3d1114&&(_0x513daf['setAttribute']('footnoteCounter',_0x3d1114,_0xab272a['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3b5a0b){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x1a099f,_0x27118d){if(_0x1a099f['length']!==_0x27118d['length'])return!0x1;for(let _0x2de546=0x0;_0x2de546<_0x1a099f['length'];_0x2de546++)if(_0x1a099f[_0x2de546]!==_0x27118d[_0x2de546])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x4d1374=>_0x4d1374['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x191a7c=>_0x191a7c['getAttribute']('footnoteId'))))return!0x1;let _0x3b90eb=!0x1;for(let _0x29bcee=0x0;_0x29bcee<this['_footnotes']['length'];_0x29bcee++){const _0x5a7f6f=this['_footnotes'][_0x29bcee],_0x2c2e67=_0x3b5a0b['createPositionBefore'](_0x5a7f6f['definition']),_0x16ec68=_0x3b5a0b['createPositionAt'](this['_footnotesDefinitions'],_0x29bcee);_0x2c2e67['isEqual'](_0x16ec68)||(_0x3b5a0b['move'](_0x3b5a0b['createRangeOn'](_0x5a7f6f['definition']),_0x16ec68),_0x3b90eb=!0x0);}return _0x3b90eb;}['_ensureFootnotesReferencesHaveProperOrder'](_0x48181e){if(!this['_footnotes']['length'])return!0x1;const {model:_0x46c35f}=this['editor'];let _0x1f3fb2=!0x1;for(let _0x523b2a=0x0;_0x523b2a<this['_footnotes']['length']-0x1;_0x523b2a++){const _0x450d56=this['_footnotes'][_0x523b2a],_0x38b547=this['_footnotes'][_0x523b2a+0x1],_0x8cb97a=_0x46c35f['createPositionBefore'](_0x450d56['reference']),_0x45c613=_0x46c35f['createPositionBefore'](_0x38b547['reference']);'after'===_0x8cb97a['compareWith'](_0x45c613)&&(this['_handleMovedFootnoteReference'](_0x48181e,_0x450d56['reference']),_0x523b2a=-0x1,_0x1f3fb2=!0x0);}return _0x1f3fb2;}}function _(_0x2714c8,_0x316b19,_0x3be64a){if(_0x3be64a['childCount'])return!0x1;const _0x392f15=_0x316b19?'paragraph':'footnoteInlineContent';return _0x2714c8['insert'](_0x2714c8['createElement'](_0x392f15),_0x3be64a),!0x0;}function I(_0x3e35d2,_0x4447f2,_0x4b77c4){if(0x0===_0x4447f2['length'])return 0x0;const _0x2071f6=_0x3e35d2['createPositionBefore'](_0x4b77c4);for(let _0x2b4f6c=0x0;_0x2b4f6c<_0x4447f2['length'];_0x2b4f6c++){const _0xf9b9e8=_0x4447f2[_0x2b4f6c],_0x1177ec=_0x3e35d2['createPositionBefore'](_0xf9b9e8['reference']);if('before'===_0x2071f6['compareWith'](_0x1177ec))return _0x2b4f6c;}const _0xac430e=_0x4b77c4['root'];let _0x19dd6e=-0x1;for(let _0x2dadf6=_0x4447f2['length']-0x1;_0x2dadf6>=0x0;_0x2dadf6--)if(_0x4447f2[_0x2dadf6]['reference']['root']===_0xac430e){_0x19dd6e=_0x2dadf6;break;}if(-0x1!==_0x19dd6e)return _0x19dd6e+0x1;const _0xbb3587=_0x3e35d2['document']['getRootNames'](),_0x4ef87b=_0xbb3587['indexOf'](_0xac430e['rootName']),_0x44a741=_0xbb3587[_0x4ef87b+0x1];if(_0x44a741){for(let _0x3d7c9b=0x0;_0x3d7c9b<_0x4447f2['length'];_0x3d7c9b++)if(_0x4447f2[_0x3d7c9b]['reference']['root']['rootName']===_0x44a741)return _0x3d7c9b;}return _0x4447f2['length'];}class h extends _0x464335{['refresh'](){const _0x1b7a80=this['editor']['model']['document']['selection'],_0x20bc27=this['_getPositionToInsertFootnote'](_0x1b7a80);this['isEnabled']=!!_0x20bc27;}['execute'](_0x56f1fa){const {editor:_0x418c17}=this,{model:_0x232b4a}=_0x418c17,{selection:_0x19a30b}=_0x232b4a['document'],_0x2627a3=this['_getPositionToInsertFootnote'](_0x19a30b);if(!_0x2627a3)return;const _0x2ac8a1=_0x418c17['plugins']['get']('FootnotesEditing'),_0x45623d=_0x56f1fa?.['footnoteId']??_0x5d0fbc();!function(_0x215f27){return'string'==typeof _0x215f27&&_0x215f27['length']>0x0&&!/\s/['test'](_0x215f27)&&!/^\d/['test'](_0x215f27);}(_0x45623d)?_0x3d345d('insert-footnote-command-executed-with-invalid-id'):(_0x232b4a['change'](_0x261bb6=>{const _0x3c9f14=_0x261bb6['createElement']('footnoteRef',{'footnoteId':_0x45623d});_0x232b4a['insertObject'](_0x3c9f14,_0x2627a3,null);}),_0x2ac8a1['_moveSelectionToFootnoteDefinition'](_0x45623d));}['_getPositionToInsertFootnote'](_0x49f698){const {model:_0x2ccac0}=this['editor'],{schema:_0x44b60f}=_0x2ccac0,_0x1e500c=_0x49f698['getFirstRange']();for(const _0x54aee7 of _0x1e500c['getItems']())if(_0x44b60f['isBlock'](_0x54aee7)||_0x44b60f['isObject'](_0x54aee7))return null;const _0x533d30=_0x1e500c['end'];return _0x44b60f['checkChild'](_0x533d30,'footnoteRef')?_0x533d30:null;}}class r extends _0x2bb0c8{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xcaa210}=this;_0xcaa210['config']['define']('footnotes.multiBlock',!0x0),_0xcaa210['commands']['add']('insertFootnote',new h(_0xcaa210)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1a78ce){const _0x68f6df=_0x16fb91([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]),_0x3a14fc=0x47a28506,_0x5c7a3b=0x47a5010e^_0x3a14fc,_0x33f51e=window[_0x16fb91([0x44,0x61,0x74,0x65])][_0x16fb91([0x6e,0x6f,0x77])](),_0x4c8f1b=_0x1a78ce[_0x16fb91([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x57edc2=new window[(_0x16fb91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf11c06=>{_0x4c8f1b[_0x16fb91([0x6f,0x6e,0x63,0x65])](_0x16fb91([0x72,0x65,0x61,0x64,0x79]),_0xf11c06);}),_0x590a1c={[_0x16fb91([0x6b,0x74,0x79])]:_0x16fb91([0x45,0x43]),[_0x16fb91([0x75,0x73,0x65])]:_0x16fb91([0x73,0x69,0x67]),[_0x16fb91([0x63,0x72,0x76])]:_0x16fb91([0x50,0x2d,0x32,0x35,0x36]),[_0x16fb91([0x78])]:_0x16fb91([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]),[_0x16fb91([0x79])]:_0x16fb91([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]),[_0x16fb91([0x61,0x6c,0x67])]:_0x16fb91([0x45,0x53,0x32,0x35,0x36])},_0x1bb5a4=_0x4c8f1b[_0x16fb91([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x16fb91([0x67,0x65,0x74])](_0x16fb91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa01a1c(){let _0x3005eb,_0x57e307=null,_0x30a47c=null;try{if(_0x1bb5a4==_0x16fb91([0x47,0x50,0x4c]))return _0x16fb91([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3005eb=_0x187388(),!_0x3005eb)return _0x16fb91([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3005eb[_0x16fb91([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30a47c=_0x5c1074(_0x3005eb[_0x16fb91([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3005eb[_0x16fb91([0x6a,0x74,0x69])])),await _0x385131()?_0x4ba885()?_0x13e6c8()?_0x16fb91([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x36bc39()?(_0x3005eb[_0x16fb91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x16fb91([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57e307=_0x4e24a5(_0x16fb91([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4f4597()):_0x16fb91([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x16fb91([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x16fb91([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x16fb91([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13e6c8(){const _0x1ede3c=[_0x16fb91([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x16fb91([0x74,0x72,0x69,0x61,0x6c])][_0x16fb91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3005eb[_0x16fb91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x33f51e/0x3e8:0xe10*_0x5c7a3b;return _0x3005eb[_0x16fb91([0x65,0x78,0x70])]<_0x1ede3c;}function _0x4ba885(){const _0x11eaa4=_0x3005eb[_0x16fb91([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x11eaa4&&(!!_0x11eaa4[_0x16fb91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16fb91([0x2a]))||!!_0x11eaa4[_0x16fb91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16fb91([0x46,0x4f,0x4f])));}function _0x36bc39(){const _0x2b2163=_0x3005eb[_0x16fb91([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b2163||0x0==_0x2b2163[_0x16fb91([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c7022}=new URL(window[_0x16fb91([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2b2163[_0x16fb91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c7022))return!0x0;const _0x908fb6=_0x3c7022[_0x16fb91([0x73,0x70,0x6c,0x69,0x74])](_0x16fb91([0x2e]));return _0x2b2163[_0x16fb91([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xce8ec5=>_0xce8ec5[_0x16fb91([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x16fb91([0x2a])))[_0x16fb91([0x6d,0x61,0x70])](_0x1f5cf2=>_0x1f5cf2[_0x16fb91([0x73,0x70,0x6c,0x69,0x74])](_0x16fb91([0x2e])))[_0x16fb91([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37d374=>_0x37d374[_0x16fb91([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x908fb6[_0x16fb91([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16fb91([0x6d,0x61,0x70])](_0x4ec120=>Array(_0x908fb6[_0x16fb91([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ec120[_0x16fb91([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x16fb91([0x66,0x69,0x6c,0x6c])](_0x4ec120[0x0]===_0x16fb91([0x2a])?_0x16fb91([0x2a]):'')[_0x16fb91([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ec120))[_0x16fb91([0x73,0x6f,0x6d,0x65])](_0x4c2935=>_0x908fb6[_0x16fb91([0x65,0x76,0x65,0x72,0x79])]((_0x3f388c,_0x582dac)=>_0x4c2935[_0x582dac]===_0x3f388c||_0x4c2935[_0x582dac]===_0x16fb91([0x2a])));}function _0x4f4597(){return _0x57e307&&_0x30a47c?new window[(_0x16fb91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d15b9,_0xbd5558)=>{_0x57e307[_0x16fb91([0x74,0x68,0x65,0x6e])](_0x1d15b9,_0xbd5558),_0x30a47c[_0x16fb91([0x74,0x68,0x65,0x6e])](_0x53aa19=>{_0x53aa19!=_0x16fb91([0x56,0x61,0x6c,0x69,0x64])&&_0x1d15b9(_0x53aa19);},_0xbd5558);}):_0x57e307||_0x30a47c||_0x16fb91([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5c1074(_0x198585,_0xb41070){return new window[(_0x16fb91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a1497=>{if(_0x51ee78())return _0x4a1497(_0x16fb91([0x56,0x61,0x6c,0x69,0x64]));_0x401101(),_0x4c8f1b[_0x16fb91([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x16fb91([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x34cc19=!0x1;const _0xa7b8ff=_0x5d0fbc();function _0x47be72(_0x1ab74f){return!!_0x1ab74f&&(typeof _0x1ab74f===_0x16fb91([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ab74f===_0x16fb91([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ab74f[_0x16fb91([0x74,0x68,0x65,0x6e])]===_0x16fb91([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ab74f[_0x16fb91([0x63,0x61,0x74,0x63,0x68])]===_0x16fb91([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1fddc2(_0xc94415){_0x5dfac9(_0xc94415)[_0x16fb91([0x74,0x68,0x65,0x6e])](_0x3cef81=>{if(!_0x3cef81||_0x3cef81[_0x16fb91([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x16fb91([0x6f,0x6b]))return _0x16fb91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d623e(_0x283ffd(_0xa7b8ff+_0xb41070))!=_0x3cef81[_0x16fb91([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x16fb91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x16fb91([0x56,0x61,0x6c,0x69,0x64]);})[_0x16fb91([0x74,0x68,0x65,0x6e])](_0x7b65d1=>(_0x2b5e24(),_0x7b65d1),()=>{const _0x1559c8=_0x162f08();return null==_0x1559c8?(_0x2b5e24(),_0x16fb91([0x56,0x61,0x6c,0x69,0x64])):_0x16fb91(_0x33f51e-_0x1559c8>(0x63ae0106^_0x3a14fc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x16fb91([0x74,0x68,0x65,0x6e])](_0x4a1497)[_0x16fb91([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4a1497(_0x16fb91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x32ba23=0x47946b86^_0x3a14fc;function _0x2b5e24(){const _0x5e1026=_0x16fb91([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d623e(_0x283ffd(_0x198585)),_0x537c22=_0x211fae(_0x5d623e(window[_0x16fb91([0x4d,0x61,0x74,0x68])][_0x16fb91([0x63,0x65,0x69,0x6c])](_0x33f51e/_0x32ba23)));window[_0x16fb91([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16fb91([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e1026,_0x537c22);}function _0x162f08(){const _0x16542=_0x16fb91([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d623e(_0x283ffd(_0x198585)),_0xb4c336=window[_0x16fb91([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x16fb91([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x16542);return _0xb4c336?window[_0x16fb91([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x211fae(_0xb4c336),0x10)*_0x32ba23:null;}function _0x5dfac9(_0x234b91){return new window[(_0x16fb91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2939e2,_0x2ad37d)=>{_0x234b91[_0x16fb91([0x74,0x68,0x65,0x6e])](_0x2939e2,_0x2ad37d),window[_0x16fb91([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ad37d,0x47a351c6^_0x3a14fc);});}}_0x4c8f1b[_0x16fb91([0x6f,0x6e])](_0x16fb91([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3985c1,_0x5ab5c1)=>{if(_0x5ab5c1[0x0]!=_0x198585)return _0x4a1497(_0x16fb91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5ab5c1[0x1]={..._0x5ab5c1[0x1],[_0x16fb91([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xa7b8ff};},{[_0x16fb91([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16fb91([0x68,0x69,0x67,0x68])}),_0x4c8f1b[_0x16fb91([0x6f,0x6e])](_0x16fb91([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37fbb5=>{_0x47be72(_0x37fbb5[_0x16fb91([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x34cc19=!0x0,_0x1fddc2(_0x37fbb5[_0x16fb91([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x16fb91([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x16fb91([0x6c,0x6f,0x77])}),_0x57edc2[_0x16fb91([0x74,0x68,0x65,0x6e])](()=>{_0x34cc19||_0x4a1497(_0x16fb91([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x51ee78(){return _0x4c8f1b[_0x16fb91([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16fb91([0x76,0x69,0x65,0x77])][_0x16fb91([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x16fb91([0x61,0x75,0x74,0x6f]);}function _0x401101(){_0x4c8f1b[_0x16fb91([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x16fb91([0x76,0x69,0x65,0x77])][_0x16fb91([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x16fb91([0x61,0x75,0x74,0x6f]);}}function _0x4e24a5(_0x47bddd){const _0x2e514b=[new window[(_0x16fb91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5edf3d=>setTimeout(_0x5edf3d,0x47abbbca^_0x3a14fc)),_0x57edc2[_0x16fb91([0x74,0x68,0x65,0x6e])](()=>new window[(_0x16fb91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34a833=>{let _0x1ef06f=0x0;_0x4c8f1b[_0x16fb91([0x6d,0x6f,0x64,0x65,0x6c])][_0x16fb91([0x6f,0x6e])](_0x16fb91([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x12382a,_0x12957b)=>{_0x12957b[0x0][_0x16fb91([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ef06f++,_0x1ef06f==(0x47a280ee^_0x3a14fc)&&(_0x34a833(),_0x12382a[_0x16fb91([0x6f,0x66,0x66])]());});}))];return window[_0x16fb91([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x16fb91([0x72,0x61,0x63,0x65])](_0x2e514b)[_0x16fb91([0x74,0x68,0x65,0x6e])](()=>_0x47bddd);}async function _0x39f84a(){await _0x57edc2,_0x4c8f1b[_0x16fb91([0x6d,0x6f,0x64,0x65,0x6c])][_0x16fb91([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x425444,_0x4c8f1b[_0x16fb91([0x6d,0x6f,0x64,0x65,0x6c])][_0x16fb91([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x425444,_0x4c8f1b[_0x16fb91([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x16fb91([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d44c9(_0x23f252){const _0x5c3def=_0x1310f3();_0x4c8f1b[_0x5c3def]=_0x16fb91([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x23f252,_0x23f252!=_0x16fb91([0x56,0x61,0x6c,0x69,0x64])&&_0x39f84a();}function _0x1310f3(){const _0x4576b2=window[_0x16fb91([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x16fb91([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x16fb91([0x6e,0x6f,0x77])]())[_0x16fb91([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x16fb91([0x2e]),'');let _0x18f86c=_0x16fb91([0x75]);for(let _0xb2b496=0x0;_0xb2b496<_0x4576b2[_0x16fb91([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb2b496+=0x2){let _0x595390=window[_0x16fb91([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4576b2[_0x16fb91([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb2b496,_0xb2b496+0x2));_0x595390>=_0x68f6df[_0x16fb91([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x595390-=_0x68f6df[_0x16fb91([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18f86c+=_0x68f6df[_0x595390];}return _0x18f86c;}function _0x187388(){const _0x103d3f=_0x1bb5a4[_0x16fb91([0x73,0x70,0x6c,0x69,0x74])](_0x16fb91([0x2e]));if(0x3!=_0x103d3f[_0x16fb91([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x447da7(_0x103d3f[0x1]);function _0x447da7(_0x275984){const _0x1004e5=_0x3813db(_0x275984);return _0x1004e5&&_0x233a0a()?_0x1004e5:null;function _0x233a0a(){const _0x4649b0=_0x1004e5[_0x16fb91([0x6a,0x74,0x69])],_0x50f835=window[_0x16fb91([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4649b0[_0x16fb91([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4649b0[_0x16fb91([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x85de17={..._0x1004e5,[_0x16fb91([0x6a,0x74,0x69])]:_0x4649b0[_0x16fb91([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4649b0[_0x16fb91([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x85de17[_0x16fb91([0x76,0x63])],_0x283ffd(_0x85de17)==_0x50f835;}}}async function _0x385131(){let _0x25b432=!0x0;try{const _0x198481=_0x1bb5a4[_0x16fb91([0x73,0x70,0x6c,0x69,0x74])](_0x16fb91([0x2e])),[_0x3cc4c7,_0x351cab,_0x15ac54]=_0x198481;return _0x139a47(_0x3cc4c7),await _0x22b2f8(_0x3cc4c7,_0x351cab,_0x15ac54),_0x25b432;}catch{return!0x1;}function _0x139a47(_0xf67e20){const _0x383a35=_0x3813db(_0xf67e20);_0x383a35&&_0x383a35[_0x16fb91([0x61,0x6c,0x67])]==_0x16fb91([0x45,0x53,0x32,0x35,0x36])||(_0x25b432=!0x1);}async function _0x22b2f8(_0x1a551e,_0x5d40f6,_0x221b6c){const _0x197ed1=window[_0x16fb91([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x16fb91([0x66,0x72,0x6f,0x6d])](_0x32da53(_0x221b6c),_0x4317df=>_0x4317df[_0x16fb91([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2fc753=new window[(_0x16fb91([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x16fb91([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1a551e+_0x16fb91([0x2e])+_0x5d40f6),_0x4fb3f3=window[_0x16fb91([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x16fb91([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4fb3f3)return;const _0x12a5d7=await _0x4fb3f3[_0x16fb91([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x16fb91([0x6a,0x77,0x6b]),_0x590a1c,{[_0x16fb91([0x6e,0x61,0x6d,0x65])]:_0x16fb91([0x45,0x43,0x44,0x53,0x41]),[_0x16fb91([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x16fb91([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x16fb91([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4fb3f3[_0x16fb91([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x16fb91([0x6e,0x61,0x6d,0x65])]:_0x16fb91([0x45,0x43,0x44,0x53,0x41]),[_0x16fb91([0x68,0x61,0x73,0x68])]:{[_0x16fb91([0x6e,0x61,0x6d,0x65])]:_0x16fb91([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x12a5d7,_0x197ed1,_0x2fc753)||(_0x25b432=!0x1);}}function _0x3813db(_0x1e32ea){return _0x1e32ea[_0x16fb91([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x16fb91([0x65,0x79]))?JSON[_0x16fb91([0x70,0x61,0x72,0x73,0x65])](_0x32da53(_0x1e32ea)):null;}function _0x32da53(_0x5533bb){return window[_0x16fb91([0x61,0x74,0x6f,0x62])](_0x5533bb[_0x16fb91([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x16fb91([0x2b]))[_0x16fb91([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x16fb91([0x2f])));}function _0x283ffd(_0x4d3e88){let _0x38b544=0x1505;function _0x2cae37(_0x845fbe){for(let _0x565655=0x0;_0x565655<_0x845fbe[_0x16fb91([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x565655++){const _0x37f745=_0x845fbe[_0x16fb91([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x565655);_0x38b544=(_0x38b544<<0x5)+_0x38b544+_0x37f745,_0x38b544&=_0x38b544;}}function _0x9f371b(_0x536734){Array[_0x16fb91([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x536734)?_0x536734[_0x16fb91([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x9f371b):_0x536734&&typeof _0x536734==_0x16fb91([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x16fb91([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x536734)[_0x16fb91([0x73,0x6f,0x72,0x74])]()[_0x16fb91([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4f3d8e,_0x28fa48])=>{_0x2cae37(_0x4f3d8e),_0x9f371b(_0x28fa48);}):_0x2cae37(window[_0x16fb91([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x536734));}return _0x9f371b(_0x4d3e88),_0x38b544>>>0x0;}function _0x5d623e(_0x16c9b8){return _0x16c9b8[_0x16fb91([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x16fb91([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x16fb91([0x30]));}function _0x211fae(_0x14d840){return _0x14d840[_0x16fb91([0x73,0x70,0x6c,0x69,0x74])]('')[_0x16fb91([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x16fb91([0x6a,0x6f,0x69,0x6e])]('');}function _0x425444(){}function _0x16fb91(_0x416d30){return _0x416d30['map'](_0x2e386f=>String['fromCharCode'](_0x2e386f))['join']('');}_0x2d44c9(await _0xa01a1c());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4dd2ff){const {plugins:_0x5dd296,editing:_0x48645c,model:_0x24b2d0}=this['editor'],_0x2c3089=_0x5dd296['get'](f)['getFootnote'](_0x4dd2ff);return!!_0x2c3089&&(_0x24b2d0['change'](_0x4cb695=>{_0x4cb695['setSelection'](_0x4cb695['createPositionAt'](_0x2c3089['definition'],'end'));}),_0x48645c['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3234e8){const {plugins:_0x48320b,editing:_0xdaf549,model:_0x60aa1c}=this['editor'],_0x49d68b=_0x48320b['get'](f)['getFootnote'](_0x3234e8);return!!_0x49d68b&&(_0x60aa1c['change'](_0x539ae6=>{_0x539ae6['setSelection'](_0x49d68b['reference'],'on');}),_0xdaf549['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x32ba92}=this['editor']['model'],_0x3c71e0=this['editor']['config']['get']('footnotes.multiBlock');_0x32ba92['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x32ba92['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x32ba92['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3c71e0?_0x32ba92['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x32ba92['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x32ba92['addChildCheck'](_0x52b365=>{for(const _0x505950 of _0x52b365)if('footnoteDefinition'===_0x505950['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x275268}=this,{conversion:_0x41e81d,editing:_0x16fdab}=_0x275268,{t:t}=_0x275268['locale'];_0x41e81d['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1add1c,{writer:_0x4a6174,consumable:_0x5db0da})=>{const _0x18fe68=_0x1add1c['getChild'](0x0);if(!_0x18fe68||!_0x18fe68['is']('element','a'))return null;const _0x3eea77=_0x18fe68['getAttribute']('href')||'';if(!_0x3eea77['startsWith']('#'))return null;const _0x167db7=_0x3eea77['replace'](/^#/,'');if(!_0x167db7)return null;_0x5db0da['consume'](_0x18fe68,{'name':!0x0,'attributes':['href']});for(const {item:_0x47171f}of _0x16fdab['view']['createRangeIn'](_0x18fe68))_0x47171f['is']('$textProxy')?_0x5db0da['consume'](_0x47171f['textNode'],{'name':!0x0}):_0x47171f['is']('element')&&_0x5db0da['consume'](_0x47171f,{'name':!0x0});return _0x4a6174['createElement']('footnoteRef',{'footnoteId':_0x167db7});}}),_0x41e81d['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1ac1dd,{writer:_0x5c935a})=>b(_0x1ac1dd,_0x5c935a)}),_0x41e81d['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5f2425,{writer:_0x5037fc})=>{const _0x599b5b=_0x5f2425['getAttribute']('footnoteCounter');return _0x27d5d8(b(_0x5f2425,_0x5037fc),_0x5037fc,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x599b5b)});}});}['_defineDefinitionsConverters'](){const {editor:_0xe72b1f}=this,{t:t}=_0xe72b1f['locale'],{conversion:_0x38547e}=_0xe72b1f;_0x38547e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x38547e['for']('upcast')['add'](_0x1cad69=>{_0x1cad69['on']('element:ol',(_0x5211b,_0x31aecd,_0x411083)=>{const _0x53d8a3=_0x31aecd['viewItem'];if(!_0x53d8a3['hasClass']('footnotes-list')||!_0x31aecd['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x411083['consumable']['consume'](_0x53d8a3,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x13ca1c,modelCursor:_0x410255}=_0x411083['convertChildren'](_0x31aecd['viewItem'],_0x31aecd['modelCursor']);_0x31aecd['modelRange']=_0x13ca1c,_0x31aecd['modelCursor']=_0x410255;}),_0x1cad69['on']('element:hr',(_0x5b2f58,_0x5ec495,_0x53e497)=>{const _0x19dc15=_0x5ec495['viewItem'];_0x19dc15['hasClass']('footnotes-divider')&&_0x5ec495['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x53e497['consumable']['consume'](_0x19dc15,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x38547e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x566eaa,{writer:_0x2ce19d})=>D(_0x2ce19d)}),_0x38547e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5f554d,{writer:_0x1fd246})=>{const _0x508d33=D(_0x1fd246,{'data-footnotes-list-label':t('Footnotes')}),_0x3b4e22=_0x27d5d8(_0x508d33,_0x1fd246,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1fd246['setCustomProperty']('footnotesDefinitions',!0x0,_0x3b4e22),_0x3b4e22;}});}['_defineDefinitionConverters'](){const {editor:_0x2d293f}=this,{conversion:_0x10c536,locale:_0x2a29fa}=_0x2d293f,_0x2289d1=_0x2d293f['config']['get']('footnotes.multiBlock');_0x10c536['for']('upcast')['add'](_0xa918e1=>{_0xa918e1['on']('element:li',(_0x57dc26,_0x294bfa,_0x4a6de3)=>{const _0x28ce01=_0x294bfa['viewItem'];if(!_0x28ce01['hasClass']('footnote-definition')||!_0x28ce01['getAttribute']('id'))return;const _0x971f20=_0x28ce01['parent'];if(!_0x971f20['is']('element','ol')||!_0x971f20['hasClass']('footnotes-list'))return;if(!_0x4a6de3['consumable']['test'](_0x28ce01,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x229ed6=_0x4a6de3['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x28ce01['getAttribute']('id')});if(!_0x4a6de3['safeInsert'](_0x229ed6,_0x294bfa['modelCursor']))return;_0x4a6de3['consumable']['consume'](_0x28ce01,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x521e81=Array['from'](_0x28ce01['getChildren']())['find'](_0x566c14=>_0x566c14['is']('element')&&_0x566c14['hasClass']('footnote-content'));for(const _0x5bea8f of _0x28ce01['getChildren']())_0x5bea8f['is']('element')&&(_0x4a6de3['consumable']['consume'](_0x5bea8f,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4a6de3['consumable']['consume'](_0x5bea8f,{'name':!0x0,'classes':'footnote-content'}));if(_0x521e81){if(_0x2289d1)_0x4a6de3['convertChildren'](_0x521e81,_0x229ed6);else{const _0x3c0be8=_0x4a6de3['writer']['createElement']('footnoteInlineContent');_0x4a6de3['writer']['insert'](_0x3c0be8,_0x229ed6),_0x4a6de3['convertChildren'](_0x521e81,_0x3c0be8);}}_0x4a6de3['updateConversionResult'](_0x229ed6,_0x294bfa);});}),_0x10c536['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x16afdb,{writer:_0x6624a1})=>y(_0x16afdb,_0x6624a1,_0x2a29fa,{'dataPipeline':!0x0})}),_0x10c536['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x274aed,{writer:_0x50e352})=>y(_0x274aed,_0x50e352,_0x2a29fa)});}['_defineBogusParagraphConverters'](){const {editor:_0x5a761b}=this,{conversion:_0x1b2ee4}=_0x5a761b;_0x5a761b['config']['get']('footnotes.multiBlock')?(_0x1b2ee4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1b2ee4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5a761b['model']['document'],'change:data',()=>{!function(_0x4db139,_0x49f8ff){const _0x147f32=_0x4db139['document']['differ'],_0x2e2a09=new Set();for(const _0xc2ded2 of _0x147f32['getChanges']()){const _0x1021f4='attribute'==_0xc2ded2['type']?_0xc2ded2['range']['start']['parent']:_0xc2ded2['position']['parent'];_0x1021f4['is']('element','footnoteDefinition')&&_0x2e2a09['add'](_0x1021f4);}for(const _0x5669a8 of _0x2e2a09['values']()){const _0x1bd33b=Array['from'](_0x5669a8['getChildren']())['filter'](_0x309e06=>v(_0x309e06,_0x49f8ff['mapper']));for(const _0x438d4f of _0x1bd33b)_0x49f8ff['reconvertItem'](_0x438d4f);}}(_0x5a761b['model'],_0x5a761b['editing']);})):(_0x1b2ee4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1b2ee4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5f1436,{writer:_0xe6ff5d})=>{const _0x2eb01d=_0xe6ff5d['createContainerElement']('span');return _0xe6ff5d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2eb01d),_0x2eb01d;}}));}['_defineKeyboardHandlers'](){const {editor:_0x425e41}=this,{editing:_0x572eca,t:t}=_0x425e41,_0x3435eb=_0x425e41['model']['document']['selection'];_0x425e41['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x425e41['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x572eca['view']['document'],'enter',(_0x1b77aa,_0x5a4836)=>{const _0x33d0d6=function(_0x5d28d5){const _0x4a0d6d=_0x5d28d5['getSelectedElement']();if(_0x4a0d6d?.['is']('element','footnoteRef'))return _0x4a0d6d;return null;}(_0x3435eb);if(_0x33d0d6){const _0x25b1f7=_0x33d0d6['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x25b1f7),_0x5a4836['preventDefault'](),_0x1b77aa['stop']();}},{'context':_0x213161});}['_defineClickHandlers'](){const {editor:_0x19464b}=this,{editing:_0x8c50f9}=_0x19464b;_0x19464b['editing']['view']['addObserver'](_0x2bc923),_0x19464b['editing']['view']['addObserver'](_0x52a9d2);let _0x10be78=!0x1;this['listenTo'](_0x8c50f9['view']['document'],'pointerdown',(_0x4e8abe,_0x16cac6)=>{const {target:_0x594a41}=_0x16cac6,_0x53c483=_0x8c50f9['view']['document']['selection'];_0x10be78=!!(_0x594a41?.['is']('element','a')&&_0x594a41['parent']?.['is']('element','sup')&&_0x594a41['parent']['hasClass']('footnote'))&&_0x53c483['getSelectedElement']()===_0x594a41['parent'];},{'priority':'high'}),this['listenTo'](_0x8c50f9['view']['document'],'click',(_0x21e61d,_0x26bc53)=>{const {target:_0x32949b}=_0x26bc53;if(!_0x32949b?.['is']('element','a'))return;if(_0x32949b['parent']?.['is']('element','sup')&&_0x32949b['parent']['hasClass']('footnote')&&!_0x10be78)return void _0x26bc53['preventDefault']();let _0x45252b=_0x32949b['getAttribute']('href');if(!_0x45252b?.['startsWith']('#'))return;_0x45252b=_0x45252b['slice'](0x1);let _0x4c8928=!0x1;(_0x45252b['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x45252b['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x45252b))&&(_0x4c8928=!0x0),_0x4c8928&&(_0x26bc53['preventDefault'](),_0x21e61d['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x4ae5f4}={}){return(_0x10d2f2,{writer:_0x10f865})=>{if(!g(_0x10d2f2))return null;if(!_0x4ae5f4)return _0x10f865['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1ffc93=_0x10f865['createContainerElement']('p');return _0x10f865['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1ffc93),_0x1ffc93;};}function g(_0x3bc668){const {parent:_0x35e180}=_0x3bc668;if(!_0x35e180?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x35e180['childCount'])return!0x1;for(const _0x5a82bb of _0x3bc668['getAttributeKeys']())if(!_0x5a82bb['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5a82bb)return!0x1;return!0x0;}function v(_0x29e452,_0x55dd6b){if(!_0x29e452['is']('element','paragraph'))return!0x1;const _0x5ccbf0=_0x55dd6b['toViewElement'](_0x29e452);return!!_0x5ccbf0&&g(_0x29e452)!==_0x5ccbf0['is']('element','span');}function Q(_0x467eed){return _0x213161(_0x467eed)&&_0x467eed['is']('containerElement')&&!!_0x467eed['getCustomProperty']('footnotesDefinitions');}function D(_0x4b1c61,_0x43e2af={}){const _0x55479e=_0x4b1c61['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x197188=_0x4b1c61['createContainerElement']('ol',{'class':'footnotes-list'},_0x4b1c61['createSlot']());return _0x4b1c61['createContainerElement']('div',{'class':'footnotes',..._0x43e2af},[_0x55479e,_0x197188]);}function b(_0x557b16,_0xcfd8d9){const _0x5db49f=_0x557b16['getAttribute']('footnoteId'),_0x411468=_0x557b16['getAttribute']('footnoteCounter'),_0x56c72c=_0xcfd8d9['createUIElement']('a',{'href':'#'+_0x5db49f},function(_0x1f22bb){const _0xe40347=this['toDomElement'](_0x1f22bb);return _0xe40347['textContent']=_0x411468,_0xe40347;}),_0x1e2fc1=_0xcfd8d9['createContainerElement']('sup',{'id':'ref-'+_0x5db49f,'class':'footnote'},[_0x56c72c]);return _0x1e2fc1['getFillerOffset']=()=>null,_0x1e2fc1;}function y(_0x140beb,_0x101afb,_0x470d01,{dataPipeline:_0x434fb5}={}){const {t:t}=_0x470d01,_0x2f3244=_0x140beb['getAttribute']('footnoteId'),_0x579646=_0x101afb['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2f3244},function(_0x56a41d){const _0x49bd57=this['toDomElement'](_0x56a41d);return _0x49bd57['innerText']='^',_0x49bd57;}),_0x411edd=_0x434fb5?_0x101afb['createContainerElement']('div',{'class':'footnote-content'}):_0x2eda1f(_0x101afb['createEditableElement']('div',{'class':'footnote-content'}),_0x101afb,{'label':t('Footnote\x20content.')});return _0x101afb['insert'](_0x101afb['createPositionAt'](_0x411edd,0x0),_0x101afb['createSlot']()),_0x101afb['createContainerElement']('li',{'class':'footnote-definition','id':_0x2f3244},[_0x579646,_0x411edd]);}class e extends _0x2bb0c8{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x31541e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x11a4d2}=this,{plugins:_0x8441c8,model:_0x3670e5}=_0x11a4d2,_0x51b2d4=_0x8441c8['get'](_0x31541e),_0x10a44f=_0x8441c8['get'](f);this['listenTo'](_0x51b2d4,'outputTransformation',(_0x46f653,_0x40861b)=>{const _0x36b022=l(_0x3670e5['createRangeIn'](_0x40861b['content']));if(!_0x36b022['length'])return;const _0x3ae2c5=_0x10a44f['getFootnotes'](),_0xf37a26=_0x36b022['reduce']((_0x182bf4,_0x32099a)=>{const _0x5e195b=_0x3ae2c5['find'](_0x3918b4=>_0x3918b4['id']===_0x32099a);if(_0x5e195b){const _0x3313f5=_0x11a4d2['data']['toView'](_0x5e195b['definition'],{'isClipboardPipeline':!0x0}),_0x5417d2=_0x11a4d2['data']['htmlProcessor']['toData'](_0x3313f5);_0x182bf4[_0x5e195b['id']]=_0x5417d2;}return _0x182bf4;},Object['create'](null));_0x40861b['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xf37a26));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x84fbc3}=this,{model:_0x481ec5,plugins:_0x395923}=_0x84fbc3,{view:_0x2bbdf8}=_0x84fbc3['editing'],_0x54f26f=_0x395923['get'](_0x31541e),_0x4e5b91=_0x395923['get'](f),_0x435a58=_0x84fbc3['config']['get']('footnotes.multiBlock');let _0x17dfe0=null;this['listenTo'](_0x2bbdf8['document'],'clipboardInput',(_0x2bf4e3,_0x21d917)=>{const _0x5c5db0=_0x21d917['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x17dfe0=_0x5c5db0?JSON['parse'](_0x5c5db0):null;}),this['listenTo'](_0x54f26f,'contentInsertion',(_0x20ae5e,_0x89d467)=>{const _0x294976=_0x89d467['sourceEditorId']===this['editor']['id'];_0x294976&&'drop'===_0x89d467['method']||_0x481ec5['change'](_0x6f1f9a=>{let _0xfca591=_0x4e5b91['getFootnotesDefinitionsObjectElement']();const _0x2b3453=!!_0xfca591&&Array['from'](_0x481ec5['document']['selection']['getSelectedBlocks']())['includes'](_0xfca591);if(!_0x17dfe0&&function(_0x4f14ca){for(const {item:_0x561dae}of _0x4f14ca)if(_0x561dae['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x481ec5['createRangeIn'](_0x89d467['content']))&&(_0x17dfe0=function(_0x5d55b6,_0x275ffe){const _0x18b169=c(_0x5d55b6,_0x275ffe);if(!_0x18b169)return null;const _0x5276e7=Object['create'](null);for(const _0x3a2c73 of _0x18b169['getChildren']())_0x3a2c73['is']('element','footnoteDefinition')&&_0x3a2c73['hasAttribute']('footnoteId')&&(_0x5276e7[_0x3a2c73['getAttribute']('footnoteId')]=_0x5d55b6['cloneElement'](_0x3a2c73,!0x0));return Object['keys'](_0x5276e7)['length']?_0x5276e7:null;}(_0x6f1f9a,_0x89d467['content'])),(_0xfca591&&!_0x2b3453||!_0xfca591&&!_0x17dfe0)&&function(_0x418d6d,_0x13ecb6){const _0x20af1f=[];for(const {item:_0x4d306f}of _0x418d6d['createRangeIn'](_0x13ecb6))_0x4d306f['is']('element','footnotesDefinitions')&&_0x20af1f['push'](_0x4d306f);for(const _0x10d511 of _0x20af1f)_0x418d6d['remove'](_0x10d511);}(_0x6f1f9a,_0x89d467['content']),!_0x17dfe0)return;const {selection:_0x3c149d}=_0x481ec5['document'],_0x1e96e3=_0x3c149d['getFirstRange']()['root'];_0xfca591&&!_0x2b3453||(_0xfca591=c(_0x6f1f9a,_0x89d467['content']),_0xfca591||=_0x4e5b91['_insertEmptyFootnotesDefinitionsContainer'](_0x6f1f9a,_0x1e96e3));const _0x24df29=Array['from'](_0x3c149d['getRanges']())['flatMap'](l),_0x159ffa=function(_0xe65163,_0x5cd188,_0x3f6703){const _0x4ef524=Object['create'](null);for(const {item:_0x377450}of _0xe65163['createRangeIn'](_0x5cd188))if(_0x377450['is']('element','footnoteRef')){const _0x50afe5=_0x377450['getAttribute']('footnoteId');if(!_0x3f6703(_0x50afe5))continue;_0x4ef524[_0x50afe5]||(_0x4ef524[_0x50afe5]=_0x5d0fbc()),_0xe65163['setAttribute']('footnoteId',_0x4ef524[_0x50afe5],_0x377450);}return _0x4ef524;}(_0x6f1f9a,_0x89d467['content'],_0x28de51=>{if(!_0x294976)return!0x0;return!!_0x4e5b91['getFootnote'](_0x28de51)&&!_0x24df29['includes'](_0x28de51);});for(const [_0x272f5e,_0x50228b]of Object['entries'](_0x17dfe0)){const _0x5e07f2=_0x159ffa[_0x272f5e]||_0x272f5e;let _0x4d8c3d;if('string'!=typeof _0x50228b)_0x4d8c3d=_0x50228b,_0x5e07f2!==_0x272f5e&&_0x6f1f9a['setAttribute']('footnoteId',_0x5e07f2,_0x4d8c3d);else{_0x4d8c3d=_0x6f1f9a['createElement']('footnoteDefinition',{'footnoteId':_0x5e07f2});const _0x2486cb=_0x84fbc3['data']['htmlProcessor']['toView'](_0x50228b);let _0x58d0f4;if(_0x435a58)_0x58d0f4=_0x84fbc3['data']['toModel'](_0x2486cb,_0x4d8c3d);else{_0x58d0f4=_0x6f1f9a['createElement']('footnoteInlineContent');const _0x3d4b98=_0x84fbc3['data']['toModel'](_0x2486cb,_0x58d0f4);_0x6f1f9a['insert'](_0x3d4b98,_0x58d0f4);}_0x6f1f9a['append'](_0x58d0f4,_0x4d8c3d);}_0x6f1f9a['insert'](_0x4d8c3d,_0xfca591,'end');}_0x17dfe0=null;});});}}function c(_0x243b02,_0x26ea9b){for(const {item:_0x815415}of _0x243b02['createRangeIn'](_0x26ea9b))if(_0x815415['is']('element','footnotesDefinitions'))return _0x815415;return null;}function l(_0x4fbdf5){const _0x1f5aa9=new Set();for(const {item:_0x36c632}of _0x4fbdf5)_0x36c632['is']('element','footnoteRef')&&_0x1f5aa9['add'](_0x36c632['getAttribute']('footnoteId'));return Array['from'](_0x1f5aa9);}class i extends _0x2bb0c8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1308ea}=this,{componentFactory:_0x1944ce}=_0x1308ea['ui'];_0x1944ce['add']('insertFootnote',E(_0x1308ea,_0x5c824a)),_0x1944ce['add']('menuBar:insertFootnote',E(_0x1308ea,_0x36d761)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xcd3642=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4745c9;for(const _0x48bd26 in _0xcd3642){const _0x4153e1=_0x48bd26,_0x32a15a=_0xcd3642[_0x4153e1];if('footnotesLicenseKeyValid'==_0x32a15a||'footnotesLicenseKeyInvalid'==_0x32a15a||'footnotesLicenseKeyExpired'==_0x32a15a||'footnotesLicenseKeyDomainLimit'==_0x32a15a||'footnotesLicenseKeyNotAllowed'==_0x32a15a||'footnotesLicenseKeyEvaluationLimit'==_0x32a15a||'footnotesLicenseKeyUsageLimit'==_0x32a15a){delete _0xcd3642[_0x4153e1],_0x4745c9=_0x32a15a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4745c9&&_0xcd3642['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4745c9&&_0xcd3642['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4745c9&&_0xcd3642['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4745c9&&_0xcd3642['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4745c9&&_0xcd3642['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x4745c9&&_0xcd3642['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x18db2f,_0x3ec8b4){const _0xe3acb0=_0x18db2f['commands']['get']('insertFootnote');return _0x3ba3ba=>{const {t:t}=_0x3ba3ba,_0x496540=new _0x3ec8b4(_0x3ba3ba),_0x8bc8b1=_0x496540 instanceof _0x36d761;return _0x496540['bind']('isEnabled')['to'](_0xe3acb0,'isEnabled'),_0x496540['set']({'label':t(_0x8bc8b1?'Footnote':'Insert\x20footnote'),'icon':_0x17097c,'tooltip':!0x0}),_0x496540['on']('execute',()=>{_0xe3acb0['execute'](),_0x18db2f['editing']['view']['focus']();}),_0x496540;};}class lt extends _0x2bb0c8{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x464335{['refresh'](){const {editor:_0x9b289e}=this,_0x2a70c3=_0x9b289e['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2a70c3,this['value']=_0x2a70c3?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1dde83}){const {editor:_0x2a4a0b}=this,_0xd57d7a=_0x2a4a0b['plugins']['get'](f),_0x462fc4=_0xd57d7a['getFootnotesDefinitionsObjectElement']();_0x462fc4&&W['includes'](_0x1dde83)&&_0x2a4a0b['model']['change'](_0x52af99=>{_0x52af99['setAttribute']('footnotesListStyle',_0x1dde83,_0x462fc4),_0xd57d7a['_updateFootnotesCounters'](_0x52af99);});}}class C extends _0x464335{['refresh'](){const {editor:_0x15795b}=this,_0x535dc8=_0x15795b['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x535dc8,this['value']=_0x535dc8?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x5b50f1}){const {editor:_0x279c8e}=this,_0x3db026=_0x279c8e['plugins']['get'](f),_0x4d8ecc=_0x3db026['getFootnotesDefinitionsObjectElement']();_0x4d8ecc&&Number['isInteger'](_0x5b50f1)&&_0x279c8e['model']['change'](_0x583b3e=>{_0x583b3e['setAttribute']('footnotesListStart',_0x5b50f1,_0x4d8ecc),_0x3db026['_updateFootnotesCounters'](_0x583b3e);});}}class P extends _0x2bb0c8{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x13b99f}=this;_0x13b99f['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x13b99f['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x13b99f['commands']['add']('footnotesStyle',new S(_0x13b99f)),_0x13b99f['commands']['add']('footnotesStart',new C(_0x13b99f)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x565fb2}=this,{schema:_0x2a41a0}=_0x565fb2['model'];_0x2a41a0['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x25fe21}=this,{conversion:_0xc571f5,model:_0x4e657e}=_0x25fe21,{schema:_0x291691}=_0x4e657e;_0xc571f5['for']('upcast')['add'](_0x19770b=>{_0x19770b['on']('element:ol',(_0x569263,_0xb474e9,_0x4a7a69)=>{const _0x6ef95a=_0xb474e9['viewItem'],_0x5a6408=_0xb474e9['modelCursor']?.['parent'];_0x6ef95a['hasClass']('footnotes-list')&&_0x5a6408?.['is']('element','footnotesDefinitions')&&(function(_0x3c1dfd,_0x31b43b,_0x5a521d,_0x2bfee6){if(!_0x2bfee6['checkAttribute'](_0x31b43b,'footnotesListStart'))return;let _0x2a3c84=0x1;const _0x55417d=_0x5a521d['consumable']['consume'](_0x3c1dfd,{'attributes':'start'});if(_0x55417d){const _0x177f4c=Number['parseInt'](_0x3c1dfd['getAttribute']('start'),0xa);Number['isNaN'](_0x177f4c)||(_0x2a3c84=_0x177f4c);}!_0x55417d&&_0x31b43b['hasAttribute']('footnotesListStart')||_0x5a521d['writer']['setAttribute']('footnotesListStart',_0x2a3c84,_0x31b43b);}(_0x6ef95a,_0x5a6408,_0x4a7a69,_0x291691),function(_0x5e1386,_0xc8a768,_0x96736a,_0x231f7e){if(!_0x231f7e['checkAttribute'](_0xc8a768,'footnotesListStyle'))return;let _0x490f55='decimal',_0x325f1a=!0x1;if(_0x96736a['consumable']['consume'](_0x5e1386,{'attributes':'type'})){const _0x440f9c={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x5e1386['getAttribute']('type')];_0x440f9c&&(_0x490f55=_0x440f9c),_0x325f1a=!0x0;}_0x96736a['consumable']['consume'](_0x5e1386,{'styles':'list-style-type'})&&(_0x490f55=function(_0xa726f6){switch(_0xa726f6){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0xa726f6;}}(_0x5e1386['getStyle']('list-style-type')),_0x325f1a=!0x0),!_0x325f1a&&_0xc8a768['hasAttribute']('footnotesListStyle')||_0x96736a['writer']['setAttribute']('footnotesListStyle',_0x490f55,_0xc8a768);}(_0x6ef95a,_0x5a6408,_0x4a7a69,_0x291691));});}),_0xc571f5['for']('downcast')['add'](_0x8f4b21=>{_0x8f4b21['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x585c0f,_0x512bf1,_0x3c008a)=>{if(!_0x3c008a['consumable']['consume'](_0x512bf1['item'],_0x585c0f['name']))return;const _0x588de1=M(_0x512bf1['item'],_0x3c008a['mapper']),{attributeNewValue:_0x3f59e2}=_0x512bf1;null==_0x3f59e2||0x1===_0x3f59e2?_0x3c008a['writer']['removeAttribute']('start',_0x588de1):_0x3c008a['writer']['setAttribute']('start',String(_0x3f59e2),_0x588de1);}),_0x8f4b21['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x368d92,_0x5392ca,_0x420477)=>{if(!_0x420477['consumable']['consume'](_0x5392ca['item'],_0x368d92['name']))return;const _0x48cb54=M(_0x5392ca['item'],_0x420477['mapper']),{attributeNewValue:_0x51a543}=_0x5392ca;_0x51a543&&'decimal'!==_0x51a543?_0x420477['writer']['setStyle']('list-style-type',_0x51a543,_0x48cb54):_0x420477['writer']['removeStyle']('list-style-type',_0x48cb54);});});}['_definePostfixer'](){const {editor:_0x1dce71}=this,{model:_0xf3129c}=_0x1dce71,_0x14d10b=_0x1dce71['plugins']['get'](f),_0x3b32b4=this['_getDefaultListStyle'](),_0x45addc=this['_getDefaultStartIndex']();_0xf3129c['document']['registerPostFixer'](_0x1ac2ee=>{const _0x259a0b=_0xf3129c['document']['differ']['getChanges']();let _0x48e574=!0x1;for(const _0x26d32d of _0x259a0b){if('insert'!==_0x26d32d['type']||'$text'===_0x26d32d['name'])continue;const _0x3ab162=_0xf3129c['createRangeOn'](_0x26d32d['position']['nodeAfter']);for(const _0x3dac44 of _0x3ab162['getItems']())_0x3dac44['is']('element','footnotesDefinitions')&&(!_0x3dac44['hasAttribute']('footnotesListStart')&&_0xf3129c['schema']['checkAttribute'](_0x3dac44,'footnotesListStart')&&(_0x1ac2ee['setAttribute']('footnotesListStart',_0x45addc,_0x3dac44),_0x48e574=!0x0),!_0x3dac44['hasAttribute']('footnotesListStyle')&&_0xf3129c['schema']['checkAttribute'](_0x3dac44,'footnotesListStyle')&&(_0x1ac2ee['setAttribute']('footnotesListStyle',_0x3b32b4,_0x3dac44),_0x48e574=!0x0));}return _0x48e574&&_0x14d10b['_updateFootnotesCounters'](_0x1ac2ee),_0x48e574;});}['_defineFormatter'](){const {editor:_0x22a926}=this;_0x22a926['plugins']['get'](f)['setFootnoteFormatter'](_0x10d4f1=>this['_formatFootnoteListValue'](_0x10d4f1));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x24cb6b,value:_0x26047a,digits:_0xa8cd1a}){const _0x58cfdc=_0x24cb6b['getAttribute']('footnotesListStyle'),_0x5e2c04=_0x24cb6b['getAttribute']('footnotesListStart'),_0x23a53b=Math['floor'](_0x26047a)+(_0x5e2c04??0x1)-0x1;switch(_0x58cfdc){case'decimal-leading-zero':return function(_0x21dd35,_0x19201c){return String(_0x21dd35)['padStart'](_0x19201c,'0');}(_0x23a53b,Math['max'](0x2,_0xa8cd1a));case'lower-alpha':case'lower-latin':return N(_0x23a53b,!0x1);case'upper-alpha':case'upper-latin':return N(_0x23a53b,!0x0);case'lower-roman':return X(_0x23a53b,!0x1);case'upper-roman':return X(_0x23a53b,!0x0);default:return String(_0x23a53b);}}}function M(_0x594cf2,_0x3aab9a){const _0x5316f8=_0x3aab9a['toViewElement'](_0x594cf2);return Array['from'](_0x5316f8['getChildren']())['find'](_0x1baec9=>_0x1baec9['is']('element','ol')&&_0x1baec9['hasClass']('footnotes-list'));}function N(_0x5a56c6,_0x1f62ec){let _0x4eb280='',_0x43d246=_0x5a56c6;for(;_0x43d246>0x0;){const _0x96e33a=(_0x43d246-0x1)%0x1a;_0x4eb280=String['fromCharCode'](0x61+_0x96e33a)+_0x4eb280,_0x43d246=Math['floor']((_0x43d246-0x1)/0x1a);}return _0x1f62ec?_0x4eb280['toUpperCase']():_0x4eb280;}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(_0x1e3d7a,_0x20093){let _0x1e50a5='',_0x8aa41f=_0x1e3d7a;for(const {value:_0x169e7a,numeral:_0x45cf2d}of V)for(;_0x8aa41f>=_0x169e7a;)_0x1e50a5+=_0x45cf2d,_0x8aa41f-=_0x169e7a;return _0x20093?_0x1e50a5:_0x1e50a5['toLowerCase']();}class J extends _0x3152a6{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x2db543();['focusCycler'];constructor(_0x353a80,{styleButtonViews:_0x16a113,styleGridAriaLabel:_0x57ead8}){super(_0x353a80),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x16a113,_0x57ead8),[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 _0x571faa of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x571faa['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x36f8c3=_0x29564a=>_0x29564a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x36f8c3),this['keystrokes']['set']('arrowleft',_0x36f8c3),this['keystrokes']['set']('arrowup',_0x36f8c3),this['keystrokes']['set']('arrowdown',_0x36f8c3);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x31e870,_0x38d40e){const _0x47aae8=new _0x3152a6(this['locale']);return _0x47aae8['children']=_0x47aae8['createCollection'](),_0x47aae8['children']['addMany'](_0x31e870),_0x47aae8['setTemplate']({'tag':'div','attributes':{'aria-label':_0x38d40e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x47aae8['children']}),_0x47aae8['children']['delegate']('execute')['to'](this),_0x47aae8['focus']=function(){for(const _0x6eaabe of this['children'])if(_0x6eaabe instanceof _0x5c824a&&_0x6eaabe['isOn'])return void _0x6eaabe['focus']();this['children']['first']['focus']();},_0x47aae8['focusTracker']=new rt(),_0x47aae8['keystrokes']=new nt(),_0x47aae8['render'](),_0x47aae8['keystrokes']['listenTo'](_0x47aae8['element']),this['children']['add'](_0x47aae8),_0x47aae8;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x475709=this['_createStartIndexPropertyView'](),_0x5cc482=[_0x475709],_0x3aef3e=new it(this['locale'],_0x5cc482);return _0x3aef3e['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3aef3e['buttonView']['bind']('isEnabled')['toMany'](_0x5cc482,'isEnabled',(..._0x30767c)=>_0x30767c['some'](_0x278d88=>_0x278d88)),_0x3aef3e['buttonView']['on']('change:isEnabled',(_0x2d5cbc,_0xc26b,_0x4aa78a)=>{_0x4aa78a||(_0x3aef3e['isCollapsed']=!0x0);}),this['children']['add'](_0x3aef3e),[_0x475709,_0x3aef3e];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x468233=new et(this['locale'],ot);return _0x468233['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x468233['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x468233['fieldView']['on']('input',()=>{const _0x54507a=_0x468233['fieldView']['element'],_0x52c66e=_0x54507a['valueAsNumber'];Number['isNaN'](_0x52c66e)?_0x468233['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x54507a['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x52c66e}):_0x468233['errorText']=t(_0x52c66e<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x468233;}}class j extends _0x2bb0c8{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x444dfc,_0x377365];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xa6163c}=this,{componentFactory:_0x1df6ce}=_0xa6163c['ui'];_0xa6163c['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1df6ce['add']('footnotesStyle',function(_0x3780ef){return _0x4f34c2=>{const {t:t}=_0x4f34c2,_0x32f909=_0x3780ef['commands']['get']('footnotesStyle'),_0x54d8f3=_0x5f256e(_0x4f34c2),{buttonView:_0xdea66f}=_0x54d8f3;return _0x54d8f3['class']='ck-footnotes-styles-dropdown',_0x54d8f3['bind']('isEnabled')['to'](_0x32f909,'isEnabled'),_0xdea66f['set']({'label':t('Footnotes\x20style'),'icon':_0x17097c,'tooltip':!0x0}),_0x54d8f3['once']('change:isOpen',()=>{const _0x41b925=function({editor:_0x541170,dropdownView:_0x41f942}){const {t:t}=_0x541170['locale'],_0x2cf31c=t('Footnotes\x20definitions\x20styles'),_0x27d8f2=function(_0x21d648){const t=_0x21d648['locale']['t'],_0xd10e6c=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2f1215},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x53a329},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0xa25ed6},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x16a1f8},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x536eb8},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xf38aed}];return _0xd10e6c['map'](function(_0x23e672){const _0x23be04=_0x23e672['locale'];return({label:_0x2b32d2,icon:_0x5a9f2b,tooltip:_0x40a6f5,style:_0x514cf1})=>{const _0x434c38=_0x23e672['commands']['get']('footnotesStyle'),_0x3a8abf=new _0x5c824a(_0x23be04);return _0x3a8abf['set']({'label':_0x2b32d2,'icon':_0x5a9f2b,'tooltip':_0x40a6f5}),_0x3a8abf['bind']('isOn')['to'](_0x434c38,'value',_0x17cde5=>_0x17cde5===_0x514cf1),_0x3a8abf['bind']('isEnabled')['to'](_0x434c38,'isEnabled'),_0x3a8abf['on']('execute',()=>{_0x23e672['execute']('footnotesStyle',{'value':_0x514cf1}),_0x23e672['editing']['view']['focus']();}),_0x3a8abf;};}(_0x21d648));}(_0x541170),_0x11651b=new J(_0x541170['locale'],{'styleGridAriaLabel':_0x2cf31c,'styleButtonViews':_0x27d8f2}),_0x3818d8=_0x541170['commands']['get']('footnotesStart');return _0x11651b['startIndexFieldView']['bind']('isEnabled')['to'](_0x3818d8),_0x11651b['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3818d8),_0x11651b['on']('footnotesListStart',(_0x634482,_0x178fc3)=>{_0x541170['execute']('footnotesStart',{'value':_0x178fc3['startIndex']});}),_0x11651b['delegate']('execute')['to'](_0x41f942),_0x11651b;}({'editor':_0x3780ef,'dropdownView':_0x54d8f3});_0x54d8f3['panelView']['children']['add'](_0x41b925);}),_0x54d8f3;};}(_0xa6163c));}['afterInit'](){const {editor:_0x36dcec}=this,{t:t}=_0x36dcec['locale'],_0x1ceb83=_0x36dcec['plugins']['get'](_0x377365),{defaultPositions:_0x2c233d}=_0x3575fb;_0x1ceb83['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x36dcec['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x441f31=>{let _0x103ba1=_0x441f31['getFirstPosition']()?.['parent'];return _0x103ba1?.['is']('$text')&&(_0x103ba1=_0x103ba1['parent']),_0x103ba1?.['is']('element')?_0x103ba1['findAncestor'](Q):null;},'positions':[_0x2c233d['southArrowNorth'],_0x2c233d['southArrowNorthMiddleWest'],_0x2c233d['southArrowNorthMiddleEast'],_0x2c233d['southArrowNorthWest'],_0x2c233d['southArrowNorthEast'],_0x2c233d['northArrowSouth'],_0x2c233d['northArrowSouthMiddleWest'],_0x2c233d['northArrowSouthMiddleEast'],_0x2c233d['northArrowSouthWest'],_0x2c233d['northArrowSouthEast'],_0x2c233d['viewportStickyNorth']]});}}class ft extends _0x2bb0c8{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
23
+ import{Plugin as _0x52c91a,Command as _0x17b8c2}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3e5be2,isWidget as _0xe316e2,toWidgetEditable as _0x4c83a2,WidgetToolbarRepository as _0x3548d2}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x103fff,logWarning as _0x6f6007,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x502c1d,ClickObserver as _0x32dba0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x1f257f}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x448ada,ButtonView as _0xaa47e,View as _0x1d7450,ViewCollection as _0x5ec28e,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x3f4586,BalloonPanelView as _0x33d17d,createDropdown as _0x4b8e9c}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x3c02ef,IconListStyleDecimal as _0x5aca3a,IconListStyleDecimalLeadingZero as _0x24ed39,IconListStyleLowerRoman as _0x4838c6,IconListStyleUpperRoman as _0x5920a1,IconListStyleLowerLatin as _0x3e9ff8,IconListStyleUpperLatin as _0x315415}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x528ce1,_0x12c51a){this['_model']=_0x528ce1,this['_elementName']=_0x12c51a['elementName'],this['_getElementKey']=_0x12c51a['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x1e9218){const _0x30e20f=new Set(),_0x290ff8=new Map();for(const _0x37e226 of _0x1e9218){if('insert'===_0x37e226['type']&&'$text'!==_0x37e226['name']&&_0x37e226['position']['nodeAfter']){const _0x46a98e=this['_model']['createRangeOn'](_0x37e226['position']['nodeAfter']);for(const _0x2ae309 of _0x46a98e['getItems']()){if(!_0x2ae309['is']('element',this['_elementName']))continue;const _0x133eab=this['_getElementKey'](_0x2ae309);_0x290ff8['has'](_0x133eab)||_0x290ff8['set'](_0x133eab,[]),_0x290ff8['get'](_0x133eab)['push'](_0x2ae309);}}if('remove'===_0x37e226['type']&&_0x37e226['name']===this['_elementName']){const _0x577075=this['_getElementKey']({'getAttribute':_0xb2386b=>_0x37e226['attributes']['get'](_0xb2386b)});_0x30e20f['add'](_0x577075);}}for(const [_0x113712,_0x407f08]of this['_trackedElements'])'$graveyard'===_0x407f08['root']['rootName']&&_0x30e20f['add'](_0x113712);for(const _0xe3ef3d of _0x30e20f)this['_trackedElements']['delete'](_0xe3ef3d);for(const [_0x1d4442,_0x114996]of _0x290ff8)this['_trackedElements']['set'](_0x1d4442,_0x114996[_0x114996['length']-0x1]);const _0x7be228=new Set();for(const [_0x963459,_0x262ff2]of _0x290ff8)_0x30e20f['has'](_0x963459)&&(_0x7be228['add'](_0x262ff2[0x0]),_0x262ff2['length']>0x1?_0x290ff8['set'](_0x963459,_0x262ff2['slice'](0x1)):_0x290ff8['delete'](_0x963459),_0x30e20f['delete'](_0x963459));return{'removed':Array['from'](_0x30e20f),'inserted':Array['from'](_0x290ff8['values']())['flat'](),'moved':Array['from'](_0x7be228)};}}class f extends _0x52c91a{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x10d5f2){super(_0x10d5f2),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x29b4b9=>_0x29b4b9['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x3fd7d0=>_0x3fd7d0['getAttribute']('footnoteId')});}['init'](){const {editor:_0x9940d1}=this,{model:_0x5d12a2,data:_0x57ae1a}=_0x9940d1;_0x5d12a2['document']['registerPostFixer'](_0x18e78e=>{const _0x2ec35e=_0x5d12a2['document']['differ']['getChanges']();let _0x285ea9=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x18e78e,_0x2ec35e)&&(_0x285ea9=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x18e78e,_0x2ec35e)&&(_0x285ea9=!0x0),this['_handleFootnoteReferencesChanges'](_0x18e78e,_0x2ec35e)&&(_0x285ea9=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x18e78e)&&(_0x285ea9=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x18e78e)&&(_0x285ea9=!0x0),this['_sortFootnoteDefinitions'](_0x18e78e)&&(_0x285ea9=!0x0),_0x285ea9;}),this['listenTo'](_0x5d12a2['document'],'change:data',()=>{_0x5d12a2['enqueueChange']({'isUndoable':!0x1},_0x18f2b3=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x18f2b3);});},{'priority':'low'}),this['listenTo'](_0x57ae1a,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x59424a){return this['_footnotes']['find'](_0x4a5dfe=>_0x4a5dfe['id']===_0x59424a)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x56bfe5){this['_footnoteFormatter']=_0x56bfe5;}['_updateFootnotesCounters'](_0x435ed2,_0x3be1b9=0x0){let _0x49b88d=!0x1;for(let _0x427f56=_0x3be1b9;_0x427f56<this['_footnotes']['length'];_0x427f56++)this['_updateFootnoteRefCounter'](_0x435ed2,_0x427f56)&&(_0x49b88d=!0x0);return _0x49b88d;}['_insertEmptyFootnotesDefinitionsContainer'](_0x265ba0,_0x51b72c){const _0x130f92=_0x265ba0['createElement']('footnotesDefinitions',{});return _0x265ba0['append'](_0x130f92,_0x51b72c),this['_footnotesDefinitions']=_0x130f92,_0x130f92;}['_ensureFootnotesDefinitionsContainerExists'](_0x429cf4){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0xe4dd19=this['_footnotes'][0x0]['reference']['root'],_0x116318=this['_insertEmptyFootnotesDefinitionsContainer'](_0x429cf4,_0xe4dd19);for(const _0x2b143c of this['_footnotes'])_0x2b143c['definition']['parent']||_0x429cf4['insert'](_0x2b143c['definition'],_0x116318,'end');this['_updateFootnotesCounters'](_0x429cf4);}['_handleFootnotesDefinitionsObjectChanges'](_0x1f1579,_0x1633b5){let _0x48e134=!0x1;const {inserted:_0x17e820,removed:_0x473d37,moved:_0x29c412}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1633b5);if(_0x29c412['length']&&(this['_footnotesDefinitions']=_0x29c412[0x0]),_0x17e820['length']){if(_0x17e820['length']>0x1||this['_footnotesDefinitions']&&_0x17e820['some'](_0x46fd23=>_0x46fd23!==this['_footnotesDefinitions'])){const _0x1f4c8e=_0x1f1579['createElement']('footnotesDefinitions',{}),_0xb19775=[];this['_footnotesDefinitions']&&_0xb19775['push'](this['_footnotesDefinitions']),_0xb19775['push'](..._0x17e820),_0x1f1579['insert'](_0x1f4c8e,_0xb19775[0x0],'before');for(const _0x1092f4 of _0xb19775)_0x1f1579['move'](_0x1f1579['createRangeIn'](_0x1092f4),_0x1f1579['createPositionAt'](_0x1f4c8e,'end')),_0x1f1579['remove'](_0x1092f4);this['_footnotesDefinitions']=_0x1f4c8e,this['_updateFootnotesCounters'](_0x1f1579),_0x48e134=!0x0;}else this['_footnotesDefinitions']=_0x17e820[0x0];}if(_0x473d37['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x3e34d4 of this['_footnotes'])_0x1f1579['remove'](_0x3e34d4['reference']),_0x48e134=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x48e134;}['_handleFootnoteDefinitionsChanges'](_0x20a8cd,_0xd3512a){let _0x1b5d7f=!0x1;const _0x3a3376=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x88e491,moved:_0x2014e2}=this['_footnoteDefsTracker']['getChanges'](_0xd3512a);for(const _0x1e9db3 of[..._0x2014e2,..._0x88e491]){const _0x5d655c=_0x1e9db3['getAttribute']('footnoteId'),_0x1d0cbe=this['getFootnote'](_0x5d655c);_0x1d0cbe&&(_0x1d0cbe['definition']=_0x1e9db3),_(_0x20a8cd,_0x3a3376,_0x1e9db3)&&(_0x1b5d7f=!0x0);}return _0x1b5d7f;}['_handleFootnoteReferencesChanges'](_0x45cead,_0x177257){let _0xeddb89=!0x1;const {removed:_0x19a2ff,inserted:_0x35486e,moved:_0x3a3d14}=this['_footnoteRefsTracker']['getChanges'](_0x177257);for(const _0x27e408 of _0x19a2ff)this['_handleRemoveFootnoteReferenceById'](_0x45cead,_0x27e408)&&(_0xeddb89=!0x0);for(const _0x2ca786 of _0x35486e)this['_handleInsertedFootnoteReference'](_0x45cead,_0x2ca786)&&(_0xeddb89=!0x0);for(const _0x194db9 of _0x3a3d14)this['_handleMovedFootnoteReference'](_0x45cead,_0x194db9)&&(_0xeddb89=!0x0);return _0xeddb89;}['_handleFootnotesDefinitionsObjectSync'](_0x5a2260){if(!this['_footnotesDefinitions'])return!0x1;let _0x4ce683=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x225508=[];for(const _0x11717f of this['_footnotesDefinitions']['getChildren']()){const _0x11c1d6=_0x11717f['getAttribute']('footnoteId');this['getFootnote'](_0x11c1d6)||(_0x225508['unshift'](_0x11717f),_0x4ce683=!0x0);}for(const _0x27c3fe of _0x225508)_0x5a2260['remove'](_0x27c3fe);}const _0xb7c9d2=new Set(),_0x542a59=[];for(const _0x56a031 of this['_footnotesDefinitions']['getChildren']()){const _0x14bcdd=_0x56a031['getAttribute']('footnoteId');_0xb7c9d2['has'](_0x14bcdd)?(_0x542a59['unshift'](_0x56a031),_0x4ce683=!0x0):_0xb7c9d2['add'](_0x14bcdd);}for(const _0x1ea3c3 of _0x542a59)_0x5a2260['remove'](_0x1ea3c3);return this['_footnotesDefinitions']['childCount']||(_0x5a2260['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4ce683=!0x0),_0x4ce683;}['_handleInsertedFootnoteReference'](_0x3f23c3,_0x464b68){if(this['_footnotes']['find'](_0x2d2303=>_0x2d2303['reference']===_0x464b68))return!0x1;let _0x5e86c2=!0x1;const _0x22b0d6=_0x464b68['getAttribute']('footnoteId'),_0x1040bc=this['_footnotes']['findIndex'](_0x21d2ca=>_0x21d2ca['id']===_0x22b0d6);-0x1!==_0x1040bc&&(_0x3f23c3['remove'](this['_footnotes'][_0x1040bc]['reference']),this['_footnotes']['splice'](_0x1040bc,0x1),_0x5e86c2=!0x0);let _0x4e2f15=this['_footnotesDefinitions']?function(_0x266d38,_0x11efea){for(const _0x2b2a4f of _0x266d38['getChildren']())if(_0x2b2a4f['getAttribute']('footnoteId')===_0x11efea)return _0x2b2a4f;return null;}(this['_footnotesDefinitions'],_0x22b0d6):null;_0x4e2f15||(_0x4e2f15=_0x3f23c3['createElement']('footnoteDefinition',{'footnoteId':_0x22b0d6}),this['_footnotesDefinitions']&&(_0x3f23c3['insert'](_0x4e2f15,this['_footnotesDefinitions'],'end'),_0x5e86c2=!0x0));const _0x7c00cf={'id':_0x22b0d6,'reference':_0x464b68,'definition':_0x4e2f15},_0x522aa6=I(this['editor']['model'],this['_footnotes'],_0x464b68);this['_footnotes']['splice'](_0x522aa6,0x0,_0x7c00cf);let _0x22366b=_0x522aa6;return-0x1!==_0x1040bc&&(_0x22366b=Math['min'](_0x522aa6,_0x1040bc)),this['_updateFootnotesCounters'](_0x3f23c3,_0x22366b)&&(_0x5e86c2=!0x0),_0x5e86c2;}['_handleRemoveFootnoteReferenceById'](_0x325771,_0x35edee){const _0x27c195=this['_footnotes']['findIndex'](_0x10841a=>_0x10841a['id']===_0x35edee);if(-0x1===_0x27c195)return!0x1;let _0x11ff71=!0x1;const _0x50ef9b=this['_footnotes'][_0x27c195];return'$graveyard'!==_0x50ef9b['definition']['root']['rootName']&&(_0x325771['remove'](_0x50ef9b['definition']),_0x11ff71=!0x0),this['_footnotes']['splice'](_0x27c195,0x1),this['_updateFootnotesCounters'](_0x325771,_0x27c195)&&(_0x11ff71=!0x0),_0x11ff71;}['_handleMovedFootnoteReference'](_0x1f43d6,_0x5eee0d){const _0x1eb153=_0x5eee0d['getAttribute']('footnoteId'),_0x39d1f9=this['_footnotes']['findIndex'](_0x52a127=>_0x52a127['id']===_0x1eb153),_0x2ea218=this['_footnotes'][_0x39d1f9];let _0xcdb346=!0x1;_0x2ea218['reference']=_0x5eee0d,this['_footnotes']['splice'](_0x39d1f9,0x1);const _0x5e2398=I(this['editor']['model'],this['_footnotes'],_0x5eee0d);return this['_footnotes']['splice'](_0x5e2398,0x0,_0x2ea218),this['_updateFootnotesCounters'](_0x1f43d6,Math['min'](_0x39d1f9,_0x5e2398))&&(_0xcdb346=!0x0),_0xcdb346;}['_updateFootnoteRefCounter'](_0x6545a9,_0x35c230){if(!this['_footnotesDefinitions'])return!0x1;const _0x474660=this['_footnotes'][_0x35c230];let _0x4cdd48;return _0x4cdd48=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x474660,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x35c230+0x1}):String(_0x35c230+0x1),_0x474660['reference']['getAttribute']('footnoteCounter')!=_0x4cdd48&&(_0x6545a9['setAttribute']('footnoteCounter',_0x4cdd48,_0x474660['reference']),!0x0);}['_sortFootnoteDefinitions'](_0xb6d83e){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3fc63a,_0x362920){if(_0x3fc63a['length']!==_0x362920['length'])return!0x1;for(let _0x9888a3=0x0;_0x9888a3<_0x3fc63a['length'];_0x9888a3++)if(_0x3fc63a[_0x9888a3]!==_0x362920[_0x9888a3])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x2338b4=>_0x2338b4['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x167ccd=>_0x167ccd['getAttribute']('footnoteId'))))return!0x1;let _0x34b995=!0x1;for(let _0x4e0993=0x0;_0x4e0993<this['_footnotes']['length'];_0x4e0993++){const _0xbb35c2=this['_footnotes'][_0x4e0993],_0x4bd733=_0xb6d83e['createPositionBefore'](_0xbb35c2['definition']),_0x2467fe=_0xb6d83e['createPositionAt'](this['_footnotesDefinitions'],_0x4e0993);_0x4bd733['isEqual'](_0x2467fe)||(_0xb6d83e['move'](_0xb6d83e['createRangeOn'](_0xbb35c2['definition']),_0x2467fe),_0x34b995=!0x0);}return _0x34b995;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3a2191){if(!this['_footnotes']['length'])return!0x1;const {model:_0x5dcc53}=this['editor'];let _0x544377=!0x1;for(let _0x447a1f=0x0;_0x447a1f<this['_footnotes']['length']-0x1;_0x447a1f++){const _0x865707=this['_footnotes'][_0x447a1f],_0x180aa5=this['_footnotes'][_0x447a1f+0x1],_0x29d118=_0x5dcc53['createPositionBefore'](_0x865707['reference']),_0x23c039=_0x5dcc53['createPositionBefore'](_0x180aa5['reference']);'after'===_0x29d118['compareWith'](_0x23c039)&&(this['_handleMovedFootnoteReference'](_0x3a2191,_0x865707['reference']),_0x447a1f=-0x1,_0x544377=!0x0);}return _0x544377;}}function _(_0x482837,_0x4f0a8c,_0x517be6){if(_0x517be6['childCount'])return!0x1;const _0x82b8d5=_0x4f0a8c?'paragraph':'footnoteInlineContent';return _0x482837['insert'](_0x482837['createElement'](_0x82b8d5),_0x517be6),!0x0;}function I(_0x238e26,_0x12d8c0,_0x34e8b1){if(0x0===_0x12d8c0['length'])return 0x0;const _0x4e2c06=_0x238e26['createPositionBefore'](_0x34e8b1);for(let _0x2c1ee1=0x0;_0x2c1ee1<_0x12d8c0['length'];_0x2c1ee1++){const _0x3aecb0=_0x12d8c0[_0x2c1ee1],_0x3d5eec=_0x238e26['createPositionBefore'](_0x3aecb0['reference']);if('before'===_0x4e2c06['compareWith'](_0x3d5eec))return _0x2c1ee1;}const _0x291338=_0x34e8b1['root'];let _0x8eba3a=-0x1;for(let _0x1bee29=_0x12d8c0['length']-0x1;_0x1bee29>=0x0;_0x1bee29--)if(_0x12d8c0[_0x1bee29]['reference']['root']===_0x291338){_0x8eba3a=_0x1bee29;break;}if(-0x1!==_0x8eba3a)return _0x8eba3a+0x1;const _0x42bab6=_0x238e26['document']['getRootNames'](),_0x45a431=_0x42bab6['indexOf'](_0x291338['rootName']),_0x12330b=_0x42bab6[_0x45a431+0x1];if(_0x12330b){for(let _0x34fa08=0x0;_0x34fa08<_0x12d8c0['length'];_0x34fa08++)if(_0x12d8c0[_0x34fa08]['reference']['root']['rootName']===_0x12330b)return _0x34fa08;}return _0x12d8c0['length'];}class h extends _0x17b8c2{['refresh'](){const _0x1a1089=this['editor']['model']['document']['selection'],_0x4a9d36=this['_getPositionToInsertFootnote'](_0x1a1089);this['isEnabled']=!!_0x4a9d36;}['execute'](_0xa047b0){const {editor:_0x530ae1}=this,{model:_0xa2e55}=_0x530ae1,{selection:_0x538d70}=_0xa2e55['document'],_0x5f3e93=this['_getPositionToInsertFootnote'](_0x538d70);if(!_0x5f3e93)return;const _0x11ddef=_0x530ae1['plugins']['get']('FootnotesEditing'),_0x3a5a40=_0xa047b0?.['footnoteId']??_0x103fff();!function(_0x3b98b1){return'string'==typeof _0x3b98b1&&_0x3b98b1['length']>0x0&&!/\s/['test'](_0x3b98b1)&&!/^\d/['test'](_0x3b98b1);}(_0x3a5a40)?_0x6f6007('insert-footnote-command-executed-with-invalid-id'):(_0xa2e55['change'](_0x294401=>{const _0x56296d=_0x294401['createElement']('footnoteRef',{'footnoteId':_0x3a5a40});_0xa2e55['insertObject'](_0x56296d,_0x5f3e93,null);}),_0x11ddef['_moveSelectionToFootnoteDefinition'](_0x3a5a40));}['_getPositionToInsertFootnote'](_0x59eb5e){const {model:_0x45e3b3}=this['editor'],{schema:_0x104f1e}=_0x45e3b3,_0x294081=_0x59eb5e['getFirstRange']();for(const _0x3243a9 of _0x294081['getItems']())if(_0x104f1e['isBlock'](_0x3243a9)||_0x104f1e['isObject'](_0x3243a9))return null;const _0x1f6e11=_0x294081['end'];return _0x104f1e['checkChild'](_0x1f6e11,'footnoteRef')?_0x1f6e11:null;}}class r extends _0x52c91a{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x284158}=this;_0x284158['config']['define']('footnotes.multiBlock',!0x0),_0x284158['commands']['add']('insertFootnote',new h(_0x284158)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2ae7b1){const _0x36ff75=_0x4b1d84([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]),_0x264438=0x47a28506,_0x539236=0x47a50396^_0x264438,_0x3bd6ea=window[_0x4b1d84([0x44,0x61,0x74,0x65])][_0x4b1d84([0x6e,0x6f,0x77])](),_0x447a8c=_0x2ae7b1[_0x4b1d84([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5da812=new window[(_0x4b1d84([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x33673e=>{_0x447a8c[_0x4b1d84([0x6f,0x6e,0x63,0x65])](_0x4b1d84([0x72,0x65,0x61,0x64,0x79]),_0x33673e);}),_0x21e016={[_0x4b1d84([0x6b,0x74,0x79])]:_0x4b1d84([0x45,0x43]),[_0x4b1d84([0x75,0x73,0x65])]:_0x4b1d84([0x73,0x69,0x67]),[_0x4b1d84([0x63,0x72,0x76])]:_0x4b1d84([0x50,0x2d,0x32,0x35,0x36]),[_0x4b1d84([0x78])]:_0x4b1d84([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]),[_0x4b1d84([0x79])]:_0x4b1d84([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]),[_0x4b1d84([0x61,0x6c,0x67])]:_0x4b1d84([0x45,0x53,0x32,0x35,0x36])},_0x5ae118=_0x447a8c[_0x4b1d84([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b1d84([0x67,0x65,0x74])](_0x4b1d84([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x540931(){let _0x177507,_0x5aa9c6=null,_0x357927=null;try{if(_0x5ae118==_0x4b1d84([0x47,0x50,0x4c]))return _0x4b1d84([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x177507=_0x46d457(),!_0x177507)return _0x4b1d84([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x177507[_0x4b1d84([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x357927=_0x830acb(_0x177507[_0x4b1d84([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x177507[_0x4b1d84([0x6a,0x74,0x69])])),await _0x135392()?_0x7cb268()?_0x6c2c85()?_0x4b1d84([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2628d8()?(_0x177507[_0x4b1d84([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b1d84([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5aa9c6=_0x49a9a8(_0x4b1d84([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4efcfb()):_0x4b1d84([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b1d84([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b1d84([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b1d84([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x6c2c85(){const _0x127666=[_0x4b1d84([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b1d84([0x74,0x72,0x69,0x61,0x6c])][_0x4b1d84([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x177507[_0x4b1d84([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3bd6ea/0x3e8:0xe10*_0x539236;return _0x177507[_0x4b1d84([0x65,0x78,0x70])]<_0x127666;}function _0x7cb268(){const _0x53cc29=_0x177507[_0x4b1d84([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x53cc29&&(!!_0x53cc29[_0x4b1d84([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b1d84([0x2a]))||!!_0x53cc29[_0x4b1d84([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b1d84([0x46,0x4f,0x4f])));}function _0x2628d8(){const _0x4c66ab=_0x177507[_0x4b1d84([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4c66ab||0x0==_0x4c66ab[_0x4b1d84([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x341b2f}=new URL(window[_0x4b1d84([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4c66ab[_0x4b1d84([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x341b2f))return!0x0;const _0x106e78=_0x341b2f[_0x4b1d84([0x73,0x70,0x6c,0x69,0x74])](_0x4b1d84([0x2e]));return _0x4c66ab[_0x4b1d84([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xaa0395=>_0xaa0395[_0x4b1d84([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b1d84([0x2a])))[_0x4b1d84([0x6d,0x61,0x70])](_0x540551=>_0x540551[_0x4b1d84([0x73,0x70,0x6c,0x69,0x74])](_0x4b1d84([0x2e])))[_0x4b1d84([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50ec22=>_0x50ec22[_0x4b1d84([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x106e78[_0x4b1d84([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b1d84([0x6d,0x61,0x70])](_0x24878c=>Array(_0x106e78[_0x4b1d84([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x24878c[_0x4b1d84([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b1d84([0x66,0x69,0x6c,0x6c])](_0x24878c[0x0]===_0x4b1d84([0x2a])?_0x4b1d84([0x2a]):'')[_0x4b1d84([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x24878c))[_0x4b1d84([0x73,0x6f,0x6d,0x65])](_0x172782=>_0x106e78[_0x4b1d84([0x65,0x76,0x65,0x72,0x79])]((_0x42e978,_0x39cbc3)=>_0x172782[_0x39cbc3]===_0x42e978||_0x172782[_0x39cbc3]===_0x4b1d84([0x2a])));}function _0x4efcfb(){return _0x5aa9c6&&_0x357927?new window[(_0x4b1d84([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2fbf3c,_0x756b23)=>{_0x5aa9c6[_0x4b1d84([0x74,0x68,0x65,0x6e])](_0x2fbf3c,_0x756b23),_0x357927[_0x4b1d84([0x74,0x68,0x65,0x6e])](_0x8584f0=>{_0x8584f0!=_0x4b1d84([0x56,0x61,0x6c,0x69,0x64])&&_0x2fbf3c(_0x8584f0);},_0x756b23);}):_0x5aa9c6||_0x357927||_0x4b1d84([0x56,0x61,0x6c,0x69,0x64]);}}function _0x830acb(_0x32e029,_0x111a85){return new window[(_0x4b1d84([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c366e=>{if(_0x3265f7())return _0x2c366e(_0x4b1d84([0x56,0x61,0x6c,0x69,0x64]));_0x43f5ab(),_0x447a8c[_0x4b1d84([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b1d84([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x497fe2=!0x1;const _0x262d97=_0x103fff();function _0x36f4f4(_0x505319){return!!_0x505319&&(typeof _0x505319===_0x4b1d84([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x505319===_0x4b1d84([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x505319[_0x4b1d84([0x74,0x68,0x65,0x6e])]===_0x4b1d84([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x505319[_0x4b1d84([0x63,0x61,0x74,0x63,0x68])]===_0x4b1d84([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x16fe76(_0x5b7963){_0x57fbac(_0x5b7963)[_0x4b1d84([0x74,0x68,0x65,0x6e])](_0x536eca=>{if(!_0x536eca||_0x536eca[_0x4b1d84([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b1d84([0x6f,0x6b]))return _0x4b1d84([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ff5c1(_0x408740(_0x262d97+_0x111a85))!=_0x536eca[_0x4b1d84([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b1d84([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b1d84([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b1d84([0x74,0x68,0x65,0x6e])](_0x1976f0=>(_0x1afb8c(),_0x1976f0),()=>{const _0xba0f9=_0x586323();return null==_0xba0f9?(_0x1afb8c(),_0x4b1d84([0x56,0x61,0x6c,0x69,0x64])):_0x4b1d84(_0x3bd6ea-_0xba0f9>(0x63ae0106^_0x264438)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b1d84([0x74,0x68,0x65,0x6e])](_0x2c366e)[_0x4b1d84([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c366e(_0x4b1d84([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4d8d60=0x47946b86^_0x264438;function _0x1afb8c(){const _0x14b5b3=_0x4b1d84([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ff5c1(_0x408740(_0x32e029)),_0xcd5836=_0x590163(_0x1ff5c1(window[_0x4b1d84([0x4d,0x61,0x74,0x68])][_0x4b1d84([0x63,0x65,0x69,0x6c])](_0x3bd6ea/_0x4d8d60)));window[_0x4b1d84([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b1d84([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14b5b3,_0xcd5836);}function _0x586323(){const _0x2c50af=_0x4b1d84([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ff5c1(_0x408740(_0x32e029)),_0x1fc817=window[_0x4b1d84([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b1d84([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c50af);return _0x1fc817?window[_0x4b1d84([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x590163(_0x1fc817),0x10)*_0x4d8d60:null;}function _0x57fbac(_0x3faa54){return new window[(_0x4b1d84([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x37c6b0,_0x104f5d)=>{_0x3faa54[_0x4b1d84([0x74,0x68,0x65,0x6e])](_0x37c6b0,_0x104f5d),window[_0x4b1d84([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x104f5d,0x47a351c6^_0x264438);});}}_0x447a8c[_0x4b1d84([0x6f,0x6e])](_0x4b1d84([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x29816b,_0x44fa0a)=>{if(_0x44fa0a[0x0]!=_0x32e029)return _0x2c366e(_0x4b1d84([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44fa0a[0x1]={..._0x44fa0a[0x1],[_0x4b1d84([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x262d97};},{[_0x4b1d84([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b1d84([0x68,0x69,0x67,0x68])}),_0x447a8c[_0x4b1d84([0x6f,0x6e])](_0x4b1d84([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x35bc82=>{_0x36f4f4(_0x35bc82[_0x4b1d84([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x497fe2=!0x0,_0x16fe76(_0x35bc82[_0x4b1d84([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b1d84([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b1d84([0x6c,0x6f,0x77])}),_0x5da812[_0x4b1d84([0x74,0x68,0x65,0x6e])](()=>{_0x497fe2||_0x2c366e(_0x4b1d84([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3265f7(){return _0x447a8c[_0x4b1d84([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b1d84([0x76,0x69,0x65,0x77])][_0x4b1d84([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b1d84([0x61,0x75,0x74,0x6f]);}function _0x43f5ab(){_0x447a8c[_0x4b1d84([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b1d84([0x76,0x69,0x65,0x77])][_0x4b1d84([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b1d84([0x61,0x75,0x74,0x6f]);}}function _0x49a9a8(_0x4ebeb8){const _0x110ba6=[new window[(_0x4b1d84([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59fa1f=>setTimeout(_0x59fa1f,0x47abbbca^_0x264438)),_0x5da812[_0x4b1d84([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b1d84([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x306866=>{let _0x57cf32=0x0;_0x447a8c[_0x4b1d84([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b1d84([0x6f,0x6e])](_0x4b1d84([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d2c8e,_0x3c427e)=>{_0x3c427e[0x0][_0x4b1d84([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x57cf32++,_0x57cf32==(0x47a280ee^_0x264438)&&(_0x306866(),_0x5d2c8e[_0x4b1d84([0x6f,0x66,0x66])]());});}))];return window[_0x4b1d84([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b1d84([0x72,0x61,0x63,0x65])](_0x110ba6)[_0x4b1d84([0x74,0x68,0x65,0x6e])](()=>_0x4ebeb8);}async function _0x3a8e60(){await _0x5da812,_0x447a8c[_0x4b1d84([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b1d84([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42a1c9,_0x447a8c[_0x4b1d84([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b1d84([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42a1c9,_0x447a8c[_0x4b1d84([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b1d84([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x31801b(_0x1c576e){const _0x416177=_0x94162f();_0x447a8c[_0x416177]=_0x4b1d84([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1c576e,_0x1c576e!=_0x4b1d84([0x56,0x61,0x6c,0x69,0x64])&&_0x3a8e60();}function _0x94162f(){const _0x4fde3d=window[_0x4b1d84([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b1d84([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b1d84([0x6e,0x6f,0x77])]())[_0x4b1d84([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b1d84([0x2e]),'');let _0x477d68=_0x4b1d84([0x75]);for(let _0xd6af2b=0x0;_0xd6af2b<_0x4fde3d[_0x4b1d84([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd6af2b+=0x2){let _0x5cb77e=window[_0x4b1d84([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fde3d[_0x4b1d84([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xd6af2b,_0xd6af2b+0x2));_0x5cb77e>=_0x36ff75[_0x4b1d84([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5cb77e-=_0x36ff75[_0x4b1d84([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x477d68+=_0x36ff75[_0x5cb77e];}return _0x477d68;}function _0x46d457(){const _0x143714=_0x5ae118[_0x4b1d84([0x73,0x70,0x6c,0x69,0x74])](_0x4b1d84([0x2e]));if(0x3!=_0x143714[_0x4b1d84([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x312896(_0x143714[0x1]);function _0x312896(_0x1c3e7a){const _0x3b951=_0x4b668f(_0x1c3e7a);return _0x3b951&&_0x461ca5()?_0x3b951:null;function _0x461ca5(){const _0x57f559=_0x3b951[_0x4b1d84([0x6a,0x74,0x69])],_0x239632=window[_0x4b1d84([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57f559[_0x4b1d84([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x57f559[_0x4b1d84([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2fb186={..._0x3b951,[_0x4b1d84([0x6a,0x74,0x69])]:_0x57f559[_0x4b1d84([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x57f559[_0x4b1d84([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2fb186[_0x4b1d84([0x76,0x63])],_0x408740(_0x2fb186)==_0x239632;}}}async function _0x135392(){let _0x461cf9=!0x0;try{const _0x271f4a=_0x5ae118[_0x4b1d84([0x73,0x70,0x6c,0x69,0x74])](_0x4b1d84([0x2e])),[_0x18ef58,_0x5a49c7,_0x2cb13c]=_0x271f4a;return _0x46ff1c(_0x18ef58),await _0x2887c0(_0x18ef58,_0x5a49c7,_0x2cb13c),_0x461cf9;}catch{return!0x1;}function _0x46ff1c(_0x26385c){const _0x36b5d0=_0x4b668f(_0x26385c);_0x36b5d0&&_0x36b5d0[_0x4b1d84([0x61,0x6c,0x67])]==_0x4b1d84([0x45,0x53,0x32,0x35,0x36])||(_0x461cf9=!0x1);}async function _0x2887c0(_0xccd0c9,_0x475df8,_0x1990cd){const _0x5ee89d=window[_0x4b1d84([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b1d84([0x66,0x72,0x6f,0x6d])](_0x372dd3(_0x1990cd),_0x2c6f0b=>_0x2c6f0b[_0x4b1d84([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4f1496=new window[(_0x4b1d84([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b1d84([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xccd0c9+_0x4b1d84([0x2e])+_0x475df8),_0x3de143=window[_0x4b1d84([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b1d84([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3de143)return;const _0x5cb00b=await _0x3de143[_0x4b1d84([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b1d84([0x6a,0x77,0x6b]),_0x21e016,{[_0x4b1d84([0x6e,0x61,0x6d,0x65])]:_0x4b1d84([0x45,0x43,0x44,0x53,0x41]),[_0x4b1d84([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b1d84([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b1d84([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3de143[_0x4b1d84([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b1d84([0x6e,0x61,0x6d,0x65])]:_0x4b1d84([0x45,0x43,0x44,0x53,0x41]),[_0x4b1d84([0x68,0x61,0x73,0x68])]:{[_0x4b1d84([0x6e,0x61,0x6d,0x65])]:_0x4b1d84([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5cb00b,_0x5ee89d,_0x4f1496)||(_0x461cf9=!0x1);}}function _0x4b668f(_0x29089c){return _0x29089c[_0x4b1d84([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b1d84([0x65,0x79]))?JSON[_0x4b1d84([0x70,0x61,0x72,0x73,0x65])](_0x372dd3(_0x29089c)):null;}function _0x372dd3(_0x7da81){return window[_0x4b1d84([0x61,0x74,0x6f,0x62])](_0x7da81[_0x4b1d84([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b1d84([0x2b]))[_0x4b1d84([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b1d84([0x2f])));}function _0x408740(_0x1bc850){let _0xca6938=0x1505;function _0x55a46e(_0x1d039b){for(let _0x52312f=0x0;_0x52312f<_0x1d039b[_0x4b1d84([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52312f++){const _0xa421a7=_0x1d039b[_0x4b1d84([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x52312f);_0xca6938=(_0xca6938<<0x5)+_0xca6938+_0xa421a7,_0xca6938&=_0xca6938;}}function _0x8e8bf2(_0x401de4){Array[_0x4b1d84([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x401de4)?_0x401de4[_0x4b1d84([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x8e8bf2):_0x401de4&&typeof _0x401de4==_0x4b1d84([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b1d84([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x401de4)[_0x4b1d84([0x73,0x6f,0x72,0x74])]()[_0x4b1d84([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2e80a1,_0x5b0a47])=>{_0x55a46e(_0x2e80a1),_0x8e8bf2(_0x5b0a47);}):_0x55a46e(window[_0x4b1d84([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x401de4));}return _0x8e8bf2(_0x1bc850),_0xca6938>>>0x0;}function _0x1ff5c1(_0x1bf532){return _0x1bf532[_0x4b1d84([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b1d84([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b1d84([0x30]));}function _0x590163(_0x2274d7){return _0x2274d7[_0x4b1d84([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b1d84([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b1d84([0x6a,0x6f,0x69,0x6e])]('');}function _0x42a1c9(){}function _0x4b1d84(_0x51b516){return _0x51b516['map'](_0x54b135=>String['fromCharCode'](_0x54b135))['join']('');}_0x31801b(await _0x540931());}(this);}['_moveSelectionToFootnoteDefinition'](_0x437fc4){const {plugins:_0x5048c3,editing:_0x3ff388,model:_0xb127c1}=this['editor'],_0x5a2656=_0x5048c3['get'](f)['getFootnote'](_0x437fc4);return!!_0x5a2656&&(_0xb127c1['change'](_0x2c9d3a=>{_0x2c9d3a['setSelection'](_0x2c9d3a['createPositionAt'](_0x5a2656['definition'],'end'));}),_0x3ff388['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4d0c64){const {plugins:_0x30d411,editing:_0x278d63,model:_0x46d84e}=this['editor'],_0x49815e=_0x30d411['get'](f)['getFootnote'](_0x4d0c64);return!!_0x49815e&&(_0x46d84e['change'](_0x4f584d=>{_0x4f584d['setSelection'](_0x49815e['reference'],'on');}),_0x278d63['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x433eb6}=this['editor']['model'],_0x4f30f2=this['editor']['config']['get']('footnotes.multiBlock');_0x433eb6['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x433eb6['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x433eb6['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4f30f2?_0x433eb6['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x433eb6['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x433eb6['addChildCheck'](_0x34372e=>{for(const _0x2e4448 of _0x34372e)if('footnoteDefinition'===_0x2e4448['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1ed55a}=this,{conversion:_0x5e775f,editing:_0x4dec6e}=_0x1ed55a,{t:t}=_0x1ed55a['locale'];_0x5e775f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3398c1,{writer:_0x266307,consumable:_0x4d429f})=>{const _0x2d7cf6=_0x3398c1['getChild'](0x0);if(!_0x2d7cf6||!_0x2d7cf6['is']('element','a'))return null;const _0x39ea29=_0x2d7cf6['getAttribute']('href')||'';if(!_0x39ea29['startsWith']('#'))return null;const _0x12868a=_0x39ea29['replace'](/^#/,'');if(!_0x12868a)return null;_0x4d429f['consume'](_0x2d7cf6,{'name':!0x0,'attributes':['href']});for(const {item:_0x548b72}of _0x4dec6e['view']['createRangeIn'](_0x2d7cf6))_0x548b72['is']('$textProxy')?_0x4d429f['consume'](_0x548b72['textNode'],{'name':!0x0}):_0x548b72['is']('element')&&_0x4d429f['consume'](_0x548b72,{'name':!0x0});return _0x266307['createElement']('footnoteRef',{'footnoteId':_0x12868a});}}),_0x5e775f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5d7c19,{writer:_0x16d535})=>b(_0x5d7c19,_0x16d535)}),_0x5e775f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3086c0,{writer:_0x544860})=>{const _0xf1efc1=_0x3086c0['getAttribute']('footnoteCounter');return _0x3e5be2(b(_0x3086c0,_0x544860),_0x544860,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xf1efc1)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1f9585}=this,{t:t}=_0x1f9585['locale'],{conversion:_0x573125}=_0x1f9585;_0x573125['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x573125['for']('upcast')['add'](_0x10897f=>{_0x10897f['on']('element:ol',(_0x25b07f,_0x5895a2,_0x4c88f6)=>{const _0x38ce89=_0x5895a2['viewItem'];if(!_0x38ce89['hasClass']('footnotes-list')||!_0x5895a2['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4c88f6['consumable']['consume'](_0x38ce89,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2568f2,modelCursor:_0x2a2857}=_0x4c88f6['convertChildren'](_0x5895a2['viewItem'],_0x5895a2['modelCursor']);_0x5895a2['modelRange']=_0x2568f2,_0x5895a2['modelCursor']=_0x2a2857;}),_0x10897f['on']('element:hr',(_0x1b94c1,_0x59ff50,_0xe45ebd)=>{const _0x3d07fe=_0x59ff50['viewItem'];_0x3d07fe['hasClass']('footnotes-divider')&&_0x59ff50['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xe45ebd['consumable']['consume'](_0x3d07fe,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x573125['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4e9c09,{writer:_0x41967c})=>D(_0x41967c)}),_0x573125['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xb56204,{writer:_0xe0da3f})=>{const _0x28d931=D(_0xe0da3f,{'data-footnotes-list-label':t('Footnotes')}),_0xcf009d=_0x3e5be2(_0x28d931,_0xe0da3f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xe0da3f['setCustomProperty']('footnotesDefinitions',!0x0,_0xcf009d),_0xcf009d;}});}['_defineDefinitionConverters'](){const {editor:_0x5eda0a}=this,{conversion:_0x2b1cc9,locale:_0x521df1}=_0x5eda0a,_0x454ff9=_0x5eda0a['config']['get']('footnotes.multiBlock');_0x2b1cc9['for']('upcast')['add'](_0x4995e8=>{_0x4995e8['on']('element:li',(_0x3fa48f,_0x89d9ed,_0x47abbb)=>{const _0x267d36=_0x89d9ed['viewItem'];if(!_0x267d36['hasClass']('footnote-definition')||!_0x267d36['getAttribute']('id'))return;const _0x1b18cc=_0x267d36['parent'];if(!_0x1b18cc['is']('element','ol')||!_0x1b18cc['hasClass']('footnotes-list'))return;if(!_0x47abbb['consumable']['test'](_0x267d36,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x582c78=_0x47abbb['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x267d36['getAttribute']('id')});if(!_0x47abbb['safeInsert'](_0x582c78,_0x89d9ed['modelCursor']))return;_0x47abbb['consumable']['consume'](_0x267d36,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x368b32=Array['from'](_0x267d36['getChildren']())['find'](_0x3867fb=>_0x3867fb['is']('element')&&_0x3867fb['hasClass']('footnote-content'));for(const _0x36c968 of _0x267d36['getChildren']())_0x36c968['is']('element')&&(_0x47abbb['consumable']['consume'](_0x36c968,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x47abbb['consumable']['consume'](_0x36c968,{'name':!0x0,'classes':'footnote-content'}));if(_0x368b32){if(_0x454ff9)_0x47abbb['convertChildren'](_0x368b32,_0x582c78);else{const _0x44d46f=_0x47abbb['writer']['createElement']('footnoteInlineContent');_0x47abbb['writer']['insert'](_0x44d46f,_0x582c78),_0x47abbb['convertChildren'](_0x368b32,_0x44d46f);}}_0x47abbb['updateConversionResult'](_0x582c78,_0x89d9ed);});}),_0x2b1cc9['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4a36a8,{writer:_0xef0328})=>y(_0x4a36a8,_0xef0328,_0x521df1,{'dataPipeline':!0x0})}),_0x2b1cc9['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x18688e,{writer:_0x3b75e0})=>y(_0x18688e,_0x3b75e0,_0x521df1)});}['_defineBogusParagraphConverters'](){const {editor:_0x1682d9}=this,{conversion:_0x18f4df}=_0x1682d9;_0x1682d9['config']['get']('footnotes.multiBlock')?(_0x18f4df['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x18f4df['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1682d9['model']['document'],'change:data',()=>{!function(_0x297f6e,_0x29439d){const _0xf7078a=_0x297f6e['document']['differ'],_0x440878=new Set();for(const _0xa3363d of _0xf7078a['getChanges']()){const _0x35f9af='attribute'==_0xa3363d['type']?_0xa3363d['range']['start']['parent']:_0xa3363d['position']['parent'];_0x35f9af['is']('element','footnoteDefinition')&&_0x440878['add'](_0x35f9af);}for(const _0x396d9e of _0x440878['values']()){const _0x1b9f6f=Array['from'](_0x396d9e['getChildren']())['filter'](_0x4399cd=>v(_0x4399cd,_0x29439d['mapper']));for(const _0x8d7c5b of _0x1b9f6f)_0x29439d['reconvertItem'](_0x8d7c5b);}}(_0x1682d9['model'],_0x1682d9['editing']);})):(_0x18f4df['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x18f4df['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1c778b,{writer:_0x28cdad})=>{const _0x416969=_0x28cdad['createContainerElement']('span');return _0x28cdad['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x416969),_0x416969;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1ea670}=this,{editing:_0x1b1a01,t:t}=_0x1ea670,_0x11dacc=_0x1ea670['model']['document']['selection'];_0x1ea670['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1ea670['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1b1a01['view']['document'],'enter',(_0x2c723e,_0x22743d)=>{const _0x385da8=function(_0x329776){const _0x17edd6=_0x329776['getSelectedElement']();if(_0x17edd6?.['is']('element','footnoteRef'))return _0x17edd6;return null;}(_0x11dacc);if(_0x385da8){const _0x496501=_0x385da8['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x496501),_0x22743d['preventDefault'](),_0x2c723e['stop']();}},{'context':_0xe316e2});}['_defineClickHandlers'](){const {editor:_0x2ce053}=this,{editing:_0x228537}=_0x2ce053;_0x2ce053['editing']['view']['addObserver'](_0x502c1d),_0x2ce053['editing']['view']['addObserver'](_0x32dba0);let _0x189bf3=!0x1;this['listenTo'](_0x228537['view']['document'],'pointerdown',(_0x4bddbb,_0xc32b7d)=>{const {target:_0x5396ed}=_0xc32b7d,_0x488d78=_0x228537['view']['document']['selection'];_0x189bf3=!!(_0x5396ed?.['is']('element','a')&&_0x5396ed['parent']?.['is']('element','sup')&&_0x5396ed['parent']['hasClass']('footnote'))&&_0x488d78['getSelectedElement']()===_0x5396ed['parent'];},{'priority':'high'}),this['listenTo'](_0x228537['view']['document'],'click',(_0x3bc20b,_0x3bba8a)=>{const {target:_0x3c705e}=_0x3bba8a;if(!_0x3c705e?.['is']('element','a'))return;if(_0x3c705e['parent']?.['is']('element','sup')&&_0x3c705e['parent']['hasClass']('footnote')&&!_0x189bf3)return void _0x3bba8a['preventDefault']();let _0x409fcc=_0x3c705e['getAttribute']('href');if(!_0x409fcc?.['startsWith']('#'))return;_0x409fcc=_0x409fcc['slice'](0x1);let _0x159165=!0x1;(_0x409fcc['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x409fcc['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x409fcc))&&(_0x159165=!0x0),_0x159165&&(_0x3bba8a['preventDefault'](),_0x3bc20b['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x5b6f63}={}){return(_0x3d8a48,{writer:_0x3e1d57})=>{if(!g(_0x3d8a48))return null;if(!_0x5b6f63)return _0x3e1d57['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x332418=_0x3e1d57['createContainerElement']('p');return _0x3e1d57['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x332418),_0x332418;};}function g(_0x535703){const {parent:_0x151027}=_0x535703;if(!_0x151027?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x151027['childCount'])return!0x1;for(const _0x160f3e of _0x535703['getAttributeKeys']())if(!_0x160f3e['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x160f3e)return!0x1;return!0x0;}function v(_0x3f69a9,_0x44cce5){if(!_0x3f69a9['is']('element','paragraph'))return!0x1;const _0x1ad1cb=_0x44cce5['toViewElement'](_0x3f69a9);return!!_0x1ad1cb&&g(_0x3f69a9)!==_0x1ad1cb['is']('element','span');}function Q(_0x2c1ccc){return _0xe316e2(_0x2c1ccc)&&_0x2c1ccc['is']('containerElement')&&!!_0x2c1ccc['getCustomProperty']('footnotesDefinitions');}function D(_0x3f6ffe,_0x1e4d06={}){const _0x1ec5e2=_0x3f6ffe['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3af2e3=_0x3f6ffe['createContainerElement']('ol',{'class':'footnotes-list'},_0x3f6ffe['createSlot']());return _0x3f6ffe['createContainerElement']('div',{'class':'footnotes',..._0x1e4d06},[_0x1ec5e2,_0x3af2e3]);}function b(_0xf94c47,_0x6bbc98){const _0x169359=_0xf94c47['getAttribute']('footnoteId'),_0x31667a=_0xf94c47['getAttribute']('footnoteCounter'),_0x462064=_0x6bbc98['createUIElement']('a',{'href':'#'+_0x169359},function(_0x2bd3c2){const _0x5c8ddb=this['toDomElement'](_0x2bd3c2);return _0x5c8ddb['textContent']=_0x31667a,_0x5c8ddb;}),_0x79d215=_0x6bbc98['createContainerElement']('sup',{'id':'ref-'+_0x169359,'class':'footnote'},[_0x462064]);return _0x79d215['getFillerOffset']=()=>null,_0x79d215;}function y(_0x56b7f1,_0x187dad,_0x1c3748,{dataPipeline:_0x4f78d4}={}){const {t:t}=_0x1c3748,_0x5f1f71=_0x56b7f1['getAttribute']('footnoteId'),_0x1134d6=_0x187dad['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5f1f71},function(_0x242fcc){const _0xb2b8e2=this['toDomElement'](_0x242fcc);return _0xb2b8e2['innerText']='^',_0xb2b8e2;}),_0x56da9b=_0x4f78d4?_0x187dad['createContainerElement']('div',{'class':'footnote-content'}):_0x4c83a2(_0x187dad['createEditableElement']('div',{'class':'footnote-content'}),_0x187dad,{'label':t('Footnote\x20content.')});return _0x187dad['insert'](_0x187dad['createPositionAt'](_0x56da9b,0x0),_0x187dad['createSlot']()),_0x187dad['createContainerElement']('li',{'class':'footnote-definition','id':_0x5f1f71},[_0x1134d6,_0x56da9b]);}class e extends _0x52c91a{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x1f257f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x34d6e9}=this,{plugins:_0x140d1b,model:_0x489fca}=_0x34d6e9,_0x500b87=_0x140d1b['get'](_0x1f257f),_0x2db072=_0x140d1b['get'](f);this['listenTo'](_0x500b87,'outputTransformation',(_0x2f4363,_0x1b52b6)=>{const _0x19ec1b=l(_0x489fca['createRangeIn'](_0x1b52b6['content']));if(!_0x19ec1b['length'])return;const _0x2c2f85=_0x2db072['getFootnotes'](),_0x1526be=_0x19ec1b['reduce']((_0xda4598,_0xbe40ff)=>{const _0x138a1f=_0x2c2f85['find'](_0x1fdad0=>_0x1fdad0['id']===_0xbe40ff);if(_0x138a1f){const _0x3165e9=_0x34d6e9['data']['toView'](_0x138a1f['definition'],{'isClipboardPipeline':!0x0}),_0x2c5985=_0x34d6e9['data']['htmlProcessor']['toData'](_0x3165e9);_0xda4598[_0x138a1f['id']]=_0x2c5985;}return _0xda4598;},Object['create'](null));_0x1b52b6['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1526be));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x475f06}=this,{model:_0x1d4d51,plugins:_0x1354a0}=_0x475f06,{view:_0x5b559e}=_0x475f06['editing'],_0x570e3f=_0x1354a0['get'](_0x1f257f),_0x26cc72=_0x1354a0['get'](f),_0x16e910=_0x475f06['config']['get']('footnotes.multiBlock');let _0x3fe476=null;this['listenTo'](_0x5b559e['document'],'clipboardInput',(_0x323a0e,_0xb968fb)=>{const _0x4a6781=_0xb968fb['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3fe476=_0x4a6781?JSON['parse'](_0x4a6781):null;}),this['listenTo'](_0x570e3f,'contentInsertion',(_0x517fec,_0x362228)=>{const _0x45b146=_0x362228['sourceEditorId']===this['editor']['id'];_0x45b146&&'drop'===_0x362228['method']||_0x1d4d51['change'](_0x2fb954=>{let _0x5ae4ef=_0x26cc72['getFootnotesDefinitionsObjectElement']();const _0x81af61=!!_0x5ae4ef&&Array['from'](_0x1d4d51['document']['selection']['getSelectedBlocks']())['includes'](_0x5ae4ef);if(!_0x3fe476&&function(_0x54288d){for(const {item:_0x3bd072}of _0x54288d)if(_0x3bd072['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x1d4d51['createRangeIn'](_0x362228['content']))&&(_0x3fe476=function(_0x39b828,_0x5ecce7){const _0x2ccd57=c(_0x39b828,_0x5ecce7);if(!_0x2ccd57)return null;const _0x4c09bd=Object['create'](null);for(const _0x430aed of _0x2ccd57['getChildren']())_0x430aed['is']('element','footnoteDefinition')&&_0x430aed['hasAttribute']('footnoteId')&&(_0x4c09bd[_0x430aed['getAttribute']('footnoteId')]=_0x39b828['cloneElement'](_0x430aed,!0x0));return Object['keys'](_0x4c09bd)['length']?_0x4c09bd:null;}(_0x2fb954,_0x362228['content'])),(_0x5ae4ef&&!_0x81af61||!_0x5ae4ef&&!_0x3fe476)&&function(_0x4752da,_0x2df3ff){const _0x33f5ce=[];for(const {item:_0x2f1364}of _0x4752da['createRangeIn'](_0x2df3ff))_0x2f1364['is']('element','footnotesDefinitions')&&_0x33f5ce['push'](_0x2f1364);for(const _0x2c2ecc of _0x33f5ce)_0x4752da['remove'](_0x2c2ecc);}(_0x2fb954,_0x362228['content']),!_0x3fe476)return;const {selection:_0x214335}=_0x1d4d51['document'],_0x46d8fe=_0x214335['getFirstRange']()['root'];_0x5ae4ef&&!_0x81af61||(_0x5ae4ef=c(_0x2fb954,_0x362228['content']),_0x5ae4ef||=_0x26cc72['_insertEmptyFootnotesDefinitionsContainer'](_0x2fb954,_0x46d8fe));const _0x2a16bb=Array['from'](_0x214335['getRanges']())['flatMap'](l),_0x5151a9=function(_0x30892b,_0x374459,_0x3ecd15){const _0x377479=Object['create'](null);for(const {item:_0x5e66f2}of _0x30892b['createRangeIn'](_0x374459))if(_0x5e66f2['is']('element','footnoteRef')){const _0x4cd6a4=_0x5e66f2['getAttribute']('footnoteId');if(!_0x3ecd15(_0x4cd6a4))continue;_0x377479[_0x4cd6a4]||(_0x377479[_0x4cd6a4]=_0x103fff()),_0x30892b['setAttribute']('footnoteId',_0x377479[_0x4cd6a4],_0x5e66f2);}return _0x377479;}(_0x2fb954,_0x362228['content'],_0x26af1b=>{if(!_0x45b146)return!0x0;return!!_0x26cc72['getFootnote'](_0x26af1b)&&!_0x2a16bb['includes'](_0x26af1b);});for(const [_0x2d62a1,_0x2ecf02]of Object['entries'](_0x3fe476)){const _0x48f098=_0x5151a9[_0x2d62a1]||_0x2d62a1;let _0x544da7;if('string'!=typeof _0x2ecf02)_0x544da7=_0x2ecf02,_0x48f098!==_0x2d62a1&&_0x2fb954['setAttribute']('footnoteId',_0x48f098,_0x544da7);else{_0x544da7=_0x2fb954['createElement']('footnoteDefinition',{'footnoteId':_0x48f098});const _0x3d126b=_0x475f06['data']['htmlProcessor']['toView'](_0x2ecf02);let _0x138cb4;if(_0x16e910)_0x138cb4=_0x475f06['data']['toModel'](_0x3d126b,_0x544da7);else{_0x138cb4=_0x2fb954['createElement']('footnoteInlineContent');const _0x580381=_0x475f06['data']['toModel'](_0x3d126b,_0x138cb4);_0x2fb954['insert'](_0x580381,_0x138cb4);}_0x2fb954['append'](_0x138cb4,_0x544da7);}_0x2fb954['insert'](_0x544da7,_0x5ae4ef,'end');}_0x3fe476=null;});});}}function c(_0x4c0e8f,_0x75084d){for(const {item:_0x47ead9}of _0x4c0e8f['createRangeIn'](_0x75084d))if(_0x47ead9['is']('element','footnotesDefinitions'))return _0x47ead9;return null;}function l(_0x6b58ed){const _0xd21de6=new Set();for(const {item:_0x23b06e}of _0x6b58ed)_0x23b06e['is']('element','footnoteRef')&&_0xd21de6['add'](_0x23b06e['getAttribute']('footnoteId'));return Array['from'](_0xd21de6);}class i extends _0x52c91a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x164526}=this,{componentFactory:_0x1761db}=_0x164526['ui'];_0x1761db['add']('insertFootnote',E(_0x164526,_0xaa47e)),_0x1761db['add']('menuBar:insertFootnote',E(_0x164526,_0x448ada)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2b74c9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x494838;for(const _0x15511e in _0x2b74c9){const _0x388b41=_0x15511e,_0x132e9a=_0x2b74c9[_0x388b41];if('footnotesLicenseKeyValid'==_0x132e9a||'footnotesLicenseKeyInvalid'==_0x132e9a||'footnotesLicenseKeyExpired'==_0x132e9a||'footnotesLicenseKeyDomainLimit'==_0x132e9a||'footnotesLicenseKeyNotAllowed'==_0x132e9a||'footnotesLicenseKeyEvaluationLimit'==_0x132e9a||'footnotesLicenseKeyUsageLimit'==_0x132e9a){delete _0x2b74c9[_0x388b41],_0x494838=_0x132e9a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x494838&&_0x2b74c9['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x494838&&_0x2b74c9['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x494838&&_0x2b74c9['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x494838&&_0x2b74c9['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x494838&&_0x2b74c9['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x494838&&_0x2b74c9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x39202d,_0x1b93b4){const _0x9e8789=_0x39202d['commands']['get']('insertFootnote');return _0x54f477=>{const {t:t}=_0x54f477,_0x3630fb=new _0x1b93b4(_0x54f477),_0x2d5dbf=_0x3630fb instanceof _0x448ada;return _0x3630fb['bind']('isEnabled')['to'](_0x9e8789,'isEnabled'),_0x3630fb['set']({'label':t(_0x2d5dbf?'Footnote':'Insert\x20footnote'),'icon':_0x3c02ef,'tooltip':!0x0}),_0x3630fb['on']('execute',()=>{_0x9e8789['execute'](),_0x39202d['editing']['view']['focus']();}),_0x3630fb;};}class lt extends _0x52c91a{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x17b8c2{['refresh'](){const {editor:_0x6283b0}=this,_0x4c0013=_0x6283b0['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x4c0013,this['value']=_0x4c0013?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0xa491b0}){const {editor:_0xbf5791}=this,_0x48c3fd=_0xbf5791['plugins']['get'](f),_0x2ac6e9=_0x48c3fd['getFootnotesDefinitionsObjectElement']();_0x2ac6e9&&W['includes'](_0xa491b0)&&_0xbf5791['model']['change'](_0x102b8c=>{_0x102b8c['setAttribute']('footnotesListStyle',_0xa491b0,_0x2ac6e9),_0x48c3fd['_updateFootnotesCounters'](_0x102b8c);});}}class C extends _0x17b8c2{['refresh'](){const {editor:_0x5de300}=this,_0x1896e9=_0x5de300['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1896e9,this['value']=_0x1896e9?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x37f874}){const {editor:_0x31b27a}=this,_0x2c55f0=_0x31b27a['plugins']['get'](f),_0x53336a=_0x2c55f0['getFootnotesDefinitionsObjectElement']();_0x53336a&&Number['isInteger'](_0x37f874)&&_0x31b27a['model']['change'](_0x3c32d4=>{_0x3c32d4['setAttribute']('footnotesListStart',_0x37f874,_0x53336a),_0x2c55f0['_updateFootnotesCounters'](_0x3c32d4);});}}class P extends _0x52c91a{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xc19c62}=this;_0xc19c62['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xc19c62['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xc19c62['commands']['add']('footnotesStyle',new S(_0xc19c62)),_0xc19c62['commands']['add']('footnotesStart',new C(_0xc19c62)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x2ae7b0}=this,{schema:_0x545226}=_0x2ae7b0['model'];_0x545226['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x4238f1}=this,{conversion:_0x5443d1,model:_0x661ca6}=_0x4238f1,{schema:_0x4aee22}=_0x661ca6;_0x5443d1['for']('upcast')['add'](_0x5377dd=>{_0x5377dd['on']('element:ol',(_0x42a41a,_0x53aade,_0x3e4839)=>{const _0x4329e8=_0x53aade['viewItem'],_0x24c0f3=_0x53aade['modelCursor']?.['parent'];_0x4329e8['hasClass']('footnotes-list')&&_0x24c0f3?.['is']('element','footnotesDefinitions')&&(function(_0x3002f3,_0xa83119,_0x318970,_0x4876d3){if(!_0x4876d3['checkAttribute'](_0xa83119,'footnotesListStart'))return;let _0x3fb783=0x1;const _0x381e95=_0x318970['consumable']['consume'](_0x3002f3,{'attributes':'start'});if(_0x381e95){const _0x35a08c=Number['parseInt'](_0x3002f3['getAttribute']('start'),0xa);Number['isNaN'](_0x35a08c)||(_0x3fb783=_0x35a08c);}!_0x381e95&&_0xa83119['hasAttribute']('footnotesListStart')||_0x318970['writer']['setAttribute']('footnotesListStart',_0x3fb783,_0xa83119);}(_0x4329e8,_0x24c0f3,_0x3e4839,_0x4aee22),function(_0x57fee5,_0x4150ca,_0x512123,_0x591303){if(!_0x591303['checkAttribute'](_0x4150ca,'footnotesListStyle'))return;let _0x4f3e18='decimal',_0x453f52=!0x1;if(_0x512123['consumable']['consume'](_0x57fee5,{'attributes':'type'})){const _0x2b39da={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x57fee5['getAttribute']('type')];_0x2b39da&&(_0x4f3e18=_0x2b39da),_0x453f52=!0x0;}_0x512123['consumable']['consume'](_0x57fee5,{'styles':'list-style-type'})&&(_0x4f3e18=function(_0x5c601b){switch(_0x5c601b){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x5c601b;}}(_0x57fee5['getStyle']('list-style-type')),_0x453f52=!0x0),!_0x453f52&&_0x4150ca['hasAttribute']('footnotesListStyle')||_0x512123['writer']['setAttribute']('footnotesListStyle',_0x4f3e18,_0x4150ca);}(_0x4329e8,_0x24c0f3,_0x3e4839,_0x4aee22));});}),_0x5443d1['for']('downcast')['add'](_0x3df0fe=>{_0x3df0fe['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x6c7a0f,_0x1b7fd2,_0x255b1e)=>{if(!_0x255b1e['consumable']['consume'](_0x1b7fd2['item'],_0x6c7a0f['name']))return;const _0xce1923=M(_0x1b7fd2['item'],_0x255b1e['mapper']),{attributeNewValue:_0x5e0a29}=_0x1b7fd2;null==_0x5e0a29||0x1===_0x5e0a29?_0x255b1e['writer']['removeAttribute']('start',_0xce1923):_0x255b1e['writer']['setAttribute']('start',String(_0x5e0a29),_0xce1923);}),_0x3df0fe['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x320bd7,_0x401267,_0x268edf)=>{if(!_0x268edf['consumable']['consume'](_0x401267['item'],_0x320bd7['name']))return;const _0x403159=M(_0x401267['item'],_0x268edf['mapper']),{attributeNewValue:_0x4b2eb0}=_0x401267;_0x4b2eb0&&'decimal'!==_0x4b2eb0?_0x268edf['writer']['setStyle']('list-style-type',_0x4b2eb0,_0x403159):_0x268edf['writer']['removeStyle']('list-style-type',_0x403159);});});}['_definePostfixer'](){const {editor:_0x45f997}=this,{model:_0x493da6}=_0x45f997,_0x31a182=_0x45f997['plugins']['get'](f),_0x2965ad=this['_getDefaultListStyle'](),_0x4a5c20=this['_getDefaultStartIndex']();_0x493da6['document']['registerPostFixer'](_0x3d7f24=>{const _0x14e2a6=_0x493da6['document']['differ']['getChanges']();let _0xff80e3=!0x1;for(const _0x58d6c7 of _0x14e2a6){if('insert'!==_0x58d6c7['type']||'$text'===_0x58d6c7['name'])continue;const _0x5565b1=_0x493da6['createRangeOn'](_0x58d6c7['position']['nodeAfter']);for(const _0x930ca3 of _0x5565b1['getItems']())_0x930ca3['is']('element','footnotesDefinitions')&&(!_0x930ca3['hasAttribute']('footnotesListStart')&&_0x493da6['schema']['checkAttribute'](_0x930ca3,'footnotesListStart')&&(_0x3d7f24['setAttribute']('footnotesListStart',_0x4a5c20,_0x930ca3),_0xff80e3=!0x0),!_0x930ca3['hasAttribute']('footnotesListStyle')&&_0x493da6['schema']['checkAttribute'](_0x930ca3,'footnotesListStyle')&&(_0x3d7f24['setAttribute']('footnotesListStyle',_0x2965ad,_0x930ca3),_0xff80e3=!0x0));}return _0xff80e3&&_0x31a182['_updateFootnotesCounters'](_0x3d7f24),_0xff80e3;});}['_defineFormatter'](){const {editor:_0x20127f}=this;_0x20127f['plugins']['get'](f)['setFootnoteFormatter'](_0x1d0a71=>this['_formatFootnoteListValue'](_0x1d0a71));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x536d08,value:_0xb0ccb5,digits:_0x4df090}){const _0x3b70a1=_0x536d08['getAttribute']('footnotesListStyle'),_0x28eebf=_0x536d08['getAttribute']('footnotesListStart'),_0xf8f602=Math['floor'](_0xb0ccb5)+(_0x28eebf??0x1)-0x1;switch(_0x3b70a1){case'decimal-leading-zero':return function(_0x53804a,_0xed5f48){return String(_0x53804a)['padStart'](_0xed5f48,'0');}(_0xf8f602,Math['max'](0x2,_0x4df090));case'lower-alpha':case'lower-latin':return N(_0xf8f602,!0x1);case'upper-alpha':case'upper-latin':return N(_0xf8f602,!0x0);case'lower-roman':return X(_0xf8f602,!0x1);case'upper-roman':return X(_0xf8f602,!0x0);default:return String(_0xf8f602);}}}function M(_0x9c553f,_0x563778){const _0x3b9f73=_0x563778['toViewElement'](_0x9c553f);return Array['from'](_0x3b9f73['getChildren']())['find'](_0x118b59=>_0x118b59['is']('element','ol')&&_0x118b59['hasClass']('footnotes-list'));}function N(_0x44bad5,_0x5df893){let _0x3a8d91='',_0x2c936f=_0x44bad5;for(;_0x2c936f>0x0;){const _0x5f4d1a=(_0x2c936f-0x1)%0x1a;_0x3a8d91=String['fromCharCode'](0x61+_0x5f4d1a)+_0x3a8d91,_0x2c936f=Math['floor']((_0x2c936f-0x1)/0x1a);}return _0x5df893?_0x3a8d91['toUpperCase']():_0x3a8d91;}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(_0x23f3df,_0x1eb321){let _0x236463='',_0x400aab=_0x23f3df;for(const {value:_0x5272a8,numeral:_0x13f439}of V)for(;_0x400aab>=_0x5272a8;)_0x236463+=_0x13f439,_0x400aab-=_0x5272a8;return _0x1eb321?_0x236463:_0x236463['toLowerCase']();}class J extends _0x1d7450{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x5ec28e();['focusCycler'];constructor(_0x2b6917,{styleButtonViews:_0xee05e,styleGridAriaLabel:_0x4b7fed}){super(_0x2b6917),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0xee05e,_0x4b7fed),[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 _0x4431a9 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4431a9['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x4ef982=_0x30e02f=>_0x30e02f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4ef982),this['keystrokes']['set']('arrowleft',_0x4ef982),this['keystrokes']['set']('arrowup',_0x4ef982),this['keystrokes']['set']('arrowdown',_0x4ef982);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2cda21,_0x22cb13){const _0x59af9e=new _0x1d7450(this['locale']);return _0x59af9e['children']=_0x59af9e['createCollection'](),_0x59af9e['children']['addMany'](_0x2cda21),_0x59af9e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x22cb13,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x59af9e['children']}),_0x59af9e['children']['delegate']('execute')['to'](this),_0x59af9e['focus']=function(){for(const _0x47dd57 of this['children'])if(_0x47dd57 instanceof _0xaa47e&&_0x47dd57['isOn'])return void _0x47dd57['focus']();this['children']['first']['focus']();},_0x59af9e['focusTracker']=new rt(),_0x59af9e['keystrokes']=new nt(),_0x59af9e['render'](),_0x59af9e['keystrokes']['listenTo'](_0x59af9e['element']),this['children']['add'](_0x59af9e),_0x59af9e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x35ce10=this['_createStartIndexPropertyView'](),_0x3d27b9=[_0x35ce10],_0x1f3c23=new it(this['locale'],_0x3d27b9);return _0x1f3c23['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1f3c23['buttonView']['bind']('isEnabled')['toMany'](_0x3d27b9,'isEnabled',(..._0x87ea24)=>_0x87ea24['some'](_0x1363b6=>_0x1363b6)),_0x1f3c23['buttonView']['on']('change:isEnabled',(_0x73768f,_0x5ace08,_0x5f1948)=>{_0x5f1948||(_0x1f3c23['isCollapsed']=!0x0);}),this['children']['add'](_0x1f3c23),[_0x35ce10,_0x1f3c23];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x104c62=new et(this['locale'],ot);return _0x104c62['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x104c62['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x104c62['fieldView']['on']('input',()=>{const _0x4294ed=_0x104c62['fieldView']['element'],_0x121b05=_0x4294ed['valueAsNumber'];Number['isNaN'](_0x121b05)?_0x104c62['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4294ed['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x121b05}):_0x104c62['errorText']=t(_0x121b05<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x104c62;}}class j extends _0x52c91a{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3f4586,_0x3548d2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x567a15}=this,{componentFactory:_0x1d3d1e}=_0x567a15['ui'];_0x567a15['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1d3d1e['add']('footnotesStyle',function(_0x2e5292){return _0x2e0c1f=>{const {t:t}=_0x2e0c1f,_0x541bd8=_0x2e5292['commands']['get']('footnotesStyle'),_0x3e310f=_0x4b8e9c(_0x2e0c1f),{buttonView:_0x419ceb}=_0x3e310f;return _0x3e310f['class']='ck-footnotes-styles-dropdown',_0x3e310f['bind']('isEnabled')['to'](_0x541bd8,'isEnabled'),_0x419ceb['set']({'label':t('Footnotes\x20style'),'icon':_0x3c02ef,'tooltip':!0x0}),_0x3e310f['once']('change:isOpen',()=>{const _0x93406d=function({editor:_0x5e9626,dropdownView:_0x50e36d}){const {t:t}=_0x5e9626['locale'],_0x15c5e2=t('Footnotes\x20definitions\x20styles'),_0x5a62d5=function(_0x27316c){const t=_0x27316c['locale']['t'],_0x4931aa=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x5aca3a},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x24ed39},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4838c6},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5920a1},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3e9ff8},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x315415}];return _0x4931aa['map'](function(_0x297a13){const _0x2f5a11=_0x297a13['locale'];return({label:_0x493b09,icon:_0x23576d,tooltip:_0x3c54dc,style:_0x486a06})=>{const _0x1d12e3=_0x297a13['commands']['get']('footnotesStyle'),_0x2d4197=new _0xaa47e(_0x2f5a11);return _0x2d4197['set']({'label':_0x493b09,'icon':_0x23576d,'tooltip':_0x3c54dc}),_0x2d4197['bind']('isOn')['to'](_0x1d12e3,'value',_0x179e2c=>_0x179e2c===_0x486a06),_0x2d4197['bind']('isEnabled')['to'](_0x1d12e3,'isEnabled'),_0x2d4197['on']('execute',()=>{_0x297a13['execute']('footnotesStyle',{'value':_0x486a06}),_0x297a13['editing']['view']['focus']();}),_0x2d4197;};}(_0x27316c));}(_0x5e9626),_0x459a09=new J(_0x5e9626['locale'],{'styleGridAriaLabel':_0x15c5e2,'styleButtonViews':_0x5a62d5}),_0x578edd=_0x5e9626['commands']['get']('footnotesStart');return _0x459a09['startIndexFieldView']['bind']('isEnabled')['to'](_0x578edd),_0x459a09['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x578edd),_0x459a09['on']('footnotesListStart',(_0x380616,_0x3069ea)=>{_0x5e9626['execute']('footnotesStart',{'value':_0x3069ea['startIndex']});}),_0x459a09['delegate']('execute')['to'](_0x50e36d),_0x459a09;}({'editor':_0x2e5292,'dropdownView':_0x3e310f});_0x3e310f['panelView']['children']['add'](_0x93406d);}),_0x3e310f;};}(_0x567a15));}['afterInit'](){const {editor:_0x4d26d2}=this,{t:t}=_0x4d26d2['locale'],_0x64acd6=_0x4d26d2['plugins']['get'](_0x3548d2),{defaultPositions:_0x237a9f}=_0x33d17d;_0x64acd6['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4d26d2['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2b88e1=>{let _0x2beae2=_0x2b88e1['getFirstPosition']()?.['parent'];return _0x2beae2?.['is']('$text')&&(_0x2beae2=_0x2beae2['parent']),_0x2beae2?.['is']('element')?_0x2beae2['findAncestor'](Q):null;},'positions':[_0x237a9f['southArrowNorth'],_0x237a9f['southArrowNorthMiddleWest'],_0x237a9f['southArrowNorthMiddleEast'],_0x237a9f['southArrowNorthWest'],_0x237a9f['southArrowNorthEast'],_0x237a9f['northArrowSouth'],_0x237a9f['northArrowSouthMiddleWest'],_0x237a9f['northArrowSouthMiddleEast'],_0x237a9f['northArrowSouthWest'],_0x237a9f['northArrowSouthEast'],_0x237a9f['viewportStickyNorth']]});}}class ft extends _0x52c91a{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x43e2df=>0x1!=_0x43e2df}};
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':_0x1f96f9=>0x1!=_0x1f96f9}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xe4d275=>{const {af:{dictionary:_0x988f4e,getPluralForm:_0x3c6663}}={'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':_0x2aaa26=>0x1!=_0x2aaa26}};_0xe4d275['af']||={'dictionary':{},'getPluralForm':null},_0xe4d275['af']['dictionary']=Object['assign'](_0xe4d275['af']['dictionary'],_0x988f4e),_0xe4d275['af']['getPluralForm']=_0x3c6663;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x83e1df=>{const {af:{dictionary:_0x44b624,getPluralForm:_0x1db142}}={'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':_0x54396b=>0x1!=_0x54396b}};_0x83e1df['af']||={'dictionary':{},'getPluralForm':null},_0x83e1df['af']['dictionary']=Object['assign'](_0x83e1df['af']['dictionary'],_0x44b624),_0x83e1df['af']['getPluralForm']=_0x1db142;})(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':_0x1e3c3d=>0x0==_0x1e3c3d?0x0:0x1==_0x1e3c3d?0x1:0x2==_0x1e3c3d?0x2:_0x1e3c3d%0x64>=0x3&&_0x1e3c3d%0x64<=0xa?0x3:_0x1e3c3d%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':_0x1661aa=>0x0==_0x1661aa?0x0:0x1==_0x1661aa?0x1:0x2==_0x1661aa?0x2:_0x1661aa%0x64>=0x3&&_0x1661aa%0x64<=0xa?0x3:_0x1661aa%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1f57f9=>{const {ar:{dictionary:_0x4677f6,getPluralForm:_0x2b3a8b}}={'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':_0xeaaa86=>0x0==_0xeaaa86?0x0:0x1==_0xeaaa86?0x1:0x2==_0xeaaa86?0x2:_0xeaaa86%0x64>=0x3&&_0xeaaa86%0x64<=0xa?0x3:_0xeaaa86%0x64>=0xb?0x4:0x5}};_0x1f57f9['ar']||={'dictionary':{},'getPluralForm':null},_0x1f57f9['ar']['dictionary']=Object['assign'](_0x1f57f9['ar']['dictionary'],_0x4677f6),_0x1f57f9['ar']['getPluralForm']=_0x2b3a8b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1c7762=>{const {ar:{dictionary:_0xcc6b1,getPluralForm:_0x297956}}={'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':_0x1033d4=>0x0==_0x1033d4?0x0:0x1==_0x1033d4?0x1:0x2==_0x1033d4?0x2:_0x1033d4%0x64>=0x3&&_0x1033d4%0x64<=0xa?0x3:_0x1033d4%0x64>=0xb?0x4:0x5}};_0x1c7762['ar']||={'dictionary':{},'getPluralForm':null},_0x1c7762['ar']['dictionary']=Object['assign'](_0x1c7762['ar']['dictionary'],_0xcc6b1),_0x1c7762['ar']['getPluralForm']=_0x297956;})(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':_0xeb8d54=>0x1!=_0xeb8d54}};
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':_0xa5e9d2=>0x1!=_0xa5e9d2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x329711=>{const {ast:{dictionary:_0x40e20f,getPluralForm:_0x151d79}}={'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':_0x235e6c=>0x1!=_0x235e6c}};_0x329711['ast']||={'dictionary':{},'getPluralForm':null},_0x329711['ast']['dictionary']=Object['assign'](_0x329711['ast']['dictionary'],_0x40e20f),_0x329711['ast']['getPluralForm']=_0x151d79;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5bc506=>{const {ast:{dictionary:_0x1b23d6,getPluralForm:_0x25247c}}={'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':_0x4df490=>0x1!=_0x4df490}};_0x5bc506['ast']||={'dictionary':{},'getPluralForm':null},_0x5bc506['ast']['dictionary']=Object['assign'](_0x5bc506['ast']['dictionary'],_0x1b23d6),_0x5bc506['ast']['getPluralForm']=_0x25247c;})(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':_0x133539=>0x1!=_0x133539}};
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':_0x43a59c=>0x1!=_0x43a59c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1648d7=>{const {az:{dictionary:_0x2143c3,getPluralForm:_0x25f766}}={'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':_0x41d571=>0x1!=_0x41d571}};_0x1648d7['az']||={'dictionary':{},'getPluralForm':null},_0x1648d7['az']['dictionary']=Object['assign'](_0x1648d7['az']['dictionary'],_0x2143c3),_0x1648d7['az']['getPluralForm']=_0x25f766;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1e3eb6=>{const {az:{dictionary:_0x4dba94,getPluralForm:_0x3bd6b5}}={'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':_0x36da49=>0x1!=_0x36da49}};_0x1e3eb6['az']||={'dictionary':{},'getPluralForm':null},_0x1e3eb6['az']['dictionary']=Object['assign'](_0x1e3eb6['az']['dictionary'],_0x4dba94),_0x1e3eb6['az']['getPluralForm']=_0x3bd6b5;})(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':_0x92e6bf=>_0x92e6bf%0xa==0x1&&_0x92e6bf%0x64!=0xb?0x0:_0x92e6bf%0xa>=0x2&&_0x92e6bf%0xa<=0x4&&(_0x92e6bf%0x64<0xa||_0x92e6bf%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':_0x43b979=>_0x43b979%0xa==0x1&&_0x43b979%0x64!=0xb?0x0:_0x43b979%0xa>=0x2&&_0x43b979%0xa<=0x4&&(_0x43b979%0x64<0xa||_0x43b979%0x64>=0x14)?0x1:0x2}};