@ckeditor/ckeditor5-footnotes 48.3.1 → 48.4.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/dist/footnotesproperties/footnotespropertiesui.d.ts +0 -1
  2. package/dist/footnotesui.d.ts +0 -1
  3. package/dist/index-content.css +51 -50
  4. package/dist/index-editor.css +49 -52
  5. package/dist/index.css +76 -72
  6. package/dist/index.d.ts +2 -0
  7. package/dist/index.js +1 -1
  8. package/dist/translations/af.js +1 -1
  9. package/dist/translations/af.umd.js +1 -1
  10. package/dist/translations/ar.js +1 -1
  11. package/dist/translations/ar.umd.js +1 -1
  12. package/dist/translations/ast.js +1 -1
  13. package/dist/translations/ast.umd.js +1 -1
  14. package/dist/translations/az.js +1 -1
  15. package/dist/translations/az.umd.js +1 -1
  16. package/dist/translations/be.js +1 -1
  17. package/dist/translations/be.umd.js +1 -1
  18. package/dist/translations/bg.js +1 -1
  19. package/dist/translations/bg.umd.js +1 -1
  20. package/dist/translations/bn.js +1 -1
  21. package/dist/translations/bn.umd.js +1 -1
  22. package/dist/translations/bs.js +1 -1
  23. package/dist/translations/bs.umd.js +1 -1
  24. package/dist/translations/ca.js +1 -1
  25. package/dist/translations/ca.umd.js +1 -1
  26. package/dist/translations/cs.js +1 -1
  27. package/dist/translations/cs.umd.js +1 -1
  28. package/dist/translations/da.js +1 -1
  29. package/dist/translations/da.umd.js +1 -1
  30. package/dist/translations/de-ch.js +1 -1
  31. package/dist/translations/de-ch.umd.js +1 -1
  32. package/dist/translations/de.js +1 -1
  33. package/dist/translations/de.umd.js +1 -1
  34. package/dist/translations/el.js +1 -1
  35. package/dist/translations/el.umd.js +1 -1
  36. package/dist/translations/en-au.js +1 -1
  37. package/dist/translations/en-au.umd.js +1 -1
  38. package/dist/translations/en-gb.js +1 -1
  39. package/dist/translations/en-gb.umd.js +1 -1
  40. package/dist/translations/en.js +1 -1
  41. package/dist/translations/en.umd.js +1 -1
  42. package/dist/translations/eo.js +1 -1
  43. package/dist/translations/eo.umd.js +1 -1
  44. package/dist/translations/es-co.js +1 -1
  45. package/dist/translations/es-co.umd.js +1 -1
  46. package/dist/translations/es.js +1 -1
  47. package/dist/translations/es.umd.js +1 -1
  48. package/dist/translations/et.js +1 -1
  49. package/dist/translations/et.umd.js +1 -1
  50. package/dist/translations/eu.js +1 -1
  51. package/dist/translations/eu.umd.js +1 -1
  52. package/dist/translations/fa.js +1 -1
  53. package/dist/translations/fa.umd.js +1 -1
  54. package/dist/translations/fi.js +1 -1
  55. package/dist/translations/fi.umd.js +1 -1
  56. package/dist/translations/fr.js +1 -1
  57. package/dist/translations/fr.umd.js +1 -1
  58. package/dist/translations/gl.js +1 -1
  59. package/dist/translations/gl.umd.js +1 -1
  60. package/dist/translations/gu.js +1 -1
  61. package/dist/translations/gu.umd.js +1 -1
  62. package/dist/translations/he.js +1 -1
  63. package/dist/translations/he.umd.js +1 -1
  64. package/dist/translations/hi.js +1 -1
  65. package/dist/translations/hi.umd.js +1 -1
  66. package/dist/translations/hr.js +1 -1
  67. package/dist/translations/hr.umd.js +1 -1
  68. package/dist/translations/hu.js +1 -1
  69. package/dist/translations/hu.umd.js +1 -1
  70. package/dist/translations/hy.js +1 -1
  71. package/dist/translations/hy.umd.js +1 -1
  72. package/dist/translations/id.js +1 -1
  73. package/dist/translations/id.umd.js +1 -1
  74. package/dist/translations/it.js +1 -1
  75. package/dist/translations/it.umd.js +1 -1
  76. package/dist/translations/ja.js +1 -1
  77. package/dist/translations/ja.umd.js +1 -1
  78. package/dist/translations/jv.js +1 -1
  79. package/dist/translations/jv.umd.js +1 -1
  80. package/dist/translations/kk.js +1 -1
  81. package/dist/translations/kk.umd.js +1 -1
  82. package/dist/translations/km.js +1 -1
  83. package/dist/translations/km.umd.js +1 -1
  84. package/dist/translations/kn.js +1 -1
  85. package/dist/translations/kn.umd.js +1 -1
  86. package/dist/translations/ko.js +1 -1
  87. package/dist/translations/ko.umd.js +1 -1
  88. package/dist/translations/ku.js +1 -1
  89. package/dist/translations/ku.umd.js +1 -1
  90. package/dist/translations/lt.js +1 -1
  91. package/dist/translations/lt.umd.js +1 -1
  92. package/dist/translations/lv.js +1 -1
  93. package/dist/translations/lv.umd.js +1 -1
  94. package/dist/translations/ms.js +1 -1
  95. package/dist/translations/ms.umd.js +1 -1
  96. package/dist/translations/nb.js +1 -1
  97. package/dist/translations/nb.umd.js +1 -1
  98. package/dist/translations/ne.js +1 -1
  99. package/dist/translations/ne.umd.js +1 -1
  100. package/dist/translations/nl.js +1 -1
  101. package/dist/translations/nl.umd.js +1 -1
  102. package/dist/translations/no.js +1 -1
  103. package/dist/translations/no.umd.js +1 -1
  104. package/dist/translations/oc.js +1 -1
  105. package/dist/translations/oc.umd.js +1 -1
  106. package/dist/translations/pl.js +1 -1
  107. package/dist/translations/pl.umd.js +1 -1
  108. package/dist/translations/pt-br.js +1 -1
  109. package/dist/translations/pt-br.umd.js +1 -1
  110. package/dist/translations/pt.js +1 -1
  111. package/dist/translations/pt.umd.js +1 -1
  112. package/dist/translations/ro.js +1 -1
  113. package/dist/translations/ro.umd.js +1 -1
  114. package/dist/translations/ru.js +1 -1
  115. package/dist/translations/ru.umd.js +1 -1
  116. package/dist/translations/si.js +1 -1
  117. package/dist/translations/si.umd.js +1 -1
  118. package/dist/translations/sk.js +1 -1
  119. package/dist/translations/sk.umd.js +1 -1
  120. package/dist/translations/sl.js +1 -1
  121. package/dist/translations/sl.umd.js +1 -1
  122. package/dist/translations/sq.js +1 -1
  123. package/dist/translations/sq.umd.js +1 -1
  124. package/dist/translations/sr-latn.js +1 -1
  125. package/dist/translations/sr-latn.umd.js +1 -1
  126. package/dist/translations/sr.js +1 -1
  127. package/dist/translations/sr.umd.js +1 -1
  128. package/dist/translations/sv.js +1 -1
  129. package/dist/translations/sv.umd.js +1 -1
  130. package/dist/translations/th.js +1 -1
  131. package/dist/translations/th.umd.js +1 -1
  132. package/dist/translations/ti.js +1 -1
  133. package/dist/translations/ti.umd.js +1 -1
  134. package/dist/translations/tk.js +1 -1
  135. package/dist/translations/tk.umd.js +1 -1
  136. package/dist/translations/tr.js +1 -1
  137. package/dist/translations/tr.umd.js +1 -1
  138. package/dist/translations/tt.js +1 -1
  139. package/dist/translations/tt.umd.js +1 -1
  140. package/dist/translations/ug.js +1 -1
  141. package/dist/translations/ug.umd.js +1 -1
  142. package/dist/translations/uk.js +1 -1
  143. package/dist/translations/uk.umd.js +1 -1
  144. package/dist/translations/ur.js +1 -1
  145. package/dist/translations/ur.umd.js +1 -1
  146. package/dist/translations/uz.js +1 -1
  147. package/dist/translations/uz.umd.js +1 -1
  148. package/dist/translations/vi.js +1 -1
  149. package/dist/translations/vi.umd.js +1 -1
  150. package/dist/translations/zh-cn.js +1 -1
  151. package/dist/translations/zh-cn.umd.js +1 -1
  152. package/dist/translations/zh.js +1 -1
  153. package/dist/translations/zh.umd.js +1 -1
  154. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Command as _0x592ec1,Plugin as _0x48a90d}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x4941b3,isWidget as _0xf5d76a,toWidget as _0x405d66,toWidgetEditable as _0x2cffd4}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x1dac5e,KeystrokeHandler as _0x351a3e,global as _0x4137f7,logWarning as _0x348630,uid as _0xa1c5fd}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x25a24f,PointerObserver as _0x76428e}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x2053fb}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x142f36,ButtonView as _0xf1d576,CollapsibleView as _0x52d97a,ContextualBalloon as _0x3415a8,FocusCycler as _0x1190ba,LabeledFieldView as _0x26e5d0,MenuBarMenuListItemButtonView as _0x41ed66,View as _0x2ed611,ViewCollection as _0x50cdd2,addKeyboardHandlingForGrid as _0x469511,createDropdown as _0x245502,createLabeledInputNumber as _0xa557c6}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x2c44b3,IconListStyleArabicIndic as _0x524237,IconListStyleDecimal as _0x15a54c,IconListStyleDecimalLeadingZero as _0x1e6434,IconListStyleLowerLatin as _0xdf17ab,IconListStyleLowerRoman as _0x2899d8,IconListStyleUpperLatin as _0x1dc7fe,IconListStyleUpperRoman as _0x2948df}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x2cd003,_0x458ab8){this['_model']=_0x2cd003,this['_elementName']=_0x458ab8['elementName'],this['_getElementKey']=_0x458ab8['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x4df7f8){const _0x5242e9=new Set(),_0x9ba1bf=new Map();for(const _0x41df90 of _0x4df7f8){if('insert'===_0x41df90['type']&&'$text'!==_0x41df90['name']&&_0x41df90['position']['nodeAfter']){const _0x5c8155=this['_model']['createRangeOn'](_0x41df90['position']['nodeAfter']);for(const _0x3a2e7a of _0x5c8155['getItems']()){if(!_0x3a2e7a['is']('element',this['_elementName']))continue;const _0x22ede3=this['_getElementKey'](_0x3a2e7a);_0x9ba1bf['has'](_0x22ede3)||_0x9ba1bf['set'](_0x22ede3,[]),_0x9ba1bf['get'](_0x22ede3)['push'](_0x3a2e7a);}}if('remove'===_0x41df90['type']&&_0x41df90['name']===this['_elementName']){const _0x410b2b=this['_getElementKey']({'getAttribute':_0x5253e4=>_0x41df90['attributes']['get'](_0x5253e4)});_0x5242e9['add'](_0x410b2b);}}for(const [_0x133652,_0xbbaa34]of this['_trackedElements'])'$graveyard'===_0xbbaa34['root']['rootName']&&_0x5242e9['add'](_0x133652);for(const _0x363870 of _0x5242e9)this['_trackedElements']['delete'](_0x363870);for(const [_0x3d826c,_0x3a4686]of _0x9ba1bf)this['_trackedElements']['set'](_0x3d826c,_0x3a4686[_0x3a4686['length']-0x1]);const _0x1b0387=new Set();for(const [_0x44bba4,_0x4fe9c9]of _0x9ba1bf)_0x5242e9['has'](_0x44bba4)&&(_0x1b0387['add'](_0x4fe9c9[0x0]),_0x4fe9c9['length']>0x1?_0x9ba1bf['set'](_0x44bba4,_0x4fe9c9['slice'](0x1)):_0x9ba1bf['delete'](_0x44bba4),_0x5242e9['delete'](_0x44bba4));return{'removed':Array['from'](_0x5242e9),'inserted':Array['from'](_0x9ba1bf['values']())['flat'](),'moved':Array['from'](_0x1b0387)};}},V=class extends _0x48a90d{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x512994){super(_0x512994),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x2520a8=>_0x2520a8['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0xf06ea7=>_0xf06ea7['getAttribute']('footnoteId')});}['init'](){const {editor:_0x14bcb3}=this,{model:_0xcb500,data:_0x6dd5a}=_0x14bcb3;_0xcb500['document']['registerPostFixer'](_0x437a65=>{const _0x159669=_0xcb500['document']['differ']['getChanges']();let _0x46fe46=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x437a65,_0x159669)&&(_0x46fe46=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x437a65,_0x159669)&&(_0x46fe46=!0x0),this['_handleFootnoteReferencesChanges'](_0x437a65,_0x159669)&&(_0x46fe46=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x437a65)&&(_0x46fe46=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x437a65)&&(_0x46fe46=!0x0),this['_sortFootnoteDefinitions'](_0x437a65)&&(_0x46fe46=!0x0),_0x46fe46;}),this['listenTo'](_0xcb500['document'],'change:data',()=>{_0xcb500['enqueueChange']({'isUndoable':!0x1},_0x1950da=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1950da);});},{'priority':'low'}),this['listenTo'](_0x6dd5a,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x43d170){return this['_footnotes']['find'](_0xa7a938=>_0xa7a938['id']===_0x43d170)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x1de5bb){this['_footnoteFormatter']=_0x1de5bb;}['_updateFootnotesCounters'](_0xc96429,_0x32a6c8=0x0){let _0x3f7f75=!0x1;for(let _0x2ecc36=_0x32a6c8;_0x2ecc36<this['_footnotes']['length'];_0x2ecc36++)this['_updateFootnoteRefCounter'](_0xc96429,_0x2ecc36)&&(_0x3f7f75=!0x0);return _0x3f7f75;}['_insertEmptyFootnotesDefinitionsContainer'](_0x47b17c,_0x527448){const _0x2dfe06=_0x47b17c['createElement']('footnotesDefinitions',{});return _0x47b17c['append'](_0x2dfe06,_0x527448),this['_footnotesDefinitions']=_0x2dfe06,_0x2dfe06;}['_ensureFootnotesDefinitionsContainerExists'](_0x1d8793){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x538090=this['_footnotes'][0x0]['reference']['root'],_0x2ade5c=this['_insertEmptyFootnotesDefinitionsContainer'](_0x1d8793,_0x538090);for(const _0x5c7310 of this['_footnotes'])_0x5c7310['definition']['parent']||_0x1d8793['insert'](_0x5c7310['definition'],_0x2ade5c,'end');this['_updateFootnotesCounters'](_0x1d8793);}['_handleFootnotesDefinitionsObjectChanges'](_0x111fe8,_0x30f145){let _0x33e299=!0x1;const {inserted:_0x419513,removed:_0x20f40c,moved:_0x189820}=this['_footnoteDefsContainerTracker']['getChanges'](_0x30f145);if(_0x189820['length']&&(this['_footnotesDefinitions']=_0x189820[0x0]),_0x419513['length']){if(_0x419513['length']>0x1||this['_footnotesDefinitions']&&_0x419513['some'](_0x29b810=>_0x29b810!==this['_footnotesDefinitions'])){const _0x3d0190=_0x111fe8['createElement']('footnotesDefinitions',{}),_0x6a437e=[];this['_footnotesDefinitions']&&_0x6a437e['push'](this['_footnotesDefinitions']),_0x6a437e['push'](..._0x419513),_0x111fe8['insert'](_0x3d0190,_0x6a437e[0x0],'before');for(const _0x49bd0a of _0x6a437e)_0x111fe8['move'](_0x111fe8['createRangeIn'](_0x49bd0a),_0x111fe8['createPositionAt'](_0x3d0190,'end')),_0x111fe8['remove'](_0x49bd0a);this['_footnotesDefinitions']=_0x3d0190,this['_updateFootnotesCounters'](_0x111fe8),_0x33e299=!0x0;}else this['_footnotesDefinitions']=_0x419513[0x0];}if(_0x20f40c['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x232394 of this['_footnotes'])_0x111fe8['remove'](_0x232394['reference']),_0x33e299=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x33e299;}['_handleFootnoteDefinitionsChanges'](_0x101178,_0xe1fae0){let _0x20a96e=!0x1;const _0x486e4a=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x47e7ce,moved:_0x275fe2}=this['_footnoteDefsTracker']['getChanges'](_0xe1fae0);for(const _0x1f6485 of[..._0x275fe2,..._0x47e7ce]){const _0x558fb0=_0x1f6485['getAttribute']('footnoteId'),_0x2091a0=this['getFootnote'](_0x558fb0);_0x2091a0&&(_0x2091a0['definition']=_0x1f6485),K(_0x101178,_0x486e4a,_0x1f6485)&&(_0x20a96e=!0x0);}return _0x20a96e;}['_handleFootnoteReferencesChanges'](_0xe5ca4f,_0x5bdf11){let _0x5f4ade=!0x1;const {removed:_0x3521c9,inserted:_0x445ae0,moved:_0xe0867}=this['_footnoteRefsTracker']['getChanges'](_0x5bdf11);for(const _0x97c127 of _0x3521c9)this['_handleRemoveFootnoteReferenceById'](_0xe5ca4f,_0x97c127)&&(_0x5f4ade=!0x0);for(const _0x4d9e9f of _0x445ae0)this['_handleInsertedFootnoteReference'](_0xe5ca4f,_0x4d9e9f)&&(_0x5f4ade=!0x0);for(const _0x166dcf of _0xe0867)this['_handleMovedFootnoteReference'](_0xe5ca4f,_0x166dcf)&&(_0x5f4ade=!0x0);return _0x5f4ade;}['_handleFootnotesDefinitionsObjectSync'](_0x29dbdc){if(!this['_footnotesDefinitions'])return!0x1;let _0x353097=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x1af548=[];for(const _0x25a7a6 of this['_footnotesDefinitions']['getChildren']()){const _0x49dc57=_0x25a7a6['getAttribute']('footnoteId');this['getFootnote'](_0x49dc57)||(_0x1af548['unshift'](_0x25a7a6),_0x353097=!0x0);}for(const _0x40cec5 of _0x1af548)_0x29dbdc['remove'](_0x40cec5);}const _0x545b02=new Set(),_0x4a20f2=[];for(const _0xc74f32 of this['_footnotesDefinitions']['getChildren']()){const _0x1de0a1=_0xc74f32['getAttribute']('footnoteId');_0x545b02['has'](_0x1de0a1)?(_0x4a20f2['unshift'](_0xc74f32),_0x353097=!0x0):_0x545b02['add'](_0x1de0a1);}for(const _0x574f25 of _0x4a20f2)_0x29dbdc['remove'](_0x574f25);return this['_footnotesDefinitions']['childCount']||(_0x29dbdc['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x353097=!0x0),_0x353097;}['_handleInsertedFootnoteReference'](_0x3d676a,_0x546fa0){if(this['_footnotes']['find'](_0x386215=>_0x386215['reference']===_0x546fa0))return!0x1;let _0x42f8e0=!0x1;const _0x49049f=_0x546fa0['getAttribute']('footnoteId'),_0x56dd99=this['_footnotes']['findIndex'](_0x3b4a9c=>_0x3b4a9c['id']===_0x49049f);-0x1!==_0x56dd99&&(_0x3d676a['remove'](this['_footnotes'][_0x56dd99]['reference']),this['_footnotes']['splice'](_0x56dd99,0x1),_0x42f8e0=!0x0);let _0x136064=this['_footnotesDefinitions']?function(_0xee6ed4,_0x7c3052){for(const _0x4b4b8e of _0xee6ed4['getChildren']())if(_0x4b4b8e['getAttribute']('footnoteId')===_0x7c3052)return _0x4b4b8e;return null;}(this['_footnotesDefinitions'],_0x49049f):null;_0x136064||(_0x136064=_0x3d676a['createElement']('footnoteDefinition',{'footnoteId':_0x49049f}),this['_footnotesDefinitions']&&(_0x3d676a['insert'](_0x136064,this['_footnotesDefinitions'],'end'),_0x42f8e0=!0x0));const _0xb125d0={'id':_0x49049f,'reference':_0x546fa0,'definition':_0x136064},_0x189958=T(this['editor']['model'],this['_footnotes'],_0x546fa0);this['_footnotes']['splice'](_0x189958,0x0,_0xb125d0);let _0x43b46e=_0x189958;return-0x1!==_0x56dd99&&(_0x43b46e=Math['min'](_0x189958,_0x56dd99)),this['_updateFootnotesCounters'](_0x3d676a,_0x43b46e)&&(_0x42f8e0=!0x0),_0x42f8e0;}['_handleRemoveFootnoteReferenceById'](_0x2fdafc,_0x4c2c6e){const _0x5321dd=this['_footnotes']['findIndex'](_0x1b90b6=>_0x1b90b6['id']===_0x4c2c6e);if(-0x1===_0x5321dd)return!0x1;let _0x1bef1c=!0x1;const _0x1ffdc6=this['_footnotes'][_0x5321dd];return'$graveyard'!==_0x1ffdc6['definition']['root']['rootName']&&(_0x2fdafc['remove'](_0x1ffdc6['definition']),_0x1bef1c=!0x0),this['_footnotes']['splice'](_0x5321dd,0x1),this['_updateFootnotesCounters'](_0x2fdafc,_0x5321dd)&&(_0x1bef1c=!0x0),_0x1bef1c;}['_handleMovedFootnoteReference'](_0x568ced,_0x4395dc){const _0xaa7cac=_0x4395dc['getAttribute']('footnoteId'),_0x238b9f=this['_footnotes']['findIndex'](_0xa4e9ed=>_0xa4e9ed['id']===_0xaa7cac),_0x4705d3=this['_footnotes'][_0x238b9f];let _0x3b9774=!0x1;_0x4705d3['reference']=_0x4395dc,this['_footnotes']['splice'](_0x238b9f,0x1);const _0x44f7a4=T(this['editor']['model'],this['_footnotes'],_0x4395dc);return this['_footnotes']['splice'](_0x44f7a4,0x0,_0x4705d3),this['_updateFootnotesCounters'](_0x568ced,Math['min'](_0x238b9f,_0x44f7a4))&&(_0x3b9774=!0x0),_0x3b9774;}['_updateFootnoteRefCounter'](_0x51dfe4,_0x4646d1){if(!this['_footnotesDefinitions'])return!0x1;const _0x2c98bb=this['_footnotes'][_0x4646d1];let _0x3dea97;return _0x3dea97=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2c98bb,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x4646d1+0x1}):String(_0x4646d1+0x1),_0x2c98bb['reference']['getAttribute']('footnoteCounter')!=_0x3dea97&&(_0x51dfe4['setAttribute']('footnoteCounter',_0x3dea97,_0x2c98bb['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x1b0151){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x419a67,_0x3e85c3){if(_0x419a67['length']!==_0x3e85c3['length'])return!0x1;for(let _0x4553eb=0x0;_0x4553eb<_0x419a67['length'];_0x4553eb++)if(_0x419a67[_0x4553eb]!==_0x3e85c3[_0x4553eb])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x598750=>_0x598750['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x217baa=>_0x217baa['getAttribute']('footnoteId'))))return!0x1;let _0xa45a5d=!0x1;for(let _0x45f59d=0x0;_0x45f59d<this['_footnotes']['length'];_0x45f59d++){const _0xffbbba=this['_footnotes'][_0x45f59d],_0x2f77ec=_0x1b0151['createPositionBefore'](_0xffbbba['definition']),_0x325df3=_0x1b0151['createPositionAt'](this['_footnotesDefinitions'],_0x45f59d);_0x2f77ec['isEqual'](_0x325df3)||(_0x1b0151['move'](_0x1b0151['createRangeOn'](_0xffbbba['definition']),_0x325df3),_0xa45a5d=!0x0);}return _0xa45a5d;}['_ensureFootnotesReferencesHaveProperOrder'](_0x42729e){if(!this['_footnotes']['length'])return!0x1;const {model:_0x30584e}=this['editor'];let _0x1e41ca=!0x1;for(let _0x42563f=0x0;_0x42563f<this['_footnotes']['length']-0x1;_0x42563f++){const _0x2d0435=this['_footnotes'][_0x42563f],_0x69751b=this['_footnotes'][_0x42563f+0x1],_0x32dc55=_0x30584e['createPositionBefore'](_0x2d0435['reference']),_0x44b3ad=_0x30584e['createPositionBefore'](_0x69751b['reference']);'after'===_0x32dc55['compareWith'](_0x44b3ad)&&(this['_handleMovedFootnoteReference'](_0x42729e,_0x2d0435['reference']),_0x42563f=-0x1,_0x1e41ca=!0x0);}return _0x1e41ca;}};function K(_0x2e773d,_0x20ac4b,_0x502827){if(_0x502827['childCount'])return!0x1;const _0x4aa0cf=_0x20ac4b?'paragraph':'footnoteInlineContent';return _0x2e773d['insert'](_0x2e773d['createElement'](_0x4aa0cf),_0x502827),!0x0;}function T(_0x804f4f,_0x521c5b,_0x59a5d5){if(0x0===_0x521c5b['length'])return 0x0;const _0x1eb5fc=_0x804f4f['createPositionBefore'](_0x59a5d5);for(let _0x5a2635=0x0;_0x5a2635<_0x521c5b['length'];_0x5a2635++){const _0x18e0ed=_0x521c5b[_0x5a2635],_0x2ae1f5=_0x804f4f['createPositionBefore'](_0x18e0ed['reference']);if('before'===_0x1eb5fc['compareWith'](_0x2ae1f5))return _0x5a2635;}const _0x2c9579=_0x59a5d5['root'];let _0x1da708=-0x1;for(let _0x1365a4=_0x521c5b['length']-0x1;_0x1365a4>=0x0;_0x1365a4--)if(_0x521c5b[_0x1365a4]['reference']['root']===_0x2c9579){_0x1da708=_0x1365a4;break;}if(-0x1!==_0x1da708)return _0x1da708+0x1;const _0x2c5aa5=_0x804f4f['document']['getRootNames'](),_0x1cc4c4=_0x2c5aa5[_0x2c5aa5['indexOf'](_0x2c9579['rootName'])+0x1];if(_0x1cc4c4){for(let _0x136dc0=0x0;_0x136dc0<_0x521c5b['length'];_0x136dc0++)if(_0x521c5b[_0x136dc0]['reference']['root']['rootName']===_0x1cc4c4)return _0x136dc0;}return _0x521c5b['length'];}var j=class extends _0x592ec1{['refresh'](){const _0x2aacbc=this['editor']['model']['document']['selection'],_0x50801b=this['_getPositionToInsertFootnote'](_0x2aacbc);this['isEnabled']=!!_0x50801b;}['execute'](_0x5c24fb){const {editor:_0x20ee83}=this,{model:_0x5eb80b}=_0x20ee83,{selection:_0x3981b4}=_0x5eb80b['document'],_0x2ae643=this['_getPositionToInsertFootnote'](_0x3981b4);if(!_0x2ae643)return;const _0xe950d0=_0x20ee83['plugins']['get']('FootnotesEditing'),_0x472b1f=_0x5c24fb?.['footnoteId']??_0xa1c5fd();!function(_0x21f12e){return'string'==typeof _0x21f12e&&_0x21f12e['length']>0x0&&!/\s/['test'](_0x21f12e)&&!/^\d/['test'](_0x21f12e);}(_0x472b1f)?_0x348630('insert-footnote-command-executed-with-invalid-id'):(_0x5eb80b['change'](_0x41f786=>{const _0x3db603=_0x41f786['createElement']('footnoteRef',{'footnoteId':_0x472b1f});_0x5eb80b['insertObject'](_0x3db603,_0x2ae643,null);}),_0xe950d0['_moveSelectionToFootnoteDefinition'](_0x472b1f));}['_getPositionToInsertFootnote'](_0x5bd0af){const {model:_0x2c503c}=this['editor'],{schema:_0x3be34c}=_0x2c503c,_0x4006eb=_0x5bd0af['getFirstRange']();for(const _0x41a6f2 of _0x4006eb['getItems']())if(_0x3be34c['isBlock'](_0x41a6f2)||_0x3be34c['isObject'](_0x41a6f2))return null;const _0x5a05ef=_0x4006eb['end'];return _0x3be34c['checkChild'](_0x5a05ef,'footnoteRef')?_0x5a05ef:null;}},U=class extends _0x48a90d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x238e45}=this;_0x238e45['config']['define']('footnotes.multiBlock',!0x0),_0x238e45['commands']['add']('insertFootnote',new j(_0x238e45)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5164cf){const _0x4e3255='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0xf2d4eb=0x78fc0,_0x33738a=window['Date']['now'](),_0x23bd31=_0x5164cf['editor'],_0x299765=new window['Promise'](_0x9b37e6=>{_0x23bd31['once']('ready',_0x9b37e6);}),_0x326f30={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x2d1a44=_0x23bd31['config']['get']('licenseKey');async function _0x500cb0(){let _0x3bd4ed,_0xe653a1=null,_0x23dc7a=null;try{return'GPL'==_0x2d1a44?'NotAllowed':(_0x3bd4ed=_0x1b6199(),_0x3bd4ed?(_0x3bd4ed['usageEndpoint']&&(_0x23dc7a=_0x56b9de(_0x3bd4ed['usageEndpoint'],_0x3bd4ed['jti'])),await _0x188eef()?_0x266343()?_0x29d376()?'Expired':_0x540d9a()?('evaluation'==_0x3bd4ed['licenseType']&&(_0xe653a1=_0x5746cc('EvaluationLimit')),await _0x3cfb7e()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x29d376(){const _0x3d36a2=['evaluation','trial']['includes'](_0x3bd4ed['licenseType'])?_0x33738a/0x3e8:0xe10*_0xf2d4eb;return _0x3bd4ed['exp']<_0x3d36a2;}function _0x266343(){const _0x36df80=_0x3bd4ed['features'];return!!_0x36df80&&(!!_0x36df80['includes']('*')||!!_0x36df80['includes']('FOO'));}function _0x540d9a(){const _0xb2dc0=_0x3bd4ed['licensedHosts'];if(!_0xb2dc0||0x0==_0xb2dc0['length'])return!0x0;const {hostname:_0x569b91}=new URL(window['location']['href']);if(_0xb2dc0['includes'](_0x569b91))return!0x0;const _0x1d8627=_0x569b91['split']('.');return _0xb2dc0['filter'](_0x126725=>_0x126725['includes']('*'))['map'](_0x1cc9e0=>_0x1cc9e0['split']('.'))['filter'](_0x38585b=>_0x38585b['length']<=_0x1d8627['length'])['map'](_0x33e976=>Array(_0x1d8627['length']-_0x33e976['length'])['fill']('*'===_0x33e976[0x0]?'*':'')['concat'](_0x33e976))['some'](_0xb884ef=>_0x1d8627['every']((_0x206231,_0x29bf42)=>_0xb884ef[_0x29bf42]===_0x206231||'*'===_0xb884ef[_0x29bf42]));}function _0x3cfb7e(){return _0xe653a1&&_0x23dc7a?new window['Promise']((_0x348523,_0x5b7327)=>{_0xe653a1['then'](_0x348523,_0x5b7327),_0x23dc7a['then'](_0x344893=>{'Valid'!=_0x344893&&_0x348523(_0x344893);},_0x5b7327);}):_0xe653a1||_0x23dc7a||'Valid';}}function _0x56b9de(_0x1b0fbe,_0x16046b){return new window['Promise'](_0x3d7369=>{if(_0x567af6())return _0x3d7369('Valid');_0x1b04ee(),_0x23bd31['decorate']('_sendUsageRequest');let _0x4a87c0=!0x1;const _0xb70921=_0xa1c5fd();function _0x2809ab(_0x175418){return!!_0x175418&&('object'==typeof _0x175418||'function'==typeof _0x175418)&&'function'==typeof _0x175418['then']&&'function'==typeof _0x175418['catch'];}function _0x17bc9d(_0x4c1e24){_0x43e6c8(_0x4c1e24)['then'](_0x29a44f=>_0x29a44f&&'ok'==_0x29a44f['status']?_0x331b81(_0x1959e6(_0xb70921+_0x16046b))!=_0x29a44f['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0xccbc20=>(_0x4c0ac8(),_0xccbc20),()=>{const _0x37e6e1=_0x28e18a();return null==_0x37e6e1?(_0x4c0ac8(),'Valid'):_0x33738a-_0x37e6e1>0x240c8400?'UsageLimit':'Valid';})['then'](_0x3d7369)['catch'](()=>{_0x3d7369('UsageLimit');});const _0x160882=0x36ee80;function _0x4c0ac8(){const _0x523503='llct-'+_0x331b81(_0x1959e6(_0x1b0fbe)),_0x44ce2c=_0x481a65(_0x331b81(window['Math']['ceil'](_0x33738a/_0x160882)));window['localStorage']['setItem'](_0x523503,_0x44ce2c);}function _0x28e18a(){const _0x32d93f='llct-'+_0x331b81(_0x1959e6(_0x1b0fbe)),_0x367fe7=window['localStorage']['getItem'](_0x32d93f);return _0x367fe7?window['parseInt'](_0x481a65(_0x367fe7),0x10)*_0x160882:null;}function _0x43e6c8(_0x4ddf2e){return new window['Promise']((_0x42e02f,_0x3252e4)=>{_0x4ddf2e['then'](_0x42e02f,_0x3252e4),window['setTimeout'](_0x3252e4,0x1d4c0);});}}_0x23bd31['on']('_sendUsageRequest',(_0x2e272d,_0x15f353)=>{if(_0x15f353[0x0]!=_0x1b0fbe)return _0x3d7369('UsageLimit');_0x15f353[0x1]={..._0x15f353[0x1],'requestId':_0xb70921};},{'priority':'high'}),_0x23bd31['on']('_sendUsageRequest',_0x4ece2e=>{_0x2809ab(_0x4ece2e['return'])&&(_0x4a87c0=!0x0,_0x17bc9d(_0x4ece2e['return']));},{'priority':'low'}),_0x299765['then'](()=>{_0x4a87c0||_0x3d7369('UsageLimit');});});function _0x567af6(){return'auto'==_0x23bd31['editing']['view']['_overlayModeHint'];}function _0x1b04ee(){_0x23bd31['editing']['view']['_overlayModeHint']='auto';}}function _0x5746cc(_0x876a5){const _0x363e43=[new window['Promise'](_0xf609c6=>setTimeout(_0xf609c6,0x93ecc)),_0x299765['then'](()=>new window['Promise'](_0x4e9d36=>{let _0x1f4943=0x0;_0x23bd31['model']['on']('applyOperation',(_0x4a62e3,_0x244ac1)=>{_0x244ac1[0x0]['isDocumentOperation']&&_0x1f4943++,0x5e8==_0x1f4943&&(_0x4e9d36(),_0x4a62e3['off']());});}))];return window['Promise']['race'](_0x363e43)['then'](()=>_0x876a5);}async function _0x37af0f(){await _0x299765,_0x23bd31['model']['change']=_0x262ae3,_0x23bd31['model']['enqueueChange']=_0x262ae3,_0x23bd31['enableReadOnlyMode']('model');}function _0x33c15f(_0xbb6450){const _0x3ecc1a=_0x598640();_0x23bd31[_0x3ecc1a]='footnotesLicenseKey'+_0xbb6450,'Valid'!=_0xbb6450&&_0x37af0f();}function _0x598640(){const _0x212318=window['String'](window['performance']['now']())['replace']('.','');let _0xb3bf0b='u';for(let _0xec099d=0x0;_0xec099d<_0x212318['length'];_0xec099d+=0x2){let _0x5ee44b=window['parseInt'](_0x212318['substring'](_0xec099d,_0xec099d+0x2));_0x5ee44b>=0x3e&&(_0x5ee44b-=0x3e),_0xb3bf0b+=_0x4e3255[_0x5ee44b];}return _0xb3bf0b;}function _0x1b6199(){const _0x895e72=_0x2d1a44['split']('.');if(0x3!=_0x895e72['length'])return null;return _0x22f916(_0x895e72[0x1]);function _0x22f916(_0x3380af){const _0x318fed=_0x1b34f7(_0x3380af);return _0x318fed&&_0x4b54df()?_0x318fed:null;function _0x4b54df(){const _0x5f1915=_0x318fed['jti'],_0x4cca8c=window['parseInt'](_0x5f1915['substring'](_0x5f1915['length']-0x8),0x10),_0x57cefb={..._0x318fed,'jti':_0x5f1915['substring'](0x0,_0x5f1915['length']-0x8)};return delete _0x57cefb['vc'],_0x1959e6(_0x57cefb)==_0x4cca8c;}}}async function _0x188eef(){let _0x237338=!0x0;try{const [_0x536d4a,_0x506e06,_0xa8d392]=_0x2d1a44['split']('.');return _0x4c5b95(_0x536d4a),await _0x3bd8ea(_0x536d4a,_0x506e06,_0xa8d392),_0x237338;}catch{return!0x1;}function _0x4c5b95(_0x2dd053){const _0x35f695=_0x1b34f7(_0x2dd053);_0x35f695&&'ES256'==_0x35f695['alg']||(_0x237338=!0x1);}async function _0x3bd8ea(_0x425c26,_0x2112de,_0x483b68){const _0x52fe35=window['Uint8Array']['from'](_0x1123ff(_0x483b68),_0x40cb95=>_0x40cb95['charCodeAt'](0x0)),_0x4b95ab=new window['TextEncoder']()['encode'](_0x425c26+'.'+_0x2112de),_0xabc691=window['crypto']['subtle'];if(!_0xabc691)return;const _0x9baa4f=await _0xabc691['importKey']('jwk',_0x326f30,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0xabc691['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x9baa4f,_0x52fe35,_0x4b95ab)||(_0x237338=!0x1);}}function _0x1b34f7(_0x5eb550){return _0x5eb550['startsWith']('ey')?JSON['parse'](_0x1123ff(_0x5eb550)):null;}function _0x1123ff(_0x6e3d85){return window['atob'](_0x6e3d85['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1959e6(_0x1f9167){let _0x277739=0x1505;function _0x56eb9e(_0x19eccf){for(let _0x34146c=0x0;_0x34146c<_0x19eccf['length'];_0x34146c++){const _0x2d21d6=_0x19eccf['charCodeAt'](_0x34146c);_0x277739=(_0x277739<<0x5)+_0x277739+_0x2d21d6,_0x277739&=_0x277739;}}function _0x2547c6(_0x4f10a8){Array['isArray'](_0x4f10a8)?_0x4f10a8['forEach'](_0x2547c6):_0x4f10a8&&'object'==typeof _0x4f10a8?Object['entries'](_0x4f10a8)['sort']()['forEach'](([_0x263365,_0x4857da])=>{_0x56eb9e(_0x263365),_0x2547c6(_0x4857da);}):_0x56eb9e(window['String'](_0x4f10a8));}return _0x2547c6(_0x1f9167),_0x277739>>>0x0;}function _0x331b81(_0x359098){return _0x359098['toString'](0x10)['padStart'](0x8,'0');}function _0x481a65(_0x14ad68){return _0x14ad68['split']('')['reverse']()['join']('');}function _0x262ae3(){}_0x33c15f(await _0x500cb0());}(this);}['_moveSelectionToFootnoteDefinition'](_0x504e0e){const {plugins:_0x2565b6,editing:_0x523379,model:_0x11a943}=this['editor'],_0x3c2674=_0x2565b6['get'](V)['getFootnote'](_0x504e0e);return!!_0x3c2674&&(_0x11a943['change'](_0x575144=>{_0x575144['setSelection'](_0x575144['createPositionAt'](_0x3c2674['definition'],'end'));}),_0x523379['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x54718d){const {plugins:_0xa29c24,editing:_0x22f304,model:_0x45763e}=this['editor'],_0x2bcafd=_0xa29c24['get'](V)['getFootnote'](_0x54718d);return!!_0x2bcafd&&(_0x45763e['change'](_0x1b490a=>{_0x1b490a['setSelection'](_0x2bcafd['reference'],'on');}),_0x22f304['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x147a99}=this['editor']['model'],_0x6b2791=this['editor']['config']['get']('footnotes.multiBlock');_0x147a99['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x147a99['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x147a99['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x6b2791?_0x147a99['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x147a99['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x147a99['addChildCheck'](_0x35fc35=>{for(const _0x4e6437 of _0x35fc35)if('footnoteDefinition'===_0x4e6437['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3e084f}=this,{conversion:_0xf5982f,editing:_0x5bd7eb}=_0x3e084f,{t:t}=_0x3e084f['locale'];_0xf5982f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x11d200,{writer:_0x578d1b,consumable:_0x321d3e})=>{const _0x4fbe09=_0x11d200['getChild'](0x0);if(!_0x4fbe09||!_0x4fbe09['is']('element','a'))return null;const _0x1cdd6b=_0x4fbe09['getAttribute']('href')||'';if(!_0x1cdd6b['startsWith']('#'))return null;const _0x49390e=_0x1cdd6b['replace'](/^#/,'');if(!_0x49390e)return null;_0x321d3e['consume'](_0x4fbe09,{'name':!0x0,'attributes':['href']});for(const {item:_0x189720}of _0x5bd7eb['view']['createRangeIn'](_0x4fbe09))_0x189720['is']('$textProxy')?_0x321d3e['consume'](_0x189720['textNode'],{'name':!0x0}):_0x189720['is']('element')&&_0x321d3e['consume'](_0x189720,{'name':!0x0});return _0x578d1b['createElement']('footnoteRef',{'footnoteId':_0x49390e});}}),_0xf5982f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x143a3e,{writer:_0x5b869c})=>X(_0x143a3e,_0x5b869c)}),_0xf5982f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5d0d80,{writer:_0x164b8b})=>{const _0x4556b1=_0x5d0d80['getAttribute']('footnoteCounter');return _0x405d66(X(_0x5d0d80,_0x164b8b),_0x164b8b,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4556b1)});}});}['_defineDefinitionsConverters'](){const {editor:_0x26356f}=this,{t:t}=_0x26356f['locale'],{conversion:_0x1b0de8}=_0x26356f;_0x1b0de8['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1b0de8['for']('upcast')['add'](_0x1e209d=>{_0x1e209d['on']('element:ol',(_0x1f902a,_0x5f20b9,_0x18c4a2)=>{const _0x35692f=_0x5f20b9['viewItem'];if(!_0x35692f['hasClass']('footnotes-list')||!_0x5f20b9['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x18c4a2['consumable']['consume'](_0x35692f,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4b6187,modelCursor:_0x8d4292}=_0x18c4a2['convertChildren'](_0x5f20b9['viewItem'],_0x5f20b9['modelCursor']);_0x5f20b9['modelRange']=_0x4b6187,_0x5f20b9['modelCursor']=_0x8d4292;}),_0x1e209d['on']('element:hr',(_0x27cc4d,_0x588aee,_0x55b08e)=>{const _0x4d43ed=_0x588aee['viewItem'];_0x4d43ed['hasClass']('footnotes-divider')&&_0x588aee['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x55b08e['consumable']['consume'](_0x4d43ed,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1b0de8['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2457d2,{writer:_0x1e081f})=>H(_0x1e081f)}),_0x1b0de8['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4741a0,{writer:_0x221a08})=>{const _0x244c5d=_0x405d66(H(_0x221a08,{'data-footnotes-list-label':t('Footnotes')}),_0x221a08,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x221a08['setCustomProperty']('footnotesDefinitions',!0x0,_0x244c5d),_0x244c5d;}});}['_defineDefinitionConverters'](){const {editor:_0x3197c2}=this,{conversion:_0x32f4f6,locale:_0xf76887}=_0x3197c2,_0x44136d=_0x3197c2['config']['get']('footnotes.multiBlock');_0x32f4f6['for']('upcast')['add'](_0x38844d=>{_0x38844d['on']('element:li',(_0x4e454a,_0x246223,_0x528a83)=>{const _0x4384ad=_0x246223['viewItem'];if(!_0x4384ad['hasClass']('footnote-definition')||!_0x4384ad['getAttribute']('id'))return;const _0x4e0bb7=_0x4384ad['parent'];if(!_0x4e0bb7['is']('element','ol')||!_0x4e0bb7['hasClass']('footnotes-list'))return;if(!_0x528a83['consumable']['test'](_0x4384ad,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x108e0d=_0x528a83['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4384ad['getAttribute']('id')});if(!_0x528a83['safeInsert'](_0x108e0d,_0x246223['modelCursor']))return;_0x528a83['consumable']['consume'](_0x4384ad,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x40de3f=Array['from'](_0x4384ad['getChildren']())['find'](_0xc6c292=>_0xc6c292['is']('element')&&_0xc6c292['hasClass']('footnote-content'));for(const _0x313be1 of _0x4384ad['getChildren']())_0x313be1['is']('element')&&(_0x528a83['consumable']['consume'](_0x313be1,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x528a83['consumable']['consume'](_0x313be1,{'name':!0x0,'classes':'footnote-content'}));if(_0x40de3f){if(_0x44136d)_0x528a83['convertChildren'](_0x40de3f,_0x108e0d);else{const _0x180803=_0x528a83['writer']['createElement']('footnoteInlineContent');_0x528a83['writer']['insert'](_0x180803,_0x108e0d),_0x528a83['convertChildren'](_0x40de3f,_0x180803);}}_0x528a83['updateConversionResult'](_0x108e0d,_0x246223);});}),_0x32f4f6['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4e90c6,{writer:_0x16ac52})=>z(_0x4e90c6,_0x16ac52,_0xf76887,{'dataPipeline':!0x0})}),_0x32f4f6['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x32473b,{writer:_0x581642})=>z(_0x32473b,_0x581642,_0xf76887)});}['_defineBogusParagraphConverters'](){const {editor:_0x86cee9}=this,{conversion:_0x3b1ada}=_0x86cee9;_0x86cee9['config']['get']('footnotes.multiBlock')?(_0x3b1ada['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':$(),'converterPriority':'high'}),_0x3b1ada['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':$({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x86cee9['model']['document'],'change:data',()=>{!function(_0x275d9f,_0x9c6abb){const _0xe38a60=_0x275d9f['document']['differ'],_0xb711c6=new Set();for(const _0xf01f1b of _0xe38a60['getChanges']()){const _0x21688='attribute'==_0xf01f1b['type']?_0xf01f1b['range']['start']['parent']:_0xf01f1b['position']['parent'];_0x21688['is']('element','footnoteDefinition')&&_0xb711c6['add'](_0x21688);}for(const _0x27e04f of _0xb711c6['values']()){const _0x42fa14=Array['from'](_0x27e04f['getChildren']())['filter'](_0x374471=>B(_0x374471,_0x9c6abb['mapper']));for(const _0x33c45e of _0x42fa14)_0x9c6abb['reconvertItem'](_0x33c45e);}}(_0x86cee9['model'],_0x86cee9['editing']);})):(_0x3b1ada['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':$()}),_0x3b1ada['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3d1895,{writer:_0x3cfd61})=>{const _0x165870=_0x3cfd61['createContainerElement']('span');return _0x3cfd61['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x165870),_0x165870;}}));}['_defineKeyboardHandlers'](){const {editor:_0x37046c}=this,{editing:_0x2f29d9,t:t}=_0x37046c,_0x48125c=_0x37046c['model']['document']['selection'];_0x37046c['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x37046c['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2f29d9['view']['document'],'enter',(_0x4cacb4,_0x2375bb)=>{const _0x561b27=function(_0x4da6f2){const _0x54ec48=_0x4da6f2['getSelectedElement']();return _0x54ec48?.['is']('element','footnoteRef')?_0x54ec48:null;}(_0x48125c);if(_0x561b27){const _0x2fad37=_0x561b27['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2fad37),_0x2375bb['preventDefault'](),_0x4cacb4['stop']();}},{'context':_0xf5d76a});}['_defineClickHandlers'](){const {editor:_0x36e535}=this,{editing:_0x523ea4}=_0x36e535;_0x36e535['editing']['view']['addObserver'](_0x76428e),_0x36e535['editing']['view']['addObserver'](_0x25a24f);let _0x4ce812=!0x1;this['listenTo'](_0x523ea4['view']['document'],'pointerdown',(_0x17f1f5,_0x463afb)=>{const {target:_0x542b19}=_0x463afb,_0x559376=_0x523ea4['view']['document']['selection'];_0x4ce812=!!(_0x542b19?.['is']('element','a')&&_0x542b19['parent']?.['is']('element','sup')&&_0x542b19['parent']['hasClass']('footnote'))&&_0x559376['getSelectedElement']()===_0x542b19['parent'];},{'priority':'high'}),this['listenTo'](_0x523ea4['view']['document'],'click',(_0x267f9f,_0x457639)=>{const {target:_0x1c9e88}=_0x457639;if(!_0x1c9e88?.['is']('element','a'))return;if(_0x1c9e88['parent']?.['is']('element','sup')&&_0x1c9e88['parent']['hasClass']('footnote')&&!_0x4ce812)return void _0x457639['preventDefault']();let _0x512c8f=_0x1c9e88['getAttribute']('href');if(!_0x512c8f?.['startsWith']('#'))return;_0x512c8f=_0x512c8f['slice'](0x1);let _0x277b0a=!0x1;(_0x512c8f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x512c8f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x512c8f))&&(_0x277b0a=!0x0),_0x277b0a&&(_0x457639['preventDefault'](),_0x267f9f['stop']());},{'priority':'high','context':'$capture'});}};function $({dataPipeline:_0x1d8239}={}){return(_0x2eb267,{writer:_0x1df0ab})=>{if(!M(_0x2eb267))return null;if(!_0x1d8239)return _0x1df0ab['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xb9bae7=_0x1df0ab['createContainerElement']('p');return _0x1df0ab['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xb9bae7),_0xb9bae7;};}function M(_0x2160e6){const {parent:_0x1fea38}=_0x2160e6;if(!_0x1fea38?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1fea38['childCount'])return!0x1;for(const _0x5073bd of _0x2160e6['getAttributeKeys']())if(!_0x5073bd['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5073bd)return!0x1;return!0x0;}function B(_0x3a2b93,_0x317515){if(!_0x3a2b93['is']('element','paragraph'))return!0x1;const _0x4412e4=_0x317515['toViewElement'](_0x3a2b93);return!!_0x4412e4&&M(_0x3a2b93)!==_0x4412e4['is']('element','span');}function q(_0x5e490a){return _0xf5d76a(_0x5e490a)&&_0x5e490a['is']('containerElement')&&!!_0x5e490a['getCustomProperty']('footnotesDefinitions');}function H(_0x4752d8,_0x3789ba={}){const _0x5cf0ca=_0x4752d8['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1278a0=_0x4752d8['createContainerElement']('ol',{'class':'footnotes-list'},_0x4752d8['createSlot']());return _0x4752d8['createContainerElement']('div',{'class':'footnotes',..._0x3789ba},[_0x5cf0ca,_0x1278a0]);}function X(_0x51eed4,_0xb63e10){const _0x21fb1b=_0x51eed4['getAttribute']('footnoteId'),_0x463110=_0x51eed4['getAttribute']('footnoteCounter'),_0x49fa15=_0xb63e10['createUIElement']('a',{'href':'#'+_0x21fb1b},function(_0x295df4){const _0x4483ea=this['toDomElement'](_0x295df4);return _0x4483ea['textContent']=_0x463110,_0x4483ea;}),_0x1cf238=_0xb63e10['createContainerElement']('sup',{'id':'ref-'+_0x21fb1b,'class':'footnote'},[_0x49fa15]);return _0x1cf238['getFillerOffset']=()=>null,_0x1cf238;}function z(_0x40ea63,_0x3b66af,_0x3b10cb,{dataPipeline:_0x2ebaec}={}){const {t:t}=_0x3b10cb,_0x75df6e=_0x40ea63['getAttribute']('footnoteId'),_0x3caf6f=_0x3b66af['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x75df6e},function(_0x4f698e){const _0x48fcbe=this['toDomElement'](_0x4f698e);return _0x48fcbe['innerText']='^',_0x48fcbe;}),_0xd0b7f3=_0x2ebaec?_0x3b66af['createContainerElement']('div',{'class':'footnote-content'}):_0x2cffd4(_0x3b66af['createEditableElement']('div',{'class':'footnote-content'}),_0x3b66af,{'label':t('Footnote\x20content.')});return _0x3b66af['insert'](_0x3b66af['createPositionAt'](_0xd0b7f3,0x0),_0x3b66af['createSlot']()),_0x3b66af['createContainerElement']('li',{'class':'footnote-definition','id':_0x75df6e},[_0x3caf6f,_0xd0b7f3]);}var J=class extends _0x48a90d{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[U,_0x2053fb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x14e1ae}=this,{plugins:_0x55e6ba,model:_0x5bac83}=_0x14e1ae,_0x19a35e=_0x55e6ba['get'](_0x2053fb),_0x1ad81c=_0x55e6ba['get'](V);this['listenTo'](_0x19a35e,'outputTransformation',(_0x22466d,_0x59e268)=>{const _0x30d6d0=G(_0x5bac83['createRangeIn'](_0x59e268['content']));if(!_0x30d6d0['length'])return;const _0x2f1147=_0x1ad81c['getFootnotes'](),_0x47a888=_0x30d6d0['reduce']((_0x28c5f6,_0x41fa67)=>{const _0x58c092=_0x2f1147['find'](_0x5ab498=>_0x5ab498['id']===_0x41fa67);if(_0x58c092){const _0x46d023=_0x14e1ae['data']['toView'](_0x58c092['definition'],{'isClipboardPipeline':!0x0}),_0x4b9344=_0x14e1ae['data']['htmlProcessor']['toData'](_0x46d023);_0x28c5f6[_0x58c092['id']]=_0x4b9344;}return _0x28c5f6;},Object['create'](null));_0x59e268['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x47a888));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x21ba10}=this,{model:_0x1dd2b4,plugins:_0x14b0d9}=_0x21ba10,{view:_0x29b67f}=_0x21ba10['editing'],_0x23e7ec=_0x14b0d9['get'](_0x2053fb),_0x3f7d95=_0x14b0d9['get'](V),_0xf0a472=_0x21ba10['config']['get']('footnotes.multiBlock');let _0x30e97a=null;this['listenTo'](_0x29b67f['document'],'clipboardInput',(_0x2b670d,_0x2aca10)=>{const _0x100011=_0x2aca10['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x30e97a=_0x100011?JSON['parse'](_0x100011):null;}),this['listenTo'](_0x23e7ec,'contentInsertion',(_0x125c00,_0x251e56)=>{const _0x27ba11=_0x251e56['sourceEditorId']===this['editor']['id'];_0x27ba11&&'drop'===_0x251e56['method']||_0x1dd2b4['change'](_0x5230ce=>{let _0xc6f62=_0x3f7d95['getFootnotesDefinitionsObjectElement']();const _0x1cc294=!!_0xc6f62&&Array['from'](_0x1dd2b4['document']['selection']['getSelectedBlocks']())['includes'](_0xc6f62);if(!_0x30e97a&&function(_0x492c7b){for(const {item:_0x416f72}of _0x492c7b)if(_0x416f72['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x1dd2b4['createRangeIn'](_0x251e56['content']))&&(_0x30e97a=function(_0x5a907d,_0x20b7d9){const _0x151898=Q(_0x5a907d,_0x20b7d9);if(!_0x151898)return null;const _0x17621a=Object['create'](null);for(const _0x55b385 of _0x151898['getChildren']())_0x55b385['is']('element','footnoteDefinition')&&_0x55b385['hasAttribute']('footnoteId')&&(_0x17621a[_0x55b385['getAttribute']('footnoteId')]=_0x5a907d['cloneElement'](_0x55b385,!0x0));return Object['keys'](_0x17621a)['length']?_0x17621a:null;}(_0x5230ce,_0x251e56['content'])),(_0xc6f62&&!_0x1cc294||!_0xc6f62&&!_0x30e97a)&&function(_0x498c73,_0x1edd44){const _0x54be85=[];for(const {item:_0x4f60ff}of _0x498c73['createRangeIn'](_0x1edd44))_0x4f60ff['is']('element','footnotesDefinitions')&&_0x54be85['push'](_0x4f60ff);for(const _0x2fbc1f of _0x54be85)_0x498c73['remove'](_0x2fbc1f);}(_0x5230ce,_0x251e56['content']),!_0x30e97a)return;const {selection:_0x4af4f6}=_0x1dd2b4['document'],_0x28146c=_0x4af4f6['getFirstRange']()['root'];_0xc6f62&&!_0x1cc294||(_0xc6f62=Q(_0x5230ce,_0x251e56['content']),_0xc6f62||=_0x3f7d95['_insertEmptyFootnotesDefinitionsContainer'](_0x5230ce,_0x28146c));const _0x241211=Array['from'](_0x4af4f6['getRanges']())['flatMap'](G),_0x4e4e4e=function(_0x8fe2e6,_0x5805e7,_0x21bbe4){const _0x4dfa86=Object['create'](null);for(const {item:_0x351e5c}of _0x8fe2e6['createRangeIn'](_0x5805e7))if(_0x351e5c['is']('element','footnoteRef')){const _0x1357f6=_0x351e5c['getAttribute']('footnoteId');if(!_0x21bbe4(_0x1357f6))continue;_0x4dfa86[_0x1357f6]||(_0x4dfa86[_0x1357f6]=_0xa1c5fd()),_0x8fe2e6['setAttribute']('footnoteId',_0x4dfa86[_0x1357f6],_0x351e5c);}return _0x4dfa86;}(_0x5230ce,_0x251e56['content'],_0x2cfb45=>!_0x27ba11||!!_0x3f7d95['getFootnote'](_0x2cfb45)&&!_0x241211['includes'](_0x2cfb45));for(const [_0x4759a3,_0x3a308f]of Object['entries'](_0x30e97a)){const _0x127881=_0x4e4e4e[_0x4759a3]||_0x4759a3;let _0x1d47d1;if('string'!=typeof _0x3a308f)_0x1d47d1=_0x3a308f,_0x127881!==_0x4759a3&&_0x5230ce['setAttribute']('footnoteId',_0x127881,_0x1d47d1);else{_0x1d47d1=_0x5230ce['createElement']('footnoteDefinition',{'footnoteId':_0x127881});const _0x2b644d=_0x21ba10['data']['htmlProcessor']['toView'](_0x3a308f);let _0x2e4c9f;if(_0xf0a472)_0x2e4c9f=_0x21ba10['data']['toModel'](_0x2b644d,_0x1d47d1);else{_0x2e4c9f=_0x5230ce['createElement']('footnoteInlineContent');const _0x2448fe=_0x21ba10['data']['toModel'](_0x2b644d,_0x2e4c9f);_0x5230ce['insert'](_0x2448fe,_0x2e4c9f);}_0x5230ce['append'](_0x2e4c9f,_0x1d47d1);}_0x5230ce['insert'](_0x1d47d1,_0xc6f62,'end');}_0x30e97a=null;});});}};function Q(_0x60ee10,_0x506740){for(const {item:_0x44c327}of _0x60ee10['createRangeIn'](_0x506740))if(_0x44c327['is']('element','footnotesDefinitions'))return _0x44c327;return null;}function G(_0x2c9ccc){const _0x4b45cd=new Set();for(const {item:_0x10be69}of _0x2c9ccc)_0x10be69['is']('element','footnoteRef')&&_0x4b45cd['add'](_0x10be69['getAttribute']('footnoteId'));return Array['from'](_0x4b45cd);}var W=class extends _0x48a90d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4573a2}=this,{componentFactory:_0x180f1c}=_0x4573a2['ui'];_0x180f1c['add']('insertFootnote',Y(_0x4573a2,_0xf1d576)),_0x180f1c['add']('menuBar:insertFootnote',Y(_0x4573a2,_0x41ed66)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x9bcc5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1ef82a;for(const _0x28c45c in _0x9bcc5){const _0x4eb15d=_0x28c45c,_0x445d25=_0x9bcc5[_0x4eb15d];if('footnotesLicenseKeyValid'==_0x445d25||'footnotesLicenseKeyInvalid'==_0x445d25||'footnotesLicenseKeyExpired'==_0x445d25||'footnotesLicenseKeyDomainLimit'==_0x445d25||'footnotesLicenseKeyNotAllowed'==_0x445d25||'footnotesLicenseKeyEvaluationLimit'==_0x445d25||'footnotesLicenseKeyUsageLimit'==_0x445d25){delete _0x9bcc5[_0x4eb15d],_0x1ef82a=_0x445d25,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1ef82a&&_0x9bcc5['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1ef82a&&_0x9bcc5['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1ef82a&&_0x9bcc5['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1ef82a&&_0x9bcc5['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1ef82a&&_0x9bcc5['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x1ef82a&&_0x9bcc5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Y(_0x898c27,_0x5b17ad){const _0x38e42f=_0x898c27['commands']['get']('insertFootnote');return _0x5295c3=>{const {t:t}=_0x5295c3,_0x45420c=new _0x5b17ad(_0x5295c3),_0x4b4c6e=_0x45420c instanceof _0x41ed66;return _0x45420c['bind']('isEnabled')['to'](_0x38e42f,'isEnabled'),_0x45420c['set']({'label':t(_0x4b4c6e?'Footnote':'Insert\x20footnote'),'icon':_0x2c44b3,'tooltip':!0x0}),_0x45420c['on']('execute',()=>{_0x38e42f['execute'](),_0x898c27['editing']['view']['focus']();}),_0x45420c;};}var Z=class extends _0x48a90d{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 _0x592ec1{['refresh'](){const {editor:_0x26485d}=this,_0x1b840d=_0x26485d['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1b840d,this['value']=_0x1b840d?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x57ecc1}){const {editor:_0x7ad915}=this,_0x410d26=_0x7ad915['plugins']['get'](V),_0x181236=_0x410d26['getFootnotesDefinitionsObjectElement']();_0x181236&&ot['includes'](_0x57ecc1)&&_0x7ad915['model']['change'](_0x3ab0d8=>{_0x3ab0d8['setAttribute']('footnotesListStyle',_0x57ecc1,_0x181236),_0x410d26['_updateFootnotesCounters'](_0x3ab0d8);});}},it=class extends _0x592ec1{['refresh'](){const {editor:_0x2fe013}=this,_0x41129a=_0x2fe013['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x41129a,this['value']=_0x41129a?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x7b931f}){const {editor:_0x403865}=this,_0x34b744=_0x403865['plugins']['get'](V),_0x382151=_0x34b744['getFootnotesDefinitionsObjectElement']();_0x382151&&Number['isInteger'](_0x7b931f)&&_0x403865['model']['change'](_0x8297e6=>{_0x8297e6['setAttribute']('footnotesListStart',_0x7b931f,_0x382151),_0x34b744['_updateFootnotesCounters'](_0x8297e6);});}};function st({style:_0x147e75,digits:_0x437323,value:_0x170778}){const _0xe196ba=Math['floor'](_0x170778),_0x49b9ed=function(_0x2d262c){switch(_0x2d262c){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};}}(_0x147e75);switch((_0xe196ba>_0x49b9ed['max']||_0xe196ba<_0x49b9ed['min'])&&(_0x147e75='decimal'),_0x147e75){case'decimal-leading-zero':return function(_0x3e4469,_0x548016){return String(_0x3e4469)['padStart'](_0x548016,'0');}(_0xe196ba,Math['max'](0x2,_0x437323));case'lower-alpha':case'lower-latin':return rt(_0xe196ba,!0x1);case'upper-alpha':case'upper-latin':return rt(_0xe196ba,!0x0);case'lower-roman':return at(_0xe196ba,!0x1);case'upper-roman':return at(_0xe196ba,!0x0);case'arabic-indic':return String(_0xe196ba)['replace'](/\d/g,_0x4fe96b=>ft[Number(_0x4fe96b)]);default:return String(_0xe196ba);}}function rt(_0x21709a,_0x29084e){let _0xfac500='',_0x39082d=_0x21709a;for(;_0x39082d>0x0;){const _0x14648c=(_0x39082d-0x1)%0x1a;_0xfac500=String['fromCharCode'](0x61+_0x14648c)+_0xfac500,_0x39082d=Math['floor']((_0x39082d-0x1)/0x1a);}return _0x29084e?_0xfac500['toUpperCase']():_0xfac500;}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(_0x11c20f,_0x3b42f0){let _0x464406='',_0x5b1f12=_0x11c20f;for(const {value:_0x242385,numeral:_0x2079a0}of lt)for(;_0x5b1f12>=_0x242385;)_0x464406+=_0x2079a0,_0x5b1f12-=_0x242385;return _0x3b42f0?_0x464406:_0x464406['toLowerCase']();}const ft=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ct=class extends _0x48a90d{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[U,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3d4a60}=this;_0x3d4a60['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x3d4a60['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x3d4a60['config']['define']('footnotes.footnotesProperties.listStyles',[...tt]),_0x3d4a60['commands']['add']('footnotesStyle',new nt(_0x3d4a60)),_0x3d4a60['commands']['add']('footnotesStart',new it(_0x3d4a60)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1e348d}=this,{schema:_0x43fc8c}=_0x1e348d['model'];_0x43fc8c['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x58fd22}=this,{conversion:_0x17d083,model:_0x132b33}=_0x58fd22,{schema:_0x1598ce}=_0x132b33;_0x17d083['for']('upcast')['add'](_0x40e36b=>{_0x40e36b['on']('element:ol',(_0x395f0d,_0x58ee7a,_0x6dfa55)=>{const _0x5360b8=_0x58ee7a['viewItem'],_0xe75bcc=_0x58ee7a['modelCursor']?.['parent'];_0x5360b8['hasClass']('footnotes-list')&&_0xe75bcc?.['is']('element','footnotesDefinitions')&&(function(_0x32d5a1,_0x4bd0dc,_0x203162,_0x207965){if(!_0x207965['checkAttribute'](_0x4bd0dc,'footnotesListStart'))return;let _0x4eedd5=0x1;const _0x3958c4=_0x203162['consumable']['consume'](_0x32d5a1,{'attributes':'start'});if(_0x3958c4){const _0x5b78a0=Number['parseInt'](_0x32d5a1['getAttribute']('start'),0xa);Number['isNaN'](_0x5b78a0)||(_0x4eedd5=_0x5b78a0);}!_0x3958c4&&_0x4bd0dc['hasAttribute']('footnotesListStart')||_0x203162['writer']['setAttribute']('footnotesListStart',_0x4eedd5,_0x4bd0dc);}(_0x5360b8,_0xe75bcc,_0x6dfa55,_0x1598ce),function(_0x268d46,_0x1c2a38,_0x4b5470,_0x10d232){if(!_0x10d232['checkAttribute'](_0x1c2a38,'footnotesListStyle'))return;let _0x13893f='decimal',_0x52d104=!0x1;if(_0x4b5470['consumable']['consume'](_0x268d46,{'attributes':'type'})){const _0x3d8949={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x268d46['getAttribute']('type')];_0x3d8949&&(_0x13893f=_0x3d8949),_0x52d104=!0x0;}if(_0x4b5470['consumable']['consume'](_0x268d46,{'styles':'list-style-type'})){const _0x172db8=ut(_0x268d46['getStyle']('list-style-type'));_0x172db8&&(_0x13893f=_0x172db8),_0x52d104=!0x0;}!_0x52d104&&_0x1c2a38['hasAttribute']('footnotesListStyle')||_0x4b5470['writer']['setAttribute']('footnotesListStyle',_0x13893f,_0x1c2a38);}(_0x5360b8,_0xe75bcc,_0x6dfa55,_0x1598ce));});}),_0x17d083['for']('downcast')['add'](_0x152803=>{_0x152803['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2f37d6,_0x3b3c78,_0x47d84b)=>{if(!_0x47d84b['consumable']['consume'](_0x3b3c78['item'],_0x2f37d6['name']))return;const _0x12ebf3=dt(_0x3b3c78['item'],_0x47d84b['mapper']),{attributeNewValue:_0x4f45fd}=_0x3b3c78;null==_0x4f45fd||0x1===_0x4f45fd?_0x47d84b['writer']['removeAttribute']('start',_0x12ebf3):_0x47d84b['writer']['setAttribute']('start',String(_0x4f45fd),_0x12ebf3);}),_0x152803['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x5a8961,_0x103030,_0x4a3921)=>{if(!_0x4a3921['consumable']['consume'](_0x103030['item'],_0x5a8961['name']))return;const _0x5baa05=dt(_0x103030['item'],_0x4a3921['mapper']),{attributeNewValue:_0x3cccab}=_0x103030;_0x3cccab&&'decimal'!==_0x3cccab?_0x4a3921['writer']['setStyle']('list-style-type',_0x3cccab,_0x5baa05):_0x4a3921['writer']['removeStyle']('list-style-type',_0x5baa05);});});}['_definePostfixer'](){const {editor:_0xbd25fb}=this,{model:_0x4a0ca5}=_0xbd25fb,_0xb7781a=_0xbd25fb['plugins']['get'](V),_0x32bd5b=this['_getDefaultListStyle'](),_0x4b67e4=this['_getDefaultStartIndex']();_0x4a0ca5['document']['registerPostFixer'](_0x3e9d1f=>{const _0x4094cd=_0x4a0ca5['document']['differ']['getChanges']();let _0xf1f11f=!0x1;for(const _0x4443ed of _0x4094cd){if('insert'!==_0x4443ed['type']||'$text'===_0x4443ed['name'])continue;const _0x5ac9f4=_0x4a0ca5['createRangeOn'](_0x4443ed['position']['nodeAfter']);for(const _0x2901a1 of _0x5ac9f4['getItems']())_0x2901a1['is']('element','footnotesDefinitions')&&(!_0x2901a1['hasAttribute']('footnotesListStart')&&_0x4a0ca5['schema']['checkAttribute'](_0x2901a1,'footnotesListStart')&&(_0x3e9d1f['setAttribute']('footnotesListStart',_0x4b67e4,_0x2901a1),_0xf1f11f=!0x0),!_0x2901a1['hasAttribute']('footnotesListStyle')&&_0x4a0ca5['schema']['checkAttribute'](_0x2901a1,'footnotesListStyle')&&(_0x3e9d1f['setAttribute']('footnotesListStyle',_0x32bd5b,_0x2901a1),_0xf1f11f=!0x0));}return _0xf1f11f&&_0xb7781a['_updateFootnotesCounters'](_0x3e9d1f),_0xf1f11f;});}['_defineFormatter'](){const {editor:_0x1e8053}=this;_0x1e8053['plugins']['get'](V)['setFootnoteFormatter'](_0xd33e48=>this['_formatFootnoteListValue'](_0xd33e48));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x3579ac,value:_0x16cb9d,digits:_0x51c884}){const _0x545fe3=_0x3579ac['getAttribute']('footnotesListStyle');return st({'value':_0x16cb9d+(_0x3579ac['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x545fe3,'digits':_0x51c884});}};function ut(_0x4d3ea2){if('string'==typeof _0x4d3ea2){const _0x5ebca3=et[_0x4d3ea2];if(_0x5ebca3)return _0x5ebca3;if(ot['includes'](_0x4d3ea2))return _0x4d3ea2;}return null;}function dt(_0x1df387,_0x3bc3f4){const _0x15fa37=_0x3bc3f4['toViewElement'](_0x1df387);return Array['from'](_0x15fa37['getChildren']())['find'](_0x61e6f1=>_0x61e6f1['is']('element','ol')&&_0x61e6f1['hasClass']('footnotes-list'));}var ht=class extends _0x2ed611{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x1dac5e();['keystrokes']=new _0x351a3e();['focusables']=new _0x50cdd2();['focusCycler'];constructor(_0x5e4b3e,{styleButtonViews:_0x51d70f,styleGridAriaLabel:_0x3c395d}){super(_0x5e4b3e),(this['focusCycler']=new _0x1190ba({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x51d70f,_0x3c395d),[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 _0x1c65e9 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1c65e9['element']);_0x469511({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x4137f7['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 _0x30129b=_0x33cd44=>_0x33cd44['stopPropagation']();this['keystrokes']['set']('arrowright',_0x30129b),this['keystrokes']['set']('arrowleft',_0x30129b),this['keystrokes']['set']('arrowup',_0x30129b),this['keystrokes']['set']('arrowdown',_0x30129b);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x46a4a3,_0x531af3){const _0x327e7e=new _0x2ed611(this['locale']);return _0x327e7e['children']=_0x327e7e['createCollection'](),_0x327e7e['children']['addMany'](_0x46a4a3),_0x327e7e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x531af3,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x327e7e['children']}),_0x327e7e['children']['delegate']('execute')['to'](this),_0x327e7e['focus']=function(){for(const _0x2aa19e of this['children'])if(_0x2aa19e instanceof _0xf1d576&&_0x2aa19e['isOn'])return void _0x2aa19e['focus']();this['children']['first']['focus']();},_0x327e7e['focusTracker']=new _0x1dac5e(),_0x327e7e['keystrokes']=new _0x351a3e(),_0x327e7e['render'](),_0x327e7e['keystrokes']['listenTo'](_0x327e7e['element']),this['children']['add'](_0x327e7e),_0x327e7e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5c8a51=this['_createStartIndexPropertyView'](),_0xa96099=[_0x5c8a51],_0x37841f=new _0x52d97a(this['locale'],_0xa96099);return _0x37841f['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x37841f['buttonView']['bind']('isEnabled')['toMany'](_0xa96099,'isEnabled',(..._0x4956b0)=>_0x4956b0['some'](_0x5c5d76=>_0x5c5d76)),_0x37841f['buttonView']['on']('change:isEnabled',(_0x1c0fed,_0x2d237f,_0x1575c2)=>{_0x1575c2||(_0x37841f['isCollapsed']=!0x0);}),this['children']['add'](_0x37841f),[_0x5c8a51,_0x37841f];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x56e89b=new _0x26e5d0(this['locale'],_0xa557c6);return _0x56e89b['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x56e89b['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x56e89b['fieldView']['on']('input',()=>{const _0x30392e=_0x56e89b['fieldView']['element'],_0x499a92=_0x30392e['valueAsNumber'];Number['isNaN'](_0x499a92)?_0x56e89b['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x30392e['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x499a92}):_0x56e89b['errorText']=t(_0x499a92<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x56e89b;}},mt=class extends _0x48a90d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3415a8,_0x4941b3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3495bd}=this,{componentFactory:_0x56150b}=_0x3495bd['ui'];_0x3495bd['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x56150b['add']('footnotesStyle',function(_0x3c0bb7){return _0x21391f=>{const {t:t}=_0x21391f,_0x569a98=_0x3c0bb7['commands']['get']('footnotesStyle'),_0x56e25e=_0x245502(_0x21391f),{buttonView:_0x5c3a48}=_0x56e25e;return _0x56e25e['class']='ck-footnotes-styles-dropdown',_0x56e25e['bind']('isEnabled')['to'](_0x569a98,'isEnabled'),_0x5c3a48['set']({'label':t('Footnotes\x20style'),'icon':_0x2c44b3,'tooltip':!0x0}),_0x56e25e['once']('change:isOpen',()=>{const _0x4eef48=function({editor:_0x4e178e,dropdownView:_0x59a08a}){const {t:t}=_0x4e178e['locale'],_0x320a23=t('Footnotes\x20definitions\x20styles'),_0x4a4989=function(_0x5449bf){const {t:t}=_0x5449bf['locale'],_0x1a0b8c=_0x5449bf['config']['get']('footnotes.footnotesProperties.listStyles'),_0x4edc36=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x15a54c},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x1e6434},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x2899d8},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x2948df},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0xdf17ab},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x1dc7fe},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x524237}];return _0x1a0b8c['map'](_0x298f6e=>{const _0x4721eb=ut(_0x298f6e);return function(_0x328d8e,_0x5a940a){const {locale:_0x2a5631}=_0x328d8e,{label:_0x196866,icon:_0x3a1d98,tooltip:_0xa7422d,style:_0x403876}=_0x5a940a,_0x2719cf=_0x328d8e['commands']['get']('footnotesStyle'),_0x2de708=new _0xf1d576(_0x2a5631);return _0x2de708['set']({'label':_0x196866,'icon':_0x3a1d98,'tooltip':_0xa7422d}),_0x2de708['bind']('isOn')['to'](_0x2719cf,'value',_0x4476ed=>_0x4476ed===_0x403876),_0x2de708['bind']('isEnabled')['to'](_0x2719cf,'isEnabled'),_0x2de708['on']('execute',()=>{_0x328d8e['execute']('footnotesStyle',{'value':_0x403876}),_0x328d8e['editing']['view']['focus']();}),_0x2de708;}(_0x5449bf,_0x4edc36['find'](_0x306587=>_0x306587['style']===_0x4721eb));});}(_0x4e178e),_0x189363=new ht(_0x4e178e['locale'],{'styleGridAriaLabel':_0x320a23,'styleButtonViews':_0x4a4989}),_0x22ca87=_0x4e178e['commands']['get']('footnotesStart');return _0x189363['startIndexFieldView']['bind']('isEnabled')['to'](_0x22ca87),_0x189363['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x22ca87),_0x189363['on']('footnotesListStart',(_0xf302df,_0x2c7e44)=>{_0x4e178e['execute']('footnotesStart',{'value':_0x2c7e44['startIndex']});}),_0x189363['delegate']('execute')['to'](_0x59a08a),_0x189363;}({'editor':_0x3c0bb7,'dropdownView':_0x56e25e});_0x56e25e['panelView']['children']['add'](_0x4eef48);}),_0x56e25e;};}(_0x3495bd));}['afterInit'](){const {editor:_0x4b75ba}=this,{t:t}=_0x4b75ba['locale'],_0x127c49=_0x4b75ba['plugins']['get'](_0x4941b3),{defaultPositions:_0x2abd05}=_0x142f36;_0x127c49['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4b75ba['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4914de=>{let _0x16af06=_0x4914de['getFirstPosition']()?.['parent'];return _0x16af06?.['is']('$text')&&(_0x16af06=_0x16af06['parent']),_0x16af06?.['is']('element')?_0x16af06['findAncestor'](q):null;},'positions':[_0x2abd05['southArrowNorth'],_0x2abd05['southArrowNorthMiddleWest'],_0x2abd05['southArrowNorthMiddleEast'],_0x2abd05['southArrowNorthWest'],_0x2abd05['southArrowNorthEast'],_0x2abd05['northArrowSouth'],_0x2abd05['northArrowSouthMiddleWest'],_0x2abd05['northArrowSouthMiddleEast'],_0x2abd05['northArrowSouthWest'],_0x2abd05['northArrowSouthEast'],_0x2abd05['viewportStickyNorth']]});}},pt=class extends _0x48a90d{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 _0x5a0f94,Plugin as _0x1cf4a3}from'@ckeditor/ckeditor5-core';import{WidgetToolbarRepository as _0x2edcf8,isWidget as _0x1e2e73,toWidget as _0x377c6a,toWidgetEditable as _0x1cbc08}from'@ckeditor/ckeditor5-widget';import{FocusTracker as _0x3e51cd,KeystrokeHandler as _0x660de5,global as _0x532abc,logWarning as _0x3ee44f,uid as _0x39882f}from'@ckeditor/ckeditor5-utils';import{ClickObserver as _0x8f3292,PointerObserver as _0x5008d8}from'@ckeditor/ckeditor5-engine';import{ClipboardPipeline as _0x230419}from'@ckeditor/ckeditor5-clipboard';import{BalloonPanelView as _0x414f1c,ButtonView as _0x57973f,CollapsibleView as _0x54e9c3,ContextualBalloon as _0x40388a,FocusCycler as _0x462bd7,LabeledFieldView as _0x43ad0d,MenuBarMenuListItemButtonView as _0x598297,View as _0x47f8ff,ViewCollection as _0x346e7b,addKeyboardHandlingForGrid as _0x1fd547,createDropdown as _0x43f8e7,createLabeledInputNumber as _0x3e2629}from'@ckeditor/ckeditor5-ui';import{IconFootnote as _0x2f8a3d,IconListStyleArabicIndic as _0x4b4c40,IconListStyleDecimal as _0x5b903d,IconListStyleDecimalLeadingZero as _0x373bd8,IconListStyleLowerLatin as _0x48692f,IconListStyleLowerRoman as _0x52de84,IconListStyleUpperLatin as _0xc8910e,IconListStyleUpperRoman as _0x25eb67}from'@ckeditor/ckeditor5-icons';var N=class{['_model'];_elementName;_getElementKey;_trackedElements=new Map();constructor(_0xa4cb89,_0x320721){this['_model']=_0xa4cb89,this['_elementName']=_0x320721['elementName'],this['_getElementKey']=_0x320721['getElementKey'];}reset(){this['_trackedElements']['clear']();}getChanges(_0x18f1e5){const _0x2c4398=new Set(),_0x11f7a6=new Map();for(const _0x5b2c48 of _0x18f1e5){if('insert'===_0x5b2c48['type']&&'$text'!==_0x5b2c48['name']&&_0x5b2c48['position']['nodeAfter']){const _0x153b1d=this['_model']['createRangeOn'](_0x5b2c48['position']['nodeAfter']);for(const _0x2ec7ca of _0x153b1d['getItems']()){if(!_0x2ec7ca['is']('element',this['_elementName']))continue;const _0x1190a4=this['_getElementKey'](_0x2ec7ca);_0x11f7a6['has'](_0x1190a4)||_0x11f7a6['set'](_0x1190a4,[]),_0x11f7a6['get'](_0x1190a4)['push'](_0x2ec7ca);}}if('remove'===_0x5b2c48['type']&&_0x5b2c48['name']===this['_elementName']){const _0x34b079=this['_getElementKey']({'getAttribute':_0x1d1ece=>_0x5b2c48['attributes']['get'](_0x1d1ece)});_0x2c4398['add'](_0x34b079);}}for(const [_0xe827cc,_0x57b4c1]of this['_trackedElements'])'$graveyard'===_0x57b4c1['root']['rootName']&&_0x2c4398['add'](_0xe827cc);for(const _0xe765eb of _0x2c4398)this['_trackedElements']['delete'](_0xe765eb);for(const [_0x3ebddf,_0x36e0b1]of _0x11f7a6)this['_trackedElements']['set'](_0x3ebddf,_0x36e0b1[_0x36e0b1['length']-0x1]);const _0xdeb889=new Set();for(const [_0x4393b0,_0xa84d20]of _0x11f7a6)_0x2c4398['has'](_0x4393b0)&&(_0xdeb889['add'](_0xa84d20[0x0]),_0xa84d20['length']>0x1?_0x11f7a6['set'](_0x4393b0,_0xa84d20['slice'](0x1)):_0x11f7a6['delete'](_0x4393b0),_0x2c4398['delete'](_0x4393b0));return{'removed':Array['from'](_0x2c4398),'inserted':Array['from'](_0x11f7a6['values']())['flat'](),'moved':Array['from'](_0xdeb889)};}},V=class extends _0x1cf4a3{_footnotes=[];_footnotesDefinitions=null;_footnoteFormatter=null;_footnoteDefsContainerTracker;_footnoteRefsTracker;_footnoteDefsTracker;static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xb74d05){super(_0xb74d05),this['_footnoteDefsContainerTracker']=new N(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x416fe2=>_0x416fe2['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new N(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x2ae2ae=>_0x2ae2ae['getAttribute']('footnoteId')});}init(){const {editor:_0x44460a}=this,{model:_0x2b6d53,data:_0x3c1fe9}=_0x44460a;_0x2b6d53['document']['registerPostFixer'](_0x3ad1e1=>{const _0x3d1c45=_0x2b6d53['document']['differ']['getChanges']();let _0x1d5b52=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x3ad1e1,_0x3d1c45)&&(_0x1d5b52=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x3ad1e1,_0x3d1c45)&&(_0x1d5b52=!0x0),this['_handleFootnoteReferencesChanges'](_0x3ad1e1,_0x3d1c45)&&(_0x1d5b52=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x3ad1e1)&&(_0x1d5b52=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x3ad1e1)&&(_0x1d5b52=!0x0),this['_sortFootnoteDefinitions'](_0x3ad1e1)&&(_0x1d5b52=!0x0),_0x1d5b52;}),this['listenTo'](_0x2b6d53['document'],'change:data',()=>{_0x2b6d53['enqueueChange']({'isUndoable':!0x1},_0x1e7793=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1e7793);for(const _0x327c9c of this['_footnotes'])_0x327c9c['definition']['isAttached']()||_0x1e7793['remove'](_0x327c9c['reference']);});},{'priority':'low'}),this['listenTo'](_0x3c1fe9,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}getFootnotesDefinitionsObjectElement(){return this['_footnotesDefinitions'];}getFootnote(_0x401f07){return this['_footnotes']['find'](_0x4ecef1=>_0x4ecef1['id']===_0x401f07)||null;}getFootnotes(){return Array['from'](this['_footnotes']);}getFootnotesFormatter(){return this['_footnoteFormatter'];}setFootnoteFormatter(_0x70d3e2){this['_footnoteFormatter']=_0x70d3e2;}_updateFootnotesCounters(_0x579ae8,_0x2789b5=0x0){let _0x26702b=!0x1;for(let _0x16bf88=_0x2789b5;_0x16bf88<this['_footnotes']['length'];_0x16bf88++)this['_updateFootnoteRefCounter'](_0x579ae8,_0x16bf88)&&(_0x26702b=!0x0);return _0x26702b;}_insertEmptyFootnotesDefinitionsContainer(_0x4d99af,_0x1e92f9){if(!K(this['editor'],_0x1e92f9))return null;const _0x262ca1=_0x4d99af['createElement']('footnotesDefinitions',{});return _0x4d99af['append'](_0x262ca1,_0x1e92f9),this['_footnotesDefinitions']=_0x262ca1,_0x262ca1;}_getFirstSuitableFootnotesDefinitionsRoot(){const _0x198d38=[...(_0x2ff8a5=this['_footnotes'],[..._0x2ff8a5['reduce']((_0x210952,_0x337436)=>(_0x210952['add'](_0x337436['reference']['root']),_0x210952),new Set())]),...this['editor']['model']['document']['getRoots']()];var _0x2ff8a5;for(const _0x531dde of _0x198d38)if(K(this['editor'],_0x531dde))return _0x531dde;return null;}_ensureFootnotesDefinitionsContainerExists(_0x33d399){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;let _0x49af1f=null;const _0x25d2c4=this['_getFirstSuitableFootnotesDefinitionsRoot']();if(_0x25d2c4&&(_0x49af1f=this['_insertEmptyFootnotesDefinitionsContainer'](_0x33d399,_0x25d2c4)),_0x49af1f){for(const _0x27ab2d of this['_footnotes'])_0x27ab2d['definition']['parent']||_0x33d399['insert'](_0x27ab2d['definition'],_0x49af1f,'end');this['_updateFootnotesCounters'](_0x33d399);}}_handleFootnotesDefinitionsObjectChanges(_0xc99ffe,_0x2cd35e){let _0x58386f=!0x1;const {inserted:_0x51334a,removed:_0x719160,moved:_0x73c489}=this['_footnoteDefsContainerTracker']['getChanges'](_0x2cd35e);if(_0x73c489['length']&&(this['_footnotesDefinitions']=_0x73c489[0x0]),_0x51334a['length']){if(_0x51334a['length']>0x1||this['_footnotesDefinitions']&&_0x51334a['some'](_0x4c9073=>_0x4c9073!==this['_footnotesDefinitions'])){const _0x5e5a3e=_0xc99ffe['createElement']('footnotesDefinitions',{}),_0x4e50fe=[];this['_footnotesDefinitions']&&_0x4e50fe['push'](this['_footnotesDefinitions']),_0x4e50fe['push'](..._0x51334a),_0xc99ffe['insert'](_0x5e5a3e,_0x4e50fe[0x0],'before');for(const _0x87557e of _0x4e50fe)_0xc99ffe['move'](_0xc99ffe['createRangeIn'](_0x87557e),_0xc99ffe['createPositionAt'](_0x5e5a3e,'end')),_0xc99ffe['remove'](_0x87557e);this['_footnotesDefinitions']=_0x5e5a3e,this['_updateFootnotesCounters'](_0xc99ffe),_0x58386f=!0x0;}else this['_footnotesDefinitions']=_0x51334a[0x0];}if(_0x719160['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5d1814 of this['_footnotes'])_0xc99ffe['remove'](_0x5d1814['reference']),_0x58386f=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x58386f;}_handleFootnoteDefinitionsChanges(_0x9e79f9,_0x36ab9e){let _0x101ce2=!0x1;const _0x359ce1=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x389742,moved:_0x2a01e8}=this['_footnoteDefsTracker']['getChanges'](_0x36ab9e);for(const _0x3b343e of[..._0x2a01e8,..._0x389742]){const _0x4f840f=_0x3b343e['getAttribute']('footnoteId'),_0x39e02b=this['getFootnote'](_0x4f840f);_0x39e02b&&(_0x39e02b['definition']=_0x3b343e),T(_0x9e79f9,_0x359ce1,_0x3b343e)&&(_0x101ce2=!0x0);}return _0x101ce2;}_handleFootnoteReferencesChanges(_0x573946,_0x238105){let _0x1080d6=!0x1;const {removed:_0x3ca726,inserted:_0x16a751,moved:_0x5dec20}=this['_footnoteRefsTracker']['getChanges'](_0x238105);for(const _0x28c0dd of _0x3ca726)this['_handleRemoveFootnoteReferenceById'](_0x573946,_0x28c0dd)&&(_0x1080d6=!0x0);for(const _0x20f46a of _0x16a751)this['_handleInsertedFootnoteReference'](_0x573946,_0x20f46a)&&(_0x1080d6=!0x0);for(const _0x400cc6 of _0x5dec20)this['_handleMovedFootnoteReference'](_0x573946,_0x400cc6)&&(_0x1080d6=!0x0);return _0x1080d6;}_handleFootnotesDefinitionsObjectSync(_0x37d90c){if(!this['_footnotesDefinitions'])return!0x1;let _0x2feddf=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x23fa83=[];for(const _0x2071d9 of this['_footnotesDefinitions']['getChildren']()){const _0x79002a=_0x2071d9['getAttribute']('footnoteId');this['getFootnote'](_0x79002a)||(_0x23fa83['unshift'](_0x2071d9),_0x2feddf=!0x0);}for(const _0x4ce140 of _0x23fa83)_0x37d90c['remove'](_0x4ce140);}const _0x2dbd15=new Set(),_0xc1d29d=[];for(const _0x567492 of this['_footnotesDefinitions']['getChildren']()){const _0x31ccb0=_0x567492['getAttribute']('footnoteId');_0x2dbd15['has'](_0x31ccb0)?(_0xc1d29d['unshift'](_0x567492),_0x2feddf=!0x0):_0x2dbd15['add'](_0x31ccb0);}for(const _0x4b887e of _0xc1d29d)_0x37d90c['remove'](_0x4b887e);return this['_footnotesDefinitions']['childCount']||(_0x37d90c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2feddf=!0x0),_0x2feddf;}_handleInsertedFootnoteReference(_0x3b0273,_0x52c544){if(this['_footnotes']['find'](_0x2f935a=>_0x2f935a['reference']===_0x52c544))return!0x1;let _0x4a494c=!0x1;const _0x3f0f9c=_0x52c544['getAttribute']('footnoteId'),_0x40f6a4=this['_footnotes']['findIndex'](_0x2659de=>_0x2659de['id']===_0x3f0f9c);-0x1!==_0x40f6a4&&(_0x3b0273['remove'](this['_footnotes'][_0x40f6a4]['reference']),this['_footnotes']['splice'](_0x40f6a4,0x1),_0x4a494c=!0x0);let _0x5d9c28=this['_footnotesDefinitions']?function(_0x58eeae,_0x542c96){for(const _0x1b4782 of _0x58eeae['getChildren']())if(_0x1b4782['getAttribute']('footnoteId')===_0x542c96)return _0x1b4782;return null;}(this['_footnotesDefinitions'],_0x3f0f9c):null;_0x5d9c28||(_0x5d9c28=_0x3b0273['createElement']('footnoteDefinition',{'footnoteId':_0x3f0f9c}),this['_footnotesDefinitions']&&(_0x3b0273['insert'](_0x5d9c28,this['_footnotesDefinitions'],'end'),_0x4a494c=!0x0));const _0x1f2754={'id':_0x3f0f9c,'reference':_0x52c544,'definition':_0x5d9c28},_0x5525a7=j(this['editor']['model'],this['_footnotes'],_0x52c544);this['_footnotes']['splice'](_0x5525a7,0x0,_0x1f2754);let _0x454443=_0x5525a7;return-0x1!==_0x40f6a4&&(_0x454443=Math['min'](_0x5525a7,_0x40f6a4)),this['_updateFootnotesCounters'](_0x3b0273,_0x454443)&&(_0x4a494c=!0x0),_0x4a494c;}_handleRemoveFootnoteReferenceById(_0x5b4a8a,_0x3661ab){const _0x198063=this['_footnotes']['findIndex'](_0x40b56f=>_0x40b56f['id']===_0x3661ab);if(-0x1===_0x198063)return!0x1;let _0xf2ed9c=!0x1;const _0x215126=this['_footnotes'][_0x198063];return _0x215126['definition']['isAttached']()&&'$graveyard'!==_0x215126['definition']['root']['rootName']&&(_0x5b4a8a['remove'](_0x215126['definition']),_0xf2ed9c=!0x0),this['_footnotes']['splice'](_0x198063,0x1),this['_updateFootnotesCounters'](_0x5b4a8a,_0x198063)&&(_0xf2ed9c=!0x0),_0xf2ed9c;}_handleMovedFootnoteReference(_0xe15667,_0x115aa9){const _0xa008d4=_0x115aa9['getAttribute']('footnoteId'),_0x2dc023=this['_footnotes']['findIndex'](_0x1f6270=>_0x1f6270['id']===_0xa008d4),_0x4995d4=this['_footnotes'][_0x2dc023];let _0x3bb077=!0x1;_0x4995d4['reference']=_0x115aa9,this['_footnotes']['splice'](_0x2dc023,0x1);const _0x544144=j(this['editor']['model'],this['_footnotes'],_0x115aa9);return this['_footnotes']['splice'](_0x544144,0x0,_0x4995d4),this['_updateFootnotesCounters'](_0xe15667,Math['min'](_0x2dc023,_0x544144))&&(_0x3bb077=!0x0),_0x3bb077;}_updateFootnoteRefCounter(_0xbb3b54,_0x3ef131){if(!this['_footnotesDefinitions'])return!0x1;const _0x5edc17=this['_footnotes'][_0x3ef131];let _0x31bbf9;return _0x31bbf9=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x5edc17,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3ef131+0x1}):String(_0x3ef131+0x1),_0x5edc17['reference']['getAttribute']('footnoteCounter')!=_0x31bbf9&&(_0xbb3b54['setAttribute']('footnoteCounter',_0x31bbf9,_0x5edc17['reference']),!0x0);}_sortFootnoteDefinitions(_0x33ff46){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x45dd09,_0x1b96d6){if(_0x45dd09['length']!==_0x1b96d6['length'])return!0x1;for(let _0x3904e6=0x0;_0x3904e6<_0x45dd09['length'];_0x3904e6++)if(_0x45dd09[_0x3904e6]!==_0x1b96d6[_0x3904e6])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x37717f=>_0x37717f['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3cdba7=>_0x3cdba7['getAttribute']('footnoteId'))))return!0x1;let _0x5ea686=!0x1;for(let _0x18268e=0x0;_0x18268e<this['_footnotes']['length'];_0x18268e++){const _0x96cc7=this['_footnotes'][_0x18268e],_0x48f145=_0x33ff46['createPositionBefore'](_0x96cc7['definition']),_0x3ef9c1=_0x33ff46['createPositionAt'](this['_footnotesDefinitions'],_0x18268e);_0x48f145['isEqual'](_0x3ef9c1)||(_0x33ff46['move'](_0x33ff46['createRangeOn'](_0x96cc7['definition']),_0x3ef9c1),_0x5ea686=!0x0);}return _0x5ea686;}_ensureFootnotesReferencesHaveProperOrder(_0x3dae8a){if(!this['_footnotes']['length'])return!0x1;const {model:_0x3050b0}=this['editor'];let _0x532c79=!0x1;for(let _0x1d3798=0x0;_0x1d3798<this['_footnotes']['length']-0x1;_0x1d3798++){const _0x55e2cb=this['_footnotes'][_0x1d3798],_0x357232=this['_footnotes'][_0x1d3798+0x1],_0x2a2dbc=_0x3050b0['createPositionBefore'](_0x55e2cb['reference']),_0x8b0c3d=_0x3050b0['createPositionBefore'](_0x357232['reference']);'after'===_0x2a2dbc['compareWith'](_0x8b0c3d)&&(this['_handleMovedFootnoteReference'](_0x3dae8a,_0x55e2cb['reference']),_0x1d3798=-0x1,_0x532c79=!0x0);}return _0x532c79;}};function K(_0x4a2985,_0x2b6954){return _0x4a2985['model']['schema']['checkChild'](_0x2b6954,'footnotesDefinitions');}function T(_0x1d2287,_0x42b705,_0x27316a){if(_0x27316a['childCount'])return!0x1;const _0x5892e3=_0x42b705?'paragraph':'footnoteInlineContent';return _0x1d2287['insert'](_0x1d2287['createElement'](_0x5892e3),_0x27316a),!0x0;}function j(_0x4b29a0,_0x32f7b0,_0x12cce6){if(0x0===_0x32f7b0['length'])return 0x0;const _0x246a0c=_0x4b29a0['createPositionBefore'](_0x12cce6);for(let _0x4674dc=0x0;_0x4674dc<_0x32f7b0['length'];_0x4674dc++){const _0x237ea5=_0x32f7b0[_0x4674dc],_0x54cf38=_0x4b29a0['createPositionBefore'](_0x237ea5['reference']);if('before'===_0x246a0c['compareWith'](_0x54cf38))return _0x4674dc;}const _0x5b1798=_0x12cce6['root'];let _0x411808=-0x1;for(let _0x33b6c2=_0x32f7b0['length']-0x1;_0x33b6c2>=0x0;_0x33b6c2--)if(_0x32f7b0[_0x33b6c2]['reference']['root']===_0x5b1798){_0x411808=_0x33b6c2;break;}if(-0x1!==_0x411808)return _0x411808+0x1;const _0x30c9f4=_0x4b29a0['document']['getRootNames'](),_0x5252bb=_0x30c9f4[_0x30c9f4['indexOf'](_0x5b1798['rootName'])+0x1];if(_0x5252bb){for(let _0x2ca775=0x0;_0x2ca775<_0x32f7b0['length'];_0x2ca775++)if(_0x32f7b0[_0x2ca775]['reference']['root']['rootName']===_0x5252bb)return _0x2ca775;}return _0x32f7b0['length'];}var U=class extends _0x5a0f94{['refresh'](){const {model:_0x15c845,plugins:_0x2248a7}=this['editor'],{selection:_0x531a5d}=_0x15c845['document'],_0x564da8=this['_getPositionToInsertFootnote'](_0x531a5d),_0x1539eb=_0x2248a7['get']('FootnotesTracker');this['isEnabled']=!(!_0x564da8||!_0x1539eb['_getFirstSuitableFootnotesDefinitionsRoot']());}execute(_0x4ec5ec){const {editor:_0x1ae1b3}=this,{model:_0x3d8bbe}=_0x1ae1b3,{selection:_0x4a9524}=_0x3d8bbe['document'],_0x34b0b0=this['_getPositionToInsertFootnote'](_0x4a9524);if(!_0x34b0b0)return;const _0x2bac1b=_0x1ae1b3['plugins']['get']('FootnotesEditing'),_0x444df9=_0x4ec5ec?.['footnoteId']??_0x39882f();!function(_0x25e939){return'string'==typeof _0x25e939&&_0x25e939['length']>0x0&&!/\s/['test'](_0x25e939)&&!/^\d/['test'](_0x25e939);}(_0x444df9)?_0x3ee44f('insert-footnote-command-executed-with-invalid-id'):(_0x3d8bbe['change'](_0xa36510=>{const _0x2a45aa=_0xa36510['createElement']('footnoteRef',{'footnoteId':_0x444df9});_0x3d8bbe['insertObject'](_0x2a45aa,_0x34b0b0,null);}),_0x2bac1b['_moveSelectionToFootnoteDefinition'](_0x444df9));}_getPositionToInsertFootnote(_0x4bfd08){const {model:_0x3e6a4f}=this['editor'],{schema:_0x2f51b2}=_0x3e6a4f,_0x147136=_0x4bfd08['getFirstRange']();for(const _0xb527e7 of _0x147136['getItems']())if(_0x2f51b2['isBlock'](_0xb527e7)||_0x2f51b2['isObject'](_0xb527e7))return null;const _0x5d016b=_0x147136['end'];return _0x2f51b2['checkChild'](_0x5d016b,'footnoteRef')?_0x5d016b:null;}},$=class extends _0x1cf4a3{static get['pluginName'](){return'FootnotesEditing';}static get requires(){return[V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x2bf1f1}=this;_0x2bf1f1['config']['define']('footnotes.multiBlock',!0x0),_0x2bf1f1['commands']['add']('insertFootnote',new U(_0x2bf1f1)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}afterInit(){!async function(_0x21c4f3){const _0x55144b='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x51cc99=0x79128,_0x1aefb8=window['Date']['now'](),_0x32f66d=_0x21c4f3['editor'],_0x4cc22b=new window['Promise'](_0x46e51b=>{_0x32f66d['once']('ready',_0x46e51b);}),_0x32c670={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x12de56=_0x32f66d['config']['get']('licenseKey');async function _0x2eaa59(){let _0x1c28eb,_0x3c4089=null,_0x42a19f=null;try{return'GPL'==_0x12de56?'NotAllowed':(_0x1c28eb=_0x27bdf8(),_0x1c28eb?(_0x1c28eb['usageEndpoint']&&(_0x42a19f=_0x52ee01(_0x1c28eb['usageEndpoint'],_0x1c28eb['jti'])),await _0x4951a1()?_0x3c2da3()?_0x2c4870()?'Expired':_0x2bf77c()?('evaluation'==_0x1c28eb['licenseType']&&(_0x3c4089=_0x136db8('EvaluationLimit')),await _0x4f123a()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2c4870(){const _0x1e5b06=['evaluation','trial']['includes'](_0x1c28eb['licenseType'])?_0x1aefb8/0x3e8:0xe10*_0x51cc99;return _0x1c28eb['exp']<_0x1e5b06;}function _0x3c2da3(){const _0x4a1395=_0x1c28eb['features'];return!!_0x4a1395&&(!!_0x4a1395['includes']('*')||!!_0x4a1395['includes']('FOO'));}function _0x2bf77c(){const _0x9503d3=_0x1c28eb['licensedHosts'];if(!_0x9503d3||0x0==_0x9503d3['length'])return!0x0;const {hostname:_0x2682ce}=new URL(window['location']['href']);if(_0x9503d3['includes'](_0x2682ce))return!0x0;const _0x5ed9ef=_0x2682ce['split']('.');return _0x9503d3['filter'](_0x140271=>_0x140271['includes']('*'))['map'](_0xb64063=>_0xb64063['split']('.'))['filter'](_0x5a2758=>_0x5a2758['length']<=_0x5ed9ef['length'])['map'](_0x5e8227=>Array(_0x5ed9ef['length']-_0x5e8227['length'])['fill']('*'===_0x5e8227[0x0]?'*':'')['concat'](_0x5e8227))['some'](_0x3b5439=>_0x5ed9ef['every']((_0x3b6880,_0x58c7e4)=>_0x3b5439[_0x58c7e4]===_0x3b6880||'*'===_0x3b5439[_0x58c7e4]));}function _0x4f123a(){return _0x3c4089&&_0x42a19f?new window['Promise']((_0x4f6b7e,_0x3e91a3)=>{_0x3c4089['then'](_0x4f6b7e,_0x3e91a3),_0x42a19f['then'](_0x3d444f=>{'Valid'!=_0x3d444f&&_0x4f6b7e(_0x3d444f);},_0x3e91a3);}):_0x3c4089||_0x42a19f||'Valid';}}function _0x52ee01(_0x4927a6,_0x1fa396){return new window['Promise'](_0x59e813=>{if(_0x4e237e())return _0x59e813('Valid');_0x4ff12f(),_0x32f66d['decorate']('_sendUsageRequest');let _0x231e5b=!0x1;const _0x405401=_0x39882f();function _0xaa8a3(_0x4f9241){return!!_0x4f9241&&('object'==typeof _0x4f9241||'function'==typeof _0x4f9241)&&'function'==typeof _0x4f9241['then']&&'function'==typeof _0x4f9241['catch'];}function _0x148daf(_0x4a46cf){_0x226e80(_0x4a46cf)['then'](_0x242541=>_0x242541&&'ok'==_0x242541['status']?_0xe6ad4d(_0x50d66b(_0x405401+_0x1fa396))!=_0x242541['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x324676=>(_0x1ae057(),_0x324676),()=>{const _0x5c55ba=_0x585883();return null==_0x5c55ba?(_0x1ae057(),'Valid'):_0x1aefb8-_0x5c55ba>0x240c8400?'UsageLimit':'Valid';})['then'](_0x59e813)['catch'](()=>{_0x59e813('UsageLimit');});const _0x1b55d3=0x36ee80;function _0x1ae057(){const _0x1ce5d1='llct-'+_0xe6ad4d(_0x50d66b(_0x4927a6)),_0x4e2f02=_0x3cb0e7(_0xe6ad4d(window['Math']['ceil'](_0x1aefb8/_0x1b55d3)));window['localStorage']['setItem'](_0x1ce5d1,_0x4e2f02);}function _0x585883(){const _0x1cae38='llct-'+_0xe6ad4d(_0x50d66b(_0x4927a6)),_0x1adf61=window['localStorage']['getItem'](_0x1cae38);return _0x1adf61?window['parseInt'](_0x3cb0e7(_0x1adf61),0x10)*_0x1b55d3:null;}function _0x226e80(_0x4cd2f9){return new window['Promise']((_0x3dedfc,_0x27eab3)=>{_0x4cd2f9['then'](_0x3dedfc,_0x27eab3),window['setTimeout'](_0x27eab3,0x1d4c0);});}}_0x32f66d['on']('_sendUsageRequest',(_0x4633bd,_0x317b45)=>{if(_0x317b45[0x0]!=_0x4927a6)return _0x59e813('UsageLimit');_0x317b45[0x1]={..._0x317b45[0x1],'requestId':_0x405401};},{'priority':'high'}),_0x32f66d['on']('_sendUsageRequest',_0x415fa8=>{_0xaa8a3(_0x415fa8['return'])&&(_0x231e5b=!0x0,_0x148daf(_0x415fa8['return']));},{'priority':'low'}),_0x4cc22b['then'](()=>{_0x231e5b||_0x59e813('UsageLimit');});});function _0x4e237e(){return'auto'==_0x32f66d['editing']['view']['_overlayModeHint'];}function _0x4ff12f(){_0x32f66d['editing']['view']['_overlayModeHint']='auto';}}function _0x136db8(_0x3cb014){const _0x431772=[new window['Promise'](_0x504d00=>setTimeout(_0x504d00,0x93ecc)),_0x4cc22b['then'](()=>new window['Promise'](_0x30e9d1=>{let _0x4b090a=0x0;_0x32f66d['model']['on']('applyOperation',(_0x1eb080,_0x49fd00)=>{_0x49fd00[0x0]['isDocumentOperation']&&_0x4b090a++,0x5e8==_0x4b090a&&(_0x30e9d1(),_0x1eb080['off']());});}))];return window['Promise']['race'](_0x431772)['then'](()=>_0x3cb014);}async function _0x1eaef0(){await _0x4cc22b,_0x32f66d['model']['change']=_0x1e4a9c,_0x32f66d['model']['enqueueChange']=_0x1e4a9c,_0x32f66d['enableReadOnlyMode']('model');}function _0x165d6e(_0x18505e){const _0xd8bc42=_0xbfa038();_0x32f66d[_0xd8bc42]='footnotesLicenseKey'+_0x18505e,'Valid'!=_0x18505e&&_0x1eaef0();}function _0xbfa038(){const _0x287f46=window['String'](window['performance']['now']())['replace']('.','');let _0xd4a450='u';for(let _0x37311f=0x0;_0x37311f<_0x287f46['length'];_0x37311f+=0x2){let _0x895f5e=window['parseInt'](_0x287f46['substring'](_0x37311f,_0x37311f+0x2));_0x895f5e>=0x3e&&(_0x895f5e-=0x3e),_0xd4a450+=_0x55144b[_0x895f5e];}return _0xd4a450;}function _0x27bdf8(){const _0x2d094d=_0x12de56['split']('.');if(0x3!=_0x2d094d['length'])return null;return _0x136b2b(_0x2d094d[0x1]);function _0x136b2b(_0x461cb0){const _0x4cafc0=_0x244cf5(_0x461cb0);return _0x4cafc0&&_0x3f093c()?_0x4cafc0:null;function _0x3f093c(){const _0x44edc9=_0x4cafc0['jti'],_0x10ea6d=window['parseInt'](_0x44edc9['substring'](_0x44edc9['length']-0x8),0x10),_0x5d8d95={..._0x4cafc0,'jti':_0x44edc9['substring'](0x0,_0x44edc9['length']-0x8)};return delete _0x5d8d95['vc'],_0x50d66b(_0x5d8d95)==_0x10ea6d;}}}async function _0x4951a1(){let _0x3f4c5e=!0x0;try{const [_0x25ebb2,_0x6deba2,_0x258ded]=_0x12de56['split']('.');return _0x330c3a(_0x25ebb2),await _0x3752fe(_0x25ebb2,_0x6deba2,_0x258ded),_0x3f4c5e;}catch{return!0x1;}function _0x330c3a(_0x342629){const _0x5e83bb=_0x244cf5(_0x342629);_0x5e83bb&&'ES256'==_0x5e83bb['alg']||(_0x3f4c5e=!0x1);}async function _0x3752fe(_0x3d021e,_0x208bc3,_0x14dd0b){const _0x5c775b=window['Uint8Array']['from'](_0x5b43f4(_0x14dd0b),_0x2d0911=>_0x2d0911['charCodeAt'](0x0)),_0x278990=new window['TextEncoder']()['encode'](_0x3d021e+'.'+_0x208bc3),_0x33573c=window['crypto']['subtle'];if(!_0x33573c)return;const _0x309790=await _0x33573c['importKey']('jwk',_0x32c670,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x33573c['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x309790,_0x5c775b,_0x278990)||(_0x3f4c5e=!0x1);}}function _0x244cf5(_0x1a3543){return _0x1a3543['startsWith']('ey')?JSON['parse'](_0x5b43f4(_0x1a3543)):null;}function _0x5b43f4(_0x202e23){return window['atob'](_0x202e23['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x50d66b(_0x12a635){let _0x181f64=0x1505;function _0x3311a8(_0x47a5fa){for(let _0x301efe=0x0;_0x301efe<_0x47a5fa['length'];_0x301efe++){const _0xf12f58=_0x47a5fa['charCodeAt'](_0x301efe);_0x181f64=(_0x181f64<<0x5)+_0x181f64+_0xf12f58,_0x181f64&=_0x181f64;}}function _0x580dea(_0x8c8956){Array['isArray'](_0x8c8956)?_0x8c8956['forEach'](_0x580dea):_0x8c8956&&'object'==typeof _0x8c8956?Object['entries'](_0x8c8956)['sort']()['forEach'](([_0x4109ed,_0x57fcb1])=>{_0x3311a8(_0x4109ed),_0x580dea(_0x57fcb1);}):_0x3311a8(window['String'](_0x8c8956));}return _0x580dea(_0x12a635),_0x181f64>>>0x0;}function _0xe6ad4d(_0x295dd1){return _0x295dd1['toString'](0x10)['padStart'](0x8,'0');}function _0x3cb0e7(_0x2bce65){return _0x2bce65['split']('')['reverse']()['join']('');}function _0x1e4a9c(){}_0x165d6e(await _0x2eaa59());}(this);}_moveSelectionToFootnoteDefinition(_0x23f3a6){const {plugins:_0x4b79fb,editing:_0x3b297b,model:_0x117129}=this['editor'],_0xc9c340=_0x4b79fb['get'](V)['getFootnote'](_0x23f3a6);return!!_0xc9c340&&(_0x117129['change'](_0x2f8f9c=>{_0x2f8f9c['setSelection'](_0x2f8f9c['createPositionAt'](_0xc9c340['definition'],'end'));}),_0x3b297b['view']['scrollToTheSelection'](),!0x0);}_moveSelectionToFootnoteReference(_0x152b53){const {plugins:_0x224901,editing:_0x3a8f18,model:_0x19bcee}=this['editor'],_0x2744b1=_0x224901['get'](V)['getFootnote'](_0x152b53);return!!_0x2744b1&&(_0x19bcee['change'](_0x2ea803=>{_0x2ea803['setSelection'](_0x2744b1['reference'],'on');}),_0x3a8f18['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x19e8fd}=this['editor']['model'],_0x453ec3=this['editor']['config']['get']('footnotes.multiBlock');_0x19e8fd['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x19e8fd['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x19e8fd['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x453ec3?_0x19e8fd['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x19e8fd['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x19e8fd['addChildCheck'](_0x13363c=>{for(const _0x2c4434 of _0x13363c)if('footnoteDefinition'===_0x2c4434['name'])return!0x1;},'footnoteRef');}_defineRefsConverters(){const {editor:_0x38b616}=this,{conversion:_0x5a4beb,editing:_0xe1ec12}=_0x38b616,{t:t}=_0x38b616['locale'];_0x5a4beb['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x512e99,{writer:_0x1d5876,consumable:_0x1d414b})=>{const _0x4a47e3=_0x512e99['getChild'](0x0);if(!_0x4a47e3||!_0x4a47e3['is']('element','a'))return null;const _0x5cb8c6=_0x4a47e3['getAttribute']('href')||'';if(!_0x5cb8c6['startsWith']('#'))return null;const _0x30c708=_0x5cb8c6['replace'](/^#/,'');if(!_0x30c708)return null;_0x1d414b['consume'](_0x4a47e3,{'name':!0x0,'attributes':['href']});for(const {item:_0x3f29fd}of _0xe1ec12['view']['createRangeIn'](_0x4a47e3))_0x3f29fd['is']('$textProxy')?_0x1d414b['consume'](_0x3f29fd['textNode'],{'name':!0x0}):_0x3f29fd['is']('element')&&_0x1d414b['consume'](_0x3f29fd,{'name':!0x0});return _0x1d5876['createElement']('footnoteRef',{'footnoteId':_0x30c708});}}),_0x5a4beb['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x164d1e,{writer:_0x7b9a6d})=>z(_0x164d1e,_0x7b9a6d)}),_0x5a4beb['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4457cf,{writer:_0x2d0218})=>{const _0x4158ae=_0x4457cf['getAttribute']('footnoteCounter');return _0x377c6a(z(_0x4457cf,_0x2d0218),_0x2d0218,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4158ae)});}});}_defineDefinitionsConverters(){const {editor:_0x2b4393}=this,{t:t}=_0x2b4393['locale'],{conversion:_0x2cdf76}=_0x2b4393;_0x2cdf76['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2cdf76['for']('upcast')['add'](_0x1e7374=>{_0x1e7374['on']('element:ol',(_0x475d74,_0x5cb0d2,_0x2fdee0)=>{const _0x4e9adc=_0x5cb0d2['viewItem'];if(!_0x4e9adc['hasClass']('footnotes-list')||!_0x5cb0d2['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2fdee0['consumable']['consume'](_0x4e9adc,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3c89fe,modelCursor:_0x1b1712}=_0x2fdee0['convertChildren'](_0x5cb0d2['viewItem'],_0x5cb0d2['modelCursor']);_0x5cb0d2['modelRange']=_0x3c89fe,_0x5cb0d2['modelCursor']=_0x1b1712;}),_0x1e7374['on']('element:hr',(_0x25354d,_0x2deaa5,_0x48c151)=>{const _0x58e0bf=_0x2deaa5['viewItem'];_0x58e0bf['hasClass']('footnotes-divider')&&_0x2deaa5['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x48c151['consumable']['consume'](_0x58e0bf,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2cdf76['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x445d8f,{writer:_0x36241a})=>X(_0x36241a)}),_0x2cdf76['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x505413,{writer:_0xfa23e8})=>{const _0x8a6db2=_0x377c6a(X(_0xfa23e8,{'data-footnotes-list-label':t('Footnotes')}),_0xfa23e8,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xfa23e8['setCustomProperty']('footnotesDefinitions',!0x0,_0x8a6db2),_0x8a6db2;}});}_defineDefinitionConverters(){const {editor:_0x20e6f7}=this,{conversion:_0x52e110,locale:_0x3d597a}=_0x20e6f7,_0x1027e6=_0x20e6f7['config']['get']('footnotes.multiBlock');_0x52e110['for']('upcast')['add'](_0x151594=>{_0x151594['on']('element:li',(_0x1ed974,_0x19fa00,_0x542bb8)=>{const _0x35bc36=_0x19fa00['viewItem'];if(!_0x35bc36['hasClass']('footnote-definition')||!_0x35bc36['getAttribute']('id'))return;const _0x575da8=_0x35bc36['parent'];if(!_0x575da8['is']('element','ol')||!_0x575da8['hasClass']('footnotes-list'))return;if(!_0x542bb8['consumable']['test'](_0x35bc36,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x45334c=_0x542bb8['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x35bc36['getAttribute']('id')});if(!_0x542bb8['safeInsert'](_0x45334c,_0x19fa00['modelCursor']))return;_0x542bb8['consumable']['consume'](_0x35bc36,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x278df3=Array['from'](_0x35bc36['getChildren']())['find'](_0x1afe92=>_0x1afe92['is']('element')&&_0x1afe92['hasClass']('footnote-content'));for(const _0x210532 of _0x35bc36['getChildren']())_0x210532['is']('element')&&(_0x542bb8['consumable']['consume'](_0x210532,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x542bb8['consumable']['consume'](_0x210532,{'name':!0x0,'classes':'footnote-content'}));if(_0x278df3){if(_0x1027e6)_0x542bb8['convertChildren'](_0x278df3,_0x45334c);else{const _0x1e30d0=_0x542bb8['writer']['createElement']('footnoteInlineContent');_0x542bb8['writer']['insert'](_0x1e30d0,_0x45334c),_0x542bb8['convertChildren'](_0x278df3,_0x1e30d0);}}_0x542bb8['updateConversionResult'](_0x45334c,_0x19fa00);});}),_0x52e110['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2177f3,{writer:_0x1c3000})=>J(_0x2177f3,_0x1c3000,_0x3d597a,{'dataPipeline':!0x0})}),_0x52e110['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x15c68a,{writer:_0x1d70cc})=>J(_0x15c68a,_0x1d70cc,_0x3d597a)});}_defineBogusParagraphConverters(){const {editor:_0x242386}=this,{conversion:_0x441d0f}=_0x242386;_0x242386['config']['get']('footnotes.multiBlock')?(_0x441d0f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':M(),'converterPriority':'high'}),_0x441d0f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':M({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x242386['model']['document'],'change:data',()=>{!function(_0x5c31ea,_0x5157f1){const _0x586c31=_0x5c31ea['document']['differ'],_0x504e7f=new Set();for(const _0x505dbd of _0x586c31['getChanges']()){const _0x1dec52='attribute'==_0x505dbd['type']?_0x505dbd['range']['start']['parent']:_0x505dbd['position']['parent'];_0x1dec52['is']('element','footnoteDefinition')&&_0x504e7f['add'](_0x1dec52);}for(const _0x5b00f1 of _0x504e7f['values']()){const _0x7f2097=Array['from'](_0x5b00f1['getChildren']())['filter'](_0x5f170b=>q(_0x5f170b,_0x5157f1['mapper']));for(const _0x52fb3f of _0x7f2097)_0x5157f1['reconvertItem'](_0x52fb3f);}}(_0x242386['model'],_0x242386['editing']);})):(_0x441d0f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':M()}),_0x441d0f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4cf666,{writer:_0x52fd5d})=>{const _0x2da0b4=_0x52fd5d['createContainerElement']('span');return _0x52fd5d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2da0b4),_0x2da0b4;}}));}['_defineKeyboardHandlers'](){const {editor:_0x9b11ab}=this,{editing:_0xfd1339,t:t}=_0x9b11ab,_0x37a0ee=_0x9b11ab['model']['document']['selection'];_0x9b11ab['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x9b11ab['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xfd1339['view']['document'],'enter',(_0x1ab21,_0x489db6)=>{const _0x181564=function(_0x3a8bdd){const _0x105b89=_0x3a8bdd['getSelectedElement']();return _0x105b89?.['is']('element','footnoteRef')?_0x105b89:null;}(_0x37a0ee);if(_0x181564){const _0xdde638=_0x181564['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xdde638),_0x489db6['preventDefault'](),_0x1ab21['stop']();}},{'context':_0x1e2e73});}['_defineClickHandlers'](){const {editor:_0x4d5d76}=this,{editing:_0x192a89}=_0x4d5d76;_0x4d5d76['editing']['view']['addObserver'](_0x5008d8),_0x4d5d76['editing']['view']['addObserver'](_0x8f3292);let _0x322ca1=!0x1;this['listenTo'](_0x192a89['view']['document'],'pointerdown',(_0x4e27b7,_0x32e6f3)=>{const {target:_0x15600f}=_0x32e6f3,_0x341095=_0x192a89['view']['document']['selection'];_0x322ca1=!!(_0x15600f?.['is']('element','a')&&_0x15600f['parent']?.['is']('element','sup')&&_0x15600f['parent']['hasClass']('footnote'))&&_0x341095['getSelectedElement']()===_0x15600f['parent'];},{'priority':'high'}),this['listenTo'](_0x192a89['view']['document'],'click',(_0x364be9,_0x5b4016)=>{const {target:_0x2bff94}=_0x5b4016;if(!_0x2bff94?.['is']('element','a'))return;if(_0x2bff94['parent']?.['is']('element','sup')&&_0x2bff94['parent']['hasClass']('footnote')&&!_0x322ca1)return void _0x5b4016['preventDefault']();let _0x3cbfd3=_0x2bff94['getAttribute']('href');if(!_0x3cbfd3?.['startsWith']('#'))return;_0x3cbfd3=_0x3cbfd3['slice'](0x1);let _0x4a7f45=!0x1;(_0x3cbfd3['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3cbfd3['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3cbfd3))&&(_0x4a7f45=!0x0),_0x4a7f45&&(_0x5b4016['preventDefault'](),_0x364be9['stop']());},{'priority':'high','context':'$capture'});}};function M({dataPipeline:_0x46cc2a}={}){return(_0x3d659e,{writer:_0x400dad})=>{if(!B(_0x3d659e))return null;if(!_0x46cc2a)return _0x400dad['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1db95d=_0x400dad['createContainerElement']('p');return _0x400dad['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1db95d),_0x1db95d;};}function B(_0x1403c7){const {parent:_0x1e1ef2}=_0x1403c7;if(!_0x1e1ef2?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1e1ef2['childCount'])return!0x1;for(const _0x62b4c2 of _0x1403c7['getAttributeKeys']())if(!_0x62b4c2['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x62b4c2)return!0x1;return!0x0;}function q(_0x3fd51f,_0x51ec29){if(!_0x3fd51f['is']('element','paragraph'))return!0x1;const _0x21d4f3=_0x51ec29['toViewElement'](_0x3fd51f);return!!_0x21d4f3&&B(_0x3fd51f)!==_0x21d4f3['is']('element','span');}function H(_0x17191e){return _0x1e2e73(_0x17191e)&&_0x17191e['is']('containerElement')&&!!_0x17191e['getCustomProperty']('footnotesDefinitions');}function X(_0x2137ed,_0x4c4bc7={}){const _0x5b5c12=_0x2137ed['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2b1baa=_0x2137ed['createContainerElement']('ol',{'class':'footnotes-list'},_0x2137ed['createSlot']());return _0x2137ed['createContainerElement']('div',{'class':'footnotes',..._0x4c4bc7},[_0x5b5c12,_0x2b1baa]);}function z(_0x312223,_0x109a9c){const _0x471b31=_0x312223['getAttribute']('footnoteId'),_0x5b0e7e=_0x312223['getAttribute']('footnoteCounter'),_0x4e007d=_0x109a9c['createUIElement']('a',{'href':'#'+_0x471b31},function(_0x4740b4){const _0x37f3f5=this['toDomElement'](_0x4740b4);return _0x37f3f5['textContent']=_0x5b0e7e,_0x37f3f5;}),_0x43f6a1=_0x109a9c['createContainerElement']('sup',{'id':'ref-'+_0x471b31,'class':'footnote'},[_0x4e007d]);return _0x43f6a1['getFillerOffset']=()=>null,_0x43f6a1;}function J(_0x47b00,_0x22472b,_0x141d07,{dataPipeline:_0x503fb8}={}){const {t:t}=_0x141d07,_0x556cda=_0x47b00['getAttribute']('footnoteId'),_0x58b11f=_0x22472b['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x556cda},function(_0x196805){const _0x10aeae=this['toDomElement'](_0x196805);return _0x10aeae['innerText']='^',_0x10aeae;}),_0x291a8b=_0x503fb8?_0x22472b['createContainerElement']('div',{'class':'footnote-content'}):_0x1cbc08(_0x22472b['createEditableElement']('div',{'class':'footnote-content'}),_0x22472b,{'label':t('Footnote\x20content.')});return _0x22472b['insert'](_0x22472b['createPositionAt'](_0x291a8b,0x0),_0x22472b['createSlot']()),_0x22472b['createContainerElement']('li',{'class':'footnote-definition','id':_0x556cda},[_0x58b11f,_0x291a8b]);}var Q=class extends _0x1cf4a3{static get['pluginName'](){return'FootnotesClipboard';}static get requires(){return[$,_0x230419];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){this['_defineClipboardIntegration']();}_defineClipboardIntegration(){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}_handleCopyFootnotesDefinitions(){const {editor:_0x5f5548}=this,{plugins:_0x26c604,model:_0x1acffc}=_0x5f5548,_0x5499cd=_0x26c604['get'](_0x230419),_0x5280df=_0x26c604['get'](V);this['listenTo'](_0x5499cd,'outputTransformation',(_0x1dfcef,_0x524776)=>{const _0x32ca6e=W(_0x1acffc['createRangeIn'](_0x524776['content']));if(!_0x32ca6e['length'])return;const _0x198331=_0x5280df['getFootnotes'](),_0x57b020=_0x32ca6e['reduce']((_0x1feafa,_0x127915)=>{const _0x3bdd2c=_0x198331['find'](_0x5dd69a=>_0x5dd69a['id']===_0x127915);if(_0x3bdd2c){const _0x58fbf6=_0x5f5548['data']['toView'](_0x3bdd2c['definition'],{'isClipboardPipeline':!0x0}),_0x56f0ca=_0x5f5548['data']['htmlProcessor']['toData'](_0x58fbf6);_0x1feafa[_0x3bdd2c['id']]=_0x56f0ca;}return _0x1feafa;},Object['create'](null));_0x524776['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x57b020));});}_handlePasteFootnotesDefinitions(){const {editor:_0x4b465f}=this,{model:_0x2cc3df,plugins:_0x24f638}=_0x4b465f,{view:_0x5d62ae}=_0x4b465f['editing'],_0x4e4eba=_0x24f638['get'](_0x230419),_0x5b79c5=_0x24f638['get'](V),_0xdcbc0a=_0x4b465f['config']['get']('footnotes.multiBlock');let _0x3a4bf6=null;this['listenTo'](_0x5d62ae['document'],'clipboardInput',(_0x8be655,_0x43b7bc)=>{const _0x20992a=_0x43b7bc['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x3a4bf6=_0x20992a?JSON['parse'](_0x20992a):null;}),this['listenTo'](_0x4e4eba,'contentInsertion',(_0x230b6f,_0x19321a)=>{const _0x2a38e8=_0x19321a['sourceEditorId']===this['editor']['id'];_0x2a38e8&&'drop'===_0x19321a['method']||_0x2cc3df['change'](_0x3421d1=>{let _0x5d8685=_0x5b79c5['getFootnotesDefinitionsObjectElement']();const _0x13a0e8=!!_0x5d8685&&Array['from'](_0x2cc3df['document']['selection']['getSelectedBlocks']())['includes'](_0x5d8685);if(!_0x3a4bf6&&function(_0x397ca9){for(const {item:_0x43c6f2}of _0x397ca9)if(_0x43c6f2['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x2cc3df['createRangeIn'](_0x19321a['content']))&&(_0x3a4bf6=function(_0x197025,_0x10d76a){const _0x28a99b=G(_0x197025,_0x10d76a);if(!_0x28a99b)return null;const _0x171c64=Object['create'](null);for(const _0x5c387f of _0x28a99b['getChildren']())_0x5c387f['is']('element','footnoteDefinition')&&_0x5c387f['hasAttribute']('footnoteId')&&(_0x171c64[_0x5c387f['getAttribute']('footnoteId')]=_0x197025['cloneElement'](_0x5c387f,!0x0));return Object['keys'](_0x171c64)['length']?_0x171c64:null;}(_0x3421d1,_0x19321a['content'])),(_0x5d8685&&!_0x13a0e8||!_0x5d8685&&!_0x3a4bf6)&&function(_0xd7461,_0x3bc2a2){const _0x375bba=[];for(const {item:_0x4b0ce8}of _0xd7461['createRangeIn'](_0x3bc2a2))_0x4b0ce8['is']('element','footnotesDefinitions')&&_0x375bba['push'](_0x4b0ce8);for(const _0x5519b2 of _0x375bba)_0xd7461['remove'](_0x5519b2);}(_0x3421d1,_0x19321a['content']),!_0x3a4bf6)return;const {selection:_0x570ad9}=_0x2cc3df['document'],_0x31d375=_0x570ad9['getFirstRange']()['root'];if(!_0x5d8685||_0x13a0e8){if(_0x5d8685=G(_0x3421d1,_0x19321a['content']),_0x5d8685||=_0x5b79c5['_insertEmptyFootnotesDefinitionsContainer'](_0x3421d1,_0x31d375),!_0x5d8685){const _0x3ccdfb=_0x5b79c5['_getFirstSuitableFootnotesDefinitionsRoot']();_0x5d8685||=_0x3ccdfb&&_0x5b79c5['_insertEmptyFootnotesDefinitionsContainer'](_0x3421d1,_0x3ccdfb);}if(!_0x5d8685)return void(_0x3a4bf6=null);}const _0x411921=Array['from'](_0x570ad9['getRanges']())['flatMap'](W),_0x2ade4a=function(_0x474d35,_0x484f94,_0x4b15c3){const _0x44b3e8=Object['create'](null);for(const {item:_0x2516a3}of _0x474d35['createRangeIn'](_0x484f94))if(_0x2516a3['is']('element','footnoteRef')){const _0x24fb70=_0x2516a3['getAttribute']('footnoteId');if(!_0x4b15c3(_0x24fb70))continue;_0x44b3e8[_0x24fb70]||(_0x44b3e8[_0x24fb70]=_0x39882f()),_0x474d35['setAttribute']('footnoteId',_0x44b3e8[_0x24fb70],_0x2516a3);}return _0x44b3e8;}(_0x3421d1,_0x19321a['content'],_0x4a2c55=>!_0x2a38e8||!!_0x5b79c5['getFootnote'](_0x4a2c55)&&!_0x411921['includes'](_0x4a2c55));for(const [_0x279469,_0x51f09e]of Object['entries'](_0x3a4bf6)){const _0x1d7d75=_0x2ade4a[_0x279469]||_0x279469;let _0x247cb0;if('string'!=typeof _0x51f09e)_0x247cb0=_0x51f09e,_0x1d7d75!==_0x279469&&_0x3421d1['setAttribute']('footnoteId',_0x1d7d75,_0x247cb0);else{_0x247cb0=_0x3421d1['createElement']('footnoteDefinition',{'footnoteId':_0x1d7d75});const _0x3542a1=_0x4b465f['data']['htmlProcessor']['toView'](_0x51f09e);let _0x5b854b;if(_0xdcbc0a)_0x5b854b=_0x4b465f['data']['toModel'](_0x3542a1,_0x247cb0);else{_0x5b854b=_0x3421d1['createElement']('footnoteInlineContent');const _0x22744a=_0x4b465f['data']['toModel'](_0x3542a1,_0x5b854b);_0x3421d1['insert'](_0x22744a,_0x5b854b);}_0x3421d1['append'](_0x5b854b,_0x247cb0);}_0x3421d1['insert'](_0x247cb0,_0x5d8685,'end');}_0x3a4bf6=null;});});}};function G(_0x3a8fdc,_0x1acc93){for(const {item:_0x548976}of _0x3a8fdc['createRangeIn'](_0x1acc93))if(_0x548976['is']('element','footnotesDefinitions'))return _0x548976;return null;}function W(_0x36a444){const _0x1afe07=new Set();for(const {item:_0x43a851}of _0x36a444)_0x43a851['is']('element','footnoteRef')&&_0x1afe07['add'](_0x43a851['getAttribute']('footnoteId'));return Array['from'](_0x1afe07);}var Y=class extends _0x1cf4a3{['licenseKey'];_licenseKeyCheckInterval;static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x41f2ee}=this,{componentFactory:_0x29b7c2}=_0x41f2ee['ui'];_0x29b7c2['add']('insertFootnote',Z(_0x41f2ee,_0x57973f)),_0x29b7c2['add']('menuBar:insertFootnote',Z(_0x41f2ee,_0x598297)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x132056=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2780c2;for(const _0x4754b0 in _0x132056){const _0x533443=_0x4754b0,_0x744f0a=_0x132056[_0x533443];if('footnotesLicenseKeyValid'==_0x744f0a||'footnotesLicenseKeyInvalid'==_0x744f0a||'footnotesLicenseKeyExpired'==_0x744f0a||'footnotesLicenseKeyDomainLimit'==_0x744f0a||'footnotesLicenseKeyNotAllowed'==_0x744f0a||'footnotesLicenseKeyEvaluationLimit'==_0x744f0a||'footnotesLicenseKeyUsageLimit'==_0x744f0a){delete _0x132056[_0x533443],_0x2780c2=_0x744f0a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2780c2&&_0x132056['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2780c2&&_0x132056['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2780c2&&_0x132056['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2780c2&&_0x132056['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2780c2&&_0x132056['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x2780c2&&_0x132056['_showLicenseError']('usageLimit');},0x3e8);}destroy(){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function Z(_0x58fa9f,_0x344213){const _0xb3e3c1=_0x58fa9f['commands']['get']('insertFootnote');return _0x30390d=>{const {t:t}=_0x30390d,_0x5edfa9=new _0x344213(_0x30390d),_0x4d3e6b=_0x5edfa9 instanceof _0x598297;return _0x5edfa9['bind']('isEnabled')['to'](_0xb3e3c1,'isEnabled'),_0x5edfa9['set']({'label':t(_0x4d3e6b?'Footnote':'Insert\x20footnote'),'icon':_0x2f8a3d,'tooltip':!0x0}),_0x5edfa9['on']('execute',()=>{_0xb3e3c1['execute'](),_0x58fa9f['editing']['view']['focus']();}),_0x5edfa9;};}var tt=class extends _0x1cf4a3{static get['pluginName'](){return'Footnotes';}static get requires(){return[$,Q,Y];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const et=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],ot=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),nt=[...et,'arabic-indic','lower-alpha','upper-alpha'];var it=class extends _0x5a0f94{['refresh'](){const {editor:_0xafc64f}=this,_0x408995=_0xafc64f['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x408995,this['value']=_0x408995?.['getAttribute']('footnotesListStyle')??null;}execute({value:_0xc74b56}){const {editor:_0x5d7902}=this,_0x132c18=_0x5d7902['plugins']['get'](V),_0x107c57=_0x132c18['getFootnotesDefinitionsObjectElement']();_0x107c57&&nt['includes'](_0xc74b56)&&_0x5d7902['model']['change'](_0x555548=>{_0x555548['setAttribute']('footnotesListStyle',_0xc74b56,_0x107c57),_0x132c18['_updateFootnotesCounters'](_0x555548);});}},st=class extends _0x5a0f94{['refresh'](){const {editor:_0x503859}=this,_0x57bd92=_0x503859['plugins']['get'](V)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x57bd92,this['value']=_0x57bd92?.['getAttribute']('footnotesListStart')??null;}execute({value:_0x257f21}){const {editor:_0x2663a2}=this,_0x394790=_0x2663a2['plugins']['get'](V),_0x586215=_0x394790['getFootnotesDefinitionsObjectElement']();_0x586215&&Number['isInteger'](_0x257f21)&&_0x2663a2['model']['change'](_0xd7fca0=>{_0xd7fca0['setAttribute']('footnotesListStart',_0x257f21,_0x586215),_0x394790['_updateFootnotesCounters'](_0xd7fca0);});}};function rt({style:_0x16b6c5,digits:_0x703026,value:_0x51fb04}){const _0x1e134f=Math['floor'](_0x51fb04),_0xa55645=function(_0x53ad44){switch(_0x53ad44){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};}}(_0x16b6c5);switch((_0x1e134f>_0xa55645['max']||_0x1e134f<_0xa55645['min'])&&(_0x16b6c5='decimal'),_0x16b6c5){case'decimal-leading-zero':return function(_0x32c509,_0x5499dc){return String(_0x32c509)['padStart'](_0x5499dc,'0');}(_0x1e134f,Math['max'](0x2,_0x703026));case'lower-alpha':case'lower-latin':return lt(_0x1e134f,!0x1);case'upper-alpha':case'upper-latin':return lt(_0x1e134f,!0x0);case'lower-roman':return ft(_0x1e134f,!0x1);case'upper-roman':return ft(_0x1e134f,!0x0);case'arabic-indic':return String(_0x1e134f)['replace'](/\d/g,_0x3dd1ee=>ct[Number(_0x3dd1ee)]);default:return String(_0x1e134f);}}function lt(_0x4f71a3,_0x4b5443){let _0xf92e2c='',_0x23a74a=_0x4f71a3;for(;_0x23a74a>0x0;){const _0x23d4f9=(_0x23a74a-0x1)%0x1a;_0xf92e2c=String['fromCharCode'](0x61+_0x23d4f9)+_0xf92e2c,_0x23a74a=Math['floor']((_0x23a74a-0x1)/0x1a);}return _0x4b5443?_0xf92e2c['toUpperCase']():_0xf92e2c;}const at=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function ft(_0x27b761,_0x3bddce){let _0x1526dc='',_0x57cf60=_0x27b761;for(const {value:_0x1e9fd2,numeral:_0x5c3640}of at)for(;_0x57cf60>=_0x1e9fd2;)_0x1526dc+=_0x5c3640,_0x57cf60-=_0x1e9fd2;return _0x3bddce?_0x1526dc:_0x1526dc['toLowerCase']();}const ct=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var ut=class extends _0x1cf4a3{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get requires(){return[$,V];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x2fb1df}=this;_0x2fb1df['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x2fb1df['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x2fb1df['config']['define']('footnotes.footnotesProperties.listStyles',[...et]),_0x2fb1df['commands']['add']('footnotesStyle',new it(_0x2fb1df)),_0x2fb1df['commands']['add']('footnotesStart',new st(_0x2fb1df)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x4945b0}=this,{schema:_0x197ae8}=_0x4945b0['model'];_0x197ae8['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}_defineConverters(){const {editor:_0x2c54c1}=this,{conversion:_0x3bf489,model:_0x1847fb}=_0x2c54c1,{schema:_0xf28563}=_0x1847fb;_0x3bf489['for']('upcast')['add'](_0x1ef08b=>{_0x1ef08b['on']('element:ol',(_0x5e13d4,_0xb1f798,_0x53eb61)=>{const _0x45f6d1=_0xb1f798['viewItem'],_0x3e87c5=_0xb1f798['modelCursor']?.['parent'];_0x45f6d1['hasClass']('footnotes-list')&&_0x3e87c5?.['is']('element','footnotesDefinitions')&&(function(_0x2c967b,_0x1fe6be,_0x40db31,_0x47672f){if(!_0x47672f['checkAttribute'](_0x1fe6be,'footnotesListStart'))return;let _0x4cef12=0x1;const _0x17c291=_0x40db31['consumable']['consume'](_0x2c967b,{'attributes':'start'});if(_0x17c291){const _0x2db923=Number['parseInt'](_0x2c967b['getAttribute']('start'),0xa);Number['isNaN'](_0x2db923)||(_0x4cef12=_0x2db923);}!_0x17c291&&_0x1fe6be['hasAttribute']('footnotesListStart')||_0x40db31['writer']['setAttribute']('footnotesListStart',_0x4cef12,_0x1fe6be);}(_0x45f6d1,_0x3e87c5,_0x53eb61,_0xf28563),function(_0x360e2d,_0x2f74bf,_0xa3d1a0,_0x2674b7){if(!_0x2674b7['checkAttribute'](_0x2f74bf,'footnotesListStyle'))return;let _0x4bab16='decimal',_0xd0a178=!0x1;if(_0xa3d1a0['consumable']['consume'](_0x360e2d,{'attributes':'type'})){const _0x15c631={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x360e2d['getAttribute']('type')];_0x15c631&&(_0x4bab16=_0x15c631),_0xd0a178=!0x0;}if(_0xa3d1a0['consumable']['consume'](_0x360e2d,{'styles':'list-style-type'})){const _0x2c4561=dt(_0x360e2d['getStyle']('list-style-type'));_0x2c4561&&(_0x4bab16=_0x2c4561),_0xd0a178=!0x0;}!_0xd0a178&&_0x2f74bf['hasAttribute']('footnotesListStyle')||_0xa3d1a0['writer']['setAttribute']('footnotesListStyle',_0x4bab16,_0x2f74bf);}(_0x45f6d1,_0x3e87c5,_0x53eb61,_0xf28563));});}),_0x3bf489['for']('downcast')['add'](_0x250db0=>{_0x250db0['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x1a51be,_0x5d18ec,_0x211bb3)=>{if(!_0x211bb3['consumable']['consume'](_0x5d18ec['item'],_0x1a51be['name']))return;const _0x5cb60f=ht(_0x5d18ec['item'],_0x211bb3['mapper']),{attributeNewValue:_0x35eee3}=_0x5d18ec;null==_0x35eee3||0x1===_0x35eee3?_0x211bb3['writer']['removeAttribute']('start',_0x5cb60f):_0x211bb3['writer']['setAttribute']('start',String(_0x35eee3),_0x5cb60f);}),_0x250db0['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x363f06,_0x16a5ef,_0x463cce)=>{if(!_0x463cce['consumable']['consume'](_0x16a5ef['item'],_0x363f06['name']))return;const _0x24b994=ht(_0x16a5ef['item'],_0x463cce['mapper']),{attributeNewValue:_0x5d7ff2}=_0x16a5ef;_0x5d7ff2&&'decimal'!==_0x5d7ff2?_0x463cce['writer']['setStyle']('list-style-type',_0x5d7ff2,_0x24b994):_0x463cce['writer']['removeStyle']('list-style-type',_0x24b994);});});}_definePostfixer(){const {editor:_0xa2aeda}=this,{model:_0xdcaff}=_0xa2aeda,_0x544e11=_0xa2aeda['plugins']['get'](V),_0x27ae03=this['_getDefaultListStyle'](),_0x4c22a6=this['_getDefaultStartIndex']();_0xdcaff['document']['registerPostFixer'](_0x467a8e=>{const _0x2b9009=_0xdcaff['document']['differ']['getChanges']();let _0x5714d=!0x1;for(const _0xd0d56 of _0x2b9009){if('insert'!==_0xd0d56['type']||'$text'===_0xd0d56['name'])continue;const _0x4f6065=_0xdcaff['createRangeOn'](_0xd0d56['position']['nodeAfter']);for(const _0x4c7b08 of _0x4f6065['getItems']())_0x4c7b08['is']('element','footnotesDefinitions')&&(!_0x4c7b08['hasAttribute']('footnotesListStart')&&_0xdcaff['schema']['checkAttribute'](_0x4c7b08,'footnotesListStart')&&(_0x467a8e['setAttribute']('footnotesListStart',_0x4c22a6,_0x4c7b08),_0x5714d=!0x0),!_0x4c7b08['hasAttribute']('footnotesListStyle')&&_0xdcaff['schema']['checkAttribute'](_0x4c7b08,'footnotesListStyle')&&(_0x467a8e['setAttribute']('footnotesListStyle',_0x27ae03,_0x4c7b08),_0x5714d=!0x0));}return _0x5714d&&_0x544e11['_updateFootnotesCounters'](_0x467a8e),_0x5714d;});}_defineFormatter(){const {editor:_0x3c63d6}=this;_0x3c63d6['plugins']['get'](V)['setFootnoteFormatter'](_0x1b50f5=>this['_formatFootnoteListValue'](_0x1b50f5));}_getDefaultListStyle(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}_getDefaultStartIndex(){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}_formatFootnoteListValue({container:_0xc27273,value:_0x1f3afe,digits:_0x2f4c92}){const _0x22381a=_0xc27273['getAttribute']('footnotesListStyle');return rt({'value':_0x1f3afe+(_0xc27273['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x22381a,'digits':_0x2f4c92});}};function dt(_0x4b2110){if('string'==typeof _0x4b2110){const _0x3f295a=ot[_0x4b2110];if(_0x3f295a)return _0x3f295a;if(nt['includes'](_0x4b2110))return _0x4b2110;}return null;}function ht(_0x5db9f7,_0x49c997){const _0x4490aa=_0x49c997['toViewElement'](_0x5db9f7);return Array['from'](_0x4490aa['getChildren']())['find'](_0x2e8fa0=>_0x2e8fa0['is']('element','ol')&&_0x2e8fa0['hasClass']('footnotes-list'));}var mt=class extends _0x47f8ff{['children'];stylesView=null;additionalProperties=null;startIndexFieldView=null;['focusTracker']=new _0x3e51cd();keystrokes=new _0x660de5();['focusables']=new _0x346e7b();['focusCycler'];constructor(_0x49a4ab,{styleButtonViews:_0x15b8fe,styleGridAriaLabel:_0x3f2b9e}){super(_0x49a4ab),(this['focusCycler']=new _0x462bd7({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x15b8fe,_0x3f2b9e),[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 _0x2614db of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2614db['element']);_0x1fd547({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x532abc['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 _0x403838=_0x56f13f=>_0x56f13f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x403838),this['keystrokes']['set']('arrowleft',_0x403838),this['keystrokes']['set']('arrowup',_0x403838),this['keystrokes']['set']('arrowdown',_0x403838);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}focusLast(){this['focusCycler']['focusLast']();}destroy(){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}_appendStylesView(_0x4ab442,_0x576416){const _0x31e4fa=new _0x47f8ff(this['locale']);return _0x31e4fa['children']=_0x31e4fa['createCollection'](),_0x31e4fa['children']['addMany'](_0x4ab442),_0x31e4fa['setTemplate']({'tag':'div','attributes':{'aria-label':_0x576416,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x31e4fa['children']}),_0x31e4fa['children']['delegate']('execute')['to'](this),_0x31e4fa['focus']=function(){for(const _0x48cf0d of this['children'])if(_0x48cf0d instanceof _0x57973f&&_0x48cf0d['isOn'])return void _0x48cf0d['focus']();this['children']['first']['focus']();},_0x31e4fa['focusTracker']=new _0x3e51cd(),_0x31e4fa['keystrokes']=new _0x660de5(),_0x31e4fa['render'](),_0x31e4fa['keystrokes']['listenTo'](_0x31e4fa['element']),this['children']['add'](_0x31e4fa),_0x31e4fa;}_appendAdditionalPropertiesCollapsibleView(){const {t:t}=this['locale'],_0x2fb9b7=this['_createStartIndexPropertyView'](),_0x376f51=[_0x2fb9b7],_0x1ecaf7=new _0x54e9c3(this['locale'],_0x376f51);return _0x1ecaf7['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1ecaf7['buttonView']['bind']('isEnabled')['toMany'](_0x376f51,'isEnabled',(..._0x4ae778)=>_0x4ae778['some'](_0x5cfe9c=>_0x5cfe9c)),_0x1ecaf7['buttonView']['on']('change:isEnabled',(_0x516f80,_0x4bd7f2,_0x342bdd)=>{_0x342bdd||(_0x1ecaf7['isCollapsed']=!0x0);}),this['children']['add'](_0x1ecaf7),[_0x2fb9b7,_0x1ecaf7];}_createStartIndexPropertyView(){const {t:t}=this['locale'],_0xa9e4c1=new _0x43ad0d(this['locale'],_0x3e2629);return _0xa9e4c1['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xa9e4c1['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xa9e4c1['fieldView']['on']('input',()=>{const _0x55ead0=_0xa9e4c1['fieldView']['element'],_0x35f330=_0x55ead0['valueAsNumber'];Number['isNaN'](_0x35f330)?_0xa9e4c1['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x55ead0['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x35f330}):_0xa9e4c1['errorText']=t(_0x35f330<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xa9e4c1;}},pt=class extends _0x1cf4a3{static get['pluginName'](){return'FootnotesPropertiesUI';}static get requires(){return[_0x40388a,_0x2edcf8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}init(){const {editor:_0x3b6202}=this,{componentFactory:_0x5ccc6f}=_0x3b6202['ui'];_0x3b6202['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5ccc6f['add']('footnotesStyle',function(_0xc2de48){return _0x92a2b6=>{const {t:t}=_0x92a2b6,_0x473b6d=_0xc2de48['commands']['get']('footnotesStyle'),_0x29a283=_0x43f8e7(_0x92a2b6),{buttonView:_0x57cd40}=_0x29a283;return _0x29a283['class']='ck-footnotes-styles-dropdown',_0x29a283['bind']('isEnabled')['to'](_0x473b6d,'isEnabled'),_0x57cd40['set']({'label':t('Footnotes\x20style'),'icon':_0x2f8a3d,'tooltip':!0x0}),_0x29a283['once']('change:isOpen',()=>{const _0x559ddc=function({editor:_0x1d0554,dropdownView:_0xf45ca6}){const {t:t}=_0x1d0554['locale'],_0x2f1cc7=t('Footnotes\x20definitions\x20styles'),_0x4f0d43=function(_0x2e7a53){const {t:t}=_0x2e7a53['locale'],_0x2236d2=_0x2e7a53['config']['get']('footnotes.footnotesProperties.listStyles'),_0x7a038a=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x5b903d},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x373bd8},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x52de84},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x25eb67},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x48692f},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0xc8910e},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x4b4c40}];return _0x2236d2['map'](_0x1baf94=>{const _0x5e692f=dt(_0x1baf94);return function(_0x22401c,_0x2bff6e){const {locale:_0x3f3458}=_0x22401c,{label:_0xe7a9b3,icon:_0x1cb324,tooltip:_0x120720,style:_0x2a30b3}=_0x2bff6e,_0x5a8882=_0x22401c['commands']['get']('footnotesStyle'),_0x2e171f=new _0x57973f(_0x3f3458);return _0x2e171f['set']({'label':_0xe7a9b3,'icon':_0x1cb324,'tooltip':_0x120720}),_0x2e171f['bind']('isOn')['to'](_0x5a8882,'value',_0x3c10b6=>_0x3c10b6===_0x2a30b3),_0x2e171f['bind']('isEnabled')['to'](_0x5a8882,'isEnabled'),_0x2e171f['on']('execute',()=>{_0x22401c['execute']('footnotesStyle',{'value':_0x2a30b3}),_0x22401c['editing']['view']['focus']();}),_0x2e171f;}(_0x2e7a53,_0x7a038a['find'](_0x1f2115=>_0x1f2115['style']===_0x5e692f));});}(_0x1d0554),_0x750908=new mt(_0x1d0554['locale'],{'styleGridAriaLabel':_0x2f1cc7,'styleButtonViews':_0x4f0d43}),_0x4bae17=_0x1d0554['commands']['get']('footnotesStart');return _0x750908['startIndexFieldView']['bind']('isEnabled')['to'](_0x4bae17),_0x750908['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4bae17),_0x750908['on']('footnotesListStart',(_0x322e49,_0x286275)=>{_0x1d0554['execute']('footnotesStart',{'value':_0x286275['startIndex']});}),_0x750908['delegate']('execute')['to'](_0xf45ca6),_0x750908;}({'editor':_0xc2de48,'dropdownView':_0x29a283});_0x29a283['panelView']['children']['add'](_0x559ddc);}),_0x29a283;};}(_0x3b6202));}afterInit(){const {editor:_0x3e1b85}=this,{t:t}=_0x3e1b85['locale'],_0x4bcd2d=_0x3e1b85['plugins']['get'](_0x2edcf8),{defaultPositions:_0x3ad95b}=_0x414f1c;_0x4bcd2d['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3e1b85['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5dab35=>{let _0x498955=_0x5dab35['getFirstPosition']()?.['parent'];return _0x498955?.['is']('$text')&&(_0x498955=_0x498955['parent']),_0x498955?.['is']('element')?_0x498955['findAncestor'](H):null;},'positions':[_0x3ad95b['southArrowNorth'],_0x3ad95b['southArrowNorthMiddleWest'],_0x3ad95b['southArrowNorthMiddleEast'],_0x3ad95b['southArrowNorthWest'],_0x3ad95b['southArrowNorthEast'],_0x3ad95b['northArrowSouth'],_0x3ad95b['northArrowSouthMiddleWest'],_0x3ad95b['northArrowSouthMiddleEast'],_0x3ad95b['northArrowSouthWest'],_0x3ad95b['northArrowSouthEast'],_0x3ad95b['viewportStickyNorth']]});}},wt=class extends _0x1cf4a3{static get['pluginName'](){return'FootnotesProperties';}static get requires(){return[ut,pt];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};export{tt as Footnotes,Q as FootnotesClipboard,$ as FootnotesEditing,wt as FootnotesProperties,ut as FootnotesPropertiesEditing,pt as FootnotesPropertiesUI,st as FootnotesStartCommand,it as FootnotesStyleCommand,V as FootnotesTracker,Y as FootnotesUI,U as InsertFootnoteCommand};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Arabic-indic\x20footnotes':'','Lower-roman\x20footnotes':'','Toggle\x20the\x20lower-roman\x20footnotes\x20style':'','Toggle\x20the\x20upper-roman\x20footnotes\x20style':'','Toggle\x20the\x20lower-latin\x20footnotes\x20style':'','Toggle\x20the\x20upper-latin\x20footnotes\x20style':'','Toggle\x20the\x20arabic-indic\x20footnotes\x20style':''},'getPluralForm':_0x462828=>0x1!=_0x462828}};
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':_0x527e9d=>0x1!=_0x527e9d}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xe38971=>{const {af:{dictionary:_0x52a0df,getPluralForm:_0x3a835a}}={'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':_0x24c7aa=>0x1!=_0x24c7aa}};_0xe38971['af']||={'dictionary':{},'getPluralForm':null},_0xe38971['af']['dictionary']=Object['assign'](_0xe38971['af']['dictionary'],_0x52a0df),_0xe38971['af']['getPluralForm']=_0x3a835a;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3145b1=>{const {af:{dictionary:_0x2aa443,getPluralForm:_0x162980}}={'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':_0x314e2f=>0x1!=_0x314e2f}};_0x3145b1['af']||={'dictionary':{},'getPluralForm':null},_0x3145b1['af']['dictionary']=Object['assign'](_0x3145b1['af']['dictionary'],_0x2aa443),_0x3145b1['af']['getPluralForm']=_0x162980;})(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':_0x584211=>0x0==_0x584211?0x0:0x1==_0x584211?0x1:0x2==_0x584211?0x2:_0x584211%0x64>=0x3&&_0x584211%0x64<=0xa?0x3:_0x584211%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':_0x23e98f=>0x0==_0x23e98f?0x0:0x1==_0x23e98f?0x1:0x2==_0x23e98f?0x2:_0x23e98f%0x64>=0x3&&_0x23e98f%0x64<=0xa?0x3:_0x23e98f%0x64>=0xb?0x4:0x5}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x44832f=>{const {ar:{dictionary:_0x145ba9,getPluralForm:_0x1df9da}}={'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':_0xcaeba9=>0x0==_0xcaeba9?0x0:0x1==_0xcaeba9?0x1:0x2==_0xcaeba9?0x2:_0xcaeba9%0x64>=0x3&&_0xcaeba9%0x64<=0xa?0x3:_0xcaeba9%0x64>=0xb?0x4:0x5}};_0x44832f['ar']||={'dictionary':{},'getPluralForm':null},_0x44832f['ar']['dictionary']=Object['assign'](_0x44832f['ar']['dictionary'],_0x145ba9),_0x44832f['ar']['getPluralForm']=_0x1df9da;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x25fc35=>{const {ar:{dictionary:_0x10bf98,getPluralForm:_0x454cb2}}={'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':_0x1d702a=>0x0==_0x1d702a?0x0:0x1==_0x1d702a?0x1:0x2==_0x1d702a?0x2:_0x1d702a%0x64>=0x3&&_0x1d702a%0x64<=0xa?0x3:_0x1d702a%0x64>=0xb?0x4:0x5}};_0x25fc35['ar']||={'dictionary':{},'getPluralForm':null},_0x25fc35['ar']['dictionary']=Object['assign'](_0x25fc35['ar']['dictionary'],_0x10bf98),_0x25fc35['ar']['getPluralForm']=_0x454cb2;})(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':_0x277ed2=>0x1!=_0x277ed2}};
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':_0x1cb03c=>0x1!=_0x1cb03c}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x1aa672=>{const {ast:{dictionary:_0x4f0574,getPluralForm:_0x5f1c16}}={'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':_0x45a97e=>0x1!=_0x45a97e}};_0x1aa672['ast']||={'dictionary':{},'getPluralForm':null},_0x1aa672['ast']['dictionary']=Object['assign'](_0x1aa672['ast']['dictionary'],_0x4f0574),_0x1aa672['ast']['getPluralForm']=_0x5f1c16;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x3aebb7=>{const {ast:{dictionary:_0x3228df,getPluralForm:_0x49f42a}}={'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':_0x223b1f=>0x1!=_0x223b1f}};_0x3aebb7['ast']||={'dictionary':{},'getPluralForm':null},_0x3aebb7['ast']['dictionary']=Object['assign'](_0x3aebb7['ast']['dictionary'],_0x3228df),_0x3aebb7['ast']['getPluralForm']=_0x49f42a;})(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':_0x5c1d00=>0x1!=_0x5c1d00}};
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':_0x1eca30=>0x1!=_0x1eca30}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x8eae51=>{const {az:{dictionary:_0x508248,getPluralForm:_0x493479}}={'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':_0x603d0a=>0x1!=_0x603d0a}};_0x8eae51['az']||={'dictionary':{},'getPluralForm':null},_0x8eae51['az']['dictionary']=Object['assign'](_0x8eae51['az']['dictionary'],_0x508248),_0x8eae51['az']['getPluralForm']=_0x493479;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x2d0303=>{const {az:{dictionary:_0x3a4b93,getPluralForm:_0x41da0b}}={'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':_0x43f70e=>0x1!=_0x43f70e}};_0x2d0303['az']||={'dictionary':{},'getPluralForm':null},_0x2d0303['az']['dictionary']=Object['assign'](_0x2d0303['az']['dictionary'],_0x3a4b93),_0x2d0303['az']['getPluralForm']=_0x41da0b;})(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':_0x55fab4=>_0x55fab4%0xa==0x1&&_0x55fab4%0x64!=0xb?0x0:_0x55fab4%0xa>=0x2&&_0x55fab4%0xa<=0x4&&(_0x55fab4%0x64<0xa||_0x55fab4%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':_0x5beb4e=>_0x5beb4e%0xa==0x1&&_0x5beb4e%0x64!=0xb?0x0:_0x5beb4e%0xa>=0x2&&_0x5beb4e%0xa<=0x4&&(_0x5beb4e%0x64<0xa||_0x5beb4e%0x64>=0x14)?0x1:0x2}};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0xd00831=>{const {be:{dictionary:_0x512c22,getPluralForm:_0x1ba175}}={'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':_0x38290b=>_0x38290b%0xa==0x1&&_0x38290b%0x64!=0xb?0x0:_0x38290b%0xa>=0x2&&_0x38290b%0xa<=0x4&&(_0x38290b%0x64<0xa||_0x38290b%0x64>=0x14)?0x1:0x2}};_0xd00831['be']||={'dictionary':{},'getPluralForm':null},_0xd00831['be']['dictionary']=Object['assign'](_0xd00831['be']['dictionary'],_0x512c22),_0xd00831['be']['getPluralForm']=_0x1ba175;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x480e53=>{const {be:{dictionary:_0x47654c,getPluralForm:_0x5a758a}}={'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':_0x20e3e2=>_0x20e3e2%0xa==0x1&&_0x20e3e2%0x64!=0xb?0x0:_0x20e3e2%0xa>=0x2&&_0x20e3e2%0xa<=0x4&&(_0x20e3e2%0x64<0xa||_0x20e3e2%0x64>=0x14)?0x1:0x2}};_0x480e53['be']||={'dictionary':{},'getPluralForm':null},_0x480e53['be']['dictionary']=Object['assign'](_0x480e53['be']['dictionary'],_0x47654c),_0x480e53['be']['getPluralForm']=_0x5a758a;})(window['CKEDITOR_TRANSLATIONS']||={});