@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251216.0 → 0.0.0-nightly-next-20251216.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 _0x4869ba,Command as _0xd04106}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x9750cb,isWidget as _0x16962e,toWidgetEditable as _0x5d97bd,WidgetToolbarRepository as _0x410dcc}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x1eee8b,logWarning as _0x73ade,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x5065df,ClickObserver as _0x12cb76}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x484ee2}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4ab967,ButtonView as _0x5b6f34,View as _0x1ef24d,ViewCollection as _0x55a643,FocusCycler as _0x5dc5a1,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x416435,BalloonPanelView as _0x33f037,createDropdown as _0x51cc92}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1f86e7,IconListStyleDecimal as _0x5e5881,IconListStyleDecimalLeadingZero as _0x31d9e2,IconListStyleLowerRoman as _0x546a74,IconListStyleUpperRoman as _0x1614ec,IconListStyleLowerLatin as _0x5bb2c1,IconListStyleUpperLatin as _0x44027f}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4b423e,_0x2ba55c){this['_model']=_0x4b423e,this['_elementName']=_0x2ba55c['elementName'],this['_getElementKey']=_0x2ba55c['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0xb6ac5f){const _0x3858c0=new Set(),_0x382e07=new Map();for(const _0x21ed26 of _0xb6ac5f){if('insert'===_0x21ed26['type']&&'$text'!==_0x21ed26['name']&&_0x21ed26['position']['nodeAfter']){const _0x2b459e=this['_model']['createRangeOn'](_0x21ed26['position']['nodeAfter']);for(const _0x36caae of _0x2b459e['getItems']()){if(!_0x36caae['is']('element',this['_elementName']))continue;const _0x3132ff=this['_getElementKey'](_0x36caae);_0x382e07['has'](_0x3132ff)||_0x382e07['set'](_0x3132ff,[]),_0x382e07['get'](_0x3132ff)['push'](_0x36caae);}}if('remove'===_0x21ed26['type']&&_0x21ed26['name']===this['_elementName']){const _0x4af4ba=this['_getElementKey']({'getAttribute':_0x512749=>_0x21ed26['attributes']['get'](_0x512749)});_0x3858c0['add'](_0x4af4ba);}}for(const [_0x49b7aa,_0x537e4a]of this['_trackedElements'])'$graveyard'===_0x537e4a['root']['rootName']&&_0x3858c0['add'](_0x49b7aa);for(const _0x5e88f4 of _0x3858c0)this['_trackedElements']['delete'](_0x5e88f4);for(const [_0xc353c9,_0x561670]of _0x382e07)this['_trackedElements']['set'](_0xc353c9,_0x561670[_0x561670['length']-0x1]);const _0x16a659=new Set();for(const [_0x182abd,_0x135b21]of _0x382e07)_0x3858c0['has'](_0x182abd)&&(_0x16a659['add'](_0x135b21[0x0]),_0x135b21['length']>0x1?_0x382e07['set'](_0x182abd,_0x135b21['slice'](0x1)):_0x382e07['delete'](_0x182abd),_0x3858c0['delete'](_0x182abd));return{'removed':Array['from'](_0x3858c0),'inserted':Array['from'](_0x382e07['values']())['flat'](),'moved':Array['from'](_0x16a659)};}}class f extends _0x4869ba{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xb3ac4f){super(_0xb3ac4f),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x349d68=>_0x349d68['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x2b58a8=>_0x2b58a8['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3eebfe}=this,{model:_0x6d7614,data:_0x20a344}=_0x3eebfe;_0x6d7614['document']['registerPostFixer'](_0xc9e41a=>{const _0xd0db9f=_0x6d7614['document']['differ']['getChanges']();let _0x858ede=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0xc9e41a,_0xd0db9f)&&(_0x858ede=!0x0),this['_handleFootnoteDefinitionsChanges'](_0xc9e41a,_0xd0db9f)&&(_0x858ede=!0x0),this['_handleFootnoteReferencesChanges'](_0xc9e41a,_0xd0db9f)&&(_0x858ede=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0xc9e41a)&&(_0x858ede=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0xc9e41a)&&(_0x858ede=!0x0),this['_sortFootnoteDefinitions'](_0xc9e41a)&&(_0x858ede=!0x0),_0x858ede;}),this['listenTo'](_0x6d7614['document'],'change:data',()=>{_0x6d7614['enqueueChange']({'isUndoable':!0x1},_0x18981f=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x18981f);});},{'priority':'low'}),this['listenTo'](_0x20a344,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x41852d){return this['_footnotes']['find'](_0x4af2bc=>_0x4af2bc['id']===_0x41852d)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x34acf7){this['_footnoteFormatter']=_0x34acf7;}['_updateFootnotesCounters'](_0x55495d,_0x52ca66=0x0){let _0x200233=!0x1;for(let _0x1ea048=_0x52ca66;_0x1ea048<this['_footnotes']['length'];_0x1ea048++)this['_updateFootnoteRefCounter'](_0x55495d,_0x1ea048)&&(_0x200233=!0x0);return _0x200233;}['_insertEmptyFootnotesDefinitionsContainer'](_0x462d27,_0x37d029){const _0x21fa4d=_0x462d27['createElement']('footnotesDefinitions',{});return _0x462d27['append'](_0x21fa4d,_0x37d029),this['_footnotesDefinitions']=_0x21fa4d,_0x21fa4d;}['_ensureFootnotesDefinitionsContainerExists'](_0x254705){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x439cdd=this['_footnotes'][0x0]['reference']['root'],_0x11bc5a=this['_insertEmptyFootnotesDefinitionsContainer'](_0x254705,_0x439cdd);for(const _0x10e73b of this['_footnotes'])_0x10e73b['definition']['parent']||_0x254705['insert'](_0x10e73b['definition'],_0x11bc5a,'end');this['_updateFootnotesCounters'](_0x254705);}['_handleFootnotesDefinitionsObjectChanges'](_0x3b8f21,_0x458a29){let _0x4ba325=!0x1;const {inserted:_0x535cc2,removed:_0x166149,moved:_0x5e7181}=this['_footnoteDefsContainerTracker']['getChanges'](_0x458a29);if(_0x5e7181['length']&&(this['_footnotesDefinitions']=_0x5e7181[0x0]),_0x535cc2['length']){if(_0x535cc2['length']>0x1||this['_footnotesDefinitions']&&_0x535cc2['some'](_0x41988d=>_0x41988d!==this['_footnotesDefinitions'])){const _0x32a98c=_0x3b8f21['createElement']('footnotesDefinitions',{}),_0x45ded0=[];this['_footnotesDefinitions']&&_0x45ded0['push'](this['_footnotesDefinitions']),_0x45ded0['push'](..._0x535cc2),_0x3b8f21['insert'](_0x32a98c,_0x45ded0[0x0],'before');for(const _0x40096e of _0x45ded0)_0x3b8f21['move'](_0x3b8f21['createRangeIn'](_0x40096e),_0x3b8f21['createPositionAt'](_0x32a98c,'end')),_0x3b8f21['remove'](_0x40096e);this['_footnotesDefinitions']=_0x32a98c,this['_updateFootnotesCounters'](_0x3b8f21),_0x4ba325=!0x0;}else this['_footnotesDefinitions']=_0x535cc2[0x0];}if(_0x166149['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x27b92c of this['_footnotes'])_0x3b8f21['remove'](_0x27b92c['reference']),_0x4ba325=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4ba325;}['_handleFootnoteDefinitionsChanges'](_0xc3a69d,_0xe50344){let _0x19ed14=!0x1;const _0x5b40cb=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x7d4e9d,moved:_0x298b90}=this['_footnoteDefsTracker']['getChanges'](_0xe50344);for(const _0x487912 of[..._0x298b90,..._0x7d4e9d]){const _0x2a21e0=_0x487912['getAttribute']('footnoteId'),_0x2f54e4=this['getFootnote'](_0x2a21e0);_0x2f54e4&&(_0x2f54e4['definition']=_0x487912),_(_0xc3a69d,_0x5b40cb,_0x487912)&&(_0x19ed14=!0x0);}return _0x19ed14;}['_handleFootnoteReferencesChanges'](_0x405b10,_0x5e4e65){let _0x57274a=!0x1;const {removed:_0x3d765c,inserted:_0x46a144,moved:_0x8575f8}=this['_footnoteRefsTracker']['getChanges'](_0x5e4e65);for(const _0x3c5f85 of _0x3d765c)this['_handleRemoveFootnoteReferenceById'](_0x405b10,_0x3c5f85)&&(_0x57274a=!0x0);for(const _0x23a72a of _0x46a144)this['_handleInsertedFootnoteReference'](_0x405b10,_0x23a72a)&&(_0x57274a=!0x0);for(const _0x207ec2 of _0x8575f8)this['_handleMovedFootnoteReference'](_0x405b10,_0x207ec2)&&(_0x57274a=!0x0);return _0x57274a;}['_handleFootnotesDefinitionsObjectSync'](_0x28ab54){if(!this['_footnotesDefinitions'])return!0x1;let _0x3fc3f2=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x336879=[];for(const _0x1e4f8c of this['_footnotesDefinitions']['getChildren']()){const _0x16dc8b=_0x1e4f8c['getAttribute']('footnoteId');this['getFootnote'](_0x16dc8b)||(_0x336879['unshift'](_0x1e4f8c),_0x3fc3f2=!0x0);}for(const _0x10eca8 of _0x336879)_0x28ab54['remove'](_0x10eca8);}const _0x4e10c2=new Set(),_0x2e92d1=[];for(const _0x31bb11 of this['_footnotesDefinitions']['getChildren']()){const _0x5368a7=_0x31bb11['getAttribute']('footnoteId');_0x4e10c2['has'](_0x5368a7)?(_0x2e92d1['unshift'](_0x31bb11),_0x3fc3f2=!0x0):_0x4e10c2['add'](_0x5368a7);}for(const _0x1e275a of _0x2e92d1)_0x28ab54['remove'](_0x1e275a);return this['_footnotesDefinitions']['childCount']||(_0x28ab54['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x3fc3f2=!0x0),_0x3fc3f2;}['_handleInsertedFootnoteReference'](_0x15c462,_0x4a4d95){if(this['_footnotes']['find'](_0x31b00f=>_0x31b00f['reference']===_0x4a4d95))return!0x1;let _0x303369=!0x1;const _0x8efccb=_0x4a4d95['getAttribute']('footnoteId'),_0x3b7c91=this['_footnotes']['findIndex'](_0x5068a9=>_0x5068a9['id']===_0x8efccb);-0x1!==_0x3b7c91&&(_0x15c462['remove'](this['_footnotes'][_0x3b7c91]['reference']),this['_footnotes']['splice'](_0x3b7c91,0x1),_0x303369=!0x0);let _0x5c9369=this['_footnotesDefinitions']?function(_0x344ce0,_0x3f1e1c){for(const _0x39a0a1 of _0x344ce0['getChildren']())if(_0x39a0a1['getAttribute']('footnoteId')===_0x3f1e1c)return _0x39a0a1;return null;}(this['_footnotesDefinitions'],_0x8efccb):null;_0x5c9369||(_0x5c9369=_0x15c462['createElement']('footnoteDefinition',{'footnoteId':_0x8efccb}),this['_footnotesDefinitions']&&(_0x15c462['insert'](_0x5c9369,this['_footnotesDefinitions'],'end'),_0x303369=!0x0));const _0x11788a={'id':_0x8efccb,'reference':_0x4a4d95,'definition':_0x5c9369},_0x1c3629=I(this['editor']['model'],this['_footnotes'],_0x4a4d95);this['_footnotes']['splice'](_0x1c3629,0x0,_0x11788a);let _0x28b690=_0x1c3629;return-0x1!==_0x3b7c91&&(_0x28b690=Math['min'](_0x1c3629,_0x3b7c91)),this['_updateFootnotesCounters'](_0x15c462,_0x28b690)&&(_0x303369=!0x0),_0x303369;}['_handleRemoveFootnoteReferenceById'](_0x2ebeff,_0x3388de){const _0x103ae2=this['_footnotes']['findIndex'](_0x45dda9=>_0x45dda9['id']===_0x3388de);if(-0x1===_0x103ae2)return!0x1;let _0x4aebe0=!0x1;const _0x275ca5=this['_footnotes'][_0x103ae2];return'$graveyard'!==_0x275ca5['definition']['root']['rootName']&&(_0x2ebeff['remove'](_0x275ca5['definition']),_0x4aebe0=!0x0),this['_footnotes']['splice'](_0x103ae2,0x1),this['_updateFootnotesCounters'](_0x2ebeff,_0x103ae2)&&(_0x4aebe0=!0x0),_0x4aebe0;}['_handleMovedFootnoteReference'](_0x85b178,_0x3b2567){const _0x3a8eab=_0x3b2567['getAttribute']('footnoteId'),_0x55df9d=this['_footnotes']['findIndex'](_0x4386cd=>_0x4386cd['id']===_0x3a8eab),_0x4c6fa4=this['_footnotes'][_0x55df9d];let _0x120466=!0x1;_0x4c6fa4['reference']=_0x3b2567,this['_footnotes']['splice'](_0x55df9d,0x1);const _0x3e2801=I(this['editor']['model'],this['_footnotes'],_0x3b2567);return this['_footnotes']['splice'](_0x3e2801,0x0,_0x4c6fa4),this['_updateFootnotesCounters'](_0x85b178,Math['min'](_0x55df9d,_0x3e2801))&&(_0x120466=!0x0),_0x120466;}['_updateFootnoteRefCounter'](_0x2c3c88,_0x1b222a){if(!this['_footnotesDefinitions'])return!0x1;const _0x1b1613=this['_footnotes'][_0x1b222a];let _0x2709cf;return _0x2709cf=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x1b1613,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1b222a+0x1}):String(_0x1b222a+0x1),_0x1b1613['reference']['getAttribute']('footnoteCounter')!=_0x2709cf&&(_0x2c3c88['setAttribute']('footnoteCounter',_0x2709cf,_0x1b1613['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x423a70){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x1f3f63,_0x2c2681){if(_0x1f3f63['length']!==_0x2c2681['length'])return!0x1;for(let _0x39a93a=0x0;_0x39a93a<_0x1f3f63['length'];_0x39a93a++)if(_0x1f3f63[_0x39a93a]!==_0x2c2681[_0x39a93a])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x28c682=>_0x28c682['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x46a15b=>_0x46a15b['getAttribute']('footnoteId'))))return!0x1;let _0x2afc3e=!0x1;for(let _0x4a5317=0x0;_0x4a5317<this['_footnotes']['length'];_0x4a5317++){const _0x11c2f0=this['_footnotes'][_0x4a5317],_0x33fdf5=_0x423a70['createPositionBefore'](_0x11c2f0['definition']),_0x41e20f=_0x423a70['createPositionAt'](this['_footnotesDefinitions'],_0x4a5317);_0x33fdf5['isEqual'](_0x41e20f)||(_0x423a70['move'](_0x423a70['createRangeOn'](_0x11c2f0['definition']),_0x41e20f),_0x2afc3e=!0x0);}return _0x2afc3e;}['_ensureFootnotesReferencesHaveProperOrder'](_0x2647a6){if(!this['_footnotes']['length'])return!0x1;const {model:_0x15be54}=this['editor'];let _0x2acbf2=!0x1;for(let _0x2bad50=0x0;_0x2bad50<this['_footnotes']['length']-0x1;_0x2bad50++){const _0x1a60a1=this['_footnotes'][_0x2bad50],_0x59e2c0=this['_footnotes'][_0x2bad50+0x1],_0x4e2de9=_0x15be54['createPositionBefore'](_0x1a60a1['reference']),_0x372801=_0x15be54['createPositionBefore'](_0x59e2c0['reference']);'after'===_0x4e2de9['compareWith'](_0x372801)&&(this['_handleMovedFootnoteReference'](_0x2647a6,_0x1a60a1['reference']),_0x2bad50=-0x1,_0x2acbf2=!0x0);}return _0x2acbf2;}}function _(_0x11d1ca,_0x4bf43a,_0x365242){if(_0x365242['childCount'])return!0x1;const _0x4ffc29=_0x4bf43a?'paragraph':'footnoteInlineContent';return _0x11d1ca['insert'](_0x11d1ca['createElement'](_0x4ffc29),_0x365242),!0x0;}function I(_0x1e25aa,_0x140196,_0x4042ea){if(0x0===_0x140196['length'])return 0x0;const _0x13f25f=_0x1e25aa['createPositionBefore'](_0x4042ea);for(let _0x3f42b8=0x0;_0x3f42b8<_0x140196['length'];_0x3f42b8++){const _0xe08f73=_0x140196[_0x3f42b8],_0x1cd277=_0x1e25aa['createPositionBefore'](_0xe08f73['reference']);if('before'===_0x13f25f['compareWith'](_0x1cd277))return _0x3f42b8;}const _0x2555f1=_0x4042ea['root'];let _0x4884ee=-0x1;for(let _0x682462=_0x140196['length']-0x1;_0x682462>=0x0;_0x682462--)if(_0x140196[_0x682462]['reference']['root']===_0x2555f1){_0x4884ee=_0x682462;break;}if(-0x1!==_0x4884ee)return _0x4884ee+0x1;const _0x238604=_0x1e25aa['document']['getRootNames'](),_0xbb5d7e=_0x238604['indexOf'](_0x2555f1['rootName']),_0x200d74=_0x238604[_0xbb5d7e+0x1];if(_0x200d74){for(let _0x225788=0x0;_0x225788<_0x140196['length'];_0x225788++)if(_0x140196[_0x225788]['reference']['root']['rootName']===_0x200d74)return _0x225788;}return _0x140196['length'];}class m extends _0xd04106{['refresh'](){const _0xd9ff80=this['editor']['model']['document']['selection'],_0x1c22f0=this['_getPositionToInsertFootnote'](_0xd9ff80);this['isEnabled']=!!_0x1c22f0;}['execute'](_0x2e52fa){const {editor:_0x8d8603}=this,{model:_0x1b0422}=_0x8d8603,{selection:_0x257dc6}=_0x1b0422['document'],_0x227671=this['_getPositionToInsertFootnote'](_0x257dc6);if(!_0x227671)return;const _0x391164=_0x8d8603['plugins']['get']('FootnotesEditing'),_0x549d46=_0x2e52fa?.['footnoteId']??_0x1eee8b();!function(_0x21f1f0){return'string'==typeof _0x21f1f0&&_0x21f1f0['length']>0x0&&!/\s/['test'](_0x21f1f0)&&!/^\d/['test'](_0x21f1f0);}(_0x549d46)?_0x73ade('insert-footnote-command-executed-with-invalid-id'):(_0x1b0422['change'](_0x41a134=>{const _0xcfe5ab=_0x41a134['createElement']('footnoteRef',{'footnoteId':_0x549d46});_0x1b0422['insertObject'](_0xcfe5ab,_0x227671,null);}),_0x391164['_moveSelectionToFootnoteDefinition'](_0x549d46));}['_getPositionToInsertFootnote'](_0x4d0431){const {model:_0x2bb686}=this['editor'],{schema:_0x4c06f9}=_0x2bb686,_0x4cc5f8=_0x4d0431['getFirstRange']();for(const _0x408c36 of _0x4cc5f8['getItems']())if(_0x4c06f9['isBlock'](_0x408c36)||_0x4c06f9['isObject'](_0x408c36))return null;const _0x35dc72=_0x4cc5f8['end'];return _0x4c06f9['checkChild'](_0x35dc72,'footnoteRef')?_0x35dc72:null;}}class r extends _0x4869ba{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x451b6d}=this;_0x451b6d['config']['define']('footnotes.multiBlock',!0x0),_0x451b6d['commands']['add']('insertFootnote',new m(_0x451b6d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3bc3bd){const _0x2c683d=_0x12d1d7([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]),_0x435131=0x47a28506,_0x17bbed=0x47a5f916^_0x435131,_0x2680d5=window[_0x12d1d7([0x44,0x61,0x74,0x65])][_0x12d1d7([0x6e,0x6f,0x77])](),_0x13cdbd=_0x3bc3bd[_0x12d1d7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a26b3=new window[(_0x12d1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xdf8795=>{_0x13cdbd[_0x12d1d7([0x6f,0x6e,0x63,0x65])](_0x12d1d7([0x72,0x65,0x61,0x64,0x79]),_0xdf8795);}),_0x2c2de6={[_0x12d1d7([0x6b,0x74,0x79])]:_0x12d1d7([0x45,0x43]),[_0x12d1d7([0x75,0x73,0x65])]:_0x12d1d7([0x73,0x69,0x67]),[_0x12d1d7([0x63,0x72,0x76])]:_0x12d1d7([0x50,0x2d,0x32,0x35,0x36]),[_0x12d1d7([0x78])]:_0x12d1d7([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]),[_0x12d1d7([0x79])]:_0x12d1d7([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]),[_0x12d1d7([0x61,0x6c,0x67])]:_0x12d1d7([0x45,0x53,0x32,0x35,0x36])},_0x39c3b9=_0x13cdbd[_0x12d1d7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x12d1d7([0x67,0x65,0x74])](_0x12d1d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x19c6ae(){let _0x8b7494,_0x5b2463=null,_0x5c28fe=null;try{if(_0x39c3b9==_0x12d1d7([0x47,0x50,0x4c]))return _0x12d1d7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8b7494=_0x49893d(),!_0x8b7494)return _0x12d1d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8b7494[_0x12d1d7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c28fe=_0x16bda3(_0x8b7494[_0x12d1d7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8b7494[_0x12d1d7([0x6a,0x74,0x69])])),await _0x23009a()?_0x14c71e()?_0x227ec3()?_0x12d1d7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xee752f()?(_0x8b7494[_0x12d1d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12d1d7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b2463=_0x23d852(_0x12d1d7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8b7494[_0x12d1d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12d1d7([0x74,0x72,0x69,0x61,0x6c])&&(_0x5b2463=_0x23d852(_0x12d1d7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36f38b()):_0x12d1d7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x12d1d7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x12d1d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x12d1d7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x227ec3(){const _0x45b88d=[_0x12d1d7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x12d1d7([0x74,0x72,0x69,0x61,0x6c])][_0x12d1d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8b7494[_0x12d1d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2680d5/0x3e8:0xe10*_0x17bbed;return _0x8b7494[_0x12d1d7([0x65,0x78,0x70])]<_0x45b88d;}function _0x14c71e(){const _0x15572c=_0x8b7494[_0x12d1d7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x15572c&&(!!_0x15572c[_0x12d1d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12d1d7([0x2a]))||!!_0x15572c[_0x12d1d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12d1d7([0x46,0x4f,0x4f])));}function _0xee752f(){const _0x3aa2aa=_0x8b7494[_0x12d1d7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3aa2aa||0x0==_0x3aa2aa[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x502629}=new URL(window[_0x12d1d7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3aa2aa[_0x12d1d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x502629))return!0x0;const _0x4c170b=_0x502629[_0x12d1d7([0x73,0x70,0x6c,0x69,0x74])](_0x12d1d7([0x2e]));return _0x3aa2aa[_0x12d1d7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29b3af=>_0x29b3af[_0x12d1d7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12d1d7([0x2a])))[_0x12d1d7([0x6d,0x61,0x70])](_0x25c750=>_0x25c750[_0x12d1d7([0x73,0x70,0x6c,0x69,0x74])](_0x12d1d7([0x2e])))[_0x12d1d7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x27839f=>_0x27839f[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4c170b[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12d1d7([0x6d,0x61,0x70])](_0x40ccf4=>Array(_0x4c170b[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x40ccf4[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12d1d7([0x66,0x69,0x6c,0x6c])](_0x40ccf4[0x0]===_0x12d1d7([0x2a])?_0x12d1d7([0x2a]):'')[_0x12d1d7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x40ccf4))[_0x12d1d7([0x73,0x6f,0x6d,0x65])](_0x5b8cf2=>_0x4c170b[_0x12d1d7([0x65,0x76,0x65,0x72,0x79])]((_0xae35be,_0xb3fedc)=>_0x5b8cf2[_0xb3fedc]===_0xae35be||_0x5b8cf2[_0xb3fedc]===_0x12d1d7([0x2a])));}function _0x36f38b(){return _0x5b2463&&_0x5c28fe?new window[(_0x12d1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52fb36,_0x49719d)=>{_0x5b2463[_0x12d1d7([0x74,0x68,0x65,0x6e])](_0x52fb36,_0x49719d),_0x5c28fe[_0x12d1d7([0x74,0x68,0x65,0x6e])](_0x527a0f=>{_0x527a0f!=_0x12d1d7([0x56,0x61,0x6c,0x69,0x64])&&_0x52fb36(_0x527a0f);},_0x49719d);}):_0x5b2463||_0x5c28fe||_0x12d1d7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16bda3(_0x428f61,_0x1c439b){return new window[(_0x12d1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcb94d6=>{if(_0x4e098a())return _0xcb94d6(_0x12d1d7([0x56,0x61,0x6c,0x69,0x64]));_0x23d70a(),_0x13cdbd[_0x12d1d7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x12d1d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4856de=!0x1;const _0xf92ce2=_0x1eee8b();function _0x50cef7(_0x158ced){return!!_0x158ced&&(typeof _0x158ced===_0x12d1d7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x158ced===_0x12d1d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x158ced[_0x12d1d7([0x74,0x68,0x65,0x6e])]===_0x12d1d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x158ced[_0x12d1d7([0x63,0x61,0x74,0x63,0x68])]===_0x12d1d7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x46cc1d(_0xa3af0d){_0x3803c0(_0xa3af0d)[_0x12d1d7([0x74,0x68,0x65,0x6e])](_0x325eb3=>{if(!_0x325eb3||_0x325eb3[_0x12d1d7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x12d1d7([0x6f,0x6b]))return _0x12d1d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a1333(_0x2beca6(_0xf92ce2+_0x1c439b))!=_0x325eb3[_0x12d1d7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x12d1d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x12d1d7([0x56,0x61,0x6c,0x69,0x64]);})[_0x12d1d7([0x74,0x68,0x65,0x6e])](_0xaf75b5=>(_0xe9ceda(),_0xaf75b5),()=>{const _0x15e5ee=_0x123e55();return null==_0x15e5ee?(_0xe9ceda(),_0x12d1d7([0x56,0x61,0x6c,0x69,0x64])):_0x12d1d7(_0x2680d5-_0x15e5ee>(0x63ae0106^_0x435131)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x12d1d7([0x74,0x68,0x65,0x6e])](_0xcb94d6)[_0x12d1d7([0x63,0x61,0x74,0x63,0x68])](()=>{_0xcb94d6(_0x12d1d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4e376c=0x47946b86^_0x435131;function _0xe9ceda(){const _0x19bd73=_0x12d1d7([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a1333(_0x2beca6(_0x428f61)),_0x45d4ba=_0x2880ca(_0x4a1333(window[_0x12d1d7([0x4d,0x61,0x74,0x68])][_0x12d1d7([0x63,0x65,0x69,0x6c])](_0x2680d5/_0x4e376c)));window[_0x12d1d7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12d1d7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19bd73,_0x45d4ba);}function _0x123e55(){const _0x519598=_0x12d1d7([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a1333(_0x2beca6(_0x428f61)),_0x2cf03e=window[_0x12d1d7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12d1d7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x519598);return _0x2cf03e?window[_0x12d1d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2880ca(_0x2cf03e),0x10)*_0x4e376c:null;}function _0x3803c0(_0x5533d0){return new window[(_0x12d1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b4ae8,_0x5064fb)=>{_0x5533d0[_0x12d1d7([0x74,0x68,0x65,0x6e])](_0x5b4ae8,_0x5064fb),window[_0x12d1d7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5064fb,0x47a351c6^_0x435131);});}}_0x13cdbd[_0x12d1d7([0x6f,0x6e])](_0x12d1d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x576117,_0x48d990)=>{if(_0x48d990[0x0]!=_0x428f61)return _0xcb94d6(_0x12d1d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x48d990[0x1]={..._0x48d990[0x1],[_0x12d1d7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xf92ce2};},{[_0x12d1d7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12d1d7([0x68,0x69,0x67,0x68])}),_0x13cdbd[_0x12d1d7([0x6f,0x6e])](_0x12d1d7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b64e2=>{_0x50cef7(_0x1b64e2[_0x12d1d7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4856de=!0x0,_0x46cc1d(_0x1b64e2[_0x12d1d7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x12d1d7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12d1d7([0x6c,0x6f,0x77])}),_0x1a26b3[_0x12d1d7([0x74,0x68,0x65,0x6e])](()=>{_0x4856de||_0xcb94d6(_0x12d1d7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4e098a(){return _0x13cdbd[_0x12d1d7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12d1d7([0x76,0x69,0x65,0x77])][_0x12d1d7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x12d1d7([0x61,0x75,0x74,0x6f]);}function _0x23d70a(){_0x13cdbd[_0x12d1d7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12d1d7([0x76,0x69,0x65,0x77])][_0x12d1d7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12d1d7([0x61,0x75,0x74,0x6f]);}}function _0x23d852(_0x7955cc){const _0x5c32e4=[new window[(_0x12d1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xee2490=>setTimeout(_0xee2490,0x47abbbca^_0x435131)),_0x1a26b3[_0x12d1d7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x12d1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38a723=>{let _0x419dc8=0x0;_0x13cdbd[_0x12d1d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x12d1d7([0x6f,0x6e])](_0x12d1d7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a6147,_0x34fc06)=>{_0x34fc06[0x0][_0x12d1d7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x419dc8++,_0x419dc8==(0x47a284fe^_0x435131)&&(_0x38a723(),_0x3a6147[_0x12d1d7([0x6f,0x66,0x66])]());});}))];return window[_0x12d1d7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12d1d7([0x72,0x61,0x63,0x65])](_0x5c32e4)[_0x12d1d7([0x74,0x68,0x65,0x6e])](()=>_0x7955cc);}async function _0x3df2a2(){await _0x1a26b3,_0x13cdbd[_0x12d1d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x12d1d7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x33f3a6,_0x13cdbd[_0x12d1d7([0x6d,0x6f,0x64,0x65,0x6c])][_0x12d1d7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x33f3a6,_0x13cdbd[_0x12d1d7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12d1d7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1d9581(_0x2c767d){const _0x37e292=_0x23914a();_0x13cdbd[_0x37e292]=_0x12d1d7([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c767d,_0x2c767d!=_0x12d1d7([0x56,0x61,0x6c,0x69,0x64])&&_0x3df2a2();}function _0x23914a(){const _0xe9a4ff=window[_0x12d1d7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x12d1d7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12d1d7([0x6e,0x6f,0x77])]())[_0x12d1d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12d1d7([0x2e]),'');let _0x132692=_0x12d1d7([0x75]);for(let _0x128d1c=0x0;_0x128d1c<_0xe9a4ff[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x128d1c+=0x2){let _0x19af8e=window[_0x12d1d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe9a4ff[_0x12d1d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x128d1c,_0x128d1c+0x2));_0x19af8e>=_0x2c683d[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19af8e-=_0x2c683d[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x132692+=_0x2c683d[_0x19af8e];}return _0x132692;}function _0x49893d(){const _0x8c8451=_0x39c3b9[_0x12d1d7([0x73,0x70,0x6c,0x69,0x74])](_0x12d1d7([0x2e]));if(0x3!=_0x8c8451[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x7b713c(_0x8c8451[0x1]);function _0x7b713c(_0x8e2286){const _0x4a2e94=_0x2208e3(_0x8e2286);return _0x4a2e94&&_0x52bbc9()?_0x4a2e94:null;function _0x52bbc9(){const _0x28dc96=_0x4a2e94[_0x12d1d7([0x6a,0x74,0x69])],_0x4ab297=window[_0x12d1d7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28dc96[_0x12d1d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x28dc96[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x42ffc2={..._0x4a2e94,[_0x12d1d7([0x6a,0x74,0x69])]:_0x28dc96[_0x12d1d7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x28dc96[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x42ffc2[_0x12d1d7([0x76,0x63])],_0x2beca6(_0x42ffc2)==_0x4ab297;}}}async function _0x23009a(){let _0x40d943=!0x0;try{const _0x568a5e=_0x39c3b9[_0x12d1d7([0x73,0x70,0x6c,0x69,0x74])](_0x12d1d7([0x2e])),[_0x2cd424,_0x4285c7,_0x1e059e]=_0x568a5e;return _0x1327d2(_0x2cd424),await _0x108697(_0x2cd424,_0x4285c7,_0x1e059e),_0x40d943;}catch{return!0x1;}function _0x1327d2(_0x23d203){const _0x2069e5=_0x2208e3(_0x23d203);_0x2069e5&&_0x2069e5[_0x12d1d7([0x61,0x6c,0x67])]==_0x12d1d7([0x45,0x53,0x32,0x35,0x36])||(_0x40d943=!0x1);}async function _0x108697(_0x440283,_0x11bf79,_0x1e2a22){const _0x50ac71=window[_0x12d1d7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x12d1d7([0x66,0x72,0x6f,0x6d])](_0x390cd4(_0x1e2a22),_0x6755e9=>_0x6755e9[_0x12d1d7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x343471=new window[(_0x12d1d7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x12d1d7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x440283+_0x12d1d7([0x2e])+_0x11bf79),_0x1d291d=window[_0x12d1d7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x12d1d7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1d291d)return;const _0x5a4215=await _0x1d291d[_0x12d1d7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x12d1d7([0x6a,0x77,0x6b]),_0x2c2de6,{[_0x12d1d7([0x6e,0x61,0x6d,0x65])]:_0x12d1d7([0x45,0x43,0x44,0x53,0x41]),[_0x12d1d7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x12d1d7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x12d1d7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1d291d[_0x12d1d7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x12d1d7([0x6e,0x61,0x6d,0x65])]:_0x12d1d7([0x45,0x43,0x44,0x53,0x41]),[_0x12d1d7([0x68,0x61,0x73,0x68])]:{[_0x12d1d7([0x6e,0x61,0x6d,0x65])]:_0x12d1d7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5a4215,_0x50ac71,_0x343471)||(_0x40d943=!0x1);}}function _0x2208e3(_0x4c3342){return _0x4c3342[_0x12d1d7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x12d1d7([0x65,0x79]))?JSON[_0x12d1d7([0x70,0x61,0x72,0x73,0x65])](_0x390cd4(_0x4c3342)):null;}function _0x390cd4(_0x1194c3){return window[_0x12d1d7([0x61,0x74,0x6f,0x62])](_0x1194c3[_0x12d1d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x12d1d7([0x2b]))[_0x12d1d7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x12d1d7([0x2f])));}function _0x2beca6(_0xe8828){let _0x2f137d=0x1505;function _0x14a9a9(_0xf54962){for(let _0x7f93c7=0x0;_0x7f93c7<_0xf54962[_0x12d1d7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7f93c7++){const _0x27d27c=_0xf54962[_0x12d1d7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7f93c7);_0x2f137d=(_0x2f137d<<0x5)+_0x2f137d+_0x27d27c,_0x2f137d&=_0x2f137d;}}function _0xcb94c4(_0x57cb21){Array[_0x12d1d7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x57cb21)?_0x57cb21[_0x12d1d7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xcb94c4):_0x57cb21&&typeof _0x57cb21==_0x12d1d7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x12d1d7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x57cb21)[_0x12d1d7([0x73,0x6f,0x72,0x74])]()[_0x12d1d7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c1442,_0x43409d])=>{_0x14a9a9(_0x2c1442),_0xcb94c4(_0x43409d);}):_0x14a9a9(window[_0x12d1d7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x57cb21));}return _0xcb94c4(_0xe8828),_0x2f137d>>>0x0;}function _0x4a1333(_0x511bfe){return _0x511bfe[_0x12d1d7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x12d1d7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x12d1d7([0x30]));}function _0x2880ca(_0x546ebf){return _0x546ebf[_0x12d1d7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x12d1d7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x12d1d7([0x6a,0x6f,0x69,0x6e])]('');}function _0x33f3a6(){}function _0x12d1d7(_0x39dd76){return _0x39dd76['map'](_0x5f4ace=>String['fromCharCode'](_0x5f4ace))['join']('');}_0x1d9581(await _0x19c6ae());}(this);}['_moveSelectionToFootnoteDefinition'](_0x147805){const {plugins:_0x3b8c4b,editing:_0x30fc08,model:_0x3529b1}=this['editor'],_0x4b5e08=_0x3b8c4b['get'](f)['getFootnote'](_0x147805);return!!_0x4b5e08&&(_0x3529b1['change'](_0x3509fd=>{_0x3509fd['setSelection'](_0x3509fd['createPositionAt'](_0x4b5e08['definition'],'end'));}),_0x30fc08['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3fdc04){const {plugins:_0x29c34b,editing:_0x4deae6,model:_0x2fc4fe}=this['editor'],_0x1ff266=_0x29c34b['get'](f)['getFootnote'](_0x3fdc04);return!!_0x1ff266&&(_0x2fc4fe['change'](_0x5661f2=>{_0x5661f2['setSelection'](_0x1ff266['reference'],'on');}),_0x4deae6['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x24dd68}=this['editor']['model'],_0x3c4d0f=this['editor']['config']['get']('footnotes.multiBlock');_0x24dd68['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x24dd68['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x24dd68['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3c4d0f?_0x24dd68['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x24dd68['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x24dd68['addChildCheck'](_0x3862e3=>{for(const _0x3bc161 of _0x3862e3)if('footnoteDefinition'===_0x3bc161['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2930c2}=this,{conversion:_0x4e8af6,editing:_0x45e5ca}=_0x2930c2,{t:t}=_0x2930c2['locale'];_0x4e8af6['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x193647,{writer:_0x27ef4e,consumable:_0x5a3116})=>{const _0x1f485d=_0x193647['getChild'](0x0);if(!_0x1f485d||!_0x1f485d['is']('element','a'))return null;const _0x4f19cf=_0x1f485d['getAttribute']('href')||'';if(!_0x4f19cf['startsWith']('#'))return null;const _0xbe39c3=_0x4f19cf['replace'](/^#/,'');if(!_0xbe39c3)return null;_0x5a3116['consume'](_0x1f485d,{'name':!0x0,'attributes':['href']});for(const {item:_0x459d8a}of _0x45e5ca['view']['createRangeIn'](_0x1f485d))_0x459d8a['is']('$textProxy')?_0x5a3116['consume'](_0x459d8a['textNode'],{'name':!0x0}):_0x459d8a['is']('element')&&_0x5a3116['consume'](_0x459d8a,{'name':!0x0});return _0x27ef4e['createElement']('footnoteRef',{'footnoteId':_0xbe39c3});}}),_0x4e8af6['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3a82ca,{writer:_0x5b9b0a})=>D(_0x3a82ca,_0x5b9b0a)}),_0x4e8af6['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x52e02f,{writer:_0x52908f})=>{const _0x569b2a=_0x52e02f['getAttribute']('footnoteCounter');return _0x9750cb(D(_0x52e02f,_0x52908f),_0x52908f,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x569b2a)});}});}['_defineDefinitionsConverters'](){const {editor:_0x42f958}=this,{t:t}=_0x42f958['locale'],{conversion:_0x37c1f7}=_0x42f958;_0x37c1f7['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x37c1f7['for']('upcast')['add'](_0x736bc=>{_0x736bc['on']('element:ol',(_0x2f1532,_0x2538fb,_0x52d972)=>{const _0x30f28a=_0x2538fb['viewItem'];if(!_0x30f28a['hasClass']('footnotes-list')||!_0x2538fb['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x52d972['consumable']['consume'](_0x30f28a,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x21ced8,modelCursor:_0x30f0c3}=_0x52d972['convertChildren'](_0x2538fb['viewItem'],_0x2538fb['modelCursor']);_0x2538fb['modelRange']=_0x21ced8,_0x2538fb['modelCursor']=_0x30f0c3;}),_0x736bc['on']('element:hr',(_0x2e57c6,_0x45d604,_0x2c7249)=>{const _0x15d268=_0x45d604['viewItem'];_0x15d268['hasClass']('footnotes-divider')&&_0x45d604['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2c7249['consumable']['consume'](_0x15d268,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x37c1f7['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x347cbd,{writer:_0x34de48})=>v(_0x34de48)}),_0x37c1f7['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2a3350,{writer:_0x3dc28d})=>{const _0x285fa7=v(_0x3dc28d,{'data-footnotes-list-label':t('Footnotes')}),_0x4d4c1d=_0x9750cb(_0x285fa7,_0x3dc28d,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3dc28d['setCustomProperty']('footnotesDefinitions',!0x0,_0x4d4c1d),_0x4d4c1d;}});}['_defineDefinitionConverters'](){const {editor:_0x396b6e}=this,{conversion:_0x122c6b,locale:_0x3db3e8}=_0x396b6e,_0x2013fb=_0x396b6e['config']['get']('footnotes.multiBlock');_0x122c6b['for']('upcast')['add'](_0x35304c=>{_0x35304c['on']('element:li',(_0x305093,_0x3c6065,_0x3bcaf6)=>{const _0x2a192c=_0x3c6065['viewItem'];if(!_0x2a192c['hasClass']('footnote-definition')||!_0x2a192c['getAttribute']('id'))return;const _0x349840=_0x2a192c['parent'];if(!_0x349840['is']('element','ol')||!_0x349840['hasClass']('footnotes-list'))return;if(!_0x3bcaf6['consumable']['test'](_0x2a192c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1691c7=_0x3bcaf6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2a192c['getAttribute']('id')});if(!_0x3bcaf6['safeInsert'](_0x1691c7,_0x3c6065['modelCursor']))return;_0x3bcaf6['consumable']['consume'](_0x2a192c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3cade2=Array['from'](_0x2a192c['getChildren']())['find'](_0xd00c39=>_0xd00c39['is']('element')&&_0xd00c39['hasClass']('footnote-content'));for(const _0x2e8e48 of _0x2a192c['getChildren']())_0x2e8e48['is']('element')&&(_0x3bcaf6['consumable']['consume'](_0x2e8e48,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3bcaf6['consumable']['consume'](_0x2e8e48,{'name':!0x0,'classes':'footnote-content'}));if(_0x3cade2){if(_0x2013fb)_0x3bcaf6['convertChildren'](_0x3cade2,_0x1691c7);else{const _0x234e38=_0x3bcaf6['writer']['createElement']('footnoteInlineContent');_0x3bcaf6['writer']['insert'](_0x234e38,_0x1691c7),_0x3bcaf6['convertChildren'](_0x3cade2,_0x234e38);}}_0x3bcaf6['updateConversionResult'](_0x1691c7,_0x3c6065);});}),_0x122c6b['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x392e19,{writer:_0x733bc1})=>b(_0x392e19,_0x733bc1,_0x3db3e8,{'dataPipeline':!0x0})}),_0x122c6b['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x6fa381,{writer:_0x5e1457})=>b(_0x6fa381,_0x5e1457,_0x3db3e8)});}['_defineBogusParagraphConverters'](){const {editor:_0x11fb0c}=this,{conversion:_0x3039bb}=_0x11fb0c;_0x11fb0c['config']['get']('footnotes.multiBlock')?(_0x3039bb['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x3039bb['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x11fb0c['model']['document'],'change:data',()=>{!function(_0x455c4d,_0x24b6cf){const _0xa1dd4d=_0x455c4d['document']['differ'],_0x1986fa=new Set();for(const _0x2995ae of _0xa1dd4d['getChanges']()){const _0x18fdca='attribute'==_0x2995ae['type']?_0x2995ae['range']['start']['parent']:_0x2995ae['position']['parent'];_0x18fdca['is']('element','footnoteDefinition')&&_0x1986fa['add'](_0x18fdca);}for(const _0x1e6931 of _0x1986fa['values']()){const _0x2cab29=Array['from'](_0x1e6931['getChildren']())['filter'](_0x3ead8e=>g(_0x3ead8e,_0x24b6cf['mapper']));for(const _0x94c66b of _0x2cab29)_0x24b6cf['reconvertItem'](_0x94c66b);}}(_0x11fb0c['model'],_0x11fb0c['editing']);})):(_0x3039bb['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x3039bb['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x14ed81,{writer:_0xdd63fe})=>{const _0x27204a=_0xdd63fe['createContainerElement']('span');return _0xdd63fe['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x27204a),_0x27204a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3ac12c}=this,{editing:_0x1ea3f7,t:t}=_0x3ac12c,_0x43a908=_0x3ac12c['model']['document']['selection'];_0x3ac12c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3ac12c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1ea3f7['view']['document'],'enter',(_0x439cae,_0x316f9d)=>{const _0x14c054=function(_0x4fb5e2){const _0x387634=_0x4fb5e2['getSelectedElement']();if(_0x387634?.['is']('element','footnoteRef'))return _0x387634;return null;}(_0x43a908);if(_0x14c054){const _0x1c8c30=_0x14c054['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1c8c30),_0x316f9d['preventDefault'](),_0x439cae['stop']();}},{'context':_0x16962e});}['_defineClickHandlers'](){const {editor:_0x51df34}=this,{editing:_0x2a0ccd}=_0x51df34;_0x51df34['editing']['view']['addObserver'](_0x5065df),_0x51df34['editing']['view']['addObserver'](_0x12cb76);let _0x374c59=!0x1;this['listenTo'](_0x2a0ccd['view']['document'],'pointerdown',(_0x1649d4,_0x19386c)=>{const {target:_0x523104}=_0x19386c,_0x9319f0=_0x2a0ccd['view']['document']['selection'];_0x374c59=!!(_0x523104?.['is']('element','a')&&_0x523104['parent']?.['is']('element','sup')&&_0x523104['parent']['hasClass']('footnote'))&&_0x9319f0['getSelectedElement']()===_0x523104['parent'];},{'priority':'high'}),this['listenTo'](_0x2a0ccd['view']['document'],'click',(_0x5cf67e,_0x486aee)=>{const {target:_0x2f6ff8}=_0x486aee;if(!_0x2f6ff8?.['is']('element','a'))return;if(_0x2f6ff8['parent']?.['is']('element','sup')&&_0x2f6ff8['parent']['hasClass']('footnote')&&!_0x374c59)return void _0x486aee['preventDefault']();let _0x33a7c3=_0x2f6ff8['getAttribute']('href');if(!_0x33a7c3?.['startsWith']('#'))return;_0x33a7c3=_0x33a7c3['slice'](0x1);let _0x44ab16=!0x1;(_0x33a7c3['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x33a7c3['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x33a7c3))&&(_0x44ab16=!0x0),_0x44ab16&&(_0x486aee['preventDefault'](),_0x5cf67e['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x5d304e}={}){return(_0x155163,{writer:_0x3ab745})=>{if(!p(_0x155163))return null;if(!_0x5d304e)return _0x3ab745['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x361202=_0x3ab745['createContainerElement']('p');return _0x3ab745['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x361202),_0x361202;};}function p(_0x35530c){const {parent:_0x552a01}=_0x35530c;if(!_0x552a01?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x552a01['childCount'])return!0x1;for(const _0x38c2a2 of _0x35530c['getAttributeKeys']())if(!_0x38c2a2['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x38c2a2)return!0x1;return!0x0;}function g(_0x163e81,_0x40b88e){if(!_0x163e81['is']('element','paragraph'))return!0x1;const _0xe94a67=_0x40b88e['toViewElement'](_0x163e81);return!!_0xe94a67&&p(_0x163e81)!==_0xe94a67['is']('element','span');}function J(_0x358215){return _0x16962e(_0x358215)&&_0x358215['is']('containerElement')&&!!_0x358215['getCustomProperty']('footnotesDefinitions');}function v(_0x2dbc24,_0x3b706f={}){const _0x232c60=_0x2dbc24['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x49de6e=_0x2dbc24['createContainerElement']('ol',{'class':'footnotes-list'},_0x2dbc24['createSlot']());return _0x2dbc24['createContainerElement']('div',{'class':'footnotes',..._0x3b706f},[_0x232c60,_0x49de6e]);}function D(_0x415526,_0x196220){const _0x328d1d=_0x415526['getAttribute']('footnoteId'),_0x5a08b1=_0x415526['getAttribute']('footnoteCounter'),_0x421b04=_0x196220['createUIElement']('a',{'href':'#'+_0x328d1d},function(_0x424a60){const _0x2761ab=this['toDomElement'](_0x424a60);return _0x2761ab['textContent']=_0x5a08b1,_0x2761ab;}),_0x217ff9=_0x196220['createContainerElement']('sup',{'id':'ref-'+_0x328d1d,'class':'footnote'},[_0x421b04]);return _0x217ff9['getFillerOffset']=()=>null,_0x217ff9;}function b(_0x3dfbcd,_0xcbe3f4,_0x50a729,{dataPipeline:_0x5dc8f0}={}){const {t:t}=_0x50a729,_0x143daf=_0x3dfbcd['getAttribute']('footnoteId'),_0x29f021=_0xcbe3f4['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x143daf},function(_0x468156){const _0x4ee234=this['toDomElement'](_0x468156);return _0x4ee234['innerText']='^',_0x4ee234;}),_0x377b5a=_0x5dc8f0?_0xcbe3f4['createContainerElement']('div',{'class':'footnote-content'}):_0x5d97bd(_0xcbe3f4['createEditableElement']('div',{'class':'footnote-content'}),_0xcbe3f4,{'label':t('Footnote\x20content.')});return _0xcbe3f4['insert'](_0xcbe3f4['createPositionAt'](_0x377b5a,0x0),_0xcbe3f4['createSlot']()),_0xcbe3f4['createContainerElement']('li',{'class':'footnote-definition','id':_0x143daf},[_0x29f021,_0x377b5a]);}class e extends _0x4869ba{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x484ee2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x1b37b8}=this,{plugins:_0x3b71d7,model:_0x288311}=_0x1b37b8,_0x38f9e9=_0x3b71d7['get'](_0x484ee2),_0xbda1d=_0x3b71d7['get'](f);this['listenTo'](_0x38f9e9,'outputTransformation',(_0x2abd13,_0x543e13)=>{const _0xbab883=c(_0x288311['createRangeIn'](_0x543e13['content']));if(!_0xbab883['length'])return;const _0x130de1=_0xbda1d['getFootnotes'](),_0x164c5b=_0xbab883['reduce']((_0xbc880e,_0x4e7648)=>{const _0x2a790c=_0x130de1['find'](_0x847f81=>_0x847f81['id']===_0x4e7648);if(_0x2a790c){const _0x200252=_0x1b37b8['data']['toView'](_0x2a790c['definition'],{'isClipboardPipeline':!0x0}),_0x3a8f81=_0x1b37b8['data']['htmlProcessor']['toData'](_0x200252);_0xbc880e[_0x2a790c['id']]=_0x3a8f81;}return _0xbc880e;},Object['create'](null));_0x543e13['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x164c5b));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x4939fd}=this,{model:_0x424451,plugins:_0x846fd6}=_0x4939fd,{view:_0x460282}=_0x4939fd['editing'],_0x3df2ef=_0x846fd6['get'](_0x484ee2),_0x4e8666=_0x846fd6['get'](f),_0x507d8e=_0x4939fd['config']['get']('footnotes.multiBlock');let _0x238284=null;this['listenTo'](_0x460282['document'],'clipboardInput',(_0x224c30,_0x20f5be)=>{const _0xbfdb0b=_0x20f5be['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x238284=_0xbfdb0b?JSON['parse'](_0xbfdb0b):null;}),this['listenTo'](_0x3df2ef,'contentInsertion',(_0x454d73,_0x41e8a7)=>{const _0x2a0c7a=_0x41e8a7['sourceEditorId']===this['editor']['id'];_0x2a0c7a&&'drop'===_0x41e8a7['method']||_0x424451['change'](_0x290cb5=>{let _0xd765a8=_0x4e8666['getFootnotesDefinitionsObjectElement']();const _0x563700=!!_0xd765a8&&Array['from'](_0x424451['document']['selection']['getSelectedBlocks']())['includes'](_0xd765a8);if((_0xd765a8&&!_0x563700||!_0xd765a8&&!_0x238284)&&function(_0x5ea782,_0x423911){const _0x1cbc64=[];for(const {item:_0x319cf9}of _0x5ea782['createRangeIn'](_0x423911))_0x319cf9['is']('element','footnotesDefinitions')&&_0x1cbc64['push'](_0x319cf9);for(const _0x50db75 of _0x1cbc64)_0x5ea782['remove'](_0x50db75);}(_0x290cb5,_0x41e8a7['content']),!_0x238284)return;const {selection:_0xcc2a0a}=_0x424451['document'],_0x5474c3=_0xcc2a0a['getFirstRange']()['root'];_0xd765a8&&!_0x563700||(_0xd765a8=function(_0x1d46ac,_0x4bc573){for(const {item:_0x573010}of _0x1d46ac['createRangeIn'](_0x4bc573))if(_0x573010['is']('element','footnotesDefinitions'))return _0x573010;return null;}(_0x290cb5,_0x41e8a7['content']),_0xd765a8||=_0x4e8666['_insertEmptyFootnotesDefinitionsContainer'](_0x290cb5,_0x5474c3));const _0x329007=Array['from'](_0xcc2a0a['getRanges']())['flatMap'](c),_0x247a61=function(_0x53171a,_0xf3c710,_0x138e08){const _0x2520f2=Object['create'](null);for(const {item:_0x5ae95c}of _0x53171a['createRangeIn'](_0xf3c710))if(_0x5ae95c['is']('element','footnoteRef')){const _0x18b362=_0x5ae95c['getAttribute']('footnoteId');if(!_0x138e08(_0x18b362))continue;_0x2520f2[_0x18b362]||(_0x2520f2[_0x18b362]=_0x1eee8b()),_0x53171a['setAttribute']('footnoteId',_0x2520f2[_0x18b362],_0x5ae95c);}return _0x2520f2;}(_0x290cb5,_0x41e8a7['content'],_0x426781=>{if(!_0x2a0c7a)return!0x0;return!!_0x4e8666['getFootnote'](_0x426781)&&!_0x329007['includes'](_0x426781);});for(const [_0x2a1992,_0x30f474]of Object['entries'](_0x238284)){const _0x34892c=_0x247a61[_0x2a1992]||_0x2a1992,_0xd7af59=_0x290cb5['createElement']('footnoteDefinition',{'footnoteId':_0x34892c}),_0x47f8d4=_0x4939fd['data']['htmlProcessor']['toView'](_0x30f474);let _0x5526a5;if(_0x507d8e)_0x5526a5=_0x4939fd['data']['toModel'](_0x47f8d4,_0xd7af59);else{_0x5526a5=_0x290cb5['createElement']('footnoteInlineContent');const _0x341eea=_0x4939fd['data']['toModel'](_0x47f8d4,_0x5526a5);_0x290cb5['insert'](_0x341eea,_0x5526a5);}_0x290cb5['append'](_0x5526a5,_0xd7af59),_0x290cb5['insert'](_0xd7af59,_0xd765a8,'end');}_0x238284=null;});});}}function c(_0x4a7c9c){const _0x1a83ad=new Set();for(const {item:_0x444bc7}of _0x4a7c9c)_0x444bc7['is']('element','footnoteRef')&&_0x1a83ad['add'](_0x444bc7['getAttribute']('footnoteId'));return Array['from'](_0x1a83ad);}class i extends _0x4869ba{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x22e97c}=this,{componentFactory:_0x248107}=_0x22e97c['ui'];_0x248107['add']('insertFootnote',x(_0x22e97c,_0x5b6f34)),_0x248107['add']('menuBar:insertFootnote',x(_0x22e97c,_0x4ab967)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x564b6f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x334f41;for(const _0x107c8e in _0x564b6f){const _0x7c5387=_0x107c8e,_0x587c14=_0x564b6f[_0x7c5387];if('footnotesLicenseKeyValid'==_0x587c14||'footnotesLicenseKeyInvalid'==_0x587c14||'footnotesLicenseKeyExpired'==_0x587c14||'footnotesLicenseKeyDomainLimit'==_0x587c14||'footnotesLicenseKeyNotAllowed'==_0x587c14||'footnotesLicenseKeyEvaluationLimit'==_0x587c14||'footnotesLicenseKeyTrialLimit'==_0x587c14||'footnotesLicenseKeyUsageLimit'==_0x587c14){delete _0x564b6f[_0x7c5387],_0x334f41=_0x587c14,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x334f41&&_0x564b6f['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x334f41&&_0x564b6f['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x334f41&&_0x564b6f['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x334f41&&_0x564b6f['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x334f41&&_0x564b6f['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x334f41&&_0x564b6f['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x334f41&&_0x564b6f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x26ac92,_0x58873b){const _0x106907=_0x26ac92['commands']['get']('insertFootnote');return _0x4736c9=>{const {t:t}=_0x4736c9,_0x591914=new _0x58873b(_0x4736c9),_0x5e4f67=_0x591914 instanceof _0x4ab967;return _0x591914['bind']('isEnabled')['to'](_0x106907,'isEnabled'),_0x591914['set']({'label':t(_0x5e4f67?'Footnote':'Insert\x20footnote'),'icon':_0x1f86e7,'tooltip':!0x0}),_0x591914['on']('execute',()=>{_0x106907['execute'](),_0x26ac92['editing']['view']['focus']();}),_0x591914;};}class lt extends _0x4869ba{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0xd04106{['refresh'](){const {editor:_0x2a7e63}=this,_0x203d34=_0x2a7e63['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x203d34,this['value']=_0x203d34?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x31b549}){const {editor:_0xb145b8}=this,_0x3c04b8=_0xb145b8['plugins']['get'](f),_0x483736=_0x3c04b8['getFootnotesDefinitionsObjectElement']();_0x483736&&Q['includes'](_0x31b549)&&_0xb145b8['model']['change'](_0xdc9bff=>{_0xdc9bff['setAttribute']('footnotesListStyle',_0x31b549,_0x483736),_0x3c04b8['_updateFootnotesCounters'](_0xdc9bff);});}}class C extends _0xd04106{['refresh'](){const {editor:_0x2a5f1a}=this,_0xfc80ea=_0x2a5f1a['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xfc80ea,this['value']=_0xfc80ea?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x2d4fe1}){const {editor:_0x5564ec}=this,_0x2b5586=_0x5564ec['plugins']['get'](f),_0x59e529=_0x2b5586['getFootnotesDefinitionsObjectElement']();_0x59e529&&Number['isInteger'](_0x2d4fe1)&&_0x5564ec['model']['change'](_0xff019=>{_0xff019['setAttribute']('footnotesListStart',_0x2d4fe1,_0x59e529),_0x2b5586['_updateFootnotesCounters'](_0xff019);});}}class P extends _0x4869ba{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xb38d47}=this;_0xb38d47['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xb38d47['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xb38d47['commands']['add']('footnotesStyle',new S(_0xb38d47)),_0xb38d47['commands']['add']('footnotesStart',new C(_0xb38d47)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x206bc3}=this,{schema:_0x4adcf2}=_0x206bc3['model'];_0x4adcf2['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1ce0d0}=this,{conversion:_0x445b8c,model:_0x723a26}=_0x1ce0d0,{schema:_0x2cce45}=_0x723a26;_0x445b8c['for']('upcast')['add'](_0x4d4368=>{_0x4d4368['on']('element:ol',(_0x4bc739,_0x3ecff7,_0xb5ce4)=>{const _0x339d2e=_0x3ecff7['viewItem'],_0x1e42e9=_0x3ecff7['modelCursor']?.['parent'];_0x339d2e['hasClass']('footnotes-list')&&_0x1e42e9?.['is']('element','footnotesDefinitions')&&(function(_0x2591ae,_0x514846,_0x2e7bf3,_0x2fd771){if(!_0x2fd771['checkAttribute'](_0x514846,'footnotesListStart'))return;let _0x3fdf1e=0x1;const _0x402e55=_0x2e7bf3['consumable']['consume'](_0x2591ae,{'attributes':'start'});if(_0x402e55){const _0x8e320c=Number['parseInt'](_0x2591ae['getAttribute']('start'),0xa);Number['isNaN'](_0x8e320c)||(_0x3fdf1e=_0x8e320c);}!_0x402e55&&_0x514846['hasAttribute']('footnotesListStart')||_0x2e7bf3['writer']['setAttribute']('footnotesListStart',_0x3fdf1e,_0x514846);}(_0x339d2e,_0x1e42e9,_0xb5ce4,_0x2cce45),function(_0x2ace09,_0x416a2d,_0x416e1d,_0x19d0c8){if(!_0x19d0c8['checkAttribute'](_0x416a2d,'footnotesListStyle'))return;let _0x568c2c='decimal',_0x134713=!0x1;if(_0x416e1d['consumable']['consume'](_0x2ace09,{'attributes':'type'})){const _0x1b586a={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2ace09['getAttribute']('type')];_0x1b586a&&(_0x568c2c=_0x1b586a),_0x134713=!0x0;}_0x416e1d['consumable']['consume'](_0x2ace09,{'styles':'list-style-type'})&&(_0x568c2c=function(_0x7e08fc){switch(_0x7e08fc){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x7e08fc;}}(_0x2ace09['getStyle']('list-style-type')),_0x134713=!0x0),!_0x134713&&_0x416a2d['hasAttribute']('footnotesListStyle')||_0x416e1d['writer']['setAttribute']('footnotesListStyle',_0x568c2c,_0x416a2d);}(_0x339d2e,_0x1e42e9,_0xb5ce4,_0x2cce45));});}),_0x445b8c['for']('downcast')['add'](_0x4d9141=>{_0x4d9141['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x189e70,_0x4c7c4f,_0x361b23)=>{if(!_0x361b23['consumable']['consume'](_0x4c7c4f['item'],_0x189e70['name']))return;const _0x5b01dc=M(_0x4c7c4f['item'],_0x361b23['mapper']),{attributeNewValue:_0x23cc29}=_0x4c7c4f;null==_0x23cc29||0x1===_0x23cc29?_0x361b23['writer']['removeAttribute']('start',_0x5b01dc):_0x361b23['writer']['setAttribute']('start',String(_0x23cc29),_0x5b01dc);}),_0x4d9141['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2ff8dd,_0x149535,_0x2b7a06)=>{if(!_0x2b7a06['consumable']['consume'](_0x149535['item'],_0x2ff8dd['name']))return;const _0x498dcc=M(_0x149535['item'],_0x2b7a06['mapper']),{attributeNewValue:_0x3e1088}=_0x149535;_0x3e1088&&'decimal'!==_0x3e1088?_0x2b7a06['writer']['setStyle']('list-style-type',_0x3e1088,_0x498dcc):_0x2b7a06['writer']['removeStyle']('list-style-type',_0x498dcc);});});}['_definePostfixer'](){const {editor:_0x5ae73f}=this,{model:_0x3238f7}=_0x5ae73f,_0x28fd0b=_0x5ae73f['plugins']['get'](f),_0x381621=this['_getDefaultListStyle'](),_0x11f23d=this['_getDefaultStartIndex']();_0x3238f7['document']['registerPostFixer'](_0x82d984=>{const _0x447a39=_0x3238f7['document']['differ']['getChanges']();let _0x4a201e=!0x1;for(const _0x4c1874 of _0x447a39){if('insert'!==_0x4c1874['type']||'$text'===_0x4c1874['name'])continue;const _0x21de3c=_0x3238f7['createRangeOn'](_0x4c1874['position']['nodeAfter']);for(const _0xafb51e of _0x21de3c['getItems']())_0xafb51e['is']('element','footnotesDefinitions')&&(!_0xafb51e['hasAttribute']('footnotesListStart')&&_0x3238f7['schema']['checkAttribute'](_0xafb51e,'footnotesListStart')&&(_0x82d984['setAttribute']('footnotesListStart',_0x11f23d,_0xafb51e),_0x4a201e=!0x0),!_0xafb51e['hasAttribute']('footnotesListStyle')&&_0x3238f7['schema']['checkAttribute'](_0xafb51e,'footnotesListStyle')&&(_0x82d984['setAttribute']('footnotesListStyle',_0x381621,_0xafb51e),_0x4a201e=!0x0));}return _0x4a201e&&_0x28fd0b['_updateFootnotesCounters'](_0x82d984),_0x4a201e;});}['_defineFormatter'](){const {editor:_0x8a9dcd}=this;_0x8a9dcd['plugins']['get'](f)['setFootnoteFormatter'](_0x2001cf=>this['_formatFootnoteListValue'](_0x2001cf));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0xa90c3,value:_0x5aead9,digits:_0x2f7880}){const _0x1560e4=_0xa90c3['getAttribute']('footnotesListStyle'),_0x5c70c2=_0xa90c3['getAttribute']('footnotesListStart'),_0x6eb15f=Math['floor'](_0x5aead9)+(_0x5c70c2??0x1)-0x1;switch(_0x1560e4){case'decimal-leading-zero':return function(_0x5b4af2,_0x3c03ae){return String(_0x5b4af2)['padStart'](_0x3c03ae,'0');}(_0x6eb15f,Math['max'](0x2,_0x2f7880));case'lower-alpha':case'lower-latin':return N(_0x6eb15f,!0x1);case'upper-alpha':case'upper-latin':return N(_0x6eb15f,!0x0);case'lower-roman':return X(_0x6eb15f,!0x1);case'upper-roman':return X(_0x6eb15f,!0x0);default:return String(_0x6eb15f);}}}function M(_0x9ee8fc,_0x2f0321){const _0x315bc8=_0x2f0321['toViewElement'](_0x9ee8fc);return Array['from'](_0x315bc8['getChildren']())['find'](_0x50a41d=>_0x50a41d['is']('element','ol')&&_0x50a41d['hasClass']('footnotes-list'));}function N(_0x4c060c,_0x38bd8e){let _0x37faeb='',_0x2030d0=_0x4c060c;for(;_0x2030d0>0x0;){const _0x5bc950=(_0x2030d0-0x1)%0x1a;_0x37faeb=String['fromCharCode'](0x61+_0x5bc950)+_0x37faeb,_0x2030d0=Math['floor']((_0x2030d0-0x1)/0x1a);}return _0x38bd8e?_0x37faeb['toUpperCase']():_0x37faeb;}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(_0x44a889,_0x36cdd0){let _0x1043be='',_0x17cb32=_0x44a889;for(const {value:_0x368a11,numeral:_0x4a6a09}of V)for(;_0x17cb32>=_0x368a11;)_0x1043be+=_0x4a6a09,_0x17cb32-=_0x368a11;return _0x36cdd0?_0x1043be:_0x1043be['toLowerCase']();}class H extends _0x1ef24d{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x55a643();['focusCycler'];constructor(_0x427cf1,{styleButtonViews:_0x3425c6,styleGridAriaLabel:_0x2d0a71}){super(_0x427cf1),(this['focusCycler']=new _0x5dc5a1({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3425c6,_0x2d0a71),[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 _0x37e576 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x37e576['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x3b8f7f=_0x5e8d5b=>_0x5e8d5b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3b8f7f),this['keystrokes']['set']('arrowleft',_0x3b8f7f),this['keystrokes']['set']('arrowup',_0x3b8f7f),this['keystrokes']['set']('arrowdown',_0x3b8f7f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5d3bcb,_0x595129){const _0x514c6e=new _0x1ef24d(this['locale']);return _0x514c6e['children']=_0x514c6e['createCollection'](),_0x514c6e['children']['addMany'](_0x5d3bcb),_0x514c6e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x595129,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x514c6e['children']}),_0x514c6e['children']['delegate']('execute')['to'](this),_0x514c6e['focus']=function(){for(const _0x4c90f3 of this['children'])if(_0x4c90f3 instanceof _0x5b6f34&&_0x4c90f3['isOn'])return void _0x4c90f3['focus']();this['children']['first']['focus']();},_0x514c6e['focusTracker']=new ot(),_0x514c6e['keystrokes']=new rt(),_0x514c6e['render'](),_0x514c6e['keystrokes']['listenTo'](_0x514c6e['element']),this['children']['add'](_0x514c6e),_0x514c6e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3e5be9=this['_createStartIndexPropertyView'](),_0x1bfc66=[_0x3e5be9],_0x37ae14=new st(this['locale'],_0x1bfc66);return _0x37ae14['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x37ae14['buttonView']['bind']('isEnabled')['toMany'](_0x1bfc66,'isEnabled',(..._0xf6d232)=>_0xf6d232['some'](_0x54d78f=>_0x54d78f)),_0x37ae14['buttonView']['on']('change:isEnabled',(_0x292dbf,_0x4efa67,_0x44ea84)=>{_0x44ea84||(_0x37ae14['isCollapsed']=!0x0);}),this['children']['add'](_0x37ae14),[_0x3e5be9,_0x37ae14];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x730d5e=new it(this['locale'],et);return _0x730d5e['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x730d5e['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x730d5e['fieldView']['on']('input',()=>{const _0x431107=_0x730d5e['fieldView']['element'],_0x26b2b4=_0x431107['valueAsNumber'];Number['isNaN'](_0x26b2b4)?_0x730d5e['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x431107['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x26b2b4}):_0x730d5e['errorText']=t(_0x26b2b4<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x730d5e;}}class j extends _0x4869ba{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x416435,_0x410dcc];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1b99c4}=this,{componentFactory:_0x2020ce}=_0x1b99c4['ui'];_0x1b99c4['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2020ce['add']('footnotesStyle',function(_0x1e4894){return _0x1fbae0=>{const {t:t}=_0x1fbae0,_0x2bc03d=_0x1e4894['commands']['get']('footnotesStyle'),_0x5ae6bf=_0x51cc92(_0x1fbae0),{buttonView:_0xf75484}=_0x5ae6bf;return _0x5ae6bf['class']='ck-footnotes-styles-dropdown',_0x5ae6bf['bind']('isEnabled')['to'](_0x2bc03d,'isEnabled'),_0xf75484['set']({'label':t('Footnotes\x20style'),'icon':_0x1f86e7,'tooltip':!0x0}),_0x5ae6bf['once']('change:isOpen',()=>{const _0x31d2ec=function({editor:_0x3d3ae5,dropdownView:_0x74d5f4}){const {t:t}=_0x3d3ae5['locale'],_0x249398=t('Footnotes\x20definitions\x20styles'),_0x45e2bb=function(_0x40a44c){const t=_0x40a44c['locale']['t'],_0x3c0eed=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x5e5881},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x31d9e2},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x546a74},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1614ec},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5bb2c1},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x44027f}];return _0x3c0eed['map'](function(_0x46bc29){const _0xb700c3=_0x46bc29['locale'];return({label:_0x4656f0,icon:_0x266984,tooltip:_0x14ebb0,style:_0x98713e})=>{const _0x39e5c4=_0x46bc29['commands']['get']('footnotesStyle'),_0x4b36a4=new _0x5b6f34(_0xb700c3);return _0x4b36a4['set']({'label':_0x4656f0,'icon':_0x266984,'tooltip':_0x14ebb0}),_0x4b36a4['bind']('isOn')['to'](_0x39e5c4,'value',_0x428545=>_0x428545===_0x98713e),_0x4b36a4['bind']('isEnabled')['to'](_0x39e5c4,'isEnabled'),_0x4b36a4['on']('execute',()=>{_0x46bc29['execute']('footnotesStyle',{'value':_0x98713e}),_0x46bc29['editing']['view']['focus']();}),_0x4b36a4;};}(_0x40a44c));}(_0x3d3ae5),_0x192236=new H(_0x3d3ae5['locale'],{'styleGridAriaLabel':_0x249398,'styleButtonViews':_0x45e2bb}),_0x18ad82=_0x3d3ae5['commands']['get']('footnotesStart');return _0x192236['startIndexFieldView']['bind']('isEnabled')['to'](_0x18ad82),_0x192236['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x18ad82),_0x192236['on']('footnotesListStart',(_0x20d085,_0xeaa5f)=>{_0x3d3ae5['execute']('footnotesStart',{'value':_0xeaa5f['startIndex']});}),_0x192236['delegate']('execute')['to'](_0x74d5f4),_0x192236;}({'editor':_0x1e4894,'dropdownView':_0x5ae6bf});_0x5ae6bf['panelView']['children']['add'](_0x31d2ec);}),_0x5ae6bf;};}(_0x1b99c4));}['afterInit'](){const {editor:_0x501ce7}=this,{t:t}=_0x501ce7['locale'],_0x4b49f=_0x501ce7['plugins']['get'](_0x410dcc),{defaultPositions:_0x5d90fd}=_0x33f037;_0x4b49f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x501ce7['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xc55702=>{let _0x24ee7d=_0xc55702['getFirstPosition']()?.['parent'];return _0x24ee7d?.['is']('$text')&&(_0x24ee7d=_0x24ee7d['parent']),_0x24ee7d?.['is']('element')?_0x24ee7d['findAncestor'](J):null;},'positions':[_0x5d90fd['southArrowNorth'],_0x5d90fd['southArrowNorthMiddleWest'],_0x5d90fd['southArrowNorthMiddleEast'],_0x5d90fd['southArrowNorthWest'],_0x5d90fd['southArrowNorthEast'],_0x5d90fd['northArrowSouth'],_0x5d90fd['northArrowSouthMiddleWest'],_0x5d90fd['northArrowSouthMiddleEast'],_0x5d90fd['northArrowSouthWest'],_0x5d90fd['northArrowSouthEast'],_0x5d90fd['viewportStickyNorth']]});}}class ft extends _0x4869ba{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
23
+ import{Plugin as _0x5f50d0,Command as _0x372ec6}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x248ec1,isWidget as _0x707746,toWidgetEditable as _0x4a0271,WidgetToolbarRepository as _0x35ffbd}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xa355a6,logWarning as _0x3a4308,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x1ed646,ClickObserver as _0x4c48c0}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x35ca89}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x4ade2d,ButtonView as _0x43cdb0,View as _0x2b1a1c,ViewCollection as _0x5d9d51,FocusCycler as _0xff7b38,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x4257e1,BalloonPanelView as _0x3042ff,createDropdown as _0x1dde47}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x41f08a,IconListStyleDecimal as _0x8acc55,IconListStyleDecimalLeadingZero as _0x3300f2,IconListStyleLowerRoman as _0x2706db,IconListStyleUpperRoman as _0x485fb4,IconListStyleLowerLatin as _0x562257,IconListStyleUpperLatin as _0x9252bc}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x48f448,_0xa6be8d){this['_model']=_0x48f448,this['_elementName']=_0xa6be8d['elementName'],this['_getElementKey']=_0xa6be8d['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x4912e8){const _0x210253=new Set(),_0x420c57=new Map();for(const _0x5978e0 of _0x4912e8){if('insert'===_0x5978e0['type']&&'$text'!==_0x5978e0['name']&&_0x5978e0['position']['nodeAfter']){const _0x180fd1=this['_model']['createRangeOn'](_0x5978e0['position']['nodeAfter']);for(const _0x33538a of _0x180fd1['getItems']()){if(!_0x33538a['is']('element',this['_elementName']))continue;const _0x20e5f5=this['_getElementKey'](_0x33538a);_0x420c57['has'](_0x20e5f5)||_0x420c57['set'](_0x20e5f5,[]),_0x420c57['get'](_0x20e5f5)['push'](_0x33538a);}}if('remove'===_0x5978e0['type']&&_0x5978e0['name']===this['_elementName']){const _0x3036d4=this['_getElementKey']({'getAttribute':_0xcd5548=>_0x5978e0['attributes']['get'](_0xcd5548)});_0x210253['add'](_0x3036d4);}}for(const [_0x82586d,_0x14090c]of this['_trackedElements'])'$graveyard'===_0x14090c['root']['rootName']&&_0x210253['add'](_0x82586d);for(const _0x3f7037 of _0x210253)this['_trackedElements']['delete'](_0x3f7037);for(const [_0x186983,_0x51592e]of _0x420c57)this['_trackedElements']['set'](_0x186983,_0x51592e[_0x51592e['length']-0x1]);const _0x11da43=new Set();for(const [_0xa5acf,_0xe04f31]of _0x420c57)_0x210253['has'](_0xa5acf)&&(_0x11da43['add'](_0xe04f31[0x0]),_0xe04f31['length']>0x1?_0x420c57['set'](_0xa5acf,_0xe04f31['slice'](0x1)):_0x420c57['delete'](_0xa5acf),_0x210253['delete'](_0xa5acf));return{'removed':Array['from'](_0x210253),'inserted':Array['from'](_0x420c57['values']())['flat'](),'moved':Array['from'](_0x11da43)};}}class f extends _0x5f50d0{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x308e10){super(_0x308e10),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x388630=>_0x388630['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x50a67f=>_0x50a67f['getAttribute']('footnoteId')});}['init'](){const {editor:_0x48faf7}=this,{model:_0x3f2b06,data:_0x3cfa37}=_0x48faf7;_0x3f2b06['document']['registerPostFixer'](_0x55ebb6=>{const _0x484689=_0x3f2b06['document']['differ']['getChanges']();let _0x2f8baf=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x55ebb6,_0x484689)&&(_0x2f8baf=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x55ebb6,_0x484689)&&(_0x2f8baf=!0x0),this['_handleFootnoteReferencesChanges'](_0x55ebb6,_0x484689)&&(_0x2f8baf=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x55ebb6)&&(_0x2f8baf=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x55ebb6)&&(_0x2f8baf=!0x0),this['_sortFootnoteDefinitions'](_0x55ebb6)&&(_0x2f8baf=!0x0),_0x2f8baf;}),this['listenTo'](_0x3f2b06['document'],'change:data',()=>{_0x3f2b06['enqueueChange']({'isUndoable':!0x1},_0x52c3d3=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x52c3d3);});},{'priority':'low'}),this['listenTo'](_0x3cfa37,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x54834b){return this['_footnotes']['find'](_0x2e8a10=>_0x2e8a10['id']===_0x54834b)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x2cccdb){this['_footnoteFormatter']=_0x2cccdb;}['_updateFootnotesCounters'](_0x46b826,_0x2ff28e=0x0){let _0x30b9dc=!0x1;for(let _0x39eb45=_0x2ff28e;_0x39eb45<this['_footnotes']['length'];_0x39eb45++)this['_updateFootnoteRefCounter'](_0x46b826,_0x39eb45)&&(_0x30b9dc=!0x0);return _0x30b9dc;}['_insertEmptyFootnotesDefinitionsContainer'](_0x106d8c,_0x52855e){const _0x54aef0=_0x106d8c['createElement']('footnotesDefinitions',{});return _0x106d8c['append'](_0x54aef0,_0x52855e),this['_footnotesDefinitions']=_0x54aef0,_0x54aef0;}['_ensureFootnotesDefinitionsContainerExists'](_0x39d809){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x264442=this['_footnotes'][0x0]['reference']['root'],_0x3440d4=this['_insertEmptyFootnotesDefinitionsContainer'](_0x39d809,_0x264442);for(const _0x2555bd of this['_footnotes'])_0x2555bd['definition']['parent']||_0x39d809['insert'](_0x2555bd['definition'],_0x3440d4,'end');this['_updateFootnotesCounters'](_0x39d809);}['_handleFootnotesDefinitionsObjectChanges'](_0x5e73aa,_0x4876b0){let _0x2b9b8a=!0x1;const {inserted:_0x29316e,removed:_0x5f47b2,moved:_0x4585e1}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4876b0);if(_0x4585e1['length']&&(this['_footnotesDefinitions']=_0x4585e1[0x0]),_0x29316e['length']){if(_0x29316e['length']>0x1||this['_footnotesDefinitions']&&_0x29316e['some'](_0x16f9ba=>_0x16f9ba!==this['_footnotesDefinitions'])){const _0x5623db=_0x5e73aa['createElement']('footnotesDefinitions',{}),_0x2d6754=[];this['_footnotesDefinitions']&&_0x2d6754['push'](this['_footnotesDefinitions']),_0x2d6754['push'](..._0x29316e),_0x5e73aa['insert'](_0x5623db,_0x2d6754[0x0],'before');for(const _0x519eb7 of _0x2d6754)_0x5e73aa['move'](_0x5e73aa['createRangeIn'](_0x519eb7),_0x5e73aa['createPositionAt'](_0x5623db,'end')),_0x5e73aa['remove'](_0x519eb7);this['_footnotesDefinitions']=_0x5623db,this['_updateFootnotesCounters'](_0x5e73aa),_0x2b9b8a=!0x0;}else this['_footnotesDefinitions']=_0x29316e[0x0];}if(_0x5f47b2['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x377a8d of this['_footnotes'])_0x5e73aa['remove'](_0x377a8d['reference']),_0x2b9b8a=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x2b9b8a;}['_handleFootnoteDefinitionsChanges'](_0x56c079,_0x36f7cc){let _0x54c822=!0x1;const _0x1fbdef=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x303f4c,moved:_0x5a1ad7}=this['_footnoteDefsTracker']['getChanges'](_0x36f7cc);for(const _0x2aa2a4 of[..._0x5a1ad7,..._0x303f4c]){const _0x185c43=_0x2aa2a4['getAttribute']('footnoteId'),_0x3185b6=this['getFootnote'](_0x185c43);_0x3185b6&&(_0x3185b6['definition']=_0x2aa2a4),_(_0x56c079,_0x1fbdef,_0x2aa2a4)&&(_0x54c822=!0x0);}return _0x54c822;}['_handleFootnoteReferencesChanges'](_0x3bf5ce,_0x2640ab){let _0x310ecc=!0x1;const {removed:_0x1500cb,inserted:_0xecf4b5,moved:_0x11504a}=this['_footnoteRefsTracker']['getChanges'](_0x2640ab);for(const _0x2013dd of _0x1500cb)this['_handleRemoveFootnoteReferenceById'](_0x3bf5ce,_0x2013dd)&&(_0x310ecc=!0x0);for(const _0x1588aa of _0xecf4b5)this['_handleInsertedFootnoteReference'](_0x3bf5ce,_0x1588aa)&&(_0x310ecc=!0x0);for(const _0x2f333d of _0x11504a)this['_handleMovedFootnoteReference'](_0x3bf5ce,_0x2f333d)&&(_0x310ecc=!0x0);return _0x310ecc;}['_handleFootnotesDefinitionsObjectSync'](_0x23569c){if(!this['_footnotesDefinitions'])return!0x1;let _0x4978ff=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x5362c8=[];for(const _0x6c5a75 of this['_footnotesDefinitions']['getChildren']()){const _0x10bb89=_0x6c5a75['getAttribute']('footnoteId');this['getFootnote'](_0x10bb89)||(_0x5362c8['unshift'](_0x6c5a75),_0x4978ff=!0x0);}for(const _0x213cd8 of _0x5362c8)_0x23569c['remove'](_0x213cd8);}const _0x338b5f=new Set(),_0x26eb29=[];for(const _0x1b55a6 of this['_footnotesDefinitions']['getChildren']()){const _0x4fcf6c=_0x1b55a6['getAttribute']('footnoteId');_0x338b5f['has'](_0x4fcf6c)?(_0x26eb29['unshift'](_0x1b55a6),_0x4978ff=!0x0):_0x338b5f['add'](_0x4fcf6c);}for(const _0x5f09f0 of _0x26eb29)_0x23569c['remove'](_0x5f09f0);return this['_footnotesDefinitions']['childCount']||(_0x23569c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4978ff=!0x0),_0x4978ff;}['_handleInsertedFootnoteReference'](_0x433c97,_0x219393){if(this['_footnotes']['find'](_0x5c7fb6=>_0x5c7fb6['reference']===_0x219393))return!0x1;let _0x4726b7=!0x1;const _0x398c9c=_0x219393['getAttribute']('footnoteId'),_0xfa4c11=this['_footnotes']['findIndex'](_0x4cbb92=>_0x4cbb92['id']===_0x398c9c);-0x1!==_0xfa4c11&&(_0x433c97['remove'](this['_footnotes'][_0xfa4c11]['reference']),this['_footnotes']['splice'](_0xfa4c11,0x1),_0x4726b7=!0x0);let _0x366171=this['_footnotesDefinitions']?function(_0x973bd2,_0x240d1d){for(const _0x5d5308 of _0x973bd2['getChildren']())if(_0x5d5308['getAttribute']('footnoteId')===_0x240d1d)return _0x5d5308;return null;}(this['_footnotesDefinitions'],_0x398c9c):null;_0x366171||(_0x366171=_0x433c97['createElement']('footnoteDefinition',{'footnoteId':_0x398c9c}),this['_footnotesDefinitions']&&(_0x433c97['insert'](_0x366171,this['_footnotesDefinitions'],'end'),_0x4726b7=!0x0));const _0x5de85b={'id':_0x398c9c,'reference':_0x219393,'definition':_0x366171},_0x322272=I(this['editor']['model'],this['_footnotes'],_0x219393);this['_footnotes']['splice'](_0x322272,0x0,_0x5de85b);let _0xa8008a=_0x322272;return-0x1!==_0xfa4c11&&(_0xa8008a=Math['min'](_0x322272,_0xfa4c11)),this['_updateFootnotesCounters'](_0x433c97,_0xa8008a)&&(_0x4726b7=!0x0),_0x4726b7;}['_handleRemoveFootnoteReferenceById'](_0x483a92,_0xd924f8){const _0x56d479=this['_footnotes']['findIndex'](_0x24dbbd=>_0x24dbbd['id']===_0xd924f8);if(-0x1===_0x56d479)return!0x1;let _0x9b33dc=!0x1;const _0x3bf1d5=this['_footnotes'][_0x56d479];return'$graveyard'!==_0x3bf1d5['definition']['root']['rootName']&&(_0x483a92['remove'](_0x3bf1d5['definition']),_0x9b33dc=!0x0),this['_footnotes']['splice'](_0x56d479,0x1),this['_updateFootnotesCounters'](_0x483a92,_0x56d479)&&(_0x9b33dc=!0x0),_0x9b33dc;}['_handleMovedFootnoteReference'](_0x4b46a7,_0x472c83){const _0x525d57=_0x472c83['getAttribute']('footnoteId'),_0x242bb3=this['_footnotes']['findIndex'](_0x2e6ecf=>_0x2e6ecf['id']===_0x525d57),_0x3d15a8=this['_footnotes'][_0x242bb3];let _0x1ef2c6=!0x1;_0x3d15a8['reference']=_0x472c83,this['_footnotes']['splice'](_0x242bb3,0x1);const _0x8fb42b=I(this['editor']['model'],this['_footnotes'],_0x472c83);return this['_footnotes']['splice'](_0x8fb42b,0x0,_0x3d15a8),this['_updateFootnotesCounters'](_0x4b46a7,Math['min'](_0x242bb3,_0x8fb42b))&&(_0x1ef2c6=!0x0),_0x1ef2c6;}['_updateFootnoteRefCounter'](_0x35fd01,_0x14c549){if(!this['_footnotesDefinitions'])return!0x1;const _0x5b99c2=this['_footnotes'][_0x14c549];let _0x1262b8;return _0x1262b8=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x5b99c2,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x14c549+0x1}):String(_0x14c549+0x1),_0x5b99c2['reference']['getAttribute']('footnoteCounter')!=_0x1262b8&&(_0x35fd01['setAttribute']('footnoteCounter',_0x1262b8,_0x5b99c2['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x13f3a7){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3193d5,_0x1da32e){if(_0x3193d5['length']!==_0x1da32e['length'])return!0x1;for(let _0x2941e9=0x0;_0x2941e9<_0x3193d5['length'];_0x2941e9++)if(_0x3193d5[_0x2941e9]!==_0x1da32e[_0x2941e9])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x1965ac=>_0x1965ac['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x1291e2=>_0x1291e2['getAttribute']('footnoteId'))))return!0x1;let _0x1dc070=!0x1;for(let _0xab8349=0x0;_0xab8349<this['_footnotes']['length'];_0xab8349++){const _0x4fcff1=this['_footnotes'][_0xab8349],_0x52e364=_0x13f3a7['createPositionBefore'](_0x4fcff1['definition']),_0x467a1a=_0x13f3a7['createPositionAt'](this['_footnotesDefinitions'],_0xab8349);_0x52e364['isEqual'](_0x467a1a)||(_0x13f3a7['move'](_0x13f3a7['createRangeOn'](_0x4fcff1['definition']),_0x467a1a),_0x1dc070=!0x0);}return _0x1dc070;}['_ensureFootnotesReferencesHaveProperOrder'](_0x17021f){if(!this['_footnotes']['length'])return!0x1;const {model:_0x183893}=this['editor'];let _0x381f74=!0x1;for(let _0x29b955=0x0;_0x29b955<this['_footnotes']['length']-0x1;_0x29b955++){const _0x140b32=this['_footnotes'][_0x29b955],_0x21621a=this['_footnotes'][_0x29b955+0x1],_0x55e0d6=_0x183893['createPositionBefore'](_0x140b32['reference']),_0x2bb6b5=_0x183893['createPositionBefore'](_0x21621a['reference']);'after'===_0x55e0d6['compareWith'](_0x2bb6b5)&&(this['_handleMovedFootnoteReference'](_0x17021f,_0x140b32['reference']),_0x29b955=-0x1,_0x381f74=!0x0);}return _0x381f74;}}function _(_0x587cc0,_0x278601,_0x4e221f){if(_0x4e221f['childCount'])return!0x1;const _0x44f8f3=_0x278601?'paragraph':'footnoteInlineContent';return _0x587cc0['insert'](_0x587cc0['createElement'](_0x44f8f3),_0x4e221f),!0x0;}function I(_0x13b4ce,_0x375f30,_0x2fabde){if(0x0===_0x375f30['length'])return 0x0;const _0x1a4c97=_0x13b4ce['createPositionBefore'](_0x2fabde);for(let _0xc41515=0x0;_0xc41515<_0x375f30['length'];_0xc41515++){const _0x569e84=_0x375f30[_0xc41515],_0x4903f3=_0x13b4ce['createPositionBefore'](_0x569e84['reference']);if('before'===_0x1a4c97['compareWith'](_0x4903f3))return _0xc41515;}const _0x257380=_0x2fabde['root'];let _0x5cb864=-0x1;for(let _0x15874b=_0x375f30['length']-0x1;_0x15874b>=0x0;_0x15874b--)if(_0x375f30[_0x15874b]['reference']['root']===_0x257380){_0x5cb864=_0x15874b;break;}if(-0x1!==_0x5cb864)return _0x5cb864+0x1;const _0xd26bb9=_0x13b4ce['document']['getRootNames'](),_0x1849b4=_0xd26bb9['indexOf'](_0x257380['rootName']),_0x5e83a8=_0xd26bb9[_0x1849b4+0x1];if(_0x5e83a8){for(let _0x250d98=0x0;_0x250d98<_0x375f30['length'];_0x250d98++)if(_0x375f30[_0x250d98]['reference']['root']['rootName']===_0x5e83a8)return _0x250d98;}return _0x375f30['length'];}class m extends _0x372ec6{['refresh'](){const _0x42016d=this['editor']['model']['document']['selection'],_0x516653=this['_getPositionToInsertFootnote'](_0x42016d);this['isEnabled']=!!_0x516653;}['execute'](_0xf670fe){const {editor:_0x5151de}=this,{model:_0x37682b}=_0x5151de,{selection:_0x46fddd}=_0x37682b['document'],_0x20bad2=this['_getPositionToInsertFootnote'](_0x46fddd);if(!_0x20bad2)return;const _0x35f96a=_0x5151de['plugins']['get']('FootnotesEditing'),_0x4a20e4=_0xf670fe?.['footnoteId']??_0xa355a6();!function(_0x4eaa33){return'string'==typeof _0x4eaa33&&_0x4eaa33['length']>0x0&&!/\s/['test'](_0x4eaa33)&&!/^\d/['test'](_0x4eaa33);}(_0x4a20e4)?_0x3a4308('insert-footnote-command-executed-with-invalid-id'):(_0x37682b['change'](_0x111426=>{const _0x510554=_0x111426['createElement']('footnoteRef',{'footnoteId':_0x4a20e4});_0x37682b['insertObject'](_0x510554,_0x20bad2,null);}),_0x35f96a['_moveSelectionToFootnoteDefinition'](_0x4a20e4));}['_getPositionToInsertFootnote'](_0x155d8a){const {model:_0x1f67da}=this['editor'],{schema:_0x110f97}=_0x1f67da,_0x1998c4=_0x155d8a['getFirstRange']();for(const _0x4af1f5 of _0x1998c4['getItems']())if(_0x110f97['isBlock'](_0x4af1f5)||_0x110f97['isObject'](_0x4af1f5))return null;const _0x1e79be=_0x1998c4['end'];return _0x110f97['checkChild'](_0x1e79be,'footnoteRef')?_0x1e79be:null;}}class r extends _0x5f50d0{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x32cc7e}=this;_0x32cc7e['config']['define']('footnotes.multiBlock',!0x0),_0x32cc7e['commands']['add']('insertFootnote',new m(_0x32cc7e)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3fb8f9){const _0x1a0d16=_0x3a275a([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]),_0x262176=0x47a28506,_0x3e0eec=0x47a5f916^_0x262176,_0x42aef6=window[_0x3a275a([0x44,0x61,0x74,0x65])][_0x3a275a([0x6e,0x6f,0x77])](),_0x4217dc=_0x3fb8f9[_0x3a275a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47c76e=new window[(_0x3a275a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5fccb7=>{_0x4217dc[_0x3a275a([0x6f,0x6e,0x63,0x65])](_0x3a275a([0x72,0x65,0x61,0x64,0x79]),_0x5fccb7);}),_0x293c82={[_0x3a275a([0x6b,0x74,0x79])]:_0x3a275a([0x45,0x43]),[_0x3a275a([0x75,0x73,0x65])]:_0x3a275a([0x73,0x69,0x67]),[_0x3a275a([0x63,0x72,0x76])]:_0x3a275a([0x50,0x2d,0x32,0x35,0x36]),[_0x3a275a([0x78])]:_0x3a275a([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]),[_0x3a275a([0x79])]:_0x3a275a([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]),[_0x3a275a([0x61,0x6c,0x67])]:_0x3a275a([0x45,0x53,0x32,0x35,0x36])},_0x47161c=_0x4217dc[_0x3a275a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a275a([0x67,0x65,0x74])](_0x3a275a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x14042f(){let _0x3d20a9,_0x209d7f=null,_0x44ee68=null;try{if(_0x47161c==_0x3a275a([0x47,0x50,0x4c]))return _0x3a275a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d20a9=_0x353d9f(),!_0x3d20a9)return _0x3a275a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d20a9[_0x3a275a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x44ee68=_0x4c0986(_0x3d20a9[_0x3a275a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d20a9[_0x3a275a([0x6a,0x74,0x69])])),await _0x22d62f()?_0x567afd()?_0x11bd14()?_0x3a275a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d1932()?(_0x3d20a9[_0x3a275a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a275a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x209d7f=_0x375008(_0x3a275a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d20a9[_0x3a275a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a275a([0x74,0x72,0x69,0x61,0x6c])&&(_0x209d7f=_0x375008(_0x3a275a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x39db12()):_0x3a275a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a275a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a275a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a275a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x11bd14(){const _0xc9f6fa=[_0x3a275a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a275a([0x74,0x72,0x69,0x61,0x6c])][_0x3a275a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d20a9[_0x3a275a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42aef6/0x3e8:0xe10*_0x3e0eec;return _0x3d20a9[_0x3a275a([0x65,0x78,0x70])]<_0xc9f6fa;}function _0x567afd(){const _0x490c35=_0x3d20a9[_0x3a275a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x490c35&&(!!_0x490c35[_0x3a275a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a275a([0x2a]))||!!_0x490c35[_0x3a275a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a275a([0x46,0x4f,0x4f])));}function _0x4d1932(){const _0x3711c0=_0x3d20a9[_0x3a275a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3711c0||0x0==_0x3711c0[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2293a4}=new URL(window[_0x3a275a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3711c0[_0x3a275a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2293a4))return!0x0;const _0x590bd7=_0x2293a4[_0x3a275a([0x73,0x70,0x6c,0x69,0x74])](_0x3a275a([0x2e]));return _0x3711c0[_0x3a275a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bfdf2=>_0x5bfdf2[_0x3a275a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a275a([0x2a])))[_0x3a275a([0x6d,0x61,0x70])](_0x118af7=>_0x118af7[_0x3a275a([0x73,0x70,0x6c,0x69,0x74])](_0x3a275a([0x2e])))[_0x3a275a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xdf35d7=>_0xdf35d7[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x590bd7[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a275a([0x6d,0x61,0x70])](_0x17590d=>Array(_0x590bd7[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17590d[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a275a([0x66,0x69,0x6c,0x6c])](_0x17590d[0x0]===_0x3a275a([0x2a])?_0x3a275a([0x2a]):'')[_0x3a275a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17590d))[_0x3a275a([0x73,0x6f,0x6d,0x65])](_0x3e40bc=>_0x590bd7[_0x3a275a([0x65,0x76,0x65,0x72,0x79])]((_0x1de54b,_0x405c6c)=>_0x3e40bc[_0x405c6c]===_0x1de54b||_0x3e40bc[_0x405c6c]===_0x3a275a([0x2a])));}function _0x39db12(){return _0x209d7f&&_0x44ee68?new window[(_0x3a275a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4be2b5,_0x380187)=>{_0x209d7f[_0x3a275a([0x74,0x68,0x65,0x6e])](_0x4be2b5,_0x380187),_0x44ee68[_0x3a275a([0x74,0x68,0x65,0x6e])](_0x4bb991=>{_0x4bb991!=_0x3a275a([0x56,0x61,0x6c,0x69,0x64])&&_0x4be2b5(_0x4bb991);},_0x380187);}):_0x209d7f||_0x44ee68||_0x3a275a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c0986(_0x453653,_0x2859bf){return new window[(_0x3a275a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ee8c7=>{if(_0x4c7a50())return _0x4ee8c7(_0x3a275a([0x56,0x61,0x6c,0x69,0x64]));_0x1c28b8(),_0x4217dc[_0x3a275a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a275a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2b2553=!0x1;const _0x42cd55=_0xa355a6();function _0x59ce19(_0x18c7cc){return!!_0x18c7cc&&(typeof _0x18c7cc===_0x3a275a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18c7cc===_0x3a275a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18c7cc[_0x3a275a([0x74,0x68,0x65,0x6e])]===_0x3a275a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18c7cc[_0x3a275a([0x63,0x61,0x74,0x63,0x68])]===_0x3a275a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x12b972(_0x2ce0ee){_0xff0bf9(_0x2ce0ee)[_0x3a275a([0x74,0x68,0x65,0x6e])](_0x14e7eb=>{if(!_0x14e7eb||_0x14e7eb[_0x3a275a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a275a([0x6f,0x6b]))return _0x3a275a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x935180(_0x402678(_0x42cd55+_0x2859bf))!=_0x14e7eb[_0x3a275a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a275a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a275a([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a275a([0x74,0x68,0x65,0x6e])](_0x3c4115=>(_0x3ee4da(),_0x3c4115),()=>{const _0x1d8311=_0x2a8345();return null==_0x1d8311?(_0x3ee4da(),_0x3a275a([0x56,0x61,0x6c,0x69,0x64])):_0x3a275a(_0x42aef6-_0x1d8311>(0x63ae0106^_0x262176)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a275a([0x74,0x68,0x65,0x6e])](_0x4ee8c7)[_0x3a275a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4ee8c7(_0x3a275a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6f3780=0x47946b86^_0x262176;function _0x3ee4da(){const _0x5e1a51=_0x3a275a([0x6c,0x6c,0x63,0x74,0x2d])+_0x935180(_0x402678(_0x453653)),_0xfab2b1=_0x345f6a(_0x935180(window[_0x3a275a([0x4d,0x61,0x74,0x68])][_0x3a275a([0x63,0x65,0x69,0x6c])](_0x42aef6/_0x6f3780)));window[_0x3a275a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a275a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5e1a51,_0xfab2b1);}function _0x2a8345(){const _0x5cf9bf=_0x3a275a([0x6c,0x6c,0x63,0x74,0x2d])+_0x935180(_0x402678(_0x453653)),_0x365ab3=window[_0x3a275a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a275a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5cf9bf);return _0x365ab3?window[_0x3a275a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x345f6a(_0x365ab3),0x10)*_0x6f3780:null;}function _0xff0bf9(_0x210e08){return new window[(_0x3a275a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5eec91,_0x1a23c9)=>{_0x210e08[_0x3a275a([0x74,0x68,0x65,0x6e])](_0x5eec91,_0x1a23c9),window[_0x3a275a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1a23c9,0x47a351c6^_0x262176);});}}_0x4217dc[_0x3a275a([0x6f,0x6e])](_0x3a275a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3473ba,_0x2c48e2)=>{if(_0x2c48e2[0x0]!=_0x453653)return _0x4ee8c7(_0x3a275a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c48e2[0x1]={..._0x2c48e2[0x1],[_0x3a275a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x42cd55};},{[_0x3a275a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a275a([0x68,0x69,0x67,0x68])}),_0x4217dc[_0x3a275a([0x6f,0x6e])](_0x3a275a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1ad9bb=>{_0x59ce19(_0x1ad9bb[_0x3a275a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2b2553=!0x0,_0x12b972(_0x1ad9bb[_0x3a275a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a275a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a275a([0x6c,0x6f,0x77])}),_0x47c76e[_0x3a275a([0x74,0x68,0x65,0x6e])](()=>{_0x2b2553||_0x4ee8c7(_0x3a275a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4c7a50(){return _0x4217dc[_0x3a275a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a275a([0x76,0x69,0x65,0x77])][_0x3a275a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a275a([0x61,0x75,0x74,0x6f]);}function _0x1c28b8(){_0x4217dc[_0x3a275a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a275a([0x76,0x69,0x65,0x77])][_0x3a275a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a275a([0x61,0x75,0x74,0x6f]);}}function _0x375008(_0x2c10f5){const _0x5932aa=[new window[(_0x3a275a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1053be=>setTimeout(_0x1053be,0x47abbbca^_0x262176)),_0x47c76e[_0x3a275a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a275a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31c477=>{let _0x58e99e=0x0;_0x4217dc[_0x3a275a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a275a([0x6f,0x6e])](_0x3a275a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4eec7f,_0x33ed15)=>{_0x33ed15[0x0][_0x3a275a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58e99e++,_0x58e99e==(0x47a284fe^_0x262176)&&(_0x31c477(),_0x4eec7f[_0x3a275a([0x6f,0x66,0x66])]());});}))];return window[_0x3a275a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a275a([0x72,0x61,0x63,0x65])](_0x5932aa)[_0x3a275a([0x74,0x68,0x65,0x6e])](()=>_0x2c10f5);}async function _0x348ab7(){await _0x47c76e,_0x4217dc[_0x3a275a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a275a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3425c3,_0x4217dc[_0x3a275a([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a275a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3425c3,_0x4217dc[_0x3a275a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a275a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e16d7(_0x345f51){const _0x1d08c8=_0x3d6724();_0x4217dc[_0x1d08c8]=_0x3a275a([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x345f51,_0x345f51!=_0x3a275a([0x56,0x61,0x6c,0x69,0x64])&&_0x348ab7();}function _0x3d6724(){const _0x408421=window[_0x3a275a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a275a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a275a([0x6e,0x6f,0x77])]())[_0x3a275a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a275a([0x2e]),'');let _0x1673a4=_0x3a275a([0x75]);for(let _0x3e9cd3=0x0;_0x3e9cd3<_0x408421[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e9cd3+=0x2){let _0x451ff7=window[_0x3a275a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x408421[_0x3a275a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3e9cd3,_0x3e9cd3+0x2));_0x451ff7>=_0x1a0d16[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x451ff7-=_0x1a0d16[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1673a4+=_0x1a0d16[_0x451ff7];}return _0x1673a4;}function _0x353d9f(){const _0x54dc8e=_0x47161c[_0x3a275a([0x73,0x70,0x6c,0x69,0x74])](_0x3a275a([0x2e]));if(0x3!=_0x54dc8e[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x561aae(_0x54dc8e[0x1]);function _0x561aae(_0x7f388){const _0xe7e948=_0x11b8ee(_0x7f388);return _0xe7e948&&_0x44be0f()?_0xe7e948:null;function _0x44be0f(){const _0x7fabad=_0xe7e948[_0x3a275a([0x6a,0x74,0x69])],_0xf80a6c=window[_0x3a275a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7fabad[_0x3a275a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7fabad[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x428e65={..._0xe7e948,[_0x3a275a([0x6a,0x74,0x69])]:_0x7fabad[_0x3a275a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x7fabad[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x428e65[_0x3a275a([0x76,0x63])],_0x402678(_0x428e65)==_0xf80a6c;}}}async function _0x22d62f(){let _0x57491b=!0x0;try{const _0x4cba2c=_0x47161c[_0x3a275a([0x73,0x70,0x6c,0x69,0x74])](_0x3a275a([0x2e])),[_0x252bff,_0x3d4b4f,_0x1cff0f]=_0x4cba2c;return _0x11e05f(_0x252bff),await _0x52334c(_0x252bff,_0x3d4b4f,_0x1cff0f),_0x57491b;}catch{return!0x1;}function _0x11e05f(_0x2586de){const _0x2dbae6=_0x11b8ee(_0x2586de);_0x2dbae6&&_0x2dbae6[_0x3a275a([0x61,0x6c,0x67])]==_0x3a275a([0x45,0x53,0x32,0x35,0x36])||(_0x57491b=!0x1);}async function _0x52334c(_0x5b4409,_0x2df12d,_0x3b23db){const _0x456cf1=window[_0x3a275a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a275a([0x66,0x72,0x6f,0x6d])](_0x3f880e(_0x3b23db),_0x7aac58=>_0x7aac58[_0x3a275a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x93572f=new window[(_0x3a275a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a275a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b4409+_0x3a275a([0x2e])+_0x2df12d),_0x2ac81e=window[_0x3a275a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a275a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ac81e)return;const _0x3b7754=await _0x2ac81e[_0x3a275a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a275a([0x6a,0x77,0x6b]),_0x293c82,{[_0x3a275a([0x6e,0x61,0x6d,0x65])]:_0x3a275a([0x45,0x43,0x44,0x53,0x41]),[_0x3a275a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a275a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a275a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ac81e[_0x3a275a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a275a([0x6e,0x61,0x6d,0x65])]:_0x3a275a([0x45,0x43,0x44,0x53,0x41]),[_0x3a275a([0x68,0x61,0x73,0x68])]:{[_0x3a275a([0x6e,0x61,0x6d,0x65])]:_0x3a275a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b7754,_0x456cf1,_0x93572f)||(_0x57491b=!0x1);}}function _0x11b8ee(_0x19d56e){return _0x19d56e[_0x3a275a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a275a([0x65,0x79]))?JSON[_0x3a275a([0x70,0x61,0x72,0x73,0x65])](_0x3f880e(_0x19d56e)):null;}function _0x3f880e(_0x3fb559){return window[_0x3a275a([0x61,0x74,0x6f,0x62])](_0x3fb559[_0x3a275a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a275a([0x2b]))[_0x3a275a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a275a([0x2f])));}function _0x402678(_0xd89c71){let _0x4d9e18=0x1505;function _0x470590(_0x561425){for(let _0x45e907=0x0;_0x45e907<_0x561425[_0x3a275a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45e907++){const _0x43f31f=_0x561425[_0x3a275a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x45e907);_0x4d9e18=(_0x4d9e18<<0x5)+_0x4d9e18+_0x43f31f,_0x4d9e18&=_0x4d9e18;}}function _0x123e64(_0x35bc30){Array[_0x3a275a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x35bc30)?_0x35bc30[_0x3a275a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x123e64):_0x35bc30&&typeof _0x35bc30==_0x3a275a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a275a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x35bc30)[_0x3a275a([0x73,0x6f,0x72,0x74])]()[_0x3a275a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f1dec,_0xed9c25])=>{_0x470590(_0x1f1dec),_0x123e64(_0xed9c25);}):_0x470590(window[_0x3a275a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x35bc30));}return _0x123e64(_0xd89c71),_0x4d9e18>>>0x0;}function _0x935180(_0x3fa8c6){return _0x3fa8c6[_0x3a275a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a275a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a275a([0x30]));}function _0x345f6a(_0x33527c){return _0x33527c[_0x3a275a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a275a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a275a([0x6a,0x6f,0x69,0x6e])]('');}function _0x3425c3(){}function _0x3a275a(_0x116240){return _0x116240['map'](_0xd1ed0a=>String['fromCharCode'](_0xd1ed0a))['join']('');}_0x1e16d7(await _0x14042f());}(this);}['_moveSelectionToFootnoteDefinition'](_0x361743){const {plugins:_0x4e695a,editing:_0x580bd4,model:_0xb48182}=this['editor'],_0x4bfd71=_0x4e695a['get'](f)['getFootnote'](_0x361743);return!!_0x4bfd71&&(_0xb48182['change'](_0x34869b=>{_0x34869b['setSelection'](_0x34869b['createPositionAt'](_0x4bfd71['definition'],'end'));}),_0x580bd4['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x850256){const {plugins:_0x4f7e32,editing:_0x443e01,model:_0x1ede34}=this['editor'],_0xa187f4=_0x4f7e32['get'](f)['getFootnote'](_0x850256);return!!_0xa187f4&&(_0x1ede34['change'](_0x26d8b9=>{_0x26d8b9['setSelection'](_0xa187f4['reference'],'on');}),_0x443e01['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5c9ea2}=this['editor']['model'],_0x30444f=this['editor']['config']['get']('footnotes.multiBlock');_0x5c9ea2['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5c9ea2['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5c9ea2['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x30444f?_0x5c9ea2['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5c9ea2['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5c9ea2['addChildCheck'](_0x411a36=>{for(const _0x252fe7 of _0x411a36)if('footnoteDefinition'===_0x252fe7['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x336fe8}=this,{conversion:_0x3f94bc,editing:_0x3a8235}=_0x336fe8,{t:t}=_0x336fe8['locale'];_0x3f94bc['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x41b997,{writer:_0x2bb09e,consumable:_0x5d5ba2})=>{const _0x29199b=_0x41b997['getChild'](0x0);if(!_0x29199b||!_0x29199b['is']('element','a'))return null;const _0x115874=_0x29199b['getAttribute']('href')||'';if(!_0x115874['startsWith']('#'))return null;const _0x2533ae=_0x115874['replace'](/^#/,'');if(!_0x2533ae)return null;_0x5d5ba2['consume'](_0x29199b,{'name':!0x0,'attributes':['href']});for(const {item:_0x256a01}of _0x3a8235['view']['createRangeIn'](_0x29199b))_0x256a01['is']('$textProxy')?_0x5d5ba2['consume'](_0x256a01['textNode'],{'name':!0x0}):_0x256a01['is']('element')&&_0x5d5ba2['consume'](_0x256a01,{'name':!0x0});return _0x2bb09e['createElement']('footnoteRef',{'footnoteId':_0x2533ae});}}),_0x3f94bc['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x232857,{writer:_0x4b6bbf})=>D(_0x232857,_0x4b6bbf)}),_0x3f94bc['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x627283,{writer:_0x4f4a51})=>{const _0x28969a=_0x627283['getAttribute']('footnoteCounter');return _0x248ec1(D(_0x627283,_0x4f4a51),_0x4f4a51,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x28969a)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2d6a0d}=this,{t:t}=_0x2d6a0d['locale'],{conversion:_0x31a6e}=_0x2d6a0d;_0x31a6e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x31a6e['for']('upcast')['add'](_0x1601ab=>{_0x1601ab['on']('element:ol',(_0x5e48b2,_0x59f607,_0x2ec3ad)=>{const _0x3d5436=_0x59f607['viewItem'];if(!_0x3d5436['hasClass']('footnotes-list')||!_0x59f607['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2ec3ad['consumable']['consume'](_0x3d5436,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x16a105,modelCursor:_0x1d397e}=_0x2ec3ad['convertChildren'](_0x59f607['viewItem'],_0x59f607['modelCursor']);_0x59f607['modelRange']=_0x16a105,_0x59f607['modelCursor']=_0x1d397e;}),_0x1601ab['on']('element:hr',(_0x3e4fec,_0x1f4b8b,_0x1ce678)=>{const _0x2911f0=_0x1f4b8b['viewItem'];_0x2911f0['hasClass']('footnotes-divider')&&_0x1f4b8b['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1ce678['consumable']['consume'](_0x2911f0,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x31a6e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4199f7,{writer:_0x12c4a6})=>v(_0x12c4a6)}),_0x31a6e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x569433,{writer:_0x491511})=>{const _0x3165f2=v(_0x491511,{'data-footnotes-list-label':t('Footnotes')}),_0x7eeb03=_0x248ec1(_0x3165f2,_0x491511,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x491511['setCustomProperty']('footnotesDefinitions',!0x0,_0x7eeb03),_0x7eeb03;}});}['_defineDefinitionConverters'](){const {editor:_0xed717d}=this,{conversion:_0x3df186,locale:_0x13bca8}=_0xed717d,_0x61182c=_0xed717d['config']['get']('footnotes.multiBlock');_0x3df186['for']('upcast')['add'](_0x5ccfea=>{_0x5ccfea['on']('element:li',(_0x38a818,_0x17cae2,_0x5239e6)=>{const _0x5215aa=_0x17cae2['viewItem'];if(!_0x5215aa['hasClass']('footnote-definition')||!_0x5215aa['getAttribute']('id'))return;const _0x5d6562=_0x5215aa['parent'];if(!_0x5d6562['is']('element','ol')||!_0x5d6562['hasClass']('footnotes-list'))return;if(!_0x5239e6['consumable']['test'](_0x5215aa,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3e12c7=_0x5239e6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5215aa['getAttribute']('id')});if(!_0x5239e6['safeInsert'](_0x3e12c7,_0x17cae2['modelCursor']))return;_0x5239e6['consumable']['consume'](_0x5215aa,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x50ece4=Array['from'](_0x5215aa['getChildren']())['find'](_0x4b958c=>_0x4b958c['is']('element')&&_0x4b958c['hasClass']('footnote-content'));for(const _0x2d5efe of _0x5215aa['getChildren']())_0x2d5efe['is']('element')&&(_0x5239e6['consumable']['consume'](_0x2d5efe,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5239e6['consumable']['consume'](_0x2d5efe,{'name':!0x0,'classes':'footnote-content'}));if(_0x50ece4){if(_0x61182c)_0x5239e6['convertChildren'](_0x50ece4,_0x3e12c7);else{const _0x415f43=_0x5239e6['writer']['createElement']('footnoteInlineContent');_0x5239e6['writer']['insert'](_0x415f43,_0x3e12c7),_0x5239e6['convertChildren'](_0x50ece4,_0x415f43);}}_0x5239e6['updateConversionResult'](_0x3e12c7,_0x17cae2);});}),_0x3df186['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x35e5aa,{writer:_0x4dae74})=>b(_0x35e5aa,_0x4dae74,_0x13bca8,{'dataPipeline':!0x0})}),_0x3df186['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x293fe1,{writer:_0x32e7ef})=>b(_0x293fe1,_0x32e7ef,_0x13bca8)});}['_defineBogusParagraphConverters'](){const {editor:_0x19d81b}=this,{conversion:_0x3d6a6d}=_0x19d81b;_0x19d81b['config']['get']('footnotes.multiBlock')?(_0x3d6a6d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x3d6a6d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x19d81b['model']['document'],'change:data',()=>{!function(_0x5c8e59,_0xa7a951){const _0x41e740=_0x5c8e59['document']['differ'],_0x2bb554=new Set();for(const _0x10a3f9 of _0x41e740['getChanges']()){const _0x4a0160='attribute'==_0x10a3f9['type']?_0x10a3f9['range']['start']['parent']:_0x10a3f9['position']['parent'];_0x4a0160['is']('element','footnoteDefinition')&&_0x2bb554['add'](_0x4a0160);}for(const _0x5321c6 of _0x2bb554['values']()){const _0x394dc5=Array['from'](_0x5321c6['getChildren']())['filter'](_0x55de55=>g(_0x55de55,_0xa7a951['mapper']));for(const _0x25dd72 of _0x394dc5)_0xa7a951['reconvertItem'](_0x25dd72);}}(_0x19d81b['model'],_0x19d81b['editing']);})):(_0x3d6a6d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x3d6a6d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x28614c,{writer:_0xceef66})=>{const _0x496b42=_0xceef66['createContainerElement']('span');return _0xceef66['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x496b42),_0x496b42;}}));}['_defineKeyboardHandlers'](){const {editor:_0x18056c}=this,{editing:_0x12b6e8,t:t}=_0x18056c,_0xaca27e=_0x18056c['model']['document']['selection'];_0x18056c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x18056c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x12b6e8['view']['document'],'enter',(_0x2b6adb,_0x51ae1b)=>{const _0x498e9c=function(_0x118456){const _0x3d9ab8=_0x118456['getSelectedElement']();if(_0x3d9ab8?.['is']('element','footnoteRef'))return _0x3d9ab8;return null;}(_0xaca27e);if(_0x498e9c){const _0x252743=_0x498e9c['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x252743),_0x51ae1b['preventDefault'](),_0x2b6adb['stop']();}},{'context':_0x707746});}['_defineClickHandlers'](){const {editor:_0x220440}=this,{editing:_0x3051d5}=_0x220440;_0x220440['editing']['view']['addObserver'](_0x1ed646),_0x220440['editing']['view']['addObserver'](_0x4c48c0);let _0x3a2e17=!0x1;this['listenTo'](_0x3051d5['view']['document'],'pointerdown',(_0x3c6949,_0x37d92e)=>{const {target:_0x1dbf4a}=_0x37d92e,_0x1713df=_0x3051d5['view']['document']['selection'];_0x3a2e17=!!(_0x1dbf4a?.['is']('element','a')&&_0x1dbf4a['parent']?.['is']('element','sup')&&_0x1dbf4a['parent']['hasClass']('footnote'))&&_0x1713df['getSelectedElement']()===_0x1dbf4a['parent'];},{'priority':'high'}),this['listenTo'](_0x3051d5['view']['document'],'click',(_0x53c992,_0x164cd2)=>{const {target:_0x4bcc83}=_0x164cd2;if(!_0x4bcc83?.['is']('element','a'))return;if(_0x4bcc83['parent']?.['is']('element','sup')&&_0x4bcc83['parent']['hasClass']('footnote')&&!_0x3a2e17)return void _0x164cd2['preventDefault']();let _0x6dfaf4=_0x4bcc83['getAttribute']('href');if(!_0x6dfaf4?.['startsWith']('#'))return;_0x6dfaf4=_0x6dfaf4['slice'](0x1);let _0x3eacb1=!0x1;(_0x6dfaf4['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x6dfaf4['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x6dfaf4))&&(_0x3eacb1=!0x0),_0x3eacb1&&(_0x164cd2['preventDefault'](),_0x53c992['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x2b800a}={}){return(_0x1157f6,{writer:_0x28c1ab})=>{if(!p(_0x1157f6))return null;if(!_0x2b800a)return _0x28c1ab['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x53f80e=_0x28c1ab['createContainerElement']('p');return _0x28c1ab['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x53f80e),_0x53f80e;};}function p(_0x24e213){const {parent:_0x5024dd}=_0x24e213;if(!_0x5024dd?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5024dd['childCount'])return!0x1;for(const _0xf1d445 of _0x24e213['getAttributeKeys']())if(!_0xf1d445['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xf1d445)return!0x1;return!0x0;}function g(_0x2d6787,_0x2dc34a){if(!_0x2d6787['is']('element','paragraph'))return!0x1;const _0x3f8efd=_0x2dc34a['toViewElement'](_0x2d6787);return!!_0x3f8efd&&p(_0x2d6787)!==_0x3f8efd['is']('element','span');}function J(_0x3070e9){return _0x707746(_0x3070e9)&&_0x3070e9['is']('containerElement')&&!!_0x3070e9['getCustomProperty']('footnotesDefinitions');}function v(_0x4cda09,_0x4f22a={}){const _0x2c363e=_0x4cda09['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1011f0=_0x4cda09['createContainerElement']('ol',{'class':'footnotes-list'},_0x4cda09['createSlot']());return _0x4cda09['createContainerElement']('div',{'class':'footnotes',..._0x4f22a},[_0x2c363e,_0x1011f0]);}function D(_0x1c459d,_0x2beb18){const _0x3318e2=_0x1c459d['getAttribute']('footnoteId'),_0x5243e3=_0x1c459d['getAttribute']('footnoteCounter'),_0x34dd50=_0x2beb18['createUIElement']('a',{'href':'#'+_0x3318e2},function(_0x19ea92){const _0x5c0ba4=this['toDomElement'](_0x19ea92);return _0x5c0ba4['textContent']=_0x5243e3,_0x5c0ba4;}),_0x264478=_0x2beb18['createContainerElement']('sup',{'id':'ref-'+_0x3318e2,'class':'footnote'},[_0x34dd50]);return _0x264478['getFillerOffset']=()=>null,_0x264478;}function b(_0x302a93,_0x361c08,_0x6c9ae9,{dataPipeline:_0x103622}={}){const {t:t}=_0x6c9ae9,_0x1dbc32=_0x302a93['getAttribute']('footnoteId'),_0xbcf713=_0x361c08['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1dbc32},function(_0x454635){const _0x1168bf=this['toDomElement'](_0x454635);return _0x1168bf['innerText']='^',_0x1168bf;}),_0x5052af=_0x103622?_0x361c08['createContainerElement']('div',{'class':'footnote-content'}):_0x4a0271(_0x361c08['createEditableElement']('div',{'class':'footnote-content'}),_0x361c08,{'label':t('Footnote\x20content.')});return _0x361c08['insert'](_0x361c08['createPositionAt'](_0x5052af,0x0),_0x361c08['createSlot']()),_0x361c08['createContainerElement']('li',{'class':'footnote-definition','id':_0x1dbc32},[_0xbcf713,_0x5052af]);}class e extends _0x5f50d0{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x35ca89];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x432316}=this,{plugins:_0x57bbe4,model:_0x4eacb3}=_0x432316,_0x2beeda=_0x57bbe4['get'](_0x35ca89),_0x30381f=_0x57bbe4['get'](f);this['listenTo'](_0x2beeda,'outputTransformation',(_0x52d8b9,_0x4ee485)=>{const _0x17a326=c(_0x4eacb3['createRangeIn'](_0x4ee485['content']));if(!_0x17a326['length'])return;const _0x3abbeb=_0x30381f['getFootnotes'](),_0x8eefc8=_0x17a326['reduce']((_0x46bdb7,_0x137140)=>{const _0x5735fd=_0x3abbeb['find'](_0xa8b99a=>_0xa8b99a['id']===_0x137140);if(_0x5735fd){const _0x23e07f=_0x432316['data']['toView'](_0x5735fd['definition'],{'isClipboardPipeline':!0x0}),_0xc12edf=_0x432316['data']['htmlProcessor']['toData'](_0x23e07f);_0x46bdb7[_0x5735fd['id']]=_0xc12edf;}return _0x46bdb7;},Object['create'](null));_0x4ee485['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x8eefc8));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x17d4ba}=this,{model:_0x2032b0,plugins:_0x4e72d2}=_0x17d4ba,{view:_0x4d4feb}=_0x17d4ba['editing'],_0x2725e3=_0x4e72d2['get'](_0x35ca89),_0x3333b0=_0x4e72d2['get'](f),_0x32cd80=_0x17d4ba['config']['get']('footnotes.multiBlock');let _0x44a8e5=null;this['listenTo'](_0x4d4feb['document'],'clipboardInput',(_0x50cf37,_0x1a6860)=>{const _0x3c7f5a=_0x1a6860['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x44a8e5=_0x3c7f5a?JSON['parse'](_0x3c7f5a):null;}),this['listenTo'](_0x2725e3,'contentInsertion',(_0x19e3f3,_0x5432d2)=>{const _0x219e3e=_0x5432d2['sourceEditorId']===this['editor']['id'];_0x219e3e&&'drop'===_0x5432d2['method']||_0x2032b0['change'](_0x3110ef=>{let _0x51fc74=_0x3333b0['getFootnotesDefinitionsObjectElement']();const _0x2a922d=!!_0x51fc74&&Array['from'](_0x2032b0['document']['selection']['getSelectedBlocks']())['includes'](_0x51fc74);if((_0x51fc74&&!_0x2a922d||!_0x51fc74&&!_0x44a8e5)&&function(_0x578e17,_0x55531a){const _0x44fa93=[];for(const {item:_0x1eb4cf}of _0x578e17['createRangeIn'](_0x55531a))_0x1eb4cf['is']('element','footnotesDefinitions')&&_0x44fa93['push'](_0x1eb4cf);for(const _0x1eb315 of _0x44fa93)_0x578e17['remove'](_0x1eb315);}(_0x3110ef,_0x5432d2['content']),!_0x44a8e5)return;const {selection:_0x218c66}=_0x2032b0['document'],_0x292423=_0x218c66['getFirstRange']()['root'];_0x51fc74&&!_0x2a922d||(_0x51fc74=function(_0x5d0e38,_0x57076c){for(const {item:_0x5c7e60}of _0x5d0e38['createRangeIn'](_0x57076c))if(_0x5c7e60['is']('element','footnotesDefinitions'))return _0x5c7e60;return null;}(_0x3110ef,_0x5432d2['content']),_0x51fc74||=_0x3333b0['_insertEmptyFootnotesDefinitionsContainer'](_0x3110ef,_0x292423));const _0xeb5fda=Array['from'](_0x218c66['getRanges']())['flatMap'](c),_0xc66a7b=function(_0x13066d,_0x559d0a,_0x4e08d8){const _0x4ec677=Object['create'](null);for(const {item:_0x956deb}of _0x13066d['createRangeIn'](_0x559d0a))if(_0x956deb['is']('element','footnoteRef')){const _0x551eef=_0x956deb['getAttribute']('footnoteId');if(!_0x4e08d8(_0x551eef))continue;_0x4ec677[_0x551eef]||(_0x4ec677[_0x551eef]=_0xa355a6()),_0x13066d['setAttribute']('footnoteId',_0x4ec677[_0x551eef],_0x956deb);}return _0x4ec677;}(_0x3110ef,_0x5432d2['content'],_0x134392=>{if(!_0x219e3e)return!0x0;return!!_0x3333b0['getFootnote'](_0x134392)&&!_0xeb5fda['includes'](_0x134392);});for(const [_0x3e21d9,_0x875920]of Object['entries'](_0x44a8e5)){const _0x5404f0=_0xc66a7b[_0x3e21d9]||_0x3e21d9,_0x254f54=_0x3110ef['createElement']('footnoteDefinition',{'footnoteId':_0x5404f0}),_0x5f0b16=_0x17d4ba['data']['htmlProcessor']['toView'](_0x875920);let _0x799c53;if(_0x32cd80)_0x799c53=_0x17d4ba['data']['toModel'](_0x5f0b16,_0x254f54);else{_0x799c53=_0x3110ef['createElement']('footnoteInlineContent');const _0x5ee8b0=_0x17d4ba['data']['toModel'](_0x5f0b16,_0x799c53);_0x3110ef['insert'](_0x5ee8b0,_0x799c53);}_0x3110ef['append'](_0x799c53,_0x254f54),_0x3110ef['insert'](_0x254f54,_0x51fc74,'end');}_0x44a8e5=null;});});}}function c(_0x3a9b8b){const _0x4f0563=new Set();for(const {item:_0x20ef5f}of _0x3a9b8b)_0x20ef5f['is']('element','footnoteRef')&&_0x4f0563['add'](_0x20ef5f['getAttribute']('footnoteId'));return Array['from'](_0x4f0563);}class i extends _0x5f50d0{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xf138fc}=this,{componentFactory:_0x471ab6}=_0xf138fc['ui'];_0x471ab6['add']('insertFootnote',x(_0xf138fc,_0x43cdb0)),_0x471ab6['add']('menuBar:insertFootnote',x(_0xf138fc,_0x4ade2d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3abf6d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3d8933;for(const _0x4b403e in _0x3abf6d){const _0x3a87db=_0x4b403e,_0x18339d=_0x3abf6d[_0x3a87db];if('footnotesLicenseKeyValid'==_0x18339d||'footnotesLicenseKeyInvalid'==_0x18339d||'footnotesLicenseKeyExpired'==_0x18339d||'footnotesLicenseKeyDomainLimit'==_0x18339d||'footnotesLicenseKeyNotAllowed'==_0x18339d||'footnotesLicenseKeyEvaluationLimit'==_0x18339d||'footnotesLicenseKeyTrialLimit'==_0x18339d||'footnotesLicenseKeyUsageLimit'==_0x18339d){delete _0x3abf6d[_0x3a87db],_0x3d8933=_0x18339d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3d8933&&_0x3abf6d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3d8933&&_0x3abf6d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3d8933&&_0x3abf6d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3d8933&&_0x3abf6d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3d8933&&_0x3abf6d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3d8933&&_0x3abf6d['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3d8933&&_0x3abf6d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x1e26b9,_0x44ba65){const _0x24e948=_0x1e26b9['commands']['get']('insertFootnote');return _0x270f36=>{const {t:t}=_0x270f36,_0x87f49c=new _0x44ba65(_0x270f36),_0x1a0dbf=_0x87f49c instanceof _0x4ade2d;return _0x87f49c['bind']('isEnabled')['to'](_0x24e948,'isEnabled'),_0x87f49c['set']({'label':t(_0x1a0dbf?'Footnote':'Insert\x20footnote'),'icon':_0x41f08a,'tooltip':!0x0}),_0x87f49c['on']('execute',()=>{_0x24e948['execute'](),_0x1e26b9['editing']['view']['focus']();}),_0x87f49c;};}class lt extends _0x5f50d0{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x372ec6{['refresh'](){const {editor:_0x1a6f87}=this,_0x2f0ef2=_0x1a6f87['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2f0ef2,this['value']=_0x2f0ef2?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x121b2b}){const {editor:_0xe4a46b}=this,_0x20f2ad=_0xe4a46b['plugins']['get'](f),_0xf35954=_0x20f2ad['getFootnotesDefinitionsObjectElement']();_0xf35954&&Q['includes'](_0x121b2b)&&_0xe4a46b['model']['change'](_0x27bf03=>{_0x27bf03['setAttribute']('footnotesListStyle',_0x121b2b,_0xf35954),_0x20f2ad['_updateFootnotesCounters'](_0x27bf03);});}}class C extends _0x372ec6{['refresh'](){const {editor:_0x1711d3}=this,_0x547cb9=_0x1711d3['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x547cb9,this['value']=_0x547cb9?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x5adeb2}){const {editor:_0x1b8e19}=this,_0x5efb63=_0x1b8e19['plugins']['get'](f),_0x314851=_0x5efb63['getFootnotesDefinitionsObjectElement']();_0x314851&&Number['isInteger'](_0x5adeb2)&&_0x1b8e19['model']['change'](_0x36ecd7=>{_0x36ecd7['setAttribute']('footnotesListStart',_0x5adeb2,_0x314851),_0x5efb63['_updateFootnotesCounters'](_0x36ecd7);});}}class P extends _0x5f50d0{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x6c1846}=this;_0x6c1846['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x6c1846['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x6c1846['commands']['add']('footnotesStyle',new S(_0x6c1846)),_0x6c1846['commands']['add']('footnotesStart',new C(_0x6c1846)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x452417}=this,{schema:_0x57e136}=_0x452417['model'];_0x57e136['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x49981b}=this,{conversion:_0x253c00,model:_0x2051bf}=_0x49981b,{schema:_0x4f7d10}=_0x2051bf;_0x253c00['for']('upcast')['add'](_0x13abcb=>{_0x13abcb['on']('element:ol',(_0x4ddb22,_0x2315b0,_0x4e00e2)=>{const _0x56cd7a=_0x2315b0['viewItem'],_0x287216=_0x2315b0['modelCursor']?.['parent'];_0x56cd7a['hasClass']('footnotes-list')&&_0x287216?.['is']('element','footnotesDefinitions')&&(function(_0x5a9a26,_0x268652,_0x26fcec,_0x4a26b4){if(!_0x4a26b4['checkAttribute'](_0x268652,'footnotesListStart'))return;let _0x560958=0x1;const _0x1b9cfd=_0x26fcec['consumable']['consume'](_0x5a9a26,{'attributes':'start'});if(_0x1b9cfd){const _0xeea03c=Number['parseInt'](_0x5a9a26['getAttribute']('start'),0xa);Number['isNaN'](_0xeea03c)||(_0x560958=_0xeea03c);}!_0x1b9cfd&&_0x268652['hasAttribute']('footnotesListStart')||_0x26fcec['writer']['setAttribute']('footnotesListStart',_0x560958,_0x268652);}(_0x56cd7a,_0x287216,_0x4e00e2,_0x4f7d10),function(_0xffcac,_0x556588,_0x4e0015,_0x40ba1){if(!_0x40ba1['checkAttribute'](_0x556588,'footnotesListStyle'))return;let _0x542274='decimal',_0x58e52a=!0x1;if(_0x4e0015['consumable']['consume'](_0xffcac,{'attributes':'type'})){const _0x2cd13f={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0xffcac['getAttribute']('type')];_0x2cd13f&&(_0x542274=_0x2cd13f),_0x58e52a=!0x0;}_0x4e0015['consumable']['consume'](_0xffcac,{'styles':'list-style-type'})&&(_0x542274=function(_0x1289af){switch(_0x1289af){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x1289af;}}(_0xffcac['getStyle']('list-style-type')),_0x58e52a=!0x0),!_0x58e52a&&_0x556588['hasAttribute']('footnotesListStyle')||_0x4e0015['writer']['setAttribute']('footnotesListStyle',_0x542274,_0x556588);}(_0x56cd7a,_0x287216,_0x4e00e2,_0x4f7d10));});}),_0x253c00['for']('downcast')['add'](_0x3e6456=>{_0x3e6456['on']('attribute:footnotesListStart:footnotesDefinitions',(_0xcac613,_0x4a9679,_0x6555d3)=>{if(!_0x6555d3['consumable']['consume'](_0x4a9679['item'],_0xcac613['name']))return;const _0x12845d=M(_0x4a9679['item'],_0x6555d3['mapper']),{attributeNewValue:_0xe3265a}=_0x4a9679;null==_0xe3265a||0x1===_0xe3265a?_0x6555d3['writer']['removeAttribute']('start',_0x12845d):_0x6555d3['writer']['setAttribute']('start',String(_0xe3265a),_0x12845d);}),_0x3e6456['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x96e3a9,_0x2987d0,_0x107b64)=>{if(!_0x107b64['consumable']['consume'](_0x2987d0['item'],_0x96e3a9['name']))return;const _0x350431=M(_0x2987d0['item'],_0x107b64['mapper']),{attributeNewValue:_0x7589dc}=_0x2987d0;_0x7589dc&&'decimal'!==_0x7589dc?_0x107b64['writer']['setStyle']('list-style-type',_0x7589dc,_0x350431):_0x107b64['writer']['removeStyle']('list-style-type',_0x350431);});});}['_definePostfixer'](){const {editor:_0x544bba}=this,{model:_0x31d185}=_0x544bba,_0xc03bc0=_0x544bba['plugins']['get'](f),_0x473d8d=this['_getDefaultListStyle'](),_0x37a5b3=this['_getDefaultStartIndex']();_0x31d185['document']['registerPostFixer'](_0x3a11e9=>{const _0x44c9cf=_0x31d185['document']['differ']['getChanges']();let _0x1da3b0=!0x1;for(const _0x50359f of _0x44c9cf){if('insert'!==_0x50359f['type']||'$text'===_0x50359f['name'])continue;const _0x46e341=_0x31d185['createRangeOn'](_0x50359f['position']['nodeAfter']);for(const _0x1f4a44 of _0x46e341['getItems']())_0x1f4a44['is']('element','footnotesDefinitions')&&(!_0x1f4a44['hasAttribute']('footnotesListStart')&&_0x31d185['schema']['checkAttribute'](_0x1f4a44,'footnotesListStart')&&(_0x3a11e9['setAttribute']('footnotesListStart',_0x37a5b3,_0x1f4a44),_0x1da3b0=!0x0),!_0x1f4a44['hasAttribute']('footnotesListStyle')&&_0x31d185['schema']['checkAttribute'](_0x1f4a44,'footnotesListStyle')&&(_0x3a11e9['setAttribute']('footnotesListStyle',_0x473d8d,_0x1f4a44),_0x1da3b0=!0x0));}return _0x1da3b0&&_0xc03bc0['_updateFootnotesCounters'](_0x3a11e9),_0x1da3b0;});}['_defineFormatter'](){const {editor:_0x1e39bd}=this;_0x1e39bd['plugins']['get'](f)['setFootnoteFormatter'](_0x9584d4=>this['_formatFootnoteListValue'](_0x9584d4));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0xeb6dd6,value:_0x31e4b5,digits:_0x3817bb}){const _0x43bd5d=_0xeb6dd6['getAttribute']('footnotesListStyle'),_0x3e485b=_0xeb6dd6['getAttribute']('footnotesListStart'),_0x439cdf=Math['floor'](_0x31e4b5)+(_0x3e485b??0x1)-0x1;switch(_0x43bd5d){case'decimal-leading-zero':return function(_0x11b9d9,_0x2af1d1){return String(_0x11b9d9)['padStart'](_0x2af1d1,'0');}(_0x439cdf,Math['max'](0x2,_0x3817bb));case'lower-alpha':case'lower-latin':return N(_0x439cdf,!0x1);case'upper-alpha':case'upper-latin':return N(_0x439cdf,!0x0);case'lower-roman':return X(_0x439cdf,!0x1);case'upper-roman':return X(_0x439cdf,!0x0);default:return String(_0x439cdf);}}}function M(_0x24d5a4,_0x28dcc5){const _0x266c04=_0x28dcc5['toViewElement'](_0x24d5a4);return Array['from'](_0x266c04['getChildren']())['find'](_0x44f43d=>_0x44f43d['is']('element','ol')&&_0x44f43d['hasClass']('footnotes-list'));}function N(_0x4454d1,_0x3f9abf){let _0x573c40='',_0x2e0741=_0x4454d1;for(;_0x2e0741>0x0;){const _0x423a17=(_0x2e0741-0x1)%0x1a;_0x573c40=String['fromCharCode'](0x61+_0x423a17)+_0x573c40,_0x2e0741=Math['floor']((_0x2e0741-0x1)/0x1a);}return _0x3f9abf?_0x573c40['toUpperCase']():_0x573c40;}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(_0x5e87e9,_0x589b97){let _0x107f51='',_0x2c96c0=_0x5e87e9;for(const {value:_0x36be37,numeral:_0x512978}of V)for(;_0x2c96c0>=_0x36be37;)_0x107f51+=_0x512978,_0x2c96c0-=_0x36be37;return _0x589b97?_0x107f51:_0x107f51['toLowerCase']();}class H extends _0x2b1a1c{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x5d9d51();['focusCycler'];constructor(_0x342226,{styleButtonViews:_0x1e17ad,styleGridAriaLabel:_0x3a3573}){super(_0x342226),(this['focusCycler']=new _0xff7b38({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1e17ad,_0x3a3573),[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 _0x27871a of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x27871a['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x4055d4=_0x24b7b1=>_0x24b7b1['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4055d4),this['keystrokes']['set']('arrowleft',_0x4055d4),this['keystrokes']['set']('arrowup',_0x4055d4),this['keystrokes']['set']('arrowdown',_0x4055d4);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3211b7,_0x1c7fdc){const _0x5e0796=new _0x2b1a1c(this['locale']);return _0x5e0796['children']=_0x5e0796['createCollection'](),_0x5e0796['children']['addMany'](_0x3211b7),_0x5e0796['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1c7fdc,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5e0796['children']}),_0x5e0796['children']['delegate']('execute')['to'](this),_0x5e0796['focus']=function(){for(const _0x4e8126 of this['children'])if(_0x4e8126 instanceof _0x43cdb0&&_0x4e8126['isOn'])return void _0x4e8126['focus']();this['children']['first']['focus']();},_0x5e0796['focusTracker']=new ot(),_0x5e0796['keystrokes']=new rt(),_0x5e0796['render'](),_0x5e0796['keystrokes']['listenTo'](_0x5e0796['element']),this['children']['add'](_0x5e0796),_0x5e0796;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5140c6=this['_createStartIndexPropertyView'](),_0x196457=[_0x5140c6],_0x120e3c=new st(this['locale'],_0x196457);return _0x120e3c['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x120e3c['buttonView']['bind']('isEnabled')['toMany'](_0x196457,'isEnabled',(..._0x245154)=>_0x245154['some'](_0x12542b=>_0x12542b)),_0x120e3c['buttonView']['on']('change:isEnabled',(_0x57d0fc,_0x1d984f,_0x104e53)=>{_0x104e53||(_0x120e3c['isCollapsed']=!0x0);}),this['children']['add'](_0x120e3c),[_0x5140c6,_0x120e3c];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3d22ef=new it(this['locale'],et);return _0x3d22ef['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3d22ef['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3d22ef['fieldView']['on']('input',()=>{const _0x86a2c4=_0x3d22ef['fieldView']['element'],_0x4b9e7a=_0x86a2c4['valueAsNumber'];Number['isNaN'](_0x4b9e7a)?_0x3d22ef['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x86a2c4['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4b9e7a}):_0x3d22ef['errorText']=t(_0x4b9e7a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3d22ef;}}class j extends _0x5f50d0{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4257e1,_0x35ffbd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xe1026f}=this,{componentFactory:_0xe81c4d}=_0xe1026f['ui'];_0xe1026f['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xe81c4d['add']('footnotesStyle',function(_0x217076){return _0x220a30=>{const {t:t}=_0x220a30,_0x3cd147=_0x217076['commands']['get']('footnotesStyle'),_0x4e075f=_0x1dde47(_0x220a30),{buttonView:_0x55c13d}=_0x4e075f;return _0x4e075f['class']='ck-footnotes-styles-dropdown',_0x4e075f['bind']('isEnabled')['to'](_0x3cd147,'isEnabled'),_0x55c13d['set']({'label':t('Footnotes\x20style'),'icon':_0x41f08a,'tooltip':!0x0}),_0x4e075f['once']('change:isOpen',()=>{const _0x36214c=function({editor:_0x364ae9,dropdownView:_0x358958}){const {t:t}=_0x364ae9['locale'],_0x3be76f=t('Footnotes\x20definitions\x20styles'),_0x1c333d=function(_0x520031){const t=_0x520031['locale']['t'],_0x578489=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x8acc55},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3300f2},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2706db},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x485fb4},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x562257},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x9252bc}];return _0x578489['map'](function(_0x26f2c0){const _0x38120b=_0x26f2c0['locale'];return({label:_0x9c5f78,icon:_0x5b25f7,tooltip:_0x4bc26e,style:_0x8e1106})=>{const _0x16b53f=_0x26f2c0['commands']['get']('footnotesStyle'),_0x304aae=new _0x43cdb0(_0x38120b);return _0x304aae['set']({'label':_0x9c5f78,'icon':_0x5b25f7,'tooltip':_0x4bc26e}),_0x304aae['bind']('isOn')['to'](_0x16b53f,'value',_0x5994ef=>_0x5994ef===_0x8e1106),_0x304aae['bind']('isEnabled')['to'](_0x16b53f,'isEnabled'),_0x304aae['on']('execute',()=>{_0x26f2c0['execute']('footnotesStyle',{'value':_0x8e1106}),_0x26f2c0['editing']['view']['focus']();}),_0x304aae;};}(_0x520031));}(_0x364ae9),_0xebae9f=new H(_0x364ae9['locale'],{'styleGridAriaLabel':_0x3be76f,'styleButtonViews':_0x1c333d}),_0x63b98b=_0x364ae9['commands']['get']('footnotesStart');return _0xebae9f['startIndexFieldView']['bind']('isEnabled')['to'](_0x63b98b),_0xebae9f['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x63b98b),_0xebae9f['on']('footnotesListStart',(_0x4ef535,_0x2ad2ab)=>{_0x364ae9['execute']('footnotesStart',{'value':_0x2ad2ab['startIndex']});}),_0xebae9f['delegate']('execute')['to'](_0x358958),_0xebae9f;}({'editor':_0x217076,'dropdownView':_0x4e075f});_0x4e075f['panelView']['children']['add'](_0x36214c);}),_0x4e075f;};}(_0xe1026f));}['afterInit'](){const {editor:_0xcfc3b0}=this,{t:t}=_0xcfc3b0['locale'],_0x26949f=_0xcfc3b0['plugins']['get'](_0x35ffbd),{defaultPositions:_0x151e71}=_0x3042ff;_0x26949f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xcfc3b0['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2c5816=>{let _0x9cd350=_0x2c5816['getFirstPosition']()?.['parent'];return _0x9cd350?.['is']('$text')&&(_0x9cd350=_0x9cd350['parent']),_0x9cd350?.['is']('element')?_0x9cd350['findAncestor'](J):null;},'positions':[_0x151e71['southArrowNorth'],_0x151e71['southArrowNorthMiddleWest'],_0x151e71['southArrowNorthMiddleEast'],_0x151e71['southArrowNorthWest'],_0x151e71['southArrowNorthEast'],_0x151e71['northArrowSouth'],_0x151e71['northArrowSouthMiddleWest'],_0x151e71['northArrowSouthMiddleEast'],_0x151e71['northArrowSouthWest'],_0x151e71['northArrowSouthEast'],_0x151e71['viewportStickyNorth']]});}}class ft extends _0x5f50d0{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x45a71d=>0x1!=_0x45a71d}};
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':_0x2cf7e5=>0x1!=_0x2cf7e5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1eacb2=>{const {af:{dictionary:_0x27a261,getPluralForm:_0x366104}}={'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':_0x580f66=>0x1!=_0x580f66}};_0x1eacb2['af']||={'dictionary':{},'getPluralForm':null},_0x1eacb2['af']['dictionary']=Object['assign'](_0x1eacb2['af']['dictionary'],_0x27a261),_0x1eacb2['af']['getPluralForm']=_0x366104;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x32c410=>{const {af:{dictionary:_0x56186e,getPluralForm:_0x3b065f}}={'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':_0x2a3a3f=>0x1!=_0x2a3a3f}};_0x32c410['af']||={'dictionary':{},'getPluralForm':null},_0x32c410['af']['dictionary']=Object['assign'](_0x32c410['af']['dictionary'],_0x56186e),_0x32c410['af']['getPluralForm']=_0x3b065f;})(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':_0x3494d0=>0x0==_0x3494d0?0x0:0x1==_0x3494d0?0x1:0x2==_0x3494d0?0x2:_0x3494d0%0x64>=0x3&&_0x3494d0%0x64<=0xa?0x3:_0x3494d0%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':_0x1e91ed=>0x0==_0x1e91ed?0x0:0x1==_0x1e91ed?0x1:0x2==_0x1e91ed?0x2:_0x1e91ed%0x64>=0x3&&_0x1e91ed%0x64<=0xa?0x3:_0x1e91ed%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xdae112=>{const {ar:{dictionary:_0x199fdb,getPluralForm:_0x18283d}}={'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':_0x32d014=>0x0==_0x32d014?0x0:0x1==_0x32d014?0x1:0x2==_0x32d014?0x2:_0x32d014%0x64>=0x3&&_0x32d014%0x64<=0xa?0x3:_0x32d014%0x64>=0xb?0x4:0x5}};_0xdae112['ar']||={'dictionary':{},'getPluralForm':null},_0xdae112['ar']['dictionary']=Object['assign'](_0xdae112['ar']['dictionary'],_0x199fdb),_0xdae112['ar']['getPluralForm']=_0x18283d;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3288d1=>{const {ar:{dictionary:_0x3b2c2c,getPluralForm:_0x32a4d1}}={'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':_0x4173ab=>0x0==_0x4173ab?0x0:0x1==_0x4173ab?0x1:0x2==_0x4173ab?0x2:_0x4173ab%0x64>=0x3&&_0x4173ab%0x64<=0xa?0x3:_0x4173ab%0x64>=0xb?0x4:0x5}};_0x3288d1['ar']||={'dictionary':{},'getPluralForm':null},_0x3288d1['ar']['dictionary']=Object['assign'](_0x3288d1['ar']['dictionary'],_0x3b2c2c),_0x3288d1['ar']['getPluralForm']=_0x32a4d1;})(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':_0x719392=>0x1!=_0x719392}};
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':_0xcfa062=>0x1!=_0xcfa062}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x332eed=>{const {ast:{dictionary:_0x5699a3,getPluralForm:_0x2914c8}}={'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':_0x876dcd=>0x1!=_0x876dcd}};_0x332eed['ast']||={'dictionary':{},'getPluralForm':null},_0x332eed['ast']['dictionary']=Object['assign'](_0x332eed['ast']['dictionary'],_0x5699a3),_0x332eed['ast']['getPluralForm']=_0x2914c8;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x9f015c=>{const {ast:{dictionary:_0x154651,getPluralForm:_0x33ea71}}={'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':_0x1cf0e9=>0x1!=_0x1cf0e9}};_0x9f015c['ast']||={'dictionary':{},'getPluralForm':null},_0x9f015c['ast']['dictionary']=Object['assign'](_0x9f015c['ast']['dictionary'],_0x154651),_0x9f015c['ast']['getPluralForm']=_0x33ea71;})(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':_0x272a60=>0x1!=_0x272a60}};
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':_0x2e2973=>0x1!=_0x2e2973}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1a8bff=>{const {az:{dictionary:_0x4f566b,getPluralForm:_0x52780f}}={'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':_0x4db39d=>0x1!=_0x4db39d}};_0x1a8bff['az']||={'dictionary':{},'getPluralForm':null},_0x1a8bff['az']['dictionary']=Object['assign'](_0x1a8bff['az']['dictionary'],_0x4f566b),_0x1a8bff['az']['getPluralForm']=_0x52780f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x444f31=>{const {az:{dictionary:_0x10f09b,getPluralForm:_0x5e0c1d}}={'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':_0x370331=>0x1!=_0x370331}};_0x444f31['az']||={'dictionary':{},'getPluralForm':null},_0x444f31['az']['dictionary']=Object['assign'](_0x444f31['az']['dictionary'],_0x10f09b),_0x444f31['az']['getPluralForm']=_0x5e0c1d;})(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':_0x4959cf=>_0x4959cf%0xa==0x1&&_0x4959cf%0x64!=0xb?0x0:_0x4959cf%0xa>=0x2&&_0x4959cf%0xa<=0x4&&(_0x4959cf%0x64<0xa||_0x4959cf%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':_0x1882fe=>_0x1882fe%0xa==0x1&&_0x1882fe%0x64!=0xb?0x0:_0x1882fe%0xa>=0x2&&_0x1882fe%0xa<=0x4&&(_0x1882fe%0x64<0xa||_0x1882fe%0x64>=0x14)?0x1:0x2}};