@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251202.0 → 0.0.0-nightly-20251204.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 _0x10c62d,Command as _0x4e351b}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0xb141fc,isWidget as _0x566b06,toWidgetEditable as _0x338e6b,WidgetToolbarRepository as _0x10637b}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x423eb2,logWarning as _0x224a8f,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3c5240,ClickObserver as _0xad49c1}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x498484}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x386625,ButtonView as _0x3a1411,View as _0x3ce7d9,ViewCollection as _0x12295b,FocusCycler as _0x2fdb71,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x2a8da0,BalloonPanelView as _0x49ba2f,createDropdown as _0x50413e}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x435eda,IconListStyleDecimal as _0x521184,IconListStyleDecimalLeadingZero as _0x9fa031,IconListStyleLowerRoman as _0x305c0c,IconListStyleUpperRoman as _0x24576c,IconListStyleLowerLatin as _0x24f8d8,IconListStyleUpperLatin as _0x4ec5ab}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4f0db1,_0xc34db2){this['_model']=_0x4f0db1,this['_elementName']=_0xc34db2['elementName'],this['_getElementKey']=_0xc34db2['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x135f0b){const _0x5a46ee=new Set(),_0x47365e=new Map();for(const _0x2b5935 of _0x135f0b){if('insert'===_0x2b5935['type']&&'$text'!==_0x2b5935['name']&&_0x2b5935['position']['nodeAfter']){const _0x3983c2=this['_model']['createRangeOn'](_0x2b5935['position']['nodeAfter']);for(const _0x249c73 of _0x3983c2['getItems']()){if(!_0x249c73['is']('element',this['_elementName']))continue;const _0xb81f1f=this['_getElementKey'](_0x249c73);_0x47365e['has'](_0xb81f1f)||_0x47365e['set'](_0xb81f1f,[]),_0x47365e['get'](_0xb81f1f)['push'](_0x249c73);}}if('remove'===_0x2b5935['type']&&_0x2b5935['name']===this['_elementName']){const _0x2f388f=this['_getElementKey']({'getAttribute':_0x382a83=>_0x2b5935['attributes']['get'](_0x382a83)});_0x5a46ee['add'](_0x2f388f);}}for(const [_0x218774,_0x5e53e6]of this['_trackedElements'])'$graveyard'===_0x5e53e6['root']['rootName']&&_0x5a46ee['add'](_0x218774);for(const _0x5b1e35 of _0x5a46ee)this['_trackedElements']['delete'](_0x5b1e35);for(const [_0x1dbaf1,_0x59d030]of _0x47365e)this['_trackedElements']['set'](_0x1dbaf1,_0x59d030[_0x59d030['length']-0x1]);const _0x54a64c=new Set();for(const [_0x276a74,_0x4ca98e]of _0x47365e)_0x5a46ee['has'](_0x276a74)&&(_0x54a64c['add'](_0x4ca98e[0x0]),_0x4ca98e['length']>0x1?_0x47365e['set'](_0x276a74,_0x4ca98e['slice'](0x1)):_0x47365e['delete'](_0x276a74),_0x5a46ee['delete'](_0x276a74));return{'removed':Array['from'](_0x5a46ee),'inserted':Array['from'](_0x47365e['values']())['flat'](),'moved':Array['from'](_0x54a64c)};}}class c extends _0x10c62d{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4b3872){super(_0x4b3872),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x4ed334=>_0x4ed334['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x1d60cb=>_0x1d60cb['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3408bf}=this,{model:_0x27f6f5,data:_0x2f2c3a}=_0x3408bf;_0x27f6f5['document']['registerPostFixer'](_0x490a86=>{const _0x3d1a12=_0x27f6f5['document']['differ']['getChanges']();let _0x1abe41=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x490a86,_0x3d1a12)&&(_0x1abe41=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x490a86,_0x3d1a12)&&(_0x1abe41=!0x0),this['_handleFootnoteReferencesChanges'](_0x490a86,_0x3d1a12)&&(_0x1abe41=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x490a86)&&(_0x1abe41=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x490a86)&&(_0x1abe41=!0x0),this['_sortFootnoteDefinitions'](_0x490a86)&&(_0x1abe41=!0x0),_0x1abe41;}),this['listenTo'](_0x27f6f5['document'],'change:data',()=>{_0x27f6f5['enqueueChange']({'isUndoable':!0x1},_0x257ba3=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x257ba3);});},{'priority':'low'}),this['listenTo'](_0x2f2c3a,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4fa566){return this['_footnotes']['find'](_0x139028=>_0x139028['id']===_0x4fa566)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x3522f4){this['_footnoteFormatter']=_0x3522f4;}['_updateFootnotesCounters'](_0x3257fb,_0x594dfe=0x0){let _0x29e572=!0x1;for(let _0xe997f5=_0x594dfe;_0xe997f5<this['_footnotes']['length'];_0xe997f5++)this['_updateFootnoteRefCounter'](_0x3257fb,_0xe997f5)&&(_0x29e572=!0x0);return _0x29e572;}['_insertEmptyFootnotesDefinitionsContainer'](_0x5a77b9,_0x423a5b){const _0x10f4a5=_0x5a77b9['createElement']('footnotesDefinitions',{});return _0x5a77b9['append'](_0x10f4a5,_0x423a5b),this['_footnotesDefinitions']=_0x10f4a5,_0x10f4a5;}['_ensureFootnotesDefinitionsContainerExists'](_0x3f9341){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2a7c29=this['_footnotes'][0x0]['reference']['root'],_0x683e15=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3f9341,_0x2a7c29);for(const _0x54d257 of this['_footnotes'])_0x54d257['definition']['parent']||_0x3f9341['insert'](_0x54d257['definition'],_0x683e15,'end');this['_updateFootnotesCounters'](_0x3f9341);}['_handleFootnotesDefinitionsObjectChanges'](_0x150c8b,_0x34f36c){let _0x3f0b32=!0x1;const {inserted:_0x231750,removed:_0x2152cc,moved:_0x165392}=this['_footnoteDefsContainerTracker']['getChanges'](_0x34f36c);if(_0x165392['length']&&(this['_footnotesDefinitions']=_0x165392[0x0]),_0x231750['length']){if(_0x231750['length']>0x1||this['_footnotesDefinitions']&&_0x231750['some'](_0x3ac659=>_0x3ac659!==this['_footnotesDefinitions'])){const _0x69883e=_0x150c8b['createElement']('footnotesDefinitions',{}),_0x3940a3=[];this['_footnotesDefinitions']&&_0x3940a3['push'](this['_footnotesDefinitions']),_0x3940a3['push'](..._0x231750),_0x150c8b['insert'](_0x69883e,_0x3940a3[0x0],'before');for(const _0x4e8f23 of _0x3940a3)_0x150c8b['move'](_0x150c8b['createRangeIn'](_0x4e8f23),_0x150c8b['createPositionAt'](_0x69883e,'end')),_0x150c8b['remove'](_0x4e8f23);this['_footnotesDefinitions']=_0x69883e,this['_updateFootnotesCounters'](_0x150c8b),_0x3f0b32=!0x0;}else this['_footnotesDefinitions']=_0x231750[0x0];}if(_0x2152cc['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4f7269 of this['_footnotes'])_0x150c8b['remove'](_0x4f7269['reference']),_0x3f0b32=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x3f0b32;}['_handleFootnoteDefinitionsChanges'](_0x2f568d,_0x1673f7){let _0x11bdb8=!0x1;const _0x1ccc2e=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x3ba172,moved:_0x24be4c}=this['_footnoteDefsTracker']['getChanges'](_0x1673f7);for(const _0x1a0a86 of[..._0x24be4c,..._0x3ba172]){const _0x1c9d5b=_0x1a0a86['getAttribute']('footnoteId'),_0x56d53a=this['getFootnote'](_0x1c9d5b);_0x56d53a&&(_0x56d53a['definition']=_0x1a0a86),_(_0x2f568d,_0x1ccc2e,_0x1a0a86)&&(_0x11bdb8=!0x0);}return _0x11bdb8;}['_handleFootnoteReferencesChanges'](_0x1af241,_0x4708fd){let _0x5cd720=!0x1;const {removed:_0x4d18c6,inserted:_0x517c4e,moved:_0x1913f3}=this['_footnoteRefsTracker']['getChanges'](_0x4708fd);for(const _0x39e16f of _0x4d18c6)this['_handleRemoveFootnoteReferenceById'](_0x1af241,_0x39e16f)&&(_0x5cd720=!0x0);for(const _0x20ae9f of _0x517c4e)this['_handleInsertedFootnoteReference'](_0x1af241,_0x20ae9f)&&(_0x5cd720=!0x0);for(const _0xa23a91 of _0x1913f3)this['_handleMovedFootnoteReference'](_0x1af241,_0xa23a91)&&(_0x5cd720=!0x0);return _0x5cd720;}['_handleFootnotesDefinitionsObjectSync'](_0x4e3646){if(!this['_footnotesDefinitions'])return!0x1;let _0x4f424f=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x29db00=[];for(const _0x760680 of this['_footnotesDefinitions']['getChildren']()){const _0x93c667=_0x760680['getAttribute']('footnoteId');this['getFootnote'](_0x93c667)||(_0x29db00['unshift'](_0x760680),_0x4f424f=!0x0);}for(const _0x387f24 of _0x29db00)_0x4e3646['remove'](_0x387f24);}const _0x198009=new Set(),_0x4bfe7f=[];for(const _0x51057f of this['_footnotesDefinitions']['getChildren']()){const _0x332e9b=_0x51057f['getAttribute']('footnoteId');_0x198009['has'](_0x332e9b)?(_0x4bfe7f['unshift'](_0x51057f),_0x4f424f=!0x0):_0x198009['add'](_0x332e9b);}for(const _0x397a2a of _0x4bfe7f)_0x4e3646['remove'](_0x397a2a);return this['_footnotesDefinitions']['childCount']||(_0x4e3646['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x4f424f=!0x0),_0x4f424f;}['_handleInsertedFootnoteReference'](_0x37b5fb,_0x4b8217){if(this['_footnotes']['find'](_0x312fbb=>_0x312fbb['reference']===_0x4b8217))return!0x1;let _0x1532a2=!0x1;const _0x3ae664=_0x4b8217['getAttribute']('footnoteId'),_0x426587=this['_footnotes']['findIndex'](_0x4f18f1=>_0x4f18f1['id']===_0x3ae664);-0x1!==_0x426587&&(_0x37b5fb['remove'](this['_footnotes'][_0x426587]['reference']),this['_footnotes']['splice'](_0x426587,0x1),_0x1532a2=!0x0);let _0x2c6722=this['_footnotesDefinitions']?function(_0x33fcd0,_0x371f0e){for(const _0x3ba168 of _0x33fcd0['getChildren']())if(_0x3ba168['getAttribute']('footnoteId')===_0x371f0e)return _0x3ba168;return null;}(this['_footnotesDefinitions'],_0x3ae664):null;_0x2c6722||(_0x2c6722=_0x37b5fb['createElement']('footnoteDefinition',{'footnoteId':_0x3ae664}),this['_footnotesDefinitions']&&(_0x37b5fb['insert'](_0x2c6722,this['_footnotesDefinitions'],'end'),_0x1532a2=!0x0));const _0x492cc8={'id':_0x3ae664,'reference':_0x4b8217,'definition':_0x2c6722},_0x379d34=I(this['editor']['model'],this['_footnotes'],_0x4b8217);this['_footnotes']['splice'](_0x379d34,0x0,_0x492cc8);let _0x2c04a0=_0x379d34;return-0x1!==_0x426587&&(_0x2c04a0=Math['min'](_0x379d34,_0x426587)),this['_updateFootnotesCounters'](_0x37b5fb,_0x2c04a0)&&(_0x1532a2=!0x0),_0x1532a2;}['_handleRemoveFootnoteReferenceById'](_0x26513d,_0x539579){const _0x582f5=this['_footnotes']['findIndex'](_0x14090b=>_0x14090b['id']===_0x539579);if(-0x1===_0x582f5)return!0x1;let _0x2b03be=!0x1;const _0x5826da=this['_footnotes'][_0x582f5];return'$graveyard'!==_0x5826da['definition']['root']['rootName']&&(_0x26513d['remove'](_0x5826da['definition']),_0x2b03be=!0x0),this['_footnotes']['splice'](_0x582f5,0x1),this['_updateFootnotesCounters'](_0x26513d,_0x582f5)&&(_0x2b03be=!0x0),_0x2b03be;}['_handleMovedFootnoteReference'](_0x3fd488,_0xd3c929){const _0x24539b=_0xd3c929['getAttribute']('footnoteId'),_0x4127e1=this['_footnotes']['findIndex'](_0x5ec69a=>_0x5ec69a['id']===_0x24539b),_0x5d39ce=this['_footnotes'][_0x4127e1];let _0x29d126=!0x1;_0x5d39ce['reference']=_0xd3c929,this['_footnotes']['splice'](_0x4127e1,0x1);const _0x17c5a4=I(this['editor']['model'],this['_footnotes'],_0xd3c929);return this['_footnotes']['splice'](_0x17c5a4,0x0,_0x5d39ce),this['_updateFootnotesCounters'](_0x3fd488,Math['min'](_0x4127e1,_0x17c5a4))&&(_0x29d126=!0x0),_0x29d126;}['_updateFootnoteRefCounter'](_0x28cfde,_0xe35947){if(!this['_footnotesDefinitions'])return!0x1;const _0x558689=this['_footnotes'][_0xe35947];let _0xfe5075;return _0xfe5075=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x558689,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0xe35947+0x1}):String(_0xe35947+0x1),_0x558689['reference']['getAttribute']('footnoteCounter')!=_0xfe5075&&(_0x28cfde['setAttribute']('footnoteCounter',_0xfe5075,_0x558689['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x356f50){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x5aa710,_0x921fde){if(_0x5aa710['length']!==_0x921fde['length'])return!0x1;for(let _0x11d5d1=0x0;_0x11d5d1<_0x5aa710['length'];_0x11d5d1++)if(_0x5aa710[_0x11d5d1]!==_0x921fde[_0x11d5d1])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x3a747e=>_0x3a747e['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0xfb88ae=>_0xfb88ae['getAttribute']('footnoteId'))))return!0x1;let _0x5fc7a1=!0x1;for(let _0x344aeb=0x0;_0x344aeb<this['_footnotes']['length'];_0x344aeb++){const _0x20c4ae=this['_footnotes'][_0x344aeb],_0x7a10cd=_0x356f50['createPositionBefore'](_0x20c4ae['definition']),_0x13e4e1=_0x356f50['createPositionAt'](this['_footnotesDefinitions'],_0x344aeb);_0x7a10cd['isEqual'](_0x13e4e1)||(_0x356f50['move'](_0x356f50['createRangeOn'](_0x20c4ae['definition']),_0x13e4e1),_0x5fc7a1=!0x0);}return _0x5fc7a1;}['_ensureFootnotesReferencesHaveProperOrder'](_0x4dafe8){if(!this['_footnotes']['length'])return!0x1;const {model:_0x264c72}=this['editor'];let _0x3b88ee=!0x1;for(let _0x59d242=0x0;_0x59d242<this['_footnotes']['length']-0x1;_0x59d242++){const _0x266a76=this['_footnotes'][_0x59d242],_0x45e5c2=this['_footnotes'][_0x59d242+0x1],_0x17339c=_0x264c72['createPositionBefore'](_0x266a76['reference']),_0x362f7e=_0x264c72['createPositionBefore'](_0x45e5c2['reference']);'after'===_0x17339c['compareWith'](_0x362f7e)&&(this['_handleMovedFootnoteReference'](_0x4dafe8,_0x266a76['reference']),_0x59d242=-0x1,_0x3b88ee=!0x0);}return _0x3b88ee;}}function _(_0x5ebe2c,_0x4d8f94,_0x1eeb01){if(_0x1eeb01['childCount'])return!0x1;const _0x82104=_0x4d8f94?'paragraph':'footnoteInlineContent';return _0x5ebe2c['insert'](_0x5ebe2c['createElement'](_0x82104),_0x1eeb01),!0x0;}function I(_0x2002ec,_0x178baf,_0x3106bd){if(0x0===_0x178baf['length'])return 0x0;const _0x5481ef=_0x2002ec['createPositionBefore'](_0x3106bd);for(let _0x2b86f7=0x0;_0x2b86f7<_0x178baf['length'];_0x2b86f7++){const _0x28bf8a=_0x178baf[_0x2b86f7],_0x34877f=_0x2002ec['createPositionBefore'](_0x28bf8a['reference']);if('before'===_0x5481ef['compareWith'](_0x34877f))return _0x2b86f7;}const _0x4c18e3=_0x3106bd['root'];let _0x4eff3f=-0x1;for(let _0x55e21c=_0x178baf['length']-0x1;_0x55e21c>=0x0;_0x55e21c--)if(_0x178baf[_0x55e21c]['reference']['root']===_0x4c18e3){_0x4eff3f=_0x55e21c;break;}if(-0x1!==_0x4eff3f)return _0x4eff3f+0x1;const _0x358e6c=_0x2002ec['document']['getRootNames'](),_0xda1578=_0x358e6c['indexOf'](_0x4c18e3['rootName']),_0x4dd0d0=_0x358e6c[_0xda1578+0x1];if(_0x4dd0d0){for(let _0x50d786=0x0;_0x50d786<_0x178baf['length'];_0x50d786++)if(_0x178baf[_0x50d786]['reference']['root']['rootName']===_0x4dd0d0)return _0x50d786;}return _0x178baf['length'];}class m extends _0x4e351b{['refresh'](){const _0x359a0b=this['editor']['model']['document']['selection'],_0x4bbfa8=this['_getPositionToInsertFootnote'](_0x359a0b);this['isEnabled']=!!_0x4bbfa8;}['execute'](_0x50a4e6){const {editor:_0x2f9e77}=this,{model:_0x353cf9}=_0x2f9e77,{selection:_0x5db4f2}=_0x353cf9['document'],_0xb70beb=this['_getPositionToInsertFootnote'](_0x5db4f2);if(!_0xb70beb)return;const _0x5b9298=_0x2f9e77['plugins']['get']('FootnotesEditing'),_0x49c5f4=_0x50a4e6?.['footnoteId']??_0x423eb2();!function(_0x7531bd){return'string'==typeof _0x7531bd&&_0x7531bd['length']>0x0&&!/\s/['test'](_0x7531bd)&&!/^\d/['test'](_0x7531bd);}(_0x49c5f4)?_0x224a8f('insert-footnote-command-executed-with-invalid-id'):(_0x353cf9['change'](_0x41c712=>{const _0x7ed3d4=_0x41c712['createElement']('footnoteRef',{'footnoteId':_0x49c5f4});_0x353cf9['insertObject'](_0x7ed3d4,_0xb70beb,null);}),_0x5b9298['_moveSelectionToFootnoteDefinition'](_0x49c5f4));}['_getPositionToInsertFootnote'](_0x4e959c){const {model:_0x2b343c}=this['editor'],{schema:_0x5f04e0}=_0x2b343c,_0x62a44a=_0x4e959c['getFirstRange']();for(const _0x56dc25 of _0x62a44a['getItems']())if(_0x5f04e0['isBlock'](_0x56dc25)||_0x5f04e0['isObject'](_0x56dc25))return null;const _0x5b4477=_0x62a44a['end'];return _0x5f04e0['checkChild'](_0x5b4477,'footnoteRef')?_0x5b4477:null;}}class r extends _0x10c62d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x192392}=this;_0x192392['config']['define']('footnotes.multiBlock',!0x0),_0x192392['commands']['add']('insertFootnote',new m(_0x192392)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2b5e7c){const _0x4e705e=_0xa97fbc([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]),_0x5c1062=0x47a28506,_0x51a2c2=0x47a5ffc6^_0x5c1062,_0x34ebfb=window[_0xa97fbc([0x44,0x61,0x74,0x65])][_0xa97fbc([0x6e,0x6f,0x77])](),_0x44f4f7=_0x2b5e7c[_0xa97fbc([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c98de=new window[(_0xa97fbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a89c3=>{_0x44f4f7[_0xa97fbc([0x6f,0x6e,0x63,0x65])](_0xa97fbc([0x72,0x65,0x61,0x64,0x79]),_0x4a89c3);}),_0x3c8181={[_0xa97fbc([0x6b,0x74,0x79])]:_0xa97fbc([0x45,0x43]),[_0xa97fbc([0x75,0x73,0x65])]:_0xa97fbc([0x73,0x69,0x67]),[_0xa97fbc([0x63,0x72,0x76])]:_0xa97fbc([0x50,0x2d,0x32,0x35,0x36]),[_0xa97fbc([0x78])]:_0xa97fbc([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]),[_0xa97fbc([0x79])]:_0xa97fbc([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]),[_0xa97fbc([0x61,0x6c,0x67])]:_0xa97fbc([0x45,0x53,0x32,0x35,0x36])},_0x1234bb=_0x44f4f7[_0xa97fbc([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xa97fbc([0x67,0x65,0x74])](_0xa97fbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xa9134c(){let _0x1529ee,_0x47e4f1=null,_0x150cd7=null;try{if(_0x1234bb==_0xa97fbc([0x47,0x50,0x4c]))return _0xa97fbc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1529ee=_0x7eb70b(),!_0x1529ee)return _0xa97fbc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1529ee[_0xa97fbc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x150cd7=_0x506bce(_0x1529ee[_0xa97fbc([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1529ee[_0xa97fbc([0x6a,0x74,0x69])])),await _0x2ec78e()?_0x14c399()?_0x8d9103()?_0xa97fbc([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x17e6f3()?(_0x1529ee[_0xa97fbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa97fbc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x47e4f1=_0xab17(_0xa97fbc([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1529ee[_0xa97fbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xa97fbc([0x74,0x72,0x69,0x61,0x6c])&&(_0x47e4f1=_0xab17(_0xa97fbc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d8d87()):_0xa97fbc([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xa97fbc([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xa97fbc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xa97fbc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x8d9103(){const _0x4a906c=[_0xa97fbc([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xa97fbc([0x74,0x72,0x69,0x61,0x6c])][_0xa97fbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1529ee[_0xa97fbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x34ebfb/0x3e8:0xe10*_0x51a2c2;return _0x1529ee[_0xa97fbc([0x65,0x78,0x70])]<_0x4a906c;}function _0x14c399(){const _0x2f84f0=_0x1529ee[_0xa97fbc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f84f0&&(!!_0x2f84f0[_0xa97fbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa97fbc([0x2a]))||!!_0x2f84f0[_0xa97fbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa97fbc([0x46,0x4f,0x4f])));}function _0x17e6f3(){const _0x2563a9=_0x1529ee[_0xa97fbc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2563a9||0x0==_0x2563a9[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x190130}=new URL(window[_0xa97fbc([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2563a9[_0xa97fbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x190130))return!0x0;const _0x509789=_0x190130[_0xa97fbc([0x73,0x70,0x6c,0x69,0x74])](_0xa97fbc([0x2e]));return _0x2563a9[_0xa97fbc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bf576=>_0x5bf576[_0xa97fbc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa97fbc([0x2a])))[_0xa97fbc([0x6d,0x61,0x70])](_0x23dc8b=>_0x23dc8b[_0xa97fbc([0x73,0x70,0x6c,0x69,0x74])](_0xa97fbc([0x2e])))[_0xa97fbc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xaa8848=>_0xaa8848[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x509789[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa97fbc([0x6d,0x61,0x70])](_0xb2ce59=>Array(_0x509789[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb2ce59[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xa97fbc([0x66,0x69,0x6c,0x6c])](_0xb2ce59[0x0]===_0xa97fbc([0x2a])?_0xa97fbc([0x2a]):'')[_0xa97fbc([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb2ce59))[_0xa97fbc([0x73,0x6f,0x6d,0x65])](_0xd0bd20=>_0x509789[_0xa97fbc([0x65,0x76,0x65,0x72,0x79])]((_0x4b074f,_0x59bebd)=>_0xd0bd20[_0x59bebd]===_0x4b074f||_0xd0bd20[_0x59bebd]===_0xa97fbc([0x2a])));}function _0x4d8d87(){return _0x47e4f1&&_0x150cd7?new window[(_0xa97fbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4abedd,_0x584e31)=>{_0x47e4f1[_0xa97fbc([0x74,0x68,0x65,0x6e])](_0x4abedd,_0x584e31),_0x150cd7[_0xa97fbc([0x74,0x68,0x65,0x6e])](_0xff520c=>{_0xff520c!=_0xa97fbc([0x56,0x61,0x6c,0x69,0x64])&&_0x4abedd(_0xff520c);},_0x584e31);}):_0x47e4f1||_0x150cd7||_0xa97fbc([0x56,0x61,0x6c,0x69,0x64]);}}function _0x506bce(_0x525ccc,_0x246a7a){return new window[(_0xa97fbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f6496=>{if(_0x3cd62b())return _0x3f6496(_0xa97fbc([0x56,0x61,0x6c,0x69,0x64]));_0x9a8cfb(),_0x44f4f7[_0xa97fbc([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xa97fbc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x186425=!0x1;const _0x5ebe15=_0x423eb2();function _0x1cfde5(_0x4184d0){return!!_0x4184d0&&(typeof _0x4184d0===_0xa97fbc([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4184d0===_0xa97fbc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4184d0[_0xa97fbc([0x74,0x68,0x65,0x6e])]===_0xa97fbc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4184d0[_0xa97fbc([0x63,0x61,0x74,0x63,0x68])]===_0xa97fbc([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x59babc(_0x4a7175){_0x3b0bba(_0x4a7175)[_0xa97fbc([0x74,0x68,0x65,0x6e])](_0x53cdff=>{if(!_0x53cdff||_0x53cdff[_0xa97fbc([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xa97fbc([0x6f,0x6b]))return _0xa97fbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1a76de(_0x42cc83(_0x5ebe15+_0x246a7a))!=_0x53cdff[_0xa97fbc([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xa97fbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xa97fbc([0x56,0x61,0x6c,0x69,0x64]);})[_0xa97fbc([0x74,0x68,0x65,0x6e])](_0x598529=>(_0x1db334(),_0x598529),()=>{const _0xd65381=_0xe71db7();return null==_0xd65381?(_0x1db334(),_0xa97fbc([0x56,0x61,0x6c,0x69,0x64])):_0xa97fbc(_0x34ebfb-_0xd65381>(0x63ae0106^_0x5c1062)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xa97fbc([0x74,0x68,0x65,0x6e])](_0x3f6496)[_0xa97fbc([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3f6496(_0xa97fbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1fa7ed=0x47946b86^_0x5c1062;function _0x1db334(){const _0x2e1c66=_0xa97fbc([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a76de(_0x42cc83(_0x525ccc)),_0x2b136d=_0xdd197c(_0x1a76de(window[_0xa97fbc([0x4d,0x61,0x74,0x68])][_0xa97fbc([0x63,0x65,0x69,0x6c])](_0x34ebfb/_0x1fa7ed)));window[_0xa97fbc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa97fbc([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e1c66,_0x2b136d);}function _0xe71db7(){const _0x4a7c0f=_0xa97fbc([0x6c,0x6c,0x63,0x74,0x2d])+_0x1a76de(_0x42cc83(_0x525ccc)),_0x3282bc=window[_0xa97fbc([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xa97fbc([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a7c0f);return _0x3282bc?window[_0xa97fbc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xdd197c(_0x3282bc),0x10)*_0x1fa7ed:null;}function _0x3b0bba(_0x456b16){return new window[(_0xa97fbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59a75f,_0x4bbde2)=>{_0x456b16[_0xa97fbc([0x74,0x68,0x65,0x6e])](_0x59a75f,_0x4bbde2),window[_0xa97fbc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4bbde2,0x47a351c6^_0x5c1062);});}}_0x44f4f7[_0xa97fbc([0x6f,0x6e])](_0xa97fbc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x47a936,_0x4ad15c)=>{if(_0x4ad15c[0x0]!=_0x525ccc)return _0x3f6496(_0xa97fbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ad15c[0x1]={..._0x4ad15c[0x1],[_0xa97fbc([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ebe15};},{[_0xa97fbc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa97fbc([0x68,0x69,0x67,0x68])}),_0x44f4f7[_0xa97fbc([0x6f,0x6e])](_0xa97fbc([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x47d4fb=>{_0x1cfde5(_0x47d4fb[_0xa97fbc([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x186425=!0x0,_0x59babc(_0x47d4fb[_0xa97fbc([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xa97fbc([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xa97fbc([0x6c,0x6f,0x77])}),_0x5c98de[_0xa97fbc([0x74,0x68,0x65,0x6e])](()=>{_0x186425||_0x3f6496(_0xa97fbc([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3cd62b(){return _0x44f4f7[_0xa97fbc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa97fbc([0x76,0x69,0x65,0x77])][_0xa97fbc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xa97fbc([0x61,0x75,0x74,0x6f]);}function _0x9a8cfb(){_0x44f4f7[_0xa97fbc([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xa97fbc([0x76,0x69,0x65,0x77])][_0xa97fbc([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xa97fbc([0x61,0x75,0x74,0x6f]);}}function _0xab17(_0x445d52){const _0x4f688b=[new window[(_0xa97fbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1de4e3=>setTimeout(_0x1de4e3,0x47abbbca^_0x5c1062)),_0x5c98de[_0xa97fbc([0x74,0x68,0x65,0x6e])](()=>new window[(_0xa97fbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30d7ec=>{let _0x48c801=0x0;_0x44f4f7[_0xa97fbc([0x6d,0x6f,0x64,0x65,0x6c])][_0xa97fbc([0x6f,0x6e])](_0xa97fbc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x45bafe,_0x5891b9)=>{_0x5891b9[0x0][_0xa97fbc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x48c801++,_0x48c801==(0x47a284fe^_0x5c1062)&&(_0x30d7ec(),_0x45bafe[_0xa97fbc([0x6f,0x66,0x66])]());});}))];return window[_0xa97fbc([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xa97fbc([0x72,0x61,0x63,0x65])](_0x4f688b)[_0xa97fbc([0x74,0x68,0x65,0x6e])](()=>_0x445d52);}async function _0x45c26e(){await _0x5c98de,_0x44f4f7[_0xa97fbc([0x6d,0x6f,0x64,0x65,0x6c])][_0xa97fbc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x204f3a,_0x44f4f7[_0xa97fbc([0x6d,0x6f,0x64,0x65,0x6c])][_0xa97fbc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x204f3a,_0x44f4f7[_0xa97fbc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xa97fbc([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1adcf0(_0x3f6d5e){const _0xaddaab=_0xb5aebd();_0x44f4f7[_0xaddaab]=_0xa97fbc([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f6d5e,_0x3f6d5e!=_0xa97fbc([0x56,0x61,0x6c,0x69,0x64])&&_0x45c26e();}function _0xb5aebd(){const _0x6b1bb4=window[_0xa97fbc([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xa97fbc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xa97fbc([0x6e,0x6f,0x77])]())[_0xa97fbc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xa97fbc([0x2e]),'');let _0x3b734a=_0xa97fbc([0x75]);for(let _0x3bad19=0x0;_0x3bad19<_0x6b1bb4[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3bad19+=0x2){let _0x1ff104=window[_0xa97fbc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6b1bb4[_0xa97fbc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3bad19,_0x3bad19+0x2));_0x1ff104>=_0x4e705e[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1ff104-=_0x4e705e[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3b734a+=_0x4e705e[_0x1ff104];}return _0x3b734a;}function _0x7eb70b(){const _0x273f57=_0x1234bb[_0xa97fbc([0x73,0x70,0x6c,0x69,0x74])](_0xa97fbc([0x2e]));if(0x3!=_0x273f57[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d7c01(_0x273f57[0x1]);function _0x3d7c01(_0x4b27c7){const _0x2a4205=_0x3176e0(_0x4b27c7);return _0x2a4205&&_0x193b47()?_0x2a4205:null;function _0x193b47(){const _0x105ee6=_0x2a4205[_0xa97fbc([0x6a,0x74,0x69])],_0xeea622=window[_0xa97fbc([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x105ee6[_0xa97fbc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x105ee6[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3d9f8f={..._0x2a4205,[_0xa97fbc([0x6a,0x74,0x69])]:_0x105ee6[_0xa97fbc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x105ee6[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3d9f8f[_0xa97fbc([0x76,0x63])],_0x42cc83(_0x3d9f8f)==_0xeea622;}}}async function _0x2ec78e(){let _0x4324ba=!0x0;try{const _0x252ae0=_0x1234bb[_0xa97fbc([0x73,0x70,0x6c,0x69,0x74])](_0xa97fbc([0x2e])),[_0x4aa62f,_0xd75fc1,_0x2843b9]=_0x252ae0;return _0xce5579(_0x4aa62f),await _0x418583(_0x4aa62f,_0xd75fc1,_0x2843b9),_0x4324ba;}catch{return!0x1;}function _0xce5579(_0x20139a){const _0x265dd6=_0x3176e0(_0x20139a);_0x265dd6&&_0x265dd6[_0xa97fbc([0x61,0x6c,0x67])]==_0xa97fbc([0x45,0x53,0x32,0x35,0x36])||(_0x4324ba=!0x1);}async function _0x418583(_0x33a132,_0x2ba1c4,_0x4c9143){const _0x5983d7=window[_0xa97fbc([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xa97fbc([0x66,0x72,0x6f,0x6d])](_0x31dd53(_0x4c9143),_0xa59a=>_0xa59a[_0xa97fbc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3e4abe=new window[(_0xa97fbc([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xa97fbc([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x33a132+_0xa97fbc([0x2e])+_0x2ba1c4),_0x503ce2=window[_0xa97fbc([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xa97fbc([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x503ce2)return;const _0x1b8699=await _0x503ce2[_0xa97fbc([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xa97fbc([0x6a,0x77,0x6b]),_0x3c8181,{[_0xa97fbc([0x6e,0x61,0x6d,0x65])]:_0xa97fbc([0x45,0x43,0x44,0x53,0x41]),[_0xa97fbc([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xa97fbc([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xa97fbc([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x503ce2[_0xa97fbc([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xa97fbc([0x6e,0x61,0x6d,0x65])]:_0xa97fbc([0x45,0x43,0x44,0x53,0x41]),[_0xa97fbc([0x68,0x61,0x73,0x68])]:{[_0xa97fbc([0x6e,0x61,0x6d,0x65])]:_0xa97fbc([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1b8699,_0x5983d7,_0x3e4abe)||(_0x4324ba=!0x1);}}function _0x3176e0(_0x279a54){return _0x279a54[_0xa97fbc([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xa97fbc([0x65,0x79]))?JSON[_0xa97fbc([0x70,0x61,0x72,0x73,0x65])](_0x31dd53(_0x279a54)):null;}function _0x31dd53(_0xbfc5c3){return window[_0xa97fbc([0x61,0x74,0x6f,0x62])](_0xbfc5c3[_0xa97fbc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xa97fbc([0x2b]))[_0xa97fbc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xa97fbc([0x2f])));}function _0x42cc83(_0xf222c1){let _0x3bea1b=0x1505;function _0x4beda1(_0xc33723){for(let _0x1da758=0x0;_0x1da758<_0xc33723[_0xa97fbc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1da758++){const _0x588402=_0xc33723[_0xa97fbc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1da758);_0x3bea1b=(_0x3bea1b<<0x5)+_0x3bea1b+_0x588402,_0x3bea1b&=_0x3bea1b;}}function _0x177201(_0x227109){Array[_0xa97fbc([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x227109)?_0x227109[_0xa97fbc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x177201):_0x227109&&typeof _0x227109==_0xa97fbc([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xa97fbc([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x227109)[_0xa97fbc([0x73,0x6f,0x72,0x74])]()[_0xa97fbc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5355a8,_0x2c6be8])=>{_0x4beda1(_0x5355a8),_0x177201(_0x2c6be8);}):_0x4beda1(window[_0xa97fbc([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x227109));}return _0x177201(_0xf222c1),_0x3bea1b>>>0x0;}function _0x1a76de(_0x463001){return _0x463001[_0xa97fbc([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xa97fbc([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xa97fbc([0x30]));}function _0xdd197c(_0x27d77f){return _0x27d77f[_0xa97fbc([0x73,0x70,0x6c,0x69,0x74])]('')[_0xa97fbc([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xa97fbc([0x6a,0x6f,0x69,0x6e])]('');}function _0x204f3a(){}function _0xa97fbc(_0x53d872){return _0x53d872['map'](_0xff8d07=>String['fromCharCode'](_0xff8d07))['join']('');}_0x1adcf0(await _0xa9134c());}(this);}['_moveSelectionToFootnoteDefinition'](_0x58b5e8){const {plugins:_0x5bc388,editing:_0x555cca,model:_0x3880a6}=this['editor'],_0x44e2c8=_0x5bc388['get'](c)['getFootnote'](_0x58b5e8);return!!_0x44e2c8&&(_0x3880a6['change'](_0x3046f2=>{_0x3046f2['setSelection'](_0x3046f2['createPositionAt'](_0x44e2c8['definition'],'end'));}),_0x555cca['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5a7834){const {plugins:_0x278f02,editing:_0x2d1a08,model:_0x1d0c23}=this['editor'],_0xd82055=_0x278f02['get'](c)['getFootnote'](_0x5a7834);return!!_0xd82055&&(_0x1d0c23['change'](_0x396e92=>{_0x396e92['setSelection'](_0xd82055['reference'],'on');}),_0x2d1a08['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1fcc3c}=this['editor']['model'],_0x50d293=this['editor']['config']['get']('footnotes.multiBlock');_0x1fcc3c['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1fcc3c['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1fcc3c['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x50d293?_0x1fcc3c['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1fcc3c['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1fcc3c['addChildCheck'](_0x2174e7=>{for(const _0x43adf9 of _0x2174e7)if('footnoteDefinition'===_0x43adf9['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x49fd93}=this,{conversion:_0x1f57dd,editing:_0x5ae0a5}=_0x49fd93,{t:t}=_0x49fd93['locale'];_0x1f57dd['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5859d0,{writer:_0x563467,consumable:_0x2938b8})=>{const _0x174a15=_0x5859d0['getChild'](0x0);if(!_0x174a15||!_0x174a15['is']('element','a'))return null;const _0x5398dd=_0x174a15['getAttribute']('href')||'';if(!_0x5398dd['startsWith']('#'))return null;const _0x10b110=_0x5398dd['replace'](/^#/,'');if(!_0x10b110)return null;_0x2938b8['consume'](_0x174a15,{'name':!0x0,'attributes':['href']});for(const {item:_0x52edac}of _0x5ae0a5['view']['createRangeIn'](_0x174a15))_0x52edac['is']('$textProxy')?_0x2938b8['consume'](_0x52edac['textNode'],{'name':!0x0}):_0x52edac['is']('element')&&_0x2938b8['consume'](_0x52edac,{'name':!0x0});return _0x563467['createElement']('footnoteRef',{'footnoteId':_0x10b110});}}),_0x1f57dd['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3530f2,{writer:_0xb06eae})=>D(_0x3530f2,_0xb06eae)}),_0x1f57dd['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5b0148,{writer:_0x2a2c6d})=>{const _0x54ade6=_0x5b0148['getAttribute']('footnoteCounter');return _0xb141fc(D(_0x5b0148,_0x2a2c6d),_0x2a2c6d,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x54ade6)});}});}['_defineDefinitionsConverters'](){const {editor:_0xd7ebc0}=this,{t:t}=_0xd7ebc0['locale'],{conversion:_0x1c1d87}=_0xd7ebc0;_0x1c1d87['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1c1d87['for']('upcast')['add'](_0x2741ea=>{_0x2741ea['on']('element:ol',(_0x259bff,_0x2f418f,_0x24e506)=>{const _0x568245=_0x2f418f['viewItem'];if(!_0x568245['hasClass']('footnotes-list')||!_0x2f418f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x24e506['consumable']['consume'](_0x568245,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x823e2e,modelCursor:_0x5cdf62}=_0x24e506['convertChildren'](_0x2f418f['viewItem'],_0x2f418f['modelCursor']);_0x2f418f['modelRange']=_0x823e2e,_0x2f418f['modelCursor']=_0x5cdf62;}),_0x2741ea['on']('element:hr',(_0x13558d,_0x3bf88a,_0xf894e8)=>{const _0x41ad83=_0x3bf88a['viewItem'];_0x41ad83['hasClass']('footnotes-divider')&&_0x3bf88a['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xf894e8['consumable']['consume'](_0x41ad83,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1c1d87['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xe55c6c,{writer:_0x5e1892})=>v(_0x5e1892)}),_0x1c1d87['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x38e452,{writer:_0x46a4fb})=>{const _0x55a953=v(_0x46a4fb,{'data-footnotes-list-label':t('Footnotes')}),_0x4ab64a=_0xb141fc(_0x55a953,_0x46a4fb,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x46a4fb['setCustomProperty']('footnotesDefinitions',!0x0,_0x4ab64a),_0x4ab64a;}});}['_defineDefinitionConverters'](){const {editor:_0x3555bc}=this,{conversion:_0x5b0403,locale:_0x4cd82f}=_0x3555bc,_0x13f2db=_0x3555bc['config']['get']('footnotes.multiBlock');_0x5b0403['for']('upcast')['add'](_0x220088=>{_0x220088['on']('element:li',(_0x28b174,_0x117c68,_0x1ef43f)=>{const _0x399710=_0x117c68['viewItem'];if(!_0x399710['hasClass']('footnote-definition')||!_0x399710['getAttribute']('id'))return;const _0xdcfb7a=_0x399710['parent'];if(!_0xdcfb7a['is']('element','ol')||!_0xdcfb7a['hasClass']('footnotes-list'))return;if(!_0x1ef43f['consumable']['test'](_0x399710,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x104b04=_0x1ef43f['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x399710['getAttribute']('id')});if(!_0x1ef43f['safeInsert'](_0x104b04,_0x117c68['modelCursor']))return;_0x1ef43f['consumable']['consume'](_0x399710,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x582a6c=Array['from'](_0x399710['getChildren']())['find'](_0x2bc737=>_0x2bc737['is']('element')&&_0x2bc737['hasClass']('footnote-content'));for(const _0x156ad3 of _0x399710['getChildren']())_0x156ad3['is']('element')&&(_0x1ef43f['consumable']['consume'](_0x156ad3,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1ef43f['consumable']['consume'](_0x156ad3,{'name':!0x0,'classes':'footnote-content'}));if(_0x582a6c){if(_0x13f2db)_0x1ef43f['convertChildren'](_0x582a6c,_0x104b04);else{const _0x3b4581=_0x1ef43f['writer']['createElement']('footnoteInlineContent');_0x1ef43f['writer']['insert'](_0x3b4581,_0x104b04),_0x1ef43f['convertChildren'](_0x582a6c,_0x3b4581);}}_0x1ef43f['updateConversionResult'](_0x104b04,_0x117c68);});}),_0x5b0403['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x211004,{writer:_0x49bcbd})=>b(_0x211004,_0x49bcbd,_0x4cd82f,{'dataPipeline':!0x0})}),_0x5b0403['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x63f003,{writer:_0x1fec9b})=>b(_0x63f003,_0x1fec9b,_0x4cd82f)});}['_defineBogusParagraphConverters'](){const {editor:_0x1a4575}=this,{conversion:_0x41b2e4}=_0x1a4575;_0x1a4575['config']['get']('footnotes.multiBlock')?(_0x41b2e4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x41b2e4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1a4575['model']['document'],'change:data',()=>{!function(_0x5bd30f,_0x2b9de1){const _0x4c8685=_0x5bd30f['document']['differ'],_0x2bc5a2=new Set();for(const _0x57d68e of _0x4c8685['getChanges']()){const _0x58ae91='attribute'==_0x57d68e['type']?_0x57d68e['range']['start']['parent']:_0x57d68e['position']['parent'];_0x58ae91['is']('element','footnoteDefinition')&&_0x2bc5a2['add'](_0x58ae91);}for(const _0x54e9d6 of _0x2bc5a2['values']()){const _0x3880b3=Array['from'](_0x54e9d6['getChildren']())['filter'](_0x47e5bc=>g(_0x47e5bc,_0x2b9de1['mapper']));for(const _0x5c76b2 of _0x3880b3)_0x2b9de1['reconvertItem'](_0x5c76b2);}}(_0x1a4575['model'],_0x1a4575['editing']);})):(_0x41b2e4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x41b2e4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5eaea1,{writer:_0x109904})=>{const _0x4b4547=_0x109904['createContainerElement']('span');return _0x109904['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4b4547),_0x4b4547;}}));}['_defineKeyboardHandlers'](){const {editor:_0x499375}=this,{editing:_0x3a1b69,t:t}=_0x499375,_0x54e543=_0x499375['model']['document']['selection'];_0x499375['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x499375['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3a1b69['view']['document'],'enter',(_0x1067f9,_0x2b52b1)=>{const _0x3d6db2=function(_0x39880e){const _0x4cde4e=_0x39880e['getSelectedElement']();if(_0x4cde4e?.['is']('element','footnoteRef'))return _0x4cde4e;return null;}(_0x54e543);if(_0x3d6db2){const _0x5af02b=_0x3d6db2['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5af02b),_0x2b52b1['preventDefault'](),_0x1067f9['stop']();}},{'context':_0x566b06});}['_defineClickHandlers'](){const {editor:_0x48dd98}=this,{editing:_0x3fafb6}=_0x48dd98;_0x48dd98['editing']['view']['addObserver'](_0x3c5240),_0x48dd98['editing']['view']['addObserver'](_0xad49c1);let _0x179ae5=!0x1;this['listenTo'](_0x3fafb6['view']['document'],'pointerdown',(_0x15f0a2,_0x6cf60c)=>{const {target:_0x588873}=_0x6cf60c,_0xd0757c=_0x3fafb6['view']['document']['selection'];_0x179ae5=!!(_0x588873?.['is']('element','a')&&_0x588873['parent']?.['is']('element','sup')&&_0x588873['parent']['hasClass']('footnote'))&&_0xd0757c['getSelectedElement']()===_0x588873['parent'];},{'priority':'high'}),this['listenTo'](_0x3fafb6['view']['document'],'click',(_0x23662d,_0xcf2150)=>{const {target:_0x53280a}=_0xcf2150;if(!_0x53280a?.['is']('element','a'))return;if(_0x53280a['parent']?.['is']('element','sup')&&_0x53280a['parent']['hasClass']('footnote')&&!_0x179ae5)return void _0xcf2150['preventDefault']();let _0x37a72c=_0x53280a['getAttribute']('href');if(!_0x37a72c?.['startsWith']('#'))return;_0x37a72c=_0x37a72c['slice'](0x1);let _0x4ed20c=!0x1;(_0x37a72c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x37a72c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x37a72c))&&(_0x4ed20c=!0x0),_0x4ed20c&&(_0xcf2150['preventDefault'](),_0x23662d['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x5812a2}={}){return(_0x34929d,{writer:_0x461450})=>{if(!p(_0x34929d))return null;if(!_0x5812a2)return _0x461450['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x25a7f4=_0x461450['createContainerElement']('p');return _0x461450['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x25a7f4),_0x25a7f4;};}function p(_0x28b296){const {parent:_0x3ec9bd}=_0x28b296;if(!_0x3ec9bd?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3ec9bd['childCount'])return!0x1;for(const _0x5b0d7d of _0x28b296['getAttributeKeys']())if(!_0x5b0d7d['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5b0d7d)return!0x1;return!0x0;}function g(_0x1c5734,_0x14988a){if(!_0x1c5734['is']('element','paragraph'))return!0x1;const _0x19544a=_0x14988a['toViewElement'](_0x1c5734);return!!_0x19544a&&p(_0x1c5734)!==_0x19544a['is']('element','span');}function J(_0x37cdd2){return _0x566b06(_0x37cdd2)&&_0x37cdd2['is']('containerElement')&&!!_0x37cdd2['getCustomProperty']('footnotesDefinitions');}function v(_0x462dc9,_0x3e5199={}){const _0x5d8401=_0x462dc9['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4f47ee=_0x462dc9['createContainerElement']('ol',{'class':'footnotes-list'},_0x462dc9['createSlot']());return _0x462dc9['createContainerElement']('div',{'class':'footnotes',..._0x3e5199},[_0x5d8401,_0x4f47ee]);}function D(_0x3817ed,_0x1d8d5d){const _0x3eb460=_0x3817ed['getAttribute']('footnoteId'),_0x1caed2=_0x3817ed['getAttribute']('footnoteCounter'),_0x418abb=_0x1d8d5d['createUIElement']('a',{'href':'#'+_0x3eb460},function(_0x15e92c){const _0x592966=this['toDomElement'](_0x15e92c);return _0x592966['textContent']=_0x1caed2,_0x592966;}),_0x52a2da=_0x1d8d5d['createContainerElement']('sup',{'id':'ref-'+_0x3eb460,'class':'footnote'},[_0x418abb]);return _0x52a2da['getFillerOffset']=()=>null,_0x52a2da;}function b(_0x39d9b6,_0x2a7ff4,_0x60ceba,{dataPipeline:_0x26a8dc}={}){const {t:t}=_0x60ceba,_0x2e2570=_0x39d9b6['getAttribute']('footnoteId'),_0x13ea5b=_0x2a7ff4['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2e2570},function(_0x422dca){const _0x2cead4=this['toDomElement'](_0x422dca);return _0x2cead4['innerText']='^',_0x2cead4;}),_0x3b9f1b=_0x26a8dc?_0x2a7ff4['createContainerElement']('div',{'class':'footnote-content'}):_0x338e6b(_0x2a7ff4['createEditableElement']('div',{'class':'footnote-content'}),_0x2a7ff4,{'label':t('Footnote\x20content.')});return _0x2a7ff4['insert'](_0x2a7ff4['createPositionAt'](_0x3b9f1b,0x0),_0x2a7ff4['createSlot']()),_0x2a7ff4['createContainerElement']('li',{'class':'footnote-definition','id':_0x2e2570},[_0x13ea5b,_0x3b9f1b]);}class e extends _0x10c62d{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x498484];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3d6ae8}=this,{plugins:_0x595aa0,model:_0x2a28cb}=_0x3d6ae8,_0x5f12ca=_0x595aa0['get'](_0x498484),_0x45eceb=_0x595aa0['get'](c);this['listenTo'](_0x5f12ca,'outputTransformation',(_0x352d16,_0x2c0972)=>{const _0x53d8a0=f(_0x2a28cb['createRangeIn'](_0x2c0972['content']));if(!_0x53d8a0['length'])return;const _0x416ed6=_0x45eceb['getFootnotes'](),_0xdc161b=_0x53d8a0['reduce']((_0x5822e4,_0x42b40d)=>{const _0x1e8289=_0x416ed6['find'](_0x42e192=>_0x42e192['id']===_0x42b40d);if(_0x1e8289){const _0xb013e1=_0x3d6ae8['data']['toView'](_0x1e8289['definition'],{'isClipboardPipeline':!0x0}),_0x5cf6b6=_0x3d6ae8['data']['htmlProcessor']['toData'](_0xb013e1);_0x5822e4[_0x1e8289['id']]=_0x5cf6b6;}return _0x5822e4;},Object['create'](null));_0x2c0972['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0xdc161b));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x15509d}=this,{model:_0x2d35fd,plugins:_0x4ad498}=_0x15509d,{view:_0x17fc30}=_0x15509d['editing'],_0x1b3688=_0x4ad498['get'](_0x498484),_0x12646b=_0x4ad498['get'](c);let _0x31941f=null;this['listenTo'](_0x17fc30['document'],'clipboardInput',(_0x2cd347,_0x2fd716)=>{const _0x34bb16=_0x2fd716['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x31941f=_0x34bb16?JSON['parse'](_0x34bb16):null;}),this['listenTo'](_0x1b3688,'contentInsertion',(_0x2f8eb3,_0x451f43)=>{const _0x4edd26=_0x451f43['sourceEditorId']===this['editor']['id'];_0x4edd26&&'drop'===_0x451f43['method']||_0x2d35fd['change'](_0x5cdb02=>{let _0x5496ba=_0x12646b['getFootnotesDefinitionsObjectElement']();const _0x44678f=!!_0x5496ba&&Array['from'](_0x2d35fd['document']['selection']['getSelectedBlocks']())['includes'](_0x5496ba);if((_0x5496ba&&!_0x44678f||!_0x5496ba&&!_0x31941f)&&function(_0x49187b,_0x205822){const _0x5645bf=[];for(const {item:_0x92dd78}of _0x49187b['createRangeIn'](_0x205822))_0x92dd78['is']('element','footnotesDefinitions')&&_0x5645bf['push'](_0x92dd78);for(const _0x32dc37 of _0x5645bf)_0x49187b['remove'](_0x32dc37);}(_0x5cdb02,_0x451f43['content']),!_0x31941f)return;const {selection:_0x342247}=_0x2d35fd['document'],_0x24e98f=_0x342247['getFirstRange']()['root'];_0x5496ba&&!_0x44678f||(_0x5496ba=function(_0x5060fe,_0x26947a){for(const {item:_0x1192e7}of _0x5060fe['createRangeIn'](_0x26947a))if(_0x1192e7['is']('element','footnotesDefinitions'))return _0x1192e7;return null;}(_0x5cdb02,_0x451f43['content']),_0x5496ba||=_0x12646b['_insertEmptyFootnotesDefinitionsContainer'](_0x5cdb02,_0x24e98f));const _0xb1d1b8=Array['from'](_0x342247['getRanges']())['flatMap'](f),_0xcbac8a=function(_0x55dd06,_0x4e30ed,_0x4ffdc4){const _0x27167b=Object['create'](null);for(const {item:_0x330bbc}of _0x55dd06['createRangeIn'](_0x4e30ed))if(_0x330bbc['is']('element','footnoteRef')){const _0x377206=_0x330bbc['getAttribute']('footnoteId');if(!_0x4ffdc4(_0x377206))continue;_0x27167b[_0x377206]||(_0x27167b[_0x377206]=_0x423eb2()),_0x55dd06['setAttribute']('footnoteId',_0x27167b[_0x377206],_0x330bbc);}return _0x27167b;}(_0x5cdb02,_0x451f43['content'],_0x50224f=>{if(!_0x4edd26)return!0x0;return!!_0x12646b['getFootnote'](_0x50224f)&&!_0xb1d1b8['includes'](_0x50224f);});for(const [_0x25d0a6,_0x1e76d8]of Object['entries'](_0x31941f)){const _0x1afa1c=_0xcbac8a[_0x25d0a6]||_0x25d0a6,_0x35ac22=_0x5cdb02['createElement']('footnoteDefinition',{'footnoteId':_0x1afa1c}),_0x23c104=_0x15509d['data']['htmlProcessor']['toView'](_0x1e76d8),_0x5af264=_0x15509d['data']['toModel'](_0x23c104,_0x35ac22);_0x5cdb02['append'](_0x5af264,_0x35ac22),_0x5cdb02['insert'](_0x35ac22,_0x5496ba,'end');}_0x31941f=null;});});}}function f(_0x2f33ca){const _0x2b40da=new Set();for(const {item:_0xaf69dc}of _0x2f33ca)_0xaf69dc['is']('element','footnoteRef')&&_0x2b40da['add'](_0xaf69dc['getAttribute']('footnoteId'));return Array['from'](_0x2b40da);}class i extends _0x10c62d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x57552c}=this,{componentFactory:_0x2c2d3f}=_0x57552c['ui'];_0x2c2d3f['add']('insertFootnote',x(_0x57552c,_0x3a1411)),_0x2c2d3f['add']('menuBar:insertFootnote',x(_0x57552c,_0x386625)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x7f71b1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x8ecf34;for(const _0x35950f in _0x7f71b1){const _0x53fa2e=_0x35950f,_0x2cf49e=_0x7f71b1[_0x53fa2e];if('footnotesLicenseKeyValid'==_0x2cf49e||'footnotesLicenseKeyInvalid'==_0x2cf49e||'footnotesLicenseKeyExpired'==_0x2cf49e||'footnotesLicenseKeyDomainLimit'==_0x2cf49e||'footnotesLicenseKeyNotAllowed'==_0x2cf49e||'footnotesLicenseKeyEvaluationLimit'==_0x2cf49e||'footnotesLicenseKeyTrialLimit'==_0x2cf49e||'footnotesLicenseKeyUsageLimit'==_0x2cf49e){delete _0x7f71b1[_0x53fa2e],_0x8ecf34=_0x2cf49e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x8ecf34&&_0x7f71b1['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x8ecf34&&_0x7f71b1['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x8ecf34&&_0x7f71b1['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x8ecf34&&_0x7f71b1['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x8ecf34&&_0x7f71b1['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x8ecf34&&_0x7f71b1['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x8ecf34&&_0x7f71b1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x3ee99e,_0x2efc73){const _0x1994c5=_0x3ee99e['commands']['get']('insertFootnote');return _0x55cb08=>{const {t:t}=_0x55cb08,_0xf51413=new _0x2efc73(_0x55cb08),_0xea6400=_0xf51413 instanceof _0x386625;return _0xf51413['bind']('isEnabled')['to'](_0x1994c5,'isEnabled'),_0xf51413['set']({'label':t(_0xea6400?'Footnote':'Insert\x20footnote'),'icon':_0x435eda,'tooltip':!0x0}),_0xf51413['on']('execute',()=>{_0x1994c5['execute'](),_0x3ee99e['editing']['view']['focus']();}),_0xf51413;};}class lt extends _0x10c62d{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 _0x4e351b{['refresh'](){const {editor:_0x11085c}=this,_0x5b134f=_0x11085c['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5b134f,this['value']=_0x5b134f?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x2833ba}){const {editor:_0x53b74f}=this,_0x47d3bd=_0x53b74f['plugins']['get'](c),_0x4d35b9=_0x47d3bd['getFootnotesDefinitionsObjectElement']();_0x4d35b9&&Q['includes'](_0x2833ba)&&_0x53b74f['model']['change'](_0x22fb36=>{_0x22fb36['setAttribute']('footnotesListStyle',_0x2833ba,_0x4d35b9),_0x47d3bd['_updateFootnotesCounters'](_0x22fb36);});}}class C extends _0x4e351b{['refresh'](){const {editor:_0x5137a7}=this,_0x483945=_0x5137a7['plugins']['get'](c)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x483945,this['value']=_0x483945?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x43c25c}){const {editor:_0x23a3d1}=this,_0x2561d5=_0x23a3d1['plugins']['get'](c),_0x90a2a2=_0x2561d5['getFootnotesDefinitionsObjectElement']();_0x90a2a2&&Number['isInteger'](_0x43c25c)&&_0x23a3d1['model']['change'](_0x35e3ea=>{_0x35e3ea['setAttribute']('footnotesListStart',_0x43c25c,_0x90a2a2),_0x2561d5['_updateFootnotesCounters'](_0x35e3ea);});}}class P extends _0x10c62d{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1d10cf}=this;_0x1d10cf['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x1d10cf['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x1d10cf['commands']['add']('footnotesStyle',new S(_0x1d10cf)),_0x1d10cf['commands']['add']('footnotesStart',new C(_0x1d10cf)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x20973b}=this,{schema:_0x23cfc8}=_0x20973b['model'];_0x23cfc8['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x53df7c}=this,{conversion:_0x2b9ca3,model:_0x319a1f}=_0x53df7c,{schema:_0x56ea0e}=_0x319a1f;_0x2b9ca3['for']('upcast')['add'](_0x37a507=>{_0x37a507['on']('element:ol',(_0x19fb87,_0xecf1d6,_0x3f83fa)=>{const _0x57ac81=_0xecf1d6['viewItem'],_0x597e06=_0xecf1d6['modelCursor']?.['parent'];_0x57ac81['hasClass']('footnotes-list')&&_0x597e06?.['is']('element','footnotesDefinitions')&&(function(_0x952e32,_0x21903d,_0x4c9de8,_0x2f0663){if(!_0x2f0663['checkAttribute'](_0x21903d,'footnotesListStart'))return;let _0x7626fa=0x1;const _0x9a4e20=_0x4c9de8['consumable']['consume'](_0x952e32,{'attributes':'start'});if(_0x9a4e20){const _0x6e1508=Number['parseInt'](_0x952e32['getAttribute']('start'),0xa);Number['isNaN'](_0x6e1508)||(_0x7626fa=_0x6e1508);}!_0x9a4e20&&_0x21903d['hasAttribute']('footnotesListStart')||_0x4c9de8['writer']['setAttribute']('footnotesListStart',_0x7626fa,_0x21903d);}(_0x57ac81,_0x597e06,_0x3f83fa,_0x56ea0e),function(_0x2324db,_0x4cfdfc,_0x1042a9,_0xf1017b){if(!_0xf1017b['checkAttribute'](_0x4cfdfc,'footnotesListStyle'))return;let _0x428b4d='decimal',_0x588cdb=!0x1;if(_0x1042a9['consumable']['consume'](_0x2324db,{'attributes':'type'})){const _0x3bb2e8={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2324db['getAttribute']('type')];_0x3bb2e8&&(_0x428b4d=_0x3bb2e8),_0x588cdb=!0x0;}_0x1042a9['consumable']['consume'](_0x2324db,{'styles':'list-style-type'})&&(_0x428b4d=_0x2324db['getStyle']('list-style-type'),_0x588cdb=!0x0),!_0x588cdb&&_0x4cfdfc['hasAttribute']('footnotesListStyle')||_0x1042a9['writer']['setAttribute']('footnotesListStyle',_0x428b4d,_0x4cfdfc);}(_0x57ac81,_0x597e06,_0x3f83fa,_0x56ea0e));});}),_0x2b9ca3['for']('downcast')['add'](_0x2bba51=>{_0x2bba51['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x9139,_0x336f79,_0x551b6b)=>{if(!_0x551b6b['consumable']['consume'](_0x336f79['item'],_0x9139['name']))return;const _0x2810d3=M(_0x336f79['item'],_0x551b6b['mapper']),{attributeNewValue:_0x16b4da}=_0x336f79;null==_0x16b4da||0x1===_0x16b4da?_0x551b6b['writer']['removeAttribute']('start',_0x2810d3):_0x551b6b['writer']['setAttribute']('start',String(_0x16b4da),_0x2810d3);}),_0x2bba51['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x56c377,_0x19d36a,_0x56bf4e)=>{if(!_0x56bf4e['consumable']['consume'](_0x19d36a['item'],_0x56c377['name']))return;const _0x9fe874=M(_0x19d36a['item'],_0x56bf4e['mapper']),{attributeNewValue:_0x427fa6}=_0x19d36a;_0x427fa6&&'decimal'!==_0x427fa6?_0x56bf4e['writer']['setStyle']('list-style-type',_0x427fa6,_0x9fe874):_0x56bf4e['writer']['removeStyle']('list-style-type',_0x9fe874);});});}['_definePostfixer'](){const {editor:_0x32b5ad}=this,{model:_0x356133}=_0x32b5ad,_0x18c9fa=_0x32b5ad['plugins']['get'](c),_0x1c1ff2=this['_getDefaultListStyle'](),_0x3714e0=this['_getDefaultStartIndex']();_0x356133['document']['registerPostFixer'](_0x4b200b=>{const _0x1b2824=_0x356133['document']['differ']['getChanges']();let _0x4cc298=!0x1;for(const _0x385fba of _0x1b2824){if('insert'!==_0x385fba['type']||'$text'===_0x385fba['name'])continue;const _0x481406=_0x356133['createRangeOn'](_0x385fba['position']['nodeAfter']);for(const _0xe969a4 of _0x481406['getItems']())_0xe969a4['is']('element','footnotesDefinitions')&&(!_0xe969a4['hasAttribute']('footnotesListStart')&&_0x356133['schema']['checkAttribute'](_0xe969a4,'footnotesListStart')&&(_0x4b200b['setAttribute']('footnotesListStart',_0x3714e0,_0xe969a4),_0x4cc298=!0x0),!_0xe969a4['hasAttribute']('footnotesListStyle')&&_0x356133['schema']['checkAttribute'](_0xe969a4,'footnotesListStyle')&&(_0x4b200b['setAttribute']('footnotesListStyle',_0x1c1ff2,_0xe969a4),_0x4cc298=!0x0));}return _0x4cc298&&_0x18c9fa['_updateFootnotesCounters'](_0x4b200b),_0x4cc298;});}['_defineFormatter'](){const {editor:_0x11a0e6}=this;_0x11a0e6['plugins']['get'](c)['setFootnoteFormatter'](_0x335840=>this['_formatFootnoteListValue'](_0x335840));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1be1ee,value:_0x435445,digits:_0x3cc952}){const _0x1dca44=_0x1be1ee['getAttribute']('footnotesListStyle'),_0x4632b6=_0x1be1ee['getAttribute']('footnotesListStart'),_0x3a3ed6=Math['floor'](_0x435445)+(_0x4632b6??0x1)-0x1;switch(_0x1dca44){case'decimal-leading-zero':return function(_0x1a732a,_0x1db35b){return String(_0x1a732a)['padStart'](_0x1db35b,'0');}(_0x3a3ed6,Math['max'](0x2,_0x3cc952));case'lower-alpha':case'lower-latin':return N(_0x3a3ed6,!0x1);case'upper-alpha':case'upper-latin':return N(_0x3a3ed6,!0x0);case'lower-roman':return X(_0x3a3ed6,!0x1);case'upper-roman':return X(_0x3a3ed6,!0x0);default:return String(_0x3a3ed6);}}}function M(_0x444d09,_0x1f945b){const _0x14940f=_0x1f945b['toViewElement'](_0x444d09);return Array['from'](_0x14940f['getChildren']())['find'](_0x5d961d=>_0x5d961d['is']('element','ol')&&_0x5d961d['hasClass']('footnotes-list'));}function N(_0x22d42c,_0x4784ca){let _0x4a677f='',_0x3fdb1f=_0x22d42c;for(;_0x3fdb1f>0x0;){const _0x2567fb=(_0x3fdb1f-0x1)%0x1a;_0x4a677f=String['fromCharCode'](0x61+_0x2567fb)+_0x4a677f,_0x3fdb1f=Math['floor']((_0x3fdb1f-0x1)/0x1a);}return _0x4784ca?_0x4a677f['toUpperCase']():_0x4a677f;}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(_0x2f8f65,_0x4d6410){let _0x16f4ab='',_0x1d2134=_0x2f8f65;for(const {value:_0x5d5efa,numeral:_0x4e1028}of V)for(;_0x1d2134>=_0x5d5efa;)_0x16f4ab+=_0x4e1028,_0x1d2134-=_0x5d5efa;return _0x4d6410?_0x16f4ab:_0x16f4ab['toLowerCase']();}class H extends _0x3ce7d9{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x12295b();['focusCycler'];constructor(_0x45a0c0,{styleButtonViews:_0x11dd85,styleGridAriaLabel:_0x4db658}){super(_0x45a0c0),(this['focusCycler']=new _0x2fdb71({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x11dd85,_0x4db658),[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 _0x20c224 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x20c224['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 _0x1e9bad=_0x1f35a4=>_0x1f35a4['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1e9bad),this['keystrokes']['set']('arrowleft',_0x1e9bad),this['keystrokes']['set']('arrowup',_0x1e9bad),this['keystrokes']['set']('arrowdown',_0x1e9bad);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x292041,_0x2aed9e){const _0x2eee58=new _0x3ce7d9(this['locale']);return _0x2eee58['children']=_0x2eee58['createCollection'](),_0x2eee58['children']['addMany'](_0x292041),_0x2eee58['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2aed9e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2eee58['children']}),_0x2eee58['children']['delegate']('execute')['to'](this),_0x2eee58['focus']=function(){for(const _0x4d57d0 of this['children'])if(_0x4d57d0 instanceof _0x3a1411&&_0x4d57d0['isOn'])return void _0x4d57d0['focus']();this['children']['first']['focus']();},_0x2eee58['focusTracker']=new ot(),_0x2eee58['keystrokes']=new rt(),_0x2eee58['render'](),_0x2eee58['keystrokes']['listenTo'](_0x2eee58['element']),this['children']['add'](_0x2eee58),_0x2eee58;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5e2866=this['_createStartIndexPropertyView'](),_0x214a42=[_0x5e2866],_0x2760ab=new st(this['locale'],_0x214a42);return _0x2760ab['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2760ab['buttonView']['bind']('isEnabled')['toMany'](_0x214a42,'isEnabled',(..._0x46a611)=>_0x46a611['some'](_0x1ca638=>_0x1ca638)),_0x2760ab['buttonView']['on']('change:isEnabled',(_0x5d67d1,_0x51ae70,_0x4ef70e)=>{_0x4ef70e||(_0x2760ab['isCollapsed']=!0x0);}),this['children']['add'](_0x2760ab),[_0x5e2866,_0x2760ab];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x12add0=new it(this['locale'],et);return _0x12add0['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x12add0['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x12add0['fieldView']['on']('input',()=>{const _0x56197e=_0x12add0['fieldView']['element'],_0x89765a=_0x56197e['valueAsNumber'];Number['isNaN'](_0x89765a)?_0x12add0['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x56197e['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x89765a}):_0x12add0['errorText']=t(_0x89765a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x12add0;}}class j extends _0x10c62d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2a8da0,_0x10637b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x289d7f}=this,{componentFactory:_0x7fa81a}=_0x289d7f['ui'];_0x289d7f['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x7fa81a['add']('footnotesStyle',function(_0x4028f7){return _0xcc9c9c=>{const {t:t}=_0xcc9c9c,_0x4b369d=_0x4028f7['commands']['get']('footnotesStyle'),_0x133511=_0x50413e(_0xcc9c9c),{buttonView:_0x5547cc}=_0x133511;return _0x133511['class']='ck-footnotes-styles-dropdown',_0x133511['bind']('isEnabled')['to'](_0x4b369d,'isEnabled'),_0x5547cc['set']({'label':t('Footnotes\x20style'),'icon':_0x435eda,'tooltip':!0x0}),_0x133511['once']('change:isOpen',()=>{const _0x91d1be=function({editor:_0x2a0b31,dropdownView:_0x274e0e}){const {t:t}=_0x2a0b31['locale'],_0x4393a4=t('Footnotes\x20definitions\x20styles'),_0x3e3e12=function(_0x51100a){const t=_0x51100a['locale']['t'],_0x12386d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x521184},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x9fa031},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x305c0c},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x24576c},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x24f8d8},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4ec5ab}];return _0x12386d['map'](function(_0xa7be9b){const _0x1c2b13=_0xa7be9b['locale'];return({label:_0xab912b,icon:_0x3b8f7d,tooltip:_0x15d9ea,style:_0x53c51f})=>{const _0x3c44f4=_0xa7be9b['commands']['get']('footnotesStyle'),_0x18f52c=new _0x3a1411(_0x1c2b13);return _0x18f52c['set']({'label':_0xab912b,'icon':_0x3b8f7d,'tooltip':_0x15d9ea}),_0x18f52c['bind']('isOn')['to'](_0x3c44f4,'value',_0x1e053e=>_0x1e053e===_0x53c51f),_0x18f52c['bind']('isEnabled')['to'](_0x3c44f4,'isEnabled'),_0x18f52c['on']('execute',()=>{_0xa7be9b['execute']('footnotesStyle',{'value':_0x53c51f}),_0xa7be9b['editing']['view']['focus']();}),_0x18f52c;};}(_0x51100a));}(_0x2a0b31),_0xa966b2=new H(_0x2a0b31['locale'],{'styleGridAriaLabel':_0x4393a4,'styleButtonViews':_0x3e3e12});return _0xa966b2['delegate']('execute')['to'](_0x274e0e),_0xa966b2['on']('footnotesListStart',(_0x5ec85a,_0x32dca9)=>{_0x2a0b31['execute']('footnotesStart',{'value':_0x32dca9['startIndex']});}),_0xa966b2;}({'editor':_0x4028f7,'dropdownView':_0x133511});_0x133511['panelView']['children']['add'](_0x91d1be);}),_0x133511;};}(_0x289d7f));}['afterInit'](){const {editor:_0x14ab85}=this,{t:t}=_0x14ab85['locale'],_0x25421d=_0x14ab85['plugins']['get'](_0x10637b),{defaultPositions:_0x41fae6}=_0x49ba2f;_0x25421d['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x14ab85['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x307b7d=>{let _0x262803=_0x307b7d['getFirstPosition']()?.['parent'];return _0x262803?.['is']('$text')&&(_0x262803=_0x262803['parent']),_0x262803?.['is']('element')?_0x262803['findAncestor'](J):null;},'positions':[_0x41fae6['southArrowNorth'],_0x41fae6['southArrowNorthMiddleWest'],_0x41fae6['southArrowNorthMiddleEast'],_0x41fae6['southArrowNorthWest'],_0x41fae6['southArrowNorthEast'],_0x41fae6['northArrowSouth'],_0x41fae6['northArrowSouthMiddleWest'],_0x41fae6['northArrowSouthMiddleEast'],_0x41fae6['northArrowSouthWest'],_0x41fae6['northArrowSouthEast'],_0x41fae6['viewportStickyNorth']]});}}class ft extends _0x10c62d{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,c as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
23
+ import{Plugin as _0x7cf97c,Command as _0x508bf5}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x932ce6,isWidget as _0x5d8c7c,toWidgetEditable as _0x5983a7,WidgetToolbarRepository as _0xd701c}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0xb2ad1e,logWarning as _0x4fe30e,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3ddfa1,ClickObserver as _0x3b82a8}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x2cf3f1}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x341efd,ButtonView as _0x48319d,View as _0x1e6c01,ViewCollection as _0x3409d7,FocusCycler as _0x453729,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x4d12df,BalloonPanelView as _0x2bfacc,createDropdown as _0xc55082}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x2445ed,IconListStyleDecimal as _0xe0b9cb,IconListStyleDecimalLeadingZero as _0x315e77,IconListStyleLowerRoman as _0x5e3ec5,IconListStyleUpperRoman as _0x2e1c7c,IconListStyleLowerLatin as _0x3238b6,IconListStyleUpperLatin as _0x4b2dda}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x4c38c1,_0x33e889){this['_model']=_0x4c38c1,this['_elementName']=_0x33e889['elementName'],this['_getElementKey']=_0x33e889['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x235697){const _0x5d3b97=new Set(),_0x2474e3=new Map();for(const _0x15da79 of _0x235697){if('insert'===_0x15da79['type']&&'$text'!==_0x15da79['name']&&_0x15da79['position']['nodeAfter']){const _0x263b77=this['_model']['createRangeOn'](_0x15da79['position']['nodeAfter']);for(const _0x51af18 of _0x263b77['getItems']()){if(!_0x51af18['is']('element',this['_elementName']))continue;const _0x5248e7=this['_getElementKey'](_0x51af18);_0x2474e3['has'](_0x5248e7)||_0x2474e3['set'](_0x5248e7,[]),_0x2474e3['get'](_0x5248e7)['push'](_0x51af18);}}if('remove'===_0x15da79['type']&&_0x15da79['name']===this['_elementName']){const _0x30ee9d=this['_getElementKey']({'getAttribute':_0x363267=>_0x15da79['attributes']['get'](_0x363267)});_0x5d3b97['add'](_0x30ee9d);}}for(const [_0x2aba87,_0x544045]of this['_trackedElements'])'$graveyard'===_0x544045['root']['rootName']&&_0x5d3b97['add'](_0x2aba87);for(const _0x2e1d of _0x5d3b97)this['_trackedElements']['delete'](_0x2e1d);for(const [_0x9ba3c0,_0x74539b]of _0x2474e3)this['_trackedElements']['set'](_0x9ba3c0,_0x74539b[_0x74539b['length']-0x1]);const _0x13ba0f=new Set();for(const [_0x40cca0,_0x49a826]of _0x2474e3)_0x5d3b97['has'](_0x40cca0)&&(_0x13ba0f['add'](_0x49a826[0x0]),_0x49a826['length']>0x1?_0x2474e3['set'](_0x40cca0,_0x49a826['slice'](0x1)):_0x2474e3['delete'](_0x40cca0),_0x5d3b97['delete'](_0x40cca0));return{'removed':Array['from'](_0x5d3b97),'inserted':Array['from'](_0x2474e3['values']())['flat'](),'moved':Array['from'](_0x13ba0f)};}}class f extends _0x7cf97c{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4fe6b0){super(_0x4fe6b0),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x3872d7=>_0x3872d7['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x378c32=>_0x378c32['getAttribute']('footnoteId')});}['init'](){const {editor:_0x13bec3}=this,{model:_0x3f68e0,data:_0x2051ec}=_0x13bec3;_0x3f68e0['document']['registerPostFixer'](_0x363c84=>{const _0x1d6d46=_0x3f68e0['document']['differ']['getChanges']();let _0x956963=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x363c84,_0x1d6d46)&&(_0x956963=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x363c84,_0x1d6d46)&&(_0x956963=!0x0),this['_handleFootnoteReferencesChanges'](_0x363c84,_0x1d6d46)&&(_0x956963=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x363c84)&&(_0x956963=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x363c84)&&(_0x956963=!0x0),this['_sortFootnoteDefinitions'](_0x363c84)&&(_0x956963=!0x0),_0x956963;}),this['listenTo'](_0x3f68e0['document'],'change:data',()=>{_0x3f68e0['enqueueChange']({'isUndoable':!0x1},_0xe3a793=>{this['_ensureFootnotesDefinitionsContainerExists'](_0xe3a793);});},{'priority':'low'}),this['listenTo'](_0x2051ec,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x48063f){return this['_footnotes']['find'](_0xe59d8c=>_0xe59d8c['id']===_0x48063f)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x371725){this['_footnoteFormatter']=_0x371725;}['_updateFootnotesCounters'](_0x1bc25b,_0x42922a=0x0){let _0x26b132=!0x1;for(let _0x482ef5=_0x42922a;_0x482ef5<this['_footnotes']['length'];_0x482ef5++)this['_updateFootnoteRefCounter'](_0x1bc25b,_0x482ef5)&&(_0x26b132=!0x0);return _0x26b132;}['_insertEmptyFootnotesDefinitionsContainer'](_0x10823a,_0xa11f95){const _0x302fd3=_0x10823a['createElement']('footnotesDefinitions',{});return _0x10823a['append'](_0x302fd3,_0xa11f95),this['_footnotesDefinitions']=_0x302fd3,_0x302fd3;}['_ensureFootnotesDefinitionsContainerExists'](_0xbb11dc){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x44da82=this['_footnotes'][0x0]['reference']['root'],_0x2545c9=this['_insertEmptyFootnotesDefinitionsContainer'](_0xbb11dc,_0x44da82);for(const _0x3b479f of this['_footnotes'])_0x3b479f['definition']['parent']||_0xbb11dc['insert'](_0x3b479f['definition'],_0x2545c9,'end');this['_updateFootnotesCounters'](_0xbb11dc);}['_handleFootnotesDefinitionsObjectChanges'](_0x303706,_0x551acc){let _0xac0b93=!0x1;const {inserted:_0x5a30f2,removed:_0x176521,moved:_0x55ebf5}=this['_footnoteDefsContainerTracker']['getChanges'](_0x551acc);if(_0x55ebf5['length']&&(this['_footnotesDefinitions']=_0x55ebf5[0x0]),_0x5a30f2['length']){if(_0x5a30f2['length']>0x1||this['_footnotesDefinitions']&&_0x5a30f2['some'](_0x13ba6f=>_0x13ba6f!==this['_footnotesDefinitions'])){const _0x5dbdf2=_0x303706['createElement']('footnotesDefinitions',{}),_0x18f754=[];this['_footnotesDefinitions']&&_0x18f754['push'](this['_footnotesDefinitions']),_0x18f754['push'](..._0x5a30f2),_0x303706['insert'](_0x5dbdf2,_0x18f754[0x0],'before');for(const _0x518f09 of _0x18f754)_0x303706['move'](_0x303706['createRangeIn'](_0x518f09),_0x303706['createPositionAt'](_0x5dbdf2,'end')),_0x303706['remove'](_0x518f09);this['_footnotesDefinitions']=_0x5dbdf2,this['_updateFootnotesCounters'](_0x303706),_0xac0b93=!0x0;}else this['_footnotesDefinitions']=_0x5a30f2[0x0];}if(_0x176521['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x599b7a of this['_footnotes'])_0x303706['remove'](_0x599b7a['reference']),_0xac0b93=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0xac0b93;}['_handleFootnoteDefinitionsChanges'](_0x419cdd,_0x24f3d8){let _0x20042a=!0x1;const _0x1842ae=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x43df79,moved:_0x32eb1d}=this['_footnoteDefsTracker']['getChanges'](_0x24f3d8);for(const _0x3901e6 of[..._0x32eb1d,..._0x43df79]){const _0x4a224e=_0x3901e6['getAttribute']('footnoteId'),_0x19f6ca=this['getFootnote'](_0x4a224e);_0x19f6ca&&(_0x19f6ca['definition']=_0x3901e6),_(_0x419cdd,_0x1842ae,_0x3901e6)&&(_0x20042a=!0x0);}return _0x20042a;}['_handleFootnoteReferencesChanges'](_0x358fad,_0x1667bb){let _0x4a51ff=!0x1;const {removed:_0x2498eb,inserted:_0x8345c6,moved:_0x5ed587}=this['_footnoteRefsTracker']['getChanges'](_0x1667bb);for(const _0x3a696b of _0x2498eb)this['_handleRemoveFootnoteReferenceById'](_0x358fad,_0x3a696b)&&(_0x4a51ff=!0x0);for(const _0x2880d9 of _0x8345c6)this['_handleInsertedFootnoteReference'](_0x358fad,_0x2880d9)&&(_0x4a51ff=!0x0);for(const _0x4e0b76 of _0x5ed587)this['_handleMovedFootnoteReference'](_0x358fad,_0x4e0b76)&&(_0x4a51ff=!0x0);return _0x4a51ff;}['_handleFootnotesDefinitionsObjectSync'](_0x33918a){if(!this['_footnotesDefinitions'])return!0x1;let _0x31783d=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x4452e1=[];for(const _0x3fc16a of this['_footnotesDefinitions']['getChildren']()){const _0x367680=_0x3fc16a['getAttribute']('footnoteId');this['getFootnote'](_0x367680)||(_0x4452e1['unshift'](_0x3fc16a),_0x31783d=!0x0);}for(const _0x27dfcd of _0x4452e1)_0x33918a['remove'](_0x27dfcd);}const _0x12442f=new Set(),_0x12cb04=[];for(const _0x294df0 of this['_footnotesDefinitions']['getChildren']()){const _0x2c35f3=_0x294df0['getAttribute']('footnoteId');_0x12442f['has'](_0x2c35f3)?(_0x12cb04['unshift'](_0x294df0),_0x31783d=!0x0):_0x12442f['add'](_0x2c35f3);}for(const _0x2945dd of _0x12cb04)_0x33918a['remove'](_0x2945dd);return this['_footnotesDefinitions']['childCount']||(_0x33918a['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x31783d=!0x0),_0x31783d;}['_handleInsertedFootnoteReference'](_0x19df52,_0x50eb45){if(this['_footnotes']['find'](_0x1246ad=>_0x1246ad['reference']===_0x50eb45))return!0x1;let _0x2a7c91=!0x1;const _0x254b07=_0x50eb45['getAttribute']('footnoteId'),_0x31bf3d=this['_footnotes']['findIndex'](_0x7ab61f=>_0x7ab61f['id']===_0x254b07);-0x1!==_0x31bf3d&&(_0x19df52['remove'](this['_footnotes'][_0x31bf3d]['reference']),this['_footnotes']['splice'](_0x31bf3d,0x1),_0x2a7c91=!0x0);let _0x496d4b=this['_footnotesDefinitions']?function(_0x1ed258,_0x5f06a6){for(const _0x4c44d7 of _0x1ed258['getChildren']())if(_0x4c44d7['getAttribute']('footnoteId')===_0x5f06a6)return _0x4c44d7;return null;}(this['_footnotesDefinitions'],_0x254b07):null;_0x496d4b||(_0x496d4b=_0x19df52['createElement']('footnoteDefinition',{'footnoteId':_0x254b07}),this['_footnotesDefinitions']&&(_0x19df52['insert'](_0x496d4b,this['_footnotesDefinitions'],'end'),_0x2a7c91=!0x0));const _0x9eb824={'id':_0x254b07,'reference':_0x50eb45,'definition':_0x496d4b},_0x11bab7=I(this['editor']['model'],this['_footnotes'],_0x50eb45);this['_footnotes']['splice'](_0x11bab7,0x0,_0x9eb824);let _0x553e38=_0x11bab7;return-0x1!==_0x31bf3d&&(_0x553e38=Math['min'](_0x11bab7,_0x31bf3d)),this['_updateFootnotesCounters'](_0x19df52,_0x553e38)&&(_0x2a7c91=!0x0),_0x2a7c91;}['_handleRemoveFootnoteReferenceById'](_0x3065f8,_0x358620){const _0x5a9e8a=this['_footnotes']['findIndex'](_0x53889e=>_0x53889e['id']===_0x358620);if(-0x1===_0x5a9e8a)return!0x1;let _0x7d55a0=!0x1;const _0x30ef44=this['_footnotes'][_0x5a9e8a];return'$graveyard'!==_0x30ef44['definition']['root']['rootName']&&(_0x3065f8['remove'](_0x30ef44['definition']),_0x7d55a0=!0x0),this['_footnotes']['splice'](_0x5a9e8a,0x1),this['_updateFootnotesCounters'](_0x3065f8,_0x5a9e8a)&&(_0x7d55a0=!0x0),_0x7d55a0;}['_handleMovedFootnoteReference'](_0x56cc4d,_0x43c276){const _0x390e60=_0x43c276['getAttribute']('footnoteId'),_0xad6b90=this['_footnotes']['findIndex'](_0x311400=>_0x311400['id']===_0x390e60),_0x3647e8=this['_footnotes'][_0xad6b90];let _0x585e26=!0x1;_0x3647e8['reference']=_0x43c276,this['_footnotes']['splice'](_0xad6b90,0x1);const _0x3686cb=I(this['editor']['model'],this['_footnotes'],_0x43c276);return this['_footnotes']['splice'](_0x3686cb,0x0,_0x3647e8),this['_updateFootnotesCounters'](_0x56cc4d,Math['min'](_0xad6b90,_0x3686cb))&&(_0x585e26=!0x0),_0x585e26;}['_updateFootnoteRefCounter'](_0x1acccc,_0xb3b5d3){if(!this['_footnotesDefinitions'])return!0x1;const _0x12b6b7=this['_footnotes'][_0xb3b5d3];let _0x5d1861;return _0x5d1861=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x12b6b7,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0xb3b5d3+0x1}):String(_0xb3b5d3+0x1),_0x12b6b7['reference']['getAttribute']('footnoteCounter')!=_0x5d1861&&(_0x1acccc['setAttribute']('footnoteCounter',_0x5d1861,_0x12b6b7['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x50a010){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3ec8cc,_0x3d7c3f){if(_0x3ec8cc['length']!==_0x3d7c3f['length'])return!0x1;for(let _0x4149cf=0x0;_0x4149cf<_0x3ec8cc['length'];_0x4149cf++)if(_0x3ec8cc[_0x4149cf]!==_0x3d7c3f[_0x4149cf])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x12ecf5=>_0x12ecf5['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x57531c=>_0x57531c['getAttribute']('footnoteId'))))return!0x1;let _0x5440a8=!0x1;for(let _0xfbaff3=0x0;_0xfbaff3<this['_footnotes']['length'];_0xfbaff3++){const _0x96f73c=this['_footnotes'][_0xfbaff3],_0x26f7d1=_0x50a010['createPositionBefore'](_0x96f73c['definition']),_0xc27286=_0x50a010['createPositionAt'](this['_footnotesDefinitions'],_0xfbaff3);_0x26f7d1['isEqual'](_0xc27286)||(_0x50a010['move'](_0x50a010['createRangeOn'](_0x96f73c['definition']),_0xc27286),_0x5440a8=!0x0);}return _0x5440a8;}['_ensureFootnotesReferencesHaveProperOrder'](_0x490046){if(!this['_footnotes']['length'])return!0x1;const {model:_0x1eeed4}=this['editor'];let _0x4d5d9f=!0x1;for(let _0x44b108=0x0;_0x44b108<this['_footnotes']['length']-0x1;_0x44b108++){const _0x20fc3b=this['_footnotes'][_0x44b108],_0x22c895=this['_footnotes'][_0x44b108+0x1],_0x21a8d6=_0x1eeed4['createPositionBefore'](_0x20fc3b['reference']),_0x85e579=_0x1eeed4['createPositionBefore'](_0x22c895['reference']);'after'===_0x21a8d6['compareWith'](_0x85e579)&&(this['_handleMovedFootnoteReference'](_0x490046,_0x20fc3b['reference']),_0x44b108=-0x1,_0x4d5d9f=!0x0);}return _0x4d5d9f;}}function _(_0x4d8902,_0x55f42b,_0x3b3b4e){if(_0x3b3b4e['childCount'])return!0x1;const _0xd9069e=_0x55f42b?'paragraph':'footnoteInlineContent';return _0x4d8902['insert'](_0x4d8902['createElement'](_0xd9069e),_0x3b3b4e),!0x0;}function I(_0x5cf147,_0x33829a,_0x4299c6){if(0x0===_0x33829a['length'])return 0x0;const _0x2f067d=_0x5cf147['createPositionBefore'](_0x4299c6);for(let _0x5b8658=0x0;_0x5b8658<_0x33829a['length'];_0x5b8658++){const _0x1be4be=_0x33829a[_0x5b8658],_0x2c45dc=_0x5cf147['createPositionBefore'](_0x1be4be['reference']);if('before'===_0x2f067d['compareWith'](_0x2c45dc))return _0x5b8658;}const _0x5c86ad=_0x4299c6['root'];let _0x3ae4fa=-0x1;for(let _0x3db109=_0x33829a['length']-0x1;_0x3db109>=0x0;_0x3db109--)if(_0x33829a[_0x3db109]['reference']['root']===_0x5c86ad){_0x3ae4fa=_0x3db109;break;}if(-0x1!==_0x3ae4fa)return _0x3ae4fa+0x1;const _0x323fd5=_0x5cf147['document']['getRootNames'](),_0x1d1b83=_0x323fd5['indexOf'](_0x5c86ad['rootName']),_0x22ad68=_0x323fd5[_0x1d1b83+0x1];if(_0x22ad68){for(let _0x91b364=0x0;_0x91b364<_0x33829a['length'];_0x91b364++)if(_0x33829a[_0x91b364]['reference']['root']['rootName']===_0x22ad68)return _0x91b364;}return _0x33829a['length'];}class m extends _0x508bf5{['refresh'](){const _0x2124b2=this['editor']['model']['document']['selection'],_0x2ae0c5=this['_getPositionToInsertFootnote'](_0x2124b2);this['isEnabled']=!!_0x2ae0c5;}['execute'](_0x2a6803){const {editor:_0x215f4c}=this,{model:_0x4cc2d9}=_0x215f4c,{selection:_0x244110}=_0x4cc2d9['document'],_0x336e89=this['_getPositionToInsertFootnote'](_0x244110);if(!_0x336e89)return;const _0x58f6fc=_0x215f4c['plugins']['get']('FootnotesEditing'),_0xc2c0fe=_0x2a6803?.['footnoteId']??_0xb2ad1e();!function(_0x26dd4e){return'string'==typeof _0x26dd4e&&_0x26dd4e['length']>0x0&&!/\s/['test'](_0x26dd4e)&&!/^\d/['test'](_0x26dd4e);}(_0xc2c0fe)?_0x4fe30e('insert-footnote-command-executed-with-invalid-id'):(_0x4cc2d9['change'](_0x561edb=>{const _0x39acb9=_0x561edb['createElement']('footnoteRef',{'footnoteId':_0xc2c0fe});_0x4cc2d9['insertObject'](_0x39acb9,_0x336e89,null);}),_0x58f6fc['_moveSelectionToFootnoteDefinition'](_0xc2c0fe));}['_getPositionToInsertFootnote'](_0xad25e6){const {model:_0x36420e}=this['editor'],{schema:_0x467f18}=_0x36420e,_0x179df6=_0xad25e6['getFirstRange']();for(const _0x4e4c4d of _0x179df6['getItems']())if(_0x467f18['isBlock'](_0x4e4c4d)||_0x467f18['isObject'](_0x4e4c4d))return null;const _0x34cc31=_0x179df6['end'];return _0x467f18['checkChild'](_0x34cc31,'footnoteRef')?_0x34cc31:null;}}class r extends _0x7cf97c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4c16d8}=this;_0x4c16d8['config']['define']('footnotes.multiBlock',!0x0),_0x4c16d8['commands']['add']('insertFootnote',new m(_0x4c16d8)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xaae967){const _0x4d241f=_0x4adc92([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x37a113=0x47a28506,_0x2d9394=0x47a5fff6^_0x37a113,_0x4d131c=window[_0x4adc92([0x44,0x61,0x74,0x65])][_0x4adc92([0x6e,0x6f,0x77])](),_0x5df3a2=_0xaae967[_0x4adc92([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b0598=new window[(_0x4adc92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3cbfbe=>{_0x5df3a2[_0x4adc92([0x6f,0x6e,0x63,0x65])](_0x4adc92([0x72,0x65,0x61,0x64,0x79]),_0x3cbfbe);}),_0x5567b4={[_0x4adc92([0x6b,0x74,0x79])]:_0x4adc92([0x45,0x43]),[_0x4adc92([0x75,0x73,0x65])]:_0x4adc92([0x73,0x69,0x67]),[_0x4adc92([0x63,0x72,0x76])]:_0x4adc92([0x50,0x2d,0x32,0x35,0x36]),[_0x4adc92([0x78])]:_0x4adc92([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4adc92([0x79])]:_0x4adc92([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4adc92([0x61,0x6c,0x67])]:_0x4adc92([0x45,0x53,0x32,0x35,0x36])},_0x1ddb7f=_0x5df3a2[_0x4adc92([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4adc92([0x67,0x65,0x74])](_0x4adc92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4cee46(){let _0x578814,_0x29f663=null,_0x1c1830=null;try{if(_0x1ddb7f==_0x4adc92([0x47,0x50,0x4c]))return _0x4adc92([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x578814=_0x4e49a9(),!_0x578814)return _0x4adc92([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x578814[_0x4adc92([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c1830=_0x1a1ba2(_0x578814[_0x4adc92([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x578814[_0x4adc92([0x6a,0x74,0x69])])),await _0x37eb0a()?_0x2b6a78()?_0x5e52ab()?_0x4adc92([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5b2dd9()?(_0x578814[_0x4adc92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4adc92([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x29f663=_0x2dcce4(_0x4adc92([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x578814[_0x4adc92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4adc92([0x74,0x72,0x69,0x61,0x6c])&&(_0x29f663=_0x2dcce4(_0x4adc92([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1e3bbd()):_0x4adc92([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4adc92([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4adc92([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4adc92([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5e52ab(){const _0x54abd5=[_0x4adc92([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4adc92([0x74,0x72,0x69,0x61,0x6c])][_0x4adc92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x578814[_0x4adc92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d131c/0x3e8:0xe10*_0x2d9394;return _0x578814[_0x4adc92([0x65,0x78,0x70])]<_0x54abd5;}function _0x2b6a78(){const _0x1f1d04=_0x578814[_0x4adc92([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1f1d04&&(!!_0x1f1d04[_0x4adc92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4adc92([0x2a]))||!!_0x1f1d04[_0x4adc92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4adc92([0x46,0x4f,0x4f])));}function _0x5b2dd9(){const _0x2fa23a=_0x578814[_0x4adc92([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2fa23a||0x0==_0x2fa23a[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f43e2}=new URL(window[_0x4adc92([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2fa23a[_0x4adc92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f43e2))return!0x0;const _0x2dab2e=_0x1f43e2[_0x4adc92([0x73,0x70,0x6c,0x69,0x74])](_0x4adc92([0x2e]));return _0x2fa23a[_0x4adc92([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x187089=>_0x187089[_0x4adc92([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4adc92([0x2a])))[_0x4adc92([0x6d,0x61,0x70])](_0x28c535=>_0x28c535[_0x4adc92([0x73,0x70,0x6c,0x69,0x74])](_0x4adc92([0x2e])))[_0x4adc92([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa0e413=>_0xa0e413[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2dab2e[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4adc92([0x6d,0x61,0x70])](_0x5bafe8=>Array(_0x2dab2e[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5bafe8[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4adc92([0x66,0x69,0x6c,0x6c])](_0x5bafe8[0x0]===_0x4adc92([0x2a])?_0x4adc92([0x2a]):'')[_0x4adc92([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5bafe8))[_0x4adc92([0x73,0x6f,0x6d,0x65])](_0xd54621=>_0x2dab2e[_0x4adc92([0x65,0x76,0x65,0x72,0x79])]((_0x4131bc,_0x529924)=>_0xd54621[_0x529924]===_0x4131bc||_0xd54621[_0x529924]===_0x4adc92([0x2a])));}function _0x1e3bbd(){return _0x29f663&&_0x1c1830?new window[(_0x4adc92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3fc8df,_0x314c84)=>{_0x29f663[_0x4adc92([0x74,0x68,0x65,0x6e])](_0x3fc8df,_0x314c84),_0x1c1830[_0x4adc92([0x74,0x68,0x65,0x6e])](_0x3e7d30=>{_0x3e7d30!=_0x4adc92([0x56,0x61,0x6c,0x69,0x64])&&_0x3fc8df(_0x3e7d30);},_0x314c84);}):_0x29f663||_0x1c1830||_0x4adc92([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a1ba2(_0x481004,_0x4d54c3){return new window[(_0x4adc92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20b3d5=>{if(_0xa26c2a())return _0x20b3d5(_0x4adc92([0x56,0x61,0x6c,0x69,0x64]));_0x2f494b(),_0x5df3a2[_0x4adc92([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4adc92([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd5e703=!0x1;const _0x207fc9=_0xb2ad1e();function _0x2ab200(_0x9ac064){return!!_0x9ac064&&(typeof _0x9ac064===_0x4adc92([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9ac064===_0x4adc92([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9ac064[_0x4adc92([0x74,0x68,0x65,0x6e])]===_0x4adc92([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9ac064[_0x4adc92([0x63,0x61,0x74,0x63,0x68])]===_0x4adc92([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x31c656(_0x57a290){_0x5d2713(_0x57a290)[_0x4adc92([0x74,0x68,0x65,0x6e])](_0x182a1e=>{if(!_0x182a1e||_0x182a1e[_0x4adc92([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4adc92([0x6f,0x6b]))return _0x4adc92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x375667(_0x5ba378(_0x207fc9+_0x4d54c3))!=_0x182a1e[_0x4adc92([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4adc92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4adc92([0x56,0x61,0x6c,0x69,0x64]);})[_0x4adc92([0x74,0x68,0x65,0x6e])](_0x4323bb=>(_0x463566(),_0x4323bb),()=>{const _0x12a59f=_0x24c5e3();return null==_0x12a59f?(_0x463566(),_0x4adc92([0x56,0x61,0x6c,0x69,0x64])):_0x4adc92(_0x4d131c-_0x12a59f>(0x63ae0106^_0x37a113)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4adc92([0x74,0x68,0x65,0x6e])](_0x20b3d5)[_0x4adc92([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20b3d5(_0x4adc92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x217a65=0x47946b86^_0x37a113;function _0x463566(){const _0x2f5385=_0x4adc92([0x6c,0x6c,0x63,0x74,0x2d])+_0x375667(_0x5ba378(_0x481004)),_0x4c03a6=_0x5bd2b1(_0x375667(window[_0x4adc92([0x4d,0x61,0x74,0x68])][_0x4adc92([0x63,0x65,0x69,0x6c])](_0x4d131c/_0x217a65)));window[_0x4adc92([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4adc92([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f5385,_0x4c03a6);}function _0x24c5e3(){const _0x4a3ff2=_0x4adc92([0x6c,0x6c,0x63,0x74,0x2d])+_0x375667(_0x5ba378(_0x481004)),_0x285bdc=window[_0x4adc92([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4adc92([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a3ff2);return _0x285bdc?window[_0x4adc92([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5bd2b1(_0x285bdc),0x10)*_0x217a65:null;}function _0x5d2713(_0x23527a){return new window[(_0x4adc92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x606828,_0x31b5b6)=>{_0x23527a[_0x4adc92([0x74,0x68,0x65,0x6e])](_0x606828,_0x31b5b6),window[_0x4adc92([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31b5b6,0x47a351c6^_0x37a113);});}}_0x5df3a2[_0x4adc92([0x6f,0x6e])](_0x4adc92([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x368258,_0x3980ef)=>{if(_0x3980ef[0x0]!=_0x481004)return _0x20b3d5(_0x4adc92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3980ef[0x1]={..._0x3980ef[0x1],[_0x4adc92([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x207fc9};},{[_0x4adc92([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4adc92([0x68,0x69,0x67,0x68])}),_0x5df3a2[_0x4adc92([0x6f,0x6e])](_0x4adc92([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x483e91=>{_0x2ab200(_0x483e91[_0x4adc92([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd5e703=!0x0,_0x31c656(_0x483e91[_0x4adc92([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4adc92([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4adc92([0x6c,0x6f,0x77])}),_0x4b0598[_0x4adc92([0x74,0x68,0x65,0x6e])](()=>{_0xd5e703||_0x20b3d5(_0x4adc92([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xa26c2a(){return _0x5df3a2[_0x4adc92([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4adc92([0x76,0x69,0x65,0x77])][_0x4adc92([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4adc92([0x61,0x75,0x74,0x6f]);}function _0x2f494b(){_0x5df3a2[_0x4adc92([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4adc92([0x76,0x69,0x65,0x77])][_0x4adc92([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4adc92([0x61,0x75,0x74,0x6f]);}}function _0x2dcce4(_0x5e17c9){const _0x5a0117=[new window[(_0x4adc92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57e7a6=>setTimeout(_0x57e7a6,0x47abbbca^_0x37a113)),_0x4b0598[_0x4adc92([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4adc92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x457a09=>{let _0x2dcfe5=0x0;_0x5df3a2[_0x4adc92([0x6d,0x6f,0x64,0x65,0x6c])][_0x4adc92([0x6f,0x6e])](_0x4adc92([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x42b22b,_0x277ce9)=>{_0x277ce9[0x0][_0x4adc92([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2dcfe5++,_0x2dcfe5==(0x47a284fe^_0x37a113)&&(_0x457a09(),_0x42b22b[_0x4adc92([0x6f,0x66,0x66])]());});}))];return window[_0x4adc92([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4adc92([0x72,0x61,0x63,0x65])](_0x5a0117)[_0x4adc92([0x74,0x68,0x65,0x6e])](()=>_0x5e17c9);}async function _0x14fd46(){await _0x4b0598,_0x5df3a2[_0x4adc92([0x6d,0x6f,0x64,0x65,0x6c])][_0x4adc92([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9eb4ba,_0x5df3a2[_0x4adc92([0x6d,0x6f,0x64,0x65,0x6c])][_0x4adc92([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9eb4ba,_0x5df3a2[_0x4adc92([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4adc92([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a2ada(_0x174279){const _0x3aea56=_0x40da68();_0x5df3a2[_0x3aea56]=_0x4adc92([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x174279,_0x174279!=_0x4adc92([0x56,0x61,0x6c,0x69,0x64])&&_0x14fd46();}function _0x40da68(){const _0x253265=window[_0x4adc92([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4adc92([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4adc92([0x6e,0x6f,0x77])]())[_0x4adc92([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4adc92([0x2e]),'');let _0x68b651=_0x4adc92([0x75]);for(let _0x21082d=0x0;_0x21082d<_0x253265[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21082d+=0x2){let _0x4d2dd8=window[_0x4adc92([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x253265[_0x4adc92([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x21082d,_0x21082d+0x2));_0x4d2dd8>=_0x4d241f[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d2dd8-=_0x4d241f[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x68b651+=_0x4d241f[_0x4d2dd8];}return _0x68b651;}function _0x4e49a9(){const _0x28a1ca=_0x1ddb7f[_0x4adc92([0x73,0x70,0x6c,0x69,0x74])](_0x4adc92([0x2e]));if(0x3!=_0x28a1ca[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x18df80(_0x28a1ca[0x1]);function _0x18df80(_0x816347){const _0x50dae9=_0x272997(_0x816347);return _0x50dae9&&_0x18452d()?_0x50dae9:null;function _0x18452d(){const _0x2cdece=_0x50dae9[_0x4adc92([0x6a,0x74,0x69])],_0x5f4c57=window[_0x4adc92([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cdece[_0x4adc92([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2cdece[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38188b={..._0x50dae9,[_0x4adc92([0x6a,0x74,0x69])]:_0x2cdece[_0x4adc92([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2cdece[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38188b[_0x4adc92([0x76,0x63])],_0x5ba378(_0x38188b)==_0x5f4c57;}}}async function _0x37eb0a(){let _0x4b865d=!0x0;try{const _0x45043c=_0x1ddb7f[_0x4adc92([0x73,0x70,0x6c,0x69,0x74])](_0x4adc92([0x2e])),[_0x48c5c3,_0x12717b,_0x50c1c5]=_0x45043c;return _0x514e4d(_0x48c5c3),await _0x22ebf3(_0x48c5c3,_0x12717b,_0x50c1c5),_0x4b865d;}catch{return!0x1;}function _0x514e4d(_0xc68092){const _0x2a6c2a=_0x272997(_0xc68092);_0x2a6c2a&&_0x2a6c2a[_0x4adc92([0x61,0x6c,0x67])]==_0x4adc92([0x45,0x53,0x32,0x35,0x36])||(_0x4b865d=!0x1);}async function _0x22ebf3(_0x397ddf,_0x151b38,_0x24318c){const _0xd4e230=window[_0x4adc92([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4adc92([0x66,0x72,0x6f,0x6d])](_0x4aaae1(_0x24318c),_0x151b50=>_0x151b50[_0x4adc92([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x378f05=new window[(_0x4adc92([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4adc92([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x397ddf+_0x4adc92([0x2e])+_0x151b38),_0x47c423=window[_0x4adc92([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4adc92([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x47c423)return;const _0x203f2f=await _0x47c423[_0x4adc92([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4adc92([0x6a,0x77,0x6b]),_0x5567b4,{[_0x4adc92([0x6e,0x61,0x6d,0x65])]:_0x4adc92([0x45,0x43,0x44,0x53,0x41]),[_0x4adc92([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4adc92([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4adc92([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x47c423[_0x4adc92([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4adc92([0x6e,0x61,0x6d,0x65])]:_0x4adc92([0x45,0x43,0x44,0x53,0x41]),[_0x4adc92([0x68,0x61,0x73,0x68])]:{[_0x4adc92([0x6e,0x61,0x6d,0x65])]:_0x4adc92([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x203f2f,_0xd4e230,_0x378f05)||(_0x4b865d=!0x1);}}function _0x272997(_0x596a76){return _0x596a76[_0x4adc92([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4adc92([0x65,0x79]))?JSON[_0x4adc92([0x70,0x61,0x72,0x73,0x65])](_0x4aaae1(_0x596a76)):null;}function _0x4aaae1(_0x30e6b9){return window[_0x4adc92([0x61,0x74,0x6f,0x62])](_0x30e6b9[_0x4adc92([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4adc92([0x2b]))[_0x4adc92([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4adc92([0x2f])));}function _0x5ba378(_0x5dfe25){let _0x3adb03=0x1505;function _0x3f65f0(_0x399f4b){for(let _0x7ae9e3=0x0;_0x7ae9e3<_0x399f4b[_0x4adc92([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7ae9e3++){const _0x3e6175=_0x399f4b[_0x4adc92([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7ae9e3);_0x3adb03=(_0x3adb03<<0x5)+_0x3adb03+_0x3e6175,_0x3adb03&=_0x3adb03;}}function _0x15988f(_0x5ccae4){Array[_0x4adc92([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ccae4)?_0x5ccae4[_0x4adc92([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x15988f):_0x5ccae4&&typeof _0x5ccae4==_0x4adc92([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4adc92([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ccae4)[_0x4adc92([0x73,0x6f,0x72,0x74])]()[_0x4adc92([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4fcc1d,_0x3aa177])=>{_0x3f65f0(_0x4fcc1d),_0x15988f(_0x3aa177);}):_0x3f65f0(window[_0x4adc92([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ccae4));}return _0x15988f(_0x5dfe25),_0x3adb03>>>0x0;}function _0x375667(_0x28dd0d){return _0x28dd0d[_0x4adc92([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4adc92([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4adc92([0x30]));}function _0x5bd2b1(_0x12bf81){return _0x12bf81[_0x4adc92([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4adc92([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4adc92([0x6a,0x6f,0x69,0x6e])]('');}function _0x9eb4ba(){}function _0x4adc92(_0x3c37b5){return _0x3c37b5['map'](_0x4a2aa1=>String['fromCharCode'](_0x4a2aa1))['join']('');}_0x2a2ada(await _0x4cee46());}(this);}['_moveSelectionToFootnoteDefinition'](_0x568063){const {plugins:_0x32f9ba,editing:_0x2bc1cf,model:_0x5e882f}=this['editor'],_0x26dc2b=_0x32f9ba['get'](f)['getFootnote'](_0x568063);return!!_0x26dc2b&&(_0x5e882f['change'](_0x508134=>{_0x508134['setSelection'](_0x508134['createPositionAt'](_0x26dc2b['definition'],'end'));}),_0x2bc1cf['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x8a701f){const {plugins:_0x463bab,editing:_0x7e3c82,model:_0x5cd012}=this['editor'],_0x510f42=_0x463bab['get'](f)['getFootnote'](_0x8a701f);return!!_0x510f42&&(_0x5cd012['change'](_0x5126fb=>{_0x5126fb['setSelection'](_0x510f42['reference'],'on');}),_0x7e3c82['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2e6a5c}=this['editor']['model'],_0xf42879=this['editor']['config']['get']('footnotes.multiBlock');_0x2e6a5c['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2e6a5c['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2e6a5c['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xf42879?_0x2e6a5c['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2e6a5c['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2e6a5c['addChildCheck'](_0x4b673e=>{for(const _0x5be377 of _0x4b673e)if('footnoteDefinition'===_0x5be377['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x23ab08}=this,{conversion:_0x3c9dd9,editing:_0x666c47}=_0x23ab08,{t:t}=_0x23ab08['locale'];_0x3c9dd9['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x330b1c,{writer:_0x92de75,consumable:_0x35a048})=>{const _0x32073c=_0x330b1c['getChild'](0x0);if(!_0x32073c||!_0x32073c['is']('element','a'))return null;const _0x130673=_0x32073c['getAttribute']('href')||'';if(!_0x130673['startsWith']('#'))return null;const _0x1812c3=_0x130673['replace'](/^#/,'');if(!_0x1812c3)return null;_0x35a048['consume'](_0x32073c,{'name':!0x0,'attributes':['href']});for(const {item:_0x3719ce}of _0x666c47['view']['createRangeIn'](_0x32073c))_0x3719ce['is']('$textProxy')?_0x35a048['consume'](_0x3719ce['textNode'],{'name':!0x0}):_0x3719ce['is']('element')&&_0x35a048['consume'](_0x3719ce,{'name':!0x0});return _0x92de75['createElement']('footnoteRef',{'footnoteId':_0x1812c3});}}),_0x3c9dd9['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5ba9c7,{writer:_0x1eac78})=>D(_0x5ba9c7,_0x1eac78)}),_0x3c9dd9['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x206081,{writer:_0x4c9cd9})=>{const _0x2de8c7=_0x206081['getAttribute']('footnoteCounter');return _0x932ce6(D(_0x206081,_0x4c9cd9),_0x4c9cd9,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2de8c7)});}});}['_defineDefinitionsConverters'](){const {editor:_0x563ad8}=this,{t:t}=_0x563ad8['locale'],{conversion:_0x1f89f7}=_0x563ad8;_0x1f89f7['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1f89f7['for']('upcast')['add'](_0x1d4c58=>{_0x1d4c58['on']('element:ol',(_0x9b7a57,_0x25fbb3,_0x12c372)=>{const _0x101b3f=_0x25fbb3['viewItem'];if(!_0x101b3f['hasClass']('footnotes-list')||!_0x25fbb3['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x12c372['consumable']['consume'](_0x101b3f,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x53bf19,modelCursor:_0x2bc013}=_0x12c372['convertChildren'](_0x25fbb3['viewItem'],_0x25fbb3['modelCursor']);_0x25fbb3['modelRange']=_0x53bf19,_0x25fbb3['modelCursor']=_0x2bc013;}),_0x1d4c58['on']('element:hr',(_0x313f09,_0x2e40d1,_0x2d415f)=>{const _0x1cd881=_0x2e40d1['viewItem'];_0x1cd881['hasClass']('footnotes-divider')&&_0x2e40d1['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2d415f['consumable']['consume'](_0x1cd881,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1f89f7['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x272a7d,{writer:_0x535acc})=>v(_0x535acc)}),_0x1f89f7['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xcc5eb1,{writer:_0x2fd8b6})=>{const _0xfc8d25=v(_0x2fd8b6,{'data-footnotes-list-label':t('Footnotes')}),_0x42bbfd=_0x932ce6(_0xfc8d25,_0x2fd8b6,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2fd8b6['setCustomProperty']('footnotesDefinitions',!0x0,_0x42bbfd),_0x42bbfd;}});}['_defineDefinitionConverters'](){const {editor:_0x1cb636}=this,{conversion:_0x4195ab,locale:_0x16de80}=_0x1cb636,_0x34c4b2=_0x1cb636['config']['get']('footnotes.multiBlock');_0x4195ab['for']('upcast')['add'](_0x410c47=>{_0x410c47['on']('element:li',(_0x209f4b,_0x4a7584,_0x24439f)=>{const _0x5c2c10=_0x4a7584['viewItem'];if(!_0x5c2c10['hasClass']('footnote-definition')||!_0x5c2c10['getAttribute']('id'))return;const _0x2dc376=_0x5c2c10['parent'];if(!_0x2dc376['is']('element','ol')||!_0x2dc376['hasClass']('footnotes-list'))return;if(!_0x24439f['consumable']['test'](_0x5c2c10,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x32a8bf=_0x24439f['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5c2c10['getAttribute']('id')});if(!_0x24439f['safeInsert'](_0x32a8bf,_0x4a7584['modelCursor']))return;_0x24439f['consumable']['consume'](_0x5c2c10,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4aa8a2=Array['from'](_0x5c2c10['getChildren']())['find'](_0x3e5245=>_0x3e5245['is']('element')&&_0x3e5245['hasClass']('footnote-content'));for(const _0x2d5094 of _0x5c2c10['getChildren']())_0x2d5094['is']('element')&&(_0x24439f['consumable']['consume'](_0x2d5094,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x24439f['consumable']['consume'](_0x2d5094,{'name':!0x0,'classes':'footnote-content'}));if(_0x4aa8a2){if(_0x34c4b2)_0x24439f['convertChildren'](_0x4aa8a2,_0x32a8bf);else{const _0x2b789f=_0x24439f['writer']['createElement']('footnoteInlineContent');_0x24439f['writer']['insert'](_0x2b789f,_0x32a8bf),_0x24439f['convertChildren'](_0x4aa8a2,_0x2b789f);}}_0x24439f['updateConversionResult'](_0x32a8bf,_0x4a7584);});}),_0x4195ab['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4a05c8,{writer:_0x4011cf})=>b(_0x4a05c8,_0x4011cf,_0x16de80,{'dataPipeline':!0x0})}),_0x4195ab['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4c24aa,{writer:_0xb2e25f})=>b(_0x4c24aa,_0xb2e25f,_0x16de80)});}['_defineBogusParagraphConverters'](){const {editor:_0x37b7de}=this,{conversion:_0x399bd5}=_0x37b7de;_0x37b7de['config']['get']('footnotes.multiBlock')?(_0x399bd5['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x399bd5['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x37b7de['model']['document'],'change:data',()=>{!function(_0x53e4f0,_0x230a55){const _0x205976=_0x53e4f0['document']['differ'],_0x2df4f4=new Set();for(const _0x4b32d0 of _0x205976['getChanges']()){const _0x4057b4='attribute'==_0x4b32d0['type']?_0x4b32d0['range']['start']['parent']:_0x4b32d0['position']['parent'];_0x4057b4['is']('element','footnoteDefinition')&&_0x2df4f4['add'](_0x4057b4);}for(const _0x25efba of _0x2df4f4['values']()){const _0x13614c=Array['from'](_0x25efba['getChildren']())['filter'](_0x3eac42=>g(_0x3eac42,_0x230a55['mapper']));for(const _0x373fe0 of _0x13614c)_0x230a55['reconvertItem'](_0x373fe0);}}(_0x37b7de['model'],_0x37b7de['editing']);})):(_0x399bd5['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x399bd5['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4c0f6f,{writer:_0x41775e})=>{const _0x1be874=_0x41775e['createContainerElement']('span');return _0x41775e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1be874),_0x1be874;}}));}['_defineKeyboardHandlers'](){const {editor:_0x113d1d}=this,{editing:_0x4e54c3,t:t}=_0x113d1d,_0x1b4d9d=_0x113d1d['model']['document']['selection'];_0x113d1d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x113d1d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4e54c3['view']['document'],'enter',(_0x317088,_0x2c8f71)=>{const _0x3f8585=function(_0x5216e8){const _0x5e125e=_0x5216e8['getSelectedElement']();if(_0x5e125e?.['is']('element','footnoteRef'))return _0x5e125e;return null;}(_0x1b4d9d);if(_0x3f8585){const _0x46de0c=_0x3f8585['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x46de0c),_0x2c8f71['preventDefault'](),_0x317088['stop']();}},{'context':_0x5d8c7c});}['_defineClickHandlers'](){const {editor:_0x42d51f}=this,{editing:_0x2f95af}=_0x42d51f;_0x42d51f['editing']['view']['addObserver'](_0x3ddfa1),_0x42d51f['editing']['view']['addObserver'](_0x3b82a8);let _0x318f3e=!0x1;this['listenTo'](_0x2f95af['view']['document'],'pointerdown',(_0x2dfae9,_0x1d8c46)=>{const {target:_0xc096fa}=_0x1d8c46,_0x4e8ee7=_0x2f95af['view']['document']['selection'];_0x318f3e=!!(_0xc096fa?.['is']('element','a')&&_0xc096fa['parent']?.['is']('element','sup')&&_0xc096fa['parent']['hasClass']('footnote'))&&_0x4e8ee7['getSelectedElement']()===_0xc096fa['parent'];},{'priority':'high'}),this['listenTo'](_0x2f95af['view']['document'],'click',(_0x3c837b,_0x2a8b62)=>{const {target:_0x4003b8}=_0x2a8b62;if(!_0x4003b8?.['is']('element','a'))return;if(_0x4003b8['parent']?.['is']('element','sup')&&_0x4003b8['parent']['hasClass']('footnote')&&!_0x318f3e)return void _0x2a8b62['preventDefault']();let _0x1c53fd=_0x4003b8['getAttribute']('href');if(!_0x1c53fd?.['startsWith']('#'))return;_0x1c53fd=_0x1c53fd['slice'](0x1);let _0x16a06e=!0x1;(_0x1c53fd['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1c53fd['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1c53fd))&&(_0x16a06e=!0x0),_0x16a06e&&(_0x2a8b62['preventDefault'](),_0x3c837b['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x21660f}={}){return(_0x2cc288,{writer:_0x144def})=>{if(!p(_0x2cc288))return null;if(!_0x21660f)return _0x144def['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x23322d=_0x144def['createContainerElement']('p');return _0x144def['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x23322d),_0x23322d;};}function p(_0x1e96c6){const {parent:_0x38329a}=_0x1e96c6;if(!_0x38329a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x38329a['childCount'])return!0x1;for(const _0x37b541 of _0x1e96c6['getAttributeKeys']())if(!_0x37b541['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x37b541)return!0x1;return!0x0;}function g(_0x3293be,_0x42c69c){if(!_0x3293be['is']('element','paragraph'))return!0x1;const _0x42d292=_0x42c69c['toViewElement'](_0x3293be);return!!_0x42d292&&p(_0x3293be)!==_0x42d292['is']('element','span');}function J(_0x26a7fe){return _0x5d8c7c(_0x26a7fe)&&_0x26a7fe['is']('containerElement')&&!!_0x26a7fe['getCustomProperty']('footnotesDefinitions');}function v(_0x3a82f8,_0x197251={}){const _0x3cf18a=_0x3a82f8['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x452ae1=_0x3a82f8['createContainerElement']('ol',{'class':'footnotes-list'},_0x3a82f8['createSlot']());return _0x3a82f8['createContainerElement']('div',{'class':'footnotes',..._0x197251},[_0x3cf18a,_0x452ae1]);}function D(_0x1be931,_0x161ea7){const _0x56423c=_0x1be931['getAttribute']('footnoteId'),_0x509836=_0x1be931['getAttribute']('footnoteCounter'),_0x3e2a01=_0x161ea7['createUIElement']('a',{'href':'#'+_0x56423c},function(_0x1e71ed){const _0x30813f=this['toDomElement'](_0x1e71ed);return _0x30813f['textContent']=_0x509836,_0x30813f;}),_0x258449=_0x161ea7['createContainerElement']('sup',{'id':'ref-'+_0x56423c,'class':'footnote'},[_0x3e2a01]);return _0x258449['getFillerOffset']=()=>null,_0x258449;}function b(_0x279f38,_0x5cc47a,_0x72a480,{dataPipeline:_0x56a111}={}){const {t:t}=_0x72a480,_0x97d50f=_0x279f38['getAttribute']('footnoteId'),_0x466bc7=_0x5cc47a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x97d50f},function(_0x363b15){const _0xe91865=this['toDomElement'](_0x363b15);return _0xe91865['innerText']='^',_0xe91865;}),_0x50db11=_0x56a111?_0x5cc47a['createContainerElement']('div',{'class':'footnote-content'}):_0x5983a7(_0x5cc47a['createEditableElement']('div',{'class':'footnote-content'}),_0x5cc47a,{'label':t('Footnote\x20content.')});return _0x5cc47a['insert'](_0x5cc47a['createPositionAt'](_0x50db11,0x0),_0x5cc47a['createSlot']()),_0x5cc47a['createContainerElement']('li',{'class':'footnote-definition','id':_0x97d50f},[_0x466bc7,_0x50db11]);}class e extends _0x7cf97c{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x2cf3f1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x3ce811}=this,{plugins:_0x8e82ae,model:_0x26b8ce}=_0x3ce811,_0x4c248a=_0x8e82ae['get'](_0x2cf3f1),_0x45906b=_0x8e82ae['get'](f);this['listenTo'](_0x4c248a,'outputTransformation',(_0x16c666,_0x4f03c5)=>{const _0x22457b=c(_0x26b8ce['createRangeIn'](_0x4f03c5['content']));if(!_0x22457b['length'])return;const _0x2c4991=_0x45906b['getFootnotes'](),_0x91ede8=_0x22457b['reduce']((_0x18d384,_0xb08028)=>{const _0x12daff=_0x2c4991['find'](_0x57844d=>_0x57844d['id']===_0xb08028);if(_0x12daff){const _0xc05eb4=_0x3ce811['data']['toView'](_0x12daff['definition'],{'isClipboardPipeline':!0x0}),_0x5799c1=_0x3ce811['data']['htmlProcessor']['toData'](_0xc05eb4);_0x18d384[_0x12daff['id']]=_0x5799c1;}return _0x18d384;},Object['create'](null));_0x4f03c5['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x91ede8));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x5c618e}=this,{model:_0x2fbd94,plugins:_0x3ef240}=_0x5c618e,{view:_0x731e25}=_0x5c618e['editing'],_0x3990fd=_0x3ef240['get'](_0x2cf3f1),_0x554c6b=_0x3ef240['get'](f),_0x1244b5=_0x5c618e['config']['get']('footnotes.multiBlock');let _0x3601ca=null;this['listenTo'](_0x731e25['document'],'clipboardInput',(_0x2df546,_0x1c6f71)=>{const _0xcbc1cd=_0x1c6f71['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3601ca=_0xcbc1cd?JSON['parse'](_0xcbc1cd):null;}),this['listenTo'](_0x3990fd,'contentInsertion',(_0x4af526,_0x3c6723)=>{const _0x1740f8=_0x3c6723['sourceEditorId']===this['editor']['id'];_0x1740f8&&'drop'===_0x3c6723['method']||_0x2fbd94['change'](_0x3347bf=>{let _0x25163d=_0x554c6b['getFootnotesDefinitionsObjectElement']();const _0x82d789=!!_0x25163d&&Array['from'](_0x2fbd94['document']['selection']['getSelectedBlocks']())['includes'](_0x25163d);if((_0x25163d&&!_0x82d789||!_0x25163d&&!_0x3601ca)&&function(_0x41ed43,_0x490ded){const _0x30f4ad=[];for(const {item:_0x4421c0}of _0x41ed43['createRangeIn'](_0x490ded))_0x4421c0['is']('element','footnotesDefinitions')&&_0x30f4ad['push'](_0x4421c0);for(const _0x454439 of _0x30f4ad)_0x41ed43['remove'](_0x454439);}(_0x3347bf,_0x3c6723['content']),!_0x3601ca)return;const {selection:_0x78dadd}=_0x2fbd94['document'],_0xb16c9a=_0x78dadd['getFirstRange']()['root'];_0x25163d&&!_0x82d789||(_0x25163d=function(_0x7be895,_0x207b76){for(const {item:_0x3d597b}of _0x7be895['createRangeIn'](_0x207b76))if(_0x3d597b['is']('element','footnotesDefinitions'))return _0x3d597b;return null;}(_0x3347bf,_0x3c6723['content']),_0x25163d||=_0x554c6b['_insertEmptyFootnotesDefinitionsContainer'](_0x3347bf,_0xb16c9a));const _0x20bcb9=Array['from'](_0x78dadd['getRanges']())['flatMap'](c),_0x1c0c11=function(_0x2b0cac,_0x436267,_0x4b65fe){const _0x1acab4=Object['create'](null);for(const {item:_0x3a57a0}of _0x2b0cac['createRangeIn'](_0x436267))if(_0x3a57a0['is']('element','footnoteRef')){const _0x423dc3=_0x3a57a0['getAttribute']('footnoteId');if(!_0x4b65fe(_0x423dc3))continue;_0x1acab4[_0x423dc3]||(_0x1acab4[_0x423dc3]=_0xb2ad1e()),_0x2b0cac['setAttribute']('footnoteId',_0x1acab4[_0x423dc3],_0x3a57a0);}return _0x1acab4;}(_0x3347bf,_0x3c6723['content'],_0x5c8042=>{if(!_0x1740f8)return!0x0;return!!_0x554c6b['getFootnote'](_0x5c8042)&&!_0x20bcb9['includes'](_0x5c8042);});for(const [_0x273957,_0x418620]of Object['entries'](_0x3601ca)){const _0x41523d=_0x1c0c11[_0x273957]||_0x273957,_0x260b10=_0x3347bf['createElement']('footnoteDefinition',{'footnoteId':_0x41523d}),_0x28a097=_0x5c618e['data']['htmlProcessor']['toView'](_0x418620);let _0x54e8a6;if(_0x1244b5)_0x54e8a6=_0x5c618e['data']['toModel'](_0x28a097,_0x260b10);else{_0x54e8a6=_0x3347bf['createElement']('footnoteInlineContent');const _0x3f5a39=_0x5c618e['data']['toModel'](_0x28a097,_0x54e8a6);_0x3347bf['insert'](_0x3f5a39,_0x54e8a6);}_0x3347bf['append'](_0x54e8a6,_0x260b10),_0x3347bf['insert'](_0x260b10,_0x25163d,'end');}_0x3601ca=null;});});}}function c(_0x2d59c8){const _0x1a09a9=new Set();for(const {item:_0xf64dc3}of _0x2d59c8)_0xf64dc3['is']('element','footnoteRef')&&_0x1a09a9['add'](_0xf64dc3['getAttribute']('footnoteId'));return Array['from'](_0x1a09a9);}class i extends _0x7cf97c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x565c45}=this,{componentFactory:_0x5392d2}=_0x565c45['ui'];_0x5392d2['add']('insertFootnote',x(_0x565c45,_0x48319d)),_0x5392d2['add']('menuBar:insertFootnote',x(_0x565c45,_0x341efd)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x287808=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3c58d4;for(const _0x165be6 in _0x287808){const _0x17adb2=_0x165be6,_0x4ad6fd=_0x287808[_0x17adb2];if('footnotesLicenseKeyValid'==_0x4ad6fd||'footnotesLicenseKeyInvalid'==_0x4ad6fd||'footnotesLicenseKeyExpired'==_0x4ad6fd||'footnotesLicenseKeyDomainLimit'==_0x4ad6fd||'footnotesLicenseKeyNotAllowed'==_0x4ad6fd||'footnotesLicenseKeyEvaluationLimit'==_0x4ad6fd||'footnotesLicenseKeyTrialLimit'==_0x4ad6fd||'footnotesLicenseKeyUsageLimit'==_0x4ad6fd){delete _0x287808[_0x17adb2],_0x3c58d4=_0x4ad6fd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3c58d4&&_0x287808['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3c58d4&&_0x287808['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3c58d4&&_0x287808['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3c58d4&&_0x287808['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3c58d4&&_0x287808['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3c58d4&&_0x287808['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3c58d4&&_0x287808['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x49e65f,_0x2b7a7e){const _0x49957b=_0x49e65f['commands']['get']('insertFootnote');return _0x138482=>{const {t:t}=_0x138482,_0x3276aa=new _0x2b7a7e(_0x138482),_0x3976c9=_0x3276aa instanceof _0x341efd;return _0x3276aa['bind']('isEnabled')['to'](_0x49957b,'isEnabled'),_0x3276aa['set']({'label':t(_0x3976c9?'Footnote':'Insert\x20footnote'),'icon':_0x2445ed,'tooltip':!0x0}),_0x3276aa['on']('execute',()=>{_0x49957b['execute'](),_0x49e65f['editing']['view']['focus']();}),_0x3276aa;};}class lt extends _0x7cf97c{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x508bf5{['refresh'](){const {editor:_0x340b18}=this,_0x399245=_0x340b18['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x399245,this['value']=_0x399245?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x201935}){const {editor:_0x2f2a92}=this,_0x59dddd=_0x2f2a92['plugins']['get'](f),_0x23e069=_0x59dddd['getFootnotesDefinitionsObjectElement']();_0x23e069&&Q['includes'](_0x201935)&&_0x2f2a92['model']['change'](_0x5aa4bc=>{_0x5aa4bc['setAttribute']('footnotesListStyle',_0x201935,_0x23e069),_0x59dddd['_updateFootnotesCounters'](_0x5aa4bc);});}}class C extends _0x508bf5{['refresh'](){const {editor:_0x2e9a25}=this,_0x994bb0=_0x2e9a25['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x994bb0,this['value']=_0x994bb0?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0xd17fa9}){const {editor:_0x592316}=this,_0x482328=_0x592316['plugins']['get'](f),_0x2dc2ae=_0x482328['getFootnotesDefinitionsObjectElement']();_0x2dc2ae&&Number['isInteger'](_0xd17fa9)&&_0x592316['model']['change'](_0x28325e=>{_0x28325e['setAttribute']('footnotesListStart',_0xd17fa9,_0x2dc2ae),_0x482328['_updateFootnotesCounters'](_0x28325e);});}}class P extends _0x7cf97c{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x355354}=this;_0x355354['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x355354['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x355354['commands']['add']('footnotesStyle',new S(_0x355354)),_0x355354['commands']['add']('footnotesStart',new C(_0x355354)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x84650f}=this,{schema:_0x14e53b}=_0x84650f['model'];_0x14e53b['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x264af2}=this,{conversion:_0x264233,model:_0x3a0ef4}=_0x264af2,{schema:_0x154df0}=_0x3a0ef4;_0x264233['for']('upcast')['add'](_0x9160d6=>{_0x9160d6['on']('element:ol',(_0x5c640e,_0x159c49,_0x430a1d)=>{const _0x495cae=_0x159c49['viewItem'],_0x54e451=_0x159c49['modelCursor']?.['parent'];_0x495cae['hasClass']('footnotes-list')&&_0x54e451?.['is']('element','footnotesDefinitions')&&(function(_0x5b4c65,_0x2b033d,_0x47e054,_0x5a2c0a){if(!_0x5a2c0a['checkAttribute'](_0x2b033d,'footnotesListStart'))return;let _0x3334c3=0x1;const _0x3a231a=_0x47e054['consumable']['consume'](_0x5b4c65,{'attributes':'start'});if(_0x3a231a){const _0x4a730b=Number['parseInt'](_0x5b4c65['getAttribute']('start'),0xa);Number['isNaN'](_0x4a730b)||(_0x3334c3=_0x4a730b);}!_0x3a231a&&_0x2b033d['hasAttribute']('footnotesListStart')||_0x47e054['writer']['setAttribute']('footnotesListStart',_0x3334c3,_0x2b033d);}(_0x495cae,_0x54e451,_0x430a1d,_0x154df0),function(_0x2fb1ee,_0x15f25c,_0x513110,_0x9b3d31){if(!_0x9b3d31['checkAttribute'](_0x15f25c,'footnotesListStyle'))return;let _0x4f9bd2='decimal',_0x593bff=!0x1;if(_0x513110['consumable']['consume'](_0x2fb1ee,{'attributes':'type'})){const _0xe4c2cf={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2fb1ee['getAttribute']('type')];_0xe4c2cf&&(_0x4f9bd2=_0xe4c2cf),_0x593bff=!0x0;}_0x513110['consumable']['consume'](_0x2fb1ee,{'styles':'list-style-type'})&&(_0x4f9bd2=function(_0x46fad3){switch(_0x46fad3){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x46fad3;}}(_0x2fb1ee['getStyle']('list-style-type')),_0x593bff=!0x0),!_0x593bff&&_0x15f25c['hasAttribute']('footnotesListStyle')||_0x513110['writer']['setAttribute']('footnotesListStyle',_0x4f9bd2,_0x15f25c);}(_0x495cae,_0x54e451,_0x430a1d,_0x154df0));});}),_0x264233['for']('downcast')['add'](_0x53081a=>{_0x53081a['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x467c95,_0x58b694,_0x36876a)=>{if(!_0x36876a['consumable']['consume'](_0x58b694['item'],_0x467c95['name']))return;const _0x1f8f51=M(_0x58b694['item'],_0x36876a['mapper']),{attributeNewValue:_0x2159c2}=_0x58b694;null==_0x2159c2||0x1===_0x2159c2?_0x36876a['writer']['removeAttribute']('start',_0x1f8f51):_0x36876a['writer']['setAttribute']('start',String(_0x2159c2),_0x1f8f51);}),_0x53081a['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1002c2,_0x40dd55,_0x369218)=>{if(!_0x369218['consumable']['consume'](_0x40dd55['item'],_0x1002c2['name']))return;const _0x1d5abe=M(_0x40dd55['item'],_0x369218['mapper']),{attributeNewValue:_0x38f711}=_0x40dd55;_0x38f711&&'decimal'!==_0x38f711?_0x369218['writer']['setStyle']('list-style-type',_0x38f711,_0x1d5abe):_0x369218['writer']['removeStyle']('list-style-type',_0x1d5abe);});});}['_definePostfixer'](){const {editor:_0xb51b62}=this,{model:_0xe5da04}=_0xb51b62,_0x26f3ed=_0xb51b62['plugins']['get'](f),_0x8d04b1=this['_getDefaultListStyle'](),_0x50d7b6=this['_getDefaultStartIndex']();_0xe5da04['document']['registerPostFixer'](_0x58d4c0=>{const _0x10bf49=_0xe5da04['document']['differ']['getChanges']();let _0x1eab44=!0x1;for(const _0x2be705 of _0x10bf49){if('insert'!==_0x2be705['type']||'$text'===_0x2be705['name'])continue;const _0x587f51=_0xe5da04['createRangeOn'](_0x2be705['position']['nodeAfter']);for(const _0x5d5c0f of _0x587f51['getItems']())_0x5d5c0f['is']('element','footnotesDefinitions')&&(!_0x5d5c0f['hasAttribute']('footnotesListStart')&&_0xe5da04['schema']['checkAttribute'](_0x5d5c0f,'footnotesListStart')&&(_0x58d4c0['setAttribute']('footnotesListStart',_0x50d7b6,_0x5d5c0f),_0x1eab44=!0x0),!_0x5d5c0f['hasAttribute']('footnotesListStyle')&&_0xe5da04['schema']['checkAttribute'](_0x5d5c0f,'footnotesListStyle')&&(_0x58d4c0['setAttribute']('footnotesListStyle',_0x8d04b1,_0x5d5c0f),_0x1eab44=!0x0));}return _0x1eab44&&_0x26f3ed['_updateFootnotesCounters'](_0x58d4c0),_0x1eab44;});}['_defineFormatter'](){const {editor:_0x13d669}=this;_0x13d669['plugins']['get'](f)['setFootnoteFormatter'](_0x47b5b3=>this['_formatFootnoteListValue'](_0x47b5b3));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1daa0b,value:_0x2ec1db,digits:_0x3590f0}){const _0x1f7e1b=_0x1daa0b['getAttribute']('footnotesListStyle'),_0x1f3aed=_0x1daa0b['getAttribute']('footnotesListStart'),_0x7f9bd0=Math['floor'](_0x2ec1db)+(_0x1f3aed??0x1)-0x1;switch(_0x1f7e1b){case'decimal-leading-zero':return function(_0x53e2e3,_0x3c157e){return String(_0x53e2e3)['padStart'](_0x3c157e,'0');}(_0x7f9bd0,Math['max'](0x2,_0x3590f0));case'lower-alpha':case'lower-latin':return N(_0x7f9bd0,!0x1);case'upper-alpha':case'upper-latin':return N(_0x7f9bd0,!0x0);case'lower-roman':return X(_0x7f9bd0,!0x1);case'upper-roman':return X(_0x7f9bd0,!0x0);default:return String(_0x7f9bd0);}}}function M(_0xeeb81d,_0x40a33e){const _0x44be53=_0x40a33e['toViewElement'](_0xeeb81d);return Array['from'](_0x44be53['getChildren']())['find'](_0x1bd821=>_0x1bd821['is']('element','ol')&&_0x1bd821['hasClass']('footnotes-list'));}function N(_0x492ddc,_0x5790eb){let _0x2abb3c='',_0x497fc6=_0x492ddc;for(;_0x497fc6>0x0;){const _0x421135=(_0x497fc6-0x1)%0x1a;_0x2abb3c=String['fromCharCode'](0x61+_0x421135)+_0x2abb3c,_0x497fc6=Math['floor']((_0x497fc6-0x1)/0x1a);}return _0x5790eb?_0x2abb3c['toUpperCase']():_0x2abb3c;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0xca0d8f,_0x19c0dc){let _0x4ae0ac='',_0x35b02d=_0xca0d8f;for(const {value:_0x13d728,numeral:_0x27cbdd}of V)for(;_0x35b02d>=_0x13d728;)_0x4ae0ac+=_0x27cbdd,_0x35b02d-=_0x13d728;return _0x19c0dc?_0x4ae0ac:_0x4ae0ac['toLowerCase']();}class H extends _0x1e6c01{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x3409d7();['focusCycler'];constructor(_0x339404,{styleButtonViews:_0x164063,styleGridAriaLabel:_0x21fe90}){super(_0x339404),(this['focusCycler']=new _0x453729({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x164063,_0x21fe90),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x874f33 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x874f33['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x1e63b8=_0x42a236=>_0x42a236['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1e63b8),this['keystrokes']['set']('arrowleft',_0x1e63b8),this['keystrokes']['set']('arrowup',_0x1e63b8),this['keystrokes']['set']('arrowdown',_0x1e63b8);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x41f25b,_0x57f119){const _0x208144=new _0x1e6c01(this['locale']);return _0x208144['children']=_0x208144['createCollection'](),_0x208144['children']['addMany'](_0x41f25b),_0x208144['setTemplate']({'tag':'div','attributes':{'aria-label':_0x57f119,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x208144['children']}),_0x208144['children']['delegate']('execute')['to'](this),_0x208144['focus']=function(){for(const _0x3f3872 of this['children'])if(_0x3f3872 instanceof _0x48319d&&_0x3f3872['isOn'])return void _0x3f3872['focus']();this['children']['first']['focus']();},_0x208144['focusTracker']=new ot(),_0x208144['keystrokes']=new rt(),_0x208144['render'](),_0x208144['keystrokes']['listenTo'](_0x208144['element']),this['children']['add'](_0x208144),_0x208144;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xc92f4e=this['_createStartIndexPropertyView'](),_0x1c3da3=[_0xc92f4e],_0x3484f7=new st(this['locale'],_0x1c3da3);return _0x3484f7['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3484f7['buttonView']['bind']('isEnabled')['toMany'](_0x1c3da3,'isEnabled',(..._0xac1ff3)=>_0xac1ff3['some'](_0x26e15c=>_0x26e15c)),_0x3484f7['buttonView']['on']('change:isEnabled',(_0x526461,_0x57648a,_0x13d668)=>{_0x13d668||(_0x3484f7['isCollapsed']=!0x0);}),this['children']['add'](_0x3484f7),[_0xc92f4e,_0x3484f7];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xa64885=new it(this['locale'],et);return _0xa64885['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xa64885['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xa64885['fieldView']['on']('input',()=>{const _0x18a2fb=_0xa64885['fieldView']['element'],_0x20255e=_0x18a2fb['valueAsNumber'];Number['isNaN'](_0x20255e)?_0xa64885['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x18a2fb['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x20255e}):_0xa64885['errorText']=t(_0x20255e<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xa64885;}}class j extends _0x7cf97c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4d12df,_0xd701c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x417540}=this,{componentFactory:_0x3a8a66}=_0x417540['ui'];_0x417540['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3a8a66['add']('footnotesStyle',function(_0x90f032){return _0x10616c=>{const {t:t}=_0x10616c,_0x37a2d2=_0x90f032['commands']['get']('footnotesStyle'),_0x3e59bf=_0xc55082(_0x10616c),{buttonView:_0x1fc301}=_0x3e59bf;return _0x3e59bf['class']='ck-footnotes-styles-dropdown',_0x3e59bf['bind']('isEnabled')['to'](_0x37a2d2,'isEnabled'),_0x1fc301['set']({'label':t('Footnotes\x20style'),'icon':_0x2445ed,'tooltip':!0x0}),_0x3e59bf['once']('change:isOpen',()=>{const _0x2415ab=function({editor:_0x43d261,dropdownView:_0x54c37d}){const {t:t}=_0x43d261['locale'],_0x2c55ce=t('Footnotes\x20definitions\x20styles'),_0x3fade3=function(_0xe6b1a2){const t=_0xe6b1a2['locale']['t'],_0x2f16f2=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xe0b9cb},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x315e77},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5e3ec5},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2e1c7c},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3238b6},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4b2dda}];return _0x2f16f2['map'](function(_0x4081b4){const _0x14e1b3=_0x4081b4['locale'];return({label:_0x4b9597,icon:_0x569cb2,tooltip:_0x2cd6fd,style:_0x3bc094})=>{const _0x56cbcc=_0x4081b4['commands']['get']('footnotesStyle'),_0x2dbeed=new _0x48319d(_0x14e1b3);return _0x2dbeed['set']({'label':_0x4b9597,'icon':_0x569cb2,'tooltip':_0x2cd6fd}),_0x2dbeed['bind']('isOn')['to'](_0x56cbcc,'value',_0xad9363=>_0xad9363===_0x3bc094),_0x2dbeed['bind']('isEnabled')['to'](_0x56cbcc,'isEnabled'),_0x2dbeed['on']('execute',()=>{_0x4081b4['execute']('footnotesStyle',{'value':_0x3bc094}),_0x4081b4['editing']['view']['focus']();}),_0x2dbeed;};}(_0xe6b1a2));}(_0x43d261),_0x2fdf4a=new H(_0x43d261['locale'],{'styleGridAriaLabel':_0x2c55ce,'styleButtonViews':_0x3fade3}),_0x3ca480=_0x43d261['commands']['get']('footnotesStart');return _0x2fdf4a['startIndexFieldView']['bind']('isEnabled')['to'](_0x3ca480),_0x2fdf4a['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3ca480),_0x2fdf4a['on']('footnotesListStart',(_0x154cac,_0x22a6e9)=>{_0x43d261['execute']('footnotesStart',{'value':_0x22a6e9['startIndex']});}),_0x2fdf4a['delegate']('execute')['to'](_0x54c37d),_0x2fdf4a;}({'editor':_0x90f032,'dropdownView':_0x3e59bf});_0x3e59bf['panelView']['children']['add'](_0x2415ab);}),_0x3e59bf;};}(_0x417540));}['afterInit'](){const {editor:_0x3dd72f}=this,{t:t}=_0x3dd72f['locale'],_0x40f070=_0x3dd72f['plugins']['get'](_0xd701c),{defaultPositions:_0x3b6340}=_0x2bfacc;_0x40f070['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3dd72f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x26d4b5=>{let _0x159a02=_0x26d4b5['getFirstPosition']()?.['parent'];return _0x159a02?.['is']('$text')&&(_0x159a02=_0x159a02['parent']),_0x159a02?.['is']('element')?_0x159a02['findAncestor'](J):null;},'positions':[_0x3b6340['southArrowNorth'],_0x3b6340['southArrowNorthMiddleWest'],_0x3b6340['southArrowNorthMiddleEast'],_0x3b6340['southArrowNorthWest'],_0x3b6340['southArrowNorthEast'],_0x3b6340['northArrowSouth'],_0x3b6340['northArrowSouthMiddleWest'],_0x3b6340['northArrowSouthMiddleEast'],_0x3b6340['northArrowSouthWest'],_0x3b6340['northArrowSouthEast'],_0x3b6340['viewportStickyNorth']]});}}class ft extends _0x7cf97c{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
@@ -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':_0x2b694e=>0x1!=_0x2b694e}};
23
+ export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x32bc63=>0x1!=_0x32bc63}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4e853b=>{const {af:{dictionary:_0x35f72f,getPluralForm:_0x4d2564}}={'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':_0x5c6358=>0x1!=_0x5c6358}};_0x4e853b['af']||={'dictionary':{},'getPluralForm':null},_0x4e853b['af']['dictionary']=Object['assign'](_0x4e853b['af']['dictionary'],_0x35f72f),_0x4e853b['af']['getPluralForm']=_0x4d2564;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x727688=>{const {af:{dictionary:_0x3aa5c8,getPluralForm:_0x18ac81}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x237236=>0x1!=_0x237236}};_0x727688['af']||={'dictionary':{},'getPluralForm':null},_0x727688['af']['dictionary']=Object['assign'](_0x727688['af']['dictionary'],_0x3aa5c8),_0x727688['af']['getPluralForm']=_0x18ac81;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x11bfc1=>0x0==_0x11bfc1?0x0:0x1==_0x11bfc1?0x1:0x2==_0x11bfc1?0x2:_0x11bfc1%0x64>=0x3&&_0x11bfc1%0x64<=0xa?0x3:_0x11bfc1%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':_0x518dca=>0x0==_0x518dca?0x0:0x1==_0x518dca?0x1:0x2==_0x518dca?0x2:_0x518dca%0x64>=0x3&&_0x518dca%0x64<=0xa?0x3:_0x518dca%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4a3128=>{const {ar:{dictionary:_0x16d151,getPluralForm:_0x18c47b}}={'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':_0x5d1c3b=>0x0==_0x5d1c3b?0x0:0x1==_0x5d1c3b?0x1:0x2==_0x5d1c3b?0x2:_0x5d1c3b%0x64>=0x3&&_0x5d1c3b%0x64<=0xa?0x3:_0x5d1c3b%0x64>=0xb?0x4:0x5}};_0x4a3128['ar']||={'dictionary':{},'getPluralForm':null},_0x4a3128['ar']['dictionary']=Object['assign'](_0x4a3128['ar']['dictionary'],_0x16d151),_0x4a3128['ar']['getPluralForm']=_0x18c47b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3822e8=>{const {ar:{dictionary:_0x2b0e77,getPluralForm:_0x4dd30f}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x27ec2a=>0x0==_0x27ec2a?0x0:0x1==_0x27ec2a?0x1:0x2==_0x27ec2a?0x2:_0x27ec2a%0x64>=0x3&&_0x27ec2a%0x64<=0xa?0x3:_0x27ec2a%0x64>=0xb?0x4:0x5}};_0x3822e8['ar']||={'dictionary':{},'getPluralForm':null},_0x3822e8['ar']['dictionary']=Object['assign'](_0x3822e8['ar']['dictionary'],_0x2b0e77),_0x3822e8['ar']['getPluralForm']=_0x4dd30f;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0xeb60ce=>0x1!=_0xeb60ce}};
23
+ export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x45640a=>0x1!=_0x45640a}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x12b014=>{const {ast:{dictionary:_0x561816,getPluralForm:_0x3f9730}}={'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':_0x42d823=>0x1!=_0x42d823}};_0x12b014['ast']||={'dictionary':{},'getPluralForm':null},_0x12b014['ast']['dictionary']=Object['assign'](_0x12b014['ast']['dictionary'],_0x561816),_0x12b014['ast']['getPluralForm']=_0x3f9730;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x1d0c8f=>{const {ast:{dictionary:_0xb8ebd8,getPluralForm:_0x579cfc}}={'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0xb78078=>0x1!=_0xb78078}};_0x1d0c8f['ast']||={'dictionary':{},'getPluralForm':null},_0x1d0c8f['ast']['dictionary']=Object['assign'](_0x1d0c8f['ast']['dictionary'],_0xb8ebd8),_0x1d0c8f['ast']['getPluralForm']=_0x579cfc;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x41b2e7=>0x1!=_0x41b2e7}};
23
+ export default{'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x5a85d5=>0x1!=_0x5a85d5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xf9254f=>{const {az:{dictionary:_0x38cb7b,getPluralForm:_0x41dd8e}}={'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':_0x34709f=>0x1!=_0x34709f}};_0xf9254f['az']||={'dictionary':{},'getPluralForm':null},_0xf9254f['az']['dictionary']=Object['assign'](_0xf9254f['az']['dictionary'],_0x38cb7b),_0xf9254f['az']['getPluralForm']=_0x41dd8e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x23959b=>{const {az:{dictionary:_0x4db4f6,getPluralForm:_0x16bfd0}}={'az':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x59ae45=>0x1!=_0x59ae45}};_0x23959b['az']||={'dictionary':{},'getPluralForm':null},_0x23959b['az']['dictionary']=Object['assign'](_0x23959b['az']['dictionary'],_0x4db4f6),_0x23959b['az']['getPluralForm']=_0x16bfd0;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -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':_0x38cc0b=>_0x38cc0b%0xa==0x1&&_0x38cc0b%0x64!=0xb?0x0:_0x38cc0b%0xa>=0x2&&_0x38cc0b%0xa<=0x4&&(_0x38cc0b%0x64<0xa||_0x38cc0b%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':_0x45c682=>_0x45c682%0xa==0x1&&_0x45c682%0x64!=0xb?0x0:_0x45c682%0xa>=0x2&&_0x45c682%0xa<=0x4&&(_0x45c682%0x64<0xa||_0x45c682%0x64>=0x14)?0x1:0x2}};