@ckeditor/ckeditor5-footnotes 48.4.0-alpha.5 → 48.4.0-alpha.6

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 (148) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/translations/af.js +1 -1
  3. package/dist/translations/af.umd.js +1 -1
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/ast.js +1 -1
  7. package/dist/translations/ast.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/be.js +1 -1
  11. package/dist/translations/be.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x25b9e6,Plugin as _0x5d3f09}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x279eaa,isWidget as _0x247891,toWidget as _0x32a443,toWidgetEditable as _0x32d7f7}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x9760ac,KeystrokeHandler as _0x4c0263,global as _0x250397,logWarning as _0x465b2f,uid as _0xd669ac}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x433e48,PointerObserver as _0x1a5e55}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x422410}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x3aba57,ButtonView as _0x43bcc6,CollapsibleView as _0xfb5fc8,ContextualBalloon as _0x1dc07e,FocusCycler as _0x3fad6e,LabeledFieldView as _0x4b8eaf,MenuBarMenuListItemButtonView as _0x4b611a,View as _0x4083de,ViewCollection as _0x1bfa6b,addKeyboardHandlingForGrid as _0x4f6484,createDropdown as _0x59d3d4,createLabeledInputNumber as _0x145c1a}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0xbcbb6f,IconListStyleArabicIndic as _0x1ef682,IconListStyleDecimal as _0x1e9edc,IconListStyleDecimalLeadingZero as _0xf6a5c1,IconListStyleLowerLatin as _0x3cb2dd,IconListStyleLowerRoman as _0x56ec81,IconListStyleUpperLatin as _0x33a668,IconListStyleUpperRoman as _0xcd86a}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];_elementName;_getElementKey;_trackedElements=new Map();constructor(_0x49f627,_0x42db02){this['_model']=_0x49f627,this['_elementName']=_0x42db02['elementName'],this['_getElementKey']=_0x42db02['getElementKey'];}reset(){this['_trackedElements']['clear']();}getChanges(_0x492b8b){const _0x33b6e4=new Set(),_0x448604=new Map();for(const _0x1e79c1 of _0x492b8b){if('insert'===_0x1e79c1['type']&&'$text'!==_0x1e79c1['name']&&_0x1e79c1['position']['nodeAfter']){const _0x57e5e6=this['_model']['createRangeOn'](_0x1e79c1['position']['nodeAfter']);for(const _0x1cbf0 of _0x57e5e6['getItems']()){if(!_0x1cbf0['is']('element',this['_elementName']))continue;const _0x17fc14=this['_getElementKey'](_0x1cbf0);_0x448604['has'](_0x17fc14)||_0x448604['set'](_0x17fc14,[]),_0x448604['get'](_0x17fc14)['push'](_0x1cbf0);}}if('remove'===_0x1e79c1['type']&&_0x1e79c1['name']===this['_elementName']){const _0x428797=this['_getElementKey']({'getAttribute':_0x117b8e=>_0x1e79c1['attributes']['get'](_0x117b8e)});_0x33b6e4['add'](_0x428797);}}for(const [_0x5e1c14,_0x33a301]of this['_trackedElements'])'$graveyard'===_0x33a301['root']['rootName']&&_0x33b6e4['add'](_0x5e1c14);for(const _0x3d1ac1 of _0x33b6e4)this['_trackedElements']['delete'](_0x3d1ac1);for(const [_0x28bf21,_0x5afef2]of _0x448604)this['_trackedElements']['set'](_0x28bf21,_0x5afef2[_0x5afef2['length']-0x1]);const _0x15a4fb=new Set();for(const [_0x16d491,_0x416582]of _0x448604)_0x33b6e4['has'](_0x16d491)&&(_0x15a4fb['add'](_0x416582[0x0]),_0x416582['length']>0x1?_0x448604['set'](_0x16d491,_0x416582['slice'](0x1)):_0x448604['delete'](_0x16d491),_0x33b6e4['delete'](_0x16d491));return{'removed':Array['from'](_0x33b6e4),'inserted':Array['from'](_0x448604['values']())['flat'](),'moved':Array['from'](_0x15a4fb)};}},V=class extends _0x5d3f09{_footnotes=[];_footnotesDefinitions=null;_footnoteFormatter=null;_footnoteDefsContainerTracker;_footnoteRefsTracker;_footnoteDefsTracker;static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x50b04f){super(_0x50b04f),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x1e0e3a=>_0x1e0e3a['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0xee4589=>_0xee4589['getAttribute']('footnoteId')});}init(){const {editor:_0x3d089e}=this,{model:_0x1715ab,data:_0x477e61}=_0x3d089e;_0x1715ab['document']['registerPostFixer'](_0x1b18a=>{const _0x51506f=_0x1715ab['document']['differ']['getChanges']();let _0x424310=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x1b18a,_0x51506f)&&(_0x424310=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x1b18a,_0x51506f)&&(_0x424310=!0x0),this['_handleFootnoteReferencesChanges'](_0x1b18a,_0x51506f)&&(_0x424310=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x1b18a)&&(_0x424310=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x1b18a)&&(_0x424310=!0x0),this['_sortFootnoteDefinitions'](_0x1b18a)&&(_0x424310=!0x0),_0x424310;}),this['listenTo'](_0x1715ab['document'],'change:data',()=>{_0x1715ab['enqueueChange']({'isUndoable':!0x1},_0x45eb86=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x45eb86);for(const _0x49b92b of this['_footnotes'])_0x49b92b['definition']['isAttached']()||_0x45eb86['remove'](_0x49b92b['reference']);});},{'priority':'low'}),this['listenTo'](_0x477e61,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}getFootnotesDefinitionsObjectElement(){return this['_footnotesDefinitions'];}getFootnote(_0x304d55){return this['_footnotes']['find'](_0x5a04f9=>_0x5a04f9['id']===_0x304d55)||null;}getFootnotes(){return Array['from'](this['_footnotes']);}getFootnotesFormatter(){return this['_footnoteFormatter'];}setFootnoteFormatter(_0x102efc){this['_footnoteFormatter']=_0x102efc;}_updateFootnotesCounters(_0x128d3e,_0x272700=0x0){let _0x48ff34=!0x1;for(let _0x2f75d1=_0x272700;_0x2f75d1<this['_footnotes']['length'];_0x2f75d1++)this['_updateFootnoteRefCounter'](_0x128d3e,_0x2f75d1)&&(_0x48ff34=!0x0);return _0x48ff34;}_insertEmptyFootnotesDefinitionsContainer(_0x860879,_0x5c6a1f){if(!K(this['editor'],_0x5c6a1f))return null;const _0x3fb3be=_0x860879['createElement']('footnotesDefinitions',{});return _0x860879['append'](_0x3fb3be,_0x5c6a1f),this['_footnotesDefinitions']=_0x3fb3be,_0x3fb3be;}_getFirstSuitableFootnotesDefinitionsRoot(){const _0x4caf65=[...(_0xe9d410=this['_footnotes'],[..._0xe9d410['reduce']((_0x4e59e0,_0x5aff55)=>(_0x4e59e0['add'](_0x5aff55['reference']['root']),_0x4e59e0),new Set())]),...this['editor']['model']['document']['getRoots']()];var _0xe9d410;for(const _0x24bd07 of _0x4caf65)if(K(this['editor'],_0x24bd07))return _0x24bd07;return null;}_ensureFootnotesDefinitionsContainerExists(_0x382ac5){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;let _0x1c8bfe=null;const _0x1463f0=this['_getFirstSuitableFootnotesDefinitionsRoot']();if(_0x1463f0&&(_0x1c8bfe=this['_insertEmptyFootnotesDefinitionsContainer'](_0x382ac5,_0x1463f0)),_0x1c8bfe){for(const _0x21e7af of this['_footnotes'])_0x21e7af['definition']['parent']||_0x382ac5['insert'](_0x21e7af['definition'],_0x1c8bfe,'end');this['_updateFootnotesCounters'](_0x382ac5);}}_handleFootnotesDefinitionsObjectChanges(_0x3a68c8,_0x5892b4){let _0x4f9e96=!0x1;const {inserted:_0x151de6,removed:_0x28283b,moved:_0x3f6fb8}=this['_footnoteDefsContainerTracker']['getChanges'](_0x5892b4);if(_0x3f6fb8['length']&&(this['_footnotesDefinitions']=_0x3f6fb8[0x0]),_0x151de6['length']){if(_0x151de6['length']>0x1||this['_footnotesDefinitions']&&_0x151de6['some'](_0x32b50f=>_0x32b50f!==this['_footnotesDefinitions'])){const _0x17cc45=_0x3a68c8['createElement']('footnotesDefinitions',{}),_0x348278=[];this['_footnotesDefinitions']&&_0x348278['push'](this['_footnotesDefinitions']),_0x348278['push'](..._0x151de6),_0x3a68c8['insert'](_0x17cc45,_0x348278[0x0],'before');for(const _0x340127 of _0x348278)_0x3a68c8['move'](_0x3a68c8['createRangeIn'](_0x340127),_0x3a68c8['createPositionAt'](_0x17cc45,'end')),_0x3a68c8['remove'](_0x340127);this['_footnotesDefinitions']=_0x17cc45,this['_updateFootnotesCounters'](_0x3a68c8),_0x4f9e96=!0x0;}else this['_footnotesDefinitions']=_0x151de6[0x0];}if(_0x28283b['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x89c401 of this['_footnotes'])_0x3a68c8['remove'](_0x89c401['reference']),_0x4f9e96=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4f9e96;}_handleFootnoteDefinitionsChanges(_0x4fa00f,_0x3270ea){let _0x406089=!0x1;const _0x1010bd=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x59ebd3,moved:_0x492dab}=this['_footnoteDefsTracker']['getChanges'](_0x3270ea);for(const _0x1f18ea of[..._0x492dab,..._0x59ebd3]){const _0x57d7ac=_0x1f18ea['getAttribute']('footnoteId'),_0x35a0aa=this['getFootnote'](_0x57d7ac);_0x35a0aa&&(_0x35a0aa['definition']=_0x1f18ea),T(_0x4fa00f,_0x1010bd,_0x1f18ea)&&(_0x406089=!0x0);}return _0x406089;}_handleFootnoteReferencesChanges(_0x505834,_0x3ebb8b){let _0x4952c5=!0x1;const {removed:_0x7766cc,inserted:_0x54b2eb,moved:_0x508c5b}=this['_footnoteRefsTracker']['getChanges'](_0x3ebb8b);for(const _0x3052f5 of _0x7766cc)this['_handleRemoveFootnoteReferenceById'](_0x505834,_0x3052f5)&&(_0x4952c5=!0x0);for(const _0x4bc9cb of _0x54b2eb)this['_handleInsertedFootnoteReference'](_0x505834,_0x4bc9cb)&&(_0x4952c5=!0x0);for(const _0x5414f3 of _0x508c5b)this['_handleMovedFootnoteReference'](_0x505834,_0x5414f3)&&(_0x4952c5=!0x0);return _0x4952c5;}_handleFootnotesDefinitionsObjectSync(_0x10c4ca){if(!this['_footnotesDefinitions'])return!0x1;let _0x47f345=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x17a708=[];for(const _0x464e87 of this['_footnotesDefinitions']['getChildren']()){const _0x9d7fcd=_0x464e87['getAttribute']('footnoteId');this['getFootnote'](_0x9d7fcd)||(_0x17a708['unshift'](_0x464e87),_0x47f345=!0x0);}for(const _0x3d4d7c of _0x17a708)_0x10c4ca['remove'](_0x3d4d7c);}const _0x2123f8=new Set(),_0x11dcfc=[];for(const _0x51a691 of this['_footnotesDefinitions']['getChildren']()){const _0x136307=_0x51a691['getAttribute']('footnoteId');_0x2123f8['has'](_0x136307)?(_0x11dcfc['unshift'](_0x51a691),_0x47f345=!0x0):_0x2123f8['add'](_0x136307);}for(const _0xdaf066 of _0x11dcfc)_0x10c4ca['remove'](_0xdaf066);return this['_footnotesDefinitions']['childCount']||(_0x10c4ca['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x47f345=!0x0),_0x47f345;}_handleInsertedFootnoteReference(_0x4dfd1a,_0x953f40){if(this['_footnotes']['find'](_0x572699=>_0x572699['reference']===_0x953f40))return!0x1;let _0x1e5c8c=!0x1;const _0x2ec6ef=_0x953f40['getAttribute']('footnoteId'),_0x56a967=this['_footnotes']['findIndex'](_0x5ba34c=>_0x5ba34c['id']===_0x2ec6ef);-0x1!==_0x56a967&&(_0x4dfd1a['remove'](this['_footnotes'][_0x56a967]['reference']),this['_footnotes']['splice'](_0x56a967,0x1),_0x1e5c8c=!0x0);let _0xce024c=this['_footnotesDefinitions']?function(_0x5d560c,_0x2a2f90){for(const _0x103397 of _0x5d560c['getChildren']())if(_0x103397['getAttribute']('footnoteId')===_0x2a2f90)return _0x103397;return null;}(this['_footnotesDefinitions'],_0x2ec6ef):null;_0xce024c||(_0xce024c=_0x4dfd1a['createElement']('footnoteDefinition',{'footnoteId':_0x2ec6ef}),this['_footnotesDefinitions']&&(_0x4dfd1a['insert'](_0xce024c,this['_footnotesDefinitions'],'end'),_0x1e5c8c=!0x0));const _0x35b4e3={'id':_0x2ec6ef,'reference':_0x953f40,'definition':_0xce024c},_0x5ddba2=j(this['editor']['model'],this['_footnotes'],_0x953f40);this['_footnotes']['splice'](_0x5ddba2,0x0,_0x35b4e3);let _0x5b5eaf=_0x5ddba2;return-0x1!==_0x56a967&&(_0x5b5eaf=Math['min'](_0x5ddba2,_0x56a967)),this['_updateFootnotesCounters'](_0x4dfd1a,_0x5b5eaf)&&(_0x1e5c8c=!0x0),_0x1e5c8c;}_handleRemoveFootnoteReferenceById(_0x32e3ec,_0x461a9a){const _0xeed9ff=this['_footnotes']['findIndex'](_0xe7fd44=>_0xe7fd44['id']===_0x461a9a);if(-0x1===_0xeed9ff)return!0x1;let _0x5f1169=!0x1;const _0x5b45d1=this['_footnotes'][_0xeed9ff];return _0x5b45d1['definition']['isAttached']()&&'$graveyard'!==_0x5b45d1['definition']['root']['rootName']&&(_0x32e3ec['remove'](_0x5b45d1['definition']),_0x5f1169=!0x0),this['_footnotes']['splice'](_0xeed9ff,0x1),this['_updateFootnotesCounters'](_0x32e3ec,_0xeed9ff)&&(_0x5f1169=!0x0),_0x5f1169;}_handleMovedFootnoteReference(_0x3bf912,_0x2a8b8c){const _0x6d27df=_0x2a8b8c['getAttribute']('footnoteId'),_0x39d26a=this['_footnotes']['findIndex'](_0x56014f=>_0x56014f['id']===_0x6d27df),_0x3ddae5=this['_footnotes'][_0x39d26a];let _0x28c142=!0x1;_0x3ddae5['reference']=_0x2a8b8c,this['_footnotes']['splice'](_0x39d26a,0x1);const _0x3cb251=j(this['editor']['model'],this['_footnotes'],_0x2a8b8c);return this['_footnotes']['splice'](_0x3cb251,0x0,_0x3ddae5),this['_updateFootnotesCounters'](_0x3bf912,Math['min'](_0x39d26a,_0x3cb251))&&(_0x28c142=!0x0),_0x28c142;}_updateFootnoteRefCounter(_0x4e44cd,_0x50ec9e){if(!this['_footnotesDefinitions'])return!0x1;const _0x462075=this['_footnotes'][_0x50ec9e];let _0x578cc0;return _0x578cc0=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x462075,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x50ec9e+0x1}):String(_0x50ec9e+0x1),_0x462075['reference']['getAttribute']('footnoteCounter')!=_0x578cc0&&(_0x4e44cd['setAttribute']('footnoteCounter',_0x578cc0,_0x462075['reference']),!0x0);}_sortFootnoteDefinitions(_0x28910f){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x38421d,_0x52d18e){if(_0x38421d['length']!==_0x52d18e['length'])return!0x1;for(let _0x58f89e=0x0;_0x58f89e<_0x38421d['length'];_0x58f89e++)if(_0x38421d[_0x58f89e]!==_0x52d18e[_0x58f89e])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x100296=>_0x100296['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x6668af=>_0x6668af['getAttribute']('footnoteId'))))return!0x1;let _0x5aa83b=!0x1;for(let _0x3c90ed=0x0;_0x3c90ed<this['_footnotes']['length'];_0x3c90ed++){const _0x35df3e=this['_footnotes'][_0x3c90ed],_0x3d7074=_0x28910f['createPositionBefore'](_0x35df3e['definition']),_0x3b746b=_0x28910f['createPositionAt'](this['_footnotesDefinitions'],_0x3c90ed);_0x3d7074['isEqual'](_0x3b746b)||(_0x28910f['move'](_0x28910f['createRangeOn'](_0x35df3e['definition']),_0x3b746b),_0x5aa83b=!0x0);}return _0x5aa83b;}_ensureFootnotesReferencesHaveProperOrder(_0x5dfd2c){if(!this['_footnotes']['length'])return!0x1;const {model:_0x1a3907}=this['editor'];let _0x192fef=!0x1;for(let _0x2a4e71=0x0;_0x2a4e71<this['_footnotes']['length']-0x1;_0x2a4e71++){const _0x5183eb=this['_footnotes'][_0x2a4e71],_0x9a130a=this['_footnotes'][_0x2a4e71+0x1],_0x3f57a2=_0x1a3907['createPositionBefore'](_0x5183eb['reference']),_0x3b9787=_0x1a3907['createPositionBefore'](_0x9a130a['reference']);'after'===_0x3f57a2['compareWith'](_0x3b9787)&&(this['_handleMovedFootnoteReference'](_0x5dfd2c,_0x5183eb['reference']),_0x2a4e71=-0x1,_0x192fef=!0x0);}return _0x192fef;}};function K(_0x39d047,_0x137d6b){return _0x39d047['model']['schema']['checkChild'](_0x137d6b,'footnotesDefinitions');}function T(_0x5f0064,_0xcdf888,_0x5b9584){if(_0x5b9584['childCount'])return!0x1;const _0x485850=_0xcdf888?'paragraph':'footnoteInlineContent';return _0x5f0064['insert'](_0x5f0064['createElement'](_0x485850),_0x5b9584),!0x0;}function j(_0x1ed171,_0x2d0ce4,_0x5572dc){if(0x0===_0x2d0ce4['length'])return 0x0;const _0x24f212=_0x1ed171['createPositionBefore'](_0x5572dc);for(let _0x3553d8=0x0;_0x3553d8<_0x2d0ce4['length'];_0x3553d8++){const _0x20e6eb=_0x2d0ce4[_0x3553d8],_0x274b3c=_0x1ed171['createPositionBefore'](_0x20e6eb['reference']);if('before'===_0x24f212['compareWith'](_0x274b3c))return _0x3553d8;}const _0x5a2af2=_0x5572dc['root'];let _0x550d83=-0x1;for(let _0x10fb36=_0x2d0ce4['length']-0x1;_0x10fb36>=0x0;_0x10fb36--)if(_0x2d0ce4[_0x10fb36]['reference']['root']===_0x5a2af2){_0x550d83=_0x10fb36;break;}if(-0x1!==_0x550d83)return _0x550d83+0x1;const _0x446f1a=_0x1ed171['document']['getRootNames'](),_0x32e77a=_0x446f1a[_0x446f1a['indexOf'](_0x5a2af2['rootName'])+0x1];if(_0x32e77a){for(let _0x1b4418=0x0;_0x1b4418<_0x2d0ce4['length'];_0x1b4418++)if(_0x2d0ce4[_0x1b4418]['reference']['root']['rootName']===_0x32e77a)return _0x1b4418;}return _0x2d0ce4['length'];}var U=class extends _0x25b9e6{['refresh'](){const {model:_0x13f0c5,plugins:_0x47f809}=this['editor'],{selection:_0xca1df5}=_0x13f0c5['document'],_0x43fabe=this['_getPositionToInsertFootnote'](_0xca1df5),_0x1e5674=_0x47f809['get']('FootnotesTracker');this['isEnabled']=!(!_0x43fabe||!_0x1e5674['_getFirstSuitableFootnotesDefinitionsRoot']());}execute(_0x11d142){const {editor:_0x58b88a}=this,{model:_0x258a33}=_0x58b88a,{selection:_0x1908dc}=_0x258a33['document'],_0x2260a0=this['_getPositionToInsertFootnote'](_0x1908dc);if(!_0x2260a0)return;const _0x286c05=_0x58b88a['plugins']['get']('FootnotesEditing'),_0x44e0bd=_0x11d142?.['footnoteId']??_0xd669ac();!function(_0x2c142c){return'string'==typeof _0x2c142c&&_0x2c142c['length']>0x0&&!/\s/['test'](_0x2c142c)&&!/^\d/['test'](_0x2c142c);}(_0x44e0bd)?_0x465b2f('insert-footnote-command-executed-with-invalid-id'):(_0x258a33['change'](_0x35eb83=>{const _0x325568=_0x35eb83['createElement']('footnoteRef',{'footnoteId':_0x44e0bd});_0x258a33['insertObject'](_0x325568,_0x2260a0,null);}),_0x286c05['_moveSelectionToFootnoteDefinition'](_0x44e0bd));}_getPositionToInsertFootnote(_0x2ca345){const {model:_0x266fda}=this['editor'],{schema:_0x16c35c}=_0x266fda,_0x24fcbb=_0x2ca345['getFirstRange']();for(const _0x2dfa9c of _0x24fcbb['getItems']())if(_0x16c35c['isBlock'](_0x2dfa9c)||_0x16c35c['isObject'](_0x2dfa9c))return null;const _0x152535=_0x24fcbb['end'];return _0x16c35c['checkChild'](_0x152535,'footnoteRef')?_0x152535:null;}},$=class extends _0x5d3f09{static get['pluginName'](){return'FootnotesEditing';}static get requires(){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x293c22}=this;_0x293c22['config']['define']('footnotes.multiBlock',!0x0),_0x293c22['commands']['add']('insertFootnote',new U(_0x293c22)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}afterInit(){!async function(_0x8be53a){const _0x466d09='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x5bf1c9=0x791a0,_0x23655c=window['Date']['now'](),_0x3f3e29=_0x8be53a['editor'],_0x524d0d=new window['Promise'](_0x53e5d3=>{_0x3f3e29['once']('ready',_0x53e5d3);}),_0x9aec3f={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x1b82fa=_0x3f3e29['config']['get']('licenseKey');async function _0x5d855e(){let _0x2524a8,_0x2e019d=null,_0x3e54f5=null;try{return'GPL'==_0x1b82fa?'NotAllowed':(_0x2524a8=_0x3feb6f(),_0x2524a8?(_0x2524a8['usageEndpoint']&&(_0x3e54f5=_0x8c520d(_0x2524a8['usageEndpoint'],_0x2524a8['jti'])),await _0x1fa17c()?_0x55b229()?_0x2256f2()?'Expired':_0x3d5a02()?('evaluation'==_0x2524a8['licenseType']&&(_0x2e019d=_0xb15a7d('EvaluationLimit')),await _0x4cad05()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2256f2(){const _0xb8beb7=['evaluation','trial']['includes'](_0x2524a8['licenseType'])?_0x23655c/0x3e8:0xe10*_0x5bf1c9;return _0x2524a8['exp']<_0xb8beb7;}function _0x55b229(){const _0x4fd694=_0x2524a8['features'];return!!_0x4fd694&&(!!_0x4fd694['includes']('*')||!!_0x4fd694['includes']('FOO'));}function _0x3d5a02(){const _0x109646=_0x2524a8['licensedHosts'];if(!_0x109646||0x0==_0x109646['length'])return!0x0;const {hostname:_0x2d67c8}=new URL(window['location']['href']);if(_0x109646['includes'](_0x2d67c8))return!0x0;const _0xe61474=_0x2d67c8['split']('.');return _0x109646['filter'](_0x9fa298=>_0x9fa298['includes']('*'))['map'](_0xc104b9=>_0xc104b9['split']('.'))['filter'](_0x316ad3=>_0x316ad3['length']<=_0xe61474['length'])['map'](_0x4a638f=>Array(_0xe61474['length']-_0x4a638f['length'])['fill']('*'===_0x4a638f[0x0]?'*':'')['concat'](_0x4a638f))['some'](_0x2f07b6=>_0xe61474['every']((_0x553f0b,_0x1c6d88)=>_0x2f07b6[_0x1c6d88]===_0x553f0b||'*'===_0x2f07b6[_0x1c6d88]));}function _0x4cad05(){return _0x2e019d&&_0x3e54f5?new window['Promise']((_0x5d9d5a,_0x29097f)=>{_0x2e019d['then'](_0x5d9d5a,_0x29097f),_0x3e54f5['then'](_0x480ee6=>{'Valid'!=_0x480ee6&&_0x5d9d5a(_0x480ee6);},_0x29097f);}):_0x2e019d||_0x3e54f5||'Valid';}}function _0x8c520d(_0x1a86c0,_0x26f5c6){return new window['Promise'](_0x3384c1=>{if(_0x59451d())return _0x3384c1('Valid');_0xdf9d98(),_0x3f3e29['decorate']('_sendUsageRequest');let _0x105cd1=!0x1;const _0x1a9d23=_0xd669ac();function _0x2ac22d(_0x1f60d1){return!!_0x1f60d1&&('object'==typeof _0x1f60d1||'function'==typeof _0x1f60d1)&&'function'==typeof _0x1f60d1['then']&&'function'==typeof _0x1f60d1['catch'];}function _0x28cadb(_0x263b93){_0x387c65(_0x263b93)['then'](_0x2a0d99=>_0x2a0d99&&'ok'==_0x2a0d99['status']?_0x439fed(_0x2aeeea(_0x1a9d23+_0x26f5c6))!=_0x2a0d99['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5bd35d=>(_0x585024(),_0x5bd35d),()=>{const _0x533e37=_0x24fba8();return null==_0x533e37?(_0x585024(),'Valid'):_0x23655c-_0x533e37>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3384c1)['catch'](()=>{_0x3384c1('UsageLimit');});const _0x381ca2=0x36ee80;function _0x585024(){const _0x5b4c16='llct-'+_0x439fed(_0x2aeeea(_0x1a86c0)),_0x51e48a=_0x411dfc(_0x439fed(window['Math']['ceil'](_0x23655c/_0x381ca2)));window['localStorage']['setItem'](_0x5b4c16,_0x51e48a);}function _0x24fba8(){const _0x349b0e='llct-'+_0x439fed(_0x2aeeea(_0x1a86c0)),_0x530a22=window['localStorage']['getItem'](_0x349b0e);return _0x530a22?window['parseInt'](_0x411dfc(_0x530a22),0x10)*_0x381ca2:null;}function _0x387c65(_0x46f3b0){return new window['Promise']((_0x375e4f,_0x3eba88)=>{_0x46f3b0['then'](_0x375e4f,_0x3eba88),window['setTimeout'](_0x3eba88,0x1d4c0);});}}_0x3f3e29['on']('_sendUsageRequest',(_0x248d7a,_0x44d345)=>{if(_0x44d345[0x0]!=_0x1a86c0)return _0x3384c1('UsageLimit');_0x44d345[0x1]={..._0x44d345[0x1],'requestId':_0x1a9d23};},{'priority':'high'}),_0x3f3e29['on']('_sendUsageRequest',_0x5d45ad=>{_0x2ac22d(_0x5d45ad['return'])&&(_0x105cd1=!0x0,_0x28cadb(_0x5d45ad['return']));},{'priority':'low'}),_0x524d0d['then'](()=>{_0x105cd1||_0x3384c1('UsageLimit');});});function _0x59451d(){return'auto'==_0x3f3e29['editing']['view']['_overlayModeHint'];}function _0xdf9d98(){_0x3f3e29['editing']['view']['_overlayModeHint']='auto';}}function _0xb15a7d(_0x206c1e){const _0x39a629=[new window['Promise'](_0x29c5a0=>setTimeout(_0x29c5a0,0x93ecc)),_0x524d0d['then'](()=>new window['Promise'](_0x1c4ae9=>{let _0x463883=0x0;_0x3f3e29['model']['on']('applyOperation',(_0x373444,_0x29be4b)=>{_0x29be4b[0x0]['isDocumentOperation']&&_0x463883++,0x5e8==_0x463883&&(_0x1c4ae9(),_0x373444['off']());});}))];return window['Promise']['race'](_0x39a629)['then'](()=>_0x206c1e);}async function _0x28db22(){await _0x524d0d,_0x3f3e29['model']['change']=_0x4126d1,_0x3f3e29['model']['enqueueChange']=_0x4126d1,_0x3f3e29['enableReadOnlyMode']('model');}function _0xdf1b6e(_0x52f0ab){const _0xe8e29e=_0x5f1cc5();_0x3f3e29[_0xe8e29e]='footnotesLicenseKey'+_0x52f0ab,'Valid'!=_0x52f0ab&&_0x28db22();}function _0x5f1cc5(){const _0x382794=window['String'](window['performance']['now']())['replace']('.','');let _0x27c3a3='u';for(let _0x5e611b=0x0;_0x5e611b<_0x382794['length'];_0x5e611b+=0x2){let _0x3117e4=window['parseInt'](_0x382794['substring'](_0x5e611b,_0x5e611b+0x2));_0x3117e4>=0x3e&&(_0x3117e4-=0x3e),_0x27c3a3+=_0x466d09[_0x3117e4];}return _0x27c3a3;}function _0x3feb6f(){const _0x13ff7d=_0x1b82fa['split']('.');if(0x3!=_0x13ff7d['length'])return null;return _0xe1fe42(_0x13ff7d[0x1]);function _0xe1fe42(_0x201918){const _0x4d04eb=_0x3f1c17(_0x201918);return _0x4d04eb&&_0x4c75fd()?_0x4d04eb:null;function _0x4c75fd(){const _0x1ad649=_0x4d04eb['jti'],_0x56511d=window['parseInt'](_0x1ad649['substring'](_0x1ad649['length']-0x8),0x10),_0x1843b7={..._0x4d04eb,'jti':_0x1ad649['substring'](0x0,_0x1ad649['length']-0x8)};return delete _0x1843b7['vc'],_0x2aeeea(_0x1843b7)==_0x56511d;}}}async function _0x1fa17c(){let _0x3428ba=!0x0;try{const [_0xfd03d,_0x61f62e,_0x46de15]=_0x1b82fa['split']('.');return _0xe8bde1(_0xfd03d),await _0x30b3ec(_0xfd03d,_0x61f62e,_0x46de15),_0x3428ba;}catch{return!0x1;}function _0xe8bde1(_0x464ca3){const _0x19081e=_0x3f1c17(_0x464ca3);_0x19081e&&'ES256'==_0x19081e['alg']||(_0x3428ba=!0x1);}async function _0x30b3ec(_0x7a69b5,_0x2b0c3a,_0x4119bc){const _0x186e13=window['Uint8Array']['from'](_0x6848a5(_0x4119bc),_0x1896e7=>_0x1896e7['charCodeAt'](0x0)),_0x301f42=new window['TextEncoder']()['encode'](_0x7a69b5+'.'+_0x2b0c3a),_0x2b502a=window['crypto']['subtle'];if(!_0x2b502a)return;const _0x5089ac=await _0x2b502a['importKey']('jwk',_0x9aec3f,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2b502a['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x5089ac,_0x186e13,_0x301f42)||(_0x3428ba=!0x1);}}function _0x3f1c17(_0x21152f){return _0x21152f['startsWith']('ey')?JSON['parse'](_0x6848a5(_0x21152f)):null;}function _0x6848a5(_0xb250b8){return window['atob'](_0xb250b8['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x2aeeea(_0x38cd21){let _0x486f23=0x1505;function _0x40374f(_0x381f6d){for(let _0x4c9320=0x0;_0x4c9320<_0x381f6d['length'];_0x4c9320++){const _0x38fe97=_0x381f6d['charCodeAt'](_0x4c9320);_0x486f23=(_0x486f23<<0x5)+_0x486f23+_0x38fe97,_0x486f23&=_0x486f23;}}function _0x283cd9(_0x43fb1c){Array['isArray'](_0x43fb1c)?_0x43fb1c['forEach'](_0x283cd9):_0x43fb1c&&'object'==typeof _0x43fb1c?Object['entries'](_0x43fb1c)['sort']()['forEach'](([_0x3c35da,_0x380976])=>{_0x40374f(_0x3c35da),_0x283cd9(_0x380976);}):_0x40374f(window['String'](_0x43fb1c));}return _0x283cd9(_0x38cd21),_0x486f23>>>0x0;}function _0x439fed(_0x4ac7f4){return _0x4ac7f4['toString'](0x10)['padStart'](0x8,'0');}function _0x411dfc(_0x11e9dd){return _0x11e9dd['split']('')['reverse']()['join']('');}function _0x4126d1(){}_0xdf1b6e(await _0x5d855e());}(this);}_moveSelectionToFootnoteDefinition(_0x427b00){const {plugins:_0x552f84,editing:_0x4c979c,model:_0x138b8a}=this['editor'],_0x561a1a=_0x552f84['get'](V)['getFootnote'](_0x427b00);return!!_0x561a1a&&(_0x138b8a['change'](_0x38dba4=>{_0x38dba4['setSelection'](_0x38dba4['createPositionAt'](_0x561a1a['definition'],'end'));}),_0x4c979c['view']['scrollToTheSelection'](),!0x0);}_moveSelectionToFootnoteReference(_0x533a5f){const {plugins:_0x80add2,editing:_0x1ab005,model:_0x389a2b}=this['editor'],_0x264926=_0x80add2['get'](V)['getFootnote'](_0x533a5f);return!!_0x264926&&(_0x389a2b['change'](_0x38f581=>{_0x38f581['setSelection'](_0x264926['reference'],'on');}),_0x1ab005['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x51b377}=this['editor']['model'],_0x374f98=this['editor']['config']['get']('footnotes.multiBlock');_0x51b377['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x51b377['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x51b377['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x374f98?_0x51b377['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x51b377['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x51b377['addChildCheck'](_0x34ae61=>{for(const _0x329c4e of _0x34ae61)if('footnoteDefinition'===_0x329c4e['name'])return!0x1;},'footnoteRef');}_defineRefsConverters(){const {editor:_0x1f65a0}=this,{conversion:_0x4ad323,editing:_0x51d8be}=_0x1f65a0,{t:t}=_0x1f65a0['locale'];_0x4ad323['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x397052,{writer:_0x271928,consumable:_0x3c870a})=>{const _0x455fbd=_0x397052['getChild'](0x0);if(!_0x455fbd||!_0x455fbd['is']('element','a'))return null;const _0x44ea6e=_0x455fbd['getAttribute']('href')||'';if(!_0x44ea6e['startsWith']('#'))return null;const _0x4f3690=_0x44ea6e['replace'](/^#/,'');if(!_0x4f3690)return null;_0x3c870a['consume'](_0x455fbd,{'name':!0x0,'attributes':['href']});for(const {item:_0x1846e0}of _0x51d8be['view']['createRangeIn'](_0x455fbd))_0x1846e0['is']('$textProxy')?_0x3c870a['consume'](_0x1846e0['textNode'],{'name':!0x0}):_0x1846e0['is']('element')&&_0x3c870a['consume'](_0x1846e0,{'name':!0x0});return _0x271928['createElement']('footnoteRef',{'footnoteId':_0x4f3690});}}),_0x4ad323['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3dfc5a,{writer:_0x5343b4})=>z(_0x3dfc5a,_0x5343b4)}),_0x4ad323['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4682c8,{writer:_0x27ec54})=>{const _0x150148=_0x4682c8['getAttribute']('footnoteCounter');return _0x32a443(z(_0x4682c8,_0x27ec54),_0x27ec54,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x150148)});}});}_defineDefinitionsConverters(){const {editor:_0x36420d}=this,{t:t}=_0x36420d['locale'],{conversion:_0x12a3cd}=_0x36420d;_0x12a3cd['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x12a3cd['for']('upcast')['add'](_0x566127=>{_0x566127['on']('element:ol',(_0x3ce79e,_0x83582d,_0x3563ef)=>{const _0x41abb1=_0x83582d['viewItem'];if(!_0x41abb1['hasClass']('footnotes-list')||!_0x83582d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3563ef['consumable']['consume'](_0x41abb1,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x117f20,modelCursor:_0x5aac45}=_0x3563ef['convertChildren'](_0x83582d['viewItem'],_0x83582d['modelCursor']);_0x83582d['modelRange']=_0x117f20,_0x83582d['modelCursor']=_0x5aac45;}),_0x566127['on']('element:hr',(_0x1dedcc,_0x2e0e46,_0x3e21c6)=>{const _0x11ddab=_0x2e0e46['viewItem'];_0x11ddab['hasClass']('footnotes-divider')&&_0x2e0e46['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3e21c6['consumable']['consume'](_0x11ddab,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x12a3cd['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x127f5f,{writer:_0x4af22b})=>X(_0x4af22b)}),_0x12a3cd['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x142752,{writer:_0x172e41})=>{const _0x380434=_0x32a443(X(_0x172e41,{'data-footnotes-list-label':t('Footnotes')}),_0x172e41,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x172e41['setCustomProperty']('footnotesDefinitions',!0x0,_0x380434),_0x380434;}});}_defineDefinitionConverters(){const {editor:_0x3f2199}=this,{conversion:_0x16e468,locale:_0x7c9802}=_0x3f2199,_0x3a7cc5=_0x3f2199['config']['get']('footnotes.multiBlock');_0x16e468['for']('upcast')['add'](_0x4589b6=>{_0x4589b6['on']('element:li',(_0x5c67d9,_0x2b6f89,_0x2abea2)=>{const _0x4b39e6=_0x2b6f89['viewItem'];if(!_0x4b39e6['hasClass']('footnote-definition')||!_0x4b39e6['getAttribute']('id'))return;const _0x431afc=_0x4b39e6['parent'];if(!_0x431afc['is']('element','ol')||!_0x431afc['hasClass']('footnotes-list'))return;if(!_0x2abea2['consumable']['test'](_0x4b39e6,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1dbc6f=_0x2abea2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4b39e6['getAttribute']('id')});if(!_0x2abea2['safeInsert'](_0x1dbc6f,_0x2b6f89['modelCursor']))return;_0x2abea2['consumable']['consume'](_0x4b39e6,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4abeaf=Array['from'](_0x4b39e6['getChildren']())['find'](_0x2571e4=>_0x2571e4['is']('element')&&_0x2571e4['hasClass']('footnote-content'));for(const _0x1198e0 of _0x4b39e6['getChildren']())_0x1198e0['is']('element')&&(_0x2abea2['consumable']['consume'](_0x1198e0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2abea2['consumable']['consume'](_0x1198e0,{'name':!0x0,'classes':'footnote-content'}));if(_0x4abeaf){if(_0x3a7cc5)_0x2abea2['convertChildren'](_0x4abeaf,_0x1dbc6f);else{const _0x446d8f=_0x2abea2['writer']['createElement']('footnoteInlineContent');_0x2abea2['writer']['insert'](_0x446d8f,_0x1dbc6f),_0x2abea2['convertChildren'](_0x4abeaf,_0x446d8f);}}_0x2abea2['updateConversionResult'](_0x1dbc6f,_0x2b6f89);});}),_0x16e468['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2c48bd,{writer:_0x61c7f0})=>J(_0x2c48bd,_0x61c7f0,_0x7c9802,{'dataPipeline':!0x0})}),_0x16e468['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x354afd,{writer:_0x4cc6d9})=>J(_0x354afd,_0x4cc6d9,_0x7c9802)});}_defineBogusParagraphConverters(){const {editor:_0x22e914}=this,{conversion:_0x256303}=_0x22e914;_0x22e914['config']['get']('footnotes.multiBlock')?(_0x256303['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':M(),'converterPriority':'high'}),_0x256303['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':M({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x22e914['model']['document'],'change:data',()=>{!function(_0xa0ea1e,_0x338d55){const _0xe8d57c=_0xa0ea1e['document']['differ'],_0x3cb504=new Set();for(const _0x1ec20b of _0xe8d57c['getChanges']()){const _0x2c6132='attribute'==_0x1ec20b['type']?_0x1ec20b['range']['start']['parent']:_0x1ec20b['position']['parent'];_0x2c6132['is']('element','footnoteDefinition')&&_0x3cb504['add'](_0x2c6132);}for(const _0x5d2f97 of _0x3cb504['values']()){const _0x229c96=Array['from'](_0x5d2f97['getChildren']())['filter'](_0x58e3e1=>q(_0x58e3e1,_0x338d55['mapper']));for(const _0x2320b7 of _0x229c96)_0x338d55['reconvertItem'](_0x2320b7);}}(_0x22e914['model'],_0x22e914['editing']);})):(_0x256303['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':M()}),_0x256303['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2529b9,{writer:_0x12c7df})=>{const _0x175869=_0x12c7df['createContainerElement']('span');return _0x12c7df['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x175869),_0x175869;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5b97b5}=this,{editing:_0x3a668a,t:t}=_0x5b97b5,_0x365faf=_0x5b97b5['model']['document']['selection'];_0x5b97b5['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5b97b5['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3a668a['view']['document'],'enter',(_0x18274f,_0x36f98b)=>{const _0x547b15=function(_0x171663){const _0x5976fc=_0x171663['getSelectedElement']();return _0x5976fc?.['is']('element','footnoteRef')?_0x5976fc:null;}(_0x365faf);if(_0x547b15){const _0x150aac=_0x547b15['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x150aac),_0x36f98b['preventDefault'](),_0x18274f['stop']();}},{'context':_0x247891});}['_defineClickHandlers'](){const {editor:_0x40b2eb}=this,{editing:_0x2890f0}=_0x40b2eb;_0x40b2eb['editing']['view']['addObserver'](_0x1a5e55),_0x40b2eb['editing']['view']['addObserver'](_0x433e48);let _0x5c0fea=!0x1;this['listenTo'](_0x2890f0['view']['document'],'pointerdown',(_0x1eea57,_0x349b5d)=>{const {target:_0x83f6e7}=_0x349b5d,_0x9569e3=_0x2890f0['view']['document']['selection'];_0x5c0fea=!!(_0x83f6e7?.['is']('element','a')&&_0x83f6e7['parent']?.['is']('element','sup')&&_0x83f6e7['parent']['hasClass']('footnote'))&&_0x9569e3['getSelectedElement']()===_0x83f6e7['parent'];},{'priority':'high'}),this['listenTo'](_0x2890f0['view']['document'],'click',(_0x184c06,_0x281fb8)=>{const {target:_0x9331f2}=_0x281fb8;if(!_0x9331f2?.['is']('element','a'))return;if(_0x9331f2['parent']?.['is']('element','sup')&&_0x9331f2['parent']['hasClass']('footnote')&&!_0x5c0fea)return void _0x281fb8['preventDefault']();let _0x3e5920=_0x9331f2['getAttribute']('href');if(!_0x3e5920?.['startsWith']('#'))return;_0x3e5920=_0x3e5920['slice'](0x1);let _0x19613f=!0x1;(_0x3e5920['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3e5920['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3e5920))&&(_0x19613f=!0x0),_0x19613f&&(_0x281fb8['preventDefault'](),_0x184c06['stop']());},{'priority':'high','context':'$capture'});}};function M({dataPipeline:_0x33deec}={}){return(_0x41aecf,{writer:_0x4d9977})=>{if(!B(_0x41aecf))return null;if(!_0x33deec)return _0x4d9977['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2d321e=_0x4d9977['createContainerElement']('p');return _0x4d9977['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2d321e),_0x2d321e;};}function B(_0x50f69c){const {parent:_0x910055}=_0x50f69c;if(!_0x910055?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x910055['childCount'])return!0x1;for(const _0x2471e7 of _0x50f69c['getAttributeKeys']())if(!_0x2471e7['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2471e7)return!0x1;return!0x0;}function q(_0x10c589,_0x18b56c){if(!_0x10c589['is']('element','paragraph'))return!0x1;const _0x5f23c1=_0x18b56c['toViewElement'](_0x10c589);return!!_0x5f23c1&&B(_0x10c589)!==_0x5f23c1['is']('element','span');}function H(_0x59f776){return _0x247891(_0x59f776)&&_0x59f776['is']('containerElement')&&!!_0x59f776['getCustomProperty']('footnotesDefinitions');}function X(_0x13200f,_0x32067c={}){const _0x31b5a1=_0x13200f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x52b3a0=_0x13200f['createContainerElement']('ol',{'class':'footnotes-list'},_0x13200f['createSlot']());return _0x13200f['createContainerElement']('div',{'class':'footnotes',..._0x32067c},[_0x31b5a1,_0x52b3a0]);}function z(_0x5add3c,_0x2ec3a6){const _0x39a9a9=_0x5add3c['getAttribute']('footnoteId'),_0x4c4b28=_0x5add3c['getAttribute']('footnoteCounter'),_0x1cb05b=_0x2ec3a6['createUIElement']('a',{'href':'#'+_0x39a9a9},function(_0x3bc876){const _0x2a4120=this['toDomElement'](_0x3bc876);return _0x2a4120['textContent']=_0x4c4b28,_0x2a4120;}),_0x296a3c=_0x2ec3a6['createContainerElement']('sup',{'id':'ref-'+_0x39a9a9,'class':'footnote'},[_0x1cb05b]);return _0x296a3c['getFillerOffset']=()=>null,_0x296a3c;}function J(_0x22db94,_0xc669c9,_0x3d913d,{dataPipeline:_0x1f2d8f}={}){const {t:t}=_0x3d913d,_0x294362=_0x22db94['getAttribute']('footnoteId'),_0x4bc59f=_0xc669c9['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x294362},function(_0x1c2bd3){const _0x4a3aba=this['toDomElement'](_0x1c2bd3);return _0x4a3aba['innerText']='^',_0x4a3aba;}),_0x124343=_0x1f2d8f?_0xc669c9['createContainerElement']('div',{'class':'footnote-content'}):_0x32d7f7(_0xc669c9['createEditableElement']('div',{'class':'footnote-content'}),_0xc669c9,{'label':t('Footnote\x20content.')});return _0xc669c9['insert'](_0xc669c9['createPositionAt'](_0x124343,0x0),_0xc669c9['createSlot']()),_0xc669c9['createContainerElement']('li',{'class':'footnote-definition','id':_0x294362},[_0x4bc59f,_0x124343]);}var Q=class extends _0x5d3f09{static get['pluginName'](){return'FootnotesClipboard';}static get requires(){return[$,_0x422410];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_defineClipboardIntegration']();}_defineClipboardIntegration(){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}_handleCopyFootnotesDefinitions(){const {editor:_0x301869}=this,{plugins:_0x12b9fa,model:_0x35c130}=_0x301869,_0x5bb920=_0x12b9fa['get'](_0x422410),_0x184aa0=_0x12b9fa['get'](V);this['listenTo'](_0x5bb920,'outputTransformation',(_0x404884,_0x26f711)=>{const _0x591b35=W(_0x35c130['createRangeIn'](_0x26f711['content']));if(!_0x591b35['length'])return;const _0x487cc8=_0x184aa0['getFootnotes'](),_0x42fdf4=_0x591b35['reduce']((_0x579758,_0x1559cc)=>{const _0x446e51=_0x487cc8['find'](_0x469d2f=>_0x469d2f['id']===_0x1559cc);if(_0x446e51){const _0x303a2f=_0x301869['data']['toView'](_0x446e51['definition'],{'isClipboardPipeline':!0x0}),_0xe7ef1f=_0x301869['data']['htmlProcessor']['toData'](_0x303a2f);_0x579758[_0x446e51['id']]=_0xe7ef1f;}return _0x579758;},Object['create'](null));_0x26f711['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x42fdf4));});}_handlePasteFootnotesDefinitions(){const {editor:_0x59a40a}=this,{model:_0x403db9,plugins:_0x20053b}=_0x59a40a,{view:_0x388d1f}=_0x59a40a['editing'],_0x3ec3d6=_0x20053b['get'](_0x422410),_0x518054=_0x20053b['get'](V),_0x178910=_0x59a40a['config']['get']('footnotes.multiBlock');let _0x289e24=null;this['listenTo'](_0x388d1f['document'],'clipboardInput',(_0x189bcf,_0x4fa77b)=>{const _0x20af51=_0x4fa77b['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x289e24=_0x20af51?JSON['parse'](_0x20af51):null;}),this['listenTo'](_0x3ec3d6,'contentInsertion',(_0x459987,_0x786040)=>{const _0x26d1a0=_0x786040['sourceEditorId']===this['editor']['id'];_0x26d1a0&&'drop'===_0x786040['method']||_0x403db9['change'](_0x2c985a=>{let _0x4d6bfe=_0x518054['getFootnotesDefinitionsObjectElement']();const _0x547d6d=!!_0x4d6bfe&&Array['from'](_0x403db9['document']['selection']['getSelectedBlocks']())['includes'](_0x4d6bfe);if(!_0x289e24&&function(_0xcd6c){for(const {item:_0x5df49c}of _0xcd6c)if(_0x5df49c['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x403db9['createRangeIn'](_0x786040['content']))&&(_0x289e24=function(_0x224289,_0x73278b){const _0x1b34e5=G(_0x224289,_0x73278b);if(!_0x1b34e5)return null;const _0x1c725d=Object['create'](null);for(const _0x188abd of _0x1b34e5['getChildren']())_0x188abd['is']('element','footnoteDefinition')&&_0x188abd['hasAttribute']('footnoteId')&&(_0x1c725d[_0x188abd['getAttribute']('footnoteId')]=_0x224289['cloneElement'](_0x188abd,!0x0));return Object['keys'](_0x1c725d)['length']?_0x1c725d:null;}(_0x2c985a,_0x786040['content'])),(_0x4d6bfe&&!_0x547d6d||!_0x4d6bfe&&!_0x289e24)&&function(_0x120c27,_0x1354d5){const _0x7eacca=[];for(const {item:_0x5474da}of _0x120c27['createRangeIn'](_0x1354d5))_0x5474da['is']('element','footnotesDefinitions')&&_0x7eacca['push'](_0x5474da);for(const _0x3b109b of _0x7eacca)_0x120c27['remove'](_0x3b109b);}(_0x2c985a,_0x786040['content']),!_0x289e24)return;const {selection:_0x2efbb2}=_0x403db9['document'],_0x234c00=_0x2efbb2['getFirstRange']()['root'];if(!_0x4d6bfe||_0x547d6d){if(_0x4d6bfe=G(_0x2c985a,_0x786040['content']),_0x4d6bfe||=_0x518054['_insertEmptyFootnotesDefinitionsContainer'](_0x2c985a,_0x234c00),!_0x4d6bfe){const _0x3a0ae5=_0x518054['_getFirstSuitableFootnotesDefinitionsRoot']();_0x4d6bfe||=_0x3a0ae5&&_0x518054['_insertEmptyFootnotesDefinitionsContainer'](_0x2c985a,_0x3a0ae5);}if(!_0x4d6bfe)return void(_0x289e24=null);}const _0xfc879a=Array['from'](_0x2efbb2['getRanges']())['flatMap'](W),_0x595cf8=function(_0x13eafe,_0x573c61,_0x1df6f6){const _0x17a819=Object['create'](null);for(const {item:_0x2c2955}of _0x13eafe['createRangeIn'](_0x573c61))if(_0x2c2955['is']('element','footnoteRef')){const _0x10330b=_0x2c2955['getAttribute']('footnoteId');if(!_0x1df6f6(_0x10330b))continue;_0x17a819[_0x10330b]||(_0x17a819[_0x10330b]=_0xd669ac()),_0x13eafe['setAttribute']('footnoteId',_0x17a819[_0x10330b],_0x2c2955);}return _0x17a819;}(_0x2c985a,_0x786040['content'],_0x36b23f=>!_0x26d1a0||!!_0x518054['getFootnote'](_0x36b23f)&&!_0xfc879a['includes'](_0x36b23f));for(const [_0x151e96,_0x11682f]of Object['entries'](_0x289e24)){const _0x398d4f=_0x595cf8[_0x151e96]||_0x151e96;let _0x5d4fd1;if('string'!=typeof _0x11682f)_0x5d4fd1=_0x11682f,_0x398d4f!==_0x151e96&&_0x2c985a['setAttribute']('footnoteId',_0x398d4f,_0x5d4fd1);else{_0x5d4fd1=_0x2c985a['createElement']('footnoteDefinition',{'footnoteId':_0x398d4f});const _0x582a36=_0x59a40a['data']['htmlProcessor']['toView'](_0x11682f);let _0x3dfb23;if(_0x178910)_0x3dfb23=_0x59a40a['data']['toModel'](_0x582a36,_0x5d4fd1);else{_0x3dfb23=_0x2c985a['createElement']('footnoteInlineContent');const _0x58f860=_0x59a40a['data']['toModel'](_0x582a36,_0x3dfb23);_0x2c985a['insert'](_0x58f860,_0x3dfb23);}_0x2c985a['append'](_0x3dfb23,_0x5d4fd1);}_0x2c985a['insert'](_0x5d4fd1,_0x4d6bfe,'end');}_0x289e24=null;});});}};function G(_0x29ecb5,_0x5c6961){for(const {item:_0xd4d9ff}of _0x29ecb5['createRangeIn'](_0x5c6961))if(_0xd4d9ff['is']('element','footnotesDefinitions'))return _0xd4d9ff;return null;}function W(_0x8c3c12){const _0x1afe37=new Set();for(const {item:_0x1d0b52}of _0x8c3c12)_0x1d0b52['is']('element','footnoteRef')&&_0x1afe37['add'](_0x1d0b52['getAttribute']('footnoteId'));return Array['from'](_0x1afe37);}var Y=class extends _0x5d3f09{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x7ad73f}=this,{componentFactory:_0x4a0c0b}=_0x7ad73f['ui'];_0x4a0c0b['add']('insertFootnote',Z(_0x7ad73f,_0x43bcc6)),_0x4a0c0b['add']('menuBar:insertFootnote',Z(_0x7ad73f,_0x4b611a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x675f32=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2d8ad1;for(const _0x5f1f30 in _0x675f32){const _0x2a99bf=_0x5f1f30,_0x5d1a47=_0x675f32[_0x2a99bf];if('footnotesLicenseKeyValid'==_0x5d1a47||'footnotesLicenseKeyInvalid'==_0x5d1a47||'footnotesLicenseKeyExpired'==_0x5d1a47||'footnotesLicenseKeyDomainLimit'==_0x5d1a47||'footnotesLicenseKeyNotAllowed'==_0x5d1a47||'footnotesLicenseKeyEvaluationLimit'==_0x5d1a47||'footnotesLicenseKeyUsageLimit'==_0x5d1a47){delete _0x675f32[_0x2a99bf],_0x2d8ad1=_0x5d1a47,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2d8ad1&&_0x675f32['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2d8ad1&&_0x675f32['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2d8ad1&&_0x675f32['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2d8ad1&&_0x675f32['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2d8ad1&&_0x675f32['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x2d8ad1&&_0x675f32['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Z(_0x44263d,_0x4a1196){const _0x3614c1=_0x44263d['commands']['get']('insertFootnote');return _0x2439f9=>{const {t:t}=_0x2439f9,_0x16d825=new _0x4a1196(_0x2439f9),_0x315b12=_0x16d825 instanceof _0x4b611a;return _0x16d825['bind']('isEnabled')['to'](_0x3614c1,'isEnabled'),_0x16d825['set']({'label':t(_0x315b12?'Footnote':'Insert\x20footnote'),'icon':_0xbcbb6f,'tooltip':!0x0}),_0x16d825['on']('execute',()=>{_0x3614c1['execute'](),_0x44263d['editing']['view']['focus']();}),_0x16d825;};}var tt=class extends _0x5d3f09{static get['pluginName'](){return'Footnotes';}static get requires(){return[$,Q,Y];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const et=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],ot=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),nt=[...et,'arabic-indic','lower-alpha','upper-alpha'];var it=class extends _0x25b9e6{['refresh'](){const {editor:_0x580913}=this,_0x2c9b17=_0x580913['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2c9b17,this['value']=_0x2c9b17?.['getAttribute']('footnotesListStyle')??null;}execute({value:_0x34d67e}){const {editor:_0x58eed1}=this,_0x1335c3=_0x58eed1['plugins']['get'](V),_0x3d88d2=_0x1335c3['getFootnotesDefinitionsObjectElement']();_0x3d88d2&&nt['includes'](_0x34d67e)&&_0x58eed1['model']['change'](_0x2f7ddb=>{_0x2f7ddb['setAttribute']('footnotesListStyle',_0x34d67e,_0x3d88d2),_0x1335c3['_updateFootnotesCounters'](_0x2f7ddb);});}},st=class extends _0x25b9e6{['refresh'](){const {editor:_0x325542}=this,_0x3a6b51=_0x325542['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3a6b51,this['value']=_0x3a6b51?.['getAttribute']('footnotesListStart')??null;}execute({value:_0x3e7621}){const {editor:_0x1042f2}=this,_0x5b0db3=_0x1042f2['plugins']['get'](V),_0x528868=_0x5b0db3['getFootnotesDefinitionsObjectElement']();_0x528868&&Number['isInteger'](_0x3e7621)&&_0x1042f2['model']['change'](_0x3388f2=>{_0x3388f2['setAttribute']('footnotesListStart',_0x3e7621,_0x528868),_0x5b0db3['_updateFootnotesCounters'](_0x3388f2);});}};function rt({style:_0x259af6,digits:_0x3d82ba,value:_0x40d47f}){const _0xad40ba=Math['floor'](_0x40d47f),_0x25101a=function(_0xb2c33e){switch(_0xb2c33e){case'lower-alpha':case'lower-latin':case'upper-alpha':case'upper-latin':return{'min':0x1,'max':0x1/0x0};case'lower-roman':case'upper-roman':return{'min':0x1,'max':0xf9f};default:return{'min':-0x1/0x0,'max':0x1/0x0};}}(_0x259af6);switch((_0xad40ba>_0x25101a['max']||_0xad40ba<_0x25101a['min'])&&(_0x259af6='decimal'),_0x259af6){case'decimal-leading-zero':return function(_0x43c38f,_0xa43231){return String(_0x43c38f)['padStart'](_0xa43231,'0');}(_0xad40ba,Math['max'](0x2,_0x3d82ba));case'lower-alpha':case'lower-latin':return lt(_0xad40ba,!0x1);case'upper-alpha':case'upper-latin':return lt(_0xad40ba,!0x0);case'lower-roman':return ft(_0xad40ba,!0x1);case'upper-roman':return ft(_0xad40ba,!0x0);case'arabic-indic':return String(_0xad40ba)['replace'](/\d/g,_0x23ebfb=>ct[Number(_0x23ebfb)]);default:return String(_0xad40ba);}}function lt(_0x5b84bb,_0x3537b9){let _0x470305='',_0x2e68d1=_0x5b84bb;for(;_0x2e68d1>0x0;){const _0x25ee88=(_0x2e68d1-0x1)%0x1a;_0x470305=String['fromCharCode'](0x61+_0x25ee88)+_0x470305,_0x2e68d1=Math['floor']((_0x2e68d1-0x1)/0x1a);}return _0x3537b9?_0x470305['toUpperCase']():_0x470305;}const at=[{'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 ft(_0x3e65f4,_0x82e11){let _0x1e9dce='',_0x11a120=_0x3e65f4;for(const {value:_0x46ce7c,numeral:_0x1c91b4}of at)for(;_0x11a120>=_0x46ce7c;)_0x1e9dce+=_0x1c91b4,_0x11a120-=_0x46ce7c;return _0x82e11?_0x1e9dce:_0x1e9dce['toLowerCase']();}const ct=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ut=class extends _0x5d3f09{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get requires(){return[$,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0xe50c56}=this;_0xe50c56['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xe50c56['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xe50c56['config']['define']('footnotes.footnotesProperties.listStyles',[...et]),_0xe50c56['commands']['add']('footnotesStyle',new it(_0xe50c56)),_0xe50c56['commands']['add']('footnotesStart',new st(_0xe50c56)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x367edf}=this,{schema:_0x5c8113}=_0x367edf['model'];_0x5c8113['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}_defineConverters(){const {editor:_0x28a47d}=this,{conversion:_0x35be9b,model:_0x269786}=_0x28a47d,{schema:_0x2ac0f8}=_0x269786;_0x35be9b['for']('upcast')['add'](_0x1655f5=>{_0x1655f5['on']('element:ol',(_0x404764,_0x4ee67a,_0xbf5803)=>{const _0x4c5eac=_0x4ee67a['viewItem'],_0x3cfafa=_0x4ee67a['modelCursor']?.['parent'];_0x4c5eac['hasClass']('footnotes-list')&&_0x3cfafa?.['is']('element','footnotesDefinitions')&&(function(_0x512f9a,_0x47547e,_0x36c181,_0x477508){if(!_0x477508['checkAttribute'](_0x47547e,'footnotesListStart'))return;let _0x1eba5e=0x1;const _0x5545c6=_0x36c181['consumable']['consume'](_0x512f9a,{'attributes':'start'});if(_0x5545c6){const _0xf60944=Number['parseInt'](_0x512f9a['getAttribute']('start'),0xa);Number['isNaN'](_0xf60944)||(_0x1eba5e=_0xf60944);}!_0x5545c6&&_0x47547e['hasAttribute']('footnotesListStart')||_0x36c181['writer']['setAttribute']('footnotesListStart',_0x1eba5e,_0x47547e);}(_0x4c5eac,_0x3cfafa,_0xbf5803,_0x2ac0f8),function(_0x1b747c,_0x131e20,_0x5414bf,_0x5768a1){if(!_0x5768a1['checkAttribute'](_0x131e20,'footnotesListStyle'))return;let _0x434392='decimal',_0xb8cb55=!0x1;if(_0x5414bf['consumable']['consume'](_0x1b747c,{'attributes':'type'})){const _0x21ed76={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x1b747c['getAttribute']('type')];_0x21ed76&&(_0x434392=_0x21ed76),_0xb8cb55=!0x0;}if(_0x5414bf['consumable']['consume'](_0x1b747c,{'styles':'list-style-type'})){const _0x34bc97=dt(_0x1b747c['getStyle']('list-style-type'));_0x34bc97&&(_0x434392=_0x34bc97),_0xb8cb55=!0x0;}!_0xb8cb55&&_0x131e20['hasAttribute']('footnotesListStyle')||_0x5414bf['writer']['setAttribute']('footnotesListStyle',_0x434392,_0x131e20);}(_0x4c5eac,_0x3cfafa,_0xbf5803,_0x2ac0f8));});}),_0x35be9b['for']('downcast')['add'](_0x4aea6c=>{_0x4aea6c['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x1c1c1d,_0x4685c3,_0x2300c7)=>{if(!_0x2300c7['consumable']['consume'](_0x4685c3['item'],_0x1c1c1d['name']))return;const _0x2df36a=ht(_0x4685c3['item'],_0x2300c7['mapper']),{attributeNewValue:_0x20a239}=_0x4685c3;null==_0x20a239||0x1===_0x20a239?_0x2300c7['writer']['removeAttribute']('start',_0x2df36a):_0x2300c7['writer']['setAttribute']('start',String(_0x20a239),_0x2df36a);}),_0x4aea6c['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x4ecd96,_0x4d809a,_0x58ca81)=>{if(!_0x58ca81['consumable']['consume'](_0x4d809a['item'],_0x4ecd96['name']))return;const _0x5ecc79=ht(_0x4d809a['item'],_0x58ca81['mapper']),{attributeNewValue:_0x28a975}=_0x4d809a;_0x28a975&&'decimal'!==_0x28a975?_0x58ca81['writer']['setStyle']('list-style-type',_0x28a975,_0x5ecc79):_0x58ca81['writer']['removeStyle']('list-style-type',_0x5ecc79);});});}_definePostfixer(){const {editor:_0x40ab95}=this,{model:_0x149e72}=_0x40ab95,_0x2964b0=_0x40ab95['plugins']['get'](V),_0xabd330=this['_getDefaultListStyle'](),_0x2669ac=this['_getDefaultStartIndex']();_0x149e72['document']['registerPostFixer'](_0x4c66e7=>{const _0x533bdc=_0x149e72['document']['differ']['getChanges']();let _0xe02ac4=!0x1;for(const _0x29785b of _0x533bdc){if('insert'!==_0x29785b['type']||'$text'===_0x29785b['name'])continue;const _0x21e2bf=_0x149e72['createRangeOn'](_0x29785b['position']['nodeAfter']);for(const _0x1e96ae of _0x21e2bf['getItems']())_0x1e96ae['is']('element','footnotesDefinitions')&&(!_0x1e96ae['hasAttribute']('footnotesListStart')&&_0x149e72['schema']['checkAttribute'](_0x1e96ae,'footnotesListStart')&&(_0x4c66e7['setAttribute']('footnotesListStart',_0x2669ac,_0x1e96ae),_0xe02ac4=!0x0),!_0x1e96ae['hasAttribute']('footnotesListStyle')&&_0x149e72['schema']['checkAttribute'](_0x1e96ae,'footnotesListStyle')&&(_0x4c66e7['setAttribute']('footnotesListStyle',_0xabd330,_0x1e96ae),_0xe02ac4=!0x0));}return _0xe02ac4&&_0x2964b0['_updateFootnotesCounters'](_0x4c66e7),_0xe02ac4;});}_defineFormatter(){const {editor:_0x35c2bc}=this;_0x35c2bc['plugins']['get'](V)['setFootnoteFormatter'](_0x1bd1a8=>this['_formatFootnoteListValue'](_0x1bd1a8));}_getDefaultListStyle(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}_getDefaultStartIndex(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}_formatFootnoteListValue({container:_0x48e1cb,value:_0x1e60ab,digits:_0x40ba0e}){const _0x1cd6a6=_0x48e1cb['getAttribute']('footnotesListStyle');return rt({'value':_0x1e60ab+(_0x48e1cb['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x1cd6a6,'digits':_0x40ba0e});}};function dt(_0x46543a){if('string'==typeof _0x46543a){const _0x12c53e=ot[_0x46543a];if(_0x12c53e)return _0x12c53e;if(nt['includes'](_0x46543a))return _0x46543a;}return null;}function ht(_0x103b64,_0x310292){const _0x1c71c0=_0x310292['toViewElement'](_0x103b64);return Array['from'](_0x1c71c0['getChildren']())['find'](_0x3fccc7=>_0x3fccc7['is']('element','ol')&&_0x3fccc7['hasClass']('footnotes-list'));}var mt=class extends _0x4083de{['children'];stylesView=null;additionalProperties=null;startIndexFieldView=null;['focusTracker']=new _0x9760ac();keystrokes=new _0x4c0263();['focusables']=new _0x1bfa6b();['focusCycler'];constructor(_0x2e3af6,{styleButtonViews:_0x13a434,styleGridAriaLabel:_0x44fbb5}){super(_0x2e3af6),(this['focusCycler']=new _0x3fad6e({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x13a434,_0x44fbb5),[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 _0x304869 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x304869['element']);_0x4f6484({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x250397['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 _0x27e5d7=_0x32d056=>_0x32d056['stopPropagation']();this['keystrokes']['set']('arrowright',_0x27e5d7),this['keystrokes']['set']('arrowleft',_0x27e5d7),this['keystrokes']['set']('arrowup',_0x27e5d7),this['keystrokes']['set']('arrowdown',_0x27e5d7);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}_appendStylesView(_0x3a2fd5,_0x3bfbe2){const _0x3971f7=new _0x4083de(this['locale']);return _0x3971f7['children']=_0x3971f7['createCollection'](),_0x3971f7['children']['addMany'](_0x3a2fd5),_0x3971f7['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3bfbe2,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3971f7['children']}),_0x3971f7['children']['delegate']('execute')['to'](this),_0x3971f7['focus']=function(){for(const _0x4b1766 of this['children'])if(_0x4b1766 instanceof _0x43bcc6&&_0x4b1766['isOn'])return void _0x4b1766['focus']();this['children']['first']['focus']();},_0x3971f7['focusTracker']=new _0x9760ac(),_0x3971f7['keystrokes']=new _0x4c0263(),_0x3971f7['render'](),_0x3971f7['keystrokes']['listenTo'](_0x3971f7['element']),this['children']['add'](_0x3971f7),_0x3971f7;}_appendAdditionalPropertiesCollapsibleView(){const {t:t}=this['locale'],_0x5f4491=this['_createStartIndexPropertyView'](),_0xc63c29=[_0x5f4491],_0xcadc9=new _0xfb5fc8(this['locale'],_0xc63c29);return _0xcadc9['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xcadc9['buttonView']['bind']('isEnabled')['toMany'](_0xc63c29,'isEnabled',(..._0x405b2b)=>_0x405b2b['some'](_0x25e314=>_0x25e314)),_0xcadc9['buttonView']['on']('change:isEnabled',(_0x3a3d91,_0x1dfc80,_0x9a5d6a)=>{_0x9a5d6a||(_0xcadc9['isCollapsed']=!0x0);}),this['children']['add'](_0xcadc9),[_0x5f4491,_0xcadc9];}_createStartIndexPropertyView(){const {t:t}=this['locale'],_0x3f8240=new _0x4b8eaf(this['locale'],_0x145c1a);return _0x3f8240['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3f8240['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3f8240['fieldView']['on']('input',()=>{const _0xc948bb=_0x3f8240['fieldView']['element'],_0x395220=_0xc948bb['valueAsNumber'];Number['isNaN'](_0x395220)?_0x3f8240['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xc948bb['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x395220}):_0x3f8240['errorText']=t(_0x395220<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3f8240;}},pt=class extends _0x5d3f09{static get['pluginName'](){return'FootnotesPropertiesUI';}static get requires(){return[_0x1dc07e,_0x279eaa];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x15ef8e}=this,{componentFactory:_0xfd1c2f}=_0x15ef8e['ui'];_0x15ef8e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xfd1c2f['add']('footnotesStyle',function(_0x32b603){return _0x198f18=>{const {t:t}=_0x198f18,_0x117924=_0x32b603['commands']['get']('footnotesStyle'),_0x11294b=_0x59d3d4(_0x198f18),{buttonView:_0x41bcb8}=_0x11294b;return _0x11294b['class']='ck-footnotes-styles-dropdown',_0x11294b['bind']('isEnabled')['to'](_0x117924,'isEnabled'),_0x41bcb8['set']({'label':t('Footnotes\x20style'),'icon':_0xbcbb6f,'tooltip':!0x0}),_0x11294b['once']('change:isOpen',()=>{const _0xfd368a=function({editor:_0x1589bb,dropdownView:_0x55c00c}){const {t:t}=_0x1589bb['locale'],_0xa1883=t('Footnotes\x20definitions\x20styles'),_0x88d10=function(_0x10c991){const {t:t}=_0x10c991['locale'],_0x23c17f=_0x10c991['config']['get']('footnotes.footnotesProperties.listStyles'),_0x21b950=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x1e9edc},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0xf6a5c1},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x56ec81},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0xcd86a},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x3cb2dd},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x33a668},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x1ef682}];return _0x23c17f['map'](_0x451f9d=>{const _0x574166=dt(_0x451f9d);return function(_0x55ee95,_0x22ae05){const {locale:_0xf6773}=_0x55ee95,{label:_0x48b2af,icon:_0x243f9d,tooltip:_0x2c6a33,style:_0x57c4ed}=_0x22ae05,_0x4892ea=_0x55ee95['commands']['get']('footnotesStyle'),_0x1170ab=new _0x43bcc6(_0xf6773);return _0x1170ab['set']({'label':_0x48b2af,'icon':_0x243f9d,'tooltip':_0x2c6a33}),_0x1170ab['bind']('isOn')['to'](_0x4892ea,'value',_0xd42ad0=>_0xd42ad0===_0x57c4ed),_0x1170ab['bind']('isEnabled')['to'](_0x4892ea,'isEnabled'),_0x1170ab['on']('execute',()=>{_0x55ee95['execute']('footnotesStyle',{'value':_0x57c4ed}),_0x55ee95['editing']['view']['focus']();}),_0x1170ab;}(_0x10c991,_0x21b950['find'](_0x177adf=>_0x177adf['style']===_0x574166));});}(_0x1589bb),_0x8bee1d=new mt(_0x1589bb['locale'],{'styleGridAriaLabel':_0xa1883,'styleButtonViews':_0x88d10}),_0x2952e4=_0x1589bb['commands']['get']('footnotesStart');return _0x8bee1d['startIndexFieldView']['bind']('isEnabled')['to'](_0x2952e4),_0x8bee1d['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2952e4),_0x8bee1d['on']('footnotesListStart',(_0x3e6ee8,_0x51b287)=>{_0x1589bb['execute']('footnotesStart',{'value':_0x51b287['startIndex']});}),_0x8bee1d['delegate']('execute')['to'](_0x55c00c),_0x8bee1d;}({'editor':_0x32b603,'dropdownView':_0x11294b});_0x11294b['panelView']['children']['add'](_0xfd368a);}),_0x11294b;};}(_0x15ef8e));}afterInit(){const {editor:_0x4c84eb}=this,{t:t}=_0x4c84eb['locale'],_0x3eeb1e=_0x4c84eb['plugins']['get'](_0x279eaa),{defaultPositions:_0x5848dd}=_0x3aba57;_0x3eeb1e['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4c84eb['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x499860=>{let _0x56d4fa=_0x499860['getFirstPosition']()?.['parent'];return _0x56d4fa?.['is']('$text')&&(_0x56d4fa=_0x56d4fa['parent']),_0x56d4fa?.['is']('element')?_0x56d4fa['findAncestor'](H):null;},'positions':[_0x5848dd['southArrowNorth'],_0x5848dd['southArrowNorthMiddleWest'],_0x5848dd['southArrowNorthMiddleEast'],_0x5848dd['southArrowNorthWest'],_0x5848dd['southArrowNorthEast'],_0x5848dd['northArrowSouth'],_0x5848dd['northArrowSouthMiddleWest'],_0x5848dd['northArrowSouthMiddleEast'],_0x5848dd['northArrowSouthWest'],_0x5848dd['northArrowSouthEast'],_0x5848dd['viewportStickyNorth']]});}},wt=class extends _0x5d3f09{static get['pluginName'](){return'FootnotesProperties';}static get requires(){return[ut,pt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{tt as Footnotes,Q as FootnotesClipboard,$ as FootnotesEditing,wt as FootnotesProperties,ut as FootnotesPropertiesEditing,pt as FootnotesPropertiesUI,st as FootnotesStartCommand,it as FootnotesStyleCommand,V as FootnotesTracker,Y as FootnotesUI,U as InsertFootnoteCommand};
23
+ import{Command as _0x5c8ff6,Plugin as _0x3479b8}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x4abd57,isWidget as _0x5a9f52,toWidget as _0x19e524,toWidgetEditable as _0x4db2b5}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x5a202e,KeystrokeHandler as _0x58c14f,global as _0x243977,logWarning as _0xc12e07,uid as _0x21f031}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x4c2135,PointerObserver as _0x2f2079}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x230aef}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x1c0ee9,ButtonView as _0x592e70,CollapsibleView as _0x4a7e4b,ContextualBalloon as _0x2076fd,FocusCycler as _0x55c43a,LabeledFieldView as _0xe2bf6a,MenuBarMenuListItemButtonView as _0x4c3d92,View as _0x295ddd,ViewCollection as _0x25e9a8,addKeyboardHandlingForGrid as _0x1fddb6,createDropdown as _0x2a0dc1,createLabeledInputNumber as _0x437d21}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x2f0138,IconListStyleArabicIndic as _0x3ca943,IconListStyleDecimal as _0x24cc69,IconListStyleDecimalLeadingZero as _0x312661,IconListStyleLowerLatin as _0x3832eb,IconListStyleLowerRoman as _0x172d02,IconListStyleUpperLatin as _0x576598,IconListStyleUpperRoman as _0x38bbf1}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];_elementName;_getElementKey;_trackedElements=new Map();constructor(_0x1bdb28,_0x3df3d6){this['_model']=_0x1bdb28,this['_elementName']=_0x3df3d6['elementName'],this['_getElementKey']=_0x3df3d6['getElementKey'];}reset(){this['_trackedElements']['clear']();}getChanges(_0x41ea76){const _0x2c51e4=new Set(),_0x2d7f79=new Map();for(const _0x2cf27e of _0x41ea76){if('insert'===_0x2cf27e['type']&&'$text'!==_0x2cf27e['name']&&_0x2cf27e['position']['nodeAfter']){const _0x5cbafc=this['_model']['createRangeOn'](_0x2cf27e['position']['nodeAfter']);for(const _0xebc3b8 of _0x5cbafc['getItems']()){if(!_0xebc3b8['is']('element',this['_elementName']))continue;const _0x49b094=this['_getElementKey'](_0xebc3b8);_0x2d7f79['has'](_0x49b094)||_0x2d7f79['set'](_0x49b094,[]),_0x2d7f79['get'](_0x49b094)['push'](_0xebc3b8);}}if('remove'===_0x2cf27e['type']&&_0x2cf27e['name']===this['_elementName']){const _0x509e86=this['_getElementKey']({'getAttribute':_0x151673=>_0x2cf27e['attributes']['get'](_0x151673)});_0x2c51e4['add'](_0x509e86);}}for(const [_0x31400f,_0x452b7b]of this['_trackedElements'])'$graveyard'===_0x452b7b['root']['rootName']&&_0x2c51e4['add'](_0x31400f);for(const _0x3b2ab4 of _0x2c51e4)this['_trackedElements']['delete'](_0x3b2ab4);for(const [_0x475406,_0x5231c4]of _0x2d7f79)this['_trackedElements']['set'](_0x475406,_0x5231c4[_0x5231c4['length']-0x1]);const _0x44bd68=new Set();for(const [_0x18ee6d,_0x1e43be]of _0x2d7f79)_0x2c51e4['has'](_0x18ee6d)&&(_0x44bd68['add'](_0x1e43be[0x0]),_0x1e43be['length']>0x1?_0x2d7f79['set'](_0x18ee6d,_0x1e43be['slice'](0x1)):_0x2d7f79['delete'](_0x18ee6d),_0x2c51e4['delete'](_0x18ee6d));return{'removed':Array['from'](_0x2c51e4),'inserted':Array['from'](_0x2d7f79['values']())['flat'](),'moved':Array['from'](_0x44bd68)};}},V=class extends _0x3479b8{_footnotes=[];_footnotesDefinitions=null;_footnoteFormatter=null;_footnoteDefsContainerTracker;_footnoteRefsTracker;_footnoteDefsTracker;static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3897e8){super(_0x3897e8),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x99f8c2=>_0x99f8c2['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x10b539=>_0x10b539['getAttribute']('footnoteId')});}init(){const {editor:_0xad7cb6}=this,{model:_0x2677e6,data:_0x44bb69}=_0xad7cb6;_0x2677e6['document']['registerPostFixer'](_0x5e9ee6=>{const _0x5aaf6b=_0x2677e6['document']['differ']['getChanges']();let _0x5df34d=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5e9ee6,_0x5aaf6b)&&(_0x5df34d=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5e9ee6,_0x5aaf6b)&&(_0x5df34d=!0x0),this['_handleFootnoteReferencesChanges'](_0x5e9ee6,_0x5aaf6b)&&(_0x5df34d=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5e9ee6)&&(_0x5df34d=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5e9ee6)&&(_0x5df34d=!0x0),this['_sortFootnoteDefinitions'](_0x5e9ee6)&&(_0x5df34d=!0x0),_0x5df34d;}),this['listenTo'](_0x2677e6['document'],'change:data',()=>{_0x2677e6['enqueueChange']({'isUndoable':!0x1},_0x161c8d=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x161c8d);for(const _0x4e6fab of this['_footnotes'])_0x4e6fab['definition']['isAttached']()||_0x161c8d['remove'](_0x4e6fab['reference']);});},{'priority':'low'}),this['listenTo'](_0x44bb69,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}getFootnotesDefinitionsObjectElement(){return this['_footnotesDefinitions'];}getFootnote(_0x1998f9){return this['_footnotes']['find'](_0x1819f4=>_0x1819f4['id']===_0x1998f9)||null;}getFootnotes(){return Array['from'](this['_footnotes']);}getFootnotesFormatter(){return this['_footnoteFormatter'];}setFootnoteFormatter(_0x2458de){this['_footnoteFormatter']=_0x2458de;}_updateFootnotesCounters(_0xed3d5b,_0x3fbc05=0x0){let _0x2febae=!0x1;for(let _0x23dddd=_0x3fbc05;_0x23dddd<this['_footnotes']['length'];_0x23dddd++)this['_updateFootnoteRefCounter'](_0xed3d5b,_0x23dddd)&&(_0x2febae=!0x0);return _0x2febae;}_insertEmptyFootnotesDefinitionsContainer(_0x2ea5cd,_0xb812e){if(!K(this['editor'],_0xb812e))return null;const _0x446d84=_0x2ea5cd['createElement']('footnotesDefinitions',{});return _0x2ea5cd['append'](_0x446d84,_0xb812e),this['_footnotesDefinitions']=_0x446d84,_0x446d84;}_getFirstSuitableFootnotesDefinitionsRoot(){const _0x2ae026=[...(_0x5eae3e=this['_footnotes'],[..._0x5eae3e['reduce']((_0xd28cc8,_0x482a00)=>(_0xd28cc8['add'](_0x482a00['reference']['root']),_0xd28cc8),new Set())]),...this['editor']['model']['document']['getRoots']()];var _0x5eae3e;for(const _0xcf363f of _0x2ae026)if(K(this['editor'],_0xcf363f))return _0xcf363f;return null;}_ensureFootnotesDefinitionsContainerExists(_0x505509){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;let _0x58ab42=null;const _0x33c09f=this['_getFirstSuitableFootnotesDefinitionsRoot']();if(_0x33c09f&&(_0x58ab42=this['_insertEmptyFootnotesDefinitionsContainer'](_0x505509,_0x33c09f)),_0x58ab42){for(const _0xa742ab of this['_footnotes'])_0xa742ab['definition']['parent']||_0x505509['insert'](_0xa742ab['definition'],_0x58ab42,'end');this['_updateFootnotesCounters'](_0x505509);}}_handleFootnotesDefinitionsObjectChanges(_0x58ce70,_0x1d276e){let _0x18184c=!0x1;const {inserted:_0x31a85f,removed:_0x2a17d3,moved:_0x2f6886}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1d276e);if(_0x2f6886['length']&&(this['_footnotesDefinitions']=_0x2f6886[0x0]),_0x31a85f['length']){if(_0x31a85f['length']>0x1||this['_footnotesDefinitions']&&_0x31a85f['some'](_0x50455f=>_0x50455f!==this['_footnotesDefinitions'])){const _0x31a92e=_0x58ce70['createElement']('footnotesDefinitions',{}),_0x1c3e26=[];this['_footnotesDefinitions']&&_0x1c3e26['push'](this['_footnotesDefinitions']),_0x1c3e26['push'](..._0x31a85f),_0x58ce70['insert'](_0x31a92e,_0x1c3e26[0x0],'before');for(const _0xecc7ca of _0x1c3e26)_0x58ce70['move'](_0x58ce70['createRangeIn'](_0xecc7ca),_0x58ce70['createPositionAt'](_0x31a92e,'end')),_0x58ce70['remove'](_0xecc7ca);this['_footnotesDefinitions']=_0x31a92e,this['_updateFootnotesCounters'](_0x58ce70),_0x18184c=!0x0;}else this['_footnotesDefinitions']=_0x31a85f[0x0];}if(_0x2a17d3['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x3d482e of this['_footnotes'])_0x58ce70['remove'](_0x3d482e['reference']),_0x18184c=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x18184c;}_handleFootnoteDefinitionsChanges(_0x539475,_0x27265f){let _0x242c2a=!0x1;const _0x50b932=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x409761,moved:_0x17181a}=this['_footnoteDefsTracker']['getChanges'](_0x27265f);for(const _0x5d637e of[..._0x17181a,..._0x409761]){const _0x1f66cb=_0x5d637e['getAttribute']('footnoteId'),_0x1852d3=this['getFootnote'](_0x1f66cb);_0x1852d3&&(_0x1852d3['definition']=_0x5d637e),T(_0x539475,_0x50b932,_0x5d637e)&&(_0x242c2a=!0x0);}return _0x242c2a;}_handleFootnoteReferencesChanges(_0x2415d1,_0xef8d89){let _0x66b90a=!0x1;const {removed:_0x575013,inserted:_0x4a9a35,moved:_0xcf206f}=this['_footnoteRefsTracker']['getChanges'](_0xef8d89);for(const _0x2e4442 of _0x575013)this['_handleRemoveFootnoteReferenceById'](_0x2415d1,_0x2e4442)&&(_0x66b90a=!0x0);for(const _0x31ebce of _0x4a9a35)this['_handleInsertedFootnoteReference'](_0x2415d1,_0x31ebce)&&(_0x66b90a=!0x0);for(const _0x57db6e of _0xcf206f)this['_handleMovedFootnoteReference'](_0x2415d1,_0x57db6e)&&(_0x66b90a=!0x0);return _0x66b90a;}_handleFootnotesDefinitionsObjectSync(_0x27cde0){if(!this['_footnotesDefinitions'])return!0x1;let _0x40205=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x383328=[];for(const _0x303fbe of this['_footnotesDefinitions']['getChildren']()){const _0x17d84d=_0x303fbe['getAttribute']('footnoteId');this['getFootnote'](_0x17d84d)||(_0x383328['unshift'](_0x303fbe),_0x40205=!0x0);}for(const _0x1a54c3 of _0x383328)_0x27cde0['remove'](_0x1a54c3);}const _0x3dc8a2=new Set(),_0xb157b7=[];for(const _0x40d91f of this['_footnotesDefinitions']['getChildren']()){const _0x4221d8=_0x40d91f['getAttribute']('footnoteId');_0x3dc8a2['has'](_0x4221d8)?(_0xb157b7['unshift'](_0x40d91f),_0x40205=!0x0):_0x3dc8a2['add'](_0x4221d8);}for(const _0xccc903 of _0xb157b7)_0x27cde0['remove'](_0xccc903);return this['_footnotesDefinitions']['childCount']||(_0x27cde0['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x40205=!0x0),_0x40205;}_handleInsertedFootnoteReference(_0x2ecff6,_0x2dedb8){if(this['_footnotes']['find'](_0x5c454f=>_0x5c454f['reference']===_0x2dedb8))return!0x1;let _0x3316c0=!0x1;const _0x262da4=_0x2dedb8['getAttribute']('footnoteId'),_0x572a46=this['_footnotes']['findIndex'](_0x2730ec=>_0x2730ec['id']===_0x262da4);-0x1!==_0x572a46&&(_0x2ecff6['remove'](this['_footnotes'][_0x572a46]['reference']),this['_footnotes']['splice'](_0x572a46,0x1),_0x3316c0=!0x0);let _0x5e9da5=this['_footnotesDefinitions']?function(_0x57b37c,_0x566707){for(const _0x38b0f2 of _0x57b37c['getChildren']())if(_0x38b0f2['getAttribute']('footnoteId')===_0x566707)return _0x38b0f2;return null;}(this['_footnotesDefinitions'],_0x262da4):null;_0x5e9da5||(_0x5e9da5=_0x2ecff6['createElement']('footnoteDefinition',{'footnoteId':_0x262da4}),this['_footnotesDefinitions']&&(_0x2ecff6['insert'](_0x5e9da5,this['_footnotesDefinitions'],'end'),_0x3316c0=!0x0));const _0xa6d237={'id':_0x262da4,'reference':_0x2dedb8,'definition':_0x5e9da5},_0x1a30bf=j(this['editor']['model'],this['_footnotes'],_0x2dedb8);this['_footnotes']['splice'](_0x1a30bf,0x0,_0xa6d237);let _0x1c15ec=_0x1a30bf;return-0x1!==_0x572a46&&(_0x1c15ec=Math['min'](_0x1a30bf,_0x572a46)),this['_updateFootnotesCounters'](_0x2ecff6,_0x1c15ec)&&(_0x3316c0=!0x0),_0x3316c0;}_handleRemoveFootnoteReferenceById(_0x1b6631,_0x372600){const _0x560b7d=this['_footnotes']['findIndex'](_0xe98322=>_0xe98322['id']===_0x372600);if(-0x1===_0x560b7d)return!0x1;let _0x50f774=!0x1;const _0x213796=this['_footnotes'][_0x560b7d];return _0x213796['definition']['isAttached']()&&'$graveyard'!==_0x213796['definition']['root']['rootName']&&(_0x1b6631['remove'](_0x213796['definition']),_0x50f774=!0x0),this['_footnotes']['splice'](_0x560b7d,0x1),this['_updateFootnotesCounters'](_0x1b6631,_0x560b7d)&&(_0x50f774=!0x0),_0x50f774;}_handleMovedFootnoteReference(_0x912df6,_0x1ad102){const _0x1f71a2=_0x1ad102['getAttribute']('footnoteId'),_0x1c7844=this['_footnotes']['findIndex'](_0x2e3762=>_0x2e3762['id']===_0x1f71a2),_0x4909c8=this['_footnotes'][_0x1c7844];let _0x195296=!0x1;_0x4909c8['reference']=_0x1ad102,this['_footnotes']['splice'](_0x1c7844,0x1);const _0x4c00c4=j(this['editor']['model'],this['_footnotes'],_0x1ad102);return this['_footnotes']['splice'](_0x4c00c4,0x0,_0x4909c8),this['_updateFootnotesCounters'](_0x912df6,Math['min'](_0x1c7844,_0x4c00c4))&&(_0x195296=!0x0),_0x195296;}_updateFootnoteRefCounter(_0x799739,_0x447b5c){if(!this['_footnotesDefinitions'])return!0x1;const _0x587bd2=this['_footnotes'][_0x447b5c];let _0xec8f0a;return _0xec8f0a=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x587bd2,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x447b5c+0x1}):String(_0x447b5c+0x1),_0x587bd2['reference']['getAttribute']('footnoteCounter')!=_0xec8f0a&&(_0x799739['setAttribute']('footnoteCounter',_0xec8f0a,_0x587bd2['reference']),!0x0);}_sortFootnoteDefinitions(_0x5f1286){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x3cd69f,_0x349c3d){if(_0x3cd69f['length']!==_0x349c3d['length'])return!0x1;for(let _0x27f3b3=0x0;_0x27f3b3<_0x3cd69f['length'];_0x27f3b3++)if(_0x3cd69f[_0x27f3b3]!==_0x349c3d[_0x27f3b3])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x42e422=>_0x42e422['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x249ba7=>_0x249ba7['getAttribute']('footnoteId'))))return!0x1;let _0x20f84c=!0x1;for(let _0xfa05b=0x0;_0xfa05b<this['_footnotes']['length'];_0xfa05b++){const _0x551d87=this['_footnotes'][_0xfa05b],_0x1db47f=_0x5f1286['createPositionBefore'](_0x551d87['definition']),_0x5b5d55=_0x5f1286['createPositionAt'](this['_footnotesDefinitions'],_0xfa05b);_0x1db47f['isEqual'](_0x5b5d55)||(_0x5f1286['move'](_0x5f1286['createRangeOn'](_0x551d87['definition']),_0x5b5d55),_0x20f84c=!0x0);}return _0x20f84c;}_ensureFootnotesReferencesHaveProperOrder(_0x3a2ef2){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4bbb07}=this['editor'];let _0x28f278=!0x1;for(let _0x4406ad=0x0;_0x4406ad<this['_footnotes']['length']-0x1;_0x4406ad++){const _0xc4f42c=this['_footnotes'][_0x4406ad],_0x5625f7=this['_footnotes'][_0x4406ad+0x1],_0xb7c23=_0x4bbb07['createPositionBefore'](_0xc4f42c['reference']),_0x4d7b6b=_0x4bbb07['createPositionBefore'](_0x5625f7['reference']);'after'===_0xb7c23['compareWith'](_0x4d7b6b)&&(this['_handleMovedFootnoteReference'](_0x3a2ef2,_0xc4f42c['reference']),_0x4406ad=-0x1,_0x28f278=!0x0);}return _0x28f278;}};function K(_0x5ef809,_0x380cef){return _0x5ef809['model']['schema']['checkChild'](_0x380cef,'footnotesDefinitions');}function T(_0x293c63,_0x4d1cab,_0x11cdd4){if(_0x11cdd4['childCount'])return!0x1;const _0x222658=_0x4d1cab?'paragraph':'footnoteInlineContent';return _0x293c63['insert'](_0x293c63['createElement'](_0x222658),_0x11cdd4),!0x0;}function j(_0x2cc2aa,_0xa29b6b,_0x1edadc){if(0x0===_0xa29b6b['length'])return 0x0;const _0x5390c2=_0x2cc2aa['createPositionBefore'](_0x1edadc);for(let _0x41b46c=0x0;_0x41b46c<_0xa29b6b['length'];_0x41b46c++){const _0x2ddbcf=_0xa29b6b[_0x41b46c],_0x36bd43=_0x2cc2aa['createPositionBefore'](_0x2ddbcf['reference']);if('before'===_0x5390c2['compareWith'](_0x36bd43))return _0x41b46c;}const _0x45d8d5=_0x1edadc['root'];let _0x4f0485=-0x1;for(let _0x5ff77a=_0xa29b6b['length']-0x1;_0x5ff77a>=0x0;_0x5ff77a--)if(_0xa29b6b[_0x5ff77a]['reference']['root']===_0x45d8d5){_0x4f0485=_0x5ff77a;break;}if(-0x1!==_0x4f0485)return _0x4f0485+0x1;const _0x1f68a2=_0x2cc2aa['document']['getRootNames'](),_0x5e742b=_0x1f68a2[_0x1f68a2['indexOf'](_0x45d8d5['rootName'])+0x1];if(_0x5e742b){for(let _0x341143=0x0;_0x341143<_0xa29b6b['length'];_0x341143++)if(_0xa29b6b[_0x341143]['reference']['root']['rootName']===_0x5e742b)return _0x341143;}return _0xa29b6b['length'];}var U=class extends _0x5c8ff6{['refresh'](){const {model:_0x13514e,plugins:_0x52de24}=this['editor'],{selection:_0x5edbd5}=_0x13514e['document'],_0x243908=this['_getPositionToInsertFootnote'](_0x5edbd5),_0x5b86d1=_0x52de24['get']('FootnotesTracker');this['isEnabled']=!(!_0x243908||!_0x5b86d1['_getFirstSuitableFootnotesDefinitionsRoot']());}execute(_0x99c5a9){const {editor:_0x5495dd}=this,{model:_0x499a59}=_0x5495dd,{selection:_0x4feb77}=_0x499a59['document'],_0x9e1d0a=this['_getPositionToInsertFootnote'](_0x4feb77);if(!_0x9e1d0a)return;const _0x4e03df=_0x5495dd['plugins']['get']('FootnotesEditing'),_0xd15e0d=_0x99c5a9?.['footnoteId']??_0x21f031();!function(_0xd8d707){return'string'==typeof _0xd8d707&&_0xd8d707['length']>0x0&&!/\s/['test'](_0xd8d707)&&!/^\d/['test'](_0xd8d707);}(_0xd15e0d)?_0xc12e07('insert-footnote-command-executed-with-invalid-id'):(_0x499a59['change'](_0x57d480=>{const _0x5abe08=_0x57d480['createElement']('footnoteRef',{'footnoteId':_0xd15e0d});_0x499a59['insertObject'](_0x5abe08,_0x9e1d0a,null);}),_0x4e03df['_moveSelectionToFootnoteDefinition'](_0xd15e0d));}_getPositionToInsertFootnote(_0x1a3d5c){const {model:_0xa3d395}=this['editor'],{schema:_0x4cf2fd}=_0xa3d395,_0x18d308=_0x1a3d5c['getFirstRange']();for(const _0x55c95a of _0x18d308['getItems']())if(_0x4cf2fd['isBlock'](_0x55c95a)||_0x4cf2fd['isObject'](_0x55c95a))return null;const _0x2c8ed1=_0x18d308['end'];return _0x4cf2fd['checkChild'](_0x2c8ed1,'footnoteRef')?_0x2c8ed1:null;}},$=class extends _0x3479b8{static get['pluginName'](){return'FootnotesEditing';}static get requires(){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x60dba3}=this;_0x60dba3['config']['define']('footnotes.multiBlock',!0x0),_0x60dba3['commands']['add']('insertFootnote',new U(_0x60dba3)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}afterInit(){!async function(_0x3e53d4){const _0x1211a7='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x1395b7=0x791b8,_0x22f42d=window['Date']['now'](),_0x5529cc=_0x3e53d4['editor'],_0x5cefec=new window['Promise'](_0x4a25e4=>{_0x5529cc['once']('ready',_0x4a25e4);}),_0x2ffe8c={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4db727=_0x5529cc['config']['get']('licenseKey');async function _0x56eecd(){let _0x5cb83c,_0x5dc88e=null,_0x429603=null;try{return'GPL'==_0x4db727?'NotAllowed':(_0x5cb83c=_0x4e0b74(),_0x5cb83c?(_0x5cb83c['usageEndpoint']&&(_0x429603=_0x12735a(_0x5cb83c['usageEndpoint'],_0x5cb83c['jti'])),await _0x54a52a()?_0x34a706()?_0xb1f19e()?'Expired':_0x4a0181()?('evaluation'==_0x5cb83c['licenseType']&&(_0x5dc88e=_0x298484('EvaluationLimit')),await _0x383154()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xb1f19e(){const _0x5c4fb2=['evaluation','trial']['includes'](_0x5cb83c['licenseType'])?_0x22f42d/0x3e8:0xe10*_0x1395b7;return _0x5cb83c['exp']<_0x5c4fb2;}function _0x34a706(){const _0x29cbe3=_0x5cb83c['features'];return!!_0x29cbe3&&(!!_0x29cbe3['includes']('*')||!!_0x29cbe3['includes']('FOO'));}function _0x4a0181(){const _0x5bb7f9=_0x5cb83c['licensedHosts'];if(!_0x5bb7f9||0x0==_0x5bb7f9['length'])return!0x0;const {hostname:_0x1f3261}=new URL(window['location']['href']);if(_0x5bb7f9['includes'](_0x1f3261))return!0x0;const _0x5400c0=_0x1f3261['split']('.');return _0x5bb7f9['filter'](_0x4afa6b=>_0x4afa6b['includes']('*'))['map'](_0x128b2c=>_0x128b2c['split']('.'))['filter'](_0x95300f=>_0x95300f['length']<=_0x5400c0['length'])['map'](_0x355ac0=>Array(_0x5400c0['length']-_0x355ac0['length'])['fill']('*'===_0x355ac0[0x0]?'*':'')['concat'](_0x355ac0))['some'](_0x33fe6d=>_0x5400c0['every']((_0x18fb89,_0x2ac536)=>_0x33fe6d[_0x2ac536]===_0x18fb89||'*'===_0x33fe6d[_0x2ac536]));}function _0x383154(){return _0x5dc88e&&_0x429603?new window['Promise']((_0x1b1788,_0x2db776)=>{_0x5dc88e['then'](_0x1b1788,_0x2db776),_0x429603['then'](_0x475b7d=>{'Valid'!=_0x475b7d&&_0x1b1788(_0x475b7d);},_0x2db776);}):_0x5dc88e||_0x429603||'Valid';}}function _0x12735a(_0x5778a8,_0x4da45b){return new window['Promise'](_0x213256=>{if(_0xbe394d())return _0x213256('Valid');_0x51626b(),_0x5529cc['decorate']('_sendUsageRequest');let _0x10076e=!0x1;const _0x524106=_0x21f031();function _0x1c4601(_0x1549a0){return!!_0x1549a0&&('object'==typeof _0x1549a0||'function'==typeof _0x1549a0)&&'function'==typeof _0x1549a0['then']&&'function'==typeof _0x1549a0['catch'];}function _0x12307a(_0x4316af){_0x403314(_0x4316af)['then'](_0x2a34e4=>_0x2a34e4&&'ok'==_0x2a34e4['status']?_0xc9137(_0x355f3b(_0x524106+_0x4da45b))!=_0x2a34e4['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x31716b=>(_0xa9ffcf(),_0x31716b),()=>{const _0x75a980=_0xfd69a3();return null==_0x75a980?(_0xa9ffcf(),'Valid'):_0x22f42d-_0x75a980>0x240c8400?'UsageLimit':'Valid';})['then'](_0x213256)['catch'](()=>{_0x213256('UsageLimit');});const _0x6e9e30=0x36ee80;function _0xa9ffcf(){const _0x463d79='llct-'+_0xc9137(_0x355f3b(_0x5778a8)),_0x35623f=_0x53c734(_0xc9137(window['Math']['ceil'](_0x22f42d/_0x6e9e30)));window['localStorage']['setItem'](_0x463d79,_0x35623f);}function _0xfd69a3(){const _0x23ccf8='llct-'+_0xc9137(_0x355f3b(_0x5778a8)),_0x1e2284=window['localStorage']['getItem'](_0x23ccf8);return _0x1e2284?window['parseInt'](_0x53c734(_0x1e2284),0x10)*_0x6e9e30:null;}function _0x403314(_0x4cea57){return new window['Promise']((_0x1acb8b,_0x498176)=>{_0x4cea57['then'](_0x1acb8b,_0x498176),window['setTimeout'](_0x498176,0x1d4c0);});}}_0x5529cc['on']('_sendUsageRequest',(_0x270310,_0x28b536)=>{if(_0x28b536[0x0]!=_0x5778a8)return _0x213256('UsageLimit');_0x28b536[0x1]={..._0x28b536[0x1],'requestId':_0x524106};},{'priority':'high'}),_0x5529cc['on']('_sendUsageRequest',_0x3ef2ba=>{_0x1c4601(_0x3ef2ba['return'])&&(_0x10076e=!0x0,_0x12307a(_0x3ef2ba['return']));},{'priority':'low'}),_0x5cefec['then'](()=>{_0x10076e||_0x213256('UsageLimit');});});function _0xbe394d(){return'auto'==_0x5529cc['editing']['view']['_overlayModeHint'];}function _0x51626b(){_0x5529cc['editing']['view']['_overlayModeHint']='auto';}}function _0x298484(_0x582613){const _0x5a94b5=[new window['Promise'](_0xaeb6cd=>setTimeout(_0xaeb6cd,0x93ecc)),_0x5cefec['then'](()=>new window['Promise'](_0x17578b=>{let _0x26182a=0x0;_0x5529cc['model']['on']('applyOperation',(_0x57c695,_0x1cebe7)=>{_0x1cebe7[0x0]['isDocumentOperation']&&_0x26182a++,0x5e8==_0x26182a&&(_0x17578b(),_0x57c695['off']());});}))];return window['Promise']['race'](_0x5a94b5)['then'](()=>_0x582613);}async function _0x461286(){await _0x5cefec,_0x5529cc['model']['change']=_0x1884ff,_0x5529cc['model']['enqueueChange']=_0x1884ff,_0x5529cc['enableReadOnlyMode']('model');}function _0x4b343b(_0x524583){const _0xade492=_0x2dfa65();_0x5529cc[_0xade492]='footnotesLicenseKey'+_0x524583,'Valid'!=_0x524583&&_0x461286();}function _0x2dfa65(){const _0x1576f7=window['String'](window['performance']['now']())['replace']('.','');let _0x424cfe='u';for(let _0x2cd12d=0x0;_0x2cd12d<_0x1576f7['length'];_0x2cd12d+=0x2){let _0x73b112=window['parseInt'](_0x1576f7['substring'](_0x2cd12d,_0x2cd12d+0x2));_0x73b112>=0x3e&&(_0x73b112-=0x3e),_0x424cfe+=_0x1211a7[_0x73b112];}return _0x424cfe;}function _0x4e0b74(){const _0x5cdbf3=_0x4db727['split']('.');if(0x3!=_0x5cdbf3['length'])return null;return _0x1544c1(_0x5cdbf3[0x1]);function _0x1544c1(_0x167d05){const _0x5e1890=_0x3ece5a(_0x167d05);return _0x5e1890&&_0x3a2b2c()?_0x5e1890:null;function _0x3a2b2c(){const _0x16c897=_0x5e1890['jti'],_0x35dab6=window['parseInt'](_0x16c897['substring'](_0x16c897['length']-0x8),0x10),_0x5d311f={..._0x5e1890,'jti':_0x16c897['substring'](0x0,_0x16c897['length']-0x8)};return delete _0x5d311f['vc'],_0x355f3b(_0x5d311f)==_0x35dab6;}}}async function _0x54a52a(){let _0x554b5c=!0x0;try{const [_0x1af2b7,_0x2e9c51,_0x5428ba]=_0x4db727['split']('.');return _0x2989a6(_0x1af2b7),await _0x3eb009(_0x1af2b7,_0x2e9c51,_0x5428ba),_0x554b5c;}catch{return!0x1;}function _0x2989a6(_0x4ab328){const _0x401875=_0x3ece5a(_0x4ab328);_0x401875&&'ES256'==_0x401875['alg']||(_0x554b5c=!0x1);}async function _0x3eb009(_0x506438,_0x986e1e,_0x68a369){const _0xdc75b5=window['Uint8Array']['from'](_0x2ce8c2(_0x68a369),_0x42c4eb=>_0x42c4eb['charCodeAt'](0x0)),_0x3827d5=new window['TextEncoder']()['encode'](_0x506438+'.'+_0x986e1e),_0x422d55=window['crypto']['subtle'];if(!_0x422d55)return;const _0x5552b3=await _0x422d55['importKey']('jwk',_0x2ffe8c,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x422d55['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x5552b3,_0xdc75b5,_0x3827d5)||(_0x554b5c=!0x1);}}function _0x3ece5a(_0x5bb871){return _0x5bb871['startsWith']('ey')?JSON['parse'](_0x2ce8c2(_0x5bb871)):null;}function _0x2ce8c2(_0x249ea8){return window['atob'](_0x249ea8['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x355f3b(_0x612343){let _0x594046=0x1505;function _0x29c40e(_0x425229){for(let _0x84739b=0x0;_0x84739b<_0x425229['length'];_0x84739b++){const _0x58e439=_0x425229['charCodeAt'](_0x84739b);_0x594046=(_0x594046<<0x5)+_0x594046+_0x58e439,_0x594046&=_0x594046;}}function _0x1b9d24(_0x4f6cb4){Array['isArray'](_0x4f6cb4)?_0x4f6cb4['forEach'](_0x1b9d24):_0x4f6cb4&&'object'==typeof _0x4f6cb4?Object['entries'](_0x4f6cb4)['sort']()['forEach'](([_0x1bba4f,_0x270453])=>{_0x29c40e(_0x1bba4f),_0x1b9d24(_0x270453);}):_0x29c40e(window['String'](_0x4f6cb4));}return _0x1b9d24(_0x612343),_0x594046>>>0x0;}function _0xc9137(_0xb7a213){return _0xb7a213['toString'](0x10)['padStart'](0x8,'0');}function _0x53c734(_0x4af493){return _0x4af493['split']('')['reverse']()['join']('');}function _0x1884ff(){}_0x4b343b(await _0x56eecd());}(this);}_moveSelectionToFootnoteDefinition(_0x564535){const {plugins:_0x450484,editing:_0x200ed7,model:_0x20db03}=this['editor'],_0x405100=_0x450484['get'](V)['getFootnote'](_0x564535);return!!_0x405100&&(_0x20db03['change'](_0x18bea2=>{_0x18bea2['setSelection'](_0x18bea2['createPositionAt'](_0x405100['definition'],'end'));}),_0x200ed7['view']['scrollToTheSelection'](),!0x0);}_moveSelectionToFootnoteReference(_0x517281){const {plugins:_0x702a23,editing:_0x24308a,model:_0x142092}=this['editor'],_0x39e67f=_0x702a23['get'](V)['getFootnote'](_0x517281);return!!_0x39e67f&&(_0x142092['change'](_0x45b30e=>{_0x45b30e['setSelection'](_0x39e67f['reference'],'on');}),_0x24308a['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3b16f2}=this['editor']['model'],_0x26c891=this['editor']['config']['get']('footnotes.multiBlock');_0x3b16f2['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3b16f2['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3b16f2['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x26c891?_0x3b16f2['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3b16f2['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3b16f2['addChildCheck'](_0x1f70a2=>{for(const _0x3ad8d6 of _0x1f70a2)if('footnoteDefinition'===_0x3ad8d6['name'])return!0x1;},'footnoteRef');}_defineRefsConverters(){const {editor:_0x53e3eb}=this,{conversion:_0x3e54ac,editing:_0x212e24}=_0x53e3eb,{t:t}=_0x53e3eb['locale'];_0x3e54ac['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3b9fde,{writer:_0x3213e3,consumable:_0x411135})=>{const _0x436b9b=_0x3b9fde['getChild'](0x0);if(!_0x436b9b||!_0x436b9b['is']('element','a'))return null;const _0x5700bb=_0x436b9b['getAttribute']('href')||'';if(!_0x5700bb['startsWith']('#'))return null;const _0x4162c1=_0x5700bb['replace'](/^#/,'');if(!_0x4162c1)return null;_0x411135['consume'](_0x436b9b,{'name':!0x0,'attributes':['href']});for(const {item:_0x45df72}of _0x212e24['view']['createRangeIn'](_0x436b9b))_0x45df72['is']('$textProxy')?_0x411135['consume'](_0x45df72['textNode'],{'name':!0x0}):_0x45df72['is']('element')&&_0x411135['consume'](_0x45df72,{'name':!0x0});return _0x3213e3['createElement']('footnoteRef',{'footnoteId':_0x4162c1});}}),_0x3e54ac['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4b7d1a,{writer:_0x2ae252})=>z(_0x4b7d1a,_0x2ae252)}),_0x3e54ac['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3e6526,{writer:_0x267e57})=>{const _0x3b0d90=_0x3e6526['getAttribute']('footnoteCounter');return _0x19e524(z(_0x3e6526,_0x267e57),_0x267e57,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3b0d90)});}});}_defineDefinitionsConverters(){const {editor:_0xc3c7eb}=this,{t:t}=_0xc3c7eb['locale'],{conversion:_0x30c0c4}=_0xc3c7eb;_0x30c0c4['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x30c0c4['for']('upcast')['add'](_0x5c091c=>{_0x5c091c['on']('element:ol',(_0x456382,_0x24da93,_0x336788)=>{const _0xb3e4ed=_0x24da93['viewItem'];if(!_0xb3e4ed['hasClass']('footnotes-list')||!_0x24da93['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x336788['consumable']['consume'](_0xb3e4ed,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x547e08,modelCursor:_0x1cb1c7}=_0x336788['convertChildren'](_0x24da93['viewItem'],_0x24da93['modelCursor']);_0x24da93['modelRange']=_0x547e08,_0x24da93['modelCursor']=_0x1cb1c7;}),_0x5c091c['on']('element:hr',(_0x5bc5ee,_0xfe281,_0x43834f)=>{const _0x9b758a=_0xfe281['viewItem'];_0x9b758a['hasClass']('footnotes-divider')&&_0xfe281['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x43834f['consumable']['consume'](_0x9b758a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x30c0c4['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x25845a,{writer:_0x9f7bd2})=>X(_0x9f7bd2)}),_0x30c0c4['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x24bf3b,{writer:_0xb475b5})=>{const _0x2fe25f=_0x19e524(X(_0xb475b5,{'data-footnotes-list-label':t('Footnotes')}),_0xb475b5,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xb475b5['setCustomProperty']('footnotesDefinitions',!0x0,_0x2fe25f),_0x2fe25f;}});}_defineDefinitionConverters(){const {editor:_0x433d1e}=this,{conversion:_0x51d5fa,locale:_0x3f7efc}=_0x433d1e,_0x584da5=_0x433d1e['config']['get']('footnotes.multiBlock');_0x51d5fa['for']('upcast')['add'](_0x5b722d=>{_0x5b722d['on']('element:li',(_0x1bbda5,_0x47df2e,_0x48c31c)=>{const _0xff0ba3=_0x47df2e['viewItem'];if(!_0xff0ba3['hasClass']('footnote-definition')||!_0xff0ba3['getAttribute']('id'))return;const _0x1ac9cd=_0xff0ba3['parent'];if(!_0x1ac9cd['is']('element','ol')||!_0x1ac9cd['hasClass']('footnotes-list'))return;if(!_0x48c31c['consumable']['test'](_0xff0ba3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x294b3c=_0x48c31c['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xff0ba3['getAttribute']('id')});if(!_0x48c31c['safeInsert'](_0x294b3c,_0x47df2e['modelCursor']))return;_0x48c31c['consumable']['consume'](_0xff0ba3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x608923=Array['from'](_0xff0ba3['getChildren']())['find'](_0x432032=>_0x432032['is']('element')&&_0x432032['hasClass']('footnote-content'));for(const _0x51a742 of _0xff0ba3['getChildren']())_0x51a742['is']('element')&&(_0x48c31c['consumable']['consume'](_0x51a742,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x48c31c['consumable']['consume'](_0x51a742,{'name':!0x0,'classes':'footnote-content'}));if(_0x608923){if(_0x584da5)_0x48c31c['convertChildren'](_0x608923,_0x294b3c);else{const _0x6caa60=_0x48c31c['writer']['createElement']('footnoteInlineContent');_0x48c31c['writer']['insert'](_0x6caa60,_0x294b3c),_0x48c31c['convertChildren'](_0x608923,_0x6caa60);}}_0x48c31c['updateConversionResult'](_0x294b3c,_0x47df2e);});}),_0x51d5fa['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x6c3646,{writer:_0x5dbbb9})=>J(_0x6c3646,_0x5dbbb9,_0x3f7efc,{'dataPipeline':!0x0})}),_0x51d5fa['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x42222c,{writer:_0x4bd62a})=>J(_0x42222c,_0x4bd62a,_0x3f7efc)});}_defineBogusParagraphConverters(){const {editor:_0x274ff6}=this,{conversion:_0xc61d8f}=_0x274ff6;_0x274ff6['config']['get']('footnotes.multiBlock')?(_0xc61d8f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':M(),'converterPriority':'high'}),_0xc61d8f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':M({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x274ff6['model']['document'],'change:data',()=>{!function(_0x5f42e5,_0x49c358){const _0xf23b8e=_0x5f42e5['document']['differ'],_0x29d5cb=new Set();for(const _0x14682a of _0xf23b8e['getChanges']()){const _0x401ace='attribute'==_0x14682a['type']?_0x14682a['range']['start']['parent']:_0x14682a['position']['parent'];_0x401ace['is']('element','footnoteDefinition')&&_0x29d5cb['add'](_0x401ace);}for(const _0x4b0701 of _0x29d5cb['values']()){const _0x33fbd5=Array['from'](_0x4b0701['getChildren']())['filter'](_0x3fc922=>q(_0x3fc922,_0x49c358['mapper']));for(const _0x49b72a of _0x33fbd5)_0x49c358['reconvertItem'](_0x49b72a);}}(_0x274ff6['model'],_0x274ff6['editing']);})):(_0xc61d8f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':M()}),_0xc61d8f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x18d7bf,{writer:_0x8e237f})=>{const _0x4f3caa=_0x8e237f['createContainerElement']('span');return _0x8e237f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4f3caa),_0x4f3caa;}}));}['_defineKeyboardHandlers'](){const {editor:_0x318d21}=this,{editing:_0x2dee22,t:t}=_0x318d21,_0x5975c1=_0x318d21['model']['document']['selection'];_0x318d21['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x318d21['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2dee22['view']['document'],'enter',(_0x3176d1,_0x40f094)=>{const _0x233300=function(_0x542323){const _0x480412=_0x542323['getSelectedElement']();return _0x480412?.['is']('element','footnoteRef')?_0x480412:null;}(_0x5975c1);if(_0x233300){const _0x18772a=_0x233300['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x18772a),_0x40f094['preventDefault'](),_0x3176d1['stop']();}},{'context':_0x5a9f52});}['_defineClickHandlers'](){const {editor:_0xe75269}=this,{editing:_0x1b8a01}=_0xe75269;_0xe75269['editing']['view']['addObserver'](_0x2f2079),_0xe75269['editing']['view']['addObserver'](_0x4c2135);let _0x53ba64=!0x1;this['listenTo'](_0x1b8a01['view']['document'],'pointerdown',(_0x112fe9,_0x468d52)=>{const {target:_0x356133}=_0x468d52,_0xd4af11=_0x1b8a01['view']['document']['selection'];_0x53ba64=!!(_0x356133?.['is']('element','a')&&_0x356133['parent']?.['is']('element','sup')&&_0x356133['parent']['hasClass']('footnote'))&&_0xd4af11['getSelectedElement']()===_0x356133['parent'];},{'priority':'high'}),this['listenTo'](_0x1b8a01['view']['document'],'click',(_0xbeff22,_0x3d4462)=>{const {target:_0x2cb401}=_0x3d4462;if(!_0x2cb401?.['is']('element','a'))return;if(_0x2cb401['parent']?.['is']('element','sup')&&_0x2cb401['parent']['hasClass']('footnote')&&!_0x53ba64)return void _0x3d4462['preventDefault']();let _0x207125=_0x2cb401['getAttribute']('href');if(!_0x207125?.['startsWith']('#'))return;_0x207125=_0x207125['slice'](0x1);let _0x53816a=!0x1;(_0x207125['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x207125['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x207125))&&(_0x53816a=!0x0),_0x53816a&&(_0x3d4462['preventDefault'](),_0xbeff22['stop']());},{'priority':'high','context':'$capture'});}};function M({dataPipeline:_0x4d97f0}={}){return(_0x1c4671,{writer:_0xcc2afb})=>{if(!B(_0x1c4671))return null;if(!_0x4d97f0)return _0xcc2afb['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x50bea9=_0xcc2afb['createContainerElement']('p');return _0xcc2afb['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x50bea9),_0x50bea9;};}function B(_0xac3011){const {parent:_0x14751b}=_0xac3011;if(!_0x14751b?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x14751b['childCount'])return!0x1;for(const _0x29c961 of _0xac3011['getAttributeKeys']())if(!_0x29c961['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x29c961)return!0x1;return!0x0;}function q(_0x5ce0ef,_0x153add){if(!_0x5ce0ef['is']('element','paragraph'))return!0x1;const _0x34b3bc=_0x153add['toViewElement'](_0x5ce0ef);return!!_0x34b3bc&&B(_0x5ce0ef)!==_0x34b3bc['is']('element','span');}function H(_0x162974){return _0x5a9f52(_0x162974)&&_0x162974['is']('containerElement')&&!!_0x162974['getCustomProperty']('footnotesDefinitions');}function X(_0x181760,_0x4adbff={}){const _0xe67b4f=_0x181760['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xea0038=_0x181760['createContainerElement']('ol',{'class':'footnotes-list'},_0x181760['createSlot']());return _0x181760['createContainerElement']('div',{'class':'footnotes',..._0x4adbff},[_0xe67b4f,_0xea0038]);}function z(_0x38c13c,_0x5e8a1d){const _0x4838a4=_0x38c13c['getAttribute']('footnoteId'),_0x2c653f=_0x38c13c['getAttribute']('footnoteCounter'),_0x5e753e=_0x5e8a1d['createUIElement']('a',{'href':'#'+_0x4838a4},function(_0x4037b2){const _0x5c087a=this['toDomElement'](_0x4037b2);return _0x5c087a['textContent']=_0x2c653f,_0x5c087a;}),_0x411d9a=_0x5e8a1d['createContainerElement']('sup',{'id':'ref-'+_0x4838a4,'class':'footnote'},[_0x5e753e]);return _0x411d9a['getFillerOffset']=()=>null,_0x411d9a;}function J(_0x386200,_0xa2d8c5,_0x5f3b1c,{dataPipeline:_0x4f4dc2}={}){const {t:t}=_0x5f3b1c,_0x2afd4b=_0x386200['getAttribute']('footnoteId'),_0x321e59=_0xa2d8c5['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2afd4b},function(_0x457716){const _0x1eee8f=this['toDomElement'](_0x457716);return _0x1eee8f['innerText']='^',_0x1eee8f;}),_0x393f05=_0x4f4dc2?_0xa2d8c5['createContainerElement']('div',{'class':'footnote-content'}):_0x4db2b5(_0xa2d8c5['createEditableElement']('div',{'class':'footnote-content'}),_0xa2d8c5,{'label':t('Footnote\x20content.')});return _0xa2d8c5['insert'](_0xa2d8c5['createPositionAt'](_0x393f05,0x0),_0xa2d8c5['createSlot']()),_0xa2d8c5['createContainerElement']('li',{'class':'footnote-definition','id':_0x2afd4b},[_0x321e59,_0x393f05]);}var Q=class extends _0x3479b8{static get['pluginName'](){return'FootnotesClipboard';}static get requires(){return[$,_0x230aef];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_defineClipboardIntegration']();}_defineClipboardIntegration(){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}_handleCopyFootnotesDefinitions(){const {editor:_0x56f379}=this,{plugins:_0x2aee4a,model:_0x381988}=_0x56f379,_0x39c655=_0x2aee4a['get'](_0x230aef),_0x387256=_0x2aee4a['get'](V);this['listenTo'](_0x39c655,'outputTransformation',(_0x1221a9,_0xaadbe2)=>{const _0x5f1cfc=W(_0x381988['createRangeIn'](_0xaadbe2['content']));if(!_0x5f1cfc['length'])return;const _0x721246=_0x387256['getFootnotes'](),_0x11a51b=_0x5f1cfc['reduce']((_0x2a970e,_0xf4fd83)=>{const _0x55fdaf=_0x721246['find'](_0x4fad9c=>_0x4fad9c['id']===_0xf4fd83);if(_0x55fdaf){const _0x4f2f0a=_0x56f379['data']['toView'](_0x55fdaf['definition'],{'isClipboardPipeline':!0x0}),_0x453b17=_0x56f379['data']['htmlProcessor']['toData'](_0x4f2f0a);_0x2a970e[_0x55fdaf['id']]=_0x453b17;}return _0x2a970e;},Object['create'](null));_0xaadbe2['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x11a51b));});}_handlePasteFootnotesDefinitions(){const {editor:_0x263988}=this,{model:_0x1e8ee8,plugins:_0x2bdeb8}=_0x263988,{view:_0x2e99c4}=_0x263988['editing'],_0x605812=_0x2bdeb8['get'](_0x230aef),_0x46e80d=_0x2bdeb8['get'](V),_0x4d42d2=_0x263988['config']['get']('footnotes.multiBlock');let _0x1c3daa=null;this['listenTo'](_0x2e99c4['document'],'clipboardInput',(_0x59181,_0x4a2f71)=>{const _0x1adf7b=_0x4a2f71['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x1c3daa=_0x1adf7b?JSON['parse'](_0x1adf7b):null;}),this['listenTo'](_0x605812,'contentInsertion',(_0x3c11d9,_0x428572)=>{const _0x5a1c97=_0x428572['sourceEditorId']===this['editor']['id'];_0x5a1c97&&'drop'===_0x428572['method']||_0x1e8ee8['change'](_0x50f283=>{let _0x127a50=_0x46e80d['getFootnotesDefinitionsObjectElement']();const _0x23304f=!!_0x127a50&&Array['from'](_0x1e8ee8['document']['selection']['getSelectedBlocks']())['includes'](_0x127a50);if(!_0x1c3daa&&function(_0x2b6a7a){for(const {item:_0x1f8132}of _0x2b6a7a)if(_0x1f8132['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x1e8ee8['createRangeIn'](_0x428572['content']))&&(_0x1c3daa=function(_0x2f4483,_0x1121b9){const _0x23cb72=G(_0x2f4483,_0x1121b9);if(!_0x23cb72)return null;const _0x46c8a5=Object['create'](null);for(const _0x40c7b3 of _0x23cb72['getChildren']())_0x40c7b3['is']('element','footnoteDefinition')&&_0x40c7b3['hasAttribute']('footnoteId')&&(_0x46c8a5[_0x40c7b3['getAttribute']('footnoteId')]=_0x2f4483['cloneElement'](_0x40c7b3,!0x0));return Object['keys'](_0x46c8a5)['length']?_0x46c8a5:null;}(_0x50f283,_0x428572['content'])),(_0x127a50&&!_0x23304f||!_0x127a50&&!_0x1c3daa)&&function(_0x34a4d7,_0x8d8b22){const _0x7edb41=[];for(const {item:_0x125378}of _0x34a4d7['createRangeIn'](_0x8d8b22))_0x125378['is']('element','footnotesDefinitions')&&_0x7edb41['push'](_0x125378);for(const _0x4f5aff of _0x7edb41)_0x34a4d7['remove'](_0x4f5aff);}(_0x50f283,_0x428572['content']),!_0x1c3daa)return;const {selection:_0x506d8c}=_0x1e8ee8['document'],_0x39d20e=_0x506d8c['getFirstRange']()['root'];if(!_0x127a50||_0x23304f){if(_0x127a50=G(_0x50f283,_0x428572['content']),_0x127a50||=_0x46e80d['_insertEmptyFootnotesDefinitionsContainer'](_0x50f283,_0x39d20e),!_0x127a50){const _0x393ee2=_0x46e80d['_getFirstSuitableFootnotesDefinitionsRoot']();_0x127a50||=_0x393ee2&&_0x46e80d['_insertEmptyFootnotesDefinitionsContainer'](_0x50f283,_0x393ee2);}if(!_0x127a50)return void(_0x1c3daa=null);}const _0x38aef6=Array['from'](_0x506d8c['getRanges']())['flatMap'](W),_0x2ebdd5=function(_0x329e72,_0x5dfac8,_0x31443c){const _0x208877=Object['create'](null);for(const {item:_0x3b220c}of _0x329e72['createRangeIn'](_0x5dfac8))if(_0x3b220c['is']('element','footnoteRef')){const _0x366849=_0x3b220c['getAttribute']('footnoteId');if(!_0x31443c(_0x366849))continue;_0x208877[_0x366849]||(_0x208877[_0x366849]=_0x21f031()),_0x329e72['setAttribute']('footnoteId',_0x208877[_0x366849],_0x3b220c);}return _0x208877;}(_0x50f283,_0x428572['content'],_0x36ce86=>!_0x5a1c97||!!_0x46e80d['getFootnote'](_0x36ce86)&&!_0x38aef6['includes'](_0x36ce86));for(const [_0x49ecb6,_0x4a2a25]of Object['entries'](_0x1c3daa)){const _0x2e9b95=_0x2ebdd5[_0x49ecb6]||_0x49ecb6;let _0x348c9e;if('string'!=typeof _0x4a2a25)_0x348c9e=_0x4a2a25,_0x2e9b95!==_0x49ecb6&&_0x50f283['setAttribute']('footnoteId',_0x2e9b95,_0x348c9e);else{_0x348c9e=_0x50f283['createElement']('footnoteDefinition',{'footnoteId':_0x2e9b95});const _0x82270c=_0x263988['data']['htmlProcessor']['toView'](_0x4a2a25);let _0x4ddcb6;if(_0x4d42d2)_0x4ddcb6=_0x263988['data']['toModel'](_0x82270c,_0x348c9e);else{_0x4ddcb6=_0x50f283['createElement']('footnoteInlineContent');const _0x46b49e=_0x263988['data']['toModel'](_0x82270c,_0x4ddcb6);_0x50f283['insert'](_0x46b49e,_0x4ddcb6);}_0x50f283['append'](_0x4ddcb6,_0x348c9e);}_0x50f283['insert'](_0x348c9e,_0x127a50,'end');}_0x1c3daa=null;});});}};function G(_0x4f828d,_0x4a3a10){for(const {item:_0x1c9948}of _0x4f828d['createRangeIn'](_0x4a3a10))if(_0x1c9948['is']('element','footnotesDefinitions'))return _0x1c9948;return null;}function W(_0x5b8222){const _0x3bd5cd=new Set();for(const {item:_0x236161}of _0x5b8222)_0x236161['is']('element','footnoteRef')&&_0x3bd5cd['add'](_0x236161['getAttribute']('footnoteId'));return Array['from'](_0x3bd5cd);}var Y=class extends _0x3479b8{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x3844c0}=this,{componentFactory:_0x2ec0ec}=_0x3844c0['ui'];_0x2ec0ec['add']('insertFootnote',Z(_0x3844c0,_0x592e70)),_0x2ec0ec['add']('menuBar:insertFootnote',Z(_0x3844c0,_0x4c3d92)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xe4bd41=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1a6489;for(const _0x390bba in _0xe4bd41){const _0xf937c0=_0x390bba,_0x964dcd=_0xe4bd41[_0xf937c0];if('footnotesLicenseKeyValid'==_0x964dcd||'footnotesLicenseKeyInvalid'==_0x964dcd||'footnotesLicenseKeyExpired'==_0x964dcd||'footnotesLicenseKeyDomainLimit'==_0x964dcd||'footnotesLicenseKeyNotAllowed'==_0x964dcd||'footnotesLicenseKeyEvaluationLimit'==_0x964dcd||'footnotesLicenseKeyUsageLimit'==_0x964dcd){delete _0xe4bd41[_0xf937c0],_0x1a6489=_0x964dcd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1a6489&&_0xe4bd41['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1a6489&&_0xe4bd41['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1a6489&&_0xe4bd41['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1a6489&&_0xe4bd41['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1a6489&&_0xe4bd41['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x1a6489&&_0xe4bd41['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Z(_0x39d3b1,_0x53c28c){const _0x13cabc=_0x39d3b1['commands']['get']('insertFootnote');return _0x16404e=>{const {t:t}=_0x16404e,_0x159045=new _0x53c28c(_0x16404e),_0xd870ed=_0x159045 instanceof _0x4c3d92;return _0x159045['bind']('isEnabled')['to'](_0x13cabc,'isEnabled'),_0x159045['set']({'label':t(_0xd870ed?'Footnote':'Insert\x20footnote'),'icon':_0x2f0138,'tooltip':!0x0}),_0x159045['on']('execute',()=>{_0x13cabc['execute'](),_0x39d3b1['editing']['view']['focus']();}),_0x159045;};}var tt=class extends _0x3479b8{static get['pluginName'](){return'Footnotes';}static get requires(){return[$,Q,Y];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const et=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],ot=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),nt=[...et,'arabic-indic','lower-alpha','upper-alpha'];var it=class extends _0x5c8ff6{['refresh'](){const {editor:_0xceca2c}=this,_0x302ea6=_0xceca2c['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x302ea6,this['value']=_0x302ea6?.['getAttribute']('footnotesListStyle')??null;}execute({value:_0x40fd18}){const {editor:_0x461191}=this,_0x4a1d0e=_0x461191['plugins']['get'](V),_0x45d9d7=_0x4a1d0e['getFootnotesDefinitionsObjectElement']();_0x45d9d7&&nt['includes'](_0x40fd18)&&_0x461191['model']['change'](_0x39c65f=>{_0x39c65f['setAttribute']('footnotesListStyle',_0x40fd18,_0x45d9d7),_0x4a1d0e['_updateFootnotesCounters'](_0x39c65f);});}},st=class extends _0x5c8ff6{['refresh'](){const {editor:_0x544048}=this,_0x373959=_0x544048['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x373959,this['value']=_0x373959?.['getAttribute']('footnotesListStart')??null;}execute({value:_0x27f110}){const {editor:_0x336cb1}=this,_0xa0e685=_0x336cb1['plugins']['get'](V),_0x206c88=_0xa0e685['getFootnotesDefinitionsObjectElement']();_0x206c88&&Number['isInteger'](_0x27f110)&&_0x336cb1['model']['change'](_0x43a2d1=>{_0x43a2d1['setAttribute']('footnotesListStart',_0x27f110,_0x206c88),_0xa0e685['_updateFootnotesCounters'](_0x43a2d1);});}};function rt({style:_0x4d69df,digits:_0x1bce66,value:_0x520bc6}){const _0x572dc4=Math['floor'](_0x520bc6),_0x52ed2b=function(_0xa2904){switch(_0xa2904){case'lower-alpha':case'lower-latin':case'upper-alpha':case'upper-latin':return{'min':0x1,'max':0x1/0x0};case'lower-roman':case'upper-roman':return{'min':0x1,'max':0xf9f};default:return{'min':-0x1/0x0,'max':0x1/0x0};}}(_0x4d69df);switch((_0x572dc4>_0x52ed2b['max']||_0x572dc4<_0x52ed2b['min'])&&(_0x4d69df='decimal'),_0x4d69df){case'decimal-leading-zero':return function(_0x297fb2,_0x147761){return String(_0x297fb2)['padStart'](_0x147761,'0');}(_0x572dc4,Math['max'](0x2,_0x1bce66));case'lower-alpha':case'lower-latin':return lt(_0x572dc4,!0x1);case'upper-alpha':case'upper-latin':return lt(_0x572dc4,!0x0);case'lower-roman':return ft(_0x572dc4,!0x1);case'upper-roman':return ft(_0x572dc4,!0x0);case'arabic-indic':return String(_0x572dc4)['replace'](/\d/g,_0x4d32be=>ct[Number(_0x4d32be)]);default:return String(_0x572dc4);}}function lt(_0x2dc8ad,_0x2a068f){let _0x3f6150='',_0x238de2=_0x2dc8ad;for(;_0x238de2>0x0;){const _0x6de7ac=(_0x238de2-0x1)%0x1a;_0x3f6150=String['fromCharCode'](0x61+_0x6de7ac)+_0x3f6150,_0x238de2=Math['floor']((_0x238de2-0x1)/0x1a);}return _0x2a068f?_0x3f6150['toUpperCase']():_0x3f6150;}const at=[{'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 ft(_0x264020,_0x57ebd8){let _0x190d8a='',_0x2254d=_0x264020;for(const {value:_0x183f26,numeral:_0x2fb54f}of at)for(;_0x2254d>=_0x183f26;)_0x190d8a+=_0x2fb54f,_0x2254d-=_0x183f26;return _0x57ebd8?_0x190d8a:_0x190d8a['toLowerCase']();}const ct=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ut=class extends _0x3479b8{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get requires(){return[$,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x29bc74}=this;_0x29bc74['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x29bc74['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x29bc74['config']['define']('footnotes.footnotesProperties.listStyles',[...et]),_0x29bc74['commands']['add']('footnotesStyle',new it(_0x29bc74)),_0x29bc74['commands']['add']('footnotesStart',new st(_0x29bc74)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x34c2db}=this,{schema:_0x121526}=_0x34c2db['model'];_0x121526['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}_defineConverters(){const {editor:_0x115b0b}=this,{conversion:_0x53109e,model:_0x317b32}=_0x115b0b,{schema:_0x17693e}=_0x317b32;_0x53109e['for']('upcast')['add'](_0x8cfd61=>{_0x8cfd61['on']('element:ol',(_0x57895f,_0x47757d,_0x2d6adc)=>{const _0xa1c71c=_0x47757d['viewItem'],_0x3001e5=_0x47757d['modelCursor']?.['parent'];_0xa1c71c['hasClass']('footnotes-list')&&_0x3001e5?.['is']('element','footnotesDefinitions')&&(function(_0x51bbc3,_0x5d1777,_0x5ae41e,_0x42c866){if(!_0x42c866['checkAttribute'](_0x5d1777,'footnotesListStart'))return;let _0x5cbace=0x1;const _0x3fae48=_0x5ae41e['consumable']['consume'](_0x51bbc3,{'attributes':'start'});if(_0x3fae48){const _0xead2c8=Number['parseInt'](_0x51bbc3['getAttribute']('start'),0xa);Number['isNaN'](_0xead2c8)||(_0x5cbace=_0xead2c8);}!_0x3fae48&&_0x5d1777['hasAttribute']('footnotesListStart')||_0x5ae41e['writer']['setAttribute']('footnotesListStart',_0x5cbace,_0x5d1777);}(_0xa1c71c,_0x3001e5,_0x2d6adc,_0x17693e),function(_0x14d508,_0x48bbba,_0x17fa2,_0x59c4ea){if(!_0x59c4ea['checkAttribute'](_0x48bbba,'footnotesListStyle'))return;let _0x43f7a0='decimal',_0x5d5b4d=!0x1;if(_0x17fa2['consumable']['consume'](_0x14d508,{'attributes':'type'})){const _0x18f23a={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x14d508['getAttribute']('type')];_0x18f23a&&(_0x43f7a0=_0x18f23a),_0x5d5b4d=!0x0;}if(_0x17fa2['consumable']['consume'](_0x14d508,{'styles':'list-style-type'})){const _0x1689f1=dt(_0x14d508['getStyle']('list-style-type'));_0x1689f1&&(_0x43f7a0=_0x1689f1),_0x5d5b4d=!0x0;}!_0x5d5b4d&&_0x48bbba['hasAttribute']('footnotesListStyle')||_0x17fa2['writer']['setAttribute']('footnotesListStyle',_0x43f7a0,_0x48bbba);}(_0xa1c71c,_0x3001e5,_0x2d6adc,_0x17693e));});}),_0x53109e['for']('downcast')['add'](_0x39bf5a=>{_0x39bf5a['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x3a002f,_0x26d20a,_0x2cc236)=>{if(!_0x2cc236['consumable']['consume'](_0x26d20a['item'],_0x3a002f['name']))return;const _0x2a5085=ht(_0x26d20a['item'],_0x2cc236['mapper']),{attributeNewValue:_0x395304}=_0x26d20a;null==_0x395304||0x1===_0x395304?_0x2cc236['writer']['removeAttribute']('start',_0x2a5085):_0x2cc236['writer']['setAttribute']('start',String(_0x395304),_0x2a5085);}),_0x39bf5a['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x382454,_0x12f84f,_0x339082)=>{if(!_0x339082['consumable']['consume'](_0x12f84f['item'],_0x382454['name']))return;const _0x523ab0=ht(_0x12f84f['item'],_0x339082['mapper']),{attributeNewValue:_0x130982}=_0x12f84f;_0x130982&&'decimal'!==_0x130982?_0x339082['writer']['setStyle']('list-style-type',_0x130982,_0x523ab0):_0x339082['writer']['removeStyle']('list-style-type',_0x523ab0);});});}_definePostfixer(){const {editor:_0x5847e6}=this,{model:_0x5ce360}=_0x5847e6,_0x4bd17f=_0x5847e6['plugins']['get'](V),_0x8fa23c=this['_getDefaultListStyle'](),_0x5a420f=this['_getDefaultStartIndex']();_0x5ce360['document']['registerPostFixer'](_0x557e7f=>{const _0x544623=_0x5ce360['document']['differ']['getChanges']();let _0x3754cf=!0x1;for(const _0x4bd354 of _0x544623){if('insert'!==_0x4bd354['type']||'$text'===_0x4bd354['name'])continue;const _0x4bf58a=_0x5ce360['createRangeOn'](_0x4bd354['position']['nodeAfter']);for(const _0x2525b2 of _0x4bf58a['getItems']())_0x2525b2['is']('element','footnotesDefinitions')&&(!_0x2525b2['hasAttribute']('footnotesListStart')&&_0x5ce360['schema']['checkAttribute'](_0x2525b2,'footnotesListStart')&&(_0x557e7f['setAttribute']('footnotesListStart',_0x5a420f,_0x2525b2),_0x3754cf=!0x0),!_0x2525b2['hasAttribute']('footnotesListStyle')&&_0x5ce360['schema']['checkAttribute'](_0x2525b2,'footnotesListStyle')&&(_0x557e7f['setAttribute']('footnotesListStyle',_0x8fa23c,_0x2525b2),_0x3754cf=!0x0));}return _0x3754cf&&_0x4bd17f['_updateFootnotesCounters'](_0x557e7f),_0x3754cf;});}_defineFormatter(){const {editor:_0x1609f3}=this;_0x1609f3['plugins']['get'](V)['setFootnoteFormatter'](_0x4c12ef=>this['_formatFootnoteListValue'](_0x4c12ef));}_getDefaultListStyle(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}_getDefaultStartIndex(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}_formatFootnoteListValue({container:_0x86f337,value:_0x39d6a2,digits:_0x13a699}){const _0x235d14=_0x86f337['getAttribute']('footnotesListStyle');return rt({'value':_0x39d6a2+(_0x86f337['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x235d14,'digits':_0x13a699});}};function dt(_0x4c888d){if('string'==typeof _0x4c888d){const _0x1cab81=ot[_0x4c888d];if(_0x1cab81)return _0x1cab81;if(nt['includes'](_0x4c888d))return _0x4c888d;}return null;}function ht(_0x8fdf5,_0x4e586d){const _0x529b4b=_0x4e586d['toViewElement'](_0x8fdf5);return Array['from'](_0x529b4b['getChildren']())['find'](_0x46a029=>_0x46a029['is']('element','ol')&&_0x46a029['hasClass']('footnotes-list'));}var mt=class extends _0x295ddd{['children'];stylesView=null;additionalProperties=null;startIndexFieldView=null;['focusTracker']=new _0x5a202e();keystrokes=new _0x58c14f();['focusables']=new _0x25e9a8();['focusCycler'];constructor(_0x326763,{styleButtonViews:_0x2699b9,styleGridAriaLabel:_0x3e0315}){super(_0x326763),(this['focusCycler']=new _0x55c43a({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2699b9,_0x3e0315),[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 _0x3b6119 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3b6119['element']);_0x1fddb6({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x243977['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 _0x506f89=_0x518a2e=>_0x518a2e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x506f89),this['keystrokes']['set']('arrowleft',_0x506f89),this['keystrokes']['set']('arrowup',_0x506f89),this['keystrokes']['set']('arrowdown',_0x506f89);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}_appendStylesView(_0x2a61a7,_0x10adfb){const _0x2f2c39=new _0x295ddd(this['locale']);return _0x2f2c39['children']=_0x2f2c39['createCollection'](),_0x2f2c39['children']['addMany'](_0x2a61a7),_0x2f2c39['setTemplate']({'tag':'div','attributes':{'aria-label':_0x10adfb,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2f2c39['children']}),_0x2f2c39['children']['delegate']('execute')['to'](this),_0x2f2c39['focus']=function(){for(const _0x3ce52c of this['children'])if(_0x3ce52c instanceof _0x592e70&&_0x3ce52c['isOn'])return void _0x3ce52c['focus']();this['children']['first']['focus']();},_0x2f2c39['focusTracker']=new _0x5a202e(),_0x2f2c39['keystrokes']=new _0x58c14f(),_0x2f2c39['render'](),_0x2f2c39['keystrokes']['listenTo'](_0x2f2c39['element']),this['children']['add'](_0x2f2c39),_0x2f2c39;}_appendAdditionalPropertiesCollapsibleView(){const {t:t}=this['locale'],_0x442353=this['_createStartIndexPropertyView'](),_0x298c2b=[_0x442353],_0x1cebd7=new _0x4a7e4b(this['locale'],_0x298c2b);return _0x1cebd7['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1cebd7['buttonView']['bind']('isEnabled')['toMany'](_0x298c2b,'isEnabled',(..._0x34d1d7)=>_0x34d1d7['some'](_0x479c1c=>_0x479c1c)),_0x1cebd7['buttonView']['on']('change:isEnabled',(_0x1e03d6,_0x10b39a,_0x3dc5f1)=>{_0x3dc5f1||(_0x1cebd7['isCollapsed']=!0x0);}),this['children']['add'](_0x1cebd7),[_0x442353,_0x1cebd7];}_createStartIndexPropertyView(){const {t:t}=this['locale'],_0x46d2e0=new _0xe2bf6a(this['locale'],_0x437d21);return _0x46d2e0['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x46d2e0['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x46d2e0['fieldView']['on']('input',()=>{const _0x13de4a=_0x46d2e0['fieldView']['element'],_0x4606b9=_0x13de4a['valueAsNumber'];Number['isNaN'](_0x4606b9)?_0x46d2e0['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x13de4a['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4606b9}):_0x46d2e0['errorText']=t(_0x4606b9<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x46d2e0;}},pt=class extends _0x3479b8{static get['pluginName'](){return'FootnotesPropertiesUI';}static get requires(){return[_0x2076fd,_0x4abd57];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x540e1e}=this,{componentFactory:_0x498b19}=_0x540e1e['ui'];_0x540e1e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x498b19['add']('footnotesStyle',function(_0x28631d){return _0x3b2856=>{const {t:t}=_0x3b2856,_0x5e8332=_0x28631d['commands']['get']('footnotesStyle'),_0x4f2000=_0x2a0dc1(_0x3b2856),{buttonView:_0x41ed8d}=_0x4f2000;return _0x4f2000['class']='ck-footnotes-styles-dropdown',_0x4f2000['bind']('isEnabled')['to'](_0x5e8332,'isEnabled'),_0x41ed8d['set']({'label':t('Footnotes\x20style'),'icon':_0x2f0138,'tooltip':!0x0}),_0x4f2000['once']('change:isOpen',()=>{const _0x3a5fa8=function({editor:_0x4cd42f,dropdownView:_0x503934}){const {t:t}=_0x4cd42f['locale'],_0x1050bb=t('Footnotes\x20definitions\x20styles'),_0xebcd3a=function(_0x1300e5){const {t:t}=_0x1300e5['locale'],_0x491b54=_0x1300e5['config']['get']('footnotes.footnotesProperties.listStyles'),_0xbe95db=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x24cc69},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x312661},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x172d02},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x38bbf1},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x3832eb},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x576598},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x3ca943}];return _0x491b54['map'](_0xd85d0=>{const _0x521f54=dt(_0xd85d0);return function(_0x2fa3a1,_0x1dcd09){const {locale:_0x2ca7bc}=_0x2fa3a1,{label:_0x18498c,icon:_0xa54651,tooltip:_0x1c7164,style:_0x537293}=_0x1dcd09,_0x12ba92=_0x2fa3a1['commands']['get']('footnotesStyle'),_0x4373fe=new _0x592e70(_0x2ca7bc);return _0x4373fe['set']({'label':_0x18498c,'icon':_0xa54651,'tooltip':_0x1c7164}),_0x4373fe['bind']('isOn')['to'](_0x12ba92,'value',_0x22de0e=>_0x22de0e===_0x537293),_0x4373fe['bind']('isEnabled')['to'](_0x12ba92,'isEnabled'),_0x4373fe['on']('execute',()=>{_0x2fa3a1['execute']('footnotesStyle',{'value':_0x537293}),_0x2fa3a1['editing']['view']['focus']();}),_0x4373fe;}(_0x1300e5,_0xbe95db['find'](_0x25acd=>_0x25acd['style']===_0x521f54));});}(_0x4cd42f),_0x332806=new mt(_0x4cd42f['locale'],{'styleGridAriaLabel':_0x1050bb,'styleButtonViews':_0xebcd3a}),_0x4f14e0=_0x4cd42f['commands']['get']('footnotesStart');return _0x332806['startIndexFieldView']['bind']('isEnabled')['to'](_0x4f14e0),_0x332806['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4f14e0),_0x332806['on']('footnotesListStart',(_0x15b097,_0x1dac3e)=>{_0x4cd42f['execute']('footnotesStart',{'value':_0x1dac3e['startIndex']});}),_0x332806['delegate']('execute')['to'](_0x503934),_0x332806;}({'editor':_0x28631d,'dropdownView':_0x4f2000});_0x4f2000['panelView']['children']['add'](_0x3a5fa8);}),_0x4f2000;};}(_0x540e1e));}afterInit(){const {editor:_0x531457}=this,{t:t}=_0x531457['locale'],_0x4a9557=_0x531457['plugins']['get'](_0x4abd57),{defaultPositions:_0x5b8649}=_0x1c0ee9;_0x4a9557['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x531457['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x516699=>{let _0x334744=_0x516699['getFirstPosition']()?.['parent'];return _0x334744?.['is']('$text')&&(_0x334744=_0x334744['parent']),_0x334744?.['is']('element')?_0x334744['findAncestor'](H):null;},'positions':[_0x5b8649['southArrowNorth'],_0x5b8649['southArrowNorthMiddleWest'],_0x5b8649['southArrowNorthMiddleEast'],_0x5b8649['southArrowNorthWest'],_0x5b8649['southArrowNorthEast'],_0x5b8649['northArrowSouth'],_0x5b8649['northArrowSouthMiddleWest'],_0x5b8649['northArrowSouthMiddleEast'],_0x5b8649['northArrowSouthWest'],_0x5b8649['northArrowSouthEast'],_0x5b8649['viewportStickyNorth']]});}},wt=class extends _0x3479b8{static get['pluginName'](){return'FootnotesProperties';}static get requires(){return[ut,pt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{tt as Footnotes,Q as FootnotesClipboard,$ as FootnotesEditing,wt as FootnotesProperties,ut as FootnotesPropertiesEditing,pt as FootnotesPropertiesUI,st as FootnotesStartCommand,it as FootnotesStyleCommand,V as FootnotesTracker,Y as FootnotesUI,U as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','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':_0x5d7515=>0x1!=_0x5d7515}};
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':_0x119d9e=>0x1!=_0x119d9e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x4139dd=>{const {af:{dictionary:_0x3d057e,getPluralForm:_0x2fdddd}}={'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':_0x546ced=>0x1!=_0x546ced}};_0x4139dd['af']||={'dictionary':{},'getPluralForm':null},_0x4139dd['af']['dictionary']=Object['assign'](_0x4139dd['af']['dictionary'],_0x3d057e),_0x4139dd['af']['getPluralForm']=_0x2fdddd;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x512bcc=>{const {af:{dictionary:_0x454331,getPluralForm:_0x2669b1}}={'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':_0x1488af=>0x1!=_0x1488af}};_0x512bcc['af']||={'dictionary':{},'getPluralForm':null},_0x512bcc['af']['dictionary']=Object['assign'](_0x512bcc['af']['dictionary'],_0x454331),_0x512bcc['af']['getPluralForm']=_0x2669b1;})(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':_0x4c8db6=>0x0==_0x4c8db6?0x0:0x1==_0x4c8db6?0x1:0x2==_0x4c8db6?0x2:_0x4c8db6%0x64>=0x3&&_0x4c8db6%0x64<=0xa?0x3:_0x4c8db6%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':_0x3185d3=>0x0==_0x3185d3?0x0:0x1==_0x3185d3?0x1:0x2==_0x3185d3?0x2:_0x3185d3%0x64>=0x3&&_0x3185d3%0x64<=0xa?0x3:_0x3185d3%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3b54c7=>{const {ar:{dictionary:_0x1e2c70,getPluralForm:_0x346486}}={'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':_0x3131a8=>0x0==_0x3131a8?0x0:0x1==_0x3131a8?0x1:0x2==_0x3131a8?0x2:_0x3131a8%0x64>=0x3&&_0x3131a8%0x64<=0xa?0x3:_0x3131a8%0x64>=0xb?0x4:0x5}};_0x3b54c7['ar']||={'dictionary':{},'getPluralForm':null},_0x3b54c7['ar']['dictionary']=Object['assign'](_0x3b54c7['ar']['dictionary'],_0x1e2c70),_0x3b54c7['ar']['getPluralForm']=_0x346486;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x279b36=>{const {ar:{dictionary:_0x24074f,getPluralForm:_0x28b002}}={'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':_0x4d1b73=>0x0==_0x4d1b73?0x0:0x1==_0x4d1b73?0x1:0x2==_0x4d1b73?0x2:_0x4d1b73%0x64>=0x3&&_0x4d1b73%0x64<=0xa?0x3:_0x4d1b73%0x64>=0xb?0x4:0x5}};_0x279b36['ar']||={'dictionary':{},'getPluralForm':null},_0x279b36['ar']['dictionary']=Object['assign'](_0x279b36['ar']['dictionary'],_0x24074f),_0x279b36['ar']['getPluralForm']=_0x28b002;})(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':_0x3ef8d0=>0x1!=_0x3ef8d0}};
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':_0x2e5bd=>0x1!=_0x2e5bd}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xbbdd3e=>{const {ast:{dictionary:_0x4d9a5e,getPluralForm:_0x5cb69b}}={'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':_0x7450ca=>0x1!=_0x7450ca}};_0xbbdd3e['ast']||={'dictionary':{},'getPluralForm':null},_0xbbdd3e['ast']['dictionary']=Object['assign'](_0xbbdd3e['ast']['dictionary'],_0x4d9a5e),_0xbbdd3e['ast']['getPluralForm']=_0x5cb69b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x19a96d=>{const {ast:{dictionary:_0x4d03bd,getPluralForm:_0x92e729}}={'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':_0x49e975=>0x1!=_0x49e975}};_0x19a96d['ast']||={'dictionary':{},'getPluralForm':null},_0x19a96d['ast']['dictionary']=Object['assign'](_0x19a96d['ast']['dictionary'],_0x4d03bd),_0x19a96d['ast']['getPluralForm']=_0x92e729;})(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':_0x25be02=>0x1!=_0x25be02}};
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':_0x1a28e8=>0x1!=_0x1a28e8}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x369a4f=>{const {az:{dictionary:_0x358947,getPluralForm:_0x5152b3}}={'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':_0x839ae8=>0x1!=_0x839ae8}};_0x369a4f['az']||={'dictionary':{},'getPluralForm':null},_0x369a4f['az']['dictionary']=Object['assign'](_0x369a4f['az']['dictionary'],_0x358947),_0x369a4f['az']['getPluralForm']=_0x5152b3;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x153494=>{const {az:{dictionary:_0xcabadf,getPluralForm:_0x498798}}={'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':_0x3946ae=>0x1!=_0x3946ae}};_0x153494['az']||={'dictionary':{},'getPluralForm':null},_0x153494['az']['dictionary']=Object['assign'](_0x153494['az']['dictionary'],_0xcabadf),_0x153494['az']['getPluralForm']=_0x498798;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','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':_0x3c4178=>_0x3c4178%0xa==0x1&&_0x3c4178%0x64!=0xb?0x0:_0x3c4178%0xa>=0x2&&_0x3c4178%0xa<=0x4&&(_0x3c4178%0x64<0xa||_0x3c4178%0x64>=0x14)?0x1:0x2}};
23
+ export default{'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','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':_0x59e2f4=>_0x59e2f4%0xa==0x1&&_0x59e2f4%0x64!=0xb?0x0:_0x59e2f4%0xa>=0x2&&_0x59e2f4%0xa<=0x4&&(_0x59e2f4%0x64<0xa||_0x59e2f4%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x3c264d=>{const {be:{dictionary:_0x425ebd,getPluralForm:_0x1c54e9}}={'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','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':_0x174957=>_0x174957%0xa==0x1&&_0x174957%0x64!=0xb?0x0:_0x174957%0xa>=0x2&&_0x174957%0xa<=0x4&&(_0x174957%0x64<0xa||_0x174957%0x64>=0x14)?0x1:0x2}};_0x3c264d['be']||={'dictionary':{},'getPluralForm':null},_0x3c264d['be']['dictionary']=Object['assign'](_0x3c264d['be']['dictionary'],_0x425ebd),_0x3c264d['be']['getPluralForm']=_0x1c54e9;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x497577=>{const {be:{dictionary:_0x205126,getPluralForm:_0x53e278}}={'be':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','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':_0x67cac3=>_0x67cac3%0xa==0x1&&_0x67cac3%0x64!=0xb?0x0:_0x67cac3%0xa>=0x2&&_0x67cac3%0xa<=0x4&&(_0x67cac3%0x64<0xa||_0x67cac3%0x64>=0x14)?0x1:0x2}};_0x497577['be']||={'dictionary':{},'getPluralForm':null},_0x497577['be']['dictionary']=Object['assign'](_0x497577['be']['dictionary'],_0x205126),_0x497577['be']['getPluralForm']=_0x53e278;})(window['CKEDITOR_TRANSLATIONS']||={});