@ckeditor/ckeditor5-footnotes 48.3.0-alpha.1 → 48.3.0-alpha.2

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 _0x1b1a62,Plugin as _0x32e1f3}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x191494,isWidget as _0x1e803f,toWidget as _0x93dc5f,toWidgetEditable as _0x4425c5}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x569b19,KeystrokeHandler as _0x2c9630,global as _0x465f4d,logWarning as _0x2f0d7b,uid as _0x3a56e1}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x15db17,PointerObserver as _0x405af7}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x270936}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x2bea57,ButtonView as _0x5b2cd1,CollapsibleView as _0x2f6452,ContextualBalloon as _0x4a2295,FocusCycler as _0x479c0c,LabeledFieldView as _0x46fe67,MenuBarMenuListItemButtonView as _0x3972af,View as _0x263b6c,ViewCollection as _0x4530a7,addKeyboardHandlingForGrid as _0x222dbc,createDropdown as _0x1a7bf6,createLabeledInputNumber as _0x400c97}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x39b893,IconListStyleArabicIndic as _0x186c50,IconListStyleDecimal as _0xc80341,IconListStyleDecimalLeadingZero as _0x28c1c6,IconListStyleLowerLatin as _0x5e6e9b,IconListStyleLowerRoman as _0x184f04,IconListStyleUpperLatin as _0x333818,IconListStyleUpperRoman as _0x5dd538}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x49312a,_0x31587d){this['_model']=_0x49312a,this['_elementName']=_0x31587d['elementName'],this['_getElementKey']=_0x31587d['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x3f33bf){const _0x310296=new Set(),_0xc6e258=new Map();for(const _0x1d0924 of _0x3f33bf){if('insert'===_0x1d0924['type']&&'$text'!==_0x1d0924['name']&&_0x1d0924['position']['nodeAfter']){const _0x862c0e=this['_model']['createRangeOn'](_0x1d0924['position']['nodeAfter']);for(const _0xb2ffe0 of _0x862c0e['getItems']()){if(!_0xb2ffe0['is']('element',this['_elementName']))continue;const _0x44104b=this['_getElementKey'](_0xb2ffe0);_0xc6e258['has'](_0x44104b)||_0xc6e258['set'](_0x44104b,[]),_0xc6e258['get'](_0x44104b)['push'](_0xb2ffe0);}}if('remove'===_0x1d0924['type']&&_0x1d0924['name']===this['_elementName']){const _0x310c6f=this['_getElementKey']({'getAttribute':_0x15b060=>_0x1d0924['attributes']['get'](_0x15b060)});_0x310296['add'](_0x310c6f);}}for(const [_0x4d7647,_0x5849bc]of this['_trackedElements'])'$graveyard'===_0x5849bc['root']['rootName']&&_0x310296['add'](_0x4d7647);for(const _0x3e6f41 of _0x310296)this['_trackedElements']['delete'](_0x3e6f41);for(const [_0x50440f,_0xdbfdf2]of _0xc6e258)this['_trackedElements']['set'](_0x50440f,_0xdbfdf2[_0xdbfdf2['length']-0x1]);const _0x14bffd=new Set();for(const [_0x493810,_0x216dcb]of _0xc6e258)_0x310296['has'](_0x493810)&&(_0x14bffd['add'](_0x216dcb[0x0]),_0x216dcb['length']>0x1?_0xc6e258['set'](_0x493810,_0x216dcb['slice'](0x1)):_0xc6e258['delete'](_0x493810),_0x310296['delete'](_0x493810));return{'removed':Array['from'](_0x310296),'inserted':Array['from'](_0xc6e258['values']())['flat'](),'moved':Array['from'](_0x14bffd)};}},V=class extends _0x32e1f3{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5c6b67){super(_0x5c6b67),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0xdf7ecb=>_0xdf7ecb['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x27e9fd=>_0x27e9fd['getAttribute']('footnoteId')});}['init'](){const {editor:_0x1bff1f}=this,{model:_0x1f809d,data:_0x4e26ef}=_0x1bff1f;_0x1f809d['document']['registerPostFixer'](_0x4a4ad5=>{const _0x167108=_0x1f809d['document']['differ']['getChanges']();let _0x453718=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x4a4ad5,_0x167108)&&(_0x453718=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x4a4ad5,_0x167108)&&(_0x453718=!0x0),this['_handleFootnoteReferencesChanges'](_0x4a4ad5,_0x167108)&&(_0x453718=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x4a4ad5)&&(_0x453718=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x4a4ad5)&&(_0x453718=!0x0),this['_sortFootnoteDefinitions'](_0x4a4ad5)&&(_0x453718=!0x0),_0x453718;}),this['listenTo'](_0x1f809d['document'],'change:data',()=>{_0x1f809d['enqueueChange']({'isUndoable':!0x1},_0x1bd358=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1bd358);});},{'priority':'low'}),this['listenTo'](_0x4e26ef,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x5f3eea){return this['_footnotes']['find'](_0x114b44=>_0x114b44['id']===_0x5f3eea)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x5b1b19){this['_footnoteFormatter']=_0x5b1b19;}['_updateFootnotesCounters'](_0x2ecd85,_0xaeedab=0x0){let _0x32fbaf=!0x1;for(let _0x4ca54b=_0xaeedab;_0x4ca54b<this['_footnotes']['length'];_0x4ca54b++)this['_updateFootnoteRefCounter'](_0x2ecd85,_0x4ca54b)&&(_0x32fbaf=!0x0);return _0x32fbaf;}['_insertEmptyFootnotesDefinitionsContainer'](_0x11e74a,_0x28d3bf){const _0x1aff8a=_0x11e74a['createElement']('footnotesDefinitions',{});return _0x11e74a['append'](_0x1aff8a,_0x28d3bf),this['_footnotesDefinitions']=_0x1aff8a,_0x1aff8a;}['_ensureFootnotesDefinitionsContainerExists'](_0x38a010){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x1e5f02=this['_footnotes'][0x0]['reference']['root'],_0x2c8a88=this['_insertEmptyFootnotesDefinitionsContainer'](_0x38a010,_0x1e5f02);for(const _0x25e62a of this['_footnotes'])_0x25e62a['definition']['parent']||_0x38a010['insert'](_0x25e62a['definition'],_0x2c8a88,'end');this['_updateFootnotesCounters'](_0x38a010);}['_handleFootnotesDefinitionsObjectChanges'](_0x161d18,_0x2435d7){let _0x42c180=!0x1;const {inserted:_0xd87941,removed:_0x3a54bd,moved:_0x3f669b}=this['_footnoteDefsContainerTracker']['getChanges'](_0x2435d7);if(_0x3f669b['length']&&(this['_footnotesDefinitions']=_0x3f669b[0x0]),_0xd87941['length']){if(_0xd87941['length']>0x1||this['_footnotesDefinitions']&&_0xd87941['some'](_0x15142e=>_0x15142e!==this['_footnotesDefinitions'])){const _0x4164f4=_0x161d18['createElement']('footnotesDefinitions',{}),_0x35d715=[];this['_footnotesDefinitions']&&_0x35d715['push'](this['_footnotesDefinitions']),_0x35d715['push'](..._0xd87941),_0x161d18['insert'](_0x4164f4,_0x35d715[0x0],'before');for(const _0x5380e4 of _0x35d715)_0x161d18['move'](_0x161d18['createRangeIn'](_0x5380e4),_0x161d18['createPositionAt'](_0x4164f4,'end')),_0x161d18['remove'](_0x5380e4);this['_footnotesDefinitions']=_0x4164f4,this['_updateFootnotesCounters'](_0x161d18),_0x42c180=!0x0;}else this['_footnotesDefinitions']=_0xd87941[0x0];}if(_0x3a54bd['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4f71d5 of this['_footnotes'])_0x161d18['remove'](_0x4f71d5['reference']),_0x42c180=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x42c180;}['_handleFootnoteDefinitionsChanges'](_0x305fb2,_0x10b4a1){let _0xae228d=!0x1;const _0x1bcf88=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x200b10,moved:_0x324ec1}=this['_footnoteDefsTracker']['getChanges'](_0x10b4a1);for(const _0x2b5c1e of[..._0x324ec1,..._0x200b10]){const _0x2d9621=_0x2b5c1e['getAttribute']('footnoteId'),_0x4971a9=this['getFootnote'](_0x2d9621);_0x4971a9&&(_0x4971a9['definition']=_0x2b5c1e),K(_0x305fb2,_0x1bcf88,_0x2b5c1e)&&(_0xae228d=!0x0);}return _0xae228d;}['_handleFootnoteReferencesChanges'](_0x455c5f,_0x53c04f){let _0xe4d309=!0x1;const {removed:_0x51cb02,inserted:_0x4b2ee7,moved:_0x6ea1ee}=this['_footnoteRefsTracker']['getChanges'](_0x53c04f);for(const _0x382711 of _0x51cb02)this['_handleRemoveFootnoteReferenceById'](_0x455c5f,_0x382711)&&(_0xe4d309=!0x0);for(const _0x27b636 of _0x4b2ee7)this['_handleInsertedFootnoteReference'](_0x455c5f,_0x27b636)&&(_0xe4d309=!0x0);for(const _0x4bc64d of _0x6ea1ee)this['_handleMovedFootnoteReference'](_0x455c5f,_0x4bc64d)&&(_0xe4d309=!0x0);return _0xe4d309;}['_handleFootnotesDefinitionsObjectSync'](_0x583903){if(!this['_footnotesDefinitions'])return!0x1;let _0x267299=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x54df08=[];for(const _0x2b20e of this['_footnotesDefinitions']['getChildren']()){const _0x3e9028=_0x2b20e['getAttribute']('footnoteId');this['getFootnote'](_0x3e9028)||(_0x54df08['unshift'](_0x2b20e),_0x267299=!0x0);}for(const _0x3bf001 of _0x54df08)_0x583903['remove'](_0x3bf001);}const _0xfdb785=new Set(),_0x26b824=[];for(const _0x1959d4 of this['_footnotesDefinitions']['getChildren']()){const _0xcb03f9=_0x1959d4['getAttribute']('footnoteId');_0xfdb785['has'](_0xcb03f9)?(_0x26b824['unshift'](_0x1959d4),_0x267299=!0x0):_0xfdb785['add'](_0xcb03f9);}for(const _0x55f13a of _0x26b824)_0x583903['remove'](_0x55f13a);return this['_footnotesDefinitions']['childCount']||(_0x583903['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x267299=!0x0),_0x267299;}['_handleInsertedFootnoteReference'](_0x26f9ed,_0x51fe5c){if(this['_footnotes']['find'](_0x2bc335=>_0x2bc335['reference']===_0x51fe5c))return!0x1;let _0x443764=!0x1;const _0x5467d3=_0x51fe5c['getAttribute']('footnoteId'),_0x481bd7=this['_footnotes']['findIndex'](_0x9fbb89=>_0x9fbb89['id']===_0x5467d3);-0x1!==_0x481bd7&&(_0x26f9ed['remove'](this['_footnotes'][_0x481bd7]['reference']),this['_footnotes']['splice'](_0x481bd7,0x1),_0x443764=!0x0);let _0x293d80=this['_footnotesDefinitions']?function(_0x2827ca,_0x163208){for(const _0x4e6f98 of _0x2827ca['getChildren']())if(_0x4e6f98['getAttribute']('footnoteId')===_0x163208)return _0x4e6f98;return null;}(this['_footnotesDefinitions'],_0x5467d3):null;_0x293d80||(_0x293d80=_0x26f9ed['createElement']('footnoteDefinition',{'footnoteId':_0x5467d3}),this['_footnotesDefinitions']&&(_0x26f9ed['insert'](_0x293d80,this['_footnotesDefinitions'],'end'),_0x443764=!0x0));const _0x3bc41f={'id':_0x5467d3,'reference':_0x51fe5c,'definition':_0x293d80},_0x50eef4=T(this['editor']['model'],this['_footnotes'],_0x51fe5c);this['_footnotes']['splice'](_0x50eef4,0x0,_0x3bc41f);let _0x269f91=_0x50eef4;return-0x1!==_0x481bd7&&(_0x269f91=Math['min'](_0x50eef4,_0x481bd7)),this['_updateFootnotesCounters'](_0x26f9ed,_0x269f91)&&(_0x443764=!0x0),_0x443764;}['_handleRemoveFootnoteReferenceById'](_0x5261dc,_0x1b43ba){const _0x552713=this['_footnotes']['findIndex'](_0xd8d4c6=>_0xd8d4c6['id']===_0x1b43ba);if(-0x1===_0x552713)return!0x1;let _0x34d34a=!0x1;const _0x1d2b89=this['_footnotes'][_0x552713];return'$graveyard'!==_0x1d2b89['definition']['root']['rootName']&&(_0x5261dc['remove'](_0x1d2b89['definition']),_0x34d34a=!0x0),this['_footnotes']['splice'](_0x552713,0x1),this['_updateFootnotesCounters'](_0x5261dc,_0x552713)&&(_0x34d34a=!0x0),_0x34d34a;}['_handleMovedFootnoteReference'](_0x2e64d9,_0x242b84){const _0x1b4124=_0x242b84['getAttribute']('footnoteId'),_0x57d403=this['_footnotes']['findIndex'](_0x1d0cda=>_0x1d0cda['id']===_0x1b4124),_0x3e82b4=this['_footnotes'][_0x57d403];let _0x3f276e=!0x1;_0x3e82b4['reference']=_0x242b84,this['_footnotes']['splice'](_0x57d403,0x1);const _0x12ac55=T(this['editor']['model'],this['_footnotes'],_0x242b84);return this['_footnotes']['splice'](_0x12ac55,0x0,_0x3e82b4),this['_updateFootnotesCounters'](_0x2e64d9,Math['min'](_0x57d403,_0x12ac55))&&(_0x3f276e=!0x0),_0x3f276e;}['_updateFootnoteRefCounter'](_0x398618,_0x1d96fb){if(!this['_footnotesDefinitions'])return!0x1;const _0x5c1cb4=this['_footnotes'][_0x1d96fb];let _0x33be54;return _0x33be54=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x5c1cb4,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1d96fb+0x1}):String(_0x1d96fb+0x1),_0x5c1cb4['reference']['getAttribute']('footnoteCounter')!=_0x33be54&&(_0x398618['setAttribute']('footnoteCounter',_0x33be54,_0x5c1cb4['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x8541a8){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x4ab8be,_0x409dd8){if(_0x4ab8be['length']!==_0x409dd8['length'])return!0x1;for(let _0x1a6809=0x0;_0x1a6809<_0x4ab8be['length'];_0x1a6809++)if(_0x4ab8be[_0x1a6809]!==_0x409dd8[_0x1a6809])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x47f0f0=>_0x47f0f0['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x2052b8=>_0x2052b8['getAttribute']('footnoteId'))))return!0x1;let _0xe69a16=!0x1;for(let _0xda35d5=0x0;_0xda35d5<this['_footnotes']['length'];_0xda35d5++){const _0x15f250=this['_footnotes'][_0xda35d5],_0x36c9b0=_0x8541a8['createPositionBefore'](_0x15f250['definition']),_0x3da721=_0x8541a8['createPositionAt'](this['_footnotesDefinitions'],_0xda35d5);_0x36c9b0['isEqual'](_0x3da721)||(_0x8541a8['move'](_0x8541a8['createRangeOn'](_0x15f250['definition']),_0x3da721),_0xe69a16=!0x0);}return _0xe69a16;}['_ensureFootnotesReferencesHaveProperOrder'](_0xd994f1){if(!this['_footnotes']['length'])return!0x1;const {model:_0x38c38c}=this['editor'];let _0xd80178=!0x1;for(let _0x18ab54=0x0;_0x18ab54<this['_footnotes']['length']-0x1;_0x18ab54++){const _0x274138=this['_footnotes'][_0x18ab54],_0x43c72d=this['_footnotes'][_0x18ab54+0x1],_0x220467=_0x38c38c['createPositionBefore'](_0x274138['reference']),_0x3b50ad=_0x38c38c['createPositionBefore'](_0x43c72d['reference']);'after'===_0x220467['compareWith'](_0x3b50ad)&&(this['_handleMovedFootnoteReference'](_0xd994f1,_0x274138['reference']),_0x18ab54=-0x1,_0xd80178=!0x0);}return _0xd80178;}};function K(_0x3df0a7,_0x8cb0dd,_0x1be2d9){if(_0x1be2d9['childCount'])return!0x1;const _0xb6d9da=_0x8cb0dd?'paragraph':'footnoteInlineContent';return _0x3df0a7['insert'](_0x3df0a7['createElement'](_0xb6d9da),_0x1be2d9),!0x0;}function T(_0x53078f,_0x4a49f5,_0x5b2e4b){if(0x0===_0x4a49f5['length'])return 0x0;const _0x1ab5f2=_0x53078f['createPositionBefore'](_0x5b2e4b);for(let _0x5f40fb=0x0;_0x5f40fb<_0x4a49f5['length'];_0x5f40fb++){const _0x195ff8=_0x4a49f5[_0x5f40fb],_0x1494a3=_0x53078f['createPositionBefore'](_0x195ff8['reference']);if('before'===_0x1ab5f2['compareWith'](_0x1494a3))return _0x5f40fb;}const _0x20edfe=_0x5b2e4b['root'];let _0x166619=-0x1;for(let _0x4572e1=_0x4a49f5['length']-0x1;_0x4572e1>=0x0;_0x4572e1--)if(_0x4a49f5[_0x4572e1]['reference']['root']===_0x20edfe){_0x166619=_0x4572e1;break;}if(-0x1!==_0x166619)return _0x166619+0x1;const _0x3beb6c=_0x53078f['document']['getRootNames'](),_0x5e5c49=_0x3beb6c[_0x3beb6c['indexOf'](_0x20edfe['rootName'])+0x1];if(_0x5e5c49){for(let _0x1fe6f2=0x0;_0x1fe6f2<_0x4a49f5['length'];_0x1fe6f2++)if(_0x4a49f5[_0x1fe6f2]['reference']['root']['rootName']===_0x5e5c49)return _0x1fe6f2;}return _0x4a49f5['length'];}var j=class extends _0x1b1a62{['refresh'](){const _0x27886d=this['editor']['model']['document']['selection'],_0x4e7b89=this['_getPositionToInsertFootnote'](_0x27886d);this['isEnabled']=!!_0x4e7b89;}['execute'](_0xb9bc5){const {editor:_0x4bd6b6}=this,{model:_0xadfb86}=_0x4bd6b6,{selection:_0xb3c87f}=_0xadfb86['document'],_0x3c96d2=this['_getPositionToInsertFootnote'](_0xb3c87f);if(!_0x3c96d2)return;const _0x49ea8b=_0x4bd6b6['plugins']['get']('FootnotesEditing'),_0x2bb3ed=_0xb9bc5?.['footnoteId']??_0x3a56e1();!function(_0x5e4a21){return'string'==typeof _0x5e4a21&&_0x5e4a21['length']>0x0&&!/\s/['test'](_0x5e4a21)&&!/^\d/['test'](_0x5e4a21);}(_0x2bb3ed)?_0x2f0d7b('insert-footnote-command-executed-with-invalid-id'):(_0xadfb86['change'](_0x4b6fed=>{const _0x3df9d4=_0x4b6fed['createElement']('footnoteRef',{'footnoteId':_0x2bb3ed});_0xadfb86['insertObject'](_0x3df9d4,_0x3c96d2,null);}),_0x49ea8b['_moveSelectionToFootnoteDefinition'](_0x2bb3ed));}['_getPositionToInsertFootnote'](_0x2b02e7){const {model:_0x2f1724}=this['editor'],{schema:_0x57fe81}=_0x2f1724,_0x246355=_0x2b02e7['getFirstRange']();for(const _0x22f7e6 of _0x246355['getItems']())if(_0x57fe81['isBlock'](_0x22f7e6)||_0x57fe81['isObject'](_0x22f7e6))return null;const _0x824d3=_0x246355['end'];return _0x57fe81['checkChild'](_0x824d3,'footnoteRef')?_0x824d3:null;}},U=class extends _0x32e1f3{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3bebfc}=this;_0x3bebfc['config']['define']('footnotes.multiBlock',!0x0),_0x3bebfc['commands']['add']('insertFootnote',new j(_0x3bebfc)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x18e006){const _0x142190='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x5919cb=0x78df8,_0x587e5e=window['Date']['now'](),_0x48b155=_0x18e006['editor'],_0x4cc4b6=new window['Promise'](_0x40ae50=>{_0x48b155['once']('ready',_0x40ae50);}),_0x1ea89a={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x2006e6=_0x48b155['config']['get']('licenseKey');async function _0x27f3c1(){let _0x50af34,_0x2b7d95=null,_0x510183=null;try{return'GPL'==_0x2006e6?'NotAllowed':(_0x50af34=_0x4a8212(),_0x50af34?(_0x50af34['usageEndpoint']&&(_0x510183=_0x1996c3(_0x50af34['usageEndpoint'],_0x50af34['jti'])),await _0x4ed15e()?_0x17c976()?_0x2447f8()?'Expired':_0x4fa290()?('evaluation'==_0x50af34['licenseType']&&(_0x2b7d95=_0x3aba44('EvaluationLimit')),await _0x11a8bc()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2447f8(){const _0x1c0148=['evaluation','trial']['includes'](_0x50af34['licenseType'])?_0x587e5e/0x3e8:0xe10*_0x5919cb;return _0x50af34['exp']<_0x1c0148;}function _0x17c976(){const _0x3b0627=_0x50af34['features'];return!!_0x3b0627&&(!!_0x3b0627['includes']('*')||!!_0x3b0627['includes']('FOO'));}function _0x4fa290(){const _0x279cd0=_0x50af34['licensedHosts'];if(!_0x279cd0||0x0==_0x279cd0['length'])return!0x0;const {hostname:_0x272ac9}=new URL(window['location']['href']);if(_0x279cd0['includes'](_0x272ac9))return!0x0;const _0x40c808=_0x272ac9['split']('.');return _0x279cd0['filter'](_0x371a3b=>_0x371a3b['includes']('*'))['map'](_0x578ead=>_0x578ead['split']('.'))['filter'](_0xb2e875=>_0xb2e875['length']<=_0x40c808['length'])['map'](_0x3db194=>Array(_0x40c808['length']-_0x3db194['length'])['fill']('*'===_0x3db194[0x0]?'*':'')['concat'](_0x3db194))['some'](_0x2b9f8e=>_0x40c808['every']((_0x7c18ab,_0x43a28d)=>_0x2b9f8e[_0x43a28d]===_0x7c18ab||'*'===_0x2b9f8e[_0x43a28d]));}function _0x11a8bc(){return _0x2b7d95&&_0x510183?new window['Promise']((_0x1e97c9,_0x59a34c)=>{_0x2b7d95['then'](_0x1e97c9,_0x59a34c),_0x510183['then'](_0x294f4f=>{'Valid'!=_0x294f4f&&_0x1e97c9(_0x294f4f);},_0x59a34c);}):_0x2b7d95||_0x510183||'Valid';}}function _0x1996c3(_0x4e802e,_0x3c6f1c){return new window['Promise'](_0x346fde=>{if(_0x3fe38d())return _0x346fde('Valid');_0x374451(),_0x48b155['decorate']('_sendUsageRequest');let _0x232631=!0x1;const _0x2154cc=_0x3a56e1();function _0x19f3c9(_0x29ae89){return!!_0x29ae89&&('object'==typeof _0x29ae89||'function'==typeof _0x29ae89)&&'function'==typeof _0x29ae89['then']&&'function'==typeof _0x29ae89['catch'];}function _0x5f314f(_0x1c90f7){_0xf2cf34(_0x1c90f7)['then'](_0x248a2b=>_0x248a2b&&'ok'==_0x248a2b['status']?_0x2ee1fa(_0x1a49a1(_0x2154cc+_0x3c6f1c))!=_0x248a2b['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1daa34=>(_0x205c3a(),_0x1daa34),()=>{const _0x2945b0=_0x497134();return null==_0x2945b0?(_0x205c3a(),'Valid'):_0x587e5e-_0x2945b0>0x240c8400?'UsageLimit':'Valid';})['then'](_0x346fde)['catch'](()=>{_0x346fde('UsageLimit');});const _0x1c9743=0x36ee80;function _0x205c3a(){const _0x5ac6fd='llct-'+_0x2ee1fa(_0x1a49a1(_0x4e802e)),_0x468994=_0x91a91c(_0x2ee1fa(window['Math']['ceil'](_0x587e5e/_0x1c9743)));window['localStorage']['setItem'](_0x5ac6fd,_0x468994);}function _0x497134(){const _0x6e756a='llct-'+_0x2ee1fa(_0x1a49a1(_0x4e802e)),_0x139fc3=window['localStorage']['getItem'](_0x6e756a);return _0x139fc3?window['parseInt'](_0x91a91c(_0x139fc3),0x10)*_0x1c9743:null;}function _0xf2cf34(_0x32412){return new window['Promise']((_0x5cea78,_0x565614)=>{_0x32412['then'](_0x5cea78,_0x565614),window['setTimeout'](_0x565614,0x1d4c0);});}}_0x48b155['on']('_sendUsageRequest',(_0x56997,_0x41656c)=>{if(_0x41656c[0x0]!=_0x4e802e)return _0x346fde('UsageLimit');_0x41656c[0x1]={..._0x41656c[0x1],'requestId':_0x2154cc};},{'priority':'high'}),_0x48b155['on']('_sendUsageRequest',_0x3feb53=>{_0x19f3c9(_0x3feb53['return'])&&(_0x232631=!0x0,_0x5f314f(_0x3feb53['return']));},{'priority':'low'}),_0x4cc4b6['then'](()=>{_0x232631||_0x346fde('UsageLimit');});});function _0x3fe38d(){return'auto'==_0x48b155['editing']['view']['_overlayModeHint'];}function _0x374451(){_0x48b155['editing']['view']['_overlayModeHint']='auto';}}function _0x3aba44(_0x55ade4){const _0x2c32e7=[new window['Promise'](_0x12fd16=>setTimeout(_0x12fd16,0x93ecc)),_0x4cc4b6['then'](()=>new window['Promise'](_0x15a10=>{let _0x1bf084=0x0;_0x48b155['model']['on']('applyOperation',(_0x43baf7,_0x59f98f)=>{_0x59f98f[0x0]['isDocumentOperation']&&_0x1bf084++,0x5e8==_0x1bf084&&(_0x15a10(),_0x43baf7['off']());});}))];return window['Promise']['race'](_0x2c32e7)['then'](()=>_0x55ade4);}async function _0x36effa(){await _0x4cc4b6,_0x48b155['model']['change']=_0xf45d03,_0x48b155['model']['enqueueChange']=_0xf45d03,_0x48b155['enableReadOnlyMode']('model');}function _0x4fdcf2(_0xc37042){const _0x4c7dbd=_0x384032();_0x48b155[_0x4c7dbd]='footnotesLicenseKey'+_0xc37042,'Valid'!=_0xc37042&&_0x36effa();}function _0x384032(){const _0x5b14ca=window['String'](window['performance']['now']())['replace']('.','');let _0x2d0b0c='u';for(let _0x9f514c=0x0;_0x9f514c<_0x5b14ca['length'];_0x9f514c+=0x2){let _0x5d70f3=window['parseInt'](_0x5b14ca['substring'](_0x9f514c,_0x9f514c+0x2));_0x5d70f3>=0x3e&&(_0x5d70f3-=0x3e),_0x2d0b0c+=_0x142190[_0x5d70f3];}return _0x2d0b0c;}function _0x4a8212(){const _0x5599d5=_0x2006e6['split']('.');if(0x3!=_0x5599d5['length'])return null;return _0x48d686(_0x5599d5[0x1]);function _0x48d686(_0x5b7331){const _0x345adb=_0x2041b4(_0x5b7331);return _0x345adb&&_0x29d1d2()?_0x345adb:null;function _0x29d1d2(){const _0x353efa=_0x345adb['jti'],_0x4c99ad=window['parseInt'](_0x353efa['substring'](_0x353efa['length']-0x8),0x10),_0x4af0e2={..._0x345adb,'jti':_0x353efa['substring'](0x0,_0x353efa['length']-0x8)};return delete _0x4af0e2['vc'],_0x1a49a1(_0x4af0e2)==_0x4c99ad;}}}async function _0x4ed15e(){let _0x462af8=!0x0;try{const [_0x222bf1,_0x3c38f6,_0x155b64]=_0x2006e6['split']('.');return _0x260b36(_0x222bf1),await _0x42f095(_0x222bf1,_0x3c38f6,_0x155b64),_0x462af8;}catch{return!0x1;}function _0x260b36(_0x54834c){const _0x34f3c7=_0x2041b4(_0x54834c);_0x34f3c7&&'ES256'==_0x34f3c7['alg']||(_0x462af8=!0x1);}async function _0x42f095(_0x27f053,_0x25e924,_0x3efde8){const _0x970494=window['Uint8Array']['from'](_0x267667(_0x3efde8),_0x5a5cdf=>_0x5a5cdf['charCodeAt'](0x0)),_0x2589b8=new window['TextEncoder']()['encode'](_0x27f053+'.'+_0x25e924),_0x142ff9=window['crypto']['subtle'];if(!_0x142ff9)return;const _0x33eb1b=await _0x142ff9['importKey']('jwk',_0x1ea89a,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x142ff9['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x33eb1b,_0x970494,_0x2589b8)||(_0x462af8=!0x1);}}function _0x2041b4(_0x532a42){return _0x532a42['startsWith']('ey')?JSON['parse'](_0x267667(_0x532a42)):null;}function _0x267667(_0x33fcae){return window['atob'](_0x33fcae['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1a49a1(_0x9d587d){let _0x3c2236=0x1505;function _0x391cd9(_0x5316c8){for(let _0x598927=0x0;_0x598927<_0x5316c8['length'];_0x598927++){const _0x5f4de7=_0x5316c8['charCodeAt'](_0x598927);_0x3c2236=(_0x3c2236<<0x5)+_0x3c2236+_0x5f4de7,_0x3c2236&=_0x3c2236;}}function _0x5064cb(_0x4b2d54){Array['isArray'](_0x4b2d54)?_0x4b2d54['forEach'](_0x5064cb):_0x4b2d54&&'object'==typeof _0x4b2d54?Object['entries'](_0x4b2d54)['sort']()['forEach'](([_0x36191a,_0x1fe28e])=>{_0x391cd9(_0x36191a),_0x5064cb(_0x1fe28e);}):_0x391cd9(window['String'](_0x4b2d54));}return _0x5064cb(_0x9d587d),_0x3c2236>>>0x0;}function _0x2ee1fa(_0x2bc421){return _0x2bc421['toString'](0x10)['padStart'](0x8,'0');}function _0x91a91c(_0x21dea3){return _0x21dea3['split']('')['reverse']()['join']('');}function _0xf45d03(){}_0x4fdcf2(await _0x27f3c1());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1641b7){const {plugins:_0x2e1b34,editing:_0x372e71,model:_0x176edd}=this['editor'],_0x4dab56=_0x2e1b34['get'](V)['getFootnote'](_0x1641b7);return!!_0x4dab56&&(_0x176edd['change'](_0x524839=>{_0x524839['setSelection'](_0x524839['createPositionAt'](_0x4dab56['definition'],'end'));}),_0x372e71['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x47b553){const {plugins:_0x34f7d9,editing:_0x5a923c,model:_0x4cd7df}=this['editor'],_0x1112ad=_0x34f7d9['get'](V)['getFootnote'](_0x47b553);return!!_0x1112ad&&(_0x4cd7df['change'](_0x179daf=>{_0x179daf['setSelection'](_0x1112ad['reference'],'on');}),_0x5a923c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x23af4c}=this['editor']['model'],_0x4c6953=this['editor']['config']['get']('footnotes.multiBlock');_0x23af4c['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x23af4c['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x23af4c['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4c6953?_0x23af4c['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x23af4c['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x23af4c['addChildCheck'](_0x110a2b=>{for(const _0x59c30d of _0x110a2b)if('footnoteDefinition'===_0x59c30d['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3f46f6}=this,{conversion:_0x5dc563,editing:_0xd195d2}=_0x3f46f6,{t:t}=_0x3f46f6['locale'];_0x5dc563['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4dfc2c,{writer:_0x5d535d,consumable:_0x183881})=>{const _0x154675=_0x4dfc2c['getChild'](0x0);if(!_0x154675||!_0x154675['is']('element','a'))return null;const _0x4e954b=_0x154675['getAttribute']('href')||'';if(!_0x4e954b['startsWith']('#'))return null;const _0xf312c1=_0x4e954b['replace'](/^#/,'');if(!_0xf312c1)return null;_0x183881['consume'](_0x154675,{'name':!0x0,'attributes':['href']});for(const {item:_0x75216d}of _0xd195d2['view']['createRangeIn'](_0x154675))_0x75216d['is']('$textProxy')?_0x183881['consume'](_0x75216d['textNode'],{'name':!0x0}):_0x75216d['is']('element')&&_0x183881['consume'](_0x75216d,{'name':!0x0});return _0x5d535d['createElement']('footnoteRef',{'footnoteId':_0xf312c1});}}),_0x5dc563['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x11b170,{writer:_0x19f117})=>X(_0x11b170,_0x19f117)}),_0x5dc563['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x48b56c,{writer:_0x1f9d99})=>{const _0x22148f=_0x48b56c['getAttribute']('footnoteCounter');return _0x93dc5f(X(_0x48b56c,_0x1f9d99),_0x1f9d99,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x22148f)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3051f3}=this,{t:t}=_0x3051f3['locale'],{conversion:_0x547add}=_0x3051f3;_0x547add['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x547add['for']('upcast')['add'](_0x2c2f5f=>{_0x2c2f5f['on']('element:ol',(_0x369705,_0x30f986,_0x136eb7)=>{const _0x344583=_0x30f986['viewItem'];if(!_0x344583['hasClass']('footnotes-list')||!_0x30f986['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x136eb7['consumable']['consume'](_0x344583,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2141a5,modelCursor:_0x1292f7}=_0x136eb7['convertChildren'](_0x30f986['viewItem'],_0x30f986['modelCursor']);_0x30f986['modelRange']=_0x2141a5,_0x30f986['modelCursor']=_0x1292f7;}),_0x2c2f5f['on']('element:hr',(_0x56f56c,_0x13a7a5,_0x50bf4b)=>{const _0x3d93a2=_0x13a7a5['viewItem'];_0x3d93a2['hasClass']('footnotes-divider')&&_0x13a7a5['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x50bf4b['consumable']['consume'](_0x3d93a2,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x547add['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x24458e,{writer:_0xbbdda7})=>H(_0xbbdda7)}),_0x547add['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x407d72,{writer:_0x51d54b})=>{const _0x3734ed=_0x93dc5f(H(_0x51d54b,{'data-footnotes-list-label':t('Footnotes')}),_0x51d54b,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x51d54b['setCustomProperty']('footnotesDefinitions',!0x0,_0x3734ed),_0x3734ed;}});}['_defineDefinitionConverters'](){const {editor:_0x478443}=this,{conversion:_0x53adb1,locale:_0x45b94b}=_0x478443,_0x142fcc=_0x478443['config']['get']('footnotes.multiBlock');_0x53adb1['for']('upcast')['add'](_0x1db2e1=>{_0x1db2e1['on']('element:li',(_0x42ebd6,_0x18f97e,_0x2e0750)=>{const _0x56450a=_0x18f97e['viewItem'];if(!_0x56450a['hasClass']('footnote-definition')||!_0x56450a['getAttribute']('id'))return;const _0x3a8ae9=_0x56450a['parent'];if(!_0x3a8ae9['is']('element','ol')||!_0x3a8ae9['hasClass']('footnotes-list'))return;if(!_0x2e0750['consumable']['test'](_0x56450a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1627aa=_0x2e0750['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x56450a['getAttribute']('id')});if(!_0x2e0750['safeInsert'](_0x1627aa,_0x18f97e['modelCursor']))return;_0x2e0750['consumable']['consume'](_0x56450a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x99f8f5=Array['from'](_0x56450a['getChildren']())['find'](_0x543dde=>_0x543dde['is']('element')&&_0x543dde['hasClass']('footnote-content'));for(const _0x4e2e21 of _0x56450a['getChildren']())_0x4e2e21['is']('element')&&(_0x2e0750['consumable']['consume'](_0x4e2e21,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2e0750['consumable']['consume'](_0x4e2e21,{'name':!0x0,'classes':'footnote-content'}));if(_0x99f8f5){if(_0x142fcc)_0x2e0750['convertChildren'](_0x99f8f5,_0x1627aa);else{const _0x386b1c=_0x2e0750['writer']['createElement']('footnoteInlineContent');_0x2e0750['writer']['insert'](_0x386b1c,_0x1627aa),_0x2e0750['convertChildren'](_0x99f8f5,_0x386b1c);}}_0x2e0750['updateConversionResult'](_0x1627aa,_0x18f97e);});}),_0x53adb1['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4d3150,{writer:_0x27881a})=>z(_0x4d3150,_0x27881a,_0x45b94b,{'dataPipeline':!0x0})}),_0x53adb1['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4a285a,{writer:_0x108677})=>z(_0x4a285a,_0x108677,_0x45b94b)});}['_defineBogusParagraphConverters'](){const {editor:_0x3d42c0}=this,{conversion:_0x39cb7e}=_0x3d42c0;_0x3d42c0['config']['get']('footnotes.multiBlock')?(_0x39cb7e['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':$(),'converterPriority':'high'}),_0x39cb7e['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':$({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3d42c0['model']['document'],'change:data',()=>{!function(_0x26cadb,_0x164492){const _0x368c8b=_0x26cadb['document']['differ'],_0x50f7e2=new Set();for(const _0x420f01 of _0x368c8b['getChanges']()){const _0xa77afd='attribute'==_0x420f01['type']?_0x420f01['range']['start']['parent']:_0x420f01['position']['parent'];_0xa77afd['is']('element','footnoteDefinition')&&_0x50f7e2['add'](_0xa77afd);}for(const _0x1554a8 of _0x50f7e2['values']()){const _0x255ae6=Array['from'](_0x1554a8['getChildren']())['filter'](_0x20e497=>B(_0x20e497,_0x164492['mapper']));for(const _0x2e6971 of _0x255ae6)_0x164492['reconvertItem'](_0x2e6971);}}(_0x3d42c0['model'],_0x3d42c0['editing']);})):(_0x39cb7e['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':$()}),_0x39cb7e['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x211634,{writer:_0x3da8d3})=>{const _0x3826f7=_0x3da8d3['createContainerElement']('span');return _0x3da8d3['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3826f7),_0x3826f7;}}));}['_defineKeyboardHandlers'](){const {editor:_0x46ec24}=this,{editing:_0x357377,t:t}=_0x46ec24,_0x1b4281=_0x46ec24['model']['document']['selection'];_0x46ec24['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x46ec24['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x357377['view']['document'],'enter',(_0x2c993b,_0x4638f7)=>{const _0x4b051a=function(_0x57ddc0){const _0x501f26=_0x57ddc0['getSelectedElement']();return _0x501f26?.['is']('element','footnoteRef')?_0x501f26:null;}(_0x1b4281);if(_0x4b051a){const _0x530617=_0x4b051a['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x530617),_0x4638f7['preventDefault'](),_0x2c993b['stop']();}},{'context':_0x1e803f});}['_defineClickHandlers'](){const {editor:_0x14c8e5}=this,{editing:_0x55d46e}=_0x14c8e5;_0x14c8e5['editing']['view']['addObserver'](_0x405af7),_0x14c8e5['editing']['view']['addObserver'](_0x15db17);let _0x543f94=!0x1;this['listenTo'](_0x55d46e['view']['document'],'pointerdown',(_0x3ec30f,_0x52938b)=>{const {target:_0x263326}=_0x52938b,_0x4f1e8a=_0x55d46e['view']['document']['selection'];_0x543f94=!!(_0x263326?.['is']('element','a')&&_0x263326['parent']?.['is']('element','sup')&&_0x263326['parent']['hasClass']('footnote'))&&_0x4f1e8a['getSelectedElement']()===_0x263326['parent'];},{'priority':'high'}),this['listenTo'](_0x55d46e['view']['document'],'click',(_0x27f532,_0x40e398)=>{const {target:_0x3e972c}=_0x40e398;if(!_0x3e972c?.['is']('element','a'))return;if(_0x3e972c['parent']?.['is']('element','sup')&&_0x3e972c['parent']['hasClass']('footnote')&&!_0x543f94)return void _0x40e398['preventDefault']();let _0x459f92=_0x3e972c['getAttribute']('href');if(!_0x459f92?.['startsWith']('#'))return;_0x459f92=_0x459f92['slice'](0x1);let _0x5704e0=!0x1;(_0x459f92['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x459f92['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x459f92))&&(_0x5704e0=!0x0),_0x5704e0&&(_0x40e398['preventDefault'](),_0x27f532['stop']());},{'priority':'high','context':'$capture'});}};function $({dataPipeline:_0x1d5c8e}={}){return(_0x3f217b,{writer:_0x295350})=>{if(!M(_0x3f217b))return null;if(!_0x1d5c8e)return _0x295350['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x149fef=_0x295350['createContainerElement']('p');return _0x295350['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x149fef),_0x149fef;};}function M(_0xd4fd55){const {parent:_0x5591d2}=_0xd4fd55;if(!_0x5591d2?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5591d2['childCount'])return!0x1;for(const _0x4b4eea of _0xd4fd55['getAttributeKeys']())if(!_0x4b4eea['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4b4eea)return!0x1;return!0x0;}function B(_0x4e1ec2,_0x3526b5){if(!_0x4e1ec2['is']('element','paragraph'))return!0x1;const _0x1092d7=_0x3526b5['toViewElement'](_0x4e1ec2);return!!_0x1092d7&&M(_0x4e1ec2)!==_0x1092d7['is']('element','span');}function q(_0x43acf1){return _0x1e803f(_0x43acf1)&&_0x43acf1['is']('containerElement')&&!!_0x43acf1['getCustomProperty']('footnotesDefinitions');}function H(_0x495b12,_0x2ac4d4={}){const _0x2f7221=_0x495b12['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1da427=_0x495b12['createContainerElement']('ol',{'class':'footnotes-list'},_0x495b12['createSlot']());return _0x495b12['createContainerElement']('div',{'class':'footnotes',..._0x2ac4d4},[_0x2f7221,_0x1da427]);}function X(_0x56a82a,_0x155054){const _0x43417a=_0x56a82a['getAttribute']('footnoteId'),_0x3965fa=_0x56a82a['getAttribute']('footnoteCounter'),_0x3d70f4=_0x155054['createUIElement']('a',{'href':'#'+_0x43417a},function(_0xb167d8){const _0x1b6e62=this['toDomElement'](_0xb167d8);return _0x1b6e62['textContent']=_0x3965fa,_0x1b6e62;}),_0x2e7189=_0x155054['createContainerElement']('sup',{'id':'ref-'+_0x43417a,'class':'footnote'},[_0x3d70f4]);return _0x2e7189['getFillerOffset']=()=>null,_0x2e7189;}function z(_0x5beb6c,_0x42c657,_0x1241c3,{dataPipeline:_0x21e943}={}){const {t:t}=_0x1241c3,_0x233806=_0x5beb6c['getAttribute']('footnoteId'),_0x4f4efd=_0x42c657['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x233806},function(_0x13439b){const _0x2c1b5a=this['toDomElement'](_0x13439b);return _0x2c1b5a['innerText']='^',_0x2c1b5a;}),_0x5af8ac=_0x21e943?_0x42c657['createContainerElement']('div',{'class':'footnote-content'}):_0x4425c5(_0x42c657['createEditableElement']('div',{'class':'footnote-content'}),_0x42c657,{'label':t('Footnote\x20content.')});return _0x42c657['insert'](_0x42c657['createPositionAt'](_0x5af8ac,0x0),_0x42c657['createSlot']()),_0x42c657['createContainerElement']('li',{'class':'footnote-definition','id':_0x233806},[_0x4f4efd,_0x5af8ac]);}var J=class extends _0x32e1f3{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[U,_0x270936];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x1b833f}=this,{plugins:_0x3fc262,model:_0x138dcd}=_0x1b833f,_0x50d49a=_0x3fc262['get'](_0x270936),_0x35e3bd=_0x3fc262['get'](V);this['listenTo'](_0x50d49a,'outputTransformation',(_0x47abb3,_0x15eb1d)=>{const _0x38094c=G(_0x138dcd['createRangeIn'](_0x15eb1d['content']));if(!_0x38094c['length'])return;const _0x2c00c2=_0x35e3bd['getFootnotes'](),_0x8ee15=_0x38094c['reduce']((_0xaecfd,_0x2f0428)=>{const _0x4f13a9=_0x2c00c2['find'](_0x46bbd3=>_0x46bbd3['id']===_0x2f0428);if(_0x4f13a9){const _0x3a30ca=_0x1b833f['data']['toView'](_0x4f13a9['definition'],{'isClipboardPipeline':!0x0}),_0x483cad=_0x1b833f['data']['htmlProcessor']['toData'](_0x3a30ca);_0xaecfd[_0x4f13a9['id']]=_0x483cad;}return _0xaecfd;},Object['create'](null));_0x15eb1d['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x8ee15));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x6b588b}=this,{model:_0x2a8d7d,plugins:_0x365269}=_0x6b588b,{view:_0x51eac5}=_0x6b588b['editing'],_0x56c7d5=_0x365269['get'](_0x270936),_0xd0d28e=_0x365269['get'](V),_0x287c53=_0x6b588b['config']['get']('footnotes.multiBlock');let _0x4520b5=null;this['listenTo'](_0x51eac5['document'],'clipboardInput',(_0x42092c,_0x4f6963)=>{const _0x2abe4b=_0x4f6963['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x4520b5=_0x2abe4b?JSON['parse'](_0x2abe4b):null;}),this['listenTo'](_0x56c7d5,'contentInsertion',(_0x11a588,_0x454515)=>{const _0x45f552=_0x454515['sourceEditorId']===this['editor']['id'];_0x45f552&&'drop'===_0x454515['method']||_0x2a8d7d['change'](_0x296f8f=>{let _0x416645=_0xd0d28e['getFootnotesDefinitionsObjectElement']();const _0x4c3462=!!_0x416645&&Array['from'](_0x2a8d7d['document']['selection']['getSelectedBlocks']())['includes'](_0x416645);if(!_0x4520b5&&function(_0x225e06){for(const {item:_0x3caf78}of _0x225e06)if(_0x3caf78['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2a8d7d['createRangeIn'](_0x454515['content']))&&(_0x4520b5=function(_0x2e27a9,_0x2d1688){const _0x419e3c=Q(_0x2e27a9,_0x2d1688);if(!_0x419e3c)return null;const _0x225a35=Object['create'](null);for(const _0x5038a1 of _0x419e3c['getChildren']())_0x5038a1['is']('element','footnoteDefinition')&&_0x5038a1['hasAttribute']('footnoteId')&&(_0x225a35[_0x5038a1['getAttribute']('footnoteId')]=_0x2e27a9['cloneElement'](_0x5038a1,!0x0));return Object['keys'](_0x225a35)['length']?_0x225a35:null;}(_0x296f8f,_0x454515['content'])),(_0x416645&&!_0x4c3462||!_0x416645&&!_0x4520b5)&&function(_0x3372ca,_0x1fa2e6){const _0x16e870=[];for(const {item:_0x26c867}of _0x3372ca['createRangeIn'](_0x1fa2e6))_0x26c867['is']('element','footnotesDefinitions')&&_0x16e870['push'](_0x26c867);for(const _0x201901 of _0x16e870)_0x3372ca['remove'](_0x201901);}(_0x296f8f,_0x454515['content']),!_0x4520b5)return;const {selection:_0x32314}=_0x2a8d7d['document'],_0x12582a=_0x32314['getFirstRange']()['root'];_0x416645&&!_0x4c3462||(_0x416645=Q(_0x296f8f,_0x454515['content']),_0x416645||=_0xd0d28e['_insertEmptyFootnotesDefinitionsContainer'](_0x296f8f,_0x12582a));const _0x35e4a7=Array['from'](_0x32314['getRanges']())['flatMap'](G),_0x4b32d3=function(_0x454319,_0x1b3a21,_0x59eee8){const _0x5c711e=Object['create'](null);for(const {item:_0x25e3a5}of _0x454319['createRangeIn'](_0x1b3a21))if(_0x25e3a5['is']('element','footnoteRef')){const _0x534b65=_0x25e3a5['getAttribute']('footnoteId');if(!_0x59eee8(_0x534b65))continue;_0x5c711e[_0x534b65]||(_0x5c711e[_0x534b65]=_0x3a56e1()),_0x454319['setAttribute']('footnoteId',_0x5c711e[_0x534b65],_0x25e3a5);}return _0x5c711e;}(_0x296f8f,_0x454515['content'],_0x494751=>!_0x45f552||!!_0xd0d28e['getFootnote'](_0x494751)&&!_0x35e4a7['includes'](_0x494751));for(const [_0x46c2eb,_0x3d40e1]of Object['entries'](_0x4520b5)){const _0x22d3b0=_0x4b32d3[_0x46c2eb]||_0x46c2eb;let _0x29026f;if('string'!=typeof _0x3d40e1)_0x29026f=_0x3d40e1,_0x22d3b0!==_0x46c2eb&&_0x296f8f['setAttribute']('footnoteId',_0x22d3b0,_0x29026f);else{_0x29026f=_0x296f8f['createElement']('footnoteDefinition',{'footnoteId':_0x22d3b0});const _0x25f888=_0x6b588b['data']['htmlProcessor']['toView'](_0x3d40e1);let _0x2fefba;if(_0x287c53)_0x2fefba=_0x6b588b['data']['toModel'](_0x25f888,_0x29026f);else{_0x2fefba=_0x296f8f['createElement']('footnoteInlineContent');const _0x4a31ca=_0x6b588b['data']['toModel'](_0x25f888,_0x2fefba);_0x296f8f['insert'](_0x4a31ca,_0x2fefba);}_0x296f8f['append'](_0x2fefba,_0x29026f);}_0x296f8f['insert'](_0x29026f,_0x416645,'end');}_0x4520b5=null;});});}};function Q(_0x1e217c,_0x44fb8b){for(const {item:_0x790386}of _0x1e217c['createRangeIn'](_0x44fb8b))if(_0x790386['is']('element','footnotesDefinitions'))return _0x790386;return null;}function G(_0x2b4c7f){const _0x249af0=new Set();for(const {item:_0x3342e0}of _0x2b4c7f)_0x3342e0['is']('element','footnoteRef')&&_0x249af0['add'](_0x3342e0['getAttribute']('footnoteId'));return Array['from'](_0x249af0);}var W=class extends _0x32e1f3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4e7f87}=this,{componentFactory:_0x42e61b}=_0x4e7f87['ui'];_0x42e61b['add']('insertFootnote',Y(_0x4e7f87,_0x5b2cd1)),_0x42e61b['add']('menuBar:insertFootnote',Y(_0x4e7f87,_0x3972af)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1d5b6c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x463d8f;for(const _0x49b7f8 in _0x1d5b6c){const _0xc198f7=_0x49b7f8,_0x58e5b6=_0x1d5b6c[_0xc198f7];if('footnotesLicenseKeyValid'==_0x58e5b6||'footnotesLicenseKeyInvalid'==_0x58e5b6||'footnotesLicenseKeyExpired'==_0x58e5b6||'footnotesLicenseKeyDomainLimit'==_0x58e5b6||'footnotesLicenseKeyNotAllowed'==_0x58e5b6||'footnotesLicenseKeyEvaluationLimit'==_0x58e5b6||'footnotesLicenseKeyUsageLimit'==_0x58e5b6){delete _0x1d5b6c[_0xc198f7],_0x463d8f=_0x58e5b6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x463d8f&&_0x1d5b6c['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x463d8f&&_0x1d5b6c['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x463d8f&&_0x1d5b6c['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x463d8f&&_0x1d5b6c['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x463d8f&&_0x1d5b6c['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x463d8f&&_0x1d5b6c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Y(_0x4b2d3d,_0x35e4f1){const _0x5790f9=_0x4b2d3d['commands']['get']('insertFootnote');return _0x2d5f92=>{const {t:t}=_0x2d5f92,_0x1deae3=new _0x35e4f1(_0x2d5f92),_0x4fbb47=_0x1deae3 instanceof _0x3972af;return _0x1deae3['bind']('isEnabled')['to'](_0x5790f9,'isEnabled'),_0x1deae3['set']({'label':t(_0x4fbb47?'Footnote':'Insert\x20footnote'),'icon':_0x39b893,'tooltip':!0x0}),_0x1deae3['on']('execute',()=>{_0x5790f9['execute'](),_0x4b2d3d['editing']['view']['focus']();}),_0x1deae3;};}var Z=class extends _0x32e1f3{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[U,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];var nt=class extends _0x1b1a62{['refresh'](){const {editor:_0x50c7aa}=this,_0x1eeb9a=_0x50c7aa['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1eeb9a,this['value']=_0x1eeb9a?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x48015d}){const {editor:_0x21f14c}=this,_0x299f58=_0x21f14c['plugins']['get'](V),_0x5a5f35=_0x299f58['getFootnotesDefinitionsObjectElement']();_0x5a5f35&&ot['includes'](_0x48015d)&&_0x21f14c['model']['change'](_0x24cdee=>{_0x24cdee['setAttribute']('footnotesListStyle',_0x48015d,_0x5a5f35),_0x299f58['_updateFootnotesCounters'](_0x24cdee);});}},it=class extends _0x1b1a62{['refresh'](){const {editor:_0x16616b}=this,_0x314816=_0x16616b['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x314816,this['value']=_0x314816?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x581988}){const {editor:_0x37bb7d}=this,_0x49eaa9=_0x37bb7d['plugins']['get'](V),_0xa73ac1=_0x49eaa9['getFootnotesDefinitionsObjectElement']();_0xa73ac1&&Number['isInteger'](_0x581988)&&_0x37bb7d['model']['change'](_0x5c488e=>{_0x5c488e['setAttribute']('footnotesListStart',_0x581988,_0xa73ac1),_0x49eaa9['_updateFootnotesCounters'](_0x5c488e);});}};function st({style:_0x10f3c9,digits:_0x173a9b,value:_0x1a6085}){const _0x3c1bf0=Math['floor'](_0x1a6085),_0xc44081=function(_0x5b4635){switch(_0x5b4635){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};}}(_0x10f3c9);switch((_0x3c1bf0>_0xc44081['max']||_0x3c1bf0<_0xc44081['min'])&&(_0x10f3c9='decimal'),_0x10f3c9){case'decimal-leading-zero':return function(_0x44b3c6,_0x4e8a17){return String(_0x44b3c6)['padStart'](_0x4e8a17,'0');}(_0x3c1bf0,Math['max'](0x2,_0x173a9b));case'lower-alpha':case'lower-latin':return rt(_0x3c1bf0,!0x1);case'upper-alpha':case'upper-latin':return rt(_0x3c1bf0,!0x0);case'lower-roman':return at(_0x3c1bf0,!0x1);case'upper-roman':return at(_0x3c1bf0,!0x0);case'arabic-indic':return String(_0x3c1bf0)['replace'](/\d/g,_0x581739=>ft[Number(_0x581739)]);default:return String(_0x3c1bf0);}}function rt(_0x3460e8,_0x4ce421){let _0x1e4987='',_0x43486d=_0x3460e8;for(;_0x43486d>0x0;){const _0x36aa6b=(_0x43486d-0x1)%0x1a;_0x1e4987=String['fromCharCode'](0x61+_0x36aa6b)+_0x1e4987,_0x43486d=Math['floor']((_0x43486d-0x1)/0x1a);}return _0x4ce421?_0x1e4987['toUpperCase']():_0x1e4987;}const lt=[{'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 at(_0x4d3c7a,_0xc123){let _0x3ef21d='',_0x431ca9=_0x4d3c7a;for(const {value:_0x148882,numeral:_0x4cfd01}of lt)for(;_0x431ca9>=_0x148882;)_0x3ef21d+=_0x4cfd01,_0x431ca9-=_0x148882;return _0xc123?_0x3ef21d:_0x3ef21d['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ct=class extends _0x32e1f3{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[U,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2a66a0}=this;_0x2a66a0['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x2a66a0['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x2a66a0['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x2a66a0['commands']['add']('footnotesStyle',new nt(_0x2a66a0)),_0x2a66a0['commands']['add']('footnotesStart',new it(_0x2a66a0)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x26c1b3}=this,{schema:_0x25f0dc}=_0x26c1b3['model'];_0x25f0dc['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x52a794}=this,{conversion:_0xe2cc0b,model:_0x529b30}=_0x52a794,{schema:_0x5b737a}=_0x529b30;_0xe2cc0b['for']('upcast')['add'](_0x531ec9=>{_0x531ec9['on']('element:ol',(_0x51ed1d,_0x8fd9eb,_0x32fa9e)=>{const _0x504ef1=_0x8fd9eb['viewItem'],_0x3f23cf=_0x8fd9eb['modelCursor']?.['parent'];_0x504ef1['hasClass']('footnotes-list')&&_0x3f23cf?.['is']('element','footnotesDefinitions')&&(function(_0x29acef,_0x590d88,_0x1d7c31,_0x3e1f01){if(!_0x3e1f01['checkAttribute'](_0x590d88,'footnotesListStart'))return;let _0x2210e5=0x1;const _0x4f3d23=_0x1d7c31['consumable']['consume'](_0x29acef,{'attributes':'start'});if(_0x4f3d23){const _0x21dec5=Number['parseInt'](_0x29acef['getAttribute']('start'),0xa);Number['isNaN'](_0x21dec5)||(_0x2210e5=_0x21dec5);}!_0x4f3d23&&_0x590d88['hasAttribute']('footnotesListStart')||_0x1d7c31['writer']['setAttribute']('footnotesListStart',_0x2210e5,_0x590d88);}(_0x504ef1,_0x3f23cf,_0x32fa9e,_0x5b737a),function(_0x351e4a,_0x370f38,_0x5e55ab,_0x2f1533){if(!_0x2f1533['checkAttribute'](_0x370f38,'footnotesListStyle'))return;let _0x5cb1ce='decimal',_0x5bc0c6=!0x1;if(_0x5e55ab['consumable']['consume'](_0x351e4a,{'attributes':'type'})){const _0x5017a0={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x351e4a['getAttribute']('type')];_0x5017a0&&(_0x5cb1ce=_0x5017a0),_0x5bc0c6=!0x0;}if(_0x5e55ab['consumable']['consume'](_0x351e4a,{'styles':'list-style-type'})){const _0x2bf7dd=ut(_0x351e4a['getStyle']('list-style-type'));_0x2bf7dd&&(_0x5cb1ce=_0x2bf7dd),_0x5bc0c6=!0x0;}!_0x5bc0c6&&_0x370f38['hasAttribute']('footnotesListStyle')||_0x5e55ab['writer']['setAttribute']('footnotesListStyle',_0x5cb1ce,_0x370f38);}(_0x504ef1,_0x3f23cf,_0x32fa9e,_0x5b737a));});}),_0xe2cc0b['for']('downcast')['add'](_0x1281ab=>{_0x1281ab['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x164d5c,_0x43654f,_0x4863d4)=>{if(!_0x4863d4['consumable']['consume'](_0x43654f['item'],_0x164d5c['name']))return;const _0x5e16c5=dt(_0x43654f['item'],_0x4863d4['mapper']),{attributeNewValue:_0x288899}=_0x43654f;null==_0x288899||0x1===_0x288899?_0x4863d4['writer']['removeAttribute']('start',_0x5e16c5):_0x4863d4['writer']['setAttribute']('start',String(_0x288899),_0x5e16c5);}),_0x1281ab['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x443df0,_0xc547fc,_0x49d4d8)=>{if(!_0x49d4d8['consumable']['consume'](_0xc547fc['item'],_0x443df0['name']))return;const _0x5d8ebd=dt(_0xc547fc['item'],_0x49d4d8['mapper']),{attributeNewValue:_0x49e4d9}=_0xc547fc;_0x49e4d9&&'decimal'!==_0x49e4d9?_0x49d4d8['writer']['setStyle']('list-style-type',_0x49e4d9,_0x5d8ebd):_0x49d4d8['writer']['removeStyle']('list-style-type',_0x5d8ebd);});});}['_definePostfixer'](){const {editor:_0x3911a3}=this,{model:_0x4533e6}=_0x3911a3,_0x2593c5=_0x3911a3['plugins']['get'](V),_0x4574ac=this['_getDefaultListStyle'](),_0xde33f2=this['_getDefaultStartIndex']();_0x4533e6['document']['registerPostFixer'](_0x4d2c0c=>{const _0x5ea751=_0x4533e6['document']['differ']['getChanges']();let _0x48cdf7=!0x1;for(const _0x598ba8 of _0x5ea751){if('insert'!==_0x598ba8['type']||'$text'===_0x598ba8['name'])continue;const _0xa61897=_0x4533e6['createRangeOn'](_0x598ba8['position']['nodeAfter']);for(const _0x2d3cec of _0xa61897['getItems']())_0x2d3cec['is']('element','footnotesDefinitions')&&(!_0x2d3cec['hasAttribute']('footnotesListStart')&&_0x4533e6['schema']['checkAttribute'](_0x2d3cec,'footnotesListStart')&&(_0x4d2c0c['setAttribute']('footnotesListStart',_0xde33f2,_0x2d3cec),_0x48cdf7=!0x0),!_0x2d3cec['hasAttribute']('footnotesListStyle')&&_0x4533e6['schema']['checkAttribute'](_0x2d3cec,'footnotesListStyle')&&(_0x4d2c0c['setAttribute']('footnotesListStyle',_0x4574ac,_0x2d3cec),_0x48cdf7=!0x0));}return _0x48cdf7&&_0x2593c5['_updateFootnotesCounters'](_0x4d2c0c),_0x48cdf7;});}['_defineFormatter'](){const {editor:_0x3da8a6}=this;_0x3da8a6['plugins']['get'](V)['setFootnoteFormatter'](_0x5c3992=>this['_formatFootnoteListValue'](_0x5c3992));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x4d37b0,value:_0x515de1,digits:_0x71e1ba}){const _0x51d247=_0x4d37b0['getAttribute']('footnotesListStyle');return st({'value':_0x515de1+(_0x4d37b0['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x51d247,'digits':_0x71e1ba});}};function ut(_0x43f0f4){if('string'==typeof _0x43f0f4){const _0x447634=et[_0x43f0f4];if(_0x447634)return _0x447634;if(ot['includes'](_0x43f0f4))return _0x43f0f4;}return null;}function dt(_0xa819af,_0x26cf48){const _0x4f0888=_0x26cf48['toViewElement'](_0xa819af);return Array['from'](_0x4f0888['getChildren']())['find'](_0x30b69f=>_0x30b69f['is']('element','ol')&&_0x30b69f['hasClass']('footnotes-list'));}var ht=class extends _0x263b6c{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x569b19();['keystrokes']=new _0x2c9630();['focusables']=new _0x4530a7();['focusCycler'];constructor(_0x3296bf,{styleButtonViews:_0x576b36,styleGridAriaLabel:_0x224c9e}){super(_0x3296bf),(this['focusCycler']=new _0x479c0c({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x576b36,_0x224c9e),[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 _0x37bf59 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x37bf59['element']);_0x222dbc({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x465f4d['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 _0x1cf4f5=_0x5711a8=>_0x5711a8['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1cf4f5),this['keystrokes']['set']('arrowleft',_0x1cf4f5),this['keystrokes']['set']('arrowup',_0x1cf4f5),this['keystrokes']['set']('arrowdown',_0x1cf4f5);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x34948a,_0x4f2338){const _0x1226d3=new _0x263b6c(this['locale']);return _0x1226d3['children']=_0x1226d3['createCollection'](),_0x1226d3['children']['addMany'](_0x34948a),_0x1226d3['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4f2338,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x1226d3['children']}),_0x1226d3['children']['delegate']('execute')['to'](this),_0x1226d3['focus']=function(){for(const _0x2c1904 of this['children'])if(_0x2c1904 instanceof _0x5b2cd1&&_0x2c1904['isOn'])return void _0x2c1904['focus']();this['children']['first']['focus']();},_0x1226d3['focusTracker']=new _0x569b19(),_0x1226d3['keystrokes']=new _0x2c9630(),_0x1226d3['render'](),_0x1226d3['keystrokes']['listenTo'](_0x1226d3['element']),this['children']['add'](_0x1226d3),_0x1226d3;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x557d78=this['_createStartIndexPropertyView'](),_0x3995c7=[_0x557d78],_0x556529=new _0x2f6452(this['locale'],_0x3995c7);return _0x556529['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x556529['buttonView']['bind']('isEnabled')['toMany'](_0x3995c7,'isEnabled',(..._0x1f710c)=>_0x1f710c['some'](_0x3e8949=>_0x3e8949)),_0x556529['buttonView']['on']('change:isEnabled',(_0x50d2cf,_0x219b11,_0x5d2aef)=>{_0x5d2aef||(_0x556529['isCollapsed']=!0x0);}),this['children']['add'](_0x556529),[_0x557d78,_0x556529];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2949f9=new _0x46fe67(this['locale'],_0x400c97);return _0x2949f9['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2949f9['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2949f9['fieldView']['on']('input',()=>{const _0x20e79a=_0x2949f9['fieldView']['element'],_0x242bb2=_0x20e79a['valueAsNumber'];Number['isNaN'](_0x242bb2)?_0x2949f9['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x20e79a['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x242bb2}):_0x2949f9['errorText']=t(_0x242bb2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2949f9;}},mt=class extends _0x32e1f3{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4a2295,_0x191494];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f0fb1}=this,{componentFactory:_0x3ec701}=_0x4f0fb1['ui'];_0x4f0fb1['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3ec701['add']('footnotesStyle',function(_0x80a9de){return _0x5781d5=>{const {t:t}=_0x5781d5,_0x2ff892=_0x80a9de['commands']['get']('footnotesStyle'),_0x1a7dfa=_0x1a7bf6(_0x5781d5),{buttonView:_0x395313}=_0x1a7dfa;return _0x1a7dfa['class']='ck-footnotes-styles-dropdown',_0x1a7dfa['bind']('isEnabled')['to'](_0x2ff892,'isEnabled'),_0x395313['set']({'label':t('Footnotes\x20style'),'icon':_0x39b893,'tooltip':!0x0}),_0x1a7dfa['once']('change:isOpen',()=>{const _0x5e8771=function({editor:_0xf3ec25,dropdownView:_0x241a15}){const {t:t}=_0xf3ec25['locale'],_0x26b79c=t('Footnotes\x20definitions\x20styles'),_0x3bb5f9=function(_0x5cfc36){const {t:t}=_0x5cfc36['locale'],_0x57bc9a=_0x5cfc36['config']['get']('footnotes.footnotesProperties.listStyles'),_0x422556=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0xc80341},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x28c1c6},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x184f04},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x5dd538},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x5e6e9b},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x333818},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x186c50}];return _0x57bc9a['map'](_0x3db9a0=>{const _0x481885=ut(_0x3db9a0);return function(_0x48de72,_0x3c6427){const {locale:_0x1340f2}=_0x48de72,{label:_0x4f50b4,icon:_0x452f4b,tooltip:_0x18c655,style:_0x55ba95}=_0x3c6427,_0x10fd22=_0x48de72['commands']['get']('footnotesStyle'),_0x7393b=new _0x5b2cd1(_0x1340f2);return _0x7393b['set']({'label':_0x4f50b4,'icon':_0x452f4b,'tooltip':_0x18c655}),_0x7393b['bind']('isOn')['to'](_0x10fd22,'value',_0x5c93df=>_0x5c93df===_0x55ba95),_0x7393b['bind']('isEnabled')['to'](_0x10fd22,'isEnabled'),_0x7393b['on']('execute',()=>{_0x48de72['execute']('footnotesStyle',{'value':_0x55ba95}),_0x48de72['editing']['view']['focus']();}),_0x7393b;}(_0x5cfc36,_0x422556['find'](_0x2a64d2=>_0x2a64d2['style']===_0x481885));});}(_0xf3ec25),_0x4bc1c4=new ht(_0xf3ec25['locale'],{'styleGridAriaLabel':_0x26b79c,'styleButtonViews':_0x3bb5f9}),_0x465c19=_0xf3ec25['commands']['get']('footnotesStart');return _0x4bc1c4['startIndexFieldView']['bind']('isEnabled')['to'](_0x465c19),_0x4bc1c4['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x465c19),_0x4bc1c4['on']('footnotesListStart',(_0x9b2ab,_0x96637a)=>{_0xf3ec25['execute']('footnotesStart',{'value':_0x96637a['startIndex']});}),_0x4bc1c4['delegate']('execute')['to'](_0x241a15),_0x4bc1c4;}({'editor':_0x80a9de,'dropdownView':_0x1a7dfa});_0x1a7dfa['panelView']['children']['add'](_0x5e8771);}),_0x1a7dfa;};}(_0x4f0fb1));}['afterInit'](){const {editor:_0x237c2b}=this,{t:t}=_0x237c2b['locale'],_0x14c169=_0x237c2b['plugins']['get'](_0x191494),{defaultPositions:_0x591b94}=_0x2bea57;_0x14c169['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x237c2b['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5a7390=>{let _0x3cb8f4=_0x5a7390['getFirstPosition']()?.['parent'];return _0x3cb8f4?.['is']('$text')&&(_0x3cb8f4=_0x3cb8f4['parent']),_0x3cb8f4?.['is']('element')?_0x3cb8f4['findAncestor'](q):null;},'positions':[_0x591b94['southArrowNorth'],_0x591b94['southArrowNorthMiddleWest'],_0x591b94['southArrowNorthMiddleEast'],_0x591b94['southArrowNorthWest'],_0x591b94['southArrowNorthEast'],_0x591b94['northArrowSouth'],_0x591b94['northArrowSouthMiddleWest'],_0x591b94['northArrowSouthMiddleEast'],_0x591b94['northArrowSouthWest'],_0x591b94['northArrowSouthEast'],_0x591b94['viewportStickyNorth']]});}},pt=class extends _0x32e1f3{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[ct,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Z as Footnotes,J as FootnotesClipboard,U as FootnotesEditing,pt as FootnotesProperties,ct as FootnotesPropertiesEditing,mt as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,V as FootnotesTracker,W as FootnotesUI,j as InsertFootnoteCommand};
23
+ import{Command as _0x40cebc,Plugin as _0x3c2801}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x39c5bf,isWidget as _0x15959c,toWidget as _0xda8253,toWidgetEditable as _0x37566b}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x5c8227,KeystrokeHandler as _0x5448d3,global as _0x3620f6,logWarning as _0x4ed117,uid as _0x3a337e}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x46b406,PointerObserver as _0x5f1aed}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x4c7e0c}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x3fbacb,ButtonView as _0x48db93,CollapsibleView as _0x145818,ContextualBalloon as _0x216079,FocusCycler as _0x256785,LabeledFieldView as _0x53a25e,MenuBarMenuListItemButtonView as _0x31cd99,View as _0x2d801b,ViewCollection as _0x25c27b,addKeyboardHandlingForGrid as _0x44557f,createDropdown as _0x66644d,createLabeledInputNumber as _0x5ec6df}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x410db1,IconListStyleArabicIndic as _0x1c2b0e,IconListStyleDecimal as _0x185d9b,IconListStyleDecimalLeadingZero as _0x3c66ae,IconListStyleLowerLatin as _0x1357a2,IconListStyleLowerRoman as _0x588bcc,IconListStyleUpperLatin as _0x249890,IconListStyleUpperRoman as _0x31e852}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x37f8c5,_0x214d36){this['_model']=_0x37f8c5,this['_elementName']=_0x214d36['elementName'],this['_getElementKey']=_0x214d36['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x505c87){const _0x598b3e=new Set(),_0x4657e5=new Map();for(const _0x4b0f72 of _0x505c87){if('insert'===_0x4b0f72['type']&&'$text'!==_0x4b0f72['name']&&_0x4b0f72['position']['nodeAfter']){const _0x40a2c0=this['_model']['createRangeOn'](_0x4b0f72['position']['nodeAfter']);for(const _0x4866ac of _0x40a2c0['getItems']()){if(!_0x4866ac['is']('element',this['_elementName']))continue;const _0x10502b=this['_getElementKey'](_0x4866ac);_0x4657e5['has'](_0x10502b)||_0x4657e5['set'](_0x10502b,[]),_0x4657e5['get'](_0x10502b)['push'](_0x4866ac);}}if('remove'===_0x4b0f72['type']&&_0x4b0f72['name']===this['_elementName']){const _0x344ad0=this['_getElementKey']({'getAttribute':_0x31c209=>_0x4b0f72['attributes']['get'](_0x31c209)});_0x598b3e['add'](_0x344ad0);}}for(const [_0x42f21d,_0x279b76]of this['_trackedElements'])'$graveyard'===_0x279b76['root']['rootName']&&_0x598b3e['add'](_0x42f21d);for(const _0x4ba23f of _0x598b3e)this['_trackedElements']['delete'](_0x4ba23f);for(const [_0x18ac8f,_0x1af046]of _0x4657e5)this['_trackedElements']['set'](_0x18ac8f,_0x1af046[_0x1af046['length']-0x1]);const _0x27d14a=new Set();for(const [_0x39a4df,_0x592c7d]of _0x4657e5)_0x598b3e['has'](_0x39a4df)&&(_0x27d14a['add'](_0x592c7d[0x0]),_0x592c7d['length']>0x1?_0x4657e5['set'](_0x39a4df,_0x592c7d['slice'](0x1)):_0x4657e5['delete'](_0x39a4df),_0x598b3e['delete'](_0x39a4df));return{'removed':Array['from'](_0x598b3e),'inserted':Array['from'](_0x4657e5['values']())['flat'](),'moved':Array['from'](_0x27d14a)};}},V=class extends _0x3c2801{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x47093f){super(_0x47093f),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x298da3=>_0x298da3['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x3ccaea=>_0x3ccaea['getAttribute']('footnoteId')});}['init'](){const {editor:_0x17ab15}=this,{model:_0x367cca,data:_0x42b1aa}=_0x17ab15;_0x367cca['document']['registerPostFixer'](_0x5959ba=>{const _0x47f5a1=_0x367cca['document']['differ']['getChanges']();let _0x5ed596=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x5959ba,_0x47f5a1)&&(_0x5ed596=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x5959ba,_0x47f5a1)&&(_0x5ed596=!0x0),this['_handleFootnoteReferencesChanges'](_0x5959ba,_0x47f5a1)&&(_0x5ed596=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x5959ba)&&(_0x5ed596=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x5959ba)&&(_0x5ed596=!0x0),this['_sortFootnoteDefinitions'](_0x5959ba)&&(_0x5ed596=!0x0),_0x5ed596;}),this['listenTo'](_0x367cca['document'],'change:data',()=>{_0x367cca['enqueueChange']({'isUndoable':!0x1},_0x735963=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x735963);});},{'priority':'low'}),this['listenTo'](_0x42b1aa,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x34526e){return this['_footnotes']['find'](_0x2742b8=>_0x2742b8['id']===_0x34526e)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x398811){this['_footnoteFormatter']=_0x398811;}['_updateFootnotesCounters'](_0x5c0eff,_0x2d8beb=0x0){let _0x512b7e=!0x1;for(let _0x1fd084=_0x2d8beb;_0x1fd084<this['_footnotes']['length'];_0x1fd084++)this['_updateFootnoteRefCounter'](_0x5c0eff,_0x1fd084)&&(_0x512b7e=!0x0);return _0x512b7e;}['_insertEmptyFootnotesDefinitionsContainer'](_0x28a15f,_0x5a45f2){const _0x4623eb=_0x28a15f['createElement']('footnotesDefinitions',{});return _0x28a15f['append'](_0x4623eb,_0x5a45f2),this['_footnotesDefinitions']=_0x4623eb,_0x4623eb;}['_ensureFootnotesDefinitionsContainerExists'](_0x1d58db){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x50fe3e=this['_footnotes'][0x0]['reference']['root'],_0x52bf4e=this['_insertEmptyFootnotesDefinitionsContainer'](_0x1d58db,_0x50fe3e);for(const _0x8478b5 of this['_footnotes'])_0x8478b5['definition']['parent']||_0x1d58db['insert'](_0x8478b5['definition'],_0x52bf4e,'end');this['_updateFootnotesCounters'](_0x1d58db);}['_handleFootnotesDefinitionsObjectChanges'](_0xc0dc2,_0xbf1966){let _0x5bbfbc=!0x1;const {inserted:_0x1bf28d,removed:_0x1f24d5,moved:_0x40d097}=this['_footnoteDefsContainerTracker']['getChanges'](_0xbf1966);if(_0x40d097['length']&&(this['_footnotesDefinitions']=_0x40d097[0x0]),_0x1bf28d['length']){if(_0x1bf28d['length']>0x1||this['_footnotesDefinitions']&&_0x1bf28d['some'](_0x3f1e8d=>_0x3f1e8d!==this['_footnotesDefinitions'])){const _0x5a5b39=_0xc0dc2['createElement']('footnotesDefinitions',{}),_0x581c39=[];this['_footnotesDefinitions']&&_0x581c39['push'](this['_footnotesDefinitions']),_0x581c39['push'](..._0x1bf28d),_0xc0dc2['insert'](_0x5a5b39,_0x581c39[0x0],'before');for(const _0x2d8e15 of _0x581c39)_0xc0dc2['move'](_0xc0dc2['createRangeIn'](_0x2d8e15),_0xc0dc2['createPositionAt'](_0x5a5b39,'end')),_0xc0dc2['remove'](_0x2d8e15);this['_footnotesDefinitions']=_0x5a5b39,this['_updateFootnotesCounters'](_0xc0dc2),_0x5bbfbc=!0x0;}else this['_footnotesDefinitions']=_0x1bf28d[0x0];}if(_0x1f24d5['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x2dba79 of this['_footnotes'])_0xc0dc2['remove'](_0x2dba79['reference']),_0x5bbfbc=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x5bbfbc;}['_handleFootnoteDefinitionsChanges'](_0x5100fd,_0x16a41){let _0x24687c=!0x1;const _0x4b256b=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x5c270f,moved:_0x5721fa}=this['_footnoteDefsTracker']['getChanges'](_0x16a41);for(const _0x107ea1 of[..._0x5721fa,..._0x5c270f]){const _0x5abe22=_0x107ea1['getAttribute']('footnoteId'),_0x4ffea9=this['getFootnote'](_0x5abe22);_0x4ffea9&&(_0x4ffea9['definition']=_0x107ea1),K(_0x5100fd,_0x4b256b,_0x107ea1)&&(_0x24687c=!0x0);}return _0x24687c;}['_handleFootnoteReferencesChanges'](_0x35f121,_0x428c49){let _0x30a421=!0x1;const {removed:_0x1e891f,inserted:_0x465b76,moved:_0x29264c}=this['_footnoteRefsTracker']['getChanges'](_0x428c49);for(const _0x14fc1b of _0x1e891f)this['_handleRemoveFootnoteReferenceById'](_0x35f121,_0x14fc1b)&&(_0x30a421=!0x0);for(const _0x56b60f of _0x465b76)this['_handleInsertedFootnoteReference'](_0x35f121,_0x56b60f)&&(_0x30a421=!0x0);for(const _0x590a01 of _0x29264c)this['_handleMovedFootnoteReference'](_0x35f121,_0x590a01)&&(_0x30a421=!0x0);return _0x30a421;}['_handleFootnotesDefinitionsObjectSync'](_0x1e89f7){if(!this['_footnotesDefinitions'])return!0x1;let _0x1efa14=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x1fa83b=[];for(const _0x5cb46d of this['_footnotesDefinitions']['getChildren']()){const _0x4fea60=_0x5cb46d['getAttribute']('footnoteId');this['getFootnote'](_0x4fea60)||(_0x1fa83b['unshift'](_0x5cb46d),_0x1efa14=!0x0);}for(const _0x254fa7 of _0x1fa83b)_0x1e89f7['remove'](_0x254fa7);}const _0x44e038=new Set(),_0x2a368b=[];for(const _0x2b84cc of this['_footnotesDefinitions']['getChildren']()){const _0x1c0f2d=_0x2b84cc['getAttribute']('footnoteId');_0x44e038['has'](_0x1c0f2d)?(_0x2a368b['unshift'](_0x2b84cc),_0x1efa14=!0x0):_0x44e038['add'](_0x1c0f2d);}for(const _0x2694b2 of _0x2a368b)_0x1e89f7['remove'](_0x2694b2);return this['_footnotesDefinitions']['childCount']||(_0x1e89f7['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x1efa14=!0x0),_0x1efa14;}['_handleInsertedFootnoteReference'](_0x2d5338,_0x3625cf){if(this['_footnotes']['find'](_0x1eddf7=>_0x1eddf7['reference']===_0x3625cf))return!0x1;let _0x52089d=!0x1;const _0x4af273=_0x3625cf['getAttribute']('footnoteId'),_0x46de8b=this['_footnotes']['findIndex'](_0x1224c1=>_0x1224c1['id']===_0x4af273);-0x1!==_0x46de8b&&(_0x2d5338['remove'](this['_footnotes'][_0x46de8b]['reference']),this['_footnotes']['splice'](_0x46de8b,0x1),_0x52089d=!0x0);let _0x269d7c=this['_footnotesDefinitions']?function(_0x1e26bc,_0x186c2d){for(const _0x42236c of _0x1e26bc['getChildren']())if(_0x42236c['getAttribute']('footnoteId')===_0x186c2d)return _0x42236c;return null;}(this['_footnotesDefinitions'],_0x4af273):null;_0x269d7c||(_0x269d7c=_0x2d5338['createElement']('footnoteDefinition',{'footnoteId':_0x4af273}),this['_footnotesDefinitions']&&(_0x2d5338['insert'](_0x269d7c,this['_footnotesDefinitions'],'end'),_0x52089d=!0x0));const _0x373845={'id':_0x4af273,'reference':_0x3625cf,'definition':_0x269d7c},_0x27b317=T(this['editor']['model'],this['_footnotes'],_0x3625cf);this['_footnotes']['splice'](_0x27b317,0x0,_0x373845);let _0x4896d0=_0x27b317;return-0x1!==_0x46de8b&&(_0x4896d0=Math['min'](_0x27b317,_0x46de8b)),this['_updateFootnotesCounters'](_0x2d5338,_0x4896d0)&&(_0x52089d=!0x0),_0x52089d;}['_handleRemoveFootnoteReferenceById'](_0x9b5962,_0x351bbc){const _0x5c90f0=this['_footnotes']['findIndex'](_0x37151f=>_0x37151f['id']===_0x351bbc);if(-0x1===_0x5c90f0)return!0x1;let _0x3d4826=!0x1;const _0x2326b1=this['_footnotes'][_0x5c90f0];return'$graveyard'!==_0x2326b1['definition']['root']['rootName']&&(_0x9b5962['remove'](_0x2326b1['definition']),_0x3d4826=!0x0),this['_footnotes']['splice'](_0x5c90f0,0x1),this['_updateFootnotesCounters'](_0x9b5962,_0x5c90f0)&&(_0x3d4826=!0x0),_0x3d4826;}['_handleMovedFootnoteReference'](_0x1aec6b,_0x5f5a0c){const _0xa465bf=_0x5f5a0c['getAttribute']('footnoteId'),_0x37ab03=this['_footnotes']['findIndex'](_0x3b0598=>_0x3b0598['id']===_0xa465bf),_0x20c0b4=this['_footnotes'][_0x37ab03];let _0x40d510=!0x1;_0x20c0b4['reference']=_0x5f5a0c,this['_footnotes']['splice'](_0x37ab03,0x1);const _0x596f0c=T(this['editor']['model'],this['_footnotes'],_0x5f5a0c);return this['_footnotes']['splice'](_0x596f0c,0x0,_0x20c0b4),this['_updateFootnotesCounters'](_0x1aec6b,Math['min'](_0x37ab03,_0x596f0c))&&(_0x40d510=!0x0),_0x40d510;}['_updateFootnoteRefCounter'](_0x2497f6,_0x28cdf8){if(!this['_footnotesDefinitions'])return!0x1;const _0x54fc27=this['_footnotes'][_0x28cdf8];let _0x5f4cc9;return _0x5f4cc9=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x54fc27,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x28cdf8+0x1}):String(_0x28cdf8+0x1),_0x54fc27['reference']['getAttribute']('footnoteCounter')!=_0x5f4cc9&&(_0x2497f6['setAttribute']('footnoteCounter',_0x5f4cc9,_0x54fc27['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x7cc2b1){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x23d4ad,_0x58cc92){if(_0x23d4ad['length']!==_0x58cc92['length'])return!0x1;for(let _0x2d775e=0x0;_0x2d775e<_0x23d4ad['length'];_0x2d775e++)if(_0x23d4ad[_0x2d775e]!==_0x58cc92[_0x2d775e])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x8e4e58=>_0x8e4e58['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x462f5e=>_0x462f5e['getAttribute']('footnoteId'))))return!0x1;let _0x5c5558=!0x1;for(let _0x2863fb=0x0;_0x2863fb<this['_footnotes']['length'];_0x2863fb++){const _0x2ab392=this['_footnotes'][_0x2863fb],_0x4062aa=_0x7cc2b1['createPositionBefore'](_0x2ab392['definition']),_0x282fe2=_0x7cc2b1['createPositionAt'](this['_footnotesDefinitions'],_0x2863fb);_0x4062aa['isEqual'](_0x282fe2)||(_0x7cc2b1['move'](_0x7cc2b1['createRangeOn'](_0x2ab392['definition']),_0x282fe2),_0x5c5558=!0x0);}return _0x5c5558;}['_ensureFootnotesReferencesHaveProperOrder'](_0x254789){if(!this['_footnotes']['length'])return!0x1;const {model:_0x38a47b}=this['editor'];let _0x22663b=!0x1;for(let _0x58e8f6=0x0;_0x58e8f6<this['_footnotes']['length']-0x1;_0x58e8f6++){const _0x432f64=this['_footnotes'][_0x58e8f6],_0x44b1d1=this['_footnotes'][_0x58e8f6+0x1],_0x494c35=_0x38a47b['createPositionBefore'](_0x432f64['reference']),_0xecc70d=_0x38a47b['createPositionBefore'](_0x44b1d1['reference']);'after'===_0x494c35['compareWith'](_0xecc70d)&&(this['_handleMovedFootnoteReference'](_0x254789,_0x432f64['reference']),_0x58e8f6=-0x1,_0x22663b=!0x0);}return _0x22663b;}};function K(_0x2fdf8f,_0x5957f0,_0x3f8ca8){if(_0x3f8ca8['childCount'])return!0x1;const _0x5c806e=_0x5957f0?'paragraph':'footnoteInlineContent';return _0x2fdf8f['insert'](_0x2fdf8f['createElement'](_0x5c806e),_0x3f8ca8),!0x0;}function T(_0x125a27,_0x249036,_0x2663d3){if(0x0===_0x249036['length'])return 0x0;const _0x13b454=_0x125a27['createPositionBefore'](_0x2663d3);for(let _0x77d34b=0x0;_0x77d34b<_0x249036['length'];_0x77d34b++){const _0x5eea64=_0x249036[_0x77d34b],_0x224985=_0x125a27['createPositionBefore'](_0x5eea64['reference']);if('before'===_0x13b454['compareWith'](_0x224985))return _0x77d34b;}const _0x4a1ba7=_0x2663d3['root'];let _0x4b5773=-0x1;for(let _0x55e7ef=_0x249036['length']-0x1;_0x55e7ef>=0x0;_0x55e7ef--)if(_0x249036[_0x55e7ef]['reference']['root']===_0x4a1ba7){_0x4b5773=_0x55e7ef;break;}if(-0x1!==_0x4b5773)return _0x4b5773+0x1;const _0x11b7d0=_0x125a27['document']['getRootNames'](),_0x2af136=_0x11b7d0[_0x11b7d0['indexOf'](_0x4a1ba7['rootName'])+0x1];if(_0x2af136){for(let _0x2b3a47=0x0;_0x2b3a47<_0x249036['length'];_0x2b3a47++)if(_0x249036[_0x2b3a47]['reference']['root']['rootName']===_0x2af136)return _0x2b3a47;}return _0x249036['length'];}var j=class extends _0x40cebc{['refresh'](){const _0x14ab28=this['editor']['model']['document']['selection'],_0xb97e17=this['_getPositionToInsertFootnote'](_0x14ab28);this['isEnabled']=!!_0xb97e17;}['execute'](_0x449e01){const {editor:_0x4c3ca8}=this,{model:_0x2a85c0}=_0x4c3ca8,{selection:_0x51cd3b}=_0x2a85c0['document'],_0x383c76=this['_getPositionToInsertFootnote'](_0x51cd3b);if(!_0x383c76)return;const _0x1a8650=_0x4c3ca8['plugins']['get']('FootnotesEditing'),_0x3b0899=_0x449e01?.['footnoteId']??_0x3a337e();!function(_0x155931){return'string'==typeof _0x155931&&_0x155931['length']>0x0&&!/\s/['test'](_0x155931)&&!/^\d/['test'](_0x155931);}(_0x3b0899)?_0x4ed117('insert-footnote-command-executed-with-invalid-id'):(_0x2a85c0['change'](_0x360494=>{const _0x3d7844=_0x360494['createElement']('footnoteRef',{'footnoteId':_0x3b0899});_0x2a85c0['insertObject'](_0x3d7844,_0x383c76,null);}),_0x1a8650['_moveSelectionToFootnoteDefinition'](_0x3b0899));}['_getPositionToInsertFootnote'](_0x37e198){const {model:_0x24bd57}=this['editor'],{schema:_0x2ff2a6}=_0x24bd57,_0x18d620=_0x37e198['getFirstRange']();for(const _0x442c5a of _0x18d620['getItems']())if(_0x2ff2a6['isBlock'](_0x442c5a)||_0x2ff2a6['isObject'](_0x442c5a))return null;const _0x3cb1d1=_0x18d620['end'];return _0x2ff2a6['checkChild'](_0x3cb1d1,'footnoteRef')?_0x3cb1d1:null;}},U=class extends _0x3c2801{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4fc84f}=this;_0x4fc84f['config']['define']('footnotes.multiBlock',!0x0),_0x4fc84f['commands']['add']('insertFootnote',new j(_0x4fc84f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x39ad69){const _0x1a8d94='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x246625=0x78e10,_0xdef768=window['Date']['now'](),_0x5d1bad=_0x39ad69['editor'],_0x6a8978=new window['Promise'](_0x589792=>{_0x5d1bad['once']('ready',_0x589792);}),_0x4f2f5d={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0xe9f7e0=_0x5d1bad['config']['get']('licenseKey');async function _0x13d48a(){let _0x22c79a,_0x52627c=null,_0x3a09d2=null;try{return'GPL'==_0xe9f7e0?'NotAllowed':(_0x22c79a=_0x5997e5(),_0x22c79a?(_0x22c79a['usageEndpoint']&&(_0x3a09d2=_0x542e44(_0x22c79a['usageEndpoint'],_0x22c79a['jti'])),await _0x3c8928()?_0xd857d2()?_0x5c46d2()?'Expired':_0x3d0fba()?('evaluation'==_0x22c79a['licenseType']&&(_0x52627c=_0x268018('EvaluationLimit')),await _0x534cf6()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5c46d2(){const _0x12b0e9=['evaluation','trial']['includes'](_0x22c79a['licenseType'])?_0xdef768/0x3e8:0xe10*_0x246625;return _0x22c79a['exp']<_0x12b0e9;}function _0xd857d2(){const _0x48458a=_0x22c79a['features'];return!!_0x48458a&&(!!_0x48458a['includes']('*')||!!_0x48458a['includes']('FOO'));}function _0x3d0fba(){const _0x333a8d=_0x22c79a['licensedHosts'];if(!_0x333a8d||0x0==_0x333a8d['length'])return!0x0;const {hostname:_0x5c3024}=new URL(window['location']['href']);if(_0x333a8d['includes'](_0x5c3024))return!0x0;const _0x26ea89=_0x5c3024['split']('.');return _0x333a8d['filter'](_0x489f45=>_0x489f45['includes']('*'))['map'](_0x4df7ab=>_0x4df7ab['split']('.'))['filter'](_0x2c29a3=>_0x2c29a3['length']<=_0x26ea89['length'])['map'](_0x4a6e6d=>Array(_0x26ea89['length']-_0x4a6e6d['length'])['fill']('*'===_0x4a6e6d[0x0]?'*':'')['concat'](_0x4a6e6d))['some'](_0x28455d=>_0x26ea89['every']((_0x293b45,_0x573d82)=>_0x28455d[_0x573d82]===_0x293b45||'*'===_0x28455d[_0x573d82]));}function _0x534cf6(){return _0x52627c&&_0x3a09d2?new window['Promise']((_0x2ba1da,_0x59dbf9)=>{_0x52627c['then'](_0x2ba1da,_0x59dbf9),_0x3a09d2['then'](_0x19979d=>{'Valid'!=_0x19979d&&_0x2ba1da(_0x19979d);},_0x59dbf9);}):_0x52627c||_0x3a09d2||'Valid';}}function _0x542e44(_0x5b6492,_0x378b5c){return new window['Promise'](_0x4b88b9=>{if(_0x2f4280())return _0x4b88b9('Valid');_0xcfd8e4(),_0x5d1bad['decorate']('_sendUsageRequest');let _0x218479=!0x1;const _0x85907b=_0x3a337e();function _0x1bafa6(_0x1c6c47){return!!_0x1c6c47&&('object'==typeof _0x1c6c47||'function'==typeof _0x1c6c47)&&'function'==typeof _0x1c6c47['then']&&'function'==typeof _0x1c6c47['catch'];}function _0x1bcb35(_0xc3c03c){_0x4f5486(_0xc3c03c)['then'](_0x36c4e1=>_0x36c4e1&&'ok'==_0x36c4e1['status']?_0x4d4cb2(_0xad6849(_0x85907b+_0x378b5c))!=_0x36c4e1['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x269d5d=>(_0x171e47(),_0x269d5d),()=>{const _0x35f90f=_0x16440e();return null==_0x35f90f?(_0x171e47(),'Valid'):_0xdef768-_0x35f90f>0x240c8400?'UsageLimit':'Valid';})['then'](_0x4b88b9)['catch'](()=>{_0x4b88b9('UsageLimit');});const _0x5c528d=0x36ee80;function _0x171e47(){const _0x351e10='llct-'+_0x4d4cb2(_0xad6849(_0x5b6492)),_0x5659bd=_0x23d6fd(_0x4d4cb2(window['Math']['ceil'](_0xdef768/_0x5c528d)));window['localStorage']['setItem'](_0x351e10,_0x5659bd);}function _0x16440e(){const _0x2b449f='llct-'+_0x4d4cb2(_0xad6849(_0x5b6492)),_0x180594=window['localStorage']['getItem'](_0x2b449f);return _0x180594?window['parseInt'](_0x23d6fd(_0x180594),0x10)*_0x5c528d:null;}function _0x4f5486(_0x21f353){return new window['Promise']((_0x1904c8,_0x53c22a)=>{_0x21f353['then'](_0x1904c8,_0x53c22a),window['setTimeout'](_0x53c22a,0x1d4c0);});}}_0x5d1bad['on']('_sendUsageRequest',(_0x363bd2,_0x2b927e)=>{if(_0x2b927e[0x0]!=_0x5b6492)return _0x4b88b9('UsageLimit');_0x2b927e[0x1]={..._0x2b927e[0x1],'requestId':_0x85907b};},{'priority':'high'}),_0x5d1bad['on']('_sendUsageRequest',_0x58a77e=>{_0x1bafa6(_0x58a77e['return'])&&(_0x218479=!0x0,_0x1bcb35(_0x58a77e['return']));},{'priority':'low'}),_0x6a8978['then'](()=>{_0x218479||_0x4b88b9('UsageLimit');});});function _0x2f4280(){return'auto'==_0x5d1bad['editing']['view']['_overlayModeHint'];}function _0xcfd8e4(){_0x5d1bad['editing']['view']['_overlayModeHint']='auto';}}function _0x268018(_0x1e6dc){const _0x1acdeb=[new window['Promise'](_0x46c22f=>setTimeout(_0x46c22f,0x93ecc)),_0x6a8978['then'](()=>new window['Promise'](_0xb436e4=>{let _0x2e3264=0x0;_0x5d1bad['model']['on']('applyOperation',(_0x199d84,_0xe6abf0)=>{_0xe6abf0[0x0]['isDocumentOperation']&&_0x2e3264++,0x5e8==_0x2e3264&&(_0xb436e4(),_0x199d84['off']());});}))];return window['Promise']['race'](_0x1acdeb)['then'](()=>_0x1e6dc);}async function _0x4cbf2f(){await _0x6a8978,_0x5d1bad['model']['change']=_0x5c7b2a,_0x5d1bad['model']['enqueueChange']=_0x5c7b2a,_0x5d1bad['enableReadOnlyMode']('model');}function _0x4c95d9(_0x692d48){const _0xbdbe96=_0x413ddb();_0x5d1bad[_0xbdbe96]='footnotesLicenseKey'+_0x692d48,'Valid'!=_0x692d48&&_0x4cbf2f();}function _0x413ddb(){const _0x37c7a7=window['String'](window['performance']['now']())['replace']('.','');let _0xa3cd02='u';for(let _0x2e3d17=0x0;_0x2e3d17<_0x37c7a7['length'];_0x2e3d17+=0x2){let _0x35d446=window['parseInt'](_0x37c7a7['substring'](_0x2e3d17,_0x2e3d17+0x2));_0x35d446>=0x3e&&(_0x35d446-=0x3e),_0xa3cd02+=_0x1a8d94[_0x35d446];}return _0xa3cd02;}function _0x5997e5(){const _0x49ef8a=_0xe9f7e0['split']('.');if(0x3!=_0x49ef8a['length'])return null;return _0x5a2a6e(_0x49ef8a[0x1]);function _0x5a2a6e(_0x3dc812){const _0x3b0f7d=_0x531dcb(_0x3dc812);return _0x3b0f7d&&_0x23a59d()?_0x3b0f7d:null;function _0x23a59d(){const _0x4de31a=_0x3b0f7d['jti'],_0xf67db9=window['parseInt'](_0x4de31a['substring'](_0x4de31a['length']-0x8),0x10),_0x31527f={..._0x3b0f7d,'jti':_0x4de31a['substring'](0x0,_0x4de31a['length']-0x8)};return delete _0x31527f['vc'],_0xad6849(_0x31527f)==_0xf67db9;}}}async function _0x3c8928(){let _0x2ef2a7=!0x0;try{const [_0x329fe4,_0x27abbd,_0x365a5d]=_0xe9f7e0['split']('.');return _0x41ad93(_0x329fe4),await _0x57c9df(_0x329fe4,_0x27abbd,_0x365a5d),_0x2ef2a7;}catch{return!0x1;}function _0x41ad93(_0xb35420){const _0x4da8a8=_0x531dcb(_0xb35420);_0x4da8a8&&'ES256'==_0x4da8a8['alg']||(_0x2ef2a7=!0x1);}async function _0x57c9df(_0x449467,_0x2950ff,_0x231721){const _0x7c44be=window['Uint8Array']['from'](_0x205899(_0x231721),_0x11e0ac=>_0x11e0ac['charCodeAt'](0x0)),_0x5b97c7=new window['TextEncoder']()['encode'](_0x449467+'.'+_0x2950ff),_0x49eb80=window['crypto']['subtle'];if(!_0x49eb80)return;const _0x2b2865=await _0x49eb80['importKey']('jwk',_0x4f2f5d,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x49eb80['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2b2865,_0x7c44be,_0x5b97c7)||(_0x2ef2a7=!0x1);}}function _0x531dcb(_0x5a6ead){return _0x5a6ead['startsWith']('ey')?JSON['parse'](_0x205899(_0x5a6ead)):null;}function _0x205899(_0x15ec25){return window['atob'](_0x15ec25['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xad6849(_0x54cc9d){let _0x1701af=0x1505;function _0x3bdfb5(_0x181b35){for(let _0x4c4a82=0x0;_0x4c4a82<_0x181b35['length'];_0x4c4a82++){const _0x416946=_0x181b35['charCodeAt'](_0x4c4a82);_0x1701af=(_0x1701af<<0x5)+_0x1701af+_0x416946,_0x1701af&=_0x1701af;}}function _0x34014a(_0x230d9a){Array['isArray'](_0x230d9a)?_0x230d9a['forEach'](_0x34014a):_0x230d9a&&'object'==typeof _0x230d9a?Object['entries'](_0x230d9a)['sort']()['forEach'](([_0x2e878f,_0x35e7d8])=>{_0x3bdfb5(_0x2e878f),_0x34014a(_0x35e7d8);}):_0x3bdfb5(window['String'](_0x230d9a));}return _0x34014a(_0x54cc9d),_0x1701af>>>0x0;}function _0x4d4cb2(_0x1f2444){return _0x1f2444['toString'](0x10)['padStart'](0x8,'0');}function _0x23d6fd(_0x11f608){return _0x11f608['split']('')['reverse']()['join']('');}function _0x5c7b2a(){}_0x4c95d9(await _0x13d48a());}(this);}['_moveSelectionToFootnoteDefinition'](_0x106583){const {plugins:_0x127131,editing:_0x160979,model:_0x175c9e}=this['editor'],_0x4443af=_0x127131['get'](V)['getFootnote'](_0x106583);return!!_0x4443af&&(_0x175c9e['change'](_0x7e12ea=>{_0x7e12ea['setSelection'](_0x7e12ea['createPositionAt'](_0x4443af['definition'],'end'));}),_0x160979['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x273d7a){const {plugins:_0x4d6e6d,editing:_0x244694,model:_0x3b006d}=this['editor'],_0x184906=_0x4d6e6d['get'](V)['getFootnote'](_0x273d7a);return!!_0x184906&&(_0x3b006d['change'](_0x2dee8b=>{_0x2dee8b['setSelection'](_0x184906['reference'],'on');}),_0x244694['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1cb22a}=this['editor']['model'],_0x13114a=this['editor']['config']['get']('footnotes.multiBlock');_0x1cb22a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1cb22a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1cb22a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x13114a?_0x1cb22a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1cb22a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1cb22a['addChildCheck'](_0x447be4=>{for(const _0x45440f of _0x447be4)if('footnoteDefinition'===_0x45440f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2badc1}=this,{conversion:_0x5d5559,editing:_0x37f9cc}=_0x2badc1,{t:t}=_0x2badc1['locale'];_0x5d5559['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2a40a0,{writer:_0x7d4e6f,consumable:_0x15febd})=>{const _0x352386=_0x2a40a0['getChild'](0x0);if(!_0x352386||!_0x352386['is']('element','a'))return null;const _0x45e949=_0x352386['getAttribute']('href')||'';if(!_0x45e949['startsWith']('#'))return null;const _0x39b630=_0x45e949['replace'](/^#/,'');if(!_0x39b630)return null;_0x15febd['consume'](_0x352386,{'name':!0x0,'attributes':['href']});for(const {item:_0x5aac28}of _0x37f9cc['view']['createRangeIn'](_0x352386))_0x5aac28['is']('$textProxy')?_0x15febd['consume'](_0x5aac28['textNode'],{'name':!0x0}):_0x5aac28['is']('element')&&_0x15febd['consume'](_0x5aac28,{'name':!0x0});return _0x7d4e6f['createElement']('footnoteRef',{'footnoteId':_0x39b630});}}),_0x5d5559['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x491f92,{writer:_0x146251})=>X(_0x491f92,_0x146251)}),_0x5d5559['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3d8f14,{writer:_0xe3221c})=>{const _0x4aa7f0=_0x3d8f14['getAttribute']('footnoteCounter');return _0xda8253(X(_0x3d8f14,_0xe3221c),_0xe3221c,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4aa7f0)});}});}['_defineDefinitionsConverters'](){const {editor:_0xced6db}=this,{t:t}=_0xced6db['locale'],{conversion:_0x1bbff8}=_0xced6db;_0x1bbff8['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1bbff8['for']('upcast')['add'](_0x5eaaf5=>{_0x5eaaf5['on']('element:ol',(_0x2e2b95,_0x35e029,_0x120fa6)=>{const _0x4afdb7=_0x35e029['viewItem'];if(!_0x4afdb7['hasClass']('footnotes-list')||!_0x35e029['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x120fa6['consumable']['consume'](_0x4afdb7,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5ac700,modelCursor:_0x5cde6a}=_0x120fa6['convertChildren'](_0x35e029['viewItem'],_0x35e029['modelCursor']);_0x35e029['modelRange']=_0x5ac700,_0x35e029['modelCursor']=_0x5cde6a;}),_0x5eaaf5['on']('element:hr',(_0x3672d1,_0x26a066,_0x226fa3)=>{const _0x349ea7=_0x26a066['viewItem'];_0x349ea7['hasClass']('footnotes-divider')&&_0x26a066['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x226fa3['consumable']['consume'](_0x349ea7,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1bbff8['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x374d85,{writer:_0x1128cd})=>H(_0x1128cd)}),_0x1bbff8['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x389c50,{writer:_0x28de92})=>{const _0x5072fa=_0xda8253(H(_0x28de92,{'data-footnotes-list-label':t('Footnotes')}),_0x28de92,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x28de92['setCustomProperty']('footnotesDefinitions',!0x0,_0x5072fa),_0x5072fa;}});}['_defineDefinitionConverters'](){const {editor:_0x2aae52}=this,{conversion:_0x5b795a,locale:_0x62125b}=_0x2aae52,_0x465adb=_0x2aae52['config']['get']('footnotes.multiBlock');_0x5b795a['for']('upcast')['add'](_0x292a53=>{_0x292a53['on']('element:li',(_0x1711a6,_0x606dce,_0x1f7915)=>{const _0x9d6a6b=_0x606dce['viewItem'];if(!_0x9d6a6b['hasClass']('footnote-definition')||!_0x9d6a6b['getAttribute']('id'))return;const _0x554b96=_0x9d6a6b['parent'];if(!_0x554b96['is']('element','ol')||!_0x554b96['hasClass']('footnotes-list'))return;if(!_0x1f7915['consumable']['test'](_0x9d6a6b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x556a89=_0x1f7915['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x9d6a6b['getAttribute']('id')});if(!_0x1f7915['safeInsert'](_0x556a89,_0x606dce['modelCursor']))return;_0x1f7915['consumable']['consume'](_0x9d6a6b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3dd9bf=Array['from'](_0x9d6a6b['getChildren']())['find'](_0x146b23=>_0x146b23['is']('element')&&_0x146b23['hasClass']('footnote-content'));for(const _0x35e733 of _0x9d6a6b['getChildren']())_0x35e733['is']('element')&&(_0x1f7915['consumable']['consume'](_0x35e733,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1f7915['consumable']['consume'](_0x35e733,{'name':!0x0,'classes':'footnote-content'}));if(_0x3dd9bf){if(_0x465adb)_0x1f7915['convertChildren'](_0x3dd9bf,_0x556a89);else{const _0x507463=_0x1f7915['writer']['createElement']('footnoteInlineContent');_0x1f7915['writer']['insert'](_0x507463,_0x556a89),_0x1f7915['convertChildren'](_0x3dd9bf,_0x507463);}}_0x1f7915['updateConversionResult'](_0x556a89,_0x606dce);});}),_0x5b795a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5f527d,{writer:_0x24be33})=>z(_0x5f527d,_0x24be33,_0x62125b,{'dataPipeline':!0x0})}),_0x5b795a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x23c631,{writer:_0x3b774f})=>z(_0x23c631,_0x3b774f,_0x62125b)});}['_defineBogusParagraphConverters'](){const {editor:_0x4fc00d}=this,{conversion:_0x107cf2}=_0x4fc00d;_0x4fc00d['config']['get']('footnotes.multiBlock')?(_0x107cf2['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':$(),'converterPriority':'high'}),_0x107cf2['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':$({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4fc00d['model']['document'],'change:data',()=>{!function(_0x784119,_0x3c707b){const _0x198242=_0x784119['document']['differ'],_0x2cae30=new Set();for(const _0x2d7517 of _0x198242['getChanges']()){const _0x284d12='attribute'==_0x2d7517['type']?_0x2d7517['range']['start']['parent']:_0x2d7517['position']['parent'];_0x284d12['is']('element','footnoteDefinition')&&_0x2cae30['add'](_0x284d12);}for(const _0x30528 of _0x2cae30['values']()){const _0x24cc94=Array['from'](_0x30528['getChildren']())['filter'](_0xef6617=>B(_0xef6617,_0x3c707b['mapper']));for(const _0x316ef6 of _0x24cc94)_0x3c707b['reconvertItem'](_0x316ef6);}}(_0x4fc00d['model'],_0x4fc00d['editing']);})):(_0x107cf2['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':$()}),_0x107cf2['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3c0ee3,{writer:_0x2b0ce4})=>{const _0x3670c4=_0x2b0ce4['createContainerElement']('span');return _0x2b0ce4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3670c4),_0x3670c4;}}));}['_defineKeyboardHandlers'](){const {editor:_0x455821}=this,{editing:_0x5d5f0c,t:t}=_0x455821,_0x13e10e=_0x455821['model']['document']['selection'];_0x455821['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x455821['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5d5f0c['view']['document'],'enter',(_0x375e1c,_0x11fad5)=>{const _0x4483e6=function(_0x21fb2b){const _0x4aabc5=_0x21fb2b['getSelectedElement']();return _0x4aabc5?.['is']('element','footnoteRef')?_0x4aabc5:null;}(_0x13e10e);if(_0x4483e6){const _0x1fe637=_0x4483e6['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1fe637),_0x11fad5['preventDefault'](),_0x375e1c['stop']();}},{'context':_0x15959c});}['_defineClickHandlers'](){const {editor:_0x428b1b}=this,{editing:_0x2798dd}=_0x428b1b;_0x428b1b['editing']['view']['addObserver'](_0x5f1aed),_0x428b1b['editing']['view']['addObserver'](_0x46b406);let _0x3579f2=!0x1;this['listenTo'](_0x2798dd['view']['document'],'pointerdown',(_0x23a09f,_0xbdf906)=>{const {target:_0x1f0106}=_0xbdf906,_0x474b71=_0x2798dd['view']['document']['selection'];_0x3579f2=!!(_0x1f0106?.['is']('element','a')&&_0x1f0106['parent']?.['is']('element','sup')&&_0x1f0106['parent']['hasClass']('footnote'))&&_0x474b71['getSelectedElement']()===_0x1f0106['parent'];},{'priority':'high'}),this['listenTo'](_0x2798dd['view']['document'],'click',(_0x2e924e,_0x3c2fa5)=>{const {target:_0xdbed1e}=_0x3c2fa5;if(!_0xdbed1e?.['is']('element','a'))return;if(_0xdbed1e['parent']?.['is']('element','sup')&&_0xdbed1e['parent']['hasClass']('footnote')&&!_0x3579f2)return void _0x3c2fa5['preventDefault']();let _0x40a055=_0xdbed1e['getAttribute']('href');if(!_0x40a055?.['startsWith']('#'))return;_0x40a055=_0x40a055['slice'](0x1);let _0x2dcc7f=!0x1;(_0x40a055['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x40a055['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x40a055))&&(_0x2dcc7f=!0x0),_0x2dcc7f&&(_0x3c2fa5['preventDefault'](),_0x2e924e['stop']());},{'priority':'high','context':'$capture'});}};function $({dataPipeline:_0x477f17}={}){return(_0x105043,{writer:_0x1fa2b6})=>{if(!M(_0x105043))return null;if(!_0x477f17)return _0x1fa2b6['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xcb0ac3=_0x1fa2b6['createContainerElement']('p');return _0x1fa2b6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xcb0ac3),_0xcb0ac3;};}function M(_0x535721){const {parent:_0x46d488}=_0x535721;if(!_0x46d488?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x46d488['childCount'])return!0x1;for(const _0xb6bf0e of _0x535721['getAttributeKeys']())if(!_0xb6bf0e['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xb6bf0e)return!0x1;return!0x0;}function B(_0x3d68cd,_0x4a03bd){if(!_0x3d68cd['is']('element','paragraph'))return!0x1;const _0x491a61=_0x4a03bd['toViewElement'](_0x3d68cd);return!!_0x491a61&&M(_0x3d68cd)!==_0x491a61['is']('element','span');}function q(_0x45a956){return _0x15959c(_0x45a956)&&_0x45a956['is']('containerElement')&&!!_0x45a956['getCustomProperty']('footnotesDefinitions');}function H(_0x3b5d5a,_0x3ebe46={}){const _0xfee851=_0x3b5d5a['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5b890e=_0x3b5d5a['createContainerElement']('ol',{'class':'footnotes-list'},_0x3b5d5a['createSlot']());return _0x3b5d5a['createContainerElement']('div',{'class':'footnotes',..._0x3ebe46},[_0xfee851,_0x5b890e]);}function X(_0x24a55d,_0x193a09){const _0x2a5973=_0x24a55d['getAttribute']('footnoteId'),_0x56156e=_0x24a55d['getAttribute']('footnoteCounter'),_0x20b491=_0x193a09['createUIElement']('a',{'href':'#'+_0x2a5973},function(_0x30f104){const _0x2e3ca6=this['toDomElement'](_0x30f104);return _0x2e3ca6['textContent']=_0x56156e,_0x2e3ca6;}),_0x1d82ec=_0x193a09['createContainerElement']('sup',{'id':'ref-'+_0x2a5973,'class':'footnote'},[_0x20b491]);return _0x1d82ec['getFillerOffset']=()=>null,_0x1d82ec;}function z(_0x245a3a,_0x4d61a2,_0xbd77c9,{dataPipeline:_0x41470c}={}){const {t:t}=_0xbd77c9,_0x1c426b=_0x245a3a['getAttribute']('footnoteId'),_0x599619=_0x4d61a2['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1c426b},function(_0x41405d){const _0x377bbc=this['toDomElement'](_0x41405d);return _0x377bbc['innerText']='^',_0x377bbc;}),_0x4bd569=_0x41470c?_0x4d61a2['createContainerElement']('div',{'class':'footnote-content'}):_0x37566b(_0x4d61a2['createEditableElement']('div',{'class':'footnote-content'}),_0x4d61a2,{'label':t('Footnote\x20content.')});return _0x4d61a2['insert'](_0x4d61a2['createPositionAt'](_0x4bd569,0x0),_0x4d61a2['createSlot']()),_0x4d61a2['createContainerElement']('li',{'class':'footnote-definition','id':_0x1c426b},[_0x599619,_0x4bd569]);}var J=class extends _0x3c2801{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[U,_0x4c7e0c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x53beaa}=this,{plugins:_0xf9ff3f,model:_0x113679}=_0x53beaa,_0x57a215=_0xf9ff3f['get'](_0x4c7e0c),_0x53417f=_0xf9ff3f['get'](V);this['listenTo'](_0x57a215,'outputTransformation',(_0xe5c6f9,_0x3bb05a)=>{const _0x175ed2=G(_0x113679['createRangeIn'](_0x3bb05a['content']));if(!_0x175ed2['length'])return;const _0xddbc64=_0x53417f['getFootnotes'](),_0x1cc399=_0x175ed2['reduce']((_0x84bc71,_0x3f90cf)=>{const _0x188bc4=_0xddbc64['find'](_0x16fd4e=>_0x16fd4e['id']===_0x3f90cf);if(_0x188bc4){const _0x5b16df=_0x53beaa['data']['toView'](_0x188bc4['definition'],{'isClipboardPipeline':!0x0}),_0x37c071=_0x53beaa['data']['htmlProcessor']['toData'](_0x5b16df);_0x84bc71[_0x188bc4['id']]=_0x37c071;}return _0x84bc71;},Object['create'](null));_0x3bb05a['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x1cc399));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x2d6b94}=this,{model:_0x3022f8,plugins:_0x1981b6}=_0x2d6b94,{view:_0x480187}=_0x2d6b94['editing'],_0x4665f6=_0x1981b6['get'](_0x4c7e0c),_0x1b9f68=_0x1981b6['get'](V),_0x57c4c5=_0x2d6b94['config']['get']('footnotes.multiBlock');let _0x11ef20=null;this['listenTo'](_0x480187['document'],'clipboardInput',(_0x554e8e,_0x5e8838)=>{const _0x39bd8b=_0x5e8838['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x11ef20=_0x39bd8b?JSON['parse'](_0x39bd8b):null;}),this['listenTo'](_0x4665f6,'contentInsertion',(_0x256714,_0x4ba1a1)=>{const _0x4ffeef=_0x4ba1a1['sourceEditorId']===this['editor']['id'];_0x4ffeef&&'drop'===_0x4ba1a1['method']||_0x3022f8['change'](_0x394e2b=>{let _0x557451=_0x1b9f68['getFootnotesDefinitionsObjectElement']();const _0x134cb4=!!_0x557451&&Array['from'](_0x3022f8['document']['selection']['getSelectedBlocks']())['includes'](_0x557451);if(!_0x11ef20&&function(_0x1ac330){for(const {item:_0x50ff2c}of _0x1ac330)if(_0x50ff2c['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x3022f8['createRangeIn'](_0x4ba1a1['content']))&&(_0x11ef20=function(_0x197f3b,_0x40972d){const _0x1f8a00=Q(_0x197f3b,_0x40972d);if(!_0x1f8a00)return null;const _0x2ab2ce=Object['create'](null);for(const _0x3426e8 of _0x1f8a00['getChildren']())_0x3426e8['is']('element','footnoteDefinition')&&_0x3426e8['hasAttribute']('footnoteId')&&(_0x2ab2ce[_0x3426e8['getAttribute']('footnoteId')]=_0x197f3b['cloneElement'](_0x3426e8,!0x0));return Object['keys'](_0x2ab2ce)['length']?_0x2ab2ce:null;}(_0x394e2b,_0x4ba1a1['content'])),(_0x557451&&!_0x134cb4||!_0x557451&&!_0x11ef20)&&function(_0x5c19e7,_0x4b9a10){const _0x36c344=[];for(const {item:_0x4a28df}of _0x5c19e7['createRangeIn'](_0x4b9a10))_0x4a28df['is']('element','footnotesDefinitions')&&_0x36c344['push'](_0x4a28df);for(const _0x36bc51 of _0x36c344)_0x5c19e7['remove'](_0x36bc51);}(_0x394e2b,_0x4ba1a1['content']),!_0x11ef20)return;const {selection:_0x6005a9}=_0x3022f8['document'],_0x4146e1=_0x6005a9['getFirstRange']()['root'];_0x557451&&!_0x134cb4||(_0x557451=Q(_0x394e2b,_0x4ba1a1['content']),_0x557451||=_0x1b9f68['_insertEmptyFootnotesDefinitionsContainer'](_0x394e2b,_0x4146e1));const _0x3ef21a=Array['from'](_0x6005a9['getRanges']())['flatMap'](G),_0x4a6d83=function(_0x323c64,_0xc73d99,_0x2e94fb){const _0xba8a44=Object['create'](null);for(const {item:_0x2acfec}of _0x323c64['createRangeIn'](_0xc73d99))if(_0x2acfec['is']('element','footnoteRef')){const _0x57b6fe=_0x2acfec['getAttribute']('footnoteId');if(!_0x2e94fb(_0x57b6fe))continue;_0xba8a44[_0x57b6fe]||(_0xba8a44[_0x57b6fe]=_0x3a337e()),_0x323c64['setAttribute']('footnoteId',_0xba8a44[_0x57b6fe],_0x2acfec);}return _0xba8a44;}(_0x394e2b,_0x4ba1a1['content'],_0x13083b=>!_0x4ffeef||!!_0x1b9f68['getFootnote'](_0x13083b)&&!_0x3ef21a['includes'](_0x13083b));for(const [_0x3a9607,_0x189b88]of Object['entries'](_0x11ef20)){const _0x5779ee=_0x4a6d83[_0x3a9607]||_0x3a9607;let _0x5a8ddc;if('string'!=typeof _0x189b88)_0x5a8ddc=_0x189b88,_0x5779ee!==_0x3a9607&&_0x394e2b['setAttribute']('footnoteId',_0x5779ee,_0x5a8ddc);else{_0x5a8ddc=_0x394e2b['createElement']('footnoteDefinition',{'footnoteId':_0x5779ee});const _0x20f899=_0x2d6b94['data']['htmlProcessor']['toView'](_0x189b88);let _0x424ecf;if(_0x57c4c5)_0x424ecf=_0x2d6b94['data']['toModel'](_0x20f899,_0x5a8ddc);else{_0x424ecf=_0x394e2b['createElement']('footnoteInlineContent');const _0x2ea10e=_0x2d6b94['data']['toModel'](_0x20f899,_0x424ecf);_0x394e2b['insert'](_0x2ea10e,_0x424ecf);}_0x394e2b['append'](_0x424ecf,_0x5a8ddc);}_0x394e2b['insert'](_0x5a8ddc,_0x557451,'end');}_0x11ef20=null;});});}};function Q(_0x530fe3,_0x5c8737){for(const {item:_0x17b18d}of _0x530fe3['createRangeIn'](_0x5c8737))if(_0x17b18d['is']('element','footnotesDefinitions'))return _0x17b18d;return null;}function G(_0x2b73e0){const _0x3a1f6c=new Set();for(const {item:_0x8cd7e0}of _0x2b73e0)_0x8cd7e0['is']('element','footnoteRef')&&_0x3a1f6c['add'](_0x8cd7e0['getAttribute']('footnoteId'));return Array['from'](_0x3a1f6c);}var W=class extends _0x3c2801{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x36dc3c}=this,{componentFactory:_0x450667}=_0x36dc3c['ui'];_0x450667['add']('insertFootnote',Y(_0x36dc3c,_0x48db93)),_0x450667['add']('menuBar:insertFootnote',Y(_0x36dc3c,_0x31cd99)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2c3ad3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3900d1;for(const _0x3ee209 in _0x2c3ad3){const _0x1bff0d=_0x3ee209,_0x288b1a=_0x2c3ad3[_0x1bff0d];if('footnotesLicenseKeyValid'==_0x288b1a||'footnotesLicenseKeyInvalid'==_0x288b1a||'footnotesLicenseKeyExpired'==_0x288b1a||'footnotesLicenseKeyDomainLimit'==_0x288b1a||'footnotesLicenseKeyNotAllowed'==_0x288b1a||'footnotesLicenseKeyEvaluationLimit'==_0x288b1a||'footnotesLicenseKeyUsageLimit'==_0x288b1a){delete _0x2c3ad3[_0x1bff0d],_0x3900d1=_0x288b1a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3900d1&&_0x2c3ad3['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3900d1&&_0x2c3ad3['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3900d1&&_0x2c3ad3['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3900d1&&_0x2c3ad3['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3900d1&&_0x2c3ad3['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x3900d1&&_0x2c3ad3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Y(_0x5c7639,_0x3eba3e){const _0x25d01b=_0x5c7639['commands']['get']('insertFootnote');return _0x2b1cb5=>{const {t:t}=_0x2b1cb5,_0x24b04a=new _0x3eba3e(_0x2b1cb5),_0x1b1ad6=_0x24b04a instanceof _0x31cd99;return _0x24b04a['bind']('isEnabled')['to'](_0x25d01b,'isEnabled'),_0x24b04a['set']({'label':t(_0x1b1ad6?'Footnote':'Insert\x20footnote'),'icon':_0x410db1,'tooltip':!0x0}),_0x24b04a['on']('execute',()=>{_0x25d01b['execute'](),_0x5c7639['editing']['view']['focus']();}),_0x24b04a;};}var Z=class extends _0x3c2801{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[U,J,W];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const tt=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],et=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),ot=[...tt,'arabic-indic','lower-alpha','upper-alpha'];var nt=class extends _0x40cebc{['refresh'](){const {editor:_0x543db2}=this,_0x2bb05c=_0x543db2['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x2bb05c,this['value']=_0x2bb05c?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x40957d}){const {editor:_0x59ca0d}=this,_0x257606=_0x59ca0d['plugins']['get'](V),_0xbdee21=_0x257606['getFootnotesDefinitionsObjectElement']();_0xbdee21&&ot['includes'](_0x40957d)&&_0x59ca0d['model']['change'](_0x544db1=>{_0x544db1['setAttribute']('footnotesListStyle',_0x40957d,_0xbdee21),_0x257606['_updateFootnotesCounters'](_0x544db1);});}},it=class extends _0x40cebc{['refresh'](){const {editor:_0x50206b}=this,_0xd4c725=_0x50206b['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xd4c725,this['value']=_0xd4c725?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x5eaf0c}){const {editor:_0x48cd85}=this,_0x186177=_0x48cd85['plugins']['get'](V),_0x43b21a=_0x186177['getFootnotesDefinitionsObjectElement']();_0x43b21a&&Number['isInteger'](_0x5eaf0c)&&_0x48cd85['model']['change'](_0x211a25=>{_0x211a25['setAttribute']('footnotesListStart',_0x5eaf0c,_0x43b21a),_0x186177['_updateFootnotesCounters'](_0x211a25);});}};function st({style:_0x43d6f6,digits:_0x5d7bdf,value:_0xc843d5}){const _0x5ae878=Math['floor'](_0xc843d5),_0x4ebbdb=function(_0x1c29ea){switch(_0x1c29ea){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};}}(_0x43d6f6);switch((_0x5ae878>_0x4ebbdb['max']||_0x5ae878<_0x4ebbdb['min'])&&(_0x43d6f6='decimal'),_0x43d6f6){case'decimal-leading-zero':return function(_0x50afaf,_0x2e1644){return String(_0x50afaf)['padStart'](_0x2e1644,'0');}(_0x5ae878,Math['max'](0x2,_0x5d7bdf));case'lower-alpha':case'lower-latin':return rt(_0x5ae878,!0x1);case'upper-alpha':case'upper-latin':return rt(_0x5ae878,!0x0);case'lower-roman':return at(_0x5ae878,!0x1);case'upper-roman':return at(_0x5ae878,!0x0);case'arabic-indic':return String(_0x5ae878)['replace'](/\d/g,_0x444fd6=>ft[Number(_0x444fd6)]);default:return String(_0x5ae878);}}function rt(_0x405c86,_0x248190){let _0x14ec95='',_0x4c68c3=_0x405c86;for(;_0x4c68c3>0x0;){const _0x590f95=(_0x4c68c3-0x1)%0x1a;_0x14ec95=String['fromCharCode'](0x61+_0x590f95)+_0x14ec95,_0x4c68c3=Math['floor']((_0x4c68c3-0x1)/0x1a);}return _0x248190?_0x14ec95['toUpperCase']():_0x14ec95;}const lt=[{'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 at(_0x1964e6,_0x496c4c){let _0xd2da5c='',_0x2118fd=_0x1964e6;for(const {value:_0x37e8a8,numeral:_0x3e1f05}of lt)for(;_0x2118fd>=_0x37e8a8;)_0xd2da5c+=_0x3e1f05,_0x2118fd-=_0x37e8a8;return _0x496c4c?_0xd2da5c:_0xd2da5c['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ct=class extends _0x3c2801{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[U,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x404787}=this;_0x404787['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x404787['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x404787['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x404787['commands']['add']('footnotesStyle',new nt(_0x404787)),_0x404787['commands']['add']('footnotesStart',new it(_0x404787)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x5ee7cc}=this,{schema:_0x4a50ad}=_0x5ee7cc['model'];_0x4a50ad['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x17de33}=this,{conversion:_0x5331cd,model:_0x569ef2}=_0x17de33,{schema:_0x8d0079}=_0x569ef2;_0x5331cd['for']('upcast')['add'](_0x2d85d6=>{_0x2d85d6['on']('element:ol',(_0x24f9ea,_0x7549bc,_0x3ffdc2)=>{const _0x5a3016=_0x7549bc['viewItem'],_0x5406b6=_0x7549bc['modelCursor']?.['parent'];_0x5a3016['hasClass']('footnotes-list')&&_0x5406b6?.['is']('element','footnotesDefinitions')&&(function(_0x57c35c,_0x363caa,_0x52b9e5,_0x142fa7){if(!_0x142fa7['checkAttribute'](_0x363caa,'footnotesListStart'))return;let _0x4fd7b7=0x1;const _0x561047=_0x52b9e5['consumable']['consume'](_0x57c35c,{'attributes':'start'});if(_0x561047){const _0x290309=Number['parseInt'](_0x57c35c['getAttribute']('start'),0xa);Number['isNaN'](_0x290309)||(_0x4fd7b7=_0x290309);}!_0x561047&&_0x363caa['hasAttribute']('footnotesListStart')||_0x52b9e5['writer']['setAttribute']('footnotesListStart',_0x4fd7b7,_0x363caa);}(_0x5a3016,_0x5406b6,_0x3ffdc2,_0x8d0079),function(_0x88c27a,_0x1752df,_0x5d799e,_0x461da9){if(!_0x461da9['checkAttribute'](_0x1752df,'footnotesListStyle'))return;let _0x1d06f7='decimal',_0x555212=!0x1;if(_0x5d799e['consumable']['consume'](_0x88c27a,{'attributes':'type'})){const _0x37535a={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x88c27a['getAttribute']('type')];_0x37535a&&(_0x1d06f7=_0x37535a),_0x555212=!0x0;}if(_0x5d799e['consumable']['consume'](_0x88c27a,{'styles':'list-style-type'})){const _0x272f1=ut(_0x88c27a['getStyle']('list-style-type'));_0x272f1&&(_0x1d06f7=_0x272f1),_0x555212=!0x0;}!_0x555212&&_0x1752df['hasAttribute']('footnotesListStyle')||_0x5d799e['writer']['setAttribute']('footnotesListStyle',_0x1d06f7,_0x1752df);}(_0x5a3016,_0x5406b6,_0x3ffdc2,_0x8d0079));});}),_0x5331cd['for']('downcast')['add'](_0x2cce67=>{_0x2cce67['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x59ed85,_0x5c1258,_0x3c626c)=>{if(!_0x3c626c['consumable']['consume'](_0x5c1258['item'],_0x59ed85['name']))return;const _0x364fef=dt(_0x5c1258['item'],_0x3c626c['mapper']),{attributeNewValue:_0x3a7ab2}=_0x5c1258;null==_0x3a7ab2||0x1===_0x3a7ab2?_0x3c626c['writer']['removeAttribute']('start',_0x364fef):_0x3c626c['writer']['setAttribute']('start',String(_0x3a7ab2),_0x364fef);}),_0x2cce67['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x2669e9,_0x5aadc0,_0x4f1683)=>{if(!_0x4f1683['consumable']['consume'](_0x5aadc0['item'],_0x2669e9['name']))return;const _0x56feee=dt(_0x5aadc0['item'],_0x4f1683['mapper']),{attributeNewValue:_0x2ea7c8}=_0x5aadc0;_0x2ea7c8&&'decimal'!==_0x2ea7c8?_0x4f1683['writer']['setStyle']('list-style-type',_0x2ea7c8,_0x56feee):_0x4f1683['writer']['removeStyle']('list-style-type',_0x56feee);});});}['_definePostfixer'](){const {editor:_0x192e1c}=this,{model:_0x5d35a1}=_0x192e1c,_0x3c5315=_0x192e1c['plugins']['get'](V),_0x2818f6=this['_getDefaultListStyle'](),_0x55f41f=this['_getDefaultStartIndex']();_0x5d35a1['document']['registerPostFixer'](_0xcf02df=>{const _0x384233=_0x5d35a1['document']['differ']['getChanges']();let _0x50d75a=!0x1;for(const _0x5ec7e8 of _0x384233){if('insert'!==_0x5ec7e8['type']||'$text'===_0x5ec7e8['name'])continue;const _0x23daf1=_0x5d35a1['createRangeOn'](_0x5ec7e8['position']['nodeAfter']);for(const _0x659023 of _0x23daf1['getItems']())_0x659023['is']('element','footnotesDefinitions')&&(!_0x659023['hasAttribute']('footnotesListStart')&&_0x5d35a1['schema']['checkAttribute'](_0x659023,'footnotesListStart')&&(_0xcf02df['setAttribute']('footnotesListStart',_0x55f41f,_0x659023),_0x50d75a=!0x0),!_0x659023['hasAttribute']('footnotesListStyle')&&_0x5d35a1['schema']['checkAttribute'](_0x659023,'footnotesListStyle')&&(_0xcf02df['setAttribute']('footnotesListStyle',_0x2818f6,_0x659023),_0x50d75a=!0x0));}return _0x50d75a&&_0x3c5315['_updateFootnotesCounters'](_0xcf02df),_0x50d75a;});}['_defineFormatter'](){const {editor:_0x5df908}=this;_0x5df908['plugins']['get'](V)['setFootnoteFormatter'](_0x32236c=>this['_formatFootnoteListValue'](_0x32236c));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x431882,value:_0x28c854,digits:_0x4da0ed}){const _0x1b741d=_0x431882['getAttribute']('footnotesListStyle');return st({'value':_0x28c854+(_0x431882['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x1b741d,'digits':_0x4da0ed});}};function ut(_0x40f517){if('string'==typeof _0x40f517){const _0x51d99d=et[_0x40f517];if(_0x51d99d)return _0x51d99d;if(ot['includes'](_0x40f517))return _0x40f517;}return null;}function dt(_0x3944ad,_0x2246c6){const _0x3aad00=_0x2246c6['toViewElement'](_0x3944ad);return Array['from'](_0x3aad00['getChildren']())['find'](_0x452e92=>_0x452e92['is']('element','ol')&&_0x452e92['hasClass']('footnotes-list'));}var ht=class extends _0x2d801b{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x5c8227();['keystrokes']=new _0x5448d3();['focusables']=new _0x25c27b();['focusCycler'];constructor(_0x2f6dab,{styleButtonViews:_0x4b7a21,styleGridAriaLabel:_0x4049b7}){super(_0x2f6dab),(this['focusCycler']=new _0x256785({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4b7a21,_0x4049b7),[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 _0x20bb2f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x20bb2f['element']);_0x44557f({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x3620f6['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 _0x1f5e89=_0x149fbe=>_0x149fbe['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1f5e89),this['keystrokes']['set']('arrowleft',_0x1f5e89),this['keystrokes']['set']('arrowup',_0x1f5e89),this['keystrokes']['set']('arrowdown',_0x1f5e89);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x283214,_0x24fc72){const _0x434568=new _0x2d801b(this['locale']);return _0x434568['children']=_0x434568['createCollection'](),_0x434568['children']['addMany'](_0x283214),_0x434568['setTemplate']({'tag':'div','attributes':{'aria-label':_0x24fc72,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x434568['children']}),_0x434568['children']['delegate']('execute')['to'](this),_0x434568['focus']=function(){for(const _0x42e9a3 of this['children'])if(_0x42e9a3 instanceof _0x48db93&&_0x42e9a3['isOn'])return void _0x42e9a3['focus']();this['children']['first']['focus']();},_0x434568['focusTracker']=new _0x5c8227(),_0x434568['keystrokes']=new _0x5448d3(),_0x434568['render'](),_0x434568['keystrokes']['listenTo'](_0x434568['element']),this['children']['add'](_0x434568),_0x434568;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x194a56=this['_createStartIndexPropertyView'](),_0x182a8f=[_0x194a56],_0x2f7de8=new _0x145818(this['locale'],_0x182a8f);return _0x2f7de8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2f7de8['buttonView']['bind']('isEnabled')['toMany'](_0x182a8f,'isEnabled',(..._0x1eddee)=>_0x1eddee['some'](_0x29feb7=>_0x29feb7)),_0x2f7de8['buttonView']['on']('change:isEnabled',(_0x44cd98,_0x3e5bbd,_0x57082d)=>{_0x57082d||(_0x2f7de8['isCollapsed']=!0x0);}),this['children']['add'](_0x2f7de8),[_0x194a56,_0x2f7de8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x32cfcd=new _0x53a25e(this['locale'],_0x5ec6df);return _0x32cfcd['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x32cfcd['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x32cfcd['fieldView']['on']('input',()=>{const _0x53e547=_0x32cfcd['fieldView']['element'],_0x4d982a=_0x53e547['valueAsNumber'];Number['isNaN'](_0x4d982a)?_0x32cfcd['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x53e547['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4d982a}):_0x32cfcd['errorText']=t(_0x4d982a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x32cfcd;}},mt=class extends _0x3c2801{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x216079,_0x39c5bf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd29324}=this,{componentFactory:_0x718bb0}=_0xd29324['ui'];_0xd29324['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x718bb0['add']('footnotesStyle',function(_0x3d4d52){return _0x22aa69=>{const {t:t}=_0x22aa69,_0x347b24=_0x3d4d52['commands']['get']('footnotesStyle'),_0x58c1d6=_0x66644d(_0x22aa69),{buttonView:_0x56206f}=_0x58c1d6;return _0x58c1d6['class']='ck-footnotes-styles-dropdown',_0x58c1d6['bind']('isEnabled')['to'](_0x347b24,'isEnabled'),_0x56206f['set']({'label':t('Footnotes\x20style'),'icon':_0x410db1,'tooltip':!0x0}),_0x58c1d6['once']('change:isOpen',()=>{const _0x270ab8=function({editor:_0x2b5bf0,dropdownView:_0x1c05f2}){const {t:t}=_0x2b5bf0['locale'],_0x45a0b6=t('Footnotes\x20definitions\x20styles'),_0x3fe862=function(_0x5e4c68){const {t:t}=_0x5e4c68['locale'],_0x5e3829=_0x5e4c68['config']['get']('footnotes.footnotesProperties.listStyles'),_0x37f3bb=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x185d9b},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x3c66ae},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x588bcc},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x31e852},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x1357a2},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x249890},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x1c2b0e}];return _0x5e3829['map'](_0x2b5157=>{const _0x5094ed=ut(_0x2b5157);return function(_0x34ac90,_0x313218){const {locale:_0x15d09d}=_0x34ac90,{label:_0x4b444f,icon:_0x50915c,tooltip:_0x3f2ac1,style:_0x55e654}=_0x313218,_0x4b2cd7=_0x34ac90['commands']['get']('footnotesStyle'),_0x874cc6=new _0x48db93(_0x15d09d);return _0x874cc6['set']({'label':_0x4b444f,'icon':_0x50915c,'tooltip':_0x3f2ac1}),_0x874cc6['bind']('isOn')['to'](_0x4b2cd7,'value',_0x3de279=>_0x3de279===_0x55e654),_0x874cc6['bind']('isEnabled')['to'](_0x4b2cd7,'isEnabled'),_0x874cc6['on']('execute',()=>{_0x34ac90['execute']('footnotesStyle',{'value':_0x55e654}),_0x34ac90['editing']['view']['focus']();}),_0x874cc6;}(_0x5e4c68,_0x37f3bb['find'](_0x343f04=>_0x343f04['style']===_0x5094ed));});}(_0x2b5bf0),_0x564c73=new ht(_0x2b5bf0['locale'],{'styleGridAriaLabel':_0x45a0b6,'styleButtonViews':_0x3fe862}),_0x3d8ced=_0x2b5bf0['commands']['get']('footnotesStart');return _0x564c73['startIndexFieldView']['bind']('isEnabled')['to'](_0x3d8ced),_0x564c73['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3d8ced),_0x564c73['on']('footnotesListStart',(_0x2699f7,_0x1fc449)=>{_0x2b5bf0['execute']('footnotesStart',{'value':_0x1fc449['startIndex']});}),_0x564c73['delegate']('execute')['to'](_0x1c05f2),_0x564c73;}({'editor':_0x3d4d52,'dropdownView':_0x58c1d6});_0x58c1d6['panelView']['children']['add'](_0x270ab8);}),_0x58c1d6;};}(_0xd29324));}['afterInit'](){const {editor:_0x59caa4}=this,{t:t}=_0x59caa4['locale'],_0x298925=_0x59caa4['plugins']['get'](_0x39c5bf),{defaultPositions:_0xe6ff91}=_0x3fbacb;_0x298925['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x59caa4['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xd5c526=>{let _0x27c9a8=_0xd5c526['getFirstPosition']()?.['parent'];return _0x27c9a8?.['is']('$text')&&(_0x27c9a8=_0x27c9a8['parent']),_0x27c9a8?.['is']('element')?_0x27c9a8['findAncestor'](q):null;},'positions':[_0xe6ff91['southArrowNorth'],_0xe6ff91['southArrowNorthMiddleWest'],_0xe6ff91['southArrowNorthMiddleEast'],_0xe6ff91['southArrowNorthWest'],_0xe6ff91['southArrowNorthEast'],_0xe6ff91['northArrowSouth'],_0xe6ff91['northArrowSouthMiddleWest'],_0xe6ff91['northArrowSouthMiddleEast'],_0xe6ff91['northArrowSouthWest'],_0xe6ff91['northArrowSouthEast'],_0xe6ff91['viewportStickyNorth']]});}},pt=class extends _0x3c2801{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[ct,mt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{Z as Footnotes,J as FootnotesClipboard,U as FootnotesEditing,pt as FootnotesProperties,ct as FootnotesPropertiesEditing,mt as FootnotesPropertiesUI,it as FootnotesStartCommand,nt as FootnotesStyleCommand,V as FootnotesTracker,W as FootnotesUI,j 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':_0xbe7a84=>0x1!=_0xbe7a84}};
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':_0x3a9fcc=>0x1!=_0x3a9fcc}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x18cd17=>{const {af:{dictionary:_0x40cfea,getPluralForm:_0x169182}}={'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':_0x47f851=>0x1!=_0x47f851}};_0x18cd17['af']||={'dictionary':{},'getPluralForm':null},_0x18cd17['af']['dictionary']=Object['assign'](_0x18cd17['af']['dictionary'],_0x40cfea),_0x18cd17['af']['getPluralForm']=_0x169182;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x4fbce4=>{const {af:{dictionary:_0x33669f,getPluralForm:_0x437ba9}}={'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':_0x29e2b4=>0x1!=_0x29e2b4}};_0x4fbce4['af']||={'dictionary':{},'getPluralForm':null},_0x4fbce4['af']['dictionary']=Object['assign'](_0x4fbce4['af']['dictionary'],_0x33669f),_0x4fbce4['af']['getPluralForm']=_0x437ba9;})(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':_0xb6deae=>0x0==_0xb6deae?0x0:0x1==_0xb6deae?0x1:0x2==_0xb6deae?0x2:_0xb6deae%0x64>=0x3&&_0xb6deae%0x64<=0xa?0x3:_0xb6deae%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':_0x14e1ab=>0x0==_0x14e1ab?0x0:0x1==_0x14e1ab?0x1:0x2==_0x14e1ab?0x2:_0x14e1ab%0x64>=0x3&&_0x14e1ab%0x64<=0xa?0x3:_0x14e1ab%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x21deae=>{const {ar:{dictionary:_0x305406,getPluralForm:_0x5b19d2}}={'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':_0x1c66f9=>0x0==_0x1c66f9?0x0:0x1==_0x1c66f9?0x1:0x2==_0x1c66f9?0x2:_0x1c66f9%0x64>=0x3&&_0x1c66f9%0x64<=0xa?0x3:_0x1c66f9%0x64>=0xb?0x4:0x5}};_0x21deae['ar']||={'dictionary':{},'getPluralForm':null},_0x21deae['ar']['dictionary']=Object['assign'](_0x21deae['ar']['dictionary'],_0x305406),_0x21deae['ar']['getPluralForm']=_0x5b19d2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3ff240=>{const {ar:{dictionary:_0x38eab7,getPluralForm:_0x1c67b0}}={'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':_0x2e8cba=>0x0==_0x2e8cba?0x0:0x1==_0x2e8cba?0x1:0x2==_0x2e8cba?0x2:_0x2e8cba%0x64>=0x3&&_0x2e8cba%0x64<=0xa?0x3:_0x2e8cba%0x64>=0xb?0x4:0x5}};_0x3ff240['ar']||={'dictionary':{},'getPluralForm':null},_0x3ff240['ar']['dictionary']=Object['assign'](_0x3ff240['ar']['dictionary'],_0x38eab7),_0x3ff240['ar']['getPluralForm']=_0x1c67b0;})(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':_0x3573b0=>0x1!=_0x3573b0}};
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':_0x17f69e=>0x1!=_0x17f69e}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x172235=>{const {ast:{dictionary:_0x701570,getPluralForm:_0x76867b}}={'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':_0x1bc390=>0x1!=_0x1bc390}};_0x172235['ast']||={'dictionary':{},'getPluralForm':null},_0x172235['ast']['dictionary']=Object['assign'](_0x172235['ast']['dictionary'],_0x701570),_0x172235['ast']['getPluralForm']=_0x76867b;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x5d90d0=>{const {ast:{dictionary:_0x1063f6,getPluralForm:_0x43d227}}={'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':_0x4b5e3e=>0x1!=_0x4b5e3e}};_0x5d90d0['ast']||={'dictionary':{},'getPluralForm':null},_0x5d90d0['ast']['dictionary']=Object['assign'](_0x5d90d0['ast']['dictionary'],_0x1063f6),_0x5d90d0['ast']['getPluralForm']=_0x43d227;})(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':_0x87750b=>0x1!=_0x87750b}};
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':_0x333b92=>0x1!=_0x333b92}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x353e55=>{const {az:{dictionary:_0x1c59d8,getPluralForm:_0x3dc767}}={'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':_0x29c49e=>0x1!=_0x29c49e}};_0x353e55['az']||={'dictionary':{},'getPluralForm':null},_0x353e55['az']['dictionary']=Object['assign'](_0x353e55['az']['dictionary'],_0x1c59d8),_0x353e55['az']['getPluralForm']=_0x3dc767;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x23e78e=>{const {az:{dictionary:_0x5290c7,getPluralForm:_0x509be2}}={'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':_0x5849e0=>0x1!=_0x5849e0}};_0x23e78e['az']||={'dictionary':{},'getPluralForm':null},_0x23e78e['az']['dictionary']=Object['assign'](_0x23e78e['az']['dictionary'],_0x5290c7),_0x23e78e['az']['getPluralForm']=_0x509be2;})(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':_0x2d5726=>_0x2d5726%0xa==0x1&&_0x2d5726%0x64!=0xb?0x0:_0x2d5726%0xa>=0x2&&_0x2d5726%0xa<=0x4&&(_0x2d5726%0x64<0xa||_0x2d5726%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':_0x4be407=>_0x4be407%0xa==0x1&&_0x4be407%0x64!=0xb?0x0:_0x4be407%0xa>=0x2&&_0x4be407%0xa<=0x4&&(_0x4be407%0x64<0xa||_0x4be407%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1e8f71=>{const {be:{dictionary:_0x46c068,getPluralForm:_0x426c81}}={'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':_0x34e665=>_0x34e665%0xa==0x1&&_0x34e665%0x64!=0xb?0x0:_0x34e665%0xa>=0x2&&_0x34e665%0xa<=0x4&&(_0x34e665%0x64<0xa||_0x34e665%0x64>=0x14)?0x1:0x2}};_0x1e8f71['be']||={'dictionary':{},'getPluralForm':null},_0x1e8f71['be']['dictionary']=Object['assign'](_0x1e8f71['be']['dictionary'],_0x46c068),_0x1e8f71['be']['getPluralForm']=_0x426c81;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x20619c=>{const {be:{dictionary:_0x5cceb0,getPluralForm:_0x2ccd9c}}={'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':_0x2a80a7=>_0x2a80a7%0xa==0x1&&_0x2a80a7%0x64!=0xb?0x0:_0x2a80a7%0xa>=0x2&&_0x2a80a7%0xa<=0x4&&(_0x2a80a7%0x64<0xa||_0x2a80a7%0x64>=0x14)?0x1:0x2}};_0x20619c['be']||={'dictionary':{},'getPluralForm':null},_0x20619c['be']['dictionary']=Object['assign'](_0x20619c['be']['dictionary'],_0x5cceb0),_0x20619c['be']['getPluralForm']=_0x2ccd9c;})(window['CKEDITOR_TRANSLATIONS']||={});