@ckeditor/ckeditor5-footnotes 48.1.0-alpha.8 → 48.8.1-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/dist/index-content.css +1 -0
  2. package/dist/index.css +1 -0
  3. package/dist/index.js +1 -1
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/package.json +9 -9
@@ -26,6 +26,7 @@
26
26
  width:min(30%, 350px);
27
27
  height:1px;
28
28
  margin:0 0 1em;
29
+ display:block;
29
30
  }
30
31
 
31
32
  [dir="rtl"] :is(.ck-content .footnotes-divider){
package/dist/index.css CHANGED
@@ -27,6 +27,7 @@
27
27
  width: min(30%, 350px);
28
28
  height: 1px;
29
29
  margin: 0 0 1em;
30
+ display: block;
30
31
  }
31
32
 
32
33
  [dir="rtl"] :is(.ck-content .footnotes-divider) {
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3e2d2d,Command as _0x4e2b22}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x2dc9e7,isWidget as _0xf7271c,toWidgetEditable as _0xeda014,WidgetToolbarRepository as _0x57e8fd}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x48e5f9,logWarning as _0x9ebe05,FocusTracker as _0x6f3d6b,KeystrokeHandler as _0x1f795f,global as _0x4d2e7b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x10feb1,ClickObserver as _0x195b55}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x5f454a}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x5af664,ButtonView as _0x5c970f,View as _0x1bdebe,ViewCollection as _0x445dd0,FocusCycler as _0x497d83,addKeyboardHandlingForGrid as _0x5d6e5d,CollapsibleView as _0x43fde6,LabeledFieldView as _0x86f1cb,createLabeledInputNumber as _0x1f6536,ContextualBalloon as _0x47c7c2,BalloonPanelView as _0x56b84f,createDropdown as _0x355f2a}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x3854b5,IconListStyleDecimal as _0x3e62d2,IconListStyleDecimalLeadingZero as _0x5515f3,IconListStyleLowerRoman as _0x347af2,IconListStyleUpperRoman as _0x358d06,IconListStyleLowerLatin as _0x40fb3c,IconListStyleUpperLatin as _0x2113f6,IconListStyleArabicIndic as _0x5cd40e}from'@ckeditor/ckeditor5-icons/dist/index.js';class R{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x3cb6a5,_0x1899a1){this['_model']=_0x3cb6a5,this['_elementName']=_0x1899a1['elementName'],this['_getElementKey']=_0x1899a1['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x4083f9){const _0x34902b=new Set(),_0x1ca57b=new Map();for(const _0x3aa92d of _0x4083f9){if('insert'===_0x3aa92d['type']&&'$text'!==_0x3aa92d['name']&&_0x3aa92d['position']['nodeAfter']){const _0x31c07b=this['_model']['createRangeOn'](_0x3aa92d['position']['nodeAfter']);for(const _0x468987 of _0x31c07b['getItems']()){if(!_0x468987['is']('element',this['_elementName']))continue;const _0xe43686=this['_getElementKey'](_0x468987);_0x1ca57b['has'](_0xe43686)||_0x1ca57b['set'](_0xe43686,[]),_0x1ca57b['get'](_0xe43686)['push'](_0x468987);}}if('remove'===_0x3aa92d['type']&&_0x3aa92d['name']===this['_elementName']){const _0xff520=this['_getElementKey']({'getAttribute':_0x19683a=>_0x3aa92d['attributes']['get'](_0x19683a)});_0x34902b['add'](_0xff520);}}for(const [_0x3e5bd2,_0x1ba0f7]of this['_trackedElements'])'$graveyard'===_0x1ba0f7['root']['rootName']&&_0x34902b['add'](_0x3e5bd2);for(const _0x5ba6f3 of _0x34902b)this['_trackedElements']['delete'](_0x5ba6f3);for(const [_0x3e433c,_0x3f4e08]of _0x1ca57b)this['_trackedElements']['set'](_0x3e433c,_0x3f4e08[_0x3f4e08['length']-0x1]);const _0x563abf=new Set();for(const [_0x38bd93,_0x2b619c]of _0x1ca57b)_0x34902b['has'](_0x38bd93)&&(_0x563abf['add'](_0x2b619c[0x0]),_0x2b619c['length']>0x1?_0x1ca57b['set'](_0x38bd93,_0x2b619c['slice'](0x1)):_0x1ca57b['delete'](_0x38bd93),_0x34902b['delete'](_0x38bd93));return{'removed':Array['from'](_0x34902b),'inserted':Array['from'](_0x1ca57b['values']())['flat'](),'moved':Array['from'](_0x563abf)};}}class K extends _0x3e2d2d{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x543bda){super(_0x543bda),this['_footnoteDefsContainerTracker']=new R(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x24f470=>_0x24f470['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new R(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x30a58a=>_0x30a58a['getAttribute']('footnoteId')});}['init'](){const {editor:_0x59915c}=this,{model:_0x3e9433,data:_0x5dc936}=_0x59915c;_0x3e9433['document']['registerPostFixer'](_0x15c2a3=>{const _0x185e81=_0x3e9433['document']['differ']['getChanges']();let _0x3e692b=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x15c2a3,_0x185e81)&&(_0x3e692b=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x15c2a3,_0x185e81)&&(_0x3e692b=!0x0),this['_handleFootnoteReferencesChanges'](_0x15c2a3,_0x185e81)&&(_0x3e692b=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x15c2a3)&&(_0x3e692b=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x15c2a3)&&(_0x3e692b=!0x0),this['_sortFootnoteDefinitions'](_0x15c2a3)&&(_0x3e692b=!0x0),_0x3e692b;}),this['listenTo'](_0x3e9433['document'],'change:data',()=>{_0x3e9433['enqueueChange']({'isUndoable':!0x1},_0x5b7ed7=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x5b7ed7);});},{'priority':'low'}),this['listenTo'](_0x5dc936,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4374ce){return this['_footnotes']['find'](_0x11bbb0=>_0x11bbb0['id']===_0x4374ce)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0xbff220){this['_footnoteFormatter']=_0xbff220;}['_updateFootnotesCounters'](_0x23e2aa,_0x157a96=0x0){let _0x5e1f12=!0x1;for(let _0x4adfe3=_0x157a96;_0x4adfe3<this['_footnotes']['length'];_0x4adfe3++)this['_updateFootnoteRefCounter'](_0x23e2aa,_0x4adfe3)&&(_0x5e1f12=!0x0);return _0x5e1f12;}['_insertEmptyFootnotesDefinitionsContainer'](_0x1485fc,_0x3c5e95){const _0x4302ef=_0x1485fc['createElement']('footnotesDefinitions',{});return _0x1485fc['append'](_0x4302ef,_0x3c5e95),this['_footnotesDefinitions']=_0x4302ef,_0x4302ef;}['_ensureFootnotesDefinitionsContainerExists'](_0x5bd572){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x5a2fec=this['_footnotes'][0x0]['reference']['root'],_0x586bf9=this['_insertEmptyFootnotesDefinitionsContainer'](_0x5bd572,_0x5a2fec);for(const _0x1ae807 of this['_footnotes'])_0x1ae807['definition']['parent']||_0x5bd572['insert'](_0x1ae807['definition'],_0x586bf9,'end');this['_updateFootnotesCounters'](_0x5bd572);}['_handleFootnotesDefinitionsObjectChanges'](_0x3e1158,_0x4a1b70){let _0x1d9ad1=!0x1;const {inserted:_0x21834e,removed:_0x16ba04,moved:_0x59cce5}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4a1b70);if(_0x59cce5['length']&&(this['_footnotesDefinitions']=_0x59cce5[0x0]),_0x21834e['length']){if(_0x21834e['length']>0x1||this['_footnotesDefinitions']&&_0x21834e['some'](_0x5de26b=>_0x5de26b!==this['_footnotesDefinitions'])){const _0x27208f=_0x3e1158['createElement']('footnotesDefinitions',{}),_0x3805cc=[];this['_footnotesDefinitions']&&_0x3805cc['push'](this['_footnotesDefinitions']),_0x3805cc['push'](..._0x21834e),_0x3e1158['insert'](_0x27208f,_0x3805cc[0x0],'before');for(const _0x514ded of _0x3805cc)_0x3e1158['move'](_0x3e1158['createRangeIn'](_0x514ded),_0x3e1158['createPositionAt'](_0x27208f,'end')),_0x3e1158['remove'](_0x514ded);this['_footnotesDefinitions']=_0x27208f,this['_updateFootnotesCounters'](_0x3e1158),_0x1d9ad1=!0x0;}else this['_footnotesDefinitions']=_0x21834e[0x0];}if(_0x16ba04['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5e96cf of this['_footnotes'])_0x3e1158['remove'](_0x5e96cf['reference']),_0x1d9ad1=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x1d9ad1;}['_handleFootnoteDefinitionsChanges'](_0x1dc39b,_0x52b350){let _0x12cd48=!0x1;const _0x147bfb=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x544964,moved:_0x273c1c}=this['_footnoteDefsTracker']['getChanges'](_0x52b350);for(const _0x1167be of[..._0x273c1c,..._0x544964]){const _0x28dc26=_0x1167be['getAttribute']('footnoteId'),_0x198b77=this['getFootnote'](_0x28dc26);_0x198b77&&(_0x198b77['definition']=_0x1167be),j(_0x1dc39b,_0x147bfb,_0x1167be)&&(_0x12cd48=!0x0);}return _0x12cd48;}['_handleFootnoteReferencesChanges'](_0x379e86,_0x4a21f7){let _0x36eb39=!0x1;const {removed:_0x433761,inserted:_0x1ad944,moved:_0x2e2073}=this['_footnoteRefsTracker']['getChanges'](_0x4a21f7);for(const _0x3663a1 of _0x433761)this['_handleRemoveFootnoteReferenceById'](_0x379e86,_0x3663a1)&&(_0x36eb39=!0x0);for(const _0x35232a of _0x1ad944)this['_handleInsertedFootnoteReference'](_0x379e86,_0x35232a)&&(_0x36eb39=!0x0);for(const _0xd623f6 of _0x2e2073)this['_handleMovedFootnoteReference'](_0x379e86,_0xd623f6)&&(_0x36eb39=!0x0);return _0x36eb39;}['_handleFootnotesDefinitionsObjectSync'](_0xb3d836){if(!this['_footnotesDefinitions'])return!0x1;let _0x424041=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x26fb1f=[];for(const _0x497a6b of this['_footnotesDefinitions']['getChildren']()){const _0x16b7a9=_0x497a6b['getAttribute']('footnoteId');this['getFootnote'](_0x16b7a9)||(_0x26fb1f['unshift'](_0x497a6b),_0x424041=!0x0);}for(const _0x380cd2 of _0x26fb1f)_0xb3d836['remove'](_0x380cd2);}const _0x18b1e7=new Set(),_0x2ff3e3=[];for(const _0x1798e7 of this['_footnotesDefinitions']['getChildren']()){const _0x3e21fa=_0x1798e7['getAttribute']('footnoteId');_0x18b1e7['has'](_0x3e21fa)?(_0x2ff3e3['unshift'](_0x1798e7),_0x424041=!0x0):_0x18b1e7['add'](_0x3e21fa);}for(const _0x143e6d of _0x2ff3e3)_0xb3d836['remove'](_0x143e6d);return this['_footnotesDefinitions']['childCount']||(_0xb3d836['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x424041=!0x0),_0x424041;}['_handleInsertedFootnoteReference'](_0x591f80,_0x1edea2){if(this['_footnotes']['find'](_0x3c6524=>_0x3c6524['reference']===_0x1edea2))return!0x1;let _0x442665=!0x1;const _0x2de462=_0x1edea2['getAttribute']('footnoteId'),_0x10ca47=this['_footnotes']['findIndex'](_0x32b1b8=>_0x32b1b8['id']===_0x2de462);-0x1!==_0x10ca47&&(_0x591f80['remove'](this['_footnotes'][_0x10ca47]['reference']),this['_footnotes']['splice'](_0x10ca47,0x1),_0x442665=!0x0);let _0x1c1199=this['_footnotesDefinitions']?function(_0x15d5c8,_0x512e8e){for(const _0x14f3af of _0x15d5c8['getChildren']())if(_0x14f3af['getAttribute']('footnoteId')===_0x512e8e)return _0x14f3af;return null;}(this['_footnotesDefinitions'],_0x2de462):null;_0x1c1199||(_0x1c1199=_0x591f80['createElement']('footnoteDefinition',{'footnoteId':_0x2de462}),this['_footnotesDefinitions']&&(_0x591f80['insert'](_0x1c1199,this['_footnotesDefinitions'],'end'),_0x442665=!0x0));const _0x430abb={'id':_0x2de462,'reference':_0x1edea2,'definition':_0x1c1199},_0x27ad83=T(this['editor']['model'],this['_footnotes'],_0x1edea2);this['_footnotes']['splice'](_0x27ad83,0x0,_0x430abb);let _0x556ada=_0x27ad83;return-0x1!==_0x10ca47&&(_0x556ada=Math['min'](_0x27ad83,_0x10ca47)),this['_updateFootnotesCounters'](_0x591f80,_0x556ada)&&(_0x442665=!0x0),_0x442665;}['_handleRemoveFootnoteReferenceById'](_0x16b74a,_0x5ebea9){const _0x3dbf18=this['_footnotes']['findIndex'](_0x1b28fb=>_0x1b28fb['id']===_0x5ebea9);if(-0x1===_0x3dbf18)return!0x1;let _0x186236=!0x1;const _0x5dd39e=this['_footnotes'][_0x3dbf18];return'$graveyard'!==_0x5dd39e['definition']['root']['rootName']&&(_0x16b74a['remove'](_0x5dd39e['definition']),_0x186236=!0x0),this['_footnotes']['splice'](_0x3dbf18,0x1),this['_updateFootnotesCounters'](_0x16b74a,_0x3dbf18)&&(_0x186236=!0x0),_0x186236;}['_handleMovedFootnoteReference'](_0x28ff5,_0x986782){const _0x5835b9=_0x986782['getAttribute']('footnoteId'),_0x1cd993=this['_footnotes']['findIndex'](_0x20c0ba=>_0x20c0ba['id']===_0x5835b9),_0x11d872=this['_footnotes'][_0x1cd993];let _0x50d392=!0x1;_0x11d872['reference']=_0x986782,this['_footnotes']['splice'](_0x1cd993,0x1);const _0x5dc984=T(this['editor']['model'],this['_footnotes'],_0x986782);return this['_footnotes']['splice'](_0x5dc984,0x0,_0x11d872),this['_updateFootnotesCounters'](_0x28ff5,Math['min'](_0x1cd993,_0x5dc984))&&(_0x50d392=!0x0),_0x50d392;}['_updateFootnoteRefCounter'](_0x5b003d,_0xdc50d3){if(!this['_footnotesDefinitions'])return!0x1;const _0x222b17=this['_footnotes'][_0xdc50d3];let _0x29390a;return _0x29390a=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x222b17,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0xdc50d3+0x1}):String(_0xdc50d3+0x1),_0x222b17['reference']['getAttribute']('footnoteCounter')!=_0x29390a&&(_0x5b003d['setAttribute']('footnoteCounter',_0x29390a,_0x222b17['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3b28b1){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0xe128b8,_0x17b7e4){if(_0xe128b8['length']!==_0x17b7e4['length'])return!0x1;for(let _0x2d7227=0x0;_0x2d7227<_0xe128b8['length'];_0x2d7227++)if(_0xe128b8[_0x2d7227]!==_0x17b7e4[_0x2d7227])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5bca1d=>_0x5bca1d['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x5161aa=>_0x5161aa['getAttribute']('footnoteId'))))return!0x1;let _0x4c4713=!0x1;for(let _0x2414d5=0x0;_0x2414d5<this['_footnotes']['length'];_0x2414d5++){const _0x37909e=this['_footnotes'][_0x2414d5],_0x5491cf=_0x3b28b1['createPositionBefore'](_0x37909e['definition']),_0x4bc59d=_0x3b28b1['createPositionAt'](this['_footnotesDefinitions'],_0x2414d5);_0x5491cf['isEqual'](_0x4bc59d)||(_0x3b28b1['move'](_0x3b28b1['createRangeOn'](_0x37909e['definition']),_0x4bc59d),_0x4c4713=!0x0);}return _0x4c4713;}['_ensureFootnotesReferencesHaveProperOrder'](_0x441f6b){if(!this['_footnotes']['length'])return!0x1;const {model:_0x59736e}=this['editor'];let _0x5270a1=!0x1;for(let _0xcfb5b8=0x0;_0xcfb5b8<this['_footnotes']['length']-0x1;_0xcfb5b8++){const _0x1c9ba2=this['_footnotes'][_0xcfb5b8],_0x20f796=this['_footnotes'][_0xcfb5b8+0x1],_0x3fefd0=_0x59736e['createPositionBefore'](_0x1c9ba2['reference']),_0x5eda95=_0x59736e['createPositionBefore'](_0x20f796['reference']);'after'===_0x3fefd0['compareWith'](_0x5eda95)&&(this['_handleMovedFootnoteReference'](_0x441f6b,_0x1c9ba2['reference']),_0xcfb5b8=-0x1,_0x5270a1=!0x0);}return _0x5270a1;}}function j(_0x3b2fdd,_0x53be0e,_0x2eab3d){if(_0x2eab3d['childCount'])return!0x1;const _0x5e54f5=_0x53be0e?'paragraph':'footnoteInlineContent';return _0x3b2fdd['insert'](_0x3b2fdd['createElement'](_0x5e54f5),_0x2eab3d),!0x0;}function T(_0x34a6f0,_0x1f1e36,_0x5665fb){if(0x0===_0x1f1e36['length'])return 0x0;const _0x469017=_0x34a6f0['createPositionBefore'](_0x5665fb);for(let _0x34642b=0x0;_0x34642b<_0x1f1e36['length'];_0x34642b++){const _0x2332bb=_0x1f1e36[_0x34642b],_0x3a481a=_0x34a6f0['createPositionBefore'](_0x2332bb['reference']);if('before'===_0x469017['compareWith'](_0x3a481a))return _0x34642b;}const _0x41b45a=_0x5665fb['root'];let _0x26a96c=-0x1;for(let _0xed0725=_0x1f1e36['length']-0x1;_0xed0725>=0x0;_0xed0725--)if(_0x1f1e36[_0xed0725]['reference']['root']===_0x41b45a){_0x26a96c=_0xed0725;break;}if(-0x1!==_0x26a96c)return _0x26a96c+0x1;const _0x358204=_0x34a6f0['document']['getRootNames'](),_0x2b51cf=_0x358204['indexOf'](_0x41b45a['rootName']),_0x305204=_0x358204[_0x2b51cf+0x1];if(_0x305204){for(let _0x42e6d7=0x0;_0x42e6d7<_0x1f1e36['length'];_0x42e6d7++)if(_0x1f1e36[_0x42e6d7]['reference']['root']['rootName']===_0x305204)return _0x42e6d7;}return _0x1f1e36['length'];}class V extends _0x4e2b22{['refresh'](){const _0x5b206f=this['editor']['model']['document']['selection'],_0x177e20=this['_getPositionToInsertFootnote'](_0x5b206f);this['isEnabled']=!!_0x177e20;}['execute'](_0x51e0f9){const {editor:_0x39f771}=this,{model:_0x57b5bf}=_0x39f771,{selection:_0xca4a4e}=_0x57b5bf['document'],_0x5d5c45=this['_getPositionToInsertFootnote'](_0xca4a4e);if(!_0x5d5c45)return;const _0x554c41=_0x39f771['plugins']['get']('FootnotesEditing'),_0x877028=_0x51e0f9?.['footnoteId']??_0x48e5f9();!function(_0x4e4eb8){return'string'==typeof _0x4e4eb8&&_0x4e4eb8['length']>0x0&&!/\s/['test'](_0x4e4eb8)&&!/^\d/['test'](_0x4e4eb8);}(_0x877028)?_0x9ebe05('insert-footnote-command-executed-with-invalid-id'):(_0x57b5bf['change'](_0x1511b1=>{const _0x3b2f5b=_0x1511b1['createElement']('footnoteRef',{'footnoteId':_0x877028});_0x57b5bf['insertObject'](_0x3b2f5b,_0x5d5c45,null);}),_0x554c41['_moveSelectionToFootnoteDefinition'](_0x877028));}['_getPositionToInsertFootnote'](_0x104994){const {model:_0x5f277b}=this['editor'],{schema:_0x3b4d3e}=_0x5f277b,_0xaf8bdc=_0x104994['getFirstRange']();for(const _0x208043 of _0xaf8bdc['getItems']())if(_0x3b4d3e['isBlock'](_0x208043)||_0x3b4d3e['isObject'](_0x208043))return null;const _0x451273=_0xaf8bdc['end'];return _0x3b4d3e['checkChild'](_0x451273,'footnoteRef')?_0x451273:null;}}class $ extends _0x3e2d2d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x313f48}=this;_0x313f48['config']['define']('footnotes.multiBlock',!0x0),_0x313f48['commands']['add']('insertFootnote',new V(_0x313f48)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x327797){const _0x1eee70=_0x494036([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]),_0xca76a8=0x47a28506,_0x39baf2=0x47a50cf6^_0xca76a8,_0x519fa0=window[_0x494036([0x44,0x61,0x74,0x65])][_0x494036([0x6e,0x6f,0x77])](),_0x18b91d=_0x327797[_0x494036([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1e2f20=new window[(_0x494036([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ca1db=>{_0x18b91d[_0x494036([0x6f,0x6e,0x63,0x65])](_0x494036([0x72,0x65,0x61,0x64,0x79]),_0x2ca1db);}),_0x488a71={[_0x494036([0x6b,0x74,0x79])]:_0x494036([0x45,0x43]),[_0x494036([0x75,0x73,0x65])]:_0x494036([0x73,0x69,0x67]),[_0x494036([0x63,0x72,0x76])]:_0x494036([0x50,0x2d,0x32,0x35,0x36]),[_0x494036([0x78])]:_0x494036([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]),[_0x494036([0x79])]:_0x494036([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]),[_0x494036([0x61,0x6c,0x67])]:_0x494036([0x45,0x53,0x32,0x35,0x36])},_0x403408=_0x18b91d[_0x494036([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x494036([0x67,0x65,0x74])](_0x494036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x123a83(){let _0x2795d9,_0x322332=null,_0x2c74c2=null;try{if(_0x403408==_0x494036([0x47,0x50,0x4c]))return _0x494036([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2795d9=_0x4d30d3(),!_0x2795d9)return _0x494036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2795d9[_0x494036([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2c74c2=_0x18ad89(_0x2795d9[_0x494036([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2795d9[_0x494036([0x6a,0x74,0x69])])),await _0x549b54()?_0x1eeb4b()?_0x3317ca()?_0x494036([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4c0b8b()?(_0x2795d9[_0x494036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x494036([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x322332=_0xbcacf1(_0x494036([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x203523()):_0x494036([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x494036([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x494036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x494036([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3317ca(){const _0x4701d3=[_0x494036([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x494036([0x74,0x72,0x69,0x61,0x6c])][_0x494036([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2795d9[_0x494036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x519fa0/0x3e8:0xe10*_0x39baf2;return _0x2795d9[_0x494036([0x65,0x78,0x70])]<_0x4701d3;}function _0x1eeb4b(){const _0x211515=_0x2795d9[_0x494036([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x211515&&(!!_0x211515[_0x494036([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494036([0x2a]))||!!_0x211515[_0x494036([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494036([0x46,0x4f,0x4f])));}function _0x4c0b8b(){const _0x4f0c2b=_0x2795d9[_0x494036([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4f0c2b||0x0==_0x4f0c2b[_0x494036([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x498b47}=new URL(window[_0x494036([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4f0c2b[_0x494036([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x498b47))return!0x0;const _0x2e3ed8=_0x498b47[_0x494036([0x73,0x70,0x6c,0x69,0x74])](_0x494036([0x2e]));return _0x4f0c2b[_0x494036([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x96c5a4=>_0x96c5a4[_0x494036([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x494036([0x2a])))[_0x494036([0x6d,0x61,0x70])](_0xbabc88=>_0xbabc88[_0x494036([0x73,0x70,0x6c,0x69,0x74])](_0x494036([0x2e])))[_0x494036([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51009e=>_0x51009e[_0x494036([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2e3ed8[_0x494036([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x494036([0x6d,0x61,0x70])](_0x54c7af=>Array(_0x2e3ed8[_0x494036([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x54c7af[_0x494036([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x494036([0x66,0x69,0x6c,0x6c])](_0x54c7af[0x0]===_0x494036([0x2a])?_0x494036([0x2a]):'')[_0x494036([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x54c7af))[_0x494036([0x73,0x6f,0x6d,0x65])](_0x514a55=>_0x2e3ed8[_0x494036([0x65,0x76,0x65,0x72,0x79])]((_0x42af68,_0x3da951)=>_0x514a55[_0x3da951]===_0x42af68||_0x514a55[_0x3da951]===_0x494036([0x2a])));}function _0x203523(){return _0x322332&&_0x2c74c2?new window[(_0x494036([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x472609,_0x144857)=>{_0x322332[_0x494036([0x74,0x68,0x65,0x6e])](_0x472609,_0x144857),_0x2c74c2[_0x494036([0x74,0x68,0x65,0x6e])](_0x19d745=>{_0x19d745!=_0x494036([0x56,0x61,0x6c,0x69,0x64])&&_0x472609(_0x19d745);},_0x144857);}):_0x322332||_0x2c74c2||_0x494036([0x56,0x61,0x6c,0x69,0x64]);}}function _0x18ad89(_0x916393,_0x4efa73){return new window[(_0x494036([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25dc4c=>{if(_0x20b34f())return _0x25dc4c(_0x494036([0x56,0x61,0x6c,0x69,0x64]));_0x45d212(),_0x18b91d[_0x494036([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x494036([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2ab831=!0x1;const _0x449147=_0x48e5f9();function _0x1da24f(_0x45daaf){return!!_0x45daaf&&(typeof _0x45daaf===_0x494036([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x45daaf===_0x494036([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x45daaf[_0x494036([0x74,0x68,0x65,0x6e])]===_0x494036([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x45daaf[_0x494036([0x63,0x61,0x74,0x63,0x68])]===_0x494036([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ecece(_0x4e7a4b){_0x11b4bd(_0x4e7a4b)[_0x494036([0x74,0x68,0x65,0x6e])](_0x20e791=>{if(!_0x20e791||_0x20e791[_0x494036([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x494036([0x6f,0x6b]))return _0x494036([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xff14ee(_0xfbbf41(_0x449147+_0x4efa73))!=_0x20e791[_0x494036([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x494036([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x494036([0x56,0x61,0x6c,0x69,0x64]);})[_0x494036([0x74,0x68,0x65,0x6e])](_0x235a38=>(_0x2a021d(),_0x235a38),()=>{const _0x76d960=_0x2c1684();return null==_0x76d960?(_0x2a021d(),_0x494036([0x56,0x61,0x6c,0x69,0x64])):_0x494036(_0x519fa0-_0x76d960>(0x63ae0106^_0xca76a8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x494036([0x74,0x68,0x65,0x6e])](_0x25dc4c)[_0x494036([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25dc4c(_0x494036([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a2f98=0x47946b86^_0xca76a8;function _0x2a021d(){const _0x5b0fc6=_0x494036([0x6c,0x6c,0x63,0x74,0x2d])+_0xff14ee(_0xfbbf41(_0x916393)),_0x1cf529=_0x506c64(_0xff14ee(window[_0x494036([0x4d,0x61,0x74,0x68])][_0x494036([0x63,0x65,0x69,0x6c])](_0x519fa0/_0x5a2f98)));window[_0x494036([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x494036([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5b0fc6,_0x1cf529);}function _0x2c1684(){const _0x58ef0c=_0x494036([0x6c,0x6c,0x63,0x74,0x2d])+_0xff14ee(_0xfbbf41(_0x916393)),_0x3cbc9d=window[_0x494036([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x494036([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58ef0c);return _0x3cbc9d?window[_0x494036([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x506c64(_0x3cbc9d),0x10)*_0x5a2f98:null;}function _0x11b4bd(_0x124ff6){return new window[(_0x494036([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a2311,_0x158686)=>{_0x124ff6[_0x494036([0x74,0x68,0x65,0x6e])](_0x1a2311,_0x158686),window[_0x494036([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x158686,0x47a351c6^_0xca76a8);});}}_0x18b91d[_0x494036([0x6f,0x6e])](_0x494036([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bc387,_0x44caed)=>{if(_0x44caed[0x0]!=_0x916393)return _0x25dc4c(_0x494036([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x44caed[0x1]={..._0x44caed[0x1],[_0x494036([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x449147};},{[_0x494036([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x494036([0x68,0x69,0x67,0x68])}),_0x18b91d[_0x494036([0x6f,0x6e])](_0x494036([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x263308=>{_0x1da24f(_0x263308[_0x494036([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2ab831=!0x0,_0x1ecece(_0x263308[_0x494036([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x494036([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x494036([0x6c,0x6f,0x77])}),_0x1e2f20[_0x494036([0x74,0x68,0x65,0x6e])](()=>{_0x2ab831||_0x25dc4c(_0x494036([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x20b34f(){return _0x18b91d[_0x494036([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x494036([0x76,0x69,0x65,0x77])][_0x494036([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x494036([0x61,0x75,0x74,0x6f]);}function _0x45d212(){_0x18b91d[_0x494036([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x494036([0x76,0x69,0x65,0x77])][_0x494036([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x494036([0x61,0x75,0x74,0x6f]);}}function _0xbcacf1(_0x5f4963){const _0x3e1700=[new window[(_0x494036([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3127bb=>setTimeout(_0x3127bb,0x47abbbca^_0xca76a8)),_0x1e2f20[_0x494036([0x74,0x68,0x65,0x6e])](()=>new window[(_0x494036([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x518fa0=>{let _0x43507d=0x0;_0x18b91d[_0x494036([0x6d,0x6f,0x64,0x65,0x6c])][_0x494036([0x6f,0x6e])](_0x494036([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xf2ef84,_0x267c62)=>{_0x267c62[0x0][_0x494036([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x43507d++,_0x43507d==(0x47a280ee^_0xca76a8)&&(_0x518fa0(),_0xf2ef84[_0x494036([0x6f,0x66,0x66])]());});}))];return window[_0x494036([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x494036([0x72,0x61,0x63,0x65])](_0x3e1700)[_0x494036([0x74,0x68,0x65,0x6e])](()=>_0x5f4963);}async function _0x3f7cbb(){await _0x1e2f20,_0x18b91d[_0x494036([0x6d,0x6f,0x64,0x65,0x6c])][_0x494036([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3dae4c,_0x18b91d[_0x494036([0x6d,0x6f,0x64,0x65,0x6c])][_0x494036([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3dae4c,_0x18b91d[_0x494036([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x494036([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x39c0ac(_0x4c8948){const _0x57d9c6=_0x98f0f8();_0x18b91d[_0x57d9c6]=_0x494036([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4c8948,_0x4c8948!=_0x494036([0x56,0x61,0x6c,0x69,0x64])&&_0x3f7cbb();}function _0x98f0f8(){const _0x28257d=window[_0x494036([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x494036([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x494036([0x6e,0x6f,0x77])]())[_0x494036([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x494036([0x2e]),'');let _0x5bbf5b=_0x494036([0x75]);for(let _0x36256d=0x0;_0x36256d<_0x28257d[_0x494036([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36256d+=0x2){let _0x214ae0=window[_0x494036([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28257d[_0x494036([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36256d,_0x36256d+0x2));_0x214ae0>=_0x1eee70[_0x494036([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x214ae0-=_0x1eee70[_0x494036([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5bbf5b+=_0x1eee70[_0x214ae0];}return _0x5bbf5b;}function _0x4d30d3(){const _0x3c660b=_0x403408[_0x494036([0x73,0x70,0x6c,0x69,0x74])](_0x494036([0x2e]));if(0x3!=_0x3c660b[_0x494036([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x133c3f(_0x3c660b[0x1]);function _0x133c3f(_0x3b73e9){const _0x8b5f8e=_0x193c10(_0x3b73e9);return _0x8b5f8e&&_0x509c27()?_0x8b5f8e:null;function _0x509c27(){const _0x101690=_0x8b5f8e[_0x494036([0x6a,0x74,0x69])],_0x283a0b=window[_0x494036([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x101690[_0x494036([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x101690[_0x494036([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x59c66e={..._0x8b5f8e,[_0x494036([0x6a,0x74,0x69])]:_0x101690[_0x494036([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x101690[_0x494036([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x59c66e[_0x494036([0x76,0x63])],_0xfbbf41(_0x59c66e)==_0x283a0b;}}}async function _0x549b54(){let _0x4f5309=!0x0;try{const _0x2982e6=_0x403408[_0x494036([0x73,0x70,0x6c,0x69,0x74])](_0x494036([0x2e])),[_0x4eca42,_0x40673f,_0x1433fe]=_0x2982e6;return _0x51a017(_0x4eca42),await _0x1c5ba1(_0x4eca42,_0x40673f,_0x1433fe),_0x4f5309;}catch{return!0x1;}function _0x51a017(_0x209315){const _0x3f0584=_0x193c10(_0x209315);_0x3f0584&&_0x3f0584[_0x494036([0x61,0x6c,0x67])]==_0x494036([0x45,0x53,0x32,0x35,0x36])||(_0x4f5309=!0x1);}async function _0x1c5ba1(_0x597037,_0x353846,_0x1a9611){const _0x3e990e=window[_0x494036([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x494036([0x66,0x72,0x6f,0x6d])](_0x550cb8(_0x1a9611),_0x315854=>_0x315854[_0x494036([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x13260e=new window[(_0x494036([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x494036([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x597037+_0x494036([0x2e])+_0x353846),_0x45c27b=window[_0x494036([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x494036([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x45c27b)return;const _0x48d49e=await _0x45c27b[_0x494036([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x494036([0x6a,0x77,0x6b]),_0x488a71,{[_0x494036([0x6e,0x61,0x6d,0x65])]:_0x494036([0x45,0x43,0x44,0x53,0x41]),[_0x494036([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x494036([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x494036([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x45c27b[_0x494036([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x494036([0x6e,0x61,0x6d,0x65])]:_0x494036([0x45,0x43,0x44,0x53,0x41]),[_0x494036([0x68,0x61,0x73,0x68])]:{[_0x494036([0x6e,0x61,0x6d,0x65])]:_0x494036([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48d49e,_0x3e990e,_0x13260e)||(_0x4f5309=!0x1);}}function _0x193c10(_0x124cf0){return _0x124cf0[_0x494036([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x494036([0x65,0x79]))?JSON[_0x494036([0x70,0x61,0x72,0x73,0x65])](_0x550cb8(_0x124cf0)):null;}function _0x550cb8(_0x115ae6){return window[_0x494036([0x61,0x74,0x6f,0x62])](_0x115ae6[_0x494036([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x494036([0x2b]))[_0x494036([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x494036([0x2f])));}function _0xfbbf41(_0x15dedb){let _0x3859c2=0x1505;function _0x6b7fa2(_0x2133c9){for(let _0x88c1fe=0x0;_0x88c1fe<_0x2133c9[_0x494036([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x88c1fe++){const _0x47be63=_0x2133c9[_0x494036([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x88c1fe);_0x3859c2=(_0x3859c2<<0x5)+_0x3859c2+_0x47be63,_0x3859c2&=_0x3859c2;}}function _0x59e87a(_0x1e699c){Array[_0x494036([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e699c)?_0x1e699c[_0x494036([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x59e87a):_0x1e699c&&typeof _0x1e699c==_0x494036([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x494036([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e699c)[_0x494036([0x73,0x6f,0x72,0x74])]()[_0x494036([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xfafb08,_0x45684d])=>{_0x6b7fa2(_0xfafb08),_0x59e87a(_0x45684d);}):_0x6b7fa2(window[_0x494036([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e699c));}return _0x59e87a(_0x15dedb),_0x3859c2>>>0x0;}function _0xff14ee(_0x1c8db3){return _0x1c8db3[_0x494036([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x494036([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x494036([0x30]));}function _0x506c64(_0x5c26e9){return _0x5c26e9[_0x494036([0x73,0x70,0x6c,0x69,0x74])]('')[_0x494036([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x494036([0x6a,0x6f,0x69,0x6e])]('');}function _0x3dae4c(){}function _0x494036(_0x52c1f8){return _0x52c1f8['map'](_0x3e037b=>String['fromCharCode'](_0x3e037b))['join']('');}_0x39c0ac(await _0x123a83());}(this);}['_moveSelectionToFootnoteDefinition'](_0x145e03){const {plugins:_0x1b63f8,editing:_0x2a026d,model:_0x3e6d70}=this['editor'],_0x561840=_0x1b63f8['get'](K)['getFootnote'](_0x145e03);return!!_0x561840&&(_0x3e6d70['change'](_0x42b088=>{_0x42b088['setSelection'](_0x42b088['createPositionAt'](_0x561840['definition'],'end'));}),_0x2a026d['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3d10c0){const {plugins:_0x218cab,editing:_0xfac86f,model:_0x34ff40}=this['editor'],_0x5601ad=_0x218cab['get'](K)['getFootnote'](_0x3d10c0);return!!_0x5601ad&&(_0x34ff40['change'](_0x5451e0=>{_0x5451e0['setSelection'](_0x5601ad['reference'],'on');}),_0xfac86f['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xc4d60d}=this['editor']['model'],_0x135050=this['editor']['config']['get']('footnotes.multiBlock');_0xc4d60d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xc4d60d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xc4d60d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x135050?_0xc4d60d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xc4d60d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xc4d60d['addChildCheck'](_0x1707fc=>{for(const _0x440f75 of _0x1707fc)if('footnoteDefinition'===_0x440f75['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x382f80}=this,{conversion:_0x1307bc,editing:_0x4539b0}=_0x382f80,{t:t}=_0x382f80['locale'];_0x1307bc['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x13e74d,{writer:_0xc8fcb0,consumable:_0xa86952})=>{const _0x450ca9=_0x13e74d['getChild'](0x0);if(!_0x450ca9||!_0x450ca9['is']('element','a'))return null;const _0x5a8bc7=_0x450ca9['getAttribute']('href')||'';if(!_0x5a8bc7['startsWith']('#'))return null;const _0x7c5bea=_0x5a8bc7['replace'](/^#/,'');if(!_0x7c5bea)return null;_0xa86952['consume'](_0x450ca9,{'name':!0x0,'attributes':['href']});for(const {item:_0xa17241}of _0x4539b0['view']['createRangeIn'](_0x450ca9))_0xa17241['is']('$textProxy')?_0xa86952['consume'](_0xa17241['textNode'],{'name':!0x0}):_0xa17241['is']('element')&&_0xa86952['consume'](_0xa17241,{'name':!0x0});return _0xc8fcb0['createElement']('footnoteRef',{'footnoteId':_0x7c5bea});}}),_0x1307bc['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xec18c0,{writer:_0x40eda5})=>z(_0xec18c0,_0x40eda5)}),_0x1307bc['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xfd605d,{writer:_0x51e6f5})=>{const _0x39300b=_0xfd605d['getAttribute']('footnoteCounter');return _0x2dc9e7(z(_0xfd605d,_0x51e6f5),_0x51e6f5,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x39300b)});}});}['_defineDefinitionsConverters'](){const {editor:_0x55692c}=this,{t:t}=_0x55692c['locale'],{conversion:_0x560fdf}=_0x55692c;_0x560fdf['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x560fdf['for']('upcast')['add'](_0x498ece=>{_0x498ece['on']('element:ol',(_0x54a69d,_0x36b0c2,_0xc5a421)=>{const _0xfb4c0a=_0x36b0c2['viewItem'];if(!_0xfb4c0a['hasClass']('footnotes-list')||!_0x36b0c2['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xc5a421['consumable']['consume'](_0xfb4c0a,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x347a95,modelCursor:_0x2b11ef}=_0xc5a421['convertChildren'](_0x36b0c2['viewItem'],_0x36b0c2['modelCursor']);_0x36b0c2['modelRange']=_0x347a95,_0x36b0c2['modelCursor']=_0x2b11ef;}),_0x498ece['on']('element:hr',(_0x418ee2,_0x2c5c2d,_0x202b56)=>{const _0x348d10=_0x2c5c2d['viewItem'];_0x348d10['hasClass']('footnotes-divider')&&_0x2c5c2d['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x202b56['consumable']['consume'](_0x348d10,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x560fdf['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x50d62d,{writer:_0x260318})=>H(_0x260318)}),_0x560fdf['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x15b55b,{writer:_0x950a02})=>{const _0x34b6a0=H(_0x950a02,{'data-footnotes-list-label':t('Footnotes')}),_0x456dad=_0x2dc9e7(_0x34b6a0,_0x950a02,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x950a02['setCustomProperty']('footnotesDefinitions',!0x0,_0x456dad),_0x456dad;}});}['_defineDefinitionConverters'](){const {editor:_0x1b0728}=this,{conversion:_0x5028db,locale:_0xed6243}=_0x1b0728,_0x199abe=_0x1b0728['config']['get']('footnotes.multiBlock');_0x5028db['for']('upcast')['add'](_0x4d0a72=>{_0x4d0a72['on']('element:li',(_0x30377e,_0x144c20,_0x579e6d)=>{const _0x5d4d74=_0x144c20['viewItem'];if(!_0x5d4d74['hasClass']('footnote-definition')||!_0x5d4d74['getAttribute']('id'))return;const _0x21dd64=_0x5d4d74['parent'];if(!_0x21dd64['is']('element','ol')||!_0x21dd64['hasClass']('footnotes-list'))return;if(!_0x579e6d['consumable']['test'](_0x5d4d74,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x49f3b6=_0x579e6d['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5d4d74['getAttribute']('id')});if(!_0x579e6d['safeInsert'](_0x49f3b6,_0x144c20['modelCursor']))return;_0x579e6d['consumable']['consume'](_0x5d4d74,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4de054=Array['from'](_0x5d4d74['getChildren']())['find'](_0x129978=>_0x129978['is']('element')&&_0x129978['hasClass']('footnote-content'));for(const _0x3eaf43 of _0x5d4d74['getChildren']())_0x3eaf43['is']('element')&&(_0x579e6d['consumable']['consume'](_0x3eaf43,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x579e6d['consumable']['consume'](_0x3eaf43,{'name':!0x0,'classes':'footnote-content'}));if(_0x4de054){if(_0x199abe)_0x579e6d['convertChildren'](_0x4de054,_0x49f3b6);else{const _0x51eaa0=_0x579e6d['writer']['createElement']('footnoteInlineContent');_0x579e6d['writer']['insert'](_0x51eaa0,_0x49f3b6),_0x579e6d['convertChildren'](_0x4de054,_0x51eaa0);}}_0x579e6d['updateConversionResult'](_0x49f3b6,_0x144c20);});}),_0x5028db['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2a1714,{writer:_0x2899b3})=>X(_0x2a1714,_0x2899b3,_0xed6243,{'dataPipeline':!0x0})}),_0x5028db['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x50059a,{writer:_0x1992ae})=>X(_0x50059a,_0x1992ae,_0xed6243)});}['_defineBogusParagraphConverters'](){const {editor:_0x20b3ac}=this,{conversion:_0xae6ffe}=_0x20b3ac;_0x20b3ac['config']['get']('footnotes.multiBlock')?(_0xae6ffe['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':B(),'converterPriority':'high'}),_0xae6ffe['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':B({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x20b3ac['model']['document'],'change:data',()=>{!function(_0x3f325f,_0x1e5ab1){const _0x27a411=_0x3f325f['document']['differ'],_0x634992=new Set();for(const _0x1dba02 of _0x27a411['getChanges']()){const _0x5bf139='attribute'==_0x1dba02['type']?_0x1dba02['range']['start']['parent']:_0x1dba02['position']['parent'];_0x5bf139['is']('element','footnoteDefinition')&&_0x634992['add'](_0x5bf139);}for(const _0x4b5fcc of _0x634992['values']()){const _0xeea907=Array['from'](_0x4b5fcc['getChildren']())['filter'](_0x231c6b=>U(_0x231c6b,_0x1e5ab1['mapper']));for(const _0x5de243 of _0xeea907)_0x1e5ab1['reconvertItem'](_0x5de243);}}(_0x20b3ac['model'],_0x20b3ac['editing']);})):(_0xae6ffe['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':B()}),_0xae6ffe['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5d6bab,{writer:_0x28edfa})=>{const _0x19f67d=_0x28edfa['createContainerElement']('span');return _0x28edfa['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x19f67d),_0x19f67d;}}));}['_defineKeyboardHandlers'](){const {editor:_0x121f72}=this,{editing:_0x17d3ff,t:t}=_0x121f72,_0x5939f0=_0x121f72['model']['document']['selection'];_0x121f72['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x121f72['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x17d3ff['view']['document'],'enter',(_0x13bfd7,_0x20139f)=>{const _0x292edf=function(_0x31bdbe){const _0x5c94e9=_0x31bdbe['getSelectedElement']();if(_0x5c94e9?.['is']('element','footnoteRef'))return _0x5c94e9;return null;}(_0x5939f0);if(_0x292edf){const _0x2ed8be=_0x292edf['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2ed8be),_0x20139f['preventDefault'](),_0x13bfd7['stop']();}},{'context':_0xf7271c});}['_defineClickHandlers'](){const {editor:_0x33f79c}=this,{editing:_0x890094}=_0x33f79c;_0x33f79c['editing']['view']['addObserver'](_0x10feb1),_0x33f79c['editing']['view']['addObserver'](_0x195b55);let _0x2a43a7=!0x1;this['listenTo'](_0x890094['view']['document'],'pointerdown',(_0x36d5fe,_0x2857c1)=>{const {target:_0x4a6204}=_0x2857c1,_0x35a367=_0x890094['view']['document']['selection'];_0x2a43a7=!!(_0x4a6204?.['is']('element','a')&&_0x4a6204['parent']?.['is']('element','sup')&&_0x4a6204['parent']['hasClass']('footnote'))&&_0x35a367['getSelectedElement']()===_0x4a6204['parent'];},{'priority':'high'}),this['listenTo'](_0x890094['view']['document'],'click',(_0x63e818,_0x3ba880)=>{const {target:_0x599b73}=_0x3ba880;if(!_0x599b73?.['is']('element','a'))return;if(_0x599b73['parent']?.['is']('element','sup')&&_0x599b73['parent']['hasClass']('footnote')&&!_0x2a43a7)return void _0x3ba880['preventDefault']();let _0x762c89=_0x599b73['getAttribute']('href');if(!_0x762c89?.['startsWith']('#'))return;_0x762c89=_0x762c89['slice'](0x1);let _0x511d7a=!0x1;(_0x762c89['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x762c89['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x762c89))&&(_0x511d7a=!0x0),_0x511d7a&&(_0x3ba880['preventDefault'](),_0x63e818['stop']());},{'priority':'high','context':'$capture'});}}function B({dataPipeline:_0x177c3b}={}){return(_0x2660b7,{writer:_0x7e392a})=>{if(!M(_0x2660b7))return null;if(!_0x177c3b)return _0x7e392a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2d2e97=_0x7e392a['createContainerElement']('p');return _0x7e392a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2d2e97),_0x2d2e97;};}function M(_0x297d84){const {parent:_0x45548f}=_0x297d84;if(!_0x45548f?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x45548f['childCount'])return!0x1;for(const _0x494143 of _0x297d84['getAttributeKeys']())if(!_0x494143['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x494143)return!0x1;return!0x0;}function U(_0x25b797,_0x377c70){if(!_0x25b797['is']('element','paragraph'))return!0x1;const _0x427b88=_0x377c70['toViewElement'](_0x25b797);return!!_0x427b88&&M(_0x25b797)!==_0x427b88['is']('element','span');}function q(_0x316ff8){return _0xf7271c(_0x316ff8)&&_0x316ff8['is']('containerElement')&&!!_0x316ff8['getCustomProperty']('footnotesDefinitions');}function H(_0x5ebdbf,_0x1f04fb={}){const _0x34f57d=_0x5ebdbf['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x40f078=_0x5ebdbf['createContainerElement']('ol',{'class':'footnotes-list'},_0x5ebdbf['createSlot']());return _0x5ebdbf['createContainerElement']('div',{'class':'footnotes',..._0x1f04fb},[_0x34f57d,_0x40f078]);}function z(_0x593c10,_0x4d02b5){const _0x1fbdcf=_0x593c10['getAttribute']('footnoteId'),_0x114942=_0x593c10['getAttribute']('footnoteCounter'),_0x5db245=_0x4d02b5['createUIElement']('a',{'href':'#'+_0x1fbdcf},function(_0x16a00b){const _0x196032=this['toDomElement'](_0x16a00b);return _0x196032['textContent']=_0x114942,_0x196032;}),_0x4bfa99=_0x4d02b5['createContainerElement']('sup',{'id':'ref-'+_0x1fbdcf,'class':'footnote'},[_0x5db245]);return _0x4bfa99['getFillerOffset']=()=>null,_0x4bfa99;}function X(_0xa9d0b9,_0x27c8cb,_0x2621d3,{dataPipeline:_0x1e1d1a}={}){const {t:t}=_0x2621d3,_0x281f39=_0xa9d0b9['getAttribute']('footnoteId'),_0x422b25=_0x27c8cb['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x281f39},function(_0x5c286a){const _0x42dea6=this['toDomElement'](_0x5c286a);return _0x42dea6['innerText']='^',_0x42dea6;}),_0x303a83=_0x1e1d1a?_0x27c8cb['createContainerElement']('div',{'class':'footnote-content'}):_0xeda014(_0x27c8cb['createEditableElement']('div',{'class':'footnote-content'}),_0x27c8cb,{'label':t('Footnote\x20content.')});return _0x27c8cb['insert'](_0x27c8cb['createPositionAt'](_0x303a83,0x0),_0x27c8cb['createSlot']()),_0x27c8cb['createContainerElement']('li',{'class':'footnote-definition','id':_0x281f39},[_0x422b25,_0x303a83]);}class J extends _0x3e2d2d{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[$,_0x5f454a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x2aeba3}=this,{plugins:_0x38be66,model:_0x35d43a}=_0x2aeba3,_0x38b9d8=_0x38be66['get'](_0x5f454a),_0x5ebdd3=_0x38be66['get'](K);this['listenTo'](_0x38b9d8,'outputTransformation',(_0x535d58,_0x3148e6)=>{const _0x34995f=Q(_0x35d43a['createRangeIn'](_0x3148e6['content']));if(!_0x34995f['length'])return;const _0xbe4c32=_0x5ebdd3['getFootnotes'](),_0x58292a=_0x34995f['reduce']((_0x4e16ee,_0x34a74c)=>{const _0x570e6a=_0xbe4c32['find'](_0x40d553=>_0x40d553['id']===_0x34a74c);if(_0x570e6a){const _0x2c1435=_0x2aeba3['data']['toView'](_0x570e6a['definition'],{'isClipboardPipeline':!0x0}),_0x5541e4=_0x2aeba3['data']['htmlProcessor']['toData'](_0x2c1435);_0x4e16ee[_0x570e6a['id']]=_0x5541e4;}return _0x4e16ee;},Object['create'](null));_0x3148e6['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x58292a));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x3e50d9}=this,{model:_0x477935,plugins:_0xc59ac1}=_0x3e50d9,{view:_0x1588da}=_0x3e50d9['editing'],_0x476622=_0xc59ac1['get'](_0x5f454a),_0x2ad72c=_0xc59ac1['get'](K),_0x338492=_0x3e50d9['config']['get']('footnotes.multiBlock');let _0x553a76=null;this['listenTo'](_0x1588da['document'],'clipboardInput',(_0x3b48b6,_0x4e1f00)=>{const _0x19d27b=_0x4e1f00['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x553a76=_0x19d27b?JSON['parse'](_0x19d27b):null;}),this['listenTo'](_0x476622,'contentInsertion',(_0x1c1906,_0x3f3c88)=>{const _0x5d4df6=_0x3f3c88['sourceEditorId']===this['editor']['id'];_0x5d4df6&&'drop'===_0x3f3c88['method']||_0x477935['change'](_0x3e4fef=>{let _0x2607f6=_0x2ad72c['getFootnotesDefinitionsObjectElement']();const _0x417796=!!_0x2607f6&&Array['from'](_0x477935['document']['selection']['getSelectedBlocks']())['includes'](_0x2607f6);if(!_0x553a76&&function(_0x4e34c6){for(const {item:_0x3cc29c}of _0x4e34c6)if(_0x3cc29c['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x477935['createRangeIn'](_0x3f3c88['content']))&&(_0x553a76=function(_0x369d92,_0x3ccb1a){const _0x4dac93=G(_0x369d92,_0x3ccb1a);if(!_0x4dac93)return null;const _0x4e6ae3=Object['create'](null);for(const _0x56eb2c of _0x4dac93['getChildren']())_0x56eb2c['is']('element','footnoteDefinition')&&_0x56eb2c['hasAttribute']('footnoteId')&&(_0x4e6ae3[_0x56eb2c['getAttribute']('footnoteId')]=_0x369d92['cloneElement'](_0x56eb2c,!0x0));return Object['keys'](_0x4e6ae3)['length']?_0x4e6ae3:null;}(_0x3e4fef,_0x3f3c88['content'])),(_0x2607f6&&!_0x417796||!_0x2607f6&&!_0x553a76)&&function(_0x176cec,_0x4828c5){const _0x3cb691=[];for(const {item:_0x192c9c}of _0x176cec['createRangeIn'](_0x4828c5))_0x192c9c['is']('element','footnotesDefinitions')&&_0x3cb691['push'](_0x192c9c);for(const _0xa187bf of _0x3cb691)_0x176cec['remove'](_0xa187bf);}(_0x3e4fef,_0x3f3c88['content']),!_0x553a76)return;const {selection:_0x362659}=_0x477935['document'],_0x2392f3=_0x362659['getFirstRange']()['root'];_0x2607f6&&!_0x417796||(_0x2607f6=G(_0x3e4fef,_0x3f3c88['content']),_0x2607f6||=_0x2ad72c['_insertEmptyFootnotesDefinitionsContainer'](_0x3e4fef,_0x2392f3));const _0x94003f=Array['from'](_0x362659['getRanges']())['flatMap'](Q),_0x203e25=function(_0x4a9bee,_0x32eda5,_0x5cc2a6){const _0x433930=Object['create'](null);for(const {item:_0x417827}of _0x4a9bee['createRangeIn'](_0x32eda5))if(_0x417827['is']('element','footnoteRef')){const _0x54f05e=_0x417827['getAttribute']('footnoteId');if(!_0x5cc2a6(_0x54f05e))continue;_0x433930[_0x54f05e]||(_0x433930[_0x54f05e]=_0x48e5f9()),_0x4a9bee['setAttribute']('footnoteId',_0x433930[_0x54f05e],_0x417827);}return _0x433930;}(_0x3e4fef,_0x3f3c88['content'],_0x52fcae=>{if(!_0x5d4df6)return!0x0;return!!_0x2ad72c['getFootnote'](_0x52fcae)&&!_0x94003f['includes'](_0x52fcae);});for(const [_0x15bb94,_0x1a4de8]of Object['entries'](_0x553a76)){const _0x46161a=_0x203e25[_0x15bb94]||_0x15bb94;let _0x21130f;if('string'!=typeof _0x1a4de8)_0x21130f=_0x1a4de8,_0x46161a!==_0x15bb94&&_0x3e4fef['setAttribute']('footnoteId',_0x46161a,_0x21130f);else{_0x21130f=_0x3e4fef['createElement']('footnoteDefinition',{'footnoteId':_0x46161a});const _0x47dd8c=_0x3e50d9['data']['htmlProcessor']['toView'](_0x1a4de8);let _0x58295a;if(_0x338492)_0x58295a=_0x3e50d9['data']['toModel'](_0x47dd8c,_0x21130f);else{_0x58295a=_0x3e4fef['createElement']('footnoteInlineContent');const _0x280b73=_0x3e50d9['data']['toModel'](_0x47dd8c,_0x58295a);_0x3e4fef['insert'](_0x280b73,_0x58295a);}_0x3e4fef['append'](_0x58295a,_0x21130f);}_0x3e4fef['insert'](_0x21130f,_0x2607f6,'end');}_0x553a76=null;});});}}function G(_0x4e248e,_0xfa9e){for(const {item:_0x123f81}of _0x4e248e['createRangeIn'](_0xfa9e))if(_0x123f81['is']('element','footnotesDefinitions'))return _0x123f81;return null;}function Q(_0x216810){const _0x1e97cc=new Set();for(const {item:_0x4a61dc}of _0x216810)_0x4a61dc['is']('element','footnoteRef')&&_0x1e97cc['add'](_0x4a61dc['getAttribute']('footnoteId'));return Array['from'](_0x1e97cc);}class W extends _0x3e2d2d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1e89a6}=this,{componentFactory:_0x442832}=_0x1e89a6['ui'];_0x442832['add']('insertFootnote',Y(_0x1e89a6,_0x5c970f)),_0x442832['add']('menuBar:insertFootnote',Y(_0x1e89a6,_0x5af664)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1e1dd2=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c070d;for(const _0x42fdfb in _0x1e1dd2){const _0x340903=_0x42fdfb,_0x29c4a7=_0x1e1dd2[_0x340903];if('footnotesLicenseKeyValid'==_0x29c4a7||'footnotesLicenseKeyInvalid'==_0x29c4a7||'footnotesLicenseKeyExpired'==_0x29c4a7||'footnotesLicenseKeyDomainLimit'==_0x29c4a7||'footnotesLicenseKeyNotAllowed'==_0x29c4a7||'footnotesLicenseKeyEvaluationLimit'==_0x29c4a7||'footnotesLicenseKeyUsageLimit'==_0x29c4a7){delete _0x1e1dd2[_0x340903],_0x4c070d=_0x29c4a7,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4c070d&&_0x1e1dd2['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4c070d&&_0x1e1dd2['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4c070d&&_0x1e1dd2['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4c070d&&_0x1e1dd2['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4c070d&&_0x1e1dd2['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x4c070d&&_0x1e1dd2['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function Y(_0x122c78,_0x3cb375){const _0x5ce6a2=_0x122c78['commands']['get']('insertFootnote');return _0x55fe55=>{const {t:t}=_0x55fe55,_0x242a8f=new _0x3cb375(_0x55fe55),_0x7c62e3=_0x242a8f instanceof _0x5af664;return _0x242a8f['bind']('isEnabled')['to'](_0x5ce6a2,'isEnabled'),_0x242a8f['set']({'label':t(_0x7c62e3?'Footnote':'Insert\x20footnote'),'icon':_0x3854b5,'tooltip':!0x0}),_0x242a8f['on']('execute',()=>{_0x5ce6a2['execute'](),_0x122c78['editing']['view']['focus']();}),_0x242a8f;};}class Z extends _0x3e2d2d{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[$,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];class nt extends _0x4e2b22{['refresh'](){const {editor:_0x571e26}=this,_0x539cd2=_0x571e26['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x539cd2,this['value']=_0x539cd2?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1819f6}){const {editor:_0x4234e7}=this,_0x30723f=_0x4234e7['plugins']['get'](K),_0x530e5b=_0x30723f['getFootnotesDefinitionsObjectElement']();_0x530e5b&&ot['includes'](_0x1819f6)&&_0x4234e7['model']['change'](_0x254fba=>{_0x254fba['setAttribute']('footnotesListStyle',_0x1819f6,_0x530e5b),_0x30723f['_updateFootnotesCounters'](_0x254fba);});}}class it extends _0x4e2b22{['refresh'](){const {editor:_0x1c12e1}=this,_0x24a4fb=_0x1c12e1['plugins']['get'](K)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x24a4fb,this['value']=_0x24a4fb?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x154af6}){const {editor:_0xcc6a63}=this,_0x21c251=_0xcc6a63['plugins']['get'](K),_0x50e0b8=_0x21c251['getFootnotesDefinitionsObjectElement']();_0x50e0b8&&Number['isInteger'](_0x154af6)&&_0xcc6a63['model']['change'](_0xf89413=>{_0xf89413['setAttribute']('footnotesListStart',_0x154af6,_0x50e0b8),_0x21c251['_updateFootnotesCounters'](_0xf89413);});}}function st(_0xeca7e5,_0x5e49d8){let _0x240a79='',_0x7e8274=_0xeca7e5;for(;_0x7e8274>0x0;){const _0x5d5a35=(_0x7e8274-0x1)%0x1a;_0x240a79=String['fromCharCode'](0x61+_0x5d5a35)+_0x240a79,_0x7e8274=Math['floor']((_0x7e8274-0x1)/0x1a);}return _0x5e49d8?_0x240a79['toUpperCase']():_0x240a79;}const rt=[{'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 lt(_0x3f19a7,_0x1fe916){let _0x1341d1='',_0x31f8e5=_0x3f19a7;for(const {value:_0x544c13,numeral:_0x404c9b}of rt)for(;_0x31f8e5>=_0x544c13;)_0x1341d1+=_0x404c9b,_0x31f8e5-=_0x544c13;return _0x1fe916?_0x1341d1:_0x1341d1['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class at extends _0x3e2d2d{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[$,K];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5781ed}=this;_0x5781ed['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5781ed['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5781ed['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x5781ed['commands']['add']('footnotesStyle',new nt(_0x5781ed)),_0x5781ed['commands']['add']('footnotesStart',new it(_0x5781ed)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5369ec}=this,{schema:_0x314f51}=_0x5369ec['model'];_0x314f51['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x38c3a3}=this,{conversion:_0x386914,model:_0x256af0}=_0x38c3a3,{schema:_0x56dca3}=_0x256af0;_0x386914['for']('upcast')['add'](_0xfb7a98=>{_0xfb7a98['on']('element:ol',(_0x2d8d8d,_0x5b9f24,_0x59661e)=>{const _0x48994e=_0x5b9f24['viewItem'],_0x56ffed=_0x5b9f24['modelCursor']?.['parent'];_0x48994e['hasClass']('footnotes-list')&&_0x56ffed?.['is']('element','footnotesDefinitions')&&(function(_0x44f0cc,_0x53ff53,_0x12af28,_0x190cab){if(!_0x190cab['checkAttribute'](_0x53ff53,'footnotesListStart'))return;let _0x57a814=0x1;const _0x501bd3=_0x12af28['consumable']['consume'](_0x44f0cc,{'attributes':'start'});if(_0x501bd3){const _0x55a800=Number['parseInt'](_0x44f0cc['getAttribute']('start'),0xa);Number['isNaN'](_0x55a800)||(_0x57a814=_0x55a800);}!_0x501bd3&&_0x53ff53['hasAttribute']('footnotesListStart')||_0x12af28['writer']['setAttribute']('footnotesListStart',_0x57a814,_0x53ff53);}(_0x48994e,_0x56ffed,_0x59661e,_0x56dca3),function(_0x2d8079,_0x370d4b,_0x3d94c8,_0x54e6fe){if(!_0x54e6fe['checkAttribute'](_0x370d4b,'footnotesListStyle'))return;let _0x3ebda6='decimal',_0x4c9797=!0x1;if(_0x3d94c8['consumable']['consume'](_0x2d8079,{'attributes':'type'})){const _0x30e8bd={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x2d8079['getAttribute']('type')];_0x30e8bd&&(_0x3ebda6=_0x30e8bd),_0x4c9797=!0x0;}if(_0x3d94c8['consumable']['consume'](_0x2d8079,{'styles':'list-style-type'})){const _0x5c123d=ct(_0x2d8079['getStyle']('list-style-type'));_0x5c123d&&(_0x3ebda6=_0x5c123d),_0x4c9797=!0x0;}!_0x4c9797&&_0x370d4b['hasAttribute']('footnotesListStyle')||_0x3d94c8['writer']['setAttribute']('footnotesListStyle',_0x3ebda6,_0x370d4b);}(_0x48994e,_0x56ffed,_0x59661e,_0x56dca3));});}),_0x386914['for']('downcast')['add'](_0x12082f=>{_0x12082f['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2149b9,_0x3bbcff,_0x193456)=>{if(!_0x193456['consumable']['consume'](_0x3bbcff['item'],_0x2149b9['name']))return;const _0x316682=ut(_0x3bbcff['item'],_0x193456['mapper']),{attributeNewValue:_0x45bfbd}=_0x3bbcff;null==_0x45bfbd||0x1===_0x45bfbd?_0x193456['writer']['removeAttribute']('start',_0x316682):_0x193456['writer']['setAttribute']('start',String(_0x45bfbd),_0x316682);}),_0x12082f['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x18f04d,_0x23ab11,_0x5f3967)=>{if(!_0x5f3967['consumable']['consume'](_0x23ab11['item'],_0x18f04d['name']))return;const _0x400645=ut(_0x23ab11['item'],_0x5f3967['mapper']),{attributeNewValue:_0x4f76ca}=_0x23ab11;_0x4f76ca&&'decimal'!==_0x4f76ca?_0x5f3967['writer']['setStyle']('list-style-type',_0x4f76ca,_0x400645):_0x5f3967['writer']['removeStyle']('list-style-type',_0x400645);});});}['_definePostfixer'](){const {editor:_0x694bbe}=this,{model:_0x4fa919}=_0x694bbe,_0x33547f=_0x694bbe['plugins']['get'](K),_0x50b6d4=this['_getDefaultListStyle'](),_0xcecf09=this['_getDefaultStartIndex']();_0x4fa919['document']['registerPostFixer'](_0x98a606=>{const _0x18bb8d=_0x4fa919['document']['differ']['getChanges']();let _0x266870=!0x1;for(const _0x118dc0 of _0x18bb8d){if('insert'!==_0x118dc0['type']||'$text'===_0x118dc0['name'])continue;const _0x3aa451=_0x4fa919['createRangeOn'](_0x118dc0['position']['nodeAfter']);for(const _0xbfdcd3 of _0x3aa451['getItems']())_0xbfdcd3['is']('element','footnotesDefinitions')&&(!_0xbfdcd3['hasAttribute']('footnotesListStart')&&_0x4fa919['schema']['checkAttribute'](_0xbfdcd3,'footnotesListStart')&&(_0x98a606['setAttribute']('footnotesListStart',_0xcecf09,_0xbfdcd3),_0x266870=!0x0),!_0xbfdcd3['hasAttribute']('footnotesListStyle')&&_0x4fa919['schema']['checkAttribute'](_0xbfdcd3,'footnotesListStyle')&&(_0x98a606['setAttribute']('footnotesListStyle',_0x50b6d4,_0xbfdcd3),_0x266870=!0x0));}return _0x266870&&_0x33547f['_updateFootnotesCounters'](_0x98a606),_0x266870;});}['_defineFormatter'](){const {editor:_0x207628}=this;_0x207628['plugins']['get'](K)['setFootnoteFormatter'](_0x2fff21=>this['_formatFootnoteListValue'](_0x2fff21));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x488bf6,value:_0x49a38d,digits:_0x1fef98}){const _0x188f11=_0x488bf6['getAttribute']('footnotesListStyle'),_0xae2feb=_0x488bf6['getAttribute']('footnotesListStart'),_0x386175=Math['floor'](_0x49a38d)+(_0xae2feb??0x1)-0x1;switch(_0x188f11){case'decimal-leading-zero':return function(_0xde5caf,_0x5d6c1c){return String(_0xde5caf)['padStart'](_0x5d6c1c,'0');}(_0x386175,Math['max'](0x2,_0x1fef98));case'lower-alpha':case'lower-latin':return st(_0x386175,!0x1);case'upper-alpha':case'upper-latin':return st(_0x386175,!0x0);case'lower-roman':return lt(_0x386175,!0x1);case'upper-roman':return lt(_0x386175,!0x0);case'arabic-indic':return String(_0x386175)['replace'](/\d/g,_0xa3b3e4=>ft[Number(_0xa3b3e4)]);default:return String(_0x386175);}}}function ct(_0x3e8d07){if('string'==typeof _0x3e8d07){const _0xbd0ca9=et[_0x3e8d07];if(_0xbd0ca9)return _0xbd0ca9;if(ot['includes'](_0x3e8d07))return _0x3e8d07;}return null;}function ut(_0x4bd975,_0x156103){const _0x5c0be2=_0x156103['toViewElement'](_0x4bd975);return Array['from'](_0x5c0be2['getChildren']())['find'](_0x126acf=>_0x126acf['is']('element','ol')&&_0x126acf['hasClass']('footnotes-list'));}class dt extends _0x1bdebe{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x6f3d6b();['keystrokes']=new _0x1f795f();['focusables']=new _0x445dd0();['focusCycler'];constructor(_0x2dcb6d,{styleButtonViews:_0x433f0c,styleGridAriaLabel:_0x566fa4}){super(_0x2dcb6d),(this['focusCycler']=new _0x497d83({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x433f0c,_0x566fa4),[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 _0x3a9564 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3a9564['element']);_0x5d6e5d({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x4d2e7b['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 _0x190264=_0x415f04=>_0x415f04['stopPropagation']();this['keystrokes']['set']('arrowright',_0x190264),this['keystrokes']['set']('arrowleft',_0x190264),this['keystrokes']['set']('arrowup',_0x190264),this['keystrokes']['set']('arrowdown',_0x190264);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2808ef,_0x1cac6d){const _0x4b7fc4=new _0x1bdebe(this['locale']);return _0x4b7fc4['children']=_0x4b7fc4['createCollection'](),_0x4b7fc4['children']['addMany'](_0x2808ef),_0x4b7fc4['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1cac6d,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4b7fc4['children']}),_0x4b7fc4['children']['delegate']('execute')['to'](this),_0x4b7fc4['focus']=function(){for(const _0x1e6140 of this['children'])if(_0x1e6140 instanceof _0x5c970f&&_0x1e6140['isOn'])return void _0x1e6140['focus']();this['children']['first']['focus']();},_0x4b7fc4['focusTracker']=new _0x6f3d6b(),_0x4b7fc4['keystrokes']=new _0x1f795f(),_0x4b7fc4['render'](),_0x4b7fc4['keystrokes']['listenTo'](_0x4b7fc4['element']),this['children']['add'](_0x4b7fc4),_0x4b7fc4;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3a0417=this['_createStartIndexPropertyView'](),_0x23ff8d=[_0x3a0417],_0x286ed2=new _0x43fde6(this['locale'],_0x23ff8d);return _0x286ed2['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x286ed2['buttonView']['bind']('isEnabled')['toMany'](_0x23ff8d,'isEnabled',(..._0x28423d)=>_0x28423d['some'](_0x5c2389=>_0x5c2389)),_0x286ed2['buttonView']['on']('change:isEnabled',(_0x74caf5,_0x2f33a1,_0x3429e9)=>{_0x3429e9||(_0x286ed2['isCollapsed']=!0x0);}),this['children']['add'](_0x286ed2),[_0x3a0417,_0x286ed2];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x228da9=new _0x86f1cb(this['locale'],_0x1f6536);return _0x228da9['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x228da9['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x228da9['fieldView']['on']('input',()=>{const _0x1dfc78=_0x228da9['fieldView']['element'],_0x1edaae=_0x1dfc78['valueAsNumber'];Number['isNaN'](_0x1edaae)?_0x228da9['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1dfc78['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1edaae}):_0x228da9['errorText']=t(_0x1edaae<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x228da9;}}class ht extends _0x3e2d2d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x47c7c2,_0x57e8fd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x23e482}=this,{componentFactory:_0x5313dd}=_0x23e482['ui'];_0x23e482['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5313dd['add']('footnotesStyle',function(_0x1d0b18){return _0x380348=>{const {t:t}=_0x380348,_0x2c5bda=_0x1d0b18['commands']['get']('footnotesStyle'),_0x57f0e0=_0x355f2a(_0x380348),{buttonView:_0x423150}=_0x57f0e0;return _0x57f0e0['class']='ck-footnotes-styles-dropdown',_0x57f0e0['bind']('isEnabled')['to'](_0x2c5bda,'isEnabled'),_0x423150['set']({'label':t('Footnotes\x20style'),'icon':_0x3854b5,'tooltip':!0x0}),_0x57f0e0['once']('change:isOpen',()=>{const _0x33ec79=function({editor:_0x5c83bd,dropdownView:_0x47cc4a}){const {t:t}=_0x5c83bd['locale'],_0x34f0f8=t('Footnotes\x20definitions\x20styles'),_0x10e66c=function(_0x539f20){const {t:t}=_0x539f20['locale'],_0x477bb6=_0x539f20['config']['get']('footnotes.footnotesProperties.listStyles'),_0x5c9763=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x3e62d2},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x5515f3},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x347af2},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x358d06},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x40fb3c},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x2113f6},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x5cd40e}];return _0x477bb6['map'](_0x42e8c4=>{const _0x37ad24=ct(_0x42e8c4),_0x5d6236=_0x5c9763['find'](_0x5a0e09=>_0x5a0e09['style']===_0x37ad24);return function(_0x37ea54,_0x123716){const {locale:_0x14e0f1}=_0x37ea54,{label:_0x4b9c13,icon:_0x182778,tooltip:_0x25f39e,style:_0x4e075c}=_0x123716,_0x2c4705=_0x37ea54['commands']['get']('footnotesStyle'),_0x2a306f=new _0x5c970f(_0x14e0f1);return _0x2a306f['set']({'label':_0x4b9c13,'icon':_0x182778,'tooltip':_0x25f39e}),_0x2a306f['bind']('isOn')['to'](_0x2c4705,'value',_0x5d83a0=>_0x5d83a0===_0x4e075c),_0x2a306f['bind']('isEnabled')['to'](_0x2c4705,'isEnabled'),_0x2a306f['on']('execute',()=>{_0x37ea54['execute']('footnotesStyle',{'value':_0x4e075c}),_0x37ea54['editing']['view']['focus']();}),_0x2a306f;}(_0x539f20,_0x5d6236);});}(_0x5c83bd),_0x5966c6=new dt(_0x5c83bd['locale'],{'styleGridAriaLabel':_0x34f0f8,'styleButtonViews':_0x10e66c}),_0x3ac36d=_0x5c83bd['commands']['get']('footnotesStart');return _0x5966c6['startIndexFieldView']['bind']('isEnabled')['to'](_0x3ac36d),_0x5966c6['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3ac36d),_0x5966c6['on']('footnotesListStart',(_0x1b7962,_0x51c12c)=>{_0x5c83bd['execute']('footnotesStart',{'value':_0x51c12c['startIndex']});}),_0x5966c6['delegate']('execute')['to'](_0x47cc4a),_0x5966c6;}({'editor':_0x1d0b18,'dropdownView':_0x57f0e0});_0x57f0e0['panelView']['children']['add'](_0x33ec79);}),_0x57f0e0;};}(_0x23e482));}['afterInit'](){const {editor:_0x45284d}=this,{t:t}=_0x45284d['locale'],_0x3de837=_0x45284d['plugins']['get'](_0x57e8fd),{defaultPositions:_0xd0ad40}=_0x56b84f;_0x3de837['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x45284d['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x273cf0=>{let _0x4b5970=_0x273cf0['getFirstPosition']()?.['parent'];return _0x4b5970?.['is']('$text')&&(_0x4b5970=_0x4b5970['parent']),_0x4b5970?.['is']('element')?_0x4b5970['findAncestor'](q):null;},'positions':[_0xd0ad40['southArrowNorth'],_0xd0ad40['southArrowNorthMiddleWest'],_0xd0ad40['southArrowNorthMiddleEast'],_0xd0ad40['southArrowNorthWest'],_0xd0ad40['southArrowNorthEast'],_0xd0ad40['northArrowSouth'],_0xd0ad40['northArrowSouthMiddleWest'],_0xd0ad40['northArrowSouthMiddleEast'],_0xd0ad40['northArrowSouthWest'],_0xd0ad40['northArrowSouthEast'],_0xd0ad40['viewportStickyNorth']]});}}class mt extends _0x3e2d2d{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[at,ht];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Z as Footnotes,J as FootnotesClipboard,$ as FootnotesEditing,mt as FootnotesProperties,at as FootnotesPropertiesEditing,ht as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,K as FootnotesTracker,W as FootnotesUI,V as InsertFootnoteCommand};
23
+ import{Plugin as _0x4d073e,Command as _0x25782d}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x148a33,isWidget as _0x2d847e,toWidgetEditable as _0x3577ce,WidgetToolbarRepository as _0x2c0df1}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x140b9c,logWarning as _0x4d8767,FocusTracker as _0x33b38d,KeystrokeHandler as _0x4597b7,global as _0x259e4d}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x2f021e,ClickObserver as _0x143519}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x40d7f5}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x5673f6,ButtonView as _0x397507,View as _0x37531d,ViewCollection as _0x238256,FocusCycler as _0x697ebb,addKeyboardHandlingForGrid as _0x5d9ad5,CollapsibleView as _0x3e34e1,LabeledFieldView as _0x2dbc17,createLabeledInputNumber as _0x5d8f1a,ContextualBalloon as _0x5d3372,BalloonPanelView as _0x40a5e7,createDropdown as _0x17ce21}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1dd5d8,IconListStyleDecimal as _0xa73443,IconListStyleDecimalLeadingZero as _0x2bf03a,IconListStyleLowerRoman as _0x13cb4a,IconListStyleUpperRoman as _0x237abe,IconListStyleLowerLatin as _0xc55479,IconListStyleUpperLatin as _0x5dfe0a,IconListStyleArabicIndic as _0x35714d}from'@ckeditor/ckeditor5-icons/dist/index.js';class ModelElementTracker{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x41a43e,_0x2af865){this['_model']=_0x41a43e,this['_elementName']=_0x2af865['elementName'],this['_getElementKey']=_0x2af865['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x358279){const _0x51c666=new Set(),_0x180804=new Map();for(const _0xf48cc5 of _0x358279){if('insert'===_0xf48cc5['type']&&'$text'!==_0xf48cc5['name']&&_0xf48cc5['position']['nodeAfter']){const _0x3e68fd=this['_model']['createRangeOn'](_0xf48cc5['position']['nodeAfter']);for(const _0x465b13 of _0x3e68fd['getItems']()){if(!_0x465b13['is']('element',this['_elementName']))continue;const _0xff4603=this['_getElementKey'](_0x465b13);_0x180804['has'](_0xff4603)||_0x180804['set'](_0xff4603,[]),_0x180804['get'](_0xff4603)['push'](_0x465b13);}}if('remove'===_0xf48cc5['type']&&_0xf48cc5['name']===this['_elementName']){const _0x4d5fdd=this['_getElementKey']({'getAttribute':_0x128d46=>_0xf48cc5['attributes']['get'](_0x128d46)});_0x51c666['add'](_0x4d5fdd);}}for(const [_0x131e94,_0x409d05]of this['_trackedElements'])'$graveyard'===_0x409d05['root']['rootName']&&_0x51c666['add'](_0x131e94);for(const _0x3884e8 of _0x51c666)this['_trackedElements']['delete'](_0x3884e8);for(const [_0x2b5e8a,_0x1a1d48]of _0x180804)this['_trackedElements']['set'](_0x2b5e8a,_0x1a1d48[_0x1a1d48['length']-0x1]);const _0xacdfc8=new Set();for(const [_0x4459b7,_0x4b9c6a]of _0x180804)_0x51c666['has'](_0x4459b7)&&(_0xacdfc8['add'](_0x4b9c6a[0x0]),_0x4b9c6a['length']>0x1?_0x180804['set'](_0x4459b7,_0x4b9c6a['slice'](0x1)):_0x180804['delete'](_0x4459b7),_0x51c666['delete'](_0x4459b7));return{'removed':Array['from'](_0x51c666),'inserted':Array['from'](_0x180804['values']())['flat'](),'moved':Array['from'](_0xacdfc8)};}}class FootnotesTracker extends _0x4d073e{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x37f2ff){super(_0x37f2ff),this['_footnoteDefsContainerTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x367110=>_0x367110['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new ModelElementTracker(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x3b9bf3=>_0x3b9bf3['getAttribute']('footnoteId')});}['init'](){const {editor:_0x426ab2}=this,{model:_0x205a9c,data:_0x79f6e9}=_0x426ab2;_0x205a9c['document']['registerPostFixer'](_0x521bb6=>{const _0x56b463=_0x205a9c['document']['differ']['getChanges']();let _0x20ec90=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x521bb6,_0x56b463)&&(_0x20ec90=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x521bb6,_0x56b463)&&(_0x20ec90=!0x0),this['_handleFootnoteReferencesChanges'](_0x521bb6,_0x56b463)&&(_0x20ec90=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x521bb6)&&(_0x20ec90=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x521bb6)&&(_0x20ec90=!0x0),this['_sortFootnoteDefinitions'](_0x521bb6)&&(_0x20ec90=!0x0),_0x20ec90;}),this['listenTo'](_0x205a9c['document'],'change:data',()=>{_0x205a9c['enqueueChange']({'isUndoable':!0x1},_0x4e7ff0=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x4e7ff0);});},{'priority':'low'}),this['listenTo'](_0x79f6e9,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x28a46b){return this['_footnotes']['find'](_0x16a878=>_0x16a878['id']===_0x28a46b)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x40d56b){this['_footnoteFormatter']=_0x40d56b;}['_updateFootnotesCounters'](_0x1c1485,_0x26fe04=0x0){let _0xe28f53=!0x1;for(let _0x49f4af=_0x26fe04;_0x49f4af<this['_footnotes']['length'];_0x49f4af++)this['_updateFootnoteRefCounter'](_0x1c1485,_0x49f4af)&&(_0xe28f53=!0x0);return _0xe28f53;}['_insertEmptyFootnotesDefinitionsContainer'](_0x5b4262,_0x2522b3){const _0x539858=_0x5b4262['createElement']('footnotesDefinitions',{});return _0x5b4262['append'](_0x539858,_0x2522b3),this['_footnotesDefinitions']=_0x539858,_0x539858;}['_ensureFootnotesDefinitionsContainerExists'](_0x1a6d42){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x1a9edb=this['_footnotes'][0x0]['reference']['root'],_0x51a645=this['_insertEmptyFootnotesDefinitionsContainer'](_0x1a6d42,_0x1a9edb);for(const _0x1f19e6 of this['_footnotes'])_0x1f19e6['definition']['parent']||_0x1a6d42['insert'](_0x1f19e6['definition'],_0x51a645,'end');this['_updateFootnotesCounters'](_0x1a6d42);}['_handleFootnotesDefinitionsObjectChanges'](_0x4e7e1f,_0x4eb3c3){let _0x27e7e0=!0x1;const {inserted:_0x4d4177,removed:_0x56cde7,moved:_0x42f38b}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4eb3c3);if(_0x42f38b['length']&&(this['_footnotesDefinitions']=_0x42f38b[0x0]),_0x4d4177['length']){if(_0x4d4177['length']>0x1||this['_footnotesDefinitions']&&_0x4d4177['some'](_0x338b35=>_0x338b35!==this['_footnotesDefinitions'])){const _0x253e46=_0x4e7e1f['createElement']('footnotesDefinitions',{}),_0x173b36=[];this['_footnotesDefinitions']&&_0x173b36['push'](this['_footnotesDefinitions']),_0x173b36['push'](..._0x4d4177),_0x4e7e1f['insert'](_0x253e46,_0x173b36[0x0],'before');for(const _0x28f132 of _0x173b36)_0x4e7e1f['move'](_0x4e7e1f['createRangeIn'](_0x28f132),_0x4e7e1f['createPositionAt'](_0x253e46,'end')),_0x4e7e1f['remove'](_0x28f132);this['_footnotesDefinitions']=_0x253e46,this['_updateFootnotesCounters'](_0x4e7e1f),_0x27e7e0=!0x0;}else this['_footnotesDefinitions']=_0x4d4177[0x0];}if(_0x56cde7['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x46af04 of this['_footnotes'])_0x4e7e1f['remove'](_0x46af04['reference']),_0x27e7e0=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x27e7e0;}['_handleFootnoteDefinitionsChanges'](_0x27be6c,_0x70ed20){let _0x10387a=!0x1;const _0xf64ad9=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x564d12,moved:_0x1c5282}=this['_footnoteDefsTracker']['getChanges'](_0x70ed20);for(const _0x75894b of[..._0x1c5282,..._0x564d12]){const _0x5a94bd=_0x75894b['getAttribute']('footnoteId'),_0x20d816=this['getFootnote'](_0x5a94bd);_0x20d816&&(_0x20d816['definition']=_0x75894b),N(_0x27be6c,_0xf64ad9,_0x75894b)&&(_0x10387a=!0x0);}return _0x10387a;}['_handleFootnoteReferencesChanges'](_0x543fae,_0xe4115f){let _0x37004b=!0x1;const {removed:_0x42c8a7,inserted:_0x4891ff,moved:_0xd6d4cb}=this['_footnoteRefsTracker']['getChanges'](_0xe4115f);for(const _0x1ddff1 of _0x42c8a7)this['_handleRemoveFootnoteReferenceById'](_0x543fae,_0x1ddff1)&&(_0x37004b=!0x0);for(const _0x3ca761 of _0x4891ff)this['_handleInsertedFootnoteReference'](_0x543fae,_0x3ca761)&&(_0x37004b=!0x0);for(const _0x47e076 of _0xd6d4cb)this['_handleMovedFootnoteReference'](_0x543fae,_0x47e076)&&(_0x37004b=!0x0);return _0x37004b;}['_handleFootnotesDefinitionsObjectSync'](_0x5aa97e){if(!this['_footnotesDefinitions'])return!0x1;let _0x1af4fa=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x952d9=[];for(const _0x2a7674 of this['_footnotesDefinitions']['getChildren']()){const _0x217088=_0x2a7674['getAttribute']('footnoteId');this['getFootnote'](_0x217088)||(_0x952d9['unshift'](_0x2a7674),_0x1af4fa=!0x0);}for(const _0x3afb99 of _0x952d9)_0x5aa97e['remove'](_0x3afb99);}const _0x45e1d7=new Set(),_0x186349=[];for(const _0x22db68 of this['_footnotesDefinitions']['getChildren']()){const _0x516c98=_0x22db68['getAttribute']('footnoteId');_0x45e1d7['has'](_0x516c98)?(_0x186349['unshift'](_0x22db68),_0x1af4fa=!0x0):_0x45e1d7['add'](_0x516c98);}for(const _0x50ffb5 of _0x186349)_0x5aa97e['remove'](_0x50ffb5);return this['_footnotesDefinitions']['childCount']||(_0x5aa97e['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1af4fa=!0x0),_0x1af4fa;}['_handleInsertedFootnoteReference'](_0x19fad9,_0x3cbd9){if(this['_footnotes']['find'](_0x1b38a4=>_0x1b38a4['reference']===_0x3cbd9))return!0x1;let _0x579857=!0x1;const _0x3d60dd=_0x3cbd9['getAttribute']('footnoteId'),_0x1ef92c=this['_footnotes']['findIndex'](_0x3f2d75=>_0x3f2d75['id']===_0x3d60dd);-0x1!==_0x1ef92c&&(_0x19fad9['remove'](this['_footnotes'][_0x1ef92c]['reference']),this['_footnotes']['splice'](_0x1ef92c,0x1),_0x579857=!0x0);let _0x2bcb74=this['_footnotesDefinitions']?function(_0x592b22,_0x25c436){for(const _0x2e4caf of _0x592b22['getChildren']())if(_0x2e4caf['getAttribute']('footnoteId')===_0x25c436)return _0x2e4caf;return null;}(this['_footnotesDefinitions'],_0x3d60dd):null;_0x2bcb74||(_0x2bcb74=_0x19fad9['createElement']('footnoteDefinition',{'footnoteId':_0x3d60dd}),this['_footnotesDefinitions']&&(_0x19fad9['insert'](_0x2bcb74,this['_footnotesDefinitions'],'end'),_0x579857=!0x0));const _0x45b7e3={'id':_0x3d60dd,'reference':_0x3cbd9,'definition':_0x2bcb74},_0x20f3bd=R(this['editor']['model'],this['_footnotes'],_0x3cbd9);this['_footnotes']['splice'](_0x20f3bd,0x0,_0x45b7e3);let _0x995937=_0x20f3bd;return-0x1!==_0x1ef92c&&(_0x995937=Math['min'](_0x20f3bd,_0x1ef92c)),this['_updateFootnotesCounters'](_0x19fad9,_0x995937)&&(_0x579857=!0x0),_0x579857;}['_handleRemoveFootnoteReferenceById'](_0x12107e,_0x389e5e){const _0x5e340a=this['_footnotes']['findIndex'](_0x43ee54=>_0x43ee54['id']===_0x389e5e);if(-0x1===_0x5e340a)return!0x1;let _0x361013=!0x1;const _0x2c5d1c=this['_footnotes'][_0x5e340a];return'$graveyard'!==_0x2c5d1c['definition']['root']['rootName']&&(_0x12107e['remove'](_0x2c5d1c['definition']),_0x361013=!0x0),this['_footnotes']['splice'](_0x5e340a,0x1),this['_updateFootnotesCounters'](_0x12107e,_0x5e340a)&&(_0x361013=!0x0),_0x361013;}['_handleMovedFootnoteReference'](_0x27e605,_0x23f8f9){const _0x513692=_0x23f8f9['getAttribute']('footnoteId'),_0x38df90=this['_footnotes']['findIndex'](_0x4308d4=>_0x4308d4['id']===_0x513692),_0x19e849=this['_footnotes'][_0x38df90];let _0x167255=!0x1;_0x19e849['reference']=_0x23f8f9,this['_footnotes']['splice'](_0x38df90,0x1);const _0x504f1a=R(this['editor']['model'],this['_footnotes'],_0x23f8f9);return this['_footnotes']['splice'](_0x504f1a,0x0,_0x19e849),this['_updateFootnotesCounters'](_0x27e605,Math['min'](_0x38df90,_0x504f1a))&&(_0x167255=!0x0),_0x167255;}['_updateFootnoteRefCounter'](_0x2d68bd,_0xe29bfb){if(!this['_footnotesDefinitions'])return!0x1;const _0xba1fe1=this['_footnotes'][_0xe29bfb];let _0x339a9b;return _0x339a9b=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0xba1fe1,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0xe29bfb+0x1}):String(_0xe29bfb+0x1),_0xba1fe1['reference']['getAttribute']('footnoteCounter')!=_0x339a9b&&(_0x2d68bd['setAttribute']('footnoteCounter',_0x339a9b,_0xba1fe1['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x2df3d1){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x4d2ef8,_0x40eaaf){if(_0x4d2ef8['length']!==_0x40eaaf['length'])return!0x1;for(let _0x53693d=0x0;_0x53693d<_0x4d2ef8['length'];_0x53693d++)if(_0x4d2ef8[_0x53693d]!==_0x40eaaf[_0x53693d])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x1933e2=>_0x1933e2['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x567790=>_0x567790['getAttribute']('footnoteId'))))return!0x1;let _0x2fa964=!0x1;for(let _0x5bb39f=0x0;_0x5bb39f<this['_footnotes']['length'];_0x5bb39f++){const _0x256307=this['_footnotes'][_0x5bb39f],_0x2d9bf9=_0x2df3d1['createPositionBefore'](_0x256307['definition']),_0x44dd37=_0x2df3d1['createPositionAt'](this['_footnotesDefinitions'],_0x5bb39f);_0x2d9bf9['isEqual'](_0x44dd37)||(_0x2df3d1['move'](_0x2df3d1['createRangeOn'](_0x256307['definition']),_0x44dd37),_0x2fa964=!0x0);}return _0x2fa964;}['_ensureFootnotesReferencesHaveProperOrder'](_0xb4aaee){if(!this['_footnotes']['length'])return!0x1;const {model:_0xc12470}=this['editor'];let _0x36147e=!0x1;for(let _0x34abbf=0x0;_0x34abbf<this['_footnotes']['length']-0x1;_0x34abbf++){const _0x40f5b6=this['_footnotes'][_0x34abbf],_0x557dde=this['_footnotes'][_0x34abbf+0x1],_0x52dbcb=_0xc12470['createPositionBefore'](_0x40f5b6['reference']),_0x1f63ca=_0xc12470['createPositionBefore'](_0x557dde['reference']);'after'===_0x52dbcb['compareWith'](_0x1f63ca)&&(this['_handleMovedFootnoteReference'](_0xb4aaee,_0x40f5b6['reference']),_0x34abbf=-0x1,_0x36147e=!0x0);}return _0x36147e;}}function N(_0xfdcd4c,_0x9cb592,_0x12e351){if(_0x12e351['childCount'])return!0x1;const _0x561b99=_0x9cb592?'paragraph':'footnoteInlineContent';return _0xfdcd4c['insert'](_0xfdcd4c['createElement'](_0x561b99),_0x12e351),!0x0;}function R(_0x3e3011,_0x50c07f,_0x2f1acd){if(0x0===_0x50c07f['length'])return 0x0;const _0x573513=_0x3e3011['createPositionBefore'](_0x2f1acd);for(let _0x27a4f4=0x0;_0x27a4f4<_0x50c07f['length'];_0x27a4f4++){const _0x550cf5=_0x50c07f[_0x27a4f4],_0x5522de=_0x3e3011['createPositionBefore'](_0x550cf5['reference']);if('before'===_0x573513['compareWith'](_0x5522de))return _0x27a4f4;}const _0x23c999=_0x2f1acd['root'];let _0x329c4a=-0x1;for(let _0x1d8638=_0x50c07f['length']-0x1;_0x1d8638>=0x0;_0x1d8638--)if(_0x50c07f[_0x1d8638]['reference']['root']===_0x23c999){_0x329c4a=_0x1d8638;break;}if(-0x1!==_0x329c4a)return _0x329c4a+0x1;const _0x18f241=_0x3e3011['document']['getRootNames'](),_0x5353b4=_0x18f241['indexOf'](_0x23c999['rootName']),_0xae1b93=_0x18f241[_0x5353b4+0x1];if(_0xae1b93){for(let _0x5b8e99=0x0;_0x5b8e99<_0x50c07f['length'];_0x5b8e99++)if(_0x50c07f[_0x5b8e99]['reference']['root']['rootName']===_0xae1b93)return _0x5b8e99;}return _0x50c07f['length'];}class InsertFootnoteCommand extends _0x25782d{['refresh'](){const _0x2167a0=this['editor']['model']['document']['selection'],_0x471929=this['_getPositionToInsertFootnote'](_0x2167a0);this['isEnabled']=!!_0x471929;}['execute'](_0x47a72e){const {editor:_0x4940c5}=this,{model:_0xf21808}=_0x4940c5,{selection:_0x3a2daa}=_0xf21808['document'],_0x31da07=this['_getPositionToInsertFootnote'](_0x3a2daa);if(!_0x31da07)return;const _0x5efa6f=_0x4940c5['plugins']['get']('FootnotesEditing'),_0x5df9d7=_0x47a72e?.['footnoteId']??_0x140b9c();!function(_0x1bbac5){return'string'==typeof _0x1bbac5&&_0x1bbac5['length']>0x0&&!/\s/['test'](_0x1bbac5)&&!/^\d/['test'](_0x1bbac5);}(_0x5df9d7)?_0x4d8767('insert-footnote-command-executed-with-invalid-id'):(_0xf21808['change'](_0x3c23ed=>{const _0x18e732=_0x3c23ed['createElement']('footnoteRef',{'footnoteId':_0x5df9d7});_0xf21808['insertObject'](_0x18e732,_0x31da07,null);}),_0x5efa6f['_moveSelectionToFootnoteDefinition'](_0x5df9d7));}['_getPositionToInsertFootnote'](_0x598866){const {model:_0x155f3a}=this['editor'],{schema:_0x42bd90}=_0x155f3a,_0x415ce7=_0x598866['getFirstRange']();for(const _0x2716c7 of _0x415ce7['getItems']())if(_0x42bd90['isBlock'](_0x2716c7)||_0x42bd90['isObject'](_0x2716c7))return null;const _0xa39c02=_0x415ce7['end'];return _0x42bd90['checkChild'](_0xa39c02,'footnoteRef')?_0xa39c02:null;}}class FootnotesEditing extends _0x4d073e{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3088bc}=this;_0x3088bc['config']['define']('footnotes.multiBlock',!0x0),_0x3088bc['commands']['add']('insertFootnote',new InsertFootnoteCommand(_0x3088bc)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x9d6371){const _0x1d7c9f=_0x4ef967([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]),_0x2dff90=0x47a28506,_0x296ef9=0x47a50f26^_0x2dff90,_0xbe2b0a=window[_0x4ef967([0x44,0x61,0x74,0x65])][_0x4ef967([0x6e,0x6f,0x77])](),_0x52e099=_0x9d6371[_0x4ef967([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a7341=new window[(_0x4ef967([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2bd64c=>{_0x52e099[_0x4ef967([0x6f,0x6e,0x63,0x65])](_0x4ef967([0x72,0x65,0x61,0x64,0x79]),_0x2bd64c);}),_0x36ffc6={[_0x4ef967([0x6b,0x74,0x79])]:_0x4ef967([0x45,0x43]),[_0x4ef967([0x75,0x73,0x65])]:_0x4ef967([0x73,0x69,0x67]),[_0x4ef967([0x63,0x72,0x76])]:_0x4ef967([0x50,0x2d,0x32,0x35,0x36]),[_0x4ef967([0x78])]:_0x4ef967([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]),[_0x4ef967([0x79])]:_0x4ef967([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]),[_0x4ef967([0x61,0x6c,0x67])]:_0x4ef967([0x45,0x53,0x32,0x35,0x36])},_0x3f38ee=_0x52e099[_0x4ef967([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4ef967([0x67,0x65,0x74])](_0x4ef967([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1eadef(){let _0x1f020c,_0x287e44=null,_0x1ea49f=null;try{if(_0x3f38ee==_0x4ef967([0x47,0x50,0x4c]))return _0x4ef967([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1f020c=_0x2b602c(),!_0x1f020c)return _0x4ef967([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1f020c[_0x4ef967([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1ea49f=_0x1f832a(_0x1f020c[_0x4ef967([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1f020c[_0x4ef967([0x6a,0x74,0x69])])),await _0x258806()?_0x5d7352()?_0x1c3a6e()?_0x4ef967([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x134376()?(_0x1f020c[_0x4ef967([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4ef967([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x287e44=_0x46724b(_0x4ef967([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x404d9b()):_0x4ef967([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4ef967([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4ef967([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4ef967([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c3a6e(){const _0x1163b6=[_0x4ef967([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4ef967([0x74,0x72,0x69,0x61,0x6c])][_0x4ef967([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f020c[_0x4ef967([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xbe2b0a/0x3e8:0xe10*_0x296ef9;return _0x1f020c[_0x4ef967([0x65,0x78,0x70])]<_0x1163b6;}function _0x5d7352(){const _0x212986=_0x1f020c[_0x4ef967([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x212986&&(!!_0x212986[_0x4ef967([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef967([0x2a]))||!!_0x212986[_0x4ef967([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef967([0x46,0x4f,0x4f])));}function _0x134376(){const _0x291727=_0x1f020c[_0x4ef967([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x291727||0x0==_0x291727[_0x4ef967([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x26f7e4}=new URL(window[_0x4ef967([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x291727[_0x4ef967([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26f7e4))return!0x0;const _0x1c89ac=_0x26f7e4[_0x4ef967([0x73,0x70,0x6c,0x69,0x74])](_0x4ef967([0x2e]));return _0x291727[_0x4ef967([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50ca53=>_0x50ca53[_0x4ef967([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ef967([0x2a])))[_0x4ef967([0x6d,0x61,0x70])](_0x4957be=>_0x4957be[_0x4ef967([0x73,0x70,0x6c,0x69,0x74])](_0x4ef967([0x2e])))[_0x4ef967([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x269f02=>_0x269f02[_0x4ef967([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c89ac[_0x4ef967([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ef967([0x6d,0x61,0x70])](_0x22b648=>Array(_0x1c89ac[_0x4ef967([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x22b648[_0x4ef967([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4ef967([0x66,0x69,0x6c,0x6c])](_0x22b648[0x0]===_0x4ef967([0x2a])?_0x4ef967([0x2a]):'')[_0x4ef967([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x22b648))[_0x4ef967([0x73,0x6f,0x6d,0x65])](_0x2dadbd=>_0x1c89ac[_0x4ef967([0x65,0x76,0x65,0x72,0x79])]((_0x16b5bd,_0x5671d1)=>_0x2dadbd[_0x5671d1]===_0x16b5bd||_0x2dadbd[_0x5671d1]===_0x4ef967([0x2a])));}function _0x404d9b(){return _0x287e44&&_0x1ea49f?new window[(_0x4ef967([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x50380d,_0x153dd3)=>{_0x287e44[_0x4ef967([0x74,0x68,0x65,0x6e])](_0x50380d,_0x153dd3),_0x1ea49f[_0x4ef967([0x74,0x68,0x65,0x6e])](_0x1a88af=>{_0x1a88af!=_0x4ef967([0x56,0x61,0x6c,0x69,0x64])&&_0x50380d(_0x1a88af);},_0x153dd3);}):_0x287e44||_0x1ea49f||_0x4ef967([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1f832a(_0x53a52b,_0x4520e4){return new window[(_0x4ef967([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54e3c9=>{if(_0x317be3())return _0x54e3c9(_0x4ef967([0x56,0x61,0x6c,0x69,0x64]));_0x159f5f(),_0x52e099[_0x4ef967([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4ef967([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xaf9819=!0x1;const _0x59e6fd=_0x140b9c();function _0x50629e(_0x4354b1){return!!_0x4354b1&&(typeof _0x4354b1===_0x4ef967([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4354b1===_0x4ef967([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4354b1[_0x4ef967([0x74,0x68,0x65,0x6e])]===_0x4ef967([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4354b1[_0x4ef967([0x63,0x61,0x74,0x63,0x68])]===_0x4ef967([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2cec17(_0x523dd3){_0x4edd57(_0x523dd3)[_0x4ef967([0x74,0x68,0x65,0x6e])](_0x5854df=>{if(!_0x5854df||_0x5854df[_0x4ef967([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4ef967([0x6f,0x6b]))return _0x4ef967([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2e73ab(_0x697ece(_0x59e6fd+_0x4520e4))!=_0x5854df[_0x4ef967([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4ef967([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4ef967([0x56,0x61,0x6c,0x69,0x64]);})[_0x4ef967([0x74,0x68,0x65,0x6e])](_0x5a868a=>(_0x392f4e(),_0x5a868a),()=>{const _0x5949ef=_0x1aabfb();return null==_0x5949ef?(_0x392f4e(),_0x4ef967([0x56,0x61,0x6c,0x69,0x64])):_0x4ef967(_0xbe2b0a-_0x5949ef>(0x63ae0106^_0x2dff90)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4ef967([0x74,0x68,0x65,0x6e])](_0x54e3c9)[_0x4ef967([0x63,0x61,0x74,0x63,0x68])](()=>{_0x54e3c9(_0x4ef967([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x46a6c6=0x47946b86^_0x2dff90;function _0x392f4e(){const _0xa7e824=_0x4ef967([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e73ab(_0x697ece(_0x53a52b)),_0x30560d=_0x13bc2d(_0x2e73ab(window[_0x4ef967([0x4d,0x61,0x74,0x68])][_0x4ef967([0x63,0x65,0x69,0x6c])](_0xbe2b0a/_0x46a6c6)));window[_0x4ef967([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ef967([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xa7e824,_0x30560d);}function _0x1aabfb(){const _0xeee2c0=_0x4ef967([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e73ab(_0x697ece(_0x53a52b)),_0x19b9d9=window[_0x4ef967([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4ef967([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xeee2c0);return _0x19b9d9?window[_0x4ef967([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13bc2d(_0x19b9d9),0x10)*_0x46a6c6:null;}function _0x4edd57(_0x3bda3a){return new window[(_0x4ef967([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bd1b8,_0xf6e88b)=>{_0x3bda3a[_0x4ef967([0x74,0x68,0x65,0x6e])](_0x5bd1b8,_0xf6e88b),window[_0x4ef967([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xf6e88b,0x47a351c6^_0x2dff90);});}}_0x52e099[_0x4ef967([0x6f,0x6e])](_0x4ef967([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2cb636,_0x15041b)=>{if(_0x15041b[0x0]!=_0x53a52b)return _0x54e3c9(_0x4ef967([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15041b[0x1]={..._0x15041b[0x1],[_0x4ef967([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x59e6fd};},{[_0x4ef967([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ef967([0x68,0x69,0x67,0x68])}),_0x52e099[_0x4ef967([0x6f,0x6e])](_0x4ef967([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x559b7c=>{_0x50629e(_0x559b7c[_0x4ef967([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xaf9819=!0x0,_0x2cec17(_0x559b7c[_0x4ef967([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4ef967([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4ef967([0x6c,0x6f,0x77])}),_0x4a7341[_0x4ef967([0x74,0x68,0x65,0x6e])](()=>{_0xaf9819||_0x54e3c9(_0x4ef967([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x317be3(){return _0x52e099[_0x4ef967([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ef967([0x76,0x69,0x65,0x77])][_0x4ef967([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4ef967([0x61,0x75,0x74,0x6f]);}function _0x159f5f(){_0x52e099[_0x4ef967([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4ef967([0x76,0x69,0x65,0x77])][_0x4ef967([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4ef967([0x61,0x75,0x74,0x6f]);}}function _0x46724b(_0x95b7ad){const _0x543e48=[new window[(_0x4ef967([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x106e18=>setTimeout(_0x106e18,0x47abbbca^_0x2dff90)),_0x4a7341[_0x4ef967([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4ef967([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47a586=>{let _0x558302=0x0;_0x52e099[_0x4ef967([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ef967([0x6f,0x6e])](_0x4ef967([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2c9c3e,_0x40bfcd)=>{_0x40bfcd[0x0][_0x4ef967([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x558302++,_0x558302==(0x47a280ee^_0x2dff90)&&(_0x47a586(),_0x2c9c3e[_0x4ef967([0x6f,0x66,0x66])]());});}))];return window[_0x4ef967([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4ef967([0x72,0x61,0x63,0x65])](_0x543e48)[_0x4ef967([0x74,0x68,0x65,0x6e])](()=>_0x95b7ad);}async function _0x5e9aac(){await _0x4a7341,_0x52e099[_0x4ef967([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ef967([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a69fe,_0x52e099[_0x4ef967([0x6d,0x6f,0x64,0x65,0x6c])][_0x4ef967([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a69fe,_0x52e099[_0x4ef967([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4ef967([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1689b4(_0x486053){const _0x293707=_0x10529b();_0x52e099[_0x293707]=_0x4ef967([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x486053,_0x486053!=_0x4ef967([0x56,0x61,0x6c,0x69,0x64])&&_0x5e9aac();}function _0x10529b(){const _0x1d5dfd=window[_0x4ef967([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4ef967([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4ef967([0x6e,0x6f,0x77])]())[_0x4ef967([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4ef967([0x2e]),'');let _0x1d6e6b=_0x4ef967([0x75]);for(let _0x59e013=0x0;_0x59e013<_0x1d5dfd[_0x4ef967([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59e013+=0x2){let _0x1364d8=window[_0x4ef967([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1d5dfd[_0x4ef967([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59e013,_0x59e013+0x2));_0x1364d8>=_0x1d7c9f[_0x4ef967([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1364d8-=_0x1d7c9f[_0x4ef967([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d6e6b+=_0x1d7c9f[_0x1364d8];}return _0x1d6e6b;}function _0x2b602c(){const _0x13a7db=_0x3f38ee[_0x4ef967([0x73,0x70,0x6c,0x69,0x74])](_0x4ef967([0x2e]));if(0x3!=_0x13a7db[_0x4ef967([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3fe580(_0x13a7db[0x1]);function _0x3fe580(_0x3b9e60){const _0xea9927=_0xf02fac(_0x3b9e60);return _0xea9927&&_0x9dcfb2()?_0xea9927:null;function _0x9dcfb2(){const _0x30b96f=_0xea9927[_0x4ef967([0x6a,0x74,0x69])],_0x16b522=window[_0x4ef967([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30b96f[_0x4ef967([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x30b96f[_0x4ef967([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48c2d3={..._0xea9927,[_0x4ef967([0x6a,0x74,0x69])]:_0x30b96f[_0x4ef967([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x30b96f[_0x4ef967([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48c2d3[_0x4ef967([0x76,0x63])],_0x697ece(_0x48c2d3)==_0x16b522;}}}async function _0x258806(){let _0x1d4fc1=!0x0;try{const _0x3c335d=_0x3f38ee[_0x4ef967([0x73,0x70,0x6c,0x69,0x74])](_0x4ef967([0x2e])),[_0x1d4825,_0x2c82a6,_0x5da354]=_0x3c335d;return _0x539f46(_0x1d4825),await _0xe250e7(_0x1d4825,_0x2c82a6,_0x5da354),_0x1d4fc1;}catch{return!0x1;}function _0x539f46(_0x1f717f){const _0x59bf35=_0xf02fac(_0x1f717f);_0x59bf35&&_0x59bf35[_0x4ef967([0x61,0x6c,0x67])]==_0x4ef967([0x45,0x53,0x32,0x35,0x36])||(_0x1d4fc1=!0x1);}async function _0xe250e7(_0x243d13,_0x3127d7,_0x435a23){const _0x13ef07=window[_0x4ef967([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4ef967([0x66,0x72,0x6f,0x6d])](_0x2315b6(_0x435a23),_0x5af99a=>_0x5af99a[_0x4ef967([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x58c998=new window[(_0x4ef967([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4ef967([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x243d13+_0x4ef967([0x2e])+_0x3127d7),_0x4f9dc8=window[_0x4ef967([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4ef967([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f9dc8)return;const _0x1963b7=await _0x4f9dc8[_0x4ef967([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4ef967([0x6a,0x77,0x6b]),_0x36ffc6,{[_0x4ef967([0x6e,0x61,0x6d,0x65])]:_0x4ef967([0x45,0x43,0x44,0x53,0x41]),[_0x4ef967([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4ef967([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4ef967([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f9dc8[_0x4ef967([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4ef967([0x6e,0x61,0x6d,0x65])]:_0x4ef967([0x45,0x43,0x44,0x53,0x41]),[_0x4ef967([0x68,0x61,0x73,0x68])]:{[_0x4ef967([0x6e,0x61,0x6d,0x65])]:_0x4ef967([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1963b7,_0x13ef07,_0x58c998)||(_0x1d4fc1=!0x1);}}function _0xf02fac(_0xadda9d){return _0xadda9d[_0x4ef967([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4ef967([0x65,0x79]))?JSON[_0x4ef967([0x70,0x61,0x72,0x73,0x65])](_0x2315b6(_0xadda9d)):null;}function _0x2315b6(_0x1975d7){return window[_0x4ef967([0x61,0x74,0x6f,0x62])](_0x1975d7[_0x4ef967([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4ef967([0x2b]))[_0x4ef967([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4ef967([0x2f])));}function _0x697ece(_0x385e31){let _0x406bc1=0x1505;function _0x153d41(_0x46b752){for(let _0x5e4faa=0x0;_0x5e4faa<_0x46b752[_0x4ef967([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5e4faa++){const _0x5a7ec3=_0x46b752[_0x4ef967([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5e4faa);_0x406bc1=(_0x406bc1<<0x5)+_0x406bc1+_0x5a7ec3,_0x406bc1&=_0x406bc1;}}function _0x20dc70(_0xa7a278){Array[_0x4ef967([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xa7a278)?_0xa7a278[_0x4ef967([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x20dc70):_0xa7a278&&typeof _0xa7a278==_0x4ef967([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4ef967([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xa7a278)[_0x4ef967([0x73,0x6f,0x72,0x74])]()[_0x4ef967([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e18ce,_0x89438b])=>{_0x153d41(_0x4e18ce),_0x20dc70(_0x89438b);}):_0x153d41(window[_0x4ef967([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xa7a278));}return _0x20dc70(_0x385e31),_0x406bc1>>>0x0;}function _0x2e73ab(_0x569cd2){return _0x569cd2[_0x4ef967([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4ef967([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4ef967([0x30]));}function _0x13bc2d(_0x512ead){return _0x512ead[_0x4ef967([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4ef967([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4ef967([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a69fe(){}function _0x4ef967(_0x2a8d07){return _0x2a8d07['map'](_0x32dab5=>String['fromCharCode'](_0x32dab5))['join']('');}_0x1689b4(await _0x1eadef());}(this);}['_moveSelectionToFootnoteDefinition'](_0x10dc0e){const {plugins:_0x4d0172,editing:_0x82f983,model:_0xd2a7db}=this['editor'],_0x547d2a=_0x4d0172['get'](FootnotesTracker)['getFootnote'](_0x10dc0e);return!!_0x547d2a&&(_0xd2a7db['change'](_0x2b2114=>{_0x2b2114['setSelection'](_0x2b2114['createPositionAt'](_0x547d2a['definition'],'end'));}),_0x82f983['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xb201dc){const {plugins:_0x31ebf8,editing:_0x4c1dfa,model:_0x362bb0}=this['editor'],_0x15fe79=_0x31ebf8['get'](FootnotesTracker)['getFootnote'](_0xb201dc);return!!_0x15fe79&&(_0x362bb0['change'](_0x5285ce=>{_0x5285ce['setSelection'](_0x15fe79['reference'],'on');}),_0x4c1dfa['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1647ae}=this['editor']['model'],_0x443d0c=this['editor']['config']['get']('footnotes.multiBlock');_0x1647ae['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1647ae['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1647ae['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x443d0c?_0x1647ae['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1647ae['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1647ae['addChildCheck'](_0x4c2ec4=>{for(const _0x348cb1 of _0x4c2ec4)if('footnoteDefinition'===_0x348cb1['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x1b1e09}=this,{conversion:_0x16d1e1,editing:_0x35c2ff}=_0x1b1e09,{t:t}=_0x1b1e09['locale'];_0x16d1e1['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3b1941,{writer:_0x55c614,consumable:_0x229770})=>{const _0x3dc8ad=_0x3b1941['getChild'](0x0);if(!_0x3dc8ad||!_0x3dc8ad['is']('element','a'))return null;const _0x3a228e=_0x3dc8ad['getAttribute']('href')||'';if(!_0x3a228e['startsWith']('#'))return null;const _0x16f292=_0x3a228e['replace'](/^#/,'');if(!_0x16f292)return null;_0x229770['consume'](_0x3dc8ad,{'name':!0x0,'attributes':['href']});for(const {item:_0x3f315a}of _0x35c2ff['view']['createRangeIn'](_0x3dc8ad))_0x3f315a['is']('$textProxy')?_0x229770['consume'](_0x3f315a['textNode'],{'name':!0x0}):_0x3f315a['is']('element')&&_0x229770['consume'](_0x3f315a,{'name':!0x0});return _0x55c614['createElement']('footnoteRef',{'footnoteId':_0x16f292});}}),_0x16d1e1['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2becde,{writer:_0xdcc269})=>U(_0x2becde,_0xdcc269)}),_0x16d1e1['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x599645,{writer:_0x2d070d})=>{const _0x6d9c88=_0x599645['getAttribute']('footnoteCounter');return _0x148a33(U(_0x599645,_0x2d070d),_0x2d070d,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x6d9c88)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3b25df}=this,{t:t}=_0x3b25df['locale'],{conversion:_0x42b0a0}=_0x3b25df;_0x42b0a0['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x42b0a0['for']('upcast')['add'](_0x124b48=>{_0x124b48['on']('element:ol',(_0x4c87f9,_0x33141f,_0x57a657)=>{const _0x3d7420=_0x33141f['viewItem'];if(!_0x3d7420['hasClass']('footnotes-list')||!_0x33141f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x57a657['consumable']['consume'](_0x3d7420,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x53a92b,modelCursor:_0x1ee670}=_0x57a657['convertChildren'](_0x33141f['viewItem'],_0x33141f['modelCursor']);_0x33141f['modelRange']=_0x53a92b,_0x33141f['modelCursor']=_0x1ee670;}),_0x124b48['on']('element:hr',(_0x9a800a,_0x7d00af,_0x21d02c)=>{const _0x5101dd=_0x7d00af['viewItem'];_0x5101dd['hasClass']('footnotes-divider')&&_0x7d00af['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x21d02c['consumable']['consume'](_0x5101dd,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x42b0a0['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1e8a2f,{writer:_0x73ef80})=>$(_0x73ef80)}),_0x42b0a0['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5096a9,{writer:_0x4143f9})=>{const _0xd8ed19=$(_0x4143f9,{'data-footnotes-list-label':t('Footnotes')}),_0xa698dc=_0x148a33(_0xd8ed19,_0x4143f9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4143f9['setCustomProperty']('footnotesDefinitions',!0x0,_0xa698dc),_0xa698dc;}});}['_defineDefinitionConverters'](){const {editor:_0x2ca11f}=this,{conversion:_0x24bd53,locale:_0x152089}=_0x2ca11f,_0x2e9a74=_0x2ca11f['config']['get']('footnotes.multiBlock');_0x24bd53['for']('upcast')['add'](_0x2378cc=>{_0x2378cc['on']('element:li',(_0x161ec3,_0x204261,_0x101ba)=>{const _0x2695d7=_0x204261['viewItem'];if(!_0x2695d7['hasClass']('footnote-definition')||!_0x2695d7['getAttribute']('id'))return;const _0x2b8855=_0x2695d7['parent'];if(!_0x2b8855['is']('element','ol')||!_0x2b8855['hasClass']('footnotes-list'))return;if(!_0x101ba['consumable']['test'](_0x2695d7,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1a6a66=_0x101ba['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2695d7['getAttribute']('id')});if(!_0x101ba['safeInsert'](_0x1a6a66,_0x204261['modelCursor']))return;_0x101ba['consumable']['consume'](_0x2695d7,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x25cfd8=Array['from'](_0x2695d7['getChildren']())['find'](_0x25a3de=>_0x25a3de['is']('element')&&_0x25a3de['hasClass']('footnote-content'));for(const _0x23a230 of _0x2695d7['getChildren']())_0x23a230['is']('element')&&(_0x101ba['consumable']['consume'](_0x23a230,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x101ba['consumable']['consume'](_0x23a230,{'name':!0x0,'classes':'footnote-content'}));if(_0x25cfd8){if(_0x2e9a74)_0x101ba['convertChildren'](_0x25cfd8,_0x1a6a66);else{const _0x3518ed=_0x101ba['writer']['createElement']('footnoteInlineContent');_0x101ba['writer']['insert'](_0x3518ed,_0x1a6a66),_0x101ba['convertChildren'](_0x25cfd8,_0x3518ed);}}_0x101ba['updateConversionResult'](_0x1a6a66,_0x204261);});}),_0x24bd53['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x9ec419,{writer:_0x1ed569})=>B(_0x9ec419,_0x1ed569,_0x152089,{'dataPipeline':!0x0})}),_0x24bd53['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4ff63d,{writer:_0x2f6896})=>B(_0x4ff63d,_0x2f6896,_0x152089)});}['_defineBogusParagraphConverters'](){const {editor:_0x569ee4}=this,{conversion:_0xd85067}=_0x569ee4;_0x569ee4['config']['get']('footnotes.multiBlock')?(_0xd85067['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':K(),'converterPriority':'high'}),_0xd85067['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':K({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x569ee4['model']['document'],'change:data',()=>{!function(_0x1352be,_0xdb676b){const _0x28b7ba=_0x1352be['document']['differ'],_0x46d760=new Set();for(const _0x312188 of _0x28b7ba['getChanges']()){const _0x1eac5c='attribute'==_0x312188['type']?_0x312188['range']['start']['parent']:_0x312188['position']['parent'];_0x1eac5c['is']('element','footnoteDefinition')&&_0x46d760['add'](_0x1eac5c);}for(const _0x516489 of _0x46d760['values']()){const _0x444c14=Array['from'](_0x516489['getChildren']())['filter'](_0x56f2f8=>V(_0x56f2f8,_0xdb676b['mapper']));for(const _0x59074b of _0x444c14)_0xdb676b['reconvertItem'](_0x59074b);}}(_0x569ee4['model'],_0x569ee4['editing']);})):(_0xd85067['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':K()}),_0xd85067['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x59f13a,{writer:_0x370de8})=>{const _0x16e520=_0x370de8['createContainerElement']('span');return _0x370de8['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x16e520),_0x16e520;}}));}['_defineKeyboardHandlers'](){const {editor:_0x23e27a}=this,{editing:_0x35677f,t:t}=_0x23e27a,_0x4267a5=_0x23e27a['model']['document']['selection'];_0x23e27a['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x23e27a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x35677f['view']['document'],'enter',(_0x5403f9,_0x5b1298)=>{const _0x10fe31=function(_0x465fac){const _0x11a63b=_0x465fac['getSelectedElement']();if(_0x11a63b?.['is']('element','footnoteRef'))return _0x11a63b;return null;}(_0x4267a5);if(_0x10fe31){const _0x22feae=_0x10fe31['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x22feae),_0x5b1298['preventDefault'](),_0x5403f9['stop']();}},{'context':_0x2d847e});}['_defineClickHandlers'](){const {editor:_0x16354a}=this,{editing:_0x19767b}=_0x16354a;_0x16354a['editing']['view']['addObserver'](_0x2f021e),_0x16354a['editing']['view']['addObserver'](_0x143519);let _0x5994c1=!0x1;this['listenTo'](_0x19767b['view']['document'],'pointerdown',(_0x56bf0e,_0x557538)=>{const {target:_0xc6431a}=_0x557538,_0x449a41=_0x19767b['view']['document']['selection'];_0x5994c1=!!(_0xc6431a?.['is']('element','a')&&_0xc6431a['parent']?.['is']('element','sup')&&_0xc6431a['parent']['hasClass']('footnote'))&&_0x449a41['getSelectedElement']()===_0xc6431a['parent'];},{'priority':'high'}),this['listenTo'](_0x19767b['view']['document'],'click',(_0x83c557,_0x803865)=>{const {target:_0x228447}=_0x803865;if(!_0x228447?.['is']('element','a'))return;if(_0x228447['parent']?.['is']('element','sup')&&_0x228447['parent']['hasClass']('footnote')&&!_0x5994c1)return void _0x803865['preventDefault']();let _0x5eadd9=_0x228447['getAttribute']('href');if(!_0x5eadd9?.['startsWith']('#'))return;_0x5eadd9=_0x5eadd9['slice'](0x1);let _0x47c20e=!0x1;(_0x5eadd9['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x5eadd9['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x5eadd9))&&(_0x47c20e=!0x0),_0x47c20e&&(_0x803865['preventDefault'](),_0x83c557['stop']());},{'priority':'high','context':'$capture'});}}function K({dataPipeline:_0x454b37}={}){return(_0x31dae1,{writer:_0x325ae0})=>{if(!j(_0x31dae1))return null;if(!_0x454b37)return _0x325ae0['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5a0947=_0x325ae0['createContainerElement']('p');return _0x325ae0['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5a0947),_0x5a0947;};}function j(_0x2cd2c9){const {parent:_0xe434d0}=_0x2cd2c9;if(!_0xe434d0?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xe434d0['childCount'])return!0x1;for(const _0x17bed4 of _0x2cd2c9['getAttributeKeys']())if(!_0x17bed4['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x17bed4)return!0x1;return!0x0;}function V(_0x53fe4c,_0x5bc646){if(!_0x53fe4c['is']('element','paragraph'))return!0x1;const _0x58b6ba=_0x5bc646['toViewElement'](_0x53fe4c);return!!_0x58b6ba&&j(_0x53fe4c)!==_0x58b6ba['is']('element','span');}function M(_0x59bc42){return _0x2d847e(_0x59bc42)&&_0x59bc42['is']('containerElement')&&!!_0x59bc42['getCustomProperty']('footnotesDefinitions');}function $(_0x418cbd,_0x1b23d3={}){const _0x3dc1c3=_0x418cbd['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x27ec59=_0x418cbd['createContainerElement']('ol',{'class':'footnotes-list'},_0x418cbd['createSlot']());return _0x418cbd['createContainerElement']('div',{'class':'footnotes',..._0x1b23d3},[_0x3dc1c3,_0x27ec59]);}function U(_0x7944ac,_0x4f4573){const _0x3cee3c=_0x7944ac['getAttribute']('footnoteId'),_0x17b4f6=_0x7944ac['getAttribute']('footnoteCounter'),_0x48c5b3=_0x4f4573['createUIElement']('a',{'href':'#'+_0x3cee3c},function(_0x129bec){const _0x93c53c=this['toDomElement'](_0x129bec);return _0x93c53c['textContent']=_0x17b4f6,_0x93c53c;}),_0x4cc6c8=_0x4f4573['createContainerElement']('sup',{'id':'ref-'+_0x3cee3c,'class':'footnote'},[_0x48c5b3]);return _0x4cc6c8['getFillerOffset']=()=>null,_0x4cc6c8;}function B(_0x325abf,_0x33234a,_0xc82ecd,{dataPipeline:_0x5d3fa4}={}){const {t:t}=_0xc82ecd,_0x54c655=_0x325abf['getAttribute']('footnoteId'),_0xb6addb=_0x33234a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x54c655},function(_0x390ab1){const _0x1b511f=this['toDomElement'](_0x390ab1);return _0x1b511f['innerText']='^',_0x1b511f;}),_0x5f2fd3=_0x5d3fa4?_0x33234a['createContainerElement']('div',{'class':'footnote-content'}):_0x3577ce(_0x33234a['createEditableElement']('div',{'class':'footnote-content'}),_0x33234a,{'label':t('Footnote\x20content.')});return _0x33234a['insert'](_0x33234a['createPositionAt'](_0x5f2fd3,0x0),_0x33234a['createSlot']()),_0x33234a['createContainerElement']('li',{'class':'footnote-definition','id':_0x54c655},[_0xb6addb,_0x5f2fd3]);}class FootnotesClipboard extends _0x4d073e{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[FootnotesEditing,_0x40d7f5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x304617}=this,{plugins:_0x181286,model:_0x4bccb7}=_0x304617,_0x3c0cc8=_0x181286['get'](_0x40d7f5),_0x4f3b86=_0x181286['get'](FootnotesTracker);this['listenTo'](_0x3c0cc8,'outputTransformation',(_0x5da648,_0x23c423)=>{const _0x1b48e6=H(_0x4bccb7['createRangeIn'](_0x23c423['content']));if(!_0x1b48e6['length'])return;const _0x596c9c=_0x4f3b86['getFootnotes'](),_0x1f59f2=_0x1b48e6['reduce']((_0x205a24,_0x4a4b5e)=>{const _0x24e968=_0x596c9c['find'](_0x35bb5e=>_0x35bb5e['id']===_0x4a4b5e);if(_0x24e968){const _0x212e3a=_0x304617['data']['toView'](_0x24e968['definition'],{'isClipboardPipeline':!0x0}),_0x54e7a0=_0x304617['data']['htmlProcessor']['toData'](_0x212e3a);_0x205a24[_0x24e968['id']]=_0x54e7a0;}return _0x205a24;},Object['create'](null));_0x23c423['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1f59f2));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x1a8eb5}=this,{model:_0x3205ee,plugins:_0x269800}=_0x1a8eb5,{view:_0x533076}=_0x1a8eb5['editing'],_0x14f3ad=_0x269800['get'](_0x40d7f5),_0x277ae9=_0x269800['get'](FootnotesTracker),_0x3f0c92=_0x1a8eb5['config']['get']('footnotes.multiBlock');let _0x176c56=null;this['listenTo'](_0x533076['document'],'clipboardInput',(_0x204f6f,_0x4d3e2c)=>{const _0x36231c=_0x4d3e2c['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x176c56=_0x36231c?JSON['parse'](_0x36231c):null;}),this['listenTo'](_0x14f3ad,'contentInsertion',(_0x5bb031,_0x42032b)=>{const _0x26a167=_0x42032b['sourceEditorId']===this['editor']['id'];_0x26a167&&'drop'===_0x42032b['method']||_0x3205ee['change'](_0x4e3aff=>{let _0x1a2432=_0x277ae9['getFootnotesDefinitionsObjectElement']();const _0x278207=!!_0x1a2432&&Array['from'](_0x3205ee['document']['selection']['getSelectedBlocks']())['includes'](_0x1a2432);if(!_0x176c56&&function(_0xc52acf){for(const {item:_0x24483b}of _0xc52acf)if(_0x24483b['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x3205ee['createRangeIn'](_0x42032b['content']))&&(_0x176c56=function(_0x50733b,_0x571e67){const _0x46ef53=q(_0x50733b,_0x571e67);if(!_0x46ef53)return null;const _0x465131=Object['create'](null);for(const _0x4b68bb of _0x46ef53['getChildren']())_0x4b68bb['is']('element','footnoteDefinition')&&_0x4b68bb['hasAttribute']('footnoteId')&&(_0x465131[_0x4b68bb['getAttribute']('footnoteId')]=_0x50733b['cloneElement'](_0x4b68bb,!0x0));return Object['keys'](_0x465131)['length']?_0x465131:null;}(_0x4e3aff,_0x42032b['content'])),(_0x1a2432&&!_0x278207||!_0x1a2432&&!_0x176c56)&&function(_0x4d0dfc,_0x2a9698){const _0x5cba69=[];for(const {item:_0x4c433e}of _0x4d0dfc['createRangeIn'](_0x2a9698))_0x4c433e['is']('element','footnotesDefinitions')&&_0x5cba69['push'](_0x4c433e);for(const _0x54ef85 of _0x5cba69)_0x4d0dfc['remove'](_0x54ef85);}(_0x4e3aff,_0x42032b['content']),!_0x176c56)return;const {selection:_0x37b093}=_0x3205ee['document'],_0x31afbc=_0x37b093['getFirstRange']()['root'];_0x1a2432&&!_0x278207||(_0x1a2432=q(_0x4e3aff,_0x42032b['content']),_0x1a2432||=_0x277ae9['_insertEmptyFootnotesDefinitionsContainer'](_0x4e3aff,_0x31afbc));const _0x497f12=Array['from'](_0x37b093['getRanges']())['flatMap'](H),_0x3acd71=function(_0x2a11de,_0x1c7137,_0x5df88d){const _0x434693=Object['create'](null);for(const {item:_0x97b16b}of _0x2a11de['createRangeIn'](_0x1c7137))if(_0x97b16b['is']('element','footnoteRef')){const _0x44bd96=_0x97b16b['getAttribute']('footnoteId');if(!_0x5df88d(_0x44bd96))continue;_0x434693[_0x44bd96]||(_0x434693[_0x44bd96]=_0x140b9c()),_0x2a11de['setAttribute']('footnoteId',_0x434693[_0x44bd96],_0x97b16b);}return _0x434693;}(_0x4e3aff,_0x42032b['content'],_0x564112=>{if(!_0x26a167)return!0x0;return!!_0x277ae9['getFootnote'](_0x564112)&&!_0x497f12['includes'](_0x564112);});for(const [_0x3cdc74,_0x3c6bee]of Object['entries'](_0x176c56)){const _0x4a9d49=_0x3acd71[_0x3cdc74]||_0x3cdc74;let _0x1eb9be;if('string'!=typeof _0x3c6bee)_0x1eb9be=_0x3c6bee,_0x4a9d49!==_0x3cdc74&&_0x4e3aff['setAttribute']('footnoteId',_0x4a9d49,_0x1eb9be);else{_0x1eb9be=_0x4e3aff['createElement']('footnoteDefinition',{'footnoteId':_0x4a9d49});const _0x34064b=_0x1a8eb5['data']['htmlProcessor']['toView'](_0x3c6bee);let _0x160550;if(_0x3f0c92)_0x160550=_0x1a8eb5['data']['toModel'](_0x34064b,_0x1eb9be);else{_0x160550=_0x4e3aff['createElement']('footnoteInlineContent');const _0x560e0b=_0x1a8eb5['data']['toModel'](_0x34064b,_0x160550);_0x4e3aff['insert'](_0x560e0b,_0x160550);}_0x4e3aff['append'](_0x160550,_0x1eb9be);}_0x4e3aff['insert'](_0x1eb9be,_0x1a2432,'end');}_0x176c56=null;});});}}function q(_0x28490c,_0x14afc8){for(const {item:_0x20d1b5}of _0x28490c['createRangeIn'](_0x14afc8))if(_0x20d1b5['is']('element','footnotesDefinitions'))return _0x20d1b5;return null;}function H(_0x51dfe6){const _0xcf7ef8=new Set();for(const {item:_0x5da2bf}of _0x51dfe6)_0x5da2bf['is']('element','footnoteRef')&&_0xcf7ef8['add'](_0x5da2bf['getAttribute']('footnoteId'));return Array['from'](_0xcf7ef8);}class FootnotesUI extends _0x4d073e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3279c9}=this,{componentFactory:_0x5ee669}=_0x3279c9['ui'];_0x5ee669['add']('insertFootnote',z(_0x3279c9,_0x397507)),_0x5ee669['add']('menuBar:insertFootnote',z(_0x3279c9,_0x5673f6)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5d4e89=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x40594b;for(const _0x3b1e9a in _0x5d4e89){const _0x5f08b2=_0x3b1e9a,_0x176626=_0x5d4e89[_0x5f08b2];if('footnotesLicenseKeyValid'==_0x176626||'footnotesLicenseKeyInvalid'==_0x176626||'footnotesLicenseKeyExpired'==_0x176626||'footnotesLicenseKeyDomainLimit'==_0x176626||'footnotesLicenseKeyNotAllowed'==_0x176626||'footnotesLicenseKeyEvaluationLimit'==_0x176626||'footnotesLicenseKeyUsageLimit'==_0x176626){delete _0x5d4e89[_0x5f08b2],_0x40594b=_0x176626,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x40594b&&_0x5d4e89['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x40594b&&_0x5d4e89['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x40594b&&_0x5d4e89['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x40594b&&_0x5d4e89['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x40594b&&_0x5d4e89['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x40594b&&_0x5d4e89['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function z(_0x3ed874,_0x272c80){const _0x55e6c9=_0x3ed874['commands']['get']('insertFootnote');return _0x1a04ac=>{const {t:t}=_0x1a04ac,_0x3078ae=new _0x272c80(_0x1a04ac),_0x416f40=_0x3078ae instanceof _0x5673f6;return _0x3078ae['bind']('isEnabled')['to'](_0x55e6c9,'isEnabled'),_0x3078ae['set']({'label':t(_0x416f40?'Footnote':'Insert\x20footnote'),'icon':_0x1dd5d8,'tooltip':!0x0}),_0x3078ae['on']('execute',()=>{_0x55e6c9['execute'](),_0x3ed874['editing']['view']['focus']();}),_0x3078ae;};}class Footnotes extends _0x4d073e{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[FootnotesEditing,FootnotesClipboard,FootnotesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const X=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],J=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),G=[...X,'arabic-indic','lower-alpha','upper-alpha'];class FootnotesStyleCommand extends _0x25782d{['refresh'](){const {editor:_0x8ebb3b}=this,_0x2fba2a=_0x8ebb3b['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2fba2a,this['value']=_0x2fba2a?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x130957}){const {editor:_0x3b295e}=this,_0x2d0cab=_0x3b295e['plugins']['get'](FootnotesTracker),_0x8329f8=_0x2d0cab['getFootnotesDefinitionsObjectElement']();_0x8329f8&&G['includes'](_0x130957)&&_0x3b295e['model']['change'](_0x42c5b9=>{_0x42c5b9['setAttribute']('footnotesListStyle',_0x130957,_0x8329f8),_0x2d0cab['_updateFootnotesCounters'](_0x42c5b9);});}}class FootnotesStartCommand extends _0x25782d{['refresh'](){const {editor:_0xac798e}=this,_0x33d6cf=_0xac798e['plugins']['get'](FootnotesTracker)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x33d6cf,this['value']=_0x33d6cf?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4480b8}){const {editor:_0x4a90ef}=this,_0x43d424=_0x4a90ef['plugins']['get'](FootnotesTracker),_0x92d729=_0x43d424['getFootnotesDefinitionsObjectElement']();_0x92d729&&Number['isInteger'](_0x4480b8)&&_0x4a90ef['model']['change'](_0x28b108=>{_0x28b108['setAttribute']('footnotesListStart',_0x4480b8,_0x92d729),_0x43d424['_updateFootnotesCounters'](_0x28b108);});}}function Q(_0x22f1d8,_0x5f0572){let _0x303239='',_0xc9d13d=_0x22f1d8;for(;_0xc9d13d>0x0;){const _0x5e5c77=(_0xc9d13d-0x1)%0x1a;_0x303239=String['fromCharCode'](0x61+_0x5e5c77)+_0x303239,_0xc9d13d=Math['floor']((_0xc9d13d-0x1)/0x1a);}return _0x5f0572?_0x303239['toUpperCase']():_0x303239;}const W=[{'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 Y(_0x522356,_0x21b0d7){let _0x5642a9='',_0x350822=_0x522356;for(const {value:_0x454203,numeral:_0x277d42}of W)for(;_0x350822>=_0x454203;)_0x5642a9+=_0x277d42,_0x350822-=_0x454203;return _0x21b0d7?_0x5642a9:_0x5642a9['toLowerCase']();}const Z=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];class FootnotesPropertiesEditing extends _0x4d073e{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[FootnotesEditing,FootnotesTracker];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x59c2e1}=this;_0x59c2e1['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x59c2e1['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x59c2e1['config']['define']('footnotes.footnotesProperties.listStyles',[...X]),_0x59c2e1['commands']['add']('footnotesStyle',new FootnotesStyleCommand(_0x59c2e1)),_0x59c2e1['commands']['add']('footnotesStart',new FootnotesStartCommand(_0x59c2e1)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x168be9}=this,{schema:_0x17cd3b}=_0x168be9['model'];_0x17cd3b['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x26fca4}=this,{conversion:_0x3575ea,model:_0x3c2a3c}=_0x26fca4,{schema:_0x46ff20}=_0x3c2a3c;_0x3575ea['for']('upcast')['add'](_0x4e67a6=>{_0x4e67a6['on']('element:ol',(_0x2bcdf3,_0x4fa50f,_0x5d086a)=>{const _0x187b05=_0x4fa50f['viewItem'],_0x14dde5=_0x4fa50f['modelCursor']?.['parent'];_0x187b05['hasClass']('footnotes-list')&&_0x14dde5?.['is']('element','footnotesDefinitions')&&(function(_0x34ee2b,_0x174889,_0x88198c,_0x52fad1){if(!_0x52fad1['checkAttribute'](_0x174889,'footnotesListStart'))return;let _0x477556=0x1;const _0x180de4=_0x88198c['consumable']['consume'](_0x34ee2b,{'attributes':'start'});if(_0x180de4){const _0x2249c9=Number['parseInt'](_0x34ee2b['getAttribute']('start'),0xa);Number['isNaN'](_0x2249c9)||(_0x477556=_0x2249c9);}!_0x180de4&&_0x174889['hasAttribute']('footnotesListStart')||_0x88198c['writer']['setAttribute']('footnotesListStart',_0x477556,_0x174889);}(_0x187b05,_0x14dde5,_0x5d086a,_0x46ff20),function(_0x5f4800,_0x1f9403,_0x1384f4,_0x155ac1){if(!_0x155ac1['checkAttribute'](_0x1f9403,'footnotesListStyle'))return;let _0x29fc93='decimal',_0x422f8d=!0x1;if(_0x1384f4['consumable']['consume'](_0x5f4800,{'attributes':'type'})){const _0x15a948={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x5f4800['getAttribute']('type')];_0x15a948&&(_0x29fc93=_0x15a948),_0x422f8d=!0x0;}if(_0x1384f4['consumable']['consume'](_0x5f4800,{'styles':'list-style-type'})){const _0x2b9689=tt(_0x5f4800['getStyle']('list-style-type'));_0x2b9689&&(_0x29fc93=_0x2b9689),_0x422f8d=!0x0;}!_0x422f8d&&_0x1f9403['hasAttribute']('footnotesListStyle')||_0x1384f4['writer']['setAttribute']('footnotesListStyle',_0x29fc93,_0x1f9403);}(_0x187b05,_0x14dde5,_0x5d086a,_0x46ff20));});}),_0x3575ea['for']('downcast')['add'](_0x248581=>{_0x248581['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x24dc7d,_0x40fbce,_0x4dbac7)=>{if(!_0x4dbac7['consumable']['consume'](_0x40fbce['item'],_0x24dc7d['name']))return;const _0x5a826f=et(_0x40fbce['item'],_0x4dbac7['mapper']),{attributeNewValue:_0xef3ef4}=_0x40fbce;null==_0xef3ef4||0x1===_0xef3ef4?_0x4dbac7['writer']['removeAttribute']('start',_0x5a826f):_0x4dbac7['writer']['setAttribute']('start',String(_0xef3ef4),_0x5a826f);}),_0x248581['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x4aa68d,_0x368b15,_0x73f1b2)=>{if(!_0x73f1b2['consumable']['consume'](_0x368b15['item'],_0x4aa68d['name']))return;const _0x50f15b=et(_0x368b15['item'],_0x73f1b2['mapper']),{attributeNewValue:_0xdaa2a1}=_0x368b15;_0xdaa2a1&&'decimal'!==_0xdaa2a1?_0x73f1b2['writer']['setStyle']('list-style-type',_0xdaa2a1,_0x50f15b):_0x73f1b2['writer']['removeStyle']('list-style-type',_0x50f15b);});});}['_definePostfixer'](){const {editor:_0x100b8d}=this,{model:_0x122631}=_0x100b8d,_0x363050=_0x100b8d['plugins']['get'](FootnotesTracker),_0x5da8e4=this['_getDefaultListStyle'](),_0x4eeecd=this['_getDefaultStartIndex']();_0x122631['document']['registerPostFixer'](_0x686734=>{const _0x4a84b0=_0x122631['document']['differ']['getChanges']();let _0x5a71b1=!0x1;for(const _0xb9bc7 of _0x4a84b0){if('insert'!==_0xb9bc7['type']||'$text'===_0xb9bc7['name'])continue;const _0x241f0d=_0x122631['createRangeOn'](_0xb9bc7['position']['nodeAfter']);for(const _0x1a6649 of _0x241f0d['getItems']())_0x1a6649['is']('element','footnotesDefinitions')&&(!_0x1a6649['hasAttribute']('footnotesListStart')&&_0x122631['schema']['checkAttribute'](_0x1a6649,'footnotesListStart')&&(_0x686734['setAttribute']('footnotesListStart',_0x4eeecd,_0x1a6649),_0x5a71b1=!0x0),!_0x1a6649['hasAttribute']('footnotesListStyle')&&_0x122631['schema']['checkAttribute'](_0x1a6649,'footnotesListStyle')&&(_0x686734['setAttribute']('footnotesListStyle',_0x5da8e4,_0x1a6649),_0x5a71b1=!0x0));}return _0x5a71b1&&_0x363050['_updateFootnotesCounters'](_0x686734),_0x5a71b1;});}['_defineFormatter'](){const {editor:_0x546d39}=this;_0x546d39['plugins']['get'](FootnotesTracker)['setFootnoteFormatter'](_0x4342c7=>this['_formatFootnoteListValue'](_0x4342c7));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1c09cb,value:_0x380d85,digits:_0x535862}){const _0x20cf32=_0x1c09cb['getAttribute']('footnotesListStyle'),_0x4d0c47=_0x1c09cb['getAttribute']('footnotesListStart'),_0x3e5953=Math['floor'](_0x380d85)+(_0x4d0c47??0x1)-0x1;switch(_0x20cf32){case'decimal-leading-zero':return function(_0x148348,_0xa0a27f){return String(_0x148348)['padStart'](_0xa0a27f,'0');}(_0x3e5953,Math['max'](0x2,_0x535862));case'lower-alpha':case'lower-latin':return Q(_0x3e5953,!0x1);case'upper-alpha':case'upper-latin':return Q(_0x3e5953,!0x0);case'lower-roman':return Y(_0x3e5953,!0x1);case'upper-roman':return Y(_0x3e5953,!0x0);case'arabic-indic':return String(_0x3e5953)['replace'](/\d/g,_0x50ef88=>Z[Number(_0x50ef88)]);default:return String(_0x3e5953);}}}function tt(_0x3afd53){if('string'==typeof _0x3afd53){const _0x3b48c2=J[_0x3afd53];if(_0x3b48c2)return _0x3b48c2;if(G['includes'](_0x3afd53))return _0x3afd53;}return null;}function et(_0x1578f9,_0x5ae30c){const _0x3f85b4=_0x5ae30c['toViewElement'](_0x1578f9);return Array['from'](_0x3f85b4['getChildren']())['find'](_0x46d72c=>_0x46d72c['is']('element','ol')&&_0x46d72c['hasClass']('footnotes-list'));}class FootnotesDefinitionsPropertiesView extends _0x37531d{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x33b38d();['keystrokes']=new _0x4597b7();['focusables']=new _0x238256();['focusCycler'];constructor(_0x2b6a61,{styleButtonViews:_0x4db25d,styleGridAriaLabel:_0x4bdc1a}){super(_0x2b6a61),(this['focusCycler']=new _0x697ebb({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4db25d,_0x4bdc1a),[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 _0x2e2c3f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2e2c3f['element']);_0x5d9ad5({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x259e4d['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 _0x224127=_0x25b5fd=>_0x25b5fd['stopPropagation']();this['keystrokes']['set']('arrowright',_0x224127),this['keystrokes']['set']('arrowleft',_0x224127),this['keystrokes']['set']('arrowup',_0x224127),this['keystrokes']['set']('arrowdown',_0x224127);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x32a85d,_0x185111){const _0xe31c2e=new _0x37531d(this['locale']);return _0xe31c2e['children']=_0xe31c2e['createCollection'](),_0xe31c2e['children']['addMany'](_0x32a85d),_0xe31c2e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x185111,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xe31c2e['children']}),_0xe31c2e['children']['delegate']('execute')['to'](this),_0xe31c2e['focus']=function(){for(const _0x2fc638 of this['children'])if(_0x2fc638 instanceof _0x397507&&_0x2fc638['isOn'])return void _0x2fc638['focus']();this['children']['first']['focus']();},_0xe31c2e['focusTracker']=new _0x33b38d(),_0xe31c2e['keystrokes']=new _0x4597b7(),_0xe31c2e['render'](),_0xe31c2e['keystrokes']['listenTo'](_0xe31c2e['element']),this['children']['add'](_0xe31c2e),_0xe31c2e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x44b2a0=this['_createStartIndexPropertyView'](),_0x11d378=[_0x44b2a0],_0x550dfb=new _0x3e34e1(this['locale'],_0x11d378);return _0x550dfb['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x550dfb['buttonView']['bind']('isEnabled')['toMany'](_0x11d378,'isEnabled',(..._0x2f3b6f)=>_0x2f3b6f['some'](_0x375fa8=>_0x375fa8)),_0x550dfb['buttonView']['on']('change:isEnabled',(_0x551973,_0x381d50,_0x50bcdf)=>{_0x50bcdf||(_0x550dfb['isCollapsed']=!0x0);}),this['children']['add'](_0x550dfb),[_0x44b2a0,_0x550dfb];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2d906f=new _0x2dbc17(this['locale'],_0x5d8f1a);return _0x2d906f['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2d906f['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2d906f['fieldView']['on']('input',()=>{const _0x291143=_0x2d906f['fieldView']['element'],_0x197bfe=_0x291143['valueAsNumber'];Number['isNaN'](_0x197bfe)?_0x2d906f['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x291143['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x197bfe}):_0x2d906f['errorText']=t(_0x197bfe<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2d906f;}}class FootnotesPropertiesUI extends _0x4d073e{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5d3372,_0x2c0df1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xcadd}=this,{componentFactory:_0x26a9fc}=_0xcadd['ui'];_0xcadd['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x26a9fc['add']('footnotesStyle',function(_0x4a9541){return _0x414fd6=>{const {t:t}=_0x414fd6,_0xb675ac=_0x4a9541['commands']['get']('footnotesStyle'),_0x45a90a=_0x17ce21(_0x414fd6),{buttonView:_0x4fc9de}=_0x45a90a;return _0x45a90a['class']='ck-footnotes-styles-dropdown',_0x45a90a['bind']('isEnabled')['to'](_0xb675ac,'isEnabled'),_0x4fc9de['set']({'label':t('Footnotes\x20style'),'icon':_0x1dd5d8,'tooltip':!0x0}),_0x45a90a['once']('change:isOpen',()=>{const _0x53e792=function({editor:_0x5255ca,dropdownView:_0x3ff4d4}){const {t:t}=_0x5255ca['locale'],_0xc0fe34=t('Footnotes\x20definitions\x20styles'),_0x394a3b=function(_0x15e483){const {t:t}=_0x15e483['locale'],_0x4697b5=_0x15e483['config']['get']('footnotes.footnotesProperties.listStyles'),_0x2d9c9d=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0xa73443},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x2bf03a},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x13cb4a},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x237abe},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0xc55479},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x5dfe0a},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x35714d}];return _0x4697b5['map'](_0x34f1fc=>{const _0x5729c1=tt(_0x34f1fc),_0x281ebc=_0x2d9c9d['find'](_0x47b7ce=>_0x47b7ce['style']===_0x5729c1);return function(_0x57bde7,_0x34ad50){const {locale:_0xc9f527}=_0x57bde7,{label:_0x59c5dd,icon:_0x3b35be,tooltip:_0x5e4c30,style:_0x2a13a4}=_0x34ad50,_0x540660=_0x57bde7['commands']['get']('footnotesStyle'),_0x2899de=new _0x397507(_0xc9f527);return _0x2899de['set']({'label':_0x59c5dd,'icon':_0x3b35be,'tooltip':_0x5e4c30}),_0x2899de['bind']('isOn')['to'](_0x540660,'value',_0x558c56=>_0x558c56===_0x2a13a4),_0x2899de['bind']('isEnabled')['to'](_0x540660,'isEnabled'),_0x2899de['on']('execute',()=>{_0x57bde7['execute']('footnotesStyle',{'value':_0x2a13a4}),_0x57bde7['editing']['view']['focus']();}),_0x2899de;}(_0x15e483,_0x281ebc);});}(_0x5255ca),_0x448987=new FootnotesDefinitionsPropertiesView(_0x5255ca['locale'],{'styleGridAriaLabel':_0xc0fe34,'styleButtonViews':_0x394a3b}),_0x1ccef0=_0x5255ca['commands']['get']('footnotesStart');return _0x448987['startIndexFieldView']['bind']('isEnabled')['to'](_0x1ccef0),_0x448987['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1ccef0),_0x448987['on']('footnotesListStart',(_0x5be854,_0x449f14)=>{_0x5255ca['execute']('footnotesStart',{'value':_0x449f14['startIndex']});}),_0x448987['delegate']('execute')['to'](_0x3ff4d4),_0x448987;}({'editor':_0x4a9541,'dropdownView':_0x45a90a});_0x45a90a['panelView']['children']['add'](_0x53e792);}),_0x45a90a;};}(_0xcadd));}['afterInit'](){const {editor:_0x2d8919}=this,{t:t}=_0x2d8919['locale'],_0x4326c6=_0x2d8919['plugins']['get'](_0x2c0df1),{defaultPositions:_0x3b02ea}=_0x40a5e7;_0x4326c6['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2d8919['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x417319=>{let _0x3987b5=_0x417319['getFirstPosition']()?.['parent'];return _0x3987b5?.['is']('$text')&&(_0x3987b5=_0x3987b5['parent']),_0x3987b5?.['is']('element')?_0x3987b5['findAncestor'](M):null;},'positions':[_0x3b02ea['southArrowNorth'],_0x3b02ea['southArrowNorthMiddleWest'],_0x3b02ea['southArrowNorthMiddleEast'],_0x3b02ea['southArrowNorthWest'],_0x3b02ea['southArrowNorthEast'],_0x3b02ea['northArrowSouth'],_0x3b02ea['northArrowSouthMiddleWest'],_0x3b02ea['northArrowSouthMiddleEast'],_0x3b02ea['northArrowSouthWest'],_0x3b02ea['northArrowSouthEast'],_0x3b02ea['viewportStickyNorth']]});}}class FootnotesProperties extends _0x4d073e{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[FootnotesPropertiesEditing,FootnotesPropertiesUI];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{Footnotes,FootnotesClipboard,FootnotesEditing,FootnotesProperties,FootnotesPropertiesEditing,FootnotesPropertiesUI,FootnotesStartCommand,FootnotesStyleCommand,FootnotesTracker,FootnotesUI,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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x359aca=>0x1!=_0x359aca}};
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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x4b66b7=>0x1!=_0x4b66b7}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4f3324=>{const {af:{dictionary:_0x57fa3d,getPluralForm:_0x5933c2}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x5cf0b1=>0x1!=_0x5cf0b1}};_0x4f3324['af']||={'dictionary':{},'getPluralForm':null},_0x4f3324['af']['dictionary']=Object['assign'](_0x4f3324['af']['dictionary'],_0x57fa3d),_0x4f3324['af']['getPluralForm']=_0x5933c2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2bcf81=>{const {af:{dictionary:_0x208b8d,getPluralForm:_0x4a770c}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x1d0cc3=>0x1!=_0x1d0cc3}};_0x2bcf81['af']||={'dictionary':{},'getPluralForm':null},_0x2bcf81['af']['dictionary']=Object['assign'](_0x2bcf81['af']['dictionary'],_0x208b8d),_0x2bcf81['af']['getPluralForm']=_0x4a770c;})(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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x2b59cd=>0x0==_0x2b59cd?0x0:0x1==_0x2b59cd?0x1:0x2==_0x2b59cd?0x2:_0x2b59cd%0x64>=0x3&&_0x2b59cd%0x64<=0xa?0x3:_0x2b59cd%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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x36d197=>0x0==_0x36d197?0x0:0x1==_0x36d197?0x1:0x2==_0x36d197?0x2:_0x36d197%0x64>=0x3&&_0x36d197%0x64<=0xa?0x3:_0x36d197%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4578fb=>{const {ar:{dictionary:_0x2f8f0b,getPluralForm:_0x41a12e}}={'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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x430d29=>0x0==_0x430d29?0x0:0x1==_0x430d29?0x1:0x2==_0x430d29?0x2:_0x430d29%0x64>=0x3&&_0x430d29%0x64<=0xa?0x3:_0x430d29%0x64>=0xb?0x4:0x5}};_0x4578fb['ar']||={'dictionary':{},'getPluralForm':null},_0x4578fb['ar']['dictionary']=Object['assign'](_0x4578fb['ar']['dictionary'],_0x2f8f0b),_0x4578fb['ar']['getPluralForm']=_0x41a12e;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4d51ce=>{const {ar:{dictionary:_0x7174fa,getPluralForm:_0x119926}}={'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البادئ','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Arabic-indic\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20العربية\x20(الهندية)','Lower-roman\x20footnotes':'حواشي\x20سفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الصغيرة','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20الرومانية\x20الكبيرة','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الصغيرة','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20اللاتينية\x20الكبيرة','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20بالأحرف\x20العربية\x20(الهندية)'},'getPluralForm':_0x355520=>0x0==_0x355520?0x0:0x1==_0x355520?0x1:0x2==_0x355520?0x2:_0x355520%0x64>=0x3&&_0x355520%0x64<=0xa?0x3:_0x355520%0x64>=0xb?0x4:0x5}};_0x4d51ce['ar']||={'dictionary':{},'getPluralForm':null},_0x4d51ce['ar']['dictionary']=Object['assign'](_0x4d51ce['ar']['dictionary'],_0x7174fa),_0x4d51ce['ar']['getPluralForm']=_0x119926;})(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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x2df4e9=>0x1!=_0x2df4e9}};
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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x538278=>0x1!=_0x538278}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x343b9b=>{const {ast:{dictionary:_0x2d3538,getPluralForm:_0xd379f1}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x14b2e0=>0x1!=_0x14b2e0}};_0x343b9b['ast']||={'dictionary':{},'getPluralForm':null},_0x343b9b['ast']['dictionary']=Object['assign'](_0x343b9b['ast']['dictionary'],_0x2d3538),_0x343b9b['ast']['getPluralForm']=_0xd379f1;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5d8bcb=>{const {ast:{dictionary:_0x63ddcf,getPluralForm:_0xc3f008}}={'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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x513fce=>0x1!=_0x513fce}};_0x5d8bcb['ast']||={'dictionary':{},'getPluralForm':null},_0x5d8bcb['ast']['dictionary']=Object['assign'](_0x5d8bcb['ast']['dictionary'],_0x63ddcf),_0x5d8bcb['ast']['getPluralForm']=_0xc3f008;})(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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x4a333a=>0x1!=_0x4a333a}};
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':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\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':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x46a0bc=>0x1!=_0x46a0bc}};