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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/build/footnotes.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fi.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/he.js +1 -1
  15. package/build/translations/hi.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/ko.js +1 -1
  21. package/build/translations/lt.js +1 -1
  22. package/build/translations/lv.js +1 -1
  23. package/build/translations/ms.js +1 -1
  24. package/build/translations/nl.js +1 -1
  25. package/build/translations/no.js +1 -1
  26. package/build/translations/pl.js +1 -1
  27. package/build/translations/pt-br.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sk.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/dist/index.js +1 -1
  41. package/dist/translations/af.js +1 -1
  42. package/dist/translations/af.umd.js +1 -1
  43. package/dist/translations/ar.js +1 -1
  44. package/dist/translations/ar.umd.js +1 -1
  45. package/dist/translations/ast.js +1 -1
  46. package/dist/translations/ast.umd.js +1 -1
  47. package/dist/translations/az.js +1 -1
  48. package/dist/translations/az.umd.js +1 -1
  49. package/dist/translations/be.js +1 -1
  50. package/dist/translations/be.umd.js +1 -1
  51. package/dist/translations/bg.js +1 -1
  52. package/dist/translations/bg.umd.js +1 -1
  53. package/dist/translations/bn.js +1 -1
  54. package/dist/translations/bn.umd.js +1 -1
  55. package/dist/translations/bs.js +1 -1
  56. package/dist/translations/bs.umd.js +1 -1
  57. package/dist/translations/ca.js +1 -1
  58. package/dist/translations/ca.umd.js +1 -1
  59. package/dist/translations/cs.js +1 -1
  60. package/dist/translations/cs.umd.js +1 -1
  61. package/dist/translations/da.js +1 -1
  62. package/dist/translations/da.umd.js +1 -1
  63. package/dist/translations/de-ch.js +1 -1
  64. package/dist/translations/de-ch.umd.js +1 -1
  65. package/dist/translations/de.js +1 -1
  66. package/dist/translations/de.umd.js +1 -1
  67. package/dist/translations/el.js +1 -1
  68. package/dist/translations/el.umd.js +1 -1
  69. package/dist/translations/en-au.js +1 -1
  70. package/dist/translations/en-au.umd.js +1 -1
  71. package/dist/translations/en-gb.js +1 -1
  72. package/dist/translations/en-gb.umd.js +1 -1
  73. package/dist/translations/en.js +1 -1
  74. package/dist/translations/en.umd.js +1 -1
  75. package/dist/translations/eo.js +1 -1
  76. package/dist/translations/eo.umd.js +1 -1
  77. package/dist/translations/es-co.js +1 -1
  78. package/dist/translations/es-co.umd.js +1 -1
  79. package/dist/translations/es.js +1 -1
  80. package/dist/translations/es.umd.js +1 -1
  81. package/dist/translations/et.js +1 -1
  82. package/dist/translations/et.umd.js +1 -1
  83. package/dist/translations/eu.js +1 -1
  84. package/dist/translations/eu.umd.js +1 -1
  85. package/dist/translations/fa.js +1 -1
  86. package/dist/translations/fa.umd.js +1 -1
  87. package/dist/translations/fi.js +1 -1
  88. package/dist/translations/fi.umd.js +1 -1
  89. package/dist/translations/fr.js +1 -1
  90. package/dist/translations/fr.umd.js +1 -1
  91. package/dist/translations/gl.js +1 -1
  92. package/dist/translations/gl.umd.js +1 -1
  93. package/dist/translations/gu.js +1 -1
  94. package/dist/translations/gu.umd.js +1 -1
  95. package/dist/translations/he.js +1 -1
  96. package/dist/translations/he.umd.js +1 -1
  97. package/dist/translations/hi.js +1 -1
  98. package/dist/translations/hi.umd.js +1 -1
  99. package/dist/translations/hr.js +1 -1
  100. package/dist/translations/hr.umd.js +1 -1
  101. package/dist/translations/hu.js +1 -1
  102. package/dist/translations/hu.umd.js +1 -1
  103. package/dist/translations/hy.js +1 -1
  104. package/dist/translations/hy.umd.js +1 -1
  105. package/dist/translations/id.js +1 -1
  106. package/dist/translations/id.umd.js +1 -1
  107. package/dist/translations/it.js +1 -1
  108. package/dist/translations/it.umd.js +1 -1
  109. package/dist/translations/ja.js +1 -1
  110. package/dist/translations/ja.umd.js +1 -1
  111. package/dist/translations/jv.js +1 -1
  112. package/dist/translations/jv.umd.js +1 -1
  113. package/dist/translations/kk.js +1 -1
  114. package/dist/translations/kk.umd.js +1 -1
  115. package/dist/translations/km.js +1 -1
  116. package/dist/translations/km.umd.js +1 -1
  117. package/dist/translations/kn.js +1 -1
  118. package/dist/translations/kn.umd.js +1 -1
  119. package/dist/translations/ko.js +1 -1
  120. package/dist/translations/ko.umd.js +1 -1
  121. package/dist/translations/ku.js +1 -1
  122. package/dist/translations/ku.umd.js +1 -1
  123. package/dist/translations/lt.js +1 -1
  124. package/dist/translations/lt.umd.js +1 -1
  125. package/dist/translations/lv.js +1 -1
  126. package/dist/translations/lv.umd.js +1 -1
  127. package/dist/translations/ms.js +1 -1
  128. package/dist/translations/ms.umd.js +1 -1
  129. package/dist/translations/nb.js +1 -1
  130. package/dist/translations/nb.umd.js +1 -1
  131. package/dist/translations/ne.js +1 -1
  132. package/dist/translations/ne.umd.js +1 -1
  133. package/dist/translations/nl.js +1 -1
  134. package/dist/translations/nl.umd.js +1 -1
  135. package/dist/translations/no.js +1 -1
  136. package/dist/translations/no.umd.js +1 -1
  137. package/dist/translations/oc.js +1 -1
  138. package/dist/translations/oc.umd.js +1 -1
  139. package/dist/translations/pl.js +1 -1
  140. package/dist/translations/pl.umd.js +1 -1
  141. package/dist/translations/pt-br.js +1 -1
  142. package/dist/translations/pt-br.umd.js +1 -1
  143. package/dist/translations/pt.js +1 -1
  144. package/dist/translations/pt.umd.js +1 -1
  145. package/dist/translations/ro.js +1 -1
  146. package/dist/translations/ro.umd.js +1 -1
  147. package/dist/translations/ru.js +1 -1
  148. package/dist/translations/ru.umd.js +1 -1
  149. package/dist/translations/si.js +1 -1
  150. package/dist/translations/si.umd.js +1 -1
  151. package/dist/translations/sk.js +1 -1
  152. package/dist/translations/sk.umd.js +1 -1
  153. package/dist/translations/sl.js +1 -1
  154. package/dist/translations/sl.umd.js +1 -1
  155. package/dist/translations/sq.js +1 -1
  156. package/dist/translations/sq.umd.js +1 -1
  157. package/dist/translations/sr-latn.js +1 -1
  158. package/dist/translations/sr-latn.umd.js +1 -1
  159. package/dist/translations/sr.js +1 -1
  160. package/dist/translations/sr.umd.js +1 -1
  161. package/dist/translations/sv.js +1 -1
  162. package/dist/translations/sv.umd.js +1 -1
  163. package/dist/translations/th.js +1 -1
  164. package/dist/translations/th.umd.js +1 -1
  165. package/dist/translations/ti.js +1 -1
  166. package/dist/translations/ti.umd.js +1 -1
  167. package/dist/translations/tk.js +1 -1
  168. package/dist/translations/tk.umd.js +1 -1
  169. package/dist/translations/tr.js +1 -1
  170. package/dist/translations/tr.umd.js +1 -1
  171. package/dist/translations/tt.js +1 -1
  172. package/dist/translations/tt.umd.js +1 -1
  173. package/dist/translations/ug.js +1 -1
  174. package/dist/translations/ug.umd.js +1 -1
  175. package/dist/translations/uk.js +1 -1
  176. package/dist/translations/uk.umd.js +1 -1
  177. package/dist/translations/ur.js +1 -1
  178. package/dist/translations/ur.umd.js +1 -1
  179. package/dist/translations/uz.js +1 -1
  180. package/dist/translations/uz.umd.js +1 -1
  181. package/dist/translations/vi.js +1 -1
  182. package/dist/translations/vi.umd.js +1 -1
  183. package/dist/translations/zh-cn.js +1 -1
  184. package/dist/translations/zh-cn.umd.js +1 -1
  185. package/dist/translations/zh.js +1 -1
  186. package/dist/translations/zh.umd.js +1 -1
  187. package/lang/translations/ar.po +25 -25
  188. package/lang/translations/bg.po +25 -25
  189. package/lang/translations/bn.po +25 -25
  190. package/lang/translations/ca.po +25 -25
  191. package/lang/translations/cs.po +25 -25
  192. package/lang/translations/da.po +25 -25
  193. package/lang/translations/de.po +25 -25
  194. package/lang/translations/el.po +25 -25
  195. package/lang/translations/es.po +25 -25
  196. package/lang/translations/et.po +25 -25
  197. package/lang/translations/fi.po +25 -25
  198. package/lang/translations/fr.po +25 -25
  199. package/lang/translations/he.po +25 -25
  200. package/lang/translations/hi.po +25 -25
  201. package/lang/translations/hu.po +25 -25
  202. package/lang/translations/id.po +25 -25
  203. package/lang/translations/it.po +25 -25
  204. package/lang/translations/ja.po +25 -25
  205. package/lang/translations/ko.po +25 -25
  206. package/lang/translations/lt.po +25 -25
  207. package/lang/translations/lv.po +25 -25
  208. package/lang/translations/ms.po +25 -25
  209. package/lang/translations/nl.po +25 -25
  210. package/lang/translations/no.po +25 -25
  211. package/lang/translations/pl.po +25 -25
  212. package/lang/translations/pt-br.po +25 -25
  213. package/lang/translations/pt.po +25 -25
  214. package/lang/translations/ro.po +25 -25
  215. package/lang/translations/ru.po +25 -25
  216. package/lang/translations/sk.po +25 -25
  217. package/lang/translations/sr.po +25 -25
  218. package/lang/translations/sv.po +25 -25
  219. package/lang/translations/th.po +25 -25
  220. package/lang/translations/tr.po +25 -25
  221. package/lang/translations/uk.po +25 -25
  222. package/lang/translations/vi.po +25 -25
  223. package/lang/translations/zh-cn.po +25 -25
  224. package/lang/translations/zh.po +25 -25
  225. package/package.json +9 -9
  226. package/src/commands/insertfootnotecommand.js +1 -1
  227. package/src/footnotes.js +1 -1
  228. package/src/footnotesclipboard.js +1 -1
  229. package/src/footnotesediting.js +1 -1
  230. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  231. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  232. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  233. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  234. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  235. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  236. package/src/footnotesproperties.js +1 -1
  237. package/src/footnotestracker.js +1 -1
  238. package/src/footnotesui.js +1 -1
  239. package/src/index.js +1 -1
  240. package/src/modelelementtracker.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x61b7b8=_0x5c24;(function(_0xb52225,_0x2f4ca8){const _0x5529c2=_0x5c24,_0xf11c3f=_0xb52225();while(!![]){try{const _0x304bd=-parseInt(_0x5529c2(0x109))/0x1+parseInt(_0x5529c2(0x13b))/0x2*(parseInt(_0x5529c2(0x113))/0x3)+parseInt(_0x5529c2(0x11d))/0x4*(parseInt(_0x5529c2(0x12a))/0x5)+-parseInt(_0x5529c2(0x130))/0x6+-parseInt(_0x5529c2(0x133))/0x7+parseInt(_0x5529c2(0x11a))/0x8+parseInt(_0x5529c2(0x138))/0x9;if(_0x304bd===_0x2f4ca8)break;else _0xf11c3f['push'](_0xf11c3f['shift']());}catch(_0x3e7073){_0xf11c3f['push'](_0xf11c3f['shift']());}}}(_0x57f8,0xa1960));import{Plugin as _0x2f1469}from'ckeditor5/src/core.js';function _0x57f8(){const _0x5a1a63=['_defineClipboardIntegration','init','from','footnoteRef','drop','length','editor','getFootnote','push','contentInsertion','727635UEcZTf','clipboardInput','toModel','parse','definition','createRangeIn','end','footnoteDefinition','dataTransfer','sourceEditorId','1893tfqxDb','root','footnotesDefinitions','document','createElement','getFootnotes','element','7198840iZjtpm','pluginName','getData','40FWqVfH','footnoteId','FootnotesClipboard','application/ckeditor5-footnotes','isOfficialPlugin','method','_handleCopyFootnotesDefinitions','insert','stringify','isPremiumPlugin','selection','getFirstRange','change','16580jlSflc','get','toView','create','listenTo','_handlePasteFootnotesDefinitions','2694060rUKlcn','find','content','109704IdDLWQ','getAttribute','reduce','_insertEmptyFootnotesDefinitionsContainer','setAttribute','3253149GEVmyG','data','getFootnotesDefinitionsObjectElement','1774zNDlJh','append','setData','editing','remove','htmlProcessor','entries','add','toData','requires','outputTransformation'];_0x57f8=function(){return _0x5a1a63;};return _0x57f8();}import{uid as _0x2b5a19}from'ckeditor5/src/utils.js';import{ClipboardPipeline as _0x367e6b}from'ckeditor5/src/clipboard.js';function _0x5c24(_0x4481cc,_0x1a51fb){const _0x57f834=_0x57f8();return _0x5c24=function(_0x5c24f9,_0x29334d){_0x5c24f9=_0x5c24f9-0xf6;let _0x2755b8=_0x57f834[_0x5c24f9];return _0x2755b8;},_0x5c24(_0x4481cc,_0x1a51fb);}import{FootnotesEditing as _0x30c1a9}from'./footnotesediting.js';import{FootnotesTracker as _0x3d9797}from'./footnotestracker.js';export class FootnotesClipboard extends _0x2f1469{static get[_0x61b7b8(0x11b)](){const _0x1db741=_0x61b7b8;return _0x1db741(0x11f);}static get[_0x61b7b8(0xfd)](){return[_0x30c1a9,_0x367e6b];}static get[_0x61b7b8(0x121)](){return!0x0;}static get[_0x61b7b8(0x126)](){return!0x0;}[_0x61b7b8(0x100)](){const _0x4529c6=_0x61b7b8;this[_0x4529c6(0xff)]();}[_0x61b7b8(0xff)](){const _0x2963c7=_0x61b7b8;this[_0x2963c7(0x123)](),this[_0x2963c7(0x12f)]();}[_0x61b7b8(0x123)](){const _0x5451e8=_0x61b7b8,{editor:_0x2ec182}=this,{plugins:_0x170970,model:_0x3aca2b}=_0x2ec182,_0x4ee336=_0x170970[_0x5451e8(0x12b)](_0x367e6b),_0x4c35ee=_0x170970[_0x5451e8(0x12b)](_0x3d9797);this[_0x5451e8(0x12e)](_0x4ee336,_0x5451e8(0xfe),(_0x1bc33f,_0x2c0eea)=>{const _0x5cd3fd=_0x5451e8,_0x54df02=function(_0x2c5084,_0x3f6d6d){const _0x210221=_0x5c24,_0x14e847=new Set();for(const {item:_0x3bfa1e}of _0x2c5084[_0x210221(0x10e)](_0x3f6d6d))_0x3bfa1e['is'](_0x210221(0x119),_0x210221(0x102))&&_0x14e847[_0x210221(0xfb)](_0x3bfa1e[_0x210221(0x134)](_0x210221(0x11e)));return Array[_0x210221(0x101)](_0x14e847);}(_0x3aca2b,_0x2c0eea[_0x5cd3fd(0x132)]);if(!_0x54df02[_0x5cd3fd(0x104)])return;const _0x3d7704=_0x4c35ee[_0x5cd3fd(0x118)](),_0x26f611=_0x54df02[_0x5cd3fd(0x135)]((_0x1cdea5,_0x82c2f7)=>{const _0x423f08=_0x5cd3fd,_0x127134=_0x3d7704[_0x423f08(0x131)](_0x19cc7e=>_0x19cc7e['id']===_0x82c2f7);if(_0x127134){const _0x56dd83=_0x2ec182[_0x423f08(0x139)][_0x423f08(0x12c)](_0x127134[_0x423f08(0x10d)],{'isClipboardPipeline':!0x0}),_0x3a5642=_0x2ec182[_0x423f08(0x139)][_0x423f08(0xf9)][_0x423f08(0xfc)](_0x56dd83);_0x1cdea5[_0x127134['id']]=_0x3a5642;}return _0x1cdea5;},Object[_0x5cd3fd(0x12d)](null));_0x2c0eea[_0x5cd3fd(0x111)][_0x5cd3fd(0xf6)](_0x5cd3fd(0x120),JSON[_0x5cd3fd(0x125)](_0x26f611));});}[_0x61b7b8(0x12f)](){const _0x4f02c1=_0x61b7b8,{editor:_0x2f48ea}=this,{model:_0x2699da,plugins:_0x3c4f70}=_0x2f48ea,{view:_0x272b0a}=_0x2f48ea[_0x4f02c1(0xf7)],_0x54538c=_0x3c4f70[_0x4f02c1(0x12b)](_0x367e6b),_0x3b53a8=_0x3c4f70[_0x4f02c1(0x12b)](_0x3d9797);let _0x243448=null;this[_0x4f02c1(0x12e)](_0x272b0a[_0x4f02c1(0x116)],_0x4f02c1(0x10a),(_0x5689c7,_0x50a952)=>{const _0x5e5c6a=_0x4f02c1,_0x22e0b0=_0x50a952[_0x5e5c6a(0x111)][_0x5e5c6a(0x11c)](_0x5e5c6a(0x120));_0x243448=_0x22e0b0?JSON[_0x5e5c6a(0x10c)](_0x22e0b0):null;}),this[_0x4f02c1(0x12e)](_0x54538c,_0x4f02c1(0x108),(_0x54f8c6,_0x4cfc8f)=>{const _0x10ccfd=_0x4f02c1;if(!_0x243448)return;const _0x215789=_0x4cfc8f[_0x10ccfd(0x112)]===this[_0x10ccfd(0x105)]['id'];_0x215789&&_0x10ccfd(0x103)===_0x4cfc8f[_0x10ccfd(0x122)]||_0x2699da[_0x10ccfd(0x129)](_0x5cdf94=>{const _0x95bba0=_0x10ccfd;!function(_0x439d5e,_0x15393f){const _0x546d69=_0x5c24,_0xf3d2a6=[];for(const {item:_0x18f98c}of _0x439d5e[_0x546d69(0x10e)](_0x15393f))_0x18f98c['is'](_0x546d69(0x119),_0x546d69(0x115))&&_0xf3d2a6[_0x546d69(0x107)](_0x18f98c);for(const _0x4b1b1c of _0xf3d2a6)_0x439d5e[_0x546d69(0xf8)](_0x4b1b1c);}(_0x5cdf94,_0x4cfc8f[_0x95bba0(0x132)]);let _0x26bc82=_0x3b53a8[_0x95bba0(0x13a)]();if(!_0x26bc82){const _0x102a72=_0x2699da[_0x95bba0(0x116)][_0x95bba0(0x127)][_0x95bba0(0x128)]()[_0x95bba0(0x114)];_0x26bc82=_0x3b53a8[_0x95bba0(0x136)](_0x5cdf94,_0x102a72);}const _0x547280=function(_0x455bd5,_0x22ac75,_0x1739ef){const _0x54c6fb=_0x95bba0,_0x213715=Object[_0x54c6fb(0x12d)](null);for(const {item:_0x2e3999}of _0x455bd5[_0x54c6fb(0x10e)](_0x22ac75))if(_0x2e3999['is'](_0x54c6fb(0x119),_0x54c6fb(0x102))){const _0x2578a0=_0x2e3999[_0x54c6fb(0x134)](_0x54c6fb(0x11e));if(!_0x1739ef(_0x2578a0))continue;_0x213715[_0x2578a0]||(_0x213715[_0x2578a0]=_0x2b5a19()),_0x455bd5[_0x54c6fb(0x137)](_0x54c6fb(0x11e),_0x213715[_0x2578a0],_0x2e3999);}return _0x213715;}(_0x5cdf94,_0x4cfc8f[_0x95bba0(0x132)],_0x11b03d=>!_0x215789||null!==_0x3b53a8[_0x95bba0(0x106)](_0x11b03d));for(const [_0x3af857,_0x437e15]of Object[_0x95bba0(0xfa)](_0x243448)){const _0x845de6=_0x547280[_0x3af857]||_0x3af857,_0x5c40cc=_0x5cdf94[_0x95bba0(0x117)](_0x95bba0(0x110),{'footnoteId':_0x845de6}),_0x4fca23=_0x2f48ea[_0x95bba0(0x139)][_0x95bba0(0xf9)][_0x95bba0(0x12c)](_0x437e15),_0x586a5c=_0x2f48ea[_0x95bba0(0x139)][_0x95bba0(0x10b)](_0x4fca23,_0x5c40cc);_0x5cdf94[_0x95bba0(0x13c)](_0x586a5c,_0x5c40cc),_0x5cdf94[_0x95bba0(0x124)](_0x5c40cc,_0x26bc82,_0x95bba0(0x10f));}_0x243448=null;});});}}
23
+ const _0x45486a=_0x114b;(function(_0x256805,_0x58d98f){const _0x4e9a2f=_0x114b,_0x17fd97=_0x256805();while(!![]){try{const _0x3528e9=-parseInt(_0x4e9a2f(0x201))/0x1*(-parseInt(_0x4e9a2f(0x1f4))/0x2)+parseInt(_0x4e9a2f(0x23f))/0x3*(-parseInt(_0x4e9a2f(0x217))/0x4)+-parseInt(_0x4e9a2f(0x22a))/0x5*(-parseInt(_0x4e9a2f(0x203))/0x6)+parseInt(_0x4e9a2f(0x1fe))/0x7+parseInt(_0x4e9a2f(0x20a))/0x8+parseInt(_0x4e9a2f(0x229))/0x9*(parseInt(_0x4e9a2f(0x21d))/0xa)+-parseInt(_0x4e9a2f(0x212))/0xb;if(_0x3528e9===_0x58d98f)break;else _0x17fd97['push'](_0x17fd97['shift']());}catch(_0x4628bf){_0x17fd97['push'](_0x17fd97['shift']());}}}(_0x30a3,0x7da13));import{Plugin as _0x13c177}from'ckeditor5/src/core.js';function _0x30a3(){const _0x5f6efd=['setData','_handleCopyFootnotesDefinitions','contentInsertion','append','405426jGqXeX','push','entries','2ekzFYy','footnoteRef','1374moOZrO','getSelectedBlocks','_defineClipboardIntegration','document','footnoteDefinition','listenTo','method','5380448ZnzJfV','get','element','flatMap','getAttribute','find','getFirstRange','_insertEmptyFootnotesDefinitionsContainer','10854316mFVqSt','requires','FootnotesClipboard','getFootnotes','toModel','32968XjJiNi','create','dataTransfer','includes','outputTransformation','toData','420vqJtIk','createElement','clipboardInput','getFootnote','length','data','getRanges','_handlePasteFootnotesDefinitions','footnoteId','definition','application/ckeditor5-footnotes','editor','35208SIbopv','525qnHofd','setAttribute','root','isOfficialPlugin','insert','stringify','htmlProcessor','getFootnotesDefinitionsObjectElement','editing','remove','end','sourceEditorId','createRangeIn','init','getData','change','drop','add','toView','content','footnotesDefinitions','6LLTgvC','598996UqBbjC','reduce','pluginName','isPremiumPlugin','from','parse'];_0x30a3=function(){return _0x5f6efd;};return _0x30a3();}import{uid as _0x39aba3}from'ckeditor5/src/utils.js';import{ClipboardPipeline as _0x51704a}from'ckeditor5/src/clipboard.js';function _0x114b(_0x4601ef,_0x343c05){const _0x30a3e2=_0x30a3();return _0x114b=function(_0x114b65,_0x22a4f9){_0x114b65=_0x114b65-0x1f4;let _0x10aa25=_0x30a3e2[_0x114b65];return _0x10aa25;},_0x114b(_0x4601ef,_0x343c05);}import{FootnotesEditing as _0x15c315}from'./footnotesediting.js';import{FootnotesTracker as _0x54431c}from'./footnotestracker.js';export class FootnotesClipboard extends _0x13c177{static get[_0x45486a(0x1f6)](){const _0x250970=_0x45486a;return _0x250970(0x214);}static get[_0x45486a(0x213)](){return[_0x15c315,_0x51704a];}static get[_0x45486a(0x22d)](){return!0x0;}static get[_0x45486a(0x1f7)](){return!0x0;}[_0x45486a(0x237)](){const _0x45734=_0x45486a;this[_0x45734(0x205)]();}[_0x45486a(0x205)](){const _0x4c2d22=_0x45486a;this[_0x4c2d22(0x1fb)](),this[_0x4c2d22(0x224)]();}[_0x45486a(0x1fb)](){const _0x16198a=_0x45486a,{editor:_0x108be7}=this,{plugins:_0x372fd1,model:_0x5ce3c8}=_0x108be7,_0xb688c0=_0x372fd1[_0x16198a(0x20b)](_0x51704a),_0xd2a7e0=_0x372fd1[_0x16198a(0x20b)](_0x54431c);this[_0x16198a(0x208)](_0xb688c0,_0x16198a(0x21b),(_0x404e68,_0x174891)=>{const _0x451d0b=_0x16198a,_0x289b1c=f(_0x5ce3c8[_0x451d0b(0x236)](_0x174891[_0x451d0b(0x23d)]));if(!_0x289b1c[_0x451d0b(0x221)])return;const _0x236ff2=_0xd2a7e0[_0x451d0b(0x215)](),_0x21807f=_0x289b1c[_0x451d0b(0x1f5)]((_0x5b5855,_0x23d5f9)=>{const _0x237676=_0x451d0b,_0x29be1a=_0x236ff2[_0x237676(0x20f)](_0x15dc03=>_0x15dc03['id']===_0x23d5f9);if(_0x29be1a){const _0x5318d7=_0x108be7[_0x237676(0x222)][_0x237676(0x23c)](_0x29be1a[_0x237676(0x226)],{'isClipboardPipeline':!0x0}),_0x25cad7=_0x108be7[_0x237676(0x222)][_0x237676(0x230)][_0x237676(0x21c)](_0x5318d7);_0x5b5855[_0x29be1a['id']]=_0x25cad7;}return _0x5b5855;},Object[_0x451d0b(0x218)](null));_0x174891[_0x451d0b(0x219)][_0x451d0b(0x1fa)](_0x451d0b(0x227),JSON[_0x451d0b(0x22f)](_0x21807f));});}[_0x45486a(0x224)](){const _0x314d63=_0x45486a,{editor:_0x3f758a}=this,{model:_0xa25c43,plugins:_0x27182a}=_0x3f758a,{view:_0x1666eb}=_0x3f758a[_0x314d63(0x232)],_0x238880=_0x27182a[_0x314d63(0x20b)](_0x51704a),_0x2b6dc1=_0x27182a[_0x314d63(0x20b)](_0x54431c);let _0xd46d6=null;this[_0x314d63(0x208)](_0x1666eb[_0x314d63(0x206)],_0x314d63(0x21f),(_0x59c132,_0x48e079)=>{const _0x3fb309=_0x314d63,_0x23276d=_0x48e079[_0x3fb309(0x219)][_0x3fb309(0x238)](_0x3fb309(0x227));_0xd46d6=_0x23276d?JSON[_0x3fb309(0x1f9)](_0x23276d):null;}),this[_0x314d63(0x208)](_0x238880,_0x314d63(0x1fc),(_0x54d326,_0x2f1c0f)=>{const _0x2c5fbf=_0x314d63,_0x53e480=_0x2f1c0f[_0x2c5fbf(0x235)]===this[_0x2c5fbf(0x228)]['id'];_0x53e480&&_0x2c5fbf(0x23a)===_0x2f1c0f[_0x2c5fbf(0x209)]||_0xa25c43[_0x2c5fbf(0x239)](_0x22e005=>{const _0x372f5a=_0x2c5fbf;if(function(_0x4aa250,_0x52aba1){const _0x462e4d=_0x114b,_0x1fb366=[];for(const {item:_0x323b5c}of _0x4aa250[_0x462e4d(0x236)](_0x52aba1))_0x323b5c['is'](_0x462e4d(0x20c),_0x462e4d(0x23e))&&_0x1fb366[_0x462e4d(0x1ff)](_0x323b5c);for(const _0xa34c7f of _0x1fb366)_0x4aa250[_0x462e4d(0x233)](_0xa34c7f);}(_0x22e005,_0x2f1c0f[_0x372f5a(0x23d)]),!_0xd46d6)return;const {selection:_0x95f54c}=_0xa25c43[_0x372f5a(0x206)],_0x13d004=_0x95f54c[_0x372f5a(0x210)]()[_0x372f5a(0x22c)];let _0x1446fd=_0x2b6dc1[_0x372f5a(0x231)]();_0x1446fd&&!Array[_0x372f5a(0x1f8)](_0x95f54c[_0x372f5a(0x204)]())[_0x372f5a(0x21a)](_0x1446fd)||(_0x1446fd=_0x2b6dc1[_0x372f5a(0x211)](_0x22e005,_0x13d004));const _0x2559ba=Array[_0x372f5a(0x1f8)](_0x95f54c[_0x372f5a(0x223)]())[_0x372f5a(0x20d)](f),_0x3d2013=function(_0x24126f,_0x1310e1,_0x28e69c){const _0x456260=_0x372f5a,_0x3e260d=Object[_0x456260(0x218)](null);for(const {item:_0x7654d}of _0x24126f[_0x456260(0x236)](_0x1310e1))if(_0x7654d['is'](_0x456260(0x20c),_0x456260(0x202))){const _0x3042aa=_0x7654d[_0x456260(0x20e)](_0x456260(0x225));if(!_0x28e69c(_0x3042aa))continue;_0x3e260d[_0x3042aa]||(_0x3e260d[_0x3042aa]=_0x39aba3()),_0x24126f[_0x456260(0x22b)](_0x456260(0x225),_0x3e260d[_0x3042aa],_0x7654d);}return _0x3e260d;}(_0x22e005,_0x2f1c0f[_0x372f5a(0x23d)],_0x13b704=>{const _0x244dc1=_0x372f5a;if(!_0x53e480)return!0x0;return!!_0x2b6dc1[_0x244dc1(0x220)](_0x13b704)&&!_0x2559ba[_0x244dc1(0x21a)](_0x13b704);});for(const [_0x187953,_0x2040f6]of Object[_0x372f5a(0x200)](_0xd46d6)){const _0x3824e7=_0x3d2013[_0x187953]||_0x187953,_0x44e68c=_0x22e005[_0x372f5a(0x21e)](_0x372f5a(0x207),{'footnoteId':_0x3824e7}),_0x3d8ec6=_0x3f758a[_0x372f5a(0x222)][_0x372f5a(0x230)][_0x372f5a(0x23c)](_0x2040f6),_0x232f3e=_0x3f758a[_0x372f5a(0x222)][_0x372f5a(0x216)](_0x3d8ec6,_0x44e68c);_0x22e005[_0x372f5a(0x1fd)](_0x232f3e,_0x44e68c),_0x22e005[_0x372f5a(0x22e)](_0x44e68c,_0x1446fd,_0x372f5a(0x234));}_0xd46d6=null;});});}}function f(_0x1e403f){const _0x2afa20=_0x45486a,_0x341902=new Set();for(const {item:_0x5e11ec}of _0x1e403f)_0x5e11ec['is'](_0x2afa20(0x20c),_0x2afa20(0x202))&&_0x341902[_0x2afa20(0x23b)](_0x5e11ec[_0x2afa20(0x20e)](_0x2afa20(0x225)));return Array[_0x2afa20(0x1f8)](_0x341902);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x20f558}from'ckeditor5/src/core.js';import{isWidget as _0x4978b4,toWidget as _0x3f3af4,toWidgetEditable as _0x339a86}from'ckeditor5/src/widget.js';import{uid as _0x51acc6}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4d2d26,ClickObserver as _0x20fa02}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x59062f}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x54c20c}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x20f558{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x59062f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4167dc}=this;_0x4167dc['config']['define']('footnotes.multiBlock',!0x0),_0x4167dc['commands']['add']('insertFootnote',new _0x54c20c(_0x4167dc)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3009d8){const _0x510c57=_0x248b64([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x365795=0x47a28506,_0x5148b6=0x47a5f2ae^_0x365795,_0x3368e6=window[_0x248b64([0x44,0x61,0x74,0x65])][_0x248b64([0x6e,0x6f,0x77])](),_0x5bfd03=_0x3009d8[_0x248b64([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22b829=new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c8ce8=>{_0x5bfd03[_0x248b64([0x6f,0x6e,0x63,0x65])](_0x248b64([0x72,0x65,0x61,0x64,0x79]),_0x3c8ce8);}),_0x529d6f={[_0x248b64([0x6b,0x74,0x79])]:_0x248b64([0x45,0x43]),[_0x248b64([0x75,0x73,0x65])]:_0x248b64([0x73,0x69,0x67]),[_0x248b64([0x63,0x72,0x76])]:_0x248b64([0x50,0x2d,0x32,0x35,0x36]),[_0x248b64([0x78])]:_0x248b64([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x248b64([0x79])]:_0x248b64([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x248b64([0x61,0x6c,0x67])]:_0x248b64([0x45,0x53,0x32,0x35,0x36])},_0x2cf225=_0x5bfd03[_0x248b64([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x248b64([0x67,0x65,0x74])](_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf38669(){let _0x8dcd89,_0x1e1106=null,_0x306bd1=null;try{if(_0x2cf225==_0x248b64([0x47,0x50,0x4c]))return _0x248b64([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x8dcd89=_0x456468(),!_0x8dcd89)return _0x248b64([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x8dcd89[_0x248b64([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x306bd1=_0x35d749(_0x8dcd89[_0x248b64([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x8dcd89[_0x248b64([0x6a,0x74,0x69])])),await _0x513bd9()?_0x2e9829()?_0xca383b()?_0x248b64([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xbb120()?(_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x248b64([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1e1106=_0xe8fdba(_0x248b64([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x248b64([0x74,0x72,0x69,0x61,0x6c])&&(_0x1e1106=_0xe8fdba(_0x248b64([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x6a8fef()):_0x248b64([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x248b64([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x248b64([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x248b64([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xca383b(){const _0x389c6a=[_0x248b64([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x248b64([0x74,0x72,0x69,0x61,0x6c])][_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3368e6/0x3e8:0xe10*_0x5148b6;return _0x8dcd89[_0x248b64([0x65,0x78,0x70])]<_0x389c6a;}function _0x2e9829(){const _0x46cace=_0x8dcd89[_0x248b64([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x46cace&&(!!_0x46cace[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x248b64([0x2a]))||!!_0x46cace[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x248b64([0x46,0x4f,0x4f])));}function _0xbb120(){const _0x59498e=_0x8dcd89[_0x248b64([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59498e||0x0==_0x59498e[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39c79a}=new URL(window[_0x248b64([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x59498e[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39c79a))return!0x0;const _0x1054d9=_0x39c79a[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e]));return _0x59498e[_0x248b64([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a5d43=>_0x3a5d43[_0x248b64([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x248b64([0x2a])))[_0x248b64([0x6d,0x61,0x70])](_0x3447f8=>_0x3447f8[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e])))[_0x248b64([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa151c2=>_0xa151c2[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1054d9[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x248b64([0x6d,0x61,0x70])](_0x2057e9=>Array(_0x1054d9[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2057e9[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x248b64([0x66,0x69,0x6c,0x6c])](_0x2057e9[0x0]===_0x248b64([0x2a])?_0x248b64([0x2a]):'')[_0x248b64([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2057e9))[_0x248b64([0x73,0x6f,0x6d,0x65])](_0x2b78d0=>_0x1054d9[_0x248b64([0x65,0x76,0x65,0x72,0x79])]((_0x381e44,_0x3b2728)=>_0x2b78d0[_0x3b2728]===_0x381e44||_0x2b78d0[_0x3b2728]===_0x248b64([0x2a])));}function _0x6a8fef(){return _0x1e1106&&_0x306bd1?new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d8f7e,_0x4cd5b5)=>{_0x1e1106[_0x248b64([0x74,0x68,0x65,0x6e])](_0x4d8f7e,_0x4cd5b5),_0x306bd1[_0x248b64([0x74,0x68,0x65,0x6e])](_0x6c4419=>{_0x6c4419!=_0x248b64([0x56,0x61,0x6c,0x69,0x64])&&_0x4d8f7e(_0x6c4419);},_0x4cd5b5);}):_0x1e1106||_0x306bd1||_0x248b64([0x56,0x61,0x6c,0x69,0x64]);}}function _0x35d749(_0x3c5d87,_0x4a8d1e){return new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11e5e5=>{if(_0x21f368())return _0x11e5e5(_0x248b64([0x56,0x61,0x6c,0x69,0x64]));_0xa620ce(),_0x5bfd03[_0x248b64([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x248b64([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x597020=!0x1;const _0x1e649e=_0x51acc6();function _0x52f4b6(_0x282979){return!!_0x282979&&(typeof _0x282979===_0x248b64([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x282979===_0x248b64([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x282979[_0x248b64([0x74,0x68,0x65,0x6e])]===_0x248b64([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x282979[_0x248b64([0x63,0x61,0x74,0x63,0x68])]===_0x248b64([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ee392(_0x1681a4){_0xaf4acc(_0x1681a4)[_0x248b64([0x74,0x68,0x65,0x6e])](_0x43db51=>{if(!_0x43db51||_0x43db51[_0x248b64([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x248b64([0x6f,0x6b]))return _0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x21582c(_0x44236f(_0x1e649e+_0x4a8d1e))!=_0x43db51[_0x248b64([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x248b64([0x56,0x61,0x6c,0x69,0x64]);})[_0x248b64([0x74,0x68,0x65,0x6e])](_0x19ac4b=>(_0xb0be17(),_0x19ac4b),()=>{const _0x8c1971=_0x15eda3();return null==_0x8c1971?(_0xb0be17(),_0x248b64([0x56,0x61,0x6c,0x69,0x64])):_0x248b64(_0x3368e6-_0x8c1971>(0x63ae0106^_0x365795)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x248b64([0x74,0x68,0x65,0x6e])](_0x11e5e5)[_0x248b64([0x63,0x61,0x74,0x63,0x68])](()=>{_0x11e5e5(_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5dfc2f=0x47946b86^_0x365795;function _0xb0be17(){const _0x23f71e=_0x248b64([0x6c,0x6c,0x63,0x74,0x2d])+_0x21582c(_0x44236f(_0x3c5d87)),_0x2c74df=_0x191f16(_0x21582c(window[_0x248b64([0x4d,0x61,0x74,0x68])][_0x248b64([0x63,0x65,0x69,0x6c])](_0x3368e6/_0x5dfc2f)));window[_0x248b64([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x248b64([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x23f71e,_0x2c74df);}function _0x15eda3(){const _0x144812=_0x248b64([0x6c,0x6c,0x63,0x74,0x2d])+_0x21582c(_0x44236f(_0x3c5d87)),_0x3d2c65=window[_0x248b64([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x248b64([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x144812);return _0x3d2c65?window[_0x248b64([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x191f16(_0x3d2c65),0x10)*_0x5dfc2f:null;}function _0xaf4acc(_0x4f2b26){return new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x434077,_0x5ebf34)=>{_0x4f2b26[_0x248b64([0x74,0x68,0x65,0x6e])](_0x434077,_0x5ebf34),window[_0x248b64([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ebf34,0x47a351c6^_0x365795);});}}_0x5bfd03[_0x248b64([0x6f,0x6e])](_0x248b64([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x49a4cd,_0x33eb40)=>{if(_0x33eb40[0x0]!=_0x3c5d87)return _0x11e5e5(_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x33eb40[0x1]={..._0x33eb40[0x1],[_0x248b64([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e649e};},{[_0x248b64([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x248b64([0x68,0x69,0x67,0x68])}),_0x5bfd03[_0x248b64([0x6f,0x6e])](_0x248b64([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5069cb=>{_0x52f4b6(_0x5069cb[_0x248b64([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x597020=!0x0,_0x1ee392(_0x5069cb[_0x248b64([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x248b64([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x248b64([0x6c,0x6f,0x77])}),_0x22b829[_0x248b64([0x74,0x68,0x65,0x6e])](()=>{_0x597020||_0x11e5e5(_0x248b64([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21f368(){return _0x5bfd03[_0x248b64([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x248b64([0x76,0x69,0x65,0x77])][_0x248b64([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x248b64([0x61,0x75,0x74,0x6f]);}function _0xa620ce(){_0x5bfd03[_0x248b64([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x248b64([0x76,0x69,0x65,0x77])][_0x248b64([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x248b64([0x61,0x75,0x74,0x6f]);}}function _0xe8fdba(_0x1d3f38){const _0xf361a6=[new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55d373=>setTimeout(_0x55d373,0x47abbbca^_0x365795)),_0x22b829[_0x248b64([0x74,0x68,0x65,0x6e])](()=>new window[(_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cfb8e=>{let _0x4b8d94=0x0;_0x5bfd03[_0x248b64([0x6d,0x6f,0x64,0x65,0x6c])][_0x248b64([0x6f,0x6e])](_0x248b64([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x199027,_0x182182)=>{_0x182182[0x0][_0x248b64([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4b8d94++,_0x4b8d94==(0x47a284fe^_0x365795)&&(_0x4cfb8e(),_0x199027[_0x248b64([0x6f,0x66,0x66])]());});}))];return window[_0x248b64([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x248b64([0x72,0x61,0x63,0x65])](_0xf361a6)[_0x248b64([0x74,0x68,0x65,0x6e])](()=>_0x1d3f38);}async function _0x1b3d3f(){await _0x22b829,_0x5bfd03[_0x248b64([0x6d,0x6f,0x64,0x65,0x6c])][_0x248b64([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5acc2a,_0x5bfd03[_0x248b64([0x6d,0x6f,0x64,0x65,0x6c])][_0x248b64([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5acc2a,_0x5bfd03[_0x248b64([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x248b64([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2328f6(_0x53610e){const _0x1f5388=_0x54504f();_0x5bfd03[_0x1f5388]=_0x248b64([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x53610e,_0x53610e!=_0x248b64([0x56,0x61,0x6c,0x69,0x64])&&_0x1b3d3f();}function _0x54504f(){const _0x4f69f8=window[_0x248b64([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x248b64([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x248b64([0x6e,0x6f,0x77])]())[_0x248b64([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x248b64([0x2e]),'');let _0x4ec13d=_0x248b64([0x75]);for(let _0x1b619b=0x0;_0x1b619b<_0x4f69f8[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b619b+=0x2){let _0x416fcf=window[_0x248b64([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f69f8[_0x248b64([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1b619b,_0x1b619b+0x2));_0x416fcf>=_0x510c57[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x416fcf-=_0x510c57[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4ec13d+=_0x510c57[_0x416fcf];}return _0x4ec13d;}function _0x456468(){const _0x19de27=_0x2cf225[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e]));if(0x3!=_0x19de27[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x522839(_0x19de27[0x1]);function _0x522839(_0x2c18b7){const _0x4fe004=_0x32fb97(_0x2c18b7);return _0x4fe004&&_0x1208b2()?_0x4fe004:null;function _0x1208b2(){const _0x2b57f0=_0x4fe004[_0x248b64([0x6a,0x74,0x69])],_0x930732=window[_0x248b64([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b57f0[_0x248b64([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b57f0[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e2ab1={..._0x4fe004,[_0x248b64([0x6a,0x74,0x69])]:_0x2b57f0[_0x248b64([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b57f0[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e2ab1[_0x248b64([0x76,0x63])],_0x44236f(_0x3e2ab1)==_0x930732;}}}async function _0x513bd9(){let _0x5a7fa4=!0x0;try{const _0x553f11=_0x2cf225[_0x248b64([0x73,0x70,0x6c,0x69,0x74])](_0x248b64([0x2e])),[_0x26a034,_0x2f9c6c,_0x1cf780]=_0x553f11;return _0x3f9b9e(_0x26a034),await _0xdddb5b(_0x26a034,_0x2f9c6c,_0x1cf780),_0x5a7fa4;}catch{return!0x1;}function _0x3f9b9e(_0x270bba){const _0x4276be=_0x32fb97(_0x270bba);_0x4276be&&_0x4276be[_0x248b64([0x61,0x6c,0x67])]==_0x248b64([0x45,0x53,0x32,0x35,0x36])||(_0x5a7fa4=!0x1);}async function _0xdddb5b(_0x14baf1,_0x2a4ca9,_0x42cd0f){const _0x2d8098=window[_0x248b64([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x248b64([0x66,0x72,0x6f,0x6d])](_0x5b2aaa(_0x42cd0f),_0xcf4778=>_0xcf4778[_0x248b64([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3b67b1=new window[(_0x248b64([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x248b64([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x14baf1+_0x248b64([0x2e])+_0x2a4ca9),_0x4b8e7b=window[_0x248b64([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x248b64([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4b8e7b)return;const _0x3b9463=await _0x4b8e7b[_0x248b64([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x248b64([0x6a,0x77,0x6b]),_0x529d6f,{[_0x248b64([0x6e,0x61,0x6d,0x65])]:_0x248b64([0x45,0x43,0x44,0x53,0x41]),[_0x248b64([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x248b64([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x248b64([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4b8e7b[_0x248b64([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x248b64([0x6e,0x61,0x6d,0x65])]:_0x248b64([0x45,0x43,0x44,0x53,0x41]),[_0x248b64([0x68,0x61,0x73,0x68])]:{[_0x248b64([0x6e,0x61,0x6d,0x65])]:_0x248b64([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b9463,_0x2d8098,_0x3b67b1)||(_0x5a7fa4=!0x1);}}function _0x32fb97(_0x2cd5b3){return _0x2cd5b3[_0x248b64([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x248b64([0x65,0x79]))?JSON[_0x248b64([0x70,0x61,0x72,0x73,0x65])](_0x5b2aaa(_0x2cd5b3)):null;}function _0x5b2aaa(_0x13b6e1){return window[_0x248b64([0x61,0x74,0x6f,0x62])](_0x13b6e1[_0x248b64([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x248b64([0x2b]))[_0x248b64([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x248b64([0x2f])));}function _0x44236f(_0x4eb1bb){let _0x526943=0x1505;function _0x2244bc(_0x4d64e4){for(let _0x3355b2=0x0;_0x3355b2<_0x4d64e4[_0x248b64([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3355b2++){const _0x36fc9d=_0x4d64e4[_0x248b64([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3355b2);_0x526943=(_0x526943<<0x5)+_0x526943+_0x36fc9d,_0x526943&=_0x526943;}}function _0x4f9f23(_0x4221a0){Array[_0x248b64([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4221a0)?_0x4221a0[_0x248b64([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f9f23):_0x4221a0&&typeof _0x4221a0==_0x248b64([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x248b64([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4221a0)[_0x248b64([0x73,0x6f,0x72,0x74])]()[_0x248b64([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x544cbc,_0x280bc4])=>{_0x2244bc(_0x544cbc),_0x4f9f23(_0x280bc4);}):_0x2244bc(window[_0x248b64([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4221a0));}return _0x4f9f23(_0x4eb1bb),_0x526943>>>0x0;}function _0x21582c(_0x5d6306){return _0x5d6306[_0x248b64([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x248b64([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x248b64([0x30]));}function _0x191f16(_0x5f14dc){return _0x5f14dc[_0x248b64([0x73,0x70,0x6c,0x69,0x74])]('')[_0x248b64([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x248b64([0x6a,0x6f,0x69,0x6e])]('');}function _0x5acc2a(){}function _0x248b64(_0x3f7bd3){return _0x3f7bd3['map'](_0x518f97=>String['fromCharCode'](_0x518f97))['join']('');}_0x2328f6(await _0xf38669());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2c99cd){const {plugins:_0x36af9a,editing:_0x1b80fd,model:_0x300406}=this['editor'],_0x132666=_0x36af9a['get'](_0x59062f)['getFootnote'](_0x2c99cd);return!!_0x132666&&(_0x300406['change'](_0x2ae3ac=>{_0x2ae3ac['setSelection'](_0x2ae3ac['createPositionAt'](_0x132666['definition'],'end'));}),_0x1b80fd['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x453afb){const {plugins:_0x20e54c,editing:_0x2cdf9c,model:_0x29aca6}=this['editor'],_0x15664a=_0x20e54c['get'](_0x59062f)['getFootnote'](_0x453afb);return!!_0x15664a&&(_0x29aca6['change'](_0x280536=>{_0x280536['setSelection'](_0x15664a['reference'],'on');}),_0x2cdf9c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2e2fa0}=this['editor']['model'],_0x5f5972=this['editor']['config']['get']('footnotes.multiBlock');_0x2e2fa0['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2e2fa0['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2e2fa0['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5f5972?_0x2e2fa0['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2e2fa0['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2e2fa0['addChildCheck'](_0xe5f8d0=>{for(const _0x52ada3 of _0xe5f8d0)if('footnoteDefinition'===_0x52ada3['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x594f4e}=this,{conversion:_0x17dab3,editing:_0x3ed9e1}=_0x594f4e,{t:t}=_0x594f4e['locale'];_0x17dab3['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x67a261,{writer:_0x234011,consumable:_0x34f598})=>{const _0x243a86=_0x67a261['getChild'](0x0);if(!_0x243a86||!_0x243a86['is']('element','a'))return null;const _0x6debbd=_0x243a86['getAttribute']('href')||'';if(!_0x6debbd['startsWith']('#'))return null;const _0x5bebd1=_0x6debbd['replace'](/^#/,'');if(!_0x5bebd1)return null;_0x34f598['consume'](_0x243a86,{'name':!0x0,'attributes':['href']});for(const {item:_0x57f26a}of _0x3ed9e1['view']['createRangeIn'](_0x243a86))_0x57f26a['is']('$textProxy')?_0x34f598['consume'](_0x57f26a['textNode'],{'name':!0x0}):_0x57f26a['is']('element')&&_0x34f598['consume'](_0x57f26a,{'name':!0x0});return _0x234011['createElement']('footnoteRef',{'footnoteId':_0x5bebd1});}}),_0x17dab3['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2ad513,{writer:_0xff4fbc})=>D(_0x2ad513,_0xff4fbc)}),_0x17dab3['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1cf88a,{writer:_0x3408f5})=>{const _0x49b2c1=_0x1cf88a['getAttribute']('footnoteCounter');return _0x3f3af4(D(_0x1cf88a,_0x3408f5),_0x3408f5,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x49b2c1)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1a1278}=this,{t:t}=_0x1a1278['locale'],{conversion:_0x25768b}=_0x1a1278;_0x25768b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x25768b['for']('upcast')['add'](_0x34c83a=>{_0x34c83a['on']('element:ol',(_0x353791,_0x5ea231,_0x1d544c)=>{const _0x2097d3=_0x5ea231['viewItem'];if(!_0x2097d3['hasClass']('footnotes-list')||!_0x5ea231['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1d544c['consumable']['consume'](_0x2097d3,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x530caf,modelCursor:_0xdeb16e}=_0x1d544c['convertChildren'](_0x5ea231['viewItem'],_0x5ea231['modelCursor']);_0x5ea231['modelRange']=_0x530caf,_0x5ea231['modelCursor']=_0xdeb16e;}),_0x34c83a['on']('element:hr',(_0x22b7ee,_0x40a750,_0x2f5ecc)=>{const _0x58a113=_0x40a750['viewItem'];_0x58a113['hasClass']('footnotes-divider')&&_0x40a750['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2f5ecc['consumable']['consume'](_0x58a113,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x25768b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1950aa,{writer:_0x409c66})=>g(_0x409c66)}),_0x25768b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5b30a0,{writer:_0x53caac})=>{const _0x49c0a7=g(_0x53caac,{'data-footnotes-list-label':t('Footnotes')}),_0x6a2461=_0x3f3af4(_0x49c0a7,_0x53caac,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x53caac['setCustomProperty']('footnotesDefinitions',!0x0,_0x6a2461),_0x6a2461;}});}['_defineDefinitionConverters'](){const {editor:_0x32fffd}=this,{conversion:_0x23f86a,locale:_0x3aa511}=_0x32fffd,_0x25a09c=_0x32fffd['config']['get']('footnotes.multiBlock');_0x23f86a['for']('upcast')['add'](_0x9eb515=>{_0x9eb515['on']('element:li',(_0x3ab560,_0x2716e2,_0x3de5b2)=>{const _0x55e436=_0x2716e2['viewItem'];if(!_0x55e436['hasClass']('footnote-definition')||!_0x55e436['getAttribute']('id'))return;const _0x119855=_0x55e436['parent'];if(!_0x119855['is']('element','ol')||!_0x119855['hasClass']('footnotes-list'))return;if(!_0x3de5b2['consumable']['test'](_0x55e436,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4dc4ae=_0x3de5b2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x55e436['getAttribute']('id')});if(!_0x3de5b2['safeInsert'](_0x4dc4ae,_0x2716e2['modelCursor']))return;_0x3de5b2['consumable']['consume'](_0x55e436,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x42f9d3=Array['from'](_0x55e436['getChildren']())['find'](_0x41ee2b=>_0x41ee2b['is']('element')&&_0x41ee2b['hasClass']('footnote-content'));for(const _0x3f914 of _0x55e436['getChildren']())_0x3f914['is']('element')&&(_0x3de5b2['consumable']['consume'](_0x3f914,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3de5b2['consumable']['consume'](_0x3f914,{'name':!0x0,'classes':'footnote-content'}));if(_0x42f9d3){if(_0x25a09c)_0x3de5b2['convertChildren'](_0x42f9d3,_0x4dc4ae);else{const _0x1416f7=_0x3de5b2['writer']['createElement']('footnoteInlineContent');_0x3de5b2['writer']['insert'](_0x1416f7,_0x4dc4ae),_0x3de5b2['convertChildren'](_0x42f9d3,_0x1416f7);}}_0x3de5b2['updateConversionResult'](_0x4dc4ae,_0x2716e2);});}),_0x23f86a['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3f967e,{writer:_0x4e35a0})=>v(_0x3f967e,_0x4e35a0,_0x3aa511,{'dataPipeline':!0x0})}),_0x23f86a['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x47d135,{writer:_0x565f1f})=>v(_0x47d135,_0x565f1f,_0x3aa511)});}['_defineBogusParagraphConverters'](){const {editor:_0x40bf53}=this,{conversion:_0x309ad4}=_0x40bf53;_0x40bf53['config']['get']('footnotes.multiBlock')?(_0x309ad4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x309ad4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x40bf53['model']['document'],'change:data',()=>{!function(_0x5a1e25,_0x42f4cc){const _0x3f6e20=_0x5a1e25['document']['differ'],_0x14da39=new Set();for(const _0x10f90b of _0x3f6e20['getChanges']()){const _0x15e1f2='attribute'==_0x10f90b['type']?_0x10f90b['range']['start']['parent']:_0x10f90b['position']['parent'];_0x15e1f2['is']('element','footnoteDefinition')&&_0x14da39['add'](_0x15e1f2);}for(const _0x558dd7 of _0x14da39['values']()){const _0x25bddb=Array['from'](_0x558dd7['getChildren']())['filter'](_0xfcddc1=>p(_0xfcddc1,_0x42f4cc['mapper']));for(const _0x1885d3 of _0x25bddb)_0x42f4cc['reconvertItem'](_0x1885d3);}}(_0x40bf53['model'],_0x40bf53['editing']);})):(_0x309ad4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x309ad4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1df9aa,{writer:_0x1aa958})=>{const _0x11fba5=_0x1aa958['createContainerElement']('span');return _0x1aa958['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x11fba5),_0x11fba5;}}));}['_defineKeyboardHandlers'](){const {editor:_0x442eea}=this,{editing:_0x1431b3,t:t}=_0x442eea,_0x46cd49=_0x442eea['model']['document']['selection'];_0x442eea['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x442eea['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x1431b3['view']['document'],'enter',(_0x1a38d1,_0x321d4a)=>{const _0x4a54a8=function(_0x40b66a){const _0x50ff4a=_0x40b66a['getSelectedElement']();if(_0x50ff4a?.['is']('element','footnoteRef'))return _0x50ff4a;return null;}(_0x46cd49);if(_0x4a54a8){const _0x51d805=_0x4a54a8['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x51d805),_0x321d4a['preventDefault'](),_0x1a38d1['stop']();}},{'context':_0x4978b4});}['_defineClickHandlers'](){const {editor:_0x134554}=this,{editing:_0x544f04}=_0x134554;_0x134554['editing']['view']['addObserver'](_0x4d2d26),_0x134554['editing']['view']['addObserver'](_0x20fa02);let _0x499200=!0x1;this['listenTo'](_0x544f04['view']['document'],'pointerdown',(_0x21f1ab,_0x4263c1)=>{const {target:_0x27a780}=_0x4263c1,_0x1d1582=_0x544f04['view']['document']['selection'];_0x499200=!!(_0x27a780?.['is']('element','a')&&_0x27a780['parent']?.['is']('element','sup')&&_0x27a780['parent']['hasClass']('footnote'))&&_0x1d1582['getSelectedElement']()===_0x27a780['parent'];},{'priority':'high'}),this['listenTo'](_0x544f04['view']['document'],'click',(_0x12cdc2,_0x12e9c0)=>{const {target:_0x439fdf}=_0x12e9c0;if(!_0x439fdf?.['is']('element','a'))return;if(_0x439fdf['parent']?.['is']('element','sup')&&_0x439fdf['parent']['hasClass']('footnote')&&!_0x499200)return void _0x12e9c0['preventDefault']();let _0x4da44a=_0x439fdf['getAttribute']('href');if(!_0x4da44a?.['startsWith']('#'))return;_0x4da44a=_0x4da44a['slice'](0x1);let _0x1031f3=!0x1;(_0x4da44a['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4da44a['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4da44a))&&(_0x1031f3=!0x0),_0x1031f3&&(_0x12e9c0['preventDefault'](),_0x12cdc2['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x10481d}={}){return(_0xe1ea31,{writer:_0x5df483})=>{if(!h(_0xe1ea31))return null;if(!_0x10481d)return _0x5df483['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3e3ebd=_0x5df483['createContainerElement']('p');return _0x5df483['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3e3ebd),_0x3e3ebd;};}function h(_0x35f87d){const {parent:_0x541730}=_0x35f87d;if(!_0x541730?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x541730['childCount'])return!0x1;for(const _0xe8b6fe of _0x35f87d['getAttributeKeys']())if(!_0xe8b6fe['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xe8b6fe)return!0x1;return!0x0;}function p(_0x342a5c,_0x21bf53){if(!_0x342a5c['is']('element','paragraph'))return!0x1;const _0x17cfd5=_0x21bf53['toViewElement'](_0x342a5c);return!!_0x17cfd5&&h(_0x342a5c)!==_0x17cfd5['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x4108be){return _0x4978b4(_0x4108be)&&_0x4108be['is']('containerElement')&&!!_0x4108be['getCustomProperty']('footnotesDefinitions');}function g(_0x920a7f,_0x243e48={}){const _0x58db56=_0x920a7f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x28cb98=_0x920a7f['createContainerElement']('ol',{'class':'footnotes-list'},_0x920a7f['createSlot']());return _0x920a7f['createContainerElement']('div',{'class':'footnotes',..._0x243e48},[_0x58db56,_0x28cb98]);}function D(_0x3d8746,_0x45749d){const _0x217e28=_0x3d8746['getAttribute']('footnoteId'),_0x423dfb=_0x3d8746['getAttribute']('footnoteCounter'),_0x46a218=_0x45749d['createUIElement']('a',{'href':'#'+_0x217e28},function(_0x1ef17f){const _0x2dd4a9=this['toDomElement'](_0x1ef17f);return _0x2dd4a9['textContent']=_0x423dfb,_0x2dd4a9;}),_0x3f1613=_0x45749d['createContainerElement']('sup',{'id':'ref-'+_0x217e28,'class':'footnote'},[_0x46a218]);return _0x3f1613['getFillerOffset']=()=>null,_0x3f1613;}function v(_0x2ec78d,_0x1409a5,_0x2b935b,{dataPipeline:_0x157c5a}={}){const {t:t}=_0x2b935b,_0x45333d=_0x2ec78d['getAttribute']('footnoteId'),_0x301284=_0x1409a5['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x45333d},function(_0x356061){const _0x43b380=this['toDomElement'](_0x356061);return _0x43b380['innerText']='^',_0x43b380;}),_0x37694=_0x157c5a?_0x1409a5['createContainerElement']('div',{'class':'footnote-content'}):_0x339a86(_0x1409a5['createEditableElement']('div',{'class':'footnote-content'}),_0x1409a5,{'label':t('Footnote\x20content.')});return _0x1409a5['insert'](_0x1409a5['createPositionAt'](_0x37694,0x0),_0x1409a5['createSlot']()),_0x1409a5['createContainerElement']('li',{'class':'footnote-definition','id':_0x45333d},[_0x301284,_0x37694]);}
23
+ import{Plugin as _0x294ef5}from'ckeditor5/src/core.js';import{isWidget as _0x523e8b,toWidget as _0x28b21f,toWidgetEditable as _0x4743d1}from'ckeditor5/src/widget.js';import{uid as _0x45411d}from'ckeditor5/src/utils.js';import{PointerObserver as _0xa17bde,ClickObserver as _0x129a59}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x4b8867}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x1a2ebf}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x294ef5{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x4b8867];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x11b02e}=this;_0x11b02e['config']['define']('footnotes.multiBlock',!0x0),_0x11b02e['commands']['add']('insertFootnote',new _0x1a2ebf(_0x11b02e)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4deddf){const _0x224c13=_0x4a9f0e([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x27d8df=0x47a28506,_0x586474=0x47a5f2c6^_0x27d8df,_0x14574b=window[_0x4a9f0e([0x44,0x61,0x74,0x65])][_0x4a9f0e([0x6e,0x6f,0x77])](),_0xb1e478=_0x4deddf[_0x4a9f0e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a5e28=new window[(_0x4a9f0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b0276=>{_0xb1e478[_0x4a9f0e([0x6f,0x6e,0x63,0x65])](_0x4a9f0e([0x72,0x65,0x61,0x64,0x79]),_0x2b0276);}),_0x174237={[_0x4a9f0e([0x6b,0x74,0x79])]:_0x4a9f0e([0x45,0x43]),[_0x4a9f0e([0x75,0x73,0x65])]:_0x4a9f0e([0x73,0x69,0x67]),[_0x4a9f0e([0x63,0x72,0x76])]:_0x4a9f0e([0x50,0x2d,0x32,0x35,0x36]),[_0x4a9f0e([0x78])]:_0x4a9f0e([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x4a9f0e([0x79])]:_0x4a9f0e([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x4a9f0e([0x61,0x6c,0x67])]:_0x4a9f0e([0x45,0x53,0x32,0x35,0x36])},_0x40dc15=_0xb1e478[_0x4a9f0e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a9f0e([0x67,0x65,0x74])](_0x4a9f0e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a5dd4(){let _0x4c09fb,_0x3219c1=null,_0x5d5133=null;try{if(_0x40dc15==_0x4a9f0e([0x47,0x50,0x4c]))return _0x4a9f0e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4c09fb=_0x1ff96(),!_0x4c09fb)return _0x4a9f0e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4c09fb[_0x4a9f0e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5d5133=_0x283cf4(_0x4c09fb[_0x4a9f0e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4c09fb[_0x4a9f0e([0x6a,0x74,0x69])])),await _0x3be67f()?_0x23dc06()?_0x35a8a6()?_0x4a9f0e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x137a52()?(_0x4c09fb[_0x4a9f0e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a9f0e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3219c1=_0x41684d(_0x4a9f0e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4c09fb[_0x4a9f0e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a9f0e([0x74,0x72,0x69,0x61,0x6c])&&(_0x3219c1=_0x41684d(_0x4a9f0e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xe6def5()):_0x4a9f0e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a9f0e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a9f0e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a9f0e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x35a8a6(){const _0x31b975=[_0x4a9f0e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a9f0e([0x74,0x72,0x69,0x61,0x6c])][_0x4a9f0e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c09fb[_0x4a9f0e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x14574b/0x3e8:0xe10*_0x586474;return _0x4c09fb[_0x4a9f0e([0x65,0x78,0x70])]<_0x31b975;}function _0x23dc06(){const _0x39645d=_0x4c09fb[_0x4a9f0e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x39645d&&(!!_0x39645d[_0x4a9f0e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a9f0e([0x2a]))||!!_0x39645d[_0x4a9f0e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a9f0e([0x46,0x4f,0x4f])));}function _0x137a52(){const _0x4bca65=_0x4c09fb[_0x4a9f0e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bca65||0x0==_0x4bca65[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35064b}=new URL(window[_0x4a9f0e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4bca65[_0x4a9f0e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35064b))return!0x0;const _0x59baa9=_0x35064b[_0x4a9f0e([0x73,0x70,0x6c,0x69,0x74])](_0x4a9f0e([0x2e]));return _0x4bca65[_0x4a9f0e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x181fe7=>_0x181fe7[_0x4a9f0e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a9f0e([0x2a])))[_0x4a9f0e([0x6d,0x61,0x70])](_0x31b953=>_0x31b953[_0x4a9f0e([0x73,0x70,0x6c,0x69,0x74])](_0x4a9f0e([0x2e])))[_0x4a9f0e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x265b69=>_0x265b69[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x59baa9[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a9f0e([0x6d,0x61,0x70])](_0x26f650=>Array(_0x59baa9[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x26f650[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a9f0e([0x66,0x69,0x6c,0x6c])](_0x26f650[0x0]===_0x4a9f0e([0x2a])?_0x4a9f0e([0x2a]):'')[_0x4a9f0e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x26f650))[_0x4a9f0e([0x73,0x6f,0x6d,0x65])](_0x44c351=>_0x59baa9[_0x4a9f0e([0x65,0x76,0x65,0x72,0x79])]((_0x5b6f26,_0x5e6263)=>_0x44c351[_0x5e6263]===_0x5b6f26||_0x44c351[_0x5e6263]===_0x4a9f0e([0x2a])));}function _0xe6def5(){return _0x3219c1&&_0x5d5133?new window[(_0x4a9f0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe9f441,_0x212ea4)=>{_0x3219c1[_0x4a9f0e([0x74,0x68,0x65,0x6e])](_0xe9f441,_0x212ea4),_0x5d5133[_0x4a9f0e([0x74,0x68,0x65,0x6e])](_0x2e1632=>{_0x2e1632!=_0x4a9f0e([0x56,0x61,0x6c,0x69,0x64])&&_0xe9f441(_0x2e1632);},_0x212ea4);}):_0x3219c1||_0x5d5133||_0x4a9f0e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x283cf4(_0x636ea,_0x7ed2c9){return new window[(_0x4a9f0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa5f10a=>{if(_0x56b91e())return _0xa5f10a(_0x4a9f0e([0x56,0x61,0x6c,0x69,0x64]));_0x222baa(),_0xb1e478[_0x4a9f0e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a9f0e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x44f438=!0x1;const _0x1d2672=_0x45411d();function _0x2a7489(_0x2e7f1d){return!!_0x2e7f1d&&(typeof _0x2e7f1d===_0x4a9f0e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2e7f1d===_0x4a9f0e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2e7f1d[_0x4a9f0e([0x74,0x68,0x65,0x6e])]===_0x4a9f0e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2e7f1d[_0x4a9f0e([0x63,0x61,0x74,0x63,0x68])]===_0x4a9f0e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d8042(_0x41a700){_0xa75745(_0x41a700)[_0x4a9f0e([0x74,0x68,0x65,0x6e])](_0xad66ce=>{if(!_0xad66ce||_0xad66ce[_0x4a9f0e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a9f0e([0x6f,0x6b]))return _0x4a9f0e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2e9e48(_0x45d849(_0x1d2672+_0x7ed2c9))!=_0xad66ce[_0x4a9f0e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a9f0e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a9f0e([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a9f0e([0x74,0x68,0x65,0x6e])](_0x30813e=>(_0x498588(),_0x30813e),()=>{const _0x500813=_0x1e9a98();return null==_0x500813?(_0x498588(),_0x4a9f0e([0x56,0x61,0x6c,0x69,0x64])):_0x4a9f0e(_0x14574b-_0x500813>(0x63ae0106^_0x27d8df)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a9f0e([0x74,0x68,0x65,0x6e])](_0xa5f10a)[_0x4a9f0e([0x63,0x61,0x74,0x63,0x68])](()=>{_0xa5f10a(_0x4a9f0e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf23e00=0x47946b86^_0x27d8df;function _0x498588(){const _0x2bcae2=_0x4a9f0e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e9e48(_0x45d849(_0x636ea)),_0x43d88c=_0x52a019(_0x2e9e48(window[_0x4a9f0e([0x4d,0x61,0x74,0x68])][_0x4a9f0e([0x63,0x65,0x69,0x6c])](_0x14574b/_0xf23e00)));window[_0x4a9f0e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a9f0e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2bcae2,_0x43d88c);}function _0x1e9a98(){const _0x54c69f=_0x4a9f0e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e9e48(_0x45d849(_0x636ea)),_0x1b8af5=window[_0x4a9f0e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a9f0e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54c69f);return _0x1b8af5?window[_0x4a9f0e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52a019(_0x1b8af5),0x10)*_0xf23e00:null;}function _0xa75745(_0x38faca){return new window[(_0x4a9f0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ebfa6,_0x1fb89d)=>{_0x38faca[_0x4a9f0e([0x74,0x68,0x65,0x6e])](_0x4ebfa6,_0x1fb89d),window[_0x4a9f0e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1fb89d,0x47a351c6^_0x27d8df);});}}_0xb1e478[_0x4a9f0e([0x6f,0x6e])](_0x4a9f0e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x130307,_0x221ed6)=>{if(_0x221ed6[0x0]!=_0x636ea)return _0xa5f10a(_0x4a9f0e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x221ed6[0x1]={..._0x221ed6[0x1],[_0x4a9f0e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d2672};},{[_0x4a9f0e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a9f0e([0x68,0x69,0x67,0x68])}),_0xb1e478[_0x4a9f0e([0x6f,0x6e])](_0x4a9f0e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3254ff=>{_0x2a7489(_0x3254ff[_0x4a9f0e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x44f438=!0x0,_0x3d8042(_0x3254ff[_0x4a9f0e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a9f0e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a9f0e([0x6c,0x6f,0x77])}),_0x3a5e28[_0x4a9f0e([0x74,0x68,0x65,0x6e])](()=>{_0x44f438||_0xa5f10a(_0x4a9f0e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x56b91e(){return _0xb1e478[_0x4a9f0e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a9f0e([0x76,0x69,0x65,0x77])][_0x4a9f0e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a9f0e([0x61,0x75,0x74,0x6f]);}function _0x222baa(){_0xb1e478[_0x4a9f0e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a9f0e([0x76,0x69,0x65,0x77])][_0x4a9f0e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a9f0e([0x61,0x75,0x74,0x6f]);}}function _0x41684d(_0x599eeb){const _0x7fb00e=[new window[(_0x4a9f0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x73971c=>setTimeout(_0x73971c,0x47abbbca^_0x27d8df)),_0x3a5e28[_0x4a9f0e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a9f0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28a61c=>{let _0x49dfe6=0x0;_0xb1e478[_0x4a9f0e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a9f0e([0x6f,0x6e])](_0x4a9f0e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2bb202,_0x32e244)=>{_0x32e244[0x0][_0x4a9f0e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x49dfe6++,_0x49dfe6==(0x47a284fe^_0x27d8df)&&(_0x28a61c(),_0x2bb202[_0x4a9f0e([0x6f,0x66,0x66])]());});}))];return window[_0x4a9f0e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a9f0e([0x72,0x61,0x63,0x65])](_0x7fb00e)[_0x4a9f0e([0x74,0x68,0x65,0x6e])](()=>_0x599eeb);}async function _0x448a89(){await _0x3a5e28,_0xb1e478[_0x4a9f0e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a9f0e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18efd5,_0xb1e478[_0x4a9f0e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a9f0e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18efd5,_0xb1e478[_0x4a9f0e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a9f0e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b2ef1(_0x591f28){const _0x5c1d1d=_0x22d2d6();_0xb1e478[_0x5c1d1d]=_0x4a9f0e([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x591f28,_0x591f28!=_0x4a9f0e([0x56,0x61,0x6c,0x69,0x64])&&_0x448a89();}function _0x22d2d6(){const _0x3adf8f=window[_0x4a9f0e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a9f0e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a9f0e([0x6e,0x6f,0x77])]())[_0x4a9f0e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a9f0e([0x2e]),'');let _0x2aef1a=_0x4a9f0e([0x75]);for(let _0x17f7e3=0x0;_0x17f7e3<_0x3adf8f[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x17f7e3+=0x2){let _0x6b0eca=window[_0x4a9f0e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3adf8f[_0x4a9f0e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x17f7e3,_0x17f7e3+0x2));_0x6b0eca>=_0x224c13[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x6b0eca-=_0x224c13[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2aef1a+=_0x224c13[_0x6b0eca];}return _0x2aef1a;}function _0x1ff96(){const _0x4dbdd4=_0x40dc15[_0x4a9f0e([0x73,0x70,0x6c,0x69,0x74])](_0x4a9f0e([0x2e]));if(0x3!=_0x4dbdd4[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4f048e(_0x4dbdd4[0x1]);function _0x4f048e(_0x563b9a){const _0xbd602a=_0x342794(_0x563b9a);return _0xbd602a&&_0x48c9f6()?_0xbd602a:null;function _0x48c9f6(){const _0x560e13=_0xbd602a[_0x4a9f0e([0x6a,0x74,0x69])],_0x3c0860=window[_0x4a9f0e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x560e13[_0x4a9f0e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x560e13[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1ea325={..._0xbd602a,[_0x4a9f0e([0x6a,0x74,0x69])]:_0x560e13[_0x4a9f0e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x560e13[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1ea325[_0x4a9f0e([0x76,0x63])],_0x45d849(_0x1ea325)==_0x3c0860;}}}async function _0x3be67f(){let _0x23d842=!0x0;try{const _0x15b5da=_0x40dc15[_0x4a9f0e([0x73,0x70,0x6c,0x69,0x74])](_0x4a9f0e([0x2e])),[_0x120791,_0x2e77fb,_0x48190f]=_0x15b5da;return _0x1dc9e7(_0x120791),await _0x1f690e(_0x120791,_0x2e77fb,_0x48190f),_0x23d842;}catch{return!0x1;}function _0x1dc9e7(_0xdb7885){const _0x920be1=_0x342794(_0xdb7885);_0x920be1&&_0x920be1[_0x4a9f0e([0x61,0x6c,0x67])]==_0x4a9f0e([0x45,0x53,0x32,0x35,0x36])||(_0x23d842=!0x1);}async function _0x1f690e(_0xdb30e9,_0x1ec287,_0x2f04a0){const _0xb5b18d=window[_0x4a9f0e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a9f0e([0x66,0x72,0x6f,0x6d])](_0x522d23(_0x2f04a0),_0x618d41=>_0x618d41[_0x4a9f0e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45407a=new window[(_0x4a9f0e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a9f0e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xdb30e9+_0x4a9f0e([0x2e])+_0x1ec287),_0x5cd628=window[_0x4a9f0e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a9f0e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5cd628)return;const _0x4e42c6=await _0x5cd628[_0x4a9f0e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a9f0e([0x6a,0x77,0x6b]),_0x174237,{[_0x4a9f0e([0x6e,0x61,0x6d,0x65])]:_0x4a9f0e([0x45,0x43,0x44,0x53,0x41]),[_0x4a9f0e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a9f0e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a9f0e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5cd628[_0x4a9f0e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a9f0e([0x6e,0x61,0x6d,0x65])]:_0x4a9f0e([0x45,0x43,0x44,0x53,0x41]),[_0x4a9f0e([0x68,0x61,0x73,0x68])]:{[_0x4a9f0e([0x6e,0x61,0x6d,0x65])]:_0x4a9f0e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e42c6,_0xb5b18d,_0x45407a)||(_0x23d842=!0x1);}}function _0x342794(_0x1d10d4){return _0x1d10d4[_0x4a9f0e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a9f0e([0x65,0x79]))?JSON[_0x4a9f0e([0x70,0x61,0x72,0x73,0x65])](_0x522d23(_0x1d10d4)):null;}function _0x522d23(_0x4b82fe){return window[_0x4a9f0e([0x61,0x74,0x6f,0x62])](_0x4b82fe[_0x4a9f0e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a9f0e([0x2b]))[_0x4a9f0e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a9f0e([0x2f])));}function _0x45d849(_0x10edee){let _0x2bc9da=0x1505;function _0x45666e(_0xa297e3){for(let _0x452e3b=0x0;_0x452e3b<_0xa297e3[_0x4a9f0e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x452e3b++){const _0x1d5c2e=_0xa297e3[_0x4a9f0e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x452e3b);_0x2bc9da=(_0x2bc9da<<0x5)+_0x2bc9da+_0x1d5c2e,_0x2bc9da&=_0x2bc9da;}}function _0x4af3c5(_0x415d2d){Array[_0x4a9f0e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x415d2d)?_0x415d2d[_0x4a9f0e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4af3c5):_0x415d2d&&typeof _0x415d2d==_0x4a9f0e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a9f0e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x415d2d)[_0x4a9f0e([0x73,0x6f,0x72,0x74])]()[_0x4a9f0e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3cb407,_0x298e16])=>{_0x45666e(_0x3cb407),_0x4af3c5(_0x298e16);}):_0x45666e(window[_0x4a9f0e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x415d2d));}return _0x4af3c5(_0x10edee),_0x2bc9da>>>0x0;}function _0x2e9e48(_0x44e26b){return _0x44e26b[_0x4a9f0e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a9f0e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a9f0e([0x30]));}function _0x52a019(_0x497594){return _0x497594[_0x4a9f0e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a9f0e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a9f0e([0x6a,0x6f,0x69,0x6e])]('');}function _0x18efd5(){}function _0x4a9f0e(_0x5eda26){return _0x5eda26['map'](_0x9282b8=>String['fromCharCode'](_0x9282b8))['join']('');}_0x5b2ef1(await _0x1a5dd4());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4f5f01){const {plugins:_0x1ac74e,editing:_0x263c36,model:_0x11c6af}=this['editor'],_0x26a5f0=_0x1ac74e['get'](_0x4b8867)['getFootnote'](_0x4f5f01);return!!_0x26a5f0&&(_0x11c6af['change'](_0x2e5635=>{_0x2e5635['setSelection'](_0x2e5635['createPositionAt'](_0x26a5f0['definition'],'end'));}),_0x263c36['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2c7cf0){const {plugins:_0xb65733,editing:_0x5d5704,model:_0x402ea4}=this['editor'],_0x4c530f=_0xb65733['get'](_0x4b8867)['getFootnote'](_0x2c7cf0);return!!_0x4c530f&&(_0x402ea4['change'](_0x1e3154=>{_0x1e3154['setSelection'](_0x4c530f['reference'],'on');}),_0x5d5704['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x38572a}=this['editor']['model'],_0x22b250=this['editor']['config']['get']('footnotes.multiBlock');_0x38572a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x38572a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x38572a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x22b250?_0x38572a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x38572a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x38572a['addChildCheck'](_0x4abdf9=>{for(const _0x15d22f of _0x4abdf9)if('footnoteDefinition'===_0x15d22f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5730d4}=this,{conversion:_0x444aa2,editing:_0x16882c}=_0x5730d4,{t:t}=_0x5730d4['locale'];_0x444aa2['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5358b6,{writer:_0xc19a71,consumable:_0xeac8fa})=>{const _0x39f34c=_0x5358b6['getChild'](0x0);if(!_0x39f34c||!_0x39f34c['is']('element','a'))return null;const _0x448922=_0x39f34c['getAttribute']('href')||'';if(!_0x448922['startsWith']('#'))return null;const _0x4c09e1=_0x448922['replace'](/^#/,'');if(!_0x4c09e1)return null;_0xeac8fa['consume'](_0x39f34c,{'name':!0x0,'attributes':['href']});for(const {item:_0x5b9bd4}of _0x16882c['view']['createRangeIn'](_0x39f34c))_0x5b9bd4['is']('$textProxy')?_0xeac8fa['consume'](_0x5b9bd4['textNode'],{'name':!0x0}):_0x5b9bd4['is']('element')&&_0xeac8fa['consume'](_0x5b9bd4,{'name':!0x0});return _0xc19a71['createElement']('footnoteRef',{'footnoteId':_0x4c09e1});}}),_0x444aa2['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4b8308,{writer:_0x2bc789})=>D(_0x4b8308,_0x2bc789)}),_0x444aa2['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xab92b6,{writer:_0x4b1bb1})=>{const _0x38b85f=_0xab92b6['getAttribute']('footnoteCounter');return _0x28b21f(D(_0xab92b6,_0x4b1bb1),_0x4b1bb1,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x38b85f)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5e8e2a}=this,{t:t}=_0x5e8e2a['locale'],{conversion:_0x42e914}=_0x5e8e2a;_0x42e914['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x42e914['for']('upcast')['add'](_0x3b7896=>{_0x3b7896['on']('element:ol',(_0x2613c7,_0x3ea5e0,_0x2916be)=>{const _0x5cf481=_0x3ea5e0['viewItem'];if(!_0x5cf481['hasClass']('footnotes-list')||!_0x3ea5e0['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2916be['consumable']['consume'](_0x5cf481,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2fb226,modelCursor:_0x3819cf}=_0x2916be['convertChildren'](_0x3ea5e0['viewItem'],_0x3ea5e0['modelCursor']);_0x3ea5e0['modelRange']=_0x2fb226,_0x3ea5e0['modelCursor']=_0x3819cf;}),_0x3b7896['on']('element:hr',(_0x58b9de,_0x80793c,_0x5ea8bc)=>{const _0x435ce2=_0x80793c['viewItem'];_0x435ce2['hasClass']('footnotes-divider')&&_0x80793c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5ea8bc['consumable']['consume'](_0x435ce2,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x42e914['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x225c62,{writer:_0x7dafde})=>v(_0x7dafde)}),_0x42e914['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xc0360b,{writer:_0xbef338})=>{const _0x360ee8=v(_0xbef338,{'data-footnotes-list-label':t('Footnotes')}),_0x5b4693=_0x28b21f(_0x360ee8,_0xbef338,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xbef338['setCustomProperty']('footnotesDefinitions',!0x0,_0x5b4693),_0x5b4693;}});}['_defineDefinitionConverters'](){const {editor:_0xa179eb}=this,{conversion:_0x254818,locale:_0x6ca729}=_0xa179eb,_0x1baa6c=_0xa179eb['config']['get']('footnotes.multiBlock');_0x254818['for']('upcast')['add'](_0x5b8904=>{_0x5b8904['on']('element:li',(_0x475217,_0x17cbff,_0x58a085)=>{const _0x3413ec=_0x17cbff['viewItem'];if(!_0x3413ec['hasClass']('footnote-definition')||!_0x3413ec['getAttribute']('id'))return;const _0x5ae6c9=_0x3413ec['parent'];if(!_0x5ae6c9['is']('element','ol')||!_0x5ae6c9['hasClass']('footnotes-list'))return;if(!_0x58a085['consumable']['test'](_0x3413ec,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xc1530e=_0x58a085['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3413ec['getAttribute']('id')});if(!_0x58a085['safeInsert'](_0xc1530e,_0x17cbff['modelCursor']))return;_0x58a085['consumable']['consume'](_0x3413ec,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4cd54a=Array['from'](_0x3413ec['getChildren']())['find'](_0x586bb1=>_0x586bb1['is']('element')&&_0x586bb1['hasClass']('footnote-content'));for(const _0x34f4d2 of _0x3413ec['getChildren']())_0x34f4d2['is']('element')&&(_0x58a085['consumable']['consume'](_0x34f4d2,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x58a085['consumable']['consume'](_0x34f4d2,{'name':!0x0,'classes':'footnote-content'}));if(_0x4cd54a){if(_0x1baa6c)_0x58a085['convertChildren'](_0x4cd54a,_0xc1530e);else{const _0x3c6d81=_0x58a085['writer']['createElement']('footnoteInlineContent');_0x58a085['writer']['insert'](_0x3c6d81,_0xc1530e),_0x58a085['convertChildren'](_0x4cd54a,_0x3c6d81);}}_0x58a085['updateConversionResult'](_0xc1530e,_0x17cbff);});}),_0x254818['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x19de47,{writer:_0x3c0e03})=>b(_0x19de47,_0x3c0e03,_0x6ca729,{'dataPipeline':!0x0})}),_0x254818['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x179406,{writer:_0x29b4a6})=>b(_0x179406,_0x29b4a6,_0x6ca729)});}['_defineBogusParagraphConverters'](){const {editor:_0x374a91}=this,{conversion:_0x5c4037}=_0x374a91;_0x374a91['config']['get']('footnotes.multiBlock')?(_0x5c4037['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x5c4037['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x374a91['model']['document'],'change:data',()=>{!function(_0x29ef02,_0x37937c){const _0xed8797=_0x29ef02['document']['differ'],_0x56926a=new Set();for(const _0x5c8a4b of _0xed8797['getChanges']()){const _0x1c6bc4='attribute'==_0x5c8a4b['type']?_0x5c8a4b['range']['start']['parent']:_0x5c8a4b['position']['parent'];_0x1c6bc4['is']('element','footnoteDefinition')&&_0x56926a['add'](_0x1c6bc4);}for(const _0x1fe4aa of _0x56926a['values']()){const _0x2ca48a=Array['from'](_0x1fe4aa['getChildren']())['filter'](_0x21d4e1=>g(_0x21d4e1,_0x37937c['mapper']));for(const _0x59a70e of _0x2ca48a)_0x37937c['reconvertItem'](_0x59a70e);}}(_0x374a91['model'],_0x374a91['editing']);})):(_0x5c4037['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x5c4037['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1fc125,{writer:_0x43d1f4})=>{const _0x7d0a96=_0x43d1f4['createContainerElement']('span');return _0x43d1f4['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x7d0a96),_0x7d0a96;}}));}['_defineKeyboardHandlers'](){const {editor:_0x45020f}=this,{editing:_0x59dc3e,t:t}=_0x45020f,_0x18ecdf=_0x45020f['model']['document']['selection'];_0x45020f['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x45020f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x59dc3e['view']['document'],'enter',(_0x3b565f,_0x5d5d53)=>{const _0xb0237d=function(_0x15d13e){const _0x15b890=_0x15d13e['getSelectedElement']();if(_0x15b890?.['is']('element','footnoteRef'))return _0x15b890;return null;}(_0x18ecdf);if(_0xb0237d){const _0x2d0214=_0xb0237d['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2d0214),_0x5d5d53['preventDefault'](),_0x3b565f['stop']();}},{'context':_0x523e8b});}['_defineClickHandlers'](){const {editor:_0x40842d}=this,{editing:_0x5dcabb}=_0x40842d;_0x40842d['editing']['view']['addObserver'](_0xa17bde),_0x40842d['editing']['view']['addObserver'](_0x129a59);let _0x540cff=!0x1;this['listenTo'](_0x5dcabb['view']['document'],'pointerdown',(_0x43a8c3,_0x5849e6)=>{const {target:_0x4e99ee}=_0x5849e6,_0x122293=_0x5dcabb['view']['document']['selection'];_0x540cff=!!(_0x4e99ee?.['is']('element','a')&&_0x4e99ee['parent']?.['is']('element','sup')&&_0x4e99ee['parent']['hasClass']('footnote'))&&_0x122293['getSelectedElement']()===_0x4e99ee['parent'];},{'priority':'high'}),this['listenTo'](_0x5dcabb['view']['document'],'click',(_0x5efd90,_0x25a098)=>{const {target:_0x55da11}=_0x25a098;if(!_0x55da11?.['is']('element','a'))return;if(_0x55da11['parent']?.['is']('element','sup')&&_0x55da11['parent']['hasClass']('footnote')&&!_0x540cff)return void _0x25a098['preventDefault']();let _0x36b33b=_0x55da11['getAttribute']('href');if(!_0x36b33b?.['startsWith']('#'))return;_0x36b33b=_0x36b33b['slice'](0x1);let _0x22c8fb=!0x1;(_0x36b33b['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x36b33b['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x36b33b))&&(_0x22c8fb=!0x0),_0x22c8fb&&(_0x25a098['preventDefault'](),_0x5efd90['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x2d157b}={}){return(_0x561300,{writer:_0x1c1ed3})=>{if(!p(_0x561300))return null;if(!_0x2d157b)return _0x1c1ed3['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x124751=_0x1c1ed3['createContainerElement']('p');return _0x1c1ed3['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x124751),_0x124751;};}function p(_0x4208a7){const {parent:_0x3b87af}=_0x4208a7;if(!_0x3b87af?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3b87af['childCount'])return!0x1;for(const _0x454a26 of _0x4208a7['getAttributeKeys']())if(!_0x454a26['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x454a26)return!0x1;return!0x0;}function g(_0x54d68f,_0x54d435){if(!_0x54d68f['is']('element','paragraph'))return!0x1;const _0x151920=_0x54d435['toViewElement'](_0x54d68f);return!!_0x151920&&p(_0x54d68f)!==_0x151920['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x34624c){return _0x523e8b(_0x34624c)&&_0x34624c['is']('containerElement')&&!!_0x34624c['getCustomProperty']('footnotesDefinitions');}function v(_0x5ab360,_0x544fad={}){const _0x2ef905=_0x5ab360['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5ea025=_0x5ab360['createContainerElement']('ol',{'class':'footnotes-list'},_0x5ab360['createSlot']());return _0x5ab360['createContainerElement']('div',{'class':'footnotes',..._0x544fad},[_0x2ef905,_0x5ea025]);}function D(_0x5f4515,_0x5df46b){const _0x295f20=_0x5f4515['getAttribute']('footnoteId'),_0x3f72de=_0x5f4515['getAttribute']('footnoteCounter'),_0x100da6=_0x5df46b['createUIElement']('a',{'href':'#'+_0x295f20},function(_0x1f913a){const _0x5e92f3=this['toDomElement'](_0x1f913a);return _0x5e92f3['textContent']=_0x3f72de,_0x5e92f3;}),_0x5c32e0=_0x5df46b['createContainerElement']('sup',{'id':'ref-'+_0x295f20,'class':'footnote'},[_0x100da6]);return _0x5c32e0['getFillerOffset']=()=>null,_0x5c32e0;}function b(_0xddca49,_0xc8f015,_0x2c7057,{dataPipeline:_0x348a1a}={}){const {t:t}=_0x2c7057,_0x2b24dd=_0xddca49['getAttribute']('footnoteId'),_0xac53f8=_0xc8f015['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2b24dd},function(_0xf850e3){const _0x4bfdfe=this['toDomElement'](_0xf850e3);return _0x4bfdfe['innerText']='^',_0x4bfdfe;}),_0x13f2d5=_0x348a1a?_0xc8f015['createContainerElement']('div',{'class':'footnote-content'}):_0x4743d1(_0xc8f015['createEditableElement']('div',{'class':'footnote-content'}),_0xc8f015,{'label':t('Footnote\x20content.')});return _0xc8f015['insert'](_0xc8f015['createPositionAt'](_0x13f2d5,0x0),_0xc8f015['createSlot']()),_0xc8f015['createContainerElement']('li',{'class':'footnote-definition','id':_0x2b24dd},[_0xac53f8,_0x13f2d5]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10ee53=_0x3fb1;(function(_0x44872f,_0x22b514){const _0x4384ea=_0x3fb1,_0x110ab0=_0x44872f();while(!![]){try{const _0x5108dd=-parseInt(_0x4384ea(0x94))/0x1*(parseInt(_0x4384ea(0xa3))/0x2)+-parseInt(_0x4384ea(0x9c))/0x3+-parseInt(_0x4384ea(0xa0))/0x4*(parseInt(_0x4384ea(0xa6))/0x5)+-parseInt(_0x4384ea(0xa5))/0x6*(-parseInt(_0x4384ea(0x92))/0x7)+parseInt(_0x4384ea(0x96))/0x8*(parseInt(_0x4384ea(0xa2))/0x9)+-parseInt(_0x4384ea(0xa1))/0xa+parseInt(_0x4384ea(0x9f))/0xb;if(_0x5108dd===_0x22b514)break;else _0x110ab0['push'](_0x110ab0['shift']());}catch(_0x2f4886){_0x110ab0['push'](_0x110ab0['shift']());}}}(_0x1f38,0x9db27));import{Command as _0x38008d}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x2fb449}from'../../footnotestracker.js';function _0x1f38(){const _0x206d99=['footnotesListStart','change','24672YRuMyD','plugins','_updateFootnotesCounters','12746052lJNeIP','95436wikHUz','3830100ngLVWA','503001MyxZlZ','4fGPOZO','get','6CYzWQX','145lnHPhs','value','setAttribute','model','execute','5090911WxIATm','isEnabled','106411zpqOyT','isInteger','8MXGFnb','refresh','getAttribute','getFootnotesDefinitionsObjectElement'];_0x1f38=function(){return _0x206d99;};return _0x1f38();}function _0x3fb1(_0x3c0070,_0x4f5481){const _0x1f3850=_0x1f38();return _0x3fb1=function(_0x3fb169,_0x3920e1){_0x3fb169=_0x3fb169-0x92;let _0xbdc414=_0x1f3850[_0x3fb169];return _0xbdc414;},_0x3fb1(_0x3c0070,_0x4f5481);}export class FootnotesStartCommand extends _0x38008d{[_0x10ee53(0x97)](){const _0x4f54f5=_0x10ee53,{editor:_0x52ad3d}=this,_0x5a7e1a=_0x52ad3d[_0x4f54f5(0x9d)][_0x4f54f5(0xa4)](_0x2fb449)[_0x4f54f5(0x99)]();this[_0x4f54f5(0x93)]=!!_0x5a7e1a,this[_0x4f54f5(0xa7)]=_0x5a7e1a?.[_0x4f54f5(0x98)](_0x4f54f5(0x9a))??null;}[_0x10ee53(0xaa)]({value:_0x2df1bd}){const _0x19523a=_0x10ee53,{editor:_0x5742ce}=this,_0x37a41e=_0x5742ce[_0x19523a(0x9d)][_0x19523a(0xa4)](_0x2fb449),_0x5868c5=_0x37a41e[_0x19523a(0x99)]();_0x5868c5&&Number[_0x19523a(0x95)](_0x2df1bd)&&_0x5742ce[_0x19523a(0xa9)][_0x19523a(0x9b)](_0x11e502=>{const _0x4fc2e6=_0x19523a;_0x11e502[_0x4fc2e6(0xa8)](_0x4fc2e6(0x9a),_0x2df1bd,_0x5868c5),_0x37a41e[_0x4fc2e6(0x9e)](_0x11e502);});}}
23
+ function _0x5940(){const _0x376484=['get','footnotesListStart','getFootnotesDefinitionsObjectElement','plugins','20588WLDAWM','591FFODQH','1089022cRqxax','model','isEnabled','30Vgqrbi','isInteger','5966iDMZSR','_updateFootnotesCounters','5747064unCgiw','600ootupV','setAttribute','73661HlLNPC','511ftrHsd','execute','1065705pmNrXe','15814557GYWLfE','6pKyOVa','value','refresh','getAttribute','change'];_0x5940=function(){return _0x376484;};return _0x5940();}const _0xd28f65=_0x1058;(function(_0x3a581b,_0x5d41bf){const _0x4354d2=_0x1058,_0xf66623=_0x3a581b();while(!![]){try{const _0x117af5=parseInt(_0x4354d2(0x1b9))/0x1*(parseInt(_0x4354d2(0x1b3))/0x2)+parseInt(_0x4354d2(0x1ad))/0x3*(-parseInt(_0x4354d2(0x1ac))/0x4)+parseInt(_0x4354d2(0x1bb))/0x5*(parseInt(_0x4354d2(0x1bd))/0x6)+-parseInt(_0x4354d2(0x1b8))/0x7*(parseInt(_0x4354d2(0x1b6))/0x8)+parseInt(_0x4354d2(0x1bc))/0x9+parseInt(_0x4354d2(0x1b1))/0xa*(-parseInt(_0x4354d2(0x1ae))/0xb)+-parseInt(_0x4354d2(0x1b5))/0xc;if(_0x117af5===_0x5d41bf)break;else _0xf66623['push'](_0xf66623['shift']());}catch(_0x44f5ca){_0xf66623['push'](_0xf66623['shift']());}}}(_0x5940,0xdf83b));function _0x1058(_0xf43c0e,_0x44a73a){const _0x59405a=_0x5940();return _0x1058=function(_0x105885,_0x3199fa){_0x105885=_0x105885-0x1a6;let _0x3bf3bd=_0x59405a[_0x105885];return _0x3bf3bd;},_0x1058(_0xf43c0e,_0x44a73a);}import{Command as _0x363641}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x981acd}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x363641{[_0xd28f65(0x1bf)](){const _0x277bf3=_0xd28f65,{editor:_0x557212}=this,_0x3b0439=_0x557212[_0x277bf3(0x1ab)][_0x277bf3(0x1a8)](_0x981acd)[_0x277bf3(0x1aa)]();this[_0x277bf3(0x1b0)]=!!_0x3b0439,this[_0x277bf3(0x1be)]=_0x3b0439?.[_0x277bf3(0x1a6)](_0x277bf3(0x1a9))??null;}[_0xd28f65(0x1ba)]({value:_0x4854e0}){const _0xbaa1d8=_0xd28f65,{editor:_0x4c4fb8}=this,_0x4fd390=_0x4c4fb8[_0xbaa1d8(0x1ab)][_0xbaa1d8(0x1a8)](_0x981acd),_0x47dc77=_0x4fd390[_0xbaa1d8(0x1aa)]();_0x47dc77&&Number[_0xbaa1d8(0x1b2)](_0x4854e0)&&_0x4c4fb8[_0xbaa1d8(0x1af)][_0xbaa1d8(0x1a7)](_0x1e9ca8=>{const _0xc47f08=_0xbaa1d8;_0x1e9ca8[_0xc47f08(0x1b7)](_0xc47f08(0x1a9),_0x4854e0,_0x47dc77),_0x4fd390[_0xc47f08(0x1b4)](_0x1e9ca8);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x59c62c=_0x4234;(function(_0x3448e3,_0x17c6f9){const _0x225cb1=_0x4234,_0x481f7e=_0x3448e3();while(!![]){try{const _0x3c5c6a=-parseInt(_0x225cb1(0xc9))/0x1+-parseInt(_0x225cb1(0xc1))/0x2+parseInt(_0x225cb1(0xc3))/0x3*(-parseInt(_0x225cb1(0xbd))/0x4)+parseInt(_0x225cb1(0xbb))/0x5*(parseInt(_0x225cb1(0xbf))/0x6)+-parseInt(_0x225cb1(0xcc))/0x7*(parseInt(_0x225cb1(0xc2))/0x8)+-parseInt(_0x225cb1(0xca))/0x9+parseInt(_0x225cb1(0xba))/0xa;if(_0x3c5c6a===_0x17c6f9)break;else _0x481f7e['push'](_0x481f7e['shift']());}catch(_0x40a7aa){_0x481f7e['push'](_0x481f7e['shift']());}}}(_0x45c2,0xb2bfd));function _0x45c2(){const _0x31c454=['getAttribute','35187530Kgixjg','125suRZLx','_updateFootnotesCounters','2272684KavEBt','value','133500rfSxfD','model','494044dmIUzv','161728LSPXdx','3gMFIXw','includes','isEnabled','getFootnotesDefinitionsObjectElement','plugins','change','988916GvqeYr','8572257duTfyr','footnotesListStyle','203xlTBle','get','refresh','setAttribute','execute'];_0x45c2=function(){return _0x31c454;};return _0x45c2();}function _0x4234(_0x1bf0d5,_0x548e9d){const _0x45c2ae=_0x45c2();return _0x4234=function(_0x4234e2,_0x289c4f){_0x4234e2=_0x4234e2-0xb6;let _0x43c677=_0x45c2ae[_0x4234e2];return _0x43c677;},_0x4234(_0x1bf0d5,_0x548e9d);}import{Command as _0xdca16f}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x5ed10e}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x261cde}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0xdca16f{[_0x59c62c(0xb6)](){const _0x31060e=_0x59c62c,{editor:_0x387969}=this,_0x400023=_0x387969[_0x31060e(0xc7)][_0x31060e(0xcd)](_0x261cde)[_0x31060e(0xc6)]();this[_0x31060e(0xc5)]=!!_0x400023,this[_0x31060e(0xbe)]=_0x400023?.[_0x31060e(0xb9)](_0x31060e(0xcb))??null;}[_0x59c62c(0xb8)]({value:_0x68b0b2}){const _0x11dfad=_0x59c62c,{editor:_0x261c31}=this,_0x153ef5=_0x261c31[_0x11dfad(0xc7)][_0x11dfad(0xcd)](_0x261cde),_0x202d5c=_0x153ef5[_0x11dfad(0xc6)]();_0x202d5c&&_0x5ed10e[_0x11dfad(0xc4)](_0x68b0b2)&&_0x261c31[_0x11dfad(0xc0)][_0x11dfad(0xc8)](_0x3381eb=>{const _0x2e2e8c=_0x11dfad;_0x3381eb[_0x2e2e8c(0xb7)](_0x2e2e8c(0xcb),_0x68b0b2,_0x202d5c),_0x153ef5[_0x2e2e8c(0xbc)](_0x3381eb);});}}
23
+ function _0x41a2(){const _0x5f4207=['footnotesListStyle','3HdNASr','includes','11nQhjlr','execute','7338596LwMvJh','1408087EOrlIm','7654520MJgPgL','39583476mgHekz','isEnabled','getFootnotesDefinitionsObjectElement','10711771EsSpNE','9CRXZzj','refresh','model','setAttribute','15615350bSBMGC','115SOTTfT','2uQeRDR','plugins','getAttribute','value','change','get','436758bmRFkn','_updateFootnotesCounters'];_0x41a2=function(){return _0x5f4207;};return _0x41a2();}const _0x75f0d2=_0x30b5;(function(_0x18c8af,_0x5e3e05){const _0x31a828=_0x30b5,_0x414e66=_0x18c8af();while(!![]){try{const _0x43f216=-parseInt(_0x31a828(0x135))/0x1*(parseInt(_0x31a828(0x127))/0x2)+-parseInt(_0x31a828(0x130))/0x3*(-parseInt(_0x31a828(0x134))/0x4)+parseInt(_0x31a828(0x126))/0x5*(parseInt(_0x31a828(0x12d))/0x6)+parseInt(_0x31a828(0x13a))/0x7+-parseInt(_0x31a828(0x136))/0x8+-parseInt(_0x31a828(0x13b))/0x9*(-parseInt(_0x31a828(0x125))/0xa)+-parseInt(_0x31a828(0x132))/0xb*(parseInt(_0x31a828(0x137))/0xc);if(_0x43f216===_0x5e3e05)break;else _0x414e66['push'](_0x414e66['shift']());}catch(_0x54c775){_0x414e66['push'](_0x414e66['shift']());}}}(_0x41a2,0xe4cbf));function _0x30b5(_0x2a8382,_0xe50bfd){const _0x41a214=_0x41a2();return _0x30b5=function(_0x30b557,_0xcf7935){_0x30b557=_0x30b557-0x125;let _0x18ed0b=_0x41a214[_0x30b557];return _0x18ed0b;},_0x30b5(_0x2a8382,_0xe50bfd);}import{Command as _0x164549}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0xc2e951}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0xa62374}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x164549{[_0x75f0d2(0x13c)](){const _0x3e6f64=_0x75f0d2,{editor:_0x4b9c8e}=this,_0xf7299e=_0x4b9c8e[_0x3e6f64(0x128)][_0x3e6f64(0x12c)](_0xa62374)[_0x3e6f64(0x139)]();this[_0x3e6f64(0x138)]=!!_0xf7299e,this[_0x3e6f64(0x12a)]=_0xf7299e?.[_0x3e6f64(0x129)](_0x3e6f64(0x12f))??null;}[_0x75f0d2(0x133)]({value:_0x3f5996}){const _0x13f1be=_0x75f0d2,{editor:_0x57e273}=this,_0x55ea0c=_0x57e273[_0x13f1be(0x128)][_0x13f1be(0x12c)](_0xa62374),_0x5a0b1b=_0x55ea0c[_0x13f1be(0x139)]();_0x5a0b1b&&_0xc2e951[_0x13f1be(0x131)](_0x3f5996)&&_0x57e273[_0x13f1be(0x13d)][_0x13f1be(0x12b)](_0x5c86a1=>{const _0x3e570e=_0x13f1be;_0x5c86a1[_0x3e570e(0x13e)](_0x3e570e(0x12f),_0x3f5996,_0x5a0b1b),_0x55ea0c[_0x3e570e(0x12e)](_0x5c86a1);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12c531=_0x6bec;function _0x5b5c(){const _0x149c65=['10XkCBrH','decimal-leading-zero','lower-latin','upper-roman','644350lZxasJ','817048sYJjCq','5164093tCqNOc','6294uuofDJ','5100375njxjBq','55932eMJkMp','2iZLyml','upper-latin','15XTRLaD','8JmrNBj','lower-roman','3300QQrQaS','2719206ajiXsC','upper-alpha','decimal','lower-alpha','8203mhzjKt'];_0x5b5c=function(){return _0x149c65;};return _0x5b5c();}function _0x6bec(_0x37772f,_0x411275){const _0x5b5cd5=_0x5b5c();return _0x6bec=function(_0x6bec38,_0x4a9e10){_0x6bec38=_0x6bec38-0x115;let _0xfd1559=_0x5b5cd5[_0x6bec38];return _0xfd1559;},_0x6bec(_0x37772f,_0x411275);}(function(_0x5e6845,_0x5d4258){const _0x54bffa=_0x6bec,_0x29cbb8=_0x5e6845();while(!![]){try{const _0x3f52a6=parseInt(_0x54bffa(0x11f))/0x1*(-parseInt(_0x54bffa(0x119))/0x2)+parseInt(_0x54bffa(0x121))/0x3*(-parseInt(_0x54bffa(0x11a))/0x4)+-parseInt(_0x54bffa(0x124))/0x5*(parseInt(_0x54bffa(0x11c))/0x6)+-parseInt(_0x54bffa(0x11d))/0x7*(-parseInt(_0x54bffa(0x122))/0x8)+-parseInt(_0x54bffa(0x125))/0x9+parseInt(_0x54bffa(0x115))/0xa*(-parseInt(_0x54bffa(0x11b))/0xb)+-parseInt(_0x54bffa(0x11e))/0xc*(-parseInt(_0x54bffa(0x129))/0xd);if(_0x3f52a6===_0x5d4258)break;else _0x29cbb8['push'](_0x29cbb8['shift']());}catch(_0x2d12ad){_0x29cbb8['push'](_0x29cbb8['shift']());}}}(_0x5b5c,0x83dd7));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x12c531(0x127),_0x12c531(0x116),_0x12c531(0x117),_0x12c531(0x120),_0x12c531(0x128),_0x12c531(0x126),_0x12c531(0x123),_0x12c531(0x118)];
23
+ const _0x29475e=_0x1407;(function(_0x28ea00,_0x4f7ec0){const _0x431935=_0x1407,_0x43585c=_0x28ea00();while(!![]){try{const _0x35dbb9=-parseInt(_0x431935(0xad))/0x1*(parseInt(_0x431935(0xa4))/0x2)+-parseInt(_0x431935(0xa7))/0x3+-parseInt(_0x431935(0xaa))/0x4*(-parseInt(_0x431935(0xa8))/0x5)+-parseInt(_0x431935(0xa0))/0x6*(parseInt(_0x431935(0x9d))/0x7)+parseInt(_0x431935(0xa5))/0x8*(-parseInt(_0x431935(0x9e))/0x9)+-parseInt(_0x431935(0xa2))/0xa*(parseInt(_0x431935(0x9f))/0xb)+parseInt(_0x431935(0xa6))/0xc*(parseInt(_0x431935(0xb0))/0xd);if(_0x35dbb9===_0x4f7ec0)break;else _0x43585c['push'](_0x43585c['shift']());}catch(_0x1b0559){_0x43585c['push'](_0x43585c['shift']());}}}(_0x408f,0x28b2c));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x29475e(0xac),_0x29475e(0xaf),_0x29475e(0xab),_0x29475e(0xa1),_0x29475e(0xae),_0x29475e(0xa3),_0x29475e(0xb1),_0x29475e(0xa9)];function _0x1407(_0x470fc8,_0x2b456e){const _0x408fd3=_0x408f();return _0x1407=function(_0x1407e0,_0x29a30a){_0x1407e0=_0x1407e0-0x9d;let _0x1a9195=_0x408fd3[_0x1407e0];return _0x1a9195;},_0x1407(_0x470fc8,_0x2b456e);}function _0x408f(){const _0x459b10=['705SlQrfk','upper-roman','6616qgrdML','lower-latin','decimal','92nbnlFT','lower-alpha','decimal-leading-zero','2752789cKHzMs','lower-roman','399Wgjgkj','981mCaRCg','609785ParPXE','8604srJPRQ','upper-latin','10uYAjyZ','upper-alpha','1744NAAVQw','168sGYDNU','12VieksR','175743GCTqGB'];_0x408f=function(){return _0x459b10;};return _0x408f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x19f393=_0x40fc;function _0x34aa(){const _0x2f6731=['lower-roman','removeAttribute','item','toUpperCase','get','plugins','find','toViewElement','list-style-type','59234200FLlSzc','decimal','removeStyle','footnotes.footnotesProperties.defaultStartIndex','footnotesListStart','_defineFormatter','pluginName','consumable','add','requires','model','mapper','attribute:footnotesListStyle:footnotesDefinitions','name','6152556jjJQIn','setAttribute','6256870jKdTUj','element:ol','editor','footnotesStart','11WKDgPJ','define','parent','viewItem','element','_defineConverters','schema','FootnotesPropertiesEditing','lower-latin','downcast','4578633ZYShic','getChildren','getAttribute','isPremiumPlugin','position','543fxEzJz','footnotesStyle','setFootnoteFormatter','floor','upper-roman','getChanges','_getDefaultStartIndex','isOfficialPlugin','writer','upper-alpha','padStart','lower-alpha','footnotesDefinitions','getItems','getStyle','max','4456809AQpayh','isNaN','hasAttribute','4ZNUfdw','_defineSchema','1338DJrHNy','nodeAfter','10102616rflFPk','init','differ','7KLnMbX','footnotesListStyle','extend','toLowerCase','decimal-leading-zero','start','hasClass','consume','checkAttribute','type','insert','_formatFootnoteListValue','parseInt','upcast','fromCharCode','_getDefaultListStyle','upper-latin','for','config','_definePostfixer','setStyle','createRangeOn','from','footnotes.footnotesProperties.defaultListStyle','_updateFootnotesCounters','document','$text','registerPostFixer','attribute:footnotesListStart:footnotesDefinitions','modelCursor','footnotes-list','commands'];_0x34aa=function(){return _0x2f6731;};return _0x34aa();}(function(_0x5ab98d,_0xb044cf){const _0x1caa3f=_0x40fc,_0xa41af4=_0x5ab98d();while(!![]){try{const _0x283223=parseInt(_0x1caa3f(0x1dd))/0x1*(parseInt(_0x1caa3f(0x1f2))/0x2)+-parseInt(_0x1caa3f(0x1ed))/0x3+parseInt(_0x1caa3f(0x1f0))/0x4*(-parseInt(_0x1caa3f(0x230))/0x5)+-parseInt(_0x1caa3f(0x22e))/0x6+parseInt(_0x1caa3f(0x1f7))/0x7*(-parseInt(_0x1caa3f(0x1f4))/0x8)+-parseInt(_0x1caa3f(0x1d8))/0x9+-parseInt(_0x1caa3f(0x220))/0xa*(-parseInt(_0x1caa3f(0x234))/0xb);if(_0x283223===_0xb044cf)break;else _0xa41af4['push'](_0xa41af4['shift']());}catch(_0x15fa25){_0xa41af4['push'](_0xa41af4['shift']());}}}(_0x34aa,0xb7c50));import{Plugin as _0x4c4d87}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x24192d}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x277a2f}from'./commands/footnotesstartcommand.js';function _0x40fc(_0xf953fd,_0x337ce5){const _0x34aafd=_0x34aa();return _0x40fc=function(_0x40fc55,_0x3c7ce4){_0x40fc55=_0x40fc55-0x1d2;let _0x49dc4d=_0x34aafd[_0x40fc55];return _0x49dc4d;},_0x40fc(_0xf953fd,_0x337ce5);}import{FootnotesTracker as _0x27e8a7}from'../footnotestracker.js';import{FootnotesEditing as _0x48c0ec}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x4c4d87{static get[_0x19f393(0x226)](){const _0x3d49c6=_0x19f393;return _0x3d49c6(0x1d5);}static get[_0x19f393(0x229)](){return[_0x48c0ec,_0x27e8a7];}static get[_0x19f393(0x1e4)](){return!0x0;}static get[_0x19f393(0x1db)](){return!0x0;}[_0x19f393(0x1f5)](){const _0x1aeae4=_0x19f393,{editor:_0x2a4358}=this;_0x2a4358[_0x1aeae4(0x209)][_0x1aeae4(0x235)](_0x1aeae4(0x20e),_0x1aeae4(0x221)),_0x2a4358[_0x1aeae4(0x209)][_0x1aeae4(0x235)](_0x1aeae4(0x223),0x1),_0x2a4358[_0x1aeae4(0x216)][_0x1aeae4(0x228)](_0x1aeae4(0x1de),new _0x24192d(_0x2a4358)),_0x2a4358[_0x1aeae4(0x216)][_0x1aeae4(0x228)](_0x1aeae4(0x233),new _0x277a2f(_0x2a4358)),this[_0x1aeae4(0x1f1)](),this[_0x1aeae4(0x1d3)](),this[_0x1aeae4(0x225)](),this[_0x1aeae4(0x20a)]();}[_0x19f393(0x1f1)](){const _0x4d00b1=_0x19f393,{editor:_0x497b2e}=this,{schema:_0x18e88c}=_0x497b2e[_0x4d00b1(0x22a)];_0x18e88c[_0x4d00b1(0x1f9)](_0x4d00b1(0x1e9),{'allowAttributes':[_0x4d00b1(0x1f8),_0x4d00b1(0x224)]});}[_0x19f393(0x1d3)](){const _0x24e1c1=_0x19f393,{editor:_0x508af0}=this,{conversion:_0x4ef0e4,model:_0x342700}=_0x508af0,{schema:_0x32ad93}=_0x342700;_0x4ef0e4[_0x24e1c1(0x208)](_0x24e1c1(0x204))[_0x24e1c1(0x228)](_0x4381e8=>{const _0x25d425=_0x24e1c1;_0x4381e8['on'](_0x25d425(0x231),(_0xcfc318,_0x4197dd,_0x5bbcd1)=>{const _0x53435c=_0x25d425,_0xa2a56d=_0x4197dd[_0x53435c(0x237)],_0x5ddce8=_0x4197dd[_0x53435c(0x214)]?.[_0x53435c(0x236)];_0xa2a56d[_0x53435c(0x1fd)](_0x53435c(0x215))&&_0x5ddce8?.['is'](_0x53435c(0x1d2),_0x53435c(0x1e9))&&(function(_0x306d09,_0x548b3a,_0xfcd827,_0x4a153e){const _0x5977b6=_0x53435c;if(!_0x4a153e[_0x5977b6(0x1ff)](_0x548b3a,_0x5977b6(0x224)))return;let _0x1bcc8a=0x1;const _0x2fdfc8=_0xfcd827[_0x5977b6(0x227)][_0x5977b6(0x1fe)](_0x306d09,{'attributes':_0x5977b6(0x1fc)});if(_0x2fdfc8){const _0x39a737=Number[_0x5977b6(0x203)](_0x306d09[_0x5977b6(0x1da)](_0x5977b6(0x1fc)),0xa);Number[_0x5977b6(0x1ee)](_0x39a737)||(_0x1bcc8a=_0x39a737);}!_0x2fdfc8&&_0x548b3a[_0x5977b6(0x1ef)](_0x5977b6(0x224))||_0xfcd827[_0x5977b6(0x1e5)][_0x5977b6(0x22f)](_0x5977b6(0x224),_0x1bcc8a,_0x548b3a);}(_0xa2a56d,_0x5ddce8,_0x5bbcd1,_0x32ad93),function(_0x3e17c8,_0x24926f,_0x4fb1fe,_0x2ae425){const _0x22b031=_0x53435c;if(!_0x2ae425[_0x22b031(0x1ff)](_0x24926f,_0x22b031(0x1f8)))return;let _0x42afce=_0x22b031(0x221),_0x58e5be=!0x1;if(_0x4fb1fe[_0x22b031(0x227)][_0x22b031(0x1fe)](_0x3e17c8,{'attributes':_0x22b031(0x200)})){const _0x322e74={0x1:_0x22b031(0x221),'a':_0x22b031(0x1e8),'A':_0x22b031(0x1e6),'i':_0x22b031(0x217),'I':_0x22b031(0x1e1)}[_0x3e17c8[_0x22b031(0x1da)](_0x22b031(0x200))];_0x322e74&&(_0x42afce=_0x322e74),_0x58e5be=!0x0;}_0x4fb1fe[_0x22b031(0x227)][_0x22b031(0x1fe)](_0x3e17c8,{'styles':_0x22b031(0x21f)})&&(_0x42afce=_0x3e17c8[_0x22b031(0x1eb)](_0x22b031(0x21f)),_0x58e5be=!0x0),!_0x58e5be&&_0x24926f[_0x22b031(0x1ef)](_0x22b031(0x1f8))||_0x4fb1fe[_0x22b031(0x1e5)][_0x22b031(0x22f)](_0x22b031(0x1f8),_0x42afce,_0x24926f);}(_0xa2a56d,_0x5ddce8,_0x5bbcd1,_0x32ad93));});}),_0x4ef0e4[_0x24e1c1(0x208)](_0x24e1c1(0x1d7))[_0x24e1c1(0x228)](_0x476498=>{const _0x57a4b4=_0x24e1c1;_0x476498['on'](_0x57a4b4(0x213),(_0x54c1a1,_0x12d5b5,_0x572e39)=>{const _0x48e292=_0x57a4b4;if(!_0x572e39[_0x48e292(0x227)][_0x48e292(0x1fe)](_0x12d5b5[_0x48e292(0x219)],_0x54c1a1[_0x48e292(0x22d)]))return;const _0x2f1a54=C(_0x12d5b5[_0x48e292(0x219)],_0x572e39[_0x48e292(0x22b)]),{attributeNewValue:_0x1d718e}=_0x12d5b5;null==_0x1d718e||0x1===_0x1d718e?_0x572e39[_0x48e292(0x1e5)][_0x48e292(0x218)](_0x48e292(0x1fc),_0x2f1a54):_0x572e39[_0x48e292(0x1e5)][_0x48e292(0x22f)](_0x48e292(0x1fc),String(_0x1d718e),_0x2f1a54);}),_0x476498['on'](_0x57a4b4(0x22c),(_0x5f4495,_0x4f698a,_0x30b100)=>{const _0x3fcc83=_0x57a4b4;if(!_0x30b100[_0x3fcc83(0x227)][_0x3fcc83(0x1fe)](_0x4f698a[_0x3fcc83(0x219)],_0x5f4495[_0x3fcc83(0x22d)]))return;const _0x404b97=C(_0x4f698a[_0x3fcc83(0x219)],_0x30b100[_0x3fcc83(0x22b)]),{attributeNewValue:_0x1ff1fc}=_0x4f698a;_0x1ff1fc&&_0x3fcc83(0x221)!==_0x1ff1fc?_0x30b100[_0x3fcc83(0x1e5)][_0x3fcc83(0x20b)](_0x3fcc83(0x21f),_0x1ff1fc,_0x404b97):_0x30b100[_0x3fcc83(0x1e5)][_0x3fcc83(0x222)](_0x3fcc83(0x21f),_0x404b97);});});}[_0x19f393(0x20a)](){const _0x17ac98=_0x19f393,{editor:_0x18c69a}=this,{model:_0x39fd66}=_0x18c69a,_0x135a47=_0x18c69a[_0x17ac98(0x21c)][_0x17ac98(0x21b)](_0x27e8a7),_0x33bf1f=this[_0x17ac98(0x206)](),_0x3a9f1f=this[_0x17ac98(0x1e3)]();_0x39fd66[_0x17ac98(0x210)][_0x17ac98(0x212)](_0x316fab=>{const _0x42e7cd=_0x17ac98,_0x798ddb=_0x39fd66[_0x42e7cd(0x210)][_0x42e7cd(0x1f6)][_0x42e7cd(0x1e2)]();let _0xf9093f=!0x1;for(const _0x1412d5 of _0x798ddb){if(_0x42e7cd(0x201)!==_0x1412d5[_0x42e7cd(0x200)]||_0x42e7cd(0x211)===_0x1412d5[_0x42e7cd(0x22d)])continue;const _0x36ecdb=_0x39fd66[_0x42e7cd(0x20c)](_0x1412d5[_0x42e7cd(0x1dc)][_0x42e7cd(0x1f3)]);for(const _0xc70236 of _0x36ecdb[_0x42e7cd(0x1ea)]())_0xc70236['is'](_0x42e7cd(0x1d2),_0x42e7cd(0x1e9))&&(!_0xc70236[_0x42e7cd(0x1ef)](_0x42e7cd(0x224))&&_0x39fd66[_0x42e7cd(0x1d4)][_0x42e7cd(0x1ff)](_0xc70236,_0x42e7cd(0x224))&&(_0x316fab[_0x42e7cd(0x22f)](_0x42e7cd(0x224),_0x3a9f1f,_0xc70236),_0xf9093f=!0x0),!_0xc70236[_0x42e7cd(0x1ef)](_0x42e7cd(0x1f8))&&_0x39fd66[_0x42e7cd(0x1d4)][_0x42e7cd(0x1ff)](_0xc70236,_0x42e7cd(0x1f8))&&(_0x316fab[_0x42e7cd(0x22f)](_0x42e7cd(0x1f8),_0x33bf1f,_0xc70236),_0xf9093f=!0x0));}return _0xf9093f&&_0x135a47[_0x42e7cd(0x20f)](_0x316fab),_0xf9093f;});}[_0x19f393(0x225)](){const _0x176b13=_0x19f393,{editor:_0x29eea7}=this;_0x29eea7[_0x176b13(0x21c)][_0x176b13(0x21b)](_0x27e8a7)[_0x176b13(0x1df)](_0xa594f0=>this[_0x176b13(0x202)](_0xa594f0));}[_0x19f393(0x206)](){const _0x177669=_0x19f393;return this[_0x177669(0x232)][_0x177669(0x209)][_0x177669(0x21b)](_0x177669(0x20e));}[_0x19f393(0x1e3)](){const _0x5e2951=_0x19f393;return this[_0x5e2951(0x232)][_0x5e2951(0x209)][_0x5e2951(0x21b)](_0x5e2951(0x223));}[_0x19f393(0x202)]({container:_0x960cc8,value:_0x50c092,digits:_0x3f561f}){const _0x3e3d0f=_0x19f393,_0x278d01=_0x960cc8[_0x3e3d0f(0x1da)](_0x3e3d0f(0x1f8)),_0x2051d7=_0x960cc8[_0x3e3d0f(0x1da)](_0x3e3d0f(0x224)),_0x111bb0=Math[_0x3e3d0f(0x1e0)](_0x50c092)+(_0x2051d7??0x1)-0x1;switch(_0x278d01){case _0x3e3d0f(0x1fb):return function(_0x35bad6,_0x4bdb51){const _0x5eade6=_0x3e3d0f;return String(_0x35bad6)[_0x5eade6(0x1e7)](_0x4bdb51,'0');}(_0x111bb0,Math[_0x3e3d0f(0x1ec)](0x2,_0x3f561f));case _0x3e3d0f(0x1e8):case _0x3e3d0f(0x1d6):return M(_0x111bb0,!0x1);case _0x3e3d0f(0x1e6):case _0x3e3d0f(0x207):return M(_0x111bb0,!0x0);case _0x3e3d0f(0x217):return V(_0x111bb0,!0x1);case _0x3e3d0f(0x1e1):return V(_0x111bb0,!0x0);default:return String(_0x111bb0);}}}function C(_0x4408b5,_0x27657f){const _0x4a81b9=_0x19f393,_0x807e8e=_0x27657f[_0x4a81b9(0x21e)](_0x4408b5);return Array[_0x4a81b9(0x20d)](_0x807e8e[_0x4a81b9(0x1d9)]())[_0x4a81b9(0x21d)](_0x3adcb9=>_0x3adcb9['is'](_0x4a81b9(0x1d2),'ol')&&_0x3adcb9[_0x4a81b9(0x1fd)](_0x4a81b9(0x215)));}function M(_0x438dba,_0x34e367){const _0x29092f=_0x19f393;let _0xd7a6a6='',_0x580aab=_0x438dba;for(;_0x580aab>0x0;){const _0x383c40=(_0x580aab-0x1)%0x1a;_0xd7a6a6=String[_0x29092f(0x205)](0x61+_0x383c40)+_0xd7a6a6,_0x580aab=Math[_0x29092f(0x1e0)]((_0x580aab-0x1)/0x1a);}return _0x34e367?_0xd7a6a6[_0x29092f(0x21a)]():_0xd7a6a6;}const N=[{'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 V(_0x3c64e0,_0x17dd9d){const _0x5eed0b=_0x19f393;let _0x108d65='',_0x2f119a=_0x3c64e0;for(const {value:_0x1bb670,numeral:_0x2641d5}of N)for(;_0x2f119a>=_0x1bb670;)_0x108d65+=_0x2641d5,_0x2f119a-=_0x1bb670;return _0x17dd9d?_0x108d65:_0x108d65[_0x5eed0b(0x1fa)]();}
23
+ const _0x23bf1e=_0x3bb7;(function(_0x252817,_0x3914c0){const _0x5e34d4=_0x3bb7,_0x48c5e1=_0x252817();while(!![]){try{const _0x5bb77f=parseInt(_0x5e34d4(0x11c))/0x1+-parseInt(_0x5e34d4(0x157))/0x2+-parseInt(_0x5e34d4(0x164))/0x3*(-parseInt(_0x5e34d4(0x168))/0x4)+-parseInt(_0x5e34d4(0x11e))/0x5+-parseInt(_0x5e34d4(0x162))/0x6+parseInt(_0x5e34d4(0x12e))/0x7+-parseInt(_0x5e34d4(0x161))/0x8*(-parseInt(_0x5e34d4(0x122))/0x9);if(_0x5bb77f===_0x3914c0)break;else _0x48c5e1['push'](_0x48c5e1['shift']());}catch(_0xfef8c){_0x48c5e1['push'](_0x48c5e1['shift']());}}}(_0xf64e,0x3f8a6));import{Plugin as _0x214ddb}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x4dcd0c}from'./commands/footnotesstylecommand.js';function _0x3bb7(_0x103d2d,_0x142088){const _0xf64e9b=_0xf64e();return _0x3bb7=function(_0x3bb7bf,_0x15bd84){_0x3bb7bf=_0x3bb7bf-0x106;let _0x26a6e2=_0xf64e9b[_0x3bb7bf];return _0x26a6e2;},_0x3bb7(_0x103d2d,_0x142088);}import{FootnotesStartCommand as _0x3449f4}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x49b8d4}from'../footnotestracker.js';import{FootnotesEditing as _0x36ea2f}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x214ddb{static get[_0x23bf1e(0x107)](){const _0x3c8c8b=_0x23bf1e;return _0x3c8c8b(0x12c);}static get[_0x23bf1e(0x123)](){return[_0x36ea2f,_0x49b8d4];}static get[_0x23bf1e(0x110)](){return!0x0;}static get[_0x23bf1e(0x13a)](){return!0x0;}[_0x23bf1e(0x13e)](){const _0x464533=_0x23bf1e,{editor:_0x50bf59}=this;_0x50bf59[_0x464533(0x152)][_0x464533(0x108)](_0x464533(0x118),_0x464533(0x124)),_0x50bf59[_0x464533(0x152)][_0x464533(0x108)](_0x464533(0x115),0x1),_0x50bf59[_0x464533(0x116)][_0x464533(0x11b)](_0x464533(0x129),new _0x4dcd0c(_0x50bf59)),_0x50bf59[_0x464533(0x116)][_0x464533(0x11b)](_0x464533(0x14a),new _0x3449f4(_0x50bf59)),this[_0x464533(0x15f)](),this[_0x464533(0x125)](),this[_0x464533(0x151)](),this[_0x464533(0x156)]();}[_0x23bf1e(0x15f)](){const _0x5b09a8=_0x23bf1e,{editor:_0x129132}=this,{schema:_0xf6b1fe}=_0x129132[_0x5b09a8(0x10e)];_0xf6b1fe[_0x5b09a8(0x165)](_0x5b09a8(0x128),{'allowAttributes':[_0x5b09a8(0x154),_0x5b09a8(0x10f)]});}[_0x23bf1e(0x125)](){const _0x1ebd71=_0x23bf1e,{editor:_0x544b5a}=this,{conversion:_0xbe17e4,model:_0x347e44}=_0x544b5a,{schema:_0xeb3a8}=_0x347e44;_0xbe17e4[_0x1ebd71(0x140)](_0x1ebd71(0x14d))[_0x1ebd71(0x11b)](_0x621d1e=>{const _0x516d8c=_0x1ebd71;_0x621d1e['on'](_0x516d8c(0x144),(_0x1bd6c9,_0xa3d110,_0x5e7097)=>{const _0x1356d7=_0x516d8c,_0x336aeb=_0xa3d110[_0x1356d7(0x158)],_0xc017c6=_0xa3d110[_0x1356d7(0x141)]?.[_0x1356d7(0x14f)];_0x336aeb[_0x1356d7(0x112)](_0x1356d7(0x10c))&&_0xc017c6?.['is'](_0x1356d7(0x13b),_0x1356d7(0x128))&&(function(_0x431529,_0x32536c,_0x3803d3,_0x26d018){const _0x4ad670=_0x1356d7;if(!_0x26d018[_0x4ad670(0x169)](_0x32536c,_0x4ad670(0x10f)))return;let _0x3544cd=0x1;const _0x4c50cc=_0x3803d3[_0x4ad670(0x134)][_0x4ad670(0x14e)](_0x431529,{'attributes':_0x4ad670(0x12a)});if(_0x4c50cc){const _0x9887fa=Number[_0x4ad670(0x133)](_0x431529[_0x4ad670(0x13f)](_0x4ad670(0x12a)),0xa);Number[_0x4ad670(0x121)](_0x9887fa)||(_0x3544cd=_0x9887fa);}!_0x4c50cc&&_0x32536c[_0x4ad670(0x15a)](_0x4ad670(0x10f))||_0x3803d3[_0x4ad670(0x119)][_0x4ad670(0x131)](_0x4ad670(0x10f),_0x3544cd,_0x32536c);}(_0x336aeb,_0xc017c6,_0x5e7097,_0xeb3a8),function(_0x304084,_0x291168,_0x5cf98f,_0x2a52af){const _0x483409=_0x1356d7;if(!_0x2a52af[_0x483409(0x169)](_0x291168,_0x483409(0x154)))return;let _0x1d349c=_0x483409(0x124),_0x334a6d=!0x1;if(_0x5cf98f[_0x483409(0x134)][_0x483409(0x14e)](_0x304084,{'attributes':_0x483409(0x15d)})){const _0x347eb7={0x1:_0x483409(0x124),'a':_0x483409(0x145),'A':_0x483409(0x159),'i':_0x483409(0x109),'I':_0x483409(0x15e)}[_0x304084[_0x483409(0x13f)](_0x483409(0x15d))];_0x347eb7&&(_0x1d349c=_0x347eb7),_0x334a6d=!0x0;}_0x5cf98f[_0x483409(0x134)][_0x483409(0x14e)](_0x304084,{'styles':_0x483409(0x10d)})&&(_0x1d349c=_0x304084[_0x483409(0x10b)](_0x483409(0x10d)),_0x334a6d=!0x0),!_0x334a6d&&_0x291168[_0x483409(0x15a)](_0x483409(0x154))||_0x5cf98f[_0x483409(0x119)][_0x483409(0x131)](_0x483409(0x154),_0x1d349c,_0x291168);}(_0x336aeb,_0xc017c6,_0x5e7097,_0xeb3a8));});}),_0xbe17e4[_0x1ebd71(0x140)](_0x1ebd71(0x13d))[_0x1ebd71(0x11b)](_0x51955d=>{const _0x414209=_0x1ebd71;_0x51955d['on'](_0x414209(0x163),(_0x17e09e,_0x2fbbd0,_0x55ae2e)=>{const _0x3419eb=_0x414209;if(!_0x55ae2e[_0x3419eb(0x134)][_0x3419eb(0x14e)](_0x2fbbd0[_0x3419eb(0x132)],_0x17e09e[_0x3419eb(0x136)]))return;const _0x569be9=M(_0x2fbbd0[_0x3419eb(0x132)],_0x55ae2e[_0x3419eb(0x120)]),{attributeNewValue:_0x558249}=_0x2fbbd0;null==_0x558249||0x1===_0x558249?_0x55ae2e[_0x3419eb(0x119)][_0x3419eb(0x117)](_0x3419eb(0x12a),_0x569be9):_0x55ae2e[_0x3419eb(0x119)][_0x3419eb(0x131)](_0x3419eb(0x12a),String(_0x558249),_0x569be9);}),_0x51955d['on'](_0x414209(0x167),(_0x5026f1,_0x3da3d0,_0x482731)=>{const _0x588ec8=_0x414209;if(!_0x482731[_0x588ec8(0x134)][_0x588ec8(0x14e)](_0x3da3d0[_0x588ec8(0x132)],_0x5026f1[_0x588ec8(0x136)]))return;const _0x305b9c=M(_0x3da3d0[_0x588ec8(0x132)],_0x482731[_0x588ec8(0x120)]),{attributeNewValue:_0x5939de}=_0x3da3d0;_0x5939de&&_0x588ec8(0x124)!==_0x5939de?_0x482731[_0x588ec8(0x119)][_0x588ec8(0x139)](_0x588ec8(0x10d),_0x5939de,_0x305b9c):_0x482731[_0x588ec8(0x119)][_0x588ec8(0x148)](_0x588ec8(0x10d),_0x305b9c);});});}[_0x23bf1e(0x156)](){const _0x57ea7f=_0x23bf1e,{editor:_0x4b3a58}=this,{model:_0x1b3f83}=_0x4b3a58,_0x177f34=_0x4b3a58[_0x57ea7f(0x149)][_0x57ea7f(0x160)](_0x49b8d4),_0x1fc310=this[_0x57ea7f(0x146)](),_0x4aaa75=this[_0x57ea7f(0x12f)]();_0x1b3f83[_0x57ea7f(0x113)][_0x57ea7f(0x14c)](_0x5c4866=>{const _0x5c510c=_0x57ea7f,_0x13672e=_0x1b3f83[_0x5c510c(0x113)][_0x5c510c(0x11a)][_0x5c510c(0x143)]();let _0x580ca9=!0x1;for(const _0x34e715 of _0x13672e){if(_0x5c510c(0x138)!==_0x34e715[_0x5c510c(0x15d)]||_0x5c510c(0x166)===_0x34e715[_0x5c510c(0x136)])continue;const _0x55bff5=_0x1b3f83[_0x5c510c(0x150)](_0x34e715[_0x5c510c(0x12b)][_0x5c510c(0x142)]);for(const _0x12749b of _0x55bff5[_0x5c510c(0x126)]())_0x12749b['is'](_0x5c510c(0x13b),_0x5c510c(0x128))&&(!_0x12749b[_0x5c510c(0x15a)](_0x5c510c(0x10f))&&_0x1b3f83[_0x5c510c(0x111)][_0x5c510c(0x169)](_0x12749b,_0x5c510c(0x10f))&&(_0x5c4866[_0x5c510c(0x131)](_0x5c510c(0x10f),_0x4aaa75,_0x12749b),_0x580ca9=!0x0),!_0x12749b[_0x5c510c(0x15a)](_0x5c510c(0x154))&&_0x1b3f83[_0x5c510c(0x111)][_0x5c510c(0x169)](_0x12749b,_0x5c510c(0x154))&&(_0x5c4866[_0x5c510c(0x131)](_0x5c510c(0x154),_0x1fc310,_0x12749b),_0x580ca9=!0x0));}return _0x580ca9&&_0x177f34[_0x5c510c(0x135)](_0x5c4866),_0x580ca9;});}[_0x23bf1e(0x151)](){const _0x28a73d=_0x23bf1e,{editor:_0xe6ba5}=this;_0xe6ba5[_0x28a73d(0x149)][_0x28a73d(0x160)](_0x49b8d4)[_0x28a73d(0x153)](_0x48164e=>this[_0x28a73d(0x130)](_0x48164e));}[_0x23bf1e(0x146)](){const _0x19e063=_0x23bf1e;return this[_0x19e063(0x13c)][_0x19e063(0x152)][_0x19e063(0x160)](_0x19e063(0x118));}[_0x23bf1e(0x12f)](){const _0x21a87a=_0x23bf1e;return this[_0x21a87a(0x13c)][_0x21a87a(0x152)][_0x21a87a(0x160)](_0x21a87a(0x115));}[_0x23bf1e(0x130)]({container:_0x43f319,value:_0x2dfd99,digits:_0x41677d}){const _0x2104aa=_0x23bf1e,_0x1ed5fd=_0x43f319[_0x2104aa(0x13f)](_0x2104aa(0x154)),_0x52c6fd=_0x43f319[_0x2104aa(0x13f)](_0x2104aa(0x10f)),_0x20c7ab=Math[_0x2104aa(0x137)](_0x2dfd99)+(_0x52c6fd??0x1)-0x1;switch(_0x1ed5fd){case _0x2104aa(0x15b):return function(_0x215b84,_0x294205){const _0x187a62=_0x2104aa;return String(_0x215b84)[_0x187a62(0x10a)](_0x294205,'0');}(_0x20c7ab,Math[_0x2104aa(0x147)](0x2,_0x41677d));case _0x2104aa(0x145):case _0x2104aa(0x11d):return N(_0x20c7ab,!0x1);case _0x2104aa(0x159):case _0x2104aa(0x114):return N(_0x20c7ab,!0x0);case _0x2104aa(0x109):return X(_0x20c7ab,!0x1);case _0x2104aa(0x15e):return X(_0x20c7ab,!0x0);default:return String(_0x20c7ab);}}}function M(_0xd297ec,_0x86c46d){const _0xd96d7a=_0x23bf1e,_0x41eeab=_0x86c46d[_0xd96d7a(0x11f)](_0xd297ec);return Array[_0xd96d7a(0x106)](_0x41eeab[_0xd96d7a(0x127)]())[_0xd96d7a(0x155)](_0x82c872=>_0x82c872['is'](_0xd96d7a(0x13b),'ol')&&_0x82c872[_0xd96d7a(0x112)](_0xd96d7a(0x10c)));}function N(_0x5803ae,_0x3ef491){const _0x582a95=_0x23bf1e;let _0x13028f='',_0x4a12f1=_0x5803ae;for(;_0x4a12f1>0x0;){const _0x2bd598=(_0x4a12f1-0x1)%0x1a;_0x13028f=String[_0x582a95(0x14b)](0x61+_0x2bd598)+_0x13028f,_0x4a12f1=Math[_0x582a95(0x137)]((_0x4a12f1-0x1)/0x1a);}return _0x3ef491?_0x13028f[_0x582a95(0x12d)]():_0x13028f;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function _0xf64e(){const _0x4f0a09=['padStart','getStyle','footnotes-list','list-style-type','model','footnotesListStart','isOfficialPlugin','schema','hasClass','document','upper-latin','footnotes.footnotesProperties.defaultStartIndex','commands','removeAttribute','footnotes.footnotesProperties.defaultListStyle','writer','differ','add','156252ibrRBJ','lower-latin','857835VwqmBQ','toViewElement','mapper','isNaN','36asadGd','requires','decimal','_defineConverters','getItems','getChildren','footnotesDefinitions','footnotesStyle','start','position','FootnotesPropertiesEditing','toUpperCase','392609Ofidbo','_getDefaultStartIndex','_formatFootnoteListValue','setAttribute','item','parseInt','consumable','_updateFootnotesCounters','name','floor','insert','setStyle','isPremiumPlugin','element','editor','downcast','init','getAttribute','for','modelCursor','nodeAfter','getChanges','element:ol','lower-alpha','_getDefaultListStyle','max','removeStyle','plugins','footnotesStart','fromCharCode','registerPostFixer','upcast','consume','parent','createRangeOn','_defineFormatter','config','setFootnoteFormatter','footnotesListStyle','find','_definePostfixer','584922YkmgCO','viewItem','upper-alpha','hasAttribute','decimal-leading-zero','toLowerCase','type','upper-roman','_defineSchema','get','1528104PyLjKb','2161296UwoKtp','attribute:footnotesListStart:footnotesDefinitions','324345dkjkTc','extend','$text','attribute:footnotesListStyle:footnotesDefinitions','4OkVomD','checkAttribute','from','pluginName','define','lower-roman'];_0xf64e=function(){return _0x4f0a09;};return _0xf64e();}function X(_0x4dc84f,_0x29c0c4){const _0x26768e=_0x23bf1e;let _0x43591e='',_0x1af56d=_0x4dc84f;for(const {value:_0x582598,numeral:_0x46c0df}of V)for(;_0x1af56d>=_0x582598;)_0x43591e+=_0x46c0df,_0x1af56d-=_0x582598;return _0x29c0c4?_0x43591e:_0x43591e[_0x26768e(0x15c)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x5e160f,ButtonView as _0x504019,ContextualBalloon as _0x1fca92,createDropdown as _0x1fced2}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4db114}from'ckeditor5/src/widget.js';import{Plugin as _0x3f3971}from'ckeditor5/src/core.js';import{IconFootnote as _0x4fe175,IconListStyleDecimal as _0xf8d791,IconListStyleDecimalLeadingZero as _0x43c49d,IconListStyleLowerLatin as _0x24bdbc,IconListStyleLowerRoman as _0x2888eb,IconListStyleUpperLatin as _0x53ab9a,IconListStyleUpperRoman as _0x5622c1}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x221d5d}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0xce5d7a}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x3f3971{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1fca92,_0x4db114];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5962f2}=this,{componentFactory:_0x56c401}=_0x5962f2['ui'];_0x5962f2['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x56c401['add']('footnotesStyle',function(_0x57e1e7){return _0x740cee=>{const {t:t}=_0x740cee,_0x320c65=_0x57e1e7['commands']['get']('footnotesStyle'),_0x200287=_0x1fced2(_0x740cee),{buttonView:_0x58603e}=_0x200287;return _0x200287['class']='ck-footnotes-styles-dropdown',_0x200287['bind']('isEnabled')['to'](_0x320c65,'isEnabled'),_0x58603e['set']({'label':t('Footnotes\x20style'),'icon':_0x4fe175,'tooltip':!0x0}),_0x200287['once']('change:isOpen',()=>{const _0x11eb00=function({editor:_0x5561cd,dropdownView:_0x556fa4}){const {t:t}=_0x5561cd['locale'],_0x30a266=t('Footnotes\x20definitions\x20styles'),_0x1ccd2c=function(_0x2b6e01){const t=_0x2b6e01['locale']['t'],_0x2c1761=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xf8d791},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x43c49d},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2888eb},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x5622c1},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x24bdbc},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x53ab9a}];return _0x2c1761['map'](function(_0x3a21b3){const _0x44380e=_0x3a21b3['locale'];return({label:_0x4d56e9,icon:_0x4352c3,tooltip:_0x307bc2,style:_0x1e943a})=>{const _0x5c93c8=_0x3a21b3['commands']['get']('footnotesStyle'),_0x4f1d42=new _0x504019(_0x44380e);return _0x4f1d42['set']({'label':_0x4d56e9,'icon':_0x4352c3,'tooltip':_0x307bc2}),_0x4f1d42['bind']('isOn')['to'](_0x5c93c8,'value',_0x2c7d1d=>_0x2c7d1d===_0x1e943a),_0x4f1d42['bind']('isEnabled')['to'](_0x5c93c8,'isEnabled'),_0x4f1d42['on']('execute',()=>{_0x3a21b3['execute']('footnotesStyle',{'value':_0x1e943a}),_0x3a21b3['editing']['view']['focus']();}),_0x4f1d42;};}(_0x2b6e01));}(_0x5561cd),_0x578075=new _0x221d5d(_0x5561cd['locale'],{'styleGridAriaLabel':_0x30a266,'styleButtonViews':_0x1ccd2c});return _0x578075['delegate']('execute')['to'](_0x556fa4),_0x578075['on']('footnotesListStart',(_0x48e4fd,_0x39e1c6)=>{_0x5561cd['execute']('footnotesStart',{'value':_0x39e1c6['startIndex']});}),_0x578075;}({'editor':_0x57e1e7,'dropdownView':_0x200287});_0x200287['panelView']['children']['add'](_0x11eb00);}),_0x200287;};}(_0x5962f2));}['afterInit'](){const {editor:_0x255c5e}=this,{t:t}=_0x255c5e['locale'],_0x2169c5=_0x255c5e['plugins']['get'](_0x4db114),{defaultPositions:_0x15fc8d}=_0x5e160f;_0x2169c5['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x255c5e['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x88b6f1=>{let _0x5599ce=_0x88b6f1['getFirstPosition']()?.['parent'];return _0x5599ce?.['is']('$text')&&(_0x5599ce=_0x5599ce['parent']),_0x5599ce?.['is']('element')?_0x5599ce['findAncestor'](_0xce5d7a):null;},'positions':[_0x15fc8d['southArrowNorth'],_0x15fc8d['southArrowNorthMiddleWest'],_0x15fc8d['southArrowNorthMiddleEast'],_0x15fc8d['southArrowNorthWest'],_0x15fc8d['southArrowNorthEast'],_0x15fc8d['northArrowSouth'],_0x15fc8d['northArrowSouthMiddleWest'],_0x15fc8d['northArrowSouthMiddleEast'],_0x15fc8d['northArrowSouthWest'],_0x15fc8d['northArrowSouthEast'],_0x15fc8d['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x576600,ButtonView as _0x23a2e7,ContextualBalloon as _0x564135,createDropdown as _0x788d30}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x55f999}from'ckeditor5/src/widget.js';import{Plugin as _0x24384b}from'ckeditor5/src/core.js';import{IconFootnote as _0x22d97a,IconListStyleDecimal as _0x3897ef,IconListStyleDecimalLeadingZero as _0x515084,IconListStyleLowerLatin as _0x3797ba,IconListStyleLowerRoman as _0x2da08b,IconListStyleUpperLatin as _0x58a175,IconListStyleUpperRoman as _0x4fa757}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x7e5c1f}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x4b1f52}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x24384b{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x564135,_0x55f999];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x23133e}=this,{componentFactory:_0x2b5f20}=_0x23133e['ui'];_0x23133e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2b5f20['add']('footnotesStyle',function(_0x254e3d){return _0x4a7bd9=>{const {t:t}=_0x4a7bd9,_0x5e763a=_0x254e3d['commands']['get']('footnotesStyle'),_0x2004b7=_0x788d30(_0x4a7bd9),{buttonView:_0x3c5227}=_0x2004b7;return _0x2004b7['class']='ck-footnotes-styles-dropdown',_0x2004b7['bind']('isEnabled')['to'](_0x5e763a,'isEnabled'),_0x3c5227['set']({'label':t('Footnotes\x20style'),'icon':_0x22d97a,'tooltip':!0x0}),_0x2004b7['once']('change:isOpen',()=>{const _0x57efeb=function({editor:_0x5a05df,dropdownView:_0x4bde04}){const {t:t}=_0x5a05df['locale'],_0x16dce7=t('Footnotes\x20definitions\x20styles'),_0x5f45fa=function(_0x3c1ee6){const t=_0x3c1ee6['locale']['t'],_0x2f8f5f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3897ef},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x515084},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2da08b},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4fa757},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3797ba},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x58a175}];return _0x2f8f5f['map'](function(_0x10014b){const _0x388b27=_0x10014b['locale'];return({label:_0x428f24,icon:_0xfb62ad,tooltip:_0x428d18,style:_0x50f0fb})=>{const _0x7bcc79=_0x10014b['commands']['get']('footnotesStyle'),_0x4d4317=new _0x23a2e7(_0x388b27);return _0x4d4317['set']({'label':_0x428f24,'icon':_0xfb62ad,'tooltip':_0x428d18}),_0x4d4317['bind']('isOn')['to'](_0x7bcc79,'value',_0x41bb2c=>_0x41bb2c===_0x50f0fb),_0x4d4317['bind']('isEnabled')['to'](_0x7bcc79,'isEnabled'),_0x4d4317['on']('execute',()=>{_0x10014b['execute']('footnotesStyle',{'value':_0x50f0fb}),_0x10014b['editing']['view']['focus']();}),_0x4d4317;};}(_0x3c1ee6));}(_0x5a05df),_0x3e85ed=new _0x7e5c1f(_0x5a05df['locale'],{'styleGridAriaLabel':_0x16dce7,'styleButtonViews':_0x5f45fa});return _0x3e85ed['delegate']('execute')['to'](_0x4bde04),_0x3e85ed['on']('footnotesListStart',(_0x9a9875,_0x4c3804)=>{_0x5a05df['execute']('footnotesStart',{'value':_0x4c3804['startIndex']});}),_0x3e85ed;}({'editor':_0x254e3d,'dropdownView':_0x2004b7});_0x2004b7['panelView']['children']['add'](_0x57efeb);}),_0x2004b7;};}(_0x23133e));}['afterInit'](){const {editor:_0x234712}=this,{t:t}=_0x234712['locale'],_0x1b9a25=_0x234712['plugins']['get'](_0x55f999),{defaultPositions:_0x42d1bc}=_0x576600;_0x1b9a25['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x234712['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x57c72b=>{let _0x4f3ca7=_0x57c72b['getFirstPosition']()?.['parent'];return _0x4f3ca7?.['is']('$text')&&(_0x4f3ca7=_0x4f3ca7['parent']),_0x4f3ca7?.['is']('element')?_0x4f3ca7['findAncestor'](_0x4b1f52):null;},'positions':[_0x42d1bc['southArrowNorth'],_0x42d1bc['southArrowNorthMiddleWest'],_0x42d1bc['southArrowNorthMiddleEast'],_0x42d1bc['southArrowNorthWest'],_0x42d1bc['southArrowNorthEast'],_0x42d1bc['northArrowSouth'],_0x42d1bc['northArrowSouthMiddleWest'],_0x42d1bc['northArrowSouthMiddleEast'],_0x42d1bc['northArrowSouthWest'],_0x42d1bc['northArrowSouthEast'],_0x42d1bc['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x26c248,View as _0x1c4ba4,ViewCollection as _0x5d6d81,FocusCycler as _0x7a7f23,addKeyboardHandlingForGrid as _0x4d8710,CollapsibleView as _0x123a8f,LabeledFieldView as tt,createLabeledInputNumber as st}from'ckeditor5/src/ui.js';import{FocusTracker as it,KeystrokeHandler as et,global as ot}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x1c4ba4{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new it();['keystrokes']=new et();['focusables']=new _0x5d6d81();['focusCycler'];constructor(_0x2720a6,{styleButtonViews:_0x33f7ce,styleGridAriaLabel:_0x40272b}){super(_0x2720a6),(this['focusCycler']=new _0x7a7f23({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x33f7ce,_0x40272b),[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 _0x10b548 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x10b548['element']);_0x4d8710({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>ot['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 _0x2fb431=_0x1b1c58=>_0x1b1c58['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2fb431),this['keystrokes']['set']('arrowleft',_0x2fb431),this['keystrokes']['set']('arrowup',_0x2fb431),this['keystrokes']['set']('arrowdown',_0x2fb431);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x208a62,_0x104fd7){const _0x40a163=new _0x1c4ba4(this['locale']);return _0x40a163['children']=_0x40a163['createCollection'](),_0x40a163['children']['addMany'](_0x208a62),_0x40a163['setTemplate']({'tag':'div','attributes':{'aria-label':_0x104fd7,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x40a163['children']}),_0x40a163['children']['delegate']('execute')['to'](this),_0x40a163['focus']=function(){for(const _0x494a7a of this['children'])if(_0x494a7a instanceof _0x26c248&&_0x494a7a['isOn'])return void _0x494a7a['focus']();this['children']['first']['focus']();},_0x40a163['focusTracker']=new it(),_0x40a163['keystrokes']=new et(),_0x40a163['render'](),_0x40a163['keystrokes']['listenTo'](_0x40a163['element']),this['children']['add'](_0x40a163),_0x40a163;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x157068=this['_createStartIndexPropertyView'](),_0x176ef6=[_0x157068],_0x2649cb=new _0x123a8f(this['locale'],_0x176ef6);return _0x2649cb['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2649cb['buttonView']['bind']('isEnabled')['toMany'](_0x176ef6,'isEnabled',(..._0x3300b7)=>_0x3300b7['some'](_0x344ea1=>_0x344ea1)),_0x2649cb['buttonView']['on']('change:isEnabled',(_0x434f41,_0x30484a,_0x433c60)=>{_0x433c60||(_0x2649cb['isCollapsed']=!0x0);}),this['children']['add'](_0x2649cb),[_0x157068,_0x2649cb];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x55e231=new tt(this['locale'],st);return _0x55e231['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x55e231['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x55e231['fieldView']['on']('input',()=>{const _0x267afe=_0x55e231['fieldView']['element'],_0x2b099c=_0x267afe['valueAsNumber'];Number['isNaN'](_0x2b099c)?_0x55e231['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x267afe['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2b099c}):_0x55e231['errorText']=t(_0x2b099c<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x55e231;}}
23
+ import{ButtonView as _0xddfa7c,View as _0x3f7c29,ViewCollection as _0x5105cc,FocusCycler as _0x5e2f59,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x3f7c29{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x5105cc();['focusCycler'];constructor(_0x4d57b3,{styleButtonViews:_0x218627,styleGridAriaLabel:_0x1c781e}){super(_0x4d57b3),(this['focusCycler']=new _0x5e2f59({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x218627,_0x1c781e),[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 _0x1ff620 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1ff620['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x2b6a27=_0x18ce08=>_0x18ce08['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2b6a27),this['keystrokes']['set']('arrowleft',_0x2b6a27),this['keystrokes']['set']('arrowup',_0x2b6a27),this['keystrokes']['set']('arrowdown',_0x2b6a27);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x47928f,_0x3a9507){const _0x49b830=new _0x3f7c29(this['locale']);return _0x49b830['children']=_0x49b830['createCollection'](),_0x49b830['children']['addMany'](_0x47928f),_0x49b830['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3a9507,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x49b830['children']}),_0x49b830['children']['delegate']('execute')['to'](this),_0x49b830['focus']=function(){for(const _0x4ba2ea of this['children'])if(_0x4ba2ea instanceof _0xddfa7c&&_0x4ba2ea['isOn'])return void _0x4ba2ea['focus']();this['children']['first']['focus']();},_0x49b830['focusTracker']=new ot(),_0x49b830['keystrokes']=new rt(),_0x49b830['render'](),_0x49b830['keystrokes']['listenTo'](_0x49b830['element']),this['children']['add'](_0x49b830),_0x49b830;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x115236=this['_createStartIndexPropertyView'](),_0x499742=[_0x115236],_0x51e6db=new st(this['locale'],_0x499742);return _0x51e6db['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x51e6db['buttonView']['bind']('isEnabled')['toMany'](_0x499742,'isEnabled',(..._0x4917eb)=>_0x4917eb['some'](_0x46e8ce=>_0x46e8ce)),_0x51e6db['buttonView']['on']('change:isEnabled',(_0x229d7d,_0x496c23,_0x5a54ab)=>{_0x5a54ab||(_0x51e6db['isCollapsed']=!0x0);}),this['children']['add'](_0x51e6db),[_0x115236,_0x51e6db];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5cb83a=new it(this['locale'],et);return _0x5cb83a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5cb83a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5cb83a['fieldView']['on']('input',()=>{const _0x3c6076=_0x5cb83a['fieldView']['element'],_0x5da5fd=_0x3c6076['valueAsNumber'];Number['isNaN'](_0x5da5fd)?_0x5cb83a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3c6076['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5da5fd}):_0x5cb83a['errorText']=t(_0x5da5fd<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5cb83a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x42cc61=_0x4027;function _0x4027(_0x53dae8,_0x3398ee){var _0x50b78d=_0x50b7();return _0x4027=function(_0x402731,_0x3f1728){_0x402731=_0x402731-0x79;var _0x599620=_0x50b78d[_0x402731];return _0x599620;},_0x4027(_0x53dae8,_0x3398ee);}(function(_0x1a834f,_0x30afc7){var _0x49f394=_0x4027,_0x17d87d=_0x1a834f();while(!![]){try{var _0x50e4df=-parseInt(_0x49f394(0x7f))/0x1*(-parseInt(_0x49f394(0x87))/0x2)+-parseInt(_0x49f394(0x81))/0x3*(-parseInt(_0x49f394(0x85))/0x4)+-parseInt(_0x49f394(0x7b))/0x5+parseInt(_0x49f394(0x7c))/0x6+parseInt(_0x49f394(0x82))/0x7+parseInt(_0x49f394(0x84))/0x8*(parseInt(_0x49f394(0x80))/0x9)+parseInt(_0x49f394(0x7d))/0xa*(-parseInt(_0x49f394(0x7a))/0xb);if(_0x50e4df===_0x30afc7)break;else _0x17d87d['push'](_0x17d87d['shift']());}catch(_0x1bea8b){_0x17d87d['push'](_0x17d87d['shift']());}}}(_0x50b7,0x2ac14));import{Plugin as _0x1eb1d4}from'ckeditor5/src/core.js';function _0x50b7(){var _0xbae19f=['6xbtAyF','1281385tfdIhu','FootnotesProperties','132560opNGVb','429868lIsepA','pluginName','306626qdsybY','isOfficialPlugin','isPremiumPlugin','2439206QWORZi','796450sjqfGR','1670802PNWLJQ','30iBuqbp','requires','2jEjzon','9cmAtxf'];_0x50b7=function(){return _0xbae19f;};return _0x50b7();}import{FootnotesPropertiesEditing as _0x23c881}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3c67d0}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x1eb1d4{static get[_0x42cc61(0x86)](){var _0x11ce30=_0x42cc61;return _0x11ce30(0x83);}static get[_0x42cc61(0x7e)](){return[_0x23c881,_0x3c67d0];}static get[_0x42cc61(0x88)](){return!0x0;}static get[_0x42cc61(0x79)](){return!0x0;}}
23
+ var _0x3c82be=_0x5aed;(function(_0x1c618c,_0x57119d){var _0x45427a=_0x5aed,_0x30d18b=_0x1c618c();while(!![]){try{var _0x1df922=-parseInt(_0x45427a(0x167))/0x1*(-parseInt(_0x45427a(0x166))/0x2)+parseInt(_0x45427a(0x165))/0x3+-parseInt(_0x45427a(0x162))/0x4+-parseInt(_0x45427a(0x15f))/0x5+-parseInt(_0x45427a(0x163))/0x6*(parseInt(_0x45427a(0x15c))/0x7)+-parseInt(_0x45427a(0x15d))/0x8+parseInt(_0x45427a(0x15a))/0x9;if(_0x1df922===_0x57119d)break;else _0x30d18b['push'](_0x30d18b['shift']());}catch(_0x691d6f){_0x30d18b['push'](_0x30d18b['shift']());}}}(_0x4b42,0x61842));function _0x5aed(_0xcf011,_0x11c73f){var _0x4b42e7=_0x4b42();return _0x5aed=function(_0x5aed01,_0x26e6f8){_0x5aed01=_0x5aed01-0x15a;var _0x17f191=_0x4b42e7[_0x5aed01];return _0x17f191;},_0x5aed(_0xcf011,_0x11c73f);}import{Plugin as _0x32be76}from'ckeditor5/src/core.js';function _0x4b42(){var _0x54b5b1=['1714NgqKwA','905kSqyWg','13293351UfMdqK','pluginName','3241cliZOU','1278448DgodmT','FootnotesProperties','3986700sGNjQs','isPremiumPlugin','requires','2138548LDJyKU','8178weiwUR','isOfficialPlugin','808962DRjedG'];_0x4b42=function(){return _0x54b5b1;};return _0x4b42();}import{FootnotesPropertiesEditing as _0x2f287b}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x435345}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x32be76{static get[_0x3c82be(0x15b)](){var _0x29bcbc=_0x3c82be;return _0x29bcbc(0x15e);}static get[_0x3c82be(0x161)](){return[_0x2f287b,_0x435345];}static get[_0x3c82be(0x164)](){return!0x0;}static get[_0x3c82be(0x160)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x264e09=_0x54c2;(function(_0x583d51,_0x4cb8a4){const _0x23ea0d=_0x54c2,_0x245f65=_0x583d51();while(!![]){try{const _0x372840=parseInt(_0x23ea0d(0x187))/0x1+parseInt(_0x23ea0d(0x16e))/0x2+-parseInt(_0x23ea0d(0x16c))/0x3*(-parseInt(_0x23ea0d(0x162))/0x4)+-parseInt(_0x23ea0d(0x196))/0x5*(parseInt(_0x23ea0d(0x13d))/0x6)+-parseInt(_0x23ea0d(0x157))/0x7*(parseInt(_0x23ea0d(0x19e))/0x8)+parseInt(_0x23ea0d(0x13f))/0x9*(parseInt(_0x23ea0d(0x18e))/0xa)+-parseInt(_0x23ea0d(0x185))/0xb;if(_0x372840===_0x4cb8a4)break;else _0x245f65['push'](_0x245f65['shift']());}catch(_0x1291bb){_0x245f65['push'](_0x245f65['shift']());}}}(_0x5f34,0xa40a9));import{Plugin as _0x29462a}from'ckeditor5/src/core.js';function _0x5f34(){const _0x29d031=['footnotesDefinitions','_handleFootnoteReferencesChanges','_updateFootnotesCounters','move','_handleFootnotesDefinitionsObjectSync','10GKlxZx','length','reset','_ensureFootnotesDefinitionsContainerExists','enqueueChange','from','pluginName','after','321176wkzKYB','isOfficialPlugin','_handleRemoveFootnoteReferenceById','getFootnote','createRangeOn','2056908qkqYaE','_handleFootnotesDefinitionsObjectChanges','12002229YruRbw','definition','init','createElement','getFootnotes','parent','add','_footnoteRefsTracker','_footnotes','footnoteId','_updateFootnoteRefCounter','document','getFootnotesDefinitionsObjectElement','_footnoteDefsTracker','_insertEmptyFootnotesDefinitionsContainer','footnoteRef','before','has','unshift','getChildren','end','footnotes.multiBlock','splice','setAttribute','161hJAKFO','_footnoteDefsContainerTracker','footnoteInlineContent','indexOf','getFootnotesFormatter','getChanges','$graveyard','push','editor','setFootnoteFormatter','_footnoteFormatter','1823572rphjKU','footnoteCounter','listenTo','append','createPositionBefore','map','insert','differ','config','rootName','3BmuXEU','findIndex','1660868CpIIJV','root','some','min','paragraph','remove','isPremiumPlugin','getRootNames','getAttribute','find','childCount','_footnotesDefinitions','get','_sortFootnoteDefinitions','low','FootnotesTracker','_handleMovedFootnoteReference','_handleFootnoteDefinitionsChanges','isEqual','registerPostFixer','change:data','_ensureFootnotesReferencesHaveProperOrder','createRangeIn','17521878BLRGXu','model','1253920GMscTh','high','createPositionAt','set','compareWith','footnoteDefinition','_handleInsertedFootnoteReference','10ZFZvNR','reference','singleton'];_0x5f34=function(){return _0x29d031;};return _0x5f34();}import{ModelElementTracker as _0x9b9285}from'./modelelementtracker.js';export class FootnotesTracker extends _0x29462a{[_0x264e09(0x147)]=[];[_0x264e09(0x179)]=null;[_0x264e09(0x161)]=null;[_0x264e09(0x158)];[_0x264e09(0x146)];[_0x264e09(0x14c)];static get[_0x264e09(0x19c)](){const _0x3fab5a=_0x264e09;return _0x3fab5a(0x17d);}static get[_0x264e09(0x19f)](){return!0x0;}static get[_0x264e09(0x174)](){return!0x0;}constructor(_0x42a23b){const _0x15d6f1=_0x264e09;super(_0x42a23b),this[_0x15d6f1(0x158)]=new _0x9b9285(this[_0x15d6f1(0x15f)][_0x15d6f1(0x186)],{'elementName':_0x15d6f1(0x191),'getElementKey':()=>_0x15d6f1(0x190)}),this[_0x15d6f1(0x146)]=new _0x9b9285(this[_0x15d6f1(0x15f)][_0x15d6f1(0x186)],{'elementName':_0x15d6f1(0x14e),'getElementKey':_0x2c576e=>_0x2c576e[_0x15d6f1(0x176)](_0x15d6f1(0x148))}),this[_0x15d6f1(0x14c)]=new _0x9b9285(this[_0x15d6f1(0x15f)][_0x15d6f1(0x186)],{'elementName':_0x15d6f1(0x18c),'getElementKey':_0x48980f=>_0x48980f[_0x15d6f1(0x176)](_0x15d6f1(0x148))});}[_0x264e09(0x141)](){const _0x2722bc=_0x264e09,{editor:_0x5cb12b}=this,{model:_0xb7de37,data:_0x225372}=_0x5cb12b;_0xb7de37[_0x2722bc(0x14a)][_0x2722bc(0x181)](_0x9cc25f=>{const _0x5429a5=_0x2722bc,_0x357545=_0xb7de37[_0x5429a5(0x14a)][_0x5429a5(0x169)][_0x5429a5(0x15c)]();let _0x2814a3=!0x1;return this[_0x5429a5(0x13e)](_0x9cc25f,_0x357545)&&(_0x2814a3=!0x0),this[_0x5429a5(0x17f)](_0x9cc25f,_0x357545)&&(_0x2814a3=!0x0),this[_0x5429a5(0x192)](_0x9cc25f,_0x357545)&&(_0x2814a3=!0x0),this[_0x5429a5(0x183)](_0x9cc25f)&&(_0x2814a3=!0x0),this[_0x5429a5(0x195)](_0x9cc25f)&&(_0x2814a3=!0x0),this[_0x5429a5(0x17b)](_0x9cc25f)&&(_0x2814a3=!0x0),_0x2814a3;}),this[_0x2722bc(0x164)](_0xb7de37[_0x2722bc(0x14a)],_0x2722bc(0x182),()=>{const _0x3dfc25=_0x2722bc;_0xb7de37[_0x3dfc25(0x19a)]({'isUndoable':!0x1},_0x480f46=>{const _0x24562b=_0x3dfc25;this[_0x24562b(0x199)](_0x480f46);});},{'priority':_0x2722bc(0x17c)}),this[_0x2722bc(0x164)](_0x225372,_0x2722bc(0x18a),()=>{const _0x519705=_0x2722bc;this[_0x519705(0x147)]=[],this[_0x519705(0x158)][_0x519705(0x198)](),this[_0x519705(0x146)][_0x519705(0x198)](),this[_0x519705(0x14c)][_0x519705(0x198)]();},{'priority':_0x2722bc(0x188)});}[_0x264e09(0x14b)](){const _0x700feb=_0x264e09;return this[_0x700feb(0x179)];}[_0x264e09(0x1a1)](_0x53a943){const _0x2d6743=_0x264e09;return this[_0x2d6743(0x147)][_0x2d6743(0x177)](_0x1cdb01=>_0x1cdb01['id']===_0x53a943)||null;}[_0x264e09(0x143)](){const _0x42bd58=_0x264e09;return Array[_0x42bd58(0x19b)](this[_0x42bd58(0x147)]);}[_0x264e09(0x15b)](){const _0x46cb37=_0x264e09;return this[_0x46cb37(0x161)];}[_0x264e09(0x160)](_0x5e54bd){const _0x5f42a3=_0x264e09;this[_0x5f42a3(0x161)]=_0x5e54bd;}[_0x264e09(0x193)](_0x490e23,_0x3f862f=0x0){const _0x114e3a=_0x264e09;let _0xdaad2f=!0x1;for(let _0x589fb0=_0x3f862f;_0x589fb0<this[_0x114e3a(0x147)][_0x114e3a(0x197)];_0x589fb0++)this[_0x114e3a(0x149)](_0x490e23,_0x589fb0)&&(_0xdaad2f=!0x0);return _0xdaad2f;}[_0x264e09(0x14d)](_0x435b38,_0x7ced49){const _0x7bc0d1=_0x264e09,_0x29529f=_0x435b38[_0x7bc0d1(0x142)](_0x7bc0d1(0x191),{});return _0x435b38[_0x7bc0d1(0x165)](_0x29529f,_0x7ced49),this[_0x7bc0d1(0x179)]=_0x29529f,_0x29529f;}[_0x264e09(0x199)](_0x5963db){const _0x276322=_0x264e09;if(!this[_0x276322(0x147)][_0x276322(0x197)]||this[_0x276322(0x179)])return;const _0x4699ee=this[_0x276322(0x147)][0x0][_0x276322(0x18f)][_0x276322(0x16f)],_0x468914=this[_0x276322(0x14d)](_0x5963db,_0x4699ee);for(const _0x3ac4db of this[_0x276322(0x147)])_0x3ac4db[_0x276322(0x140)][_0x276322(0x144)]||_0x5963db[_0x276322(0x168)](_0x3ac4db[_0x276322(0x140)],_0x468914,_0x276322(0x153));this[_0x276322(0x193)](_0x5963db);}[_0x264e09(0x13e)](_0x3d3137,_0x41ad52){const _0x2dca7b=_0x264e09;let _0x35295b=!0x1;const {inserted:_0x287edc,removed:_0xce9748,moved:_0x4a4d5d}=this[_0x2dca7b(0x158)][_0x2dca7b(0x15c)](_0x41ad52);if(_0x4a4d5d[_0x2dca7b(0x197)]&&(this[_0x2dca7b(0x179)]=_0x4a4d5d[0x0]),_0x287edc[_0x2dca7b(0x197)]){if(_0x287edc[_0x2dca7b(0x197)]>0x1||this[_0x2dca7b(0x179)]&&_0x287edc[_0x2dca7b(0x170)](_0x539c4c=>_0x539c4c!==this[_0x2dca7b(0x179)])){const _0x6f7dd3=_0x3d3137[_0x2dca7b(0x142)](_0x2dca7b(0x191),{}),_0x190994=[];this[_0x2dca7b(0x179)]&&_0x190994[_0x2dca7b(0x15e)](this[_0x2dca7b(0x179)]),_0x190994[_0x2dca7b(0x15e)](..._0x287edc),_0x3d3137[_0x2dca7b(0x168)](_0x6f7dd3,_0x190994[0x0],_0x2dca7b(0x14f));for(const _0x1809a1 of _0x190994)_0x3d3137[_0x2dca7b(0x194)](_0x3d3137[_0x2dca7b(0x184)](_0x1809a1),_0x3d3137[_0x2dca7b(0x189)](_0x6f7dd3,_0x2dca7b(0x153))),_0x3d3137[_0x2dca7b(0x173)](_0x1809a1);this[_0x2dca7b(0x179)]=_0x6f7dd3,this[_0x2dca7b(0x193)](_0x3d3137),_0x35295b=!0x0;}else this[_0x2dca7b(0x179)]=_0x287edc[0x0];}if(_0xce9748[_0x2dca7b(0x197)]&&_0x2dca7b(0x15d)===this[_0x2dca7b(0x179)]?.[_0x2dca7b(0x16f)][_0x2dca7b(0x16b)]){for(const _0x1336af of this[_0x2dca7b(0x147)])_0x3d3137[_0x2dca7b(0x173)](_0x1336af[_0x2dca7b(0x18f)]),_0x35295b=!0x0;this[_0x2dca7b(0x147)]=[],this[_0x2dca7b(0x179)]=null;}return _0x35295b;}[_0x264e09(0x17f)](_0x2eeafa,_0x70c608){const _0x4441aa=_0x264e09;let _0xb65b5b=!0x1;const _0x50ae33=this[_0x4441aa(0x15f)][_0x4441aa(0x16a)][_0x4441aa(0x17a)](_0x4441aa(0x154)),{inserted:_0x2129d2,moved:_0x59b77c}=this[_0x4441aa(0x14c)][_0x4441aa(0x15c)](_0x70c608);for(const _0x4642fc of[..._0x59b77c,..._0x2129d2]){const _0x412e10=_0x4642fc[_0x4441aa(0x176)](_0x4441aa(0x148)),_0x1b6866=this[_0x4441aa(0x1a1)](_0x412e10);_0x1b6866&&(_0x1b6866[_0x4441aa(0x140)]=_0x4642fc),_(_0x2eeafa,_0x50ae33,_0x4642fc)&&(_0xb65b5b=!0x0);}return _0xb65b5b;}[_0x264e09(0x192)](_0x53791d,_0x1a6a07){const _0x100fd5=_0x264e09;let _0x340483=!0x1;const {removed:_0x410aa6,inserted:_0x3ca1c0,moved:_0x20d429}=this[_0x100fd5(0x146)][_0x100fd5(0x15c)](_0x1a6a07);for(const _0x34caff of _0x410aa6)this[_0x100fd5(0x1a0)](_0x53791d,_0x34caff)&&(_0x340483=!0x0);for(const _0x3a7981 of _0x3ca1c0)this[_0x100fd5(0x18d)](_0x53791d,_0x3a7981)&&(_0x340483=!0x0);for(const _0x2780bf of _0x20d429)this[_0x100fd5(0x17e)](_0x53791d,_0x2780bf)&&(_0x340483=!0x0);return _0x340483;}[_0x264e09(0x195)](_0x51f693){const _0x2d560a=_0x264e09;if(!this[_0x2d560a(0x179)])return!0x1;let _0x4890fa=!0x1;if(this[_0x2d560a(0x179)][_0x2d560a(0x178)]!==this[_0x2d560a(0x147)][_0x2d560a(0x197)]){const _0x16d377=[];for(const _0x37b8a7 of this[_0x2d560a(0x179)][_0x2d560a(0x152)]()){const _0x28bd15=_0x37b8a7[_0x2d560a(0x176)](_0x2d560a(0x148));this[_0x2d560a(0x1a1)](_0x28bd15)||(_0x16d377[_0x2d560a(0x151)](_0x37b8a7),_0x4890fa=!0x0);}for(const _0x2181ae of _0x16d377)_0x51f693[_0x2d560a(0x173)](_0x2181ae);}const _0x4c5852=new Set(),_0x40dc13=[];for(const _0x575b1a of this[_0x2d560a(0x179)][_0x2d560a(0x152)]()){const _0x9983ba=_0x575b1a[_0x2d560a(0x176)](_0x2d560a(0x148));_0x4c5852[_0x2d560a(0x150)](_0x9983ba)?(_0x40dc13[_0x2d560a(0x151)](_0x575b1a),_0x4890fa=!0x0):_0x4c5852[_0x2d560a(0x145)](_0x9983ba);}for(const _0x8d139a of _0x40dc13)_0x51f693[_0x2d560a(0x173)](_0x8d139a);return this[_0x2d560a(0x179)][_0x2d560a(0x178)]||(_0x51f693[_0x2d560a(0x173)](this[_0x2d560a(0x179)]),this[_0x2d560a(0x179)]=null,_0x4890fa=!0x0),_0x4890fa;}[_0x264e09(0x18d)](_0xa55583,_0x54fe37){const _0x39c3e1=_0x264e09;if(this[_0x39c3e1(0x147)][_0x39c3e1(0x177)](_0x581b9c=>_0x581b9c[_0x39c3e1(0x18f)]===_0x54fe37))return!0x1;let _0x184605=!0x1;const _0x42ac25=_0x54fe37[_0x39c3e1(0x176)](_0x39c3e1(0x148)),_0xc12529=this[_0x39c3e1(0x147)][_0x39c3e1(0x16d)](_0x394979=>_0x394979['id']===_0x42ac25);-0x1!==_0xc12529&&(_0xa55583[_0x39c3e1(0x173)](this[_0x39c3e1(0x147)][_0xc12529][_0x39c3e1(0x18f)]),this[_0x39c3e1(0x147)][_0x39c3e1(0x155)](_0xc12529,0x1),_0x184605=!0x0);let _0x1406bf=this[_0x39c3e1(0x179)]?function(_0x1c04de,_0x1d9095){const _0x2294ef=_0x39c3e1;for(const _0x5172c1 of _0x1c04de[_0x2294ef(0x152)]())if(_0x5172c1[_0x2294ef(0x176)](_0x2294ef(0x148))===_0x1d9095)return _0x5172c1;return null;}(this[_0x39c3e1(0x179)],_0x42ac25):null;_0x1406bf||(_0x1406bf=_0xa55583[_0x39c3e1(0x142)](_0x39c3e1(0x18c),{'footnoteId':_0x42ac25}),this[_0x39c3e1(0x179)]&&(_0xa55583[_0x39c3e1(0x168)](_0x1406bf,this[_0x39c3e1(0x179)],_0x39c3e1(0x153)),_0x184605=!0x0));const _0x59fba0={'id':_0x42ac25,'reference':_0x54fe37,'definition':_0x1406bf},_0x555390=I(this[_0x39c3e1(0x15f)][_0x39c3e1(0x186)],this[_0x39c3e1(0x147)],_0x54fe37);this[_0x39c3e1(0x147)][_0x39c3e1(0x155)](_0x555390,0x0,_0x59fba0);let _0x41782c=_0x555390;return-0x1!==_0xc12529&&(_0x41782c=Math[_0x39c3e1(0x171)](_0x555390,_0xc12529)),this[_0x39c3e1(0x193)](_0xa55583,_0x41782c)&&(_0x184605=!0x0),_0x184605;}[_0x264e09(0x1a0)](_0x5d92dc,_0x81ca94){const _0x28265a=_0x264e09,_0x4c2491=this[_0x28265a(0x147)][_0x28265a(0x16d)](_0x2146c2=>_0x2146c2['id']===_0x81ca94);if(-0x1===_0x4c2491)return!0x1;let _0x48a559=!0x1;const _0x2cb88e=this[_0x28265a(0x147)][_0x4c2491];return _0x28265a(0x15d)!==_0x2cb88e[_0x28265a(0x140)][_0x28265a(0x16f)][_0x28265a(0x16b)]&&(_0x5d92dc[_0x28265a(0x173)](_0x2cb88e[_0x28265a(0x140)]),_0x48a559=!0x0),this[_0x28265a(0x147)][_0x28265a(0x155)](_0x4c2491,0x1),this[_0x28265a(0x193)](_0x5d92dc,_0x4c2491)&&(_0x48a559=!0x0),_0x48a559;}[_0x264e09(0x17e)](_0x5ea9a0,_0x5a4085){const _0x28d3ca=_0x264e09,_0x1ae6d6=_0x5a4085[_0x28d3ca(0x176)](_0x28d3ca(0x148)),_0x45f295=this[_0x28d3ca(0x147)][_0x28d3ca(0x16d)](_0xc585a8=>_0xc585a8['id']===_0x1ae6d6),_0x51c5f6=this[_0x28d3ca(0x147)][_0x45f295];let _0x218188=!0x1;_0x51c5f6[_0x28d3ca(0x18f)]=_0x5a4085,this[_0x28d3ca(0x147)][_0x28d3ca(0x155)](_0x45f295,0x1);const _0x4232fd=I(this[_0x28d3ca(0x15f)][_0x28d3ca(0x186)],this[_0x28d3ca(0x147)],_0x5a4085);return this[_0x28d3ca(0x147)][_0x28d3ca(0x155)](_0x4232fd,0x0,_0x51c5f6),this[_0x28d3ca(0x193)](_0x5ea9a0,Math[_0x28d3ca(0x171)](_0x45f295,_0x4232fd))&&(_0x218188=!0x0),_0x218188;}[_0x264e09(0x149)](_0x33b0d5,_0x5d06a8){const _0x3cd1d5=_0x264e09;if(!this[_0x3cd1d5(0x179)])return!0x1;const _0x3df80d=this[_0x3cd1d5(0x147)][_0x5d06a8];let _0x6c1311;return _0x6c1311=this[_0x3cd1d5(0x161)]?this[_0x3cd1d5(0x161)]({'footnote':_0x3df80d,'container':this[_0x3cd1d5(0x179)],'digits':String(this[_0x3cd1d5(0x147)][_0x3cd1d5(0x197)])[_0x3cd1d5(0x197)],'value':_0x5d06a8+0x1}):String(_0x5d06a8+0x1),_0x3df80d[_0x3cd1d5(0x18f)][_0x3cd1d5(0x176)](_0x3cd1d5(0x163))!=_0x6c1311&&(_0x33b0d5[_0x3cd1d5(0x156)](_0x3cd1d5(0x163),_0x6c1311,_0x3df80d[_0x3cd1d5(0x18f)]),!0x0);}[_0x264e09(0x17b)](_0x51afe6){const _0x1ad807=_0x264e09;if(!this[_0x1ad807(0x179)]||this[_0x1ad807(0x147)][_0x1ad807(0x197)]<0x2)return!0x1;if(function(_0x2f211b,_0x5b6066){const _0x51f82e=_0x1ad807;if(_0x2f211b[_0x51f82e(0x197)]!==_0x5b6066[_0x51f82e(0x197)])return!0x1;for(let _0x14a3b1=0x0;_0x14a3b1<_0x2f211b[_0x51f82e(0x197)];_0x14a3b1++)if(_0x2f211b[_0x14a3b1]!==_0x5b6066[_0x14a3b1])return!0x1;return!0x0;}(this[_0x1ad807(0x147)][_0x1ad807(0x167)](_0x20cd96=>_0x20cd96['id']),Array[_0x1ad807(0x19b)](this[_0x1ad807(0x179)][_0x1ad807(0x152)]())[_0x1ad807(0x167)](_0x2c6ebb=>_0x2c6ebb[_0x1ad807(0x176)](_0x1ad807(0x148)))))return!0x1;let _0x38ae9b=!0x1;for(let _0x50cf13=0x0;_0x50cf13<this[_0x1ad807(0x147)][_0x1ad807(0x197)];_0x50cf13++){const _0x3da9fd=this[_0x1ad807(0x147)][_0x50cf13],_0x32c14c=_0x51afe6[_0x1ad807(0x166)](_0x3da9fd[_0x1ad807(0x140)]),_0x2057a8=_0x51afe6[_0x1ad807(0x189)](this[_0x1ad807(0x179)],_0x50cf13);_0x32c14c[_0x1ad807(0x180)](_0x2057a8)||(_0x51afe6[_0x1ad807(0x194)](_0x51afe6[_0x1ad807(0x1a2)](_0x3da9fd[_0x1ad807(0x140)]),_0x2057a8),_0x38ae9b=!0x0);}return _0x38ae9b;}[_0x264e09(0x183)](_0x387ca6){const _0x116ba2=_0x264e09;if(!this[_0x116ba2(0x147)][_0x116ba2(0x197)])return!0x1;const {model:_0x1c869b}=this[_0x116ba2(0x15f)];let _0x4542f7=!0x1;for(let _0x368231=0x0;_0x368231<this[_0x116ba2(0x147)][_0x116ba2(0x197)]-0x1;_0x368231++){const _0x4cf80f=this[_0x116ba2(0x147)][_0x368231],_0x29edff=this[_0x116ba2(0x147)][_0x368231+0x1],_0x487441=_0x1c869b[_0x116ba2(0x166)](_0x4cf80f[_0x116ba2(0x18f)]),_0x364dda=_0x1c869b[_0x116ba2(0x166)](_0x29edff[_0x116ba2(0x18f)]);_0x116ba2(0x19d)===_0x487441[_0x116ba2(0x18b)](_0x364dda)&&(this[_0x116ba2(0x17e)](_0x387ca6,_0x4cf80f[_0x116ba2(0x18f)]),_0x368231=-0x1,_0x4542f7=!0x0);}return _0x4542f7;}}function _(_0x22844f,_0x2f2a83,_0x170f72){const _0x23f4c5=_0x264e09;if(_0x170f72[_0x23f4c5(0x178)])return!0x1;const _0x5ac7e0=_0x2f2a83?_0x23f4c5(0x172):_0x23f4c5(0x159);return _0x22844f[_0x23f4c5(0x168)](_0x22844f[_0x23f4c5(0x142)](_0x5ac7e0),_0x170f72),!0x0;}function _0x54c2(_0x189b6f,_0x5f2d16){const _0x5f3401=_0x5f34();return _0x54c2=function(_0x54c250,_0x4836be){_0x54c250=_0x54c250-0x13d;let _0x40c01e=_0x5f3401[_0x54c250];return _0x40c01e;},_0x54c2(_0x189b6f,_0x5f2d16);}function I(_0x538f68,_0xb348ac,_0xefdcac){const _0x27fc2f=_0x264e09;if(0x0===_0xb348ac[_0x27fc2f(0x197)])return 0x0;const _0x52fc85=_0x538f68[_0x27fc2f(0x166)](_0xefdcac);for(let _0x1a3198=0x0;_0x1a3198<_0xb348ac[_0x27fc2f(0x197)];_0x1a3198++){const _0xde41ed=_0xb348ac[_0x1a3198],_0x4a134a=_0x538f68[_0x27fc2f(0x166)](_0xde41ed[_0x27fc2f(0x18f)]);if(_0x27fc2f(0x14f)===_0x52fc85[_0x27fc2f(0x18b)](_0x4a134a))return _0x1a3198;}const _0x6cb1a3=_0xefdcac[_0x27fc2f(0x16f)];let _0x580035=-0x1;for(let _0x226fe8=_0xb348ac[_0x27fc2f(0x197)]-0x1;_0x226fe8>=0x0;_0x226fe8--)if(_0xb348ac[_0x226fe8][_0x27fc2f(0x18f)][_0x27fc2f(0x16f)]===_0x6cb1a3){_0x580035=_0x226fe8;break;}if(-0x1!==_0x580035)return _0x580035+0x1;const _0x2c3ea4=_0x538f68[_0x27fc2f(0x14a)][_0x27fc2f(0x175)](),_0x214518=_0x2c3ea4[_0x27fc2f(0x15a)](_0x6cb1a3[_0x27fc2f(0x16b)]),_0x5c515e=_0x2c3ea4[_0x214518+0x1];if(_0x5c515e){for(let _0x42b358=0x0;_0x42b358<_0xb348ac[_0x27fc2f(0x197)];_0x42b358++)if(_0xb348ac[_0x42b358][_0x27fc2f(0x18f)][_0x27fc2f(0x16f)][_0x27fc2f(0x16b)]===_0x5c515e)return _0x42b358;}return _0xb348ac[_0x27fc2f(0x197)];}
23
+ const _0x52795a=_0x1b48;(function(_0x4e2999,_0x4597f3){const _0x30095d=_0x1b48,_0x357d57=_0x4e2999();while(!![]){try{const _0x53c505=-parseInt(_0x30095d(0xed))/0x1*(-parseInt(_0x30095d(0xea))/0x2)+parseInt(_0x30095d(0x134))/0x3*(-parseInt(_0x30095d(0x12a))/0x4)+-parseInt(_0x30095d(0xd9))/0x5*(-parseInt(_0x30095d(0xf0))/0x6)+-parseInt(_0x30095d(0x125))/0x7+parseInt(_0x30095d(0xdb))/0x8*(parseInt(_0x30095d(0x115))/0x9)+parseInt(_0x30095d(0xdc))/0xa+-parseInt(_0x30095d(0xe5))/0xb*(parseInt(_0x30095d(0x111))/0xc);if(_0x53c505===_0x4597f3)break;else _0x357d57['push'](_0x357d57['shift']());}catch(_0x4b2e8c){_0x357d57['push'](_0x357d57['shift']());}}}(_0x37ef,0x82d29));import{Plugin as _0x529553}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x319076}from'./modelelementtracker.js';export class FootnotesTracker extends _0x529553{[_0x52795a(0x138)]=[];[_0x52795a(0xdf)]=null;[_0x52795a(0x109)]=null;[_0x52795a(0x11b)];[_0x52795a(0x136)];[_0x52795a(0x117)];static get[_0x52795a(0x129)](){const _0x5b3afa=_0x52795a;return _0x5b3afa(0x12e);}static get[_0x52795a(0x110)](){return!0x0;}static get[_0x52795a(0x122)](){return!0x0;}constructor(_0x121bf7){const _0x3eb833=_0x52795a;super(_0x121bf7),this[_0x3eb833(0x11b)]=new _0x319076(this[_0x3eb833(0xfa)][_0x3eb833(0xf3)],{'elementName':_0x3eb833(0xf9),'getElementKey':()=>_0x3eb833(0x12d)}),this[_0x3eb833(0x136)]=new _0x319076(this[_0x3eb833(0xfa)][_0x3eb833(0xf3)],{'elementName':_0x3eb833(0xf2),'getElementKey':_0x3b05ef=>_0x3b05ef[_0x3eb833(0x113)](_0x3eb833(0x114))}),this[_0x3eb833(0x117)]=new _0x319076(this[_0x3eb833(0xfa)][_0x3eb833(0xf3)],{'elementName':_0x3eb833(0x112),'getElementKey':_0x94df9d=>_0x94df9d[_0x3eb833(0x113)](_0x3eb833(0x114))});}[_0x52795a(0x108)](){const _0x2f3861=_0x52795a,{editor:_0x4a6480}=this,{model:_0x43b8ea,data:_0x3a8e4d}=_0x4a6480;_0x43b8ea[_0x2f3861(0x139)][_0x2f3861(0xd5)](_0x3c4abd=>{const _0x16542f=_0x2f3861,_0x574921=_0x43b8ea[_0x16542f(0x139)][_0x16542f(0x118)][_0x16542f(0x11e)]();let _0x1ff7d8=!0x1;return this[_0x16542f(0xd4)](_0x3c4abd,_0x574921)&&(_0x1ff7d8=!0x0),this[_0x16542f(0x123)](_0x3c4abd,_0x574921)&&(_0x1ff7d8=!0x0),this[_0x16542f(0xe9)](_0x3c4abd,_0x574921)&&(_0x1ff7d8=!0x0),this[_0x16542f(0x133)](_0x3c4abd)&&(_0x1ff7d8=!0x0),this[_0x16542f(0xeb)](_0x3c4abd)&&(_0x1ff7d8=!0x0),this[_0x16542f(0x11a)](_0x3c4abd)&&(_0x1ff7d8=!0x0),_0x1ff7d8;}),this[_0x2f3861(0xee)](_0x43b8ea[_0x2f3861(0x139)],_0x2f3861(0x10d),()=>{const _0x55dd7d=_0x2f3861;_0x43b8ea[_0x55dd7d(0xf8)]({'isUndoable':!0x1},_0x2cdf8d=>{const _0x6755e9=_0x55dd7d;this[_0x6755e9(0x11d)](_0x2cdf8d);});},{'priority':_0x2f3861(0x104)}),this[_0x2f3861(0xee)](_0x3a8e4d,_0x2f3861(0x12f),()=>{const _0x237672=_0x2f3861;this[_0x237672(0x138)]=[],this[_0x237672(0x11b)][_0x237672(0x12b)](),this[_0x237672(0x136)][_0x237672(0x12b)](),this[_0x237672(0x117)][_0x237672(0x12b)]();},{'priority':_0x2f3861(0xd8)});}[_0x52795a(0xe8)](){const _0x4d674c=_0x52795a;return this[_0x4d674c(0xdf)];}[_0x52795a(0x11f)](_0x18dd3f){const _0x53dcd8=_0x52795a;return this[_0x53dcd8(0x138)][_0x53dcd8(0xe0)](_0x45e110=>_0x45e110['id']===_0x18dd3f)||null;}[_0x52795a(0xd6)](){const _0x3b27e0=_0x52795a;return Array[_0x3b27e0(0x137)](this[_0x3b27e0(0x138)]);}[_0x52795a(0x103)](){const _0x5e34d0=_0x52795a;return this[_0x5e34d0(0x109)];}[_0x52795a(0xe7)](_0x2ed000){const _0x1db9d0=_0x52795a;this[_0x1db9d0(0x109)]=_0x2ed000;}[_0x52795a(0x10b)](_0x1a6f6b,_0x152eee=0x0){const _0x478c65=_0x52795a;let _0x39a3ad=!0x1;for(let _0x5a32fb=_0x152eee;_0x5a32fb<this[_0x478c65(0x138)][_0x478c65(0xf7)];_0x5a32fb++)this[_0x478c65(0xd3)](_0x1a6f6b,_0x5a32fb)&&(_0x39a3ad=!0x0);return _0x39a3ad;}[_0x52795a(0xf4)](_0x423063,_0xb8bf9d){const _0xf96aeb=_0x52795a,_0x477247=_0x423063[_0xf96aeb(0xf1)](_0xf96aeb(0xf9),{});return _0x423063[_0xf96aeb(0x128)](_0x477247,_0xb8bf9d),this[_0xf96aeb(0xdf)]=_0x477247,_0x477247;}[_0x52795a(0x11d)](_0x49119d){const _0x2b8e1b=_0x52795a;if(!this[_0x2b8e1b(0x138)][_0x2b8e1b(0xf7)]||this[_0x2b8e1b(0xdf)])return;const _0xe54d9a=this[_0x2b8e1b(0x138)][0x0][_0x2b8e1b(0xfc)][_0x2b8e1b(0x100)],_0x30a355=this[_0x2b8e1b(0xf4)](_0x49119d,_0xe54d9a);for(const _0x140104 of this[_0x2b8e1b(0x138)])_0x140104[_0x2b8e1b(0xe4)][_0x2b8e1b(0x119)]||_0x49119d[_0x2b8e1b(0x102)](_0x140104[_0x2b8e1b(0xe4)],_0x30a355,_0x2b8e1b(0x120));this[_0x2b8e1b(0x10b)](_0x49119d);}[_0x52795a(0xd4)](_0x15e4b6,_0x5e5f27){const _0x20eb56=_0x52795a;let _0x5a5620=!0x1;const {inserted:_0x350b02,removed:_0x3af903,moved:_0x4edf71}=this[_0x20eb56(0x11b)][_0x20eb56(0x11e)](_0x5e5f27);if(_0x4edf71[_0x20eb56(0xf7)]&&(this[_0x20eb56(0xdf)]=_0x4edf71[0x0]),_0x350b02[_0x20eb56(0xf7)]){if(_0x350b02[_0x20eb56(0xf7)]>0x1||this[_0x20eb56(0xdf)]&&_0x350b02[_0x20eb56(0xfb)](_0x4f8982=>_0x4f8982!==this[_0x20eb56(0xdf)])){const _0x5acf80=_0x15e4b6[_0x20eb56(0xf1)](_0x20eb56(0xf9),{}),_0x390f70=[];this[_0x20eb56(0xdf)]&&_0x390f70[_0x20eb56(0xd7)](this[_0x20eb56(0xdf)]),_0x390f70[_0x20eb56(0xd7)](..._0x350b02),_0x15e4b6[_0x20eb56(0x102)](_0x5acf80,_0x390f70[0x0],_0x20eb56(0x12c));for(const _0x69c560 of _0x390f70)_0x15e4b6[_0x20eb56(0x124)](_0x15e4b6[_0x20eb56(0xda)](_0x69c560),_0x15e4b6[_0x20eb56(0xe3)](_0x5acf80,_0x20eb56(0x120))),_0x15e4b6[_0x20eb56(0xfe)](_0x69c560);this[_0x20eb56(0xdf)]=_0x5acf80,this[_0x20eb56(0x10b)](_0x15e4b6),_0x5a5620=!0x0;}else this[_0x20eb56(0xdf)]=_0x350b02[0x0];}if(_0x3af903[_0x20eb56(0xf7)]&&_0x20eb56(0x135)===this[_0x20eb56(0xdf)]?.[_0x20eb56(0x100)][_0x20eb56(0xec)]){for(const _0xd10e0c of this[_0x20eb56(0x138)])_0x15e4b6[_0x20eb56(0xfe)](_0xd10e0c[_0x20eb56(0xfc)]),_0x5a5620=!0x0;this[_0x20eb56(0x138)]=[],this[_0x20eb56(0xdf)]=null;}return _0x5a5620;}[_0x52795a(0x123)](_0x4168ba,_0xffdb61){const _0x4939a7=_0x52795a;let _0x17c768=!0x1;const _0x3f858f=this[_0x4939a7(0xfa)][_0x4939a7(0xf6)][_0x4939a7(0xe6)](_0x4939a7(0xe2)),{inserted:_0x17213f,moved:_0x29ccbe}=this[_0x4939a7(0x117)][_0x4939a7(0x11e)](_0xffdb61);for(const _0xef4998 of[..._0x29ccbe,..._0x17213f]){const _0x4dce93=_0xef4998[_0x4939a7(0x113)](_0x4939a7(0x114)),_0x58d208=this[_0x4939a7(0x11f)](_0x4dce93);_0x58d208&&(_0x58d208[_0x4939a7(0xe4)]=_0xef4998),_(_0x4168ba,_0x3f858f,_0xef4998)&&(_0x17c768=!0x0);}return _0x17c768;}[_0x52795a(0xe9)](_0x2956ce,_0x3ebe59){const _0x1cb15d=_0x52795a;let _0x165147=!0x1;const {removed:_0x174817,inserted:_0x883750,moved:_0x5e2968}=this[_0x1cb15d(0x136)][_0x1cb15d(0x11e)](_0x3ebe59);for(const _0x2a444f of _0x174817)this[_0x1cb15d(0x132)](_0x2956ce,_0x2a444f)&&(_0x165147=!0x0);for(const _0x24ffb1 of _0x883750)this[_0x1cb15d(0xe1)](_0x2956ce,_0x24ffb1)&&(_0x165147=!0x0);for(const _0x973e83 of _0x5e2968)this[_0x1cb15d(0x10a)](_0x2956ce,_0x973e83)&&(_0x165147=!0x0);return _0x165147;}[_0x52795a(0xeb)](_0x8fd495){const _0x5270d7=_0x52795a;if(!this[_0x5270d7(0xdf)])return!0x1;let _0x17f32c=!0x1;if(this[_0x5270d7(0xdf)][_0x5270d7(0xf5)]!==this[_0x5270d7(0x138)][_0x5270d7(0xf7)]){const _0x571950=[];for(const _0x41cd1c of this[_0x5270d7(0xdf)][_0x5270d7(0xdd)]()){const _0x186f9e=_0x41cd1c[_0x5270d7(0x113)](_0x5270d7(0x114));this[_0x5270d7(0x11f)](_0x186f9e)||(_0x571950[_0x5270d7(0x10c)](_0x41cd1c),_0x17f32c=!0x0);}for(const _0x163b97 of _0x571950)_0x8fd495[_0x5270d7(0xfe)](_0x163b97);}const _0x1a507a=new Set(),_0x19b36d=[];for(const _0x4a7c0a of this[_0x5270d7(0xdf)][_0x5270d7(0xdd)]()){const _0xb14581=_0x4a7c0a[_0x5270d7(0x113)](_0x5270d7(0x114));_0x1a507a[_0x5270d7(0x106)](_0xb14581)?(_0x19b36d[_0x5270d7(0x10c)](_0x4a7c0a),_0x17f32c=!0x0):_0x1a507a[_0x5270d7(0x10e)](_0xb14581);}for(const _0xe5114a of _0x19b36d)_0x8fd495[_0x5270d7(0xfe)](_0xe5114a);return this[_0x5270d7(0xdf)][_0x5270d7(0xf5)]||(_0x8fd495[_0x5270d7(0xfe)](this[_0x5270d7(0xdf)]),this[_0x5270d7(0xdf)]=null,_0x17f32c=!0x0),_0x17f32c;}[_0x52795a(0xe1)](_0x1fb72d,_0x3c825f){const _0x8938ac=_0x52795a;if(this[_0x8938ac(0x138)][_0x8938ac(0xe0)](_0x5067fd=>_0x5067fd[_0x8938ac(0xfc)]===_0x3c825f))return!0x1;let _0x5a18e2=!0x1;const _0x257b16=_0x3c825f[_0x8938ac(0x113)](_0x8938ac(0x114)),_0x4790d1=this[_0x8938ac(0x138)][_0x8938ac(0x105)](_0x1d8066=>_0x1d8066['id']===_0x257b16);-0x1!==_0x4790d1&&(_0x1fb72d[_0x8938ac(0xfe)](this[_0x8938ac(0x138)][_0x4790d1][_0x8938ac(0xfc)]),this[_0x8938ac(0x138)][_0x8938ac(0x10f)](_0x4790d1,0x1),_0x5a18e2=!0x0);let _0x1ea51a=this[_0x8938ac(0xdf)]?function(_0x160c6c,_0x30dd08){const _0x3fedaf=_0x8938ac;for(const _0x33084f of _0x160c6c[_0x3fedaf(0xdd)]())if(_0x33084f[_0x3fedaf(0x113)](_0x3fedaf(0x114))===_0x30dd08)return _0x33084f;return null;}(this[_0x8938ac(0xdf)],_0x257b16):null;_0x1ea51a||(_0x1ea51a=_0x1fb72d[_0x8938ac(0xf1)](_0x8938ac(0x112),{'footnoteId':_0x257b16}),this[_0x8938ac(0xdf)]&&(_0x1fb72d[_0x8938ac(0x102)](_0x1ea51a,this[_0x8938ac(0xdf)],_0x8938ac(0x120)),_0x5a18e2=!0x0));const _0x47c68a={'id':_0x257b16,'reference':_0x3c825f,'definition':_0x1ea51a},_0x5b281e=I(this[_0x8938ac(0xfa)][_0x8938ac(0xf3)],this[_0x8938ac(0x138)],_0x3c825f);this[_0x8938ac(0x138)][_0x8938ac(0x10f)](_0x5b281e,0x0,_0x47c68a);let _0x559f83=_0x5b281e;return-0x1!==_0x4790d1&&(_0x559f83=Math[_0x8938ac(0xfd)](_0x5b281e,_0x4790d1)),this[_0x8938ac(0x10b)](_0x1fb72d,_0x559f83)&&(_0x5a18e2=!0x0),_0x5a18e2;}[_0x52795a(0x132)](_0x2863ec,_0x2161b1){const _0x29a67d=_0x52795a,_0x2a3249=this[_0x29a67d(0x138)][_0x29a67d(0x105)](_0xb04b39=>_0xb04b39['id']===_0x2161b1);if(-0x1===_0x2a3249)return!0x1;let _0x340fbc=!0x1;const _0x20cb90=this[_0x29a67d(0x138)][_0x2a3249];return _0x29a67d(0x135)!==_0x20cb90[_0x29a67d(0xe4)][_0x29a67d(0x100)][_0x29a67d(0xec)]&&(_0x2863ec[_0x29a67d(0xfe)](_0x20cb90[_0x29a67d(0xe4)]),_0x340fbc=!0x0),this[_0x29a67d(0x138)][_0x29a67d(0x10f)](_0x2a3249,0x1),this[_0x29a67d(0x10b)](_0x2863ec,_0x2a3249)&&(_0x340fbc=!0x0),_0x340fbc;}[_0x52795a(0x10a)](_0xf50063,_0x29b70d){const _0x5dd03c=_0x52795a,_0x12a6d0=_0x29b70d[_0x5dd03c(0x113)](_0x5dd03c(0x114)),_0x4122aa=this[_0x5dd03c(0x138)][_0x5dd03c(0x105)](_0x5e8429=>_0x5e8429['id']===_0x12a6d0),_0x3dc5e6=this[_0x5dd03c(0x138)][_0x4122aa];let _0x4611b7=!0x1;_0x3dc5e6[_0x5dd03c(0xfc)]=_0x29b70d,this[_0x5dd03c(0x138)][_0x5dd03c(0x10f)](_0x4122aa,0x1);const _0x4f3835=I(this[_0x5dd03c(0xfa)][_0x5dd03c(0xf3)],this[_0x5dd03c(0x138)],_0x29b70d);return this[_0x5dd03c(0x138)][_0x5dd03c(0x10f)](_0x4f3835,0x0,_0x3dc5e6),this[_0x5dd03c(0x10b)](_0xf50063,Math[_0x5dd03c(0xfd)](_0x4122aa,_0x4f3835))&&(_0x4611b7=!0x0),_0x4611b7;}[_0x52795a(0xd3)](_0xc4b3cc,_0x198e81){const _0x2fbf85=_0x52795a;if(!this[_0x2fbf85(0xdf)])return!0x1;const _0x29e559=this[_0x2fbf85(0x138)][_0x198e81];let _0x2cd71b;return _0x2cd71b=this[_0x2fbf85(0x109)]?this[_0x2fbf85(0x109)]({'footnote':_0x29e559,'container':this[_0x2fbf85(0xdf)],'digits':String(this[_0x2fbf85(0x138)][_0x2fbf85(0xf7)])[_0x2fbf85(0xf7)],'value':_0x198e81+0x1}):String(_0x198e81+0x1),_0x29e559[_0x2fbf85(0xfc)][_0x2fbf85(0x113)](_0x2fbf85(0x116))!=_0x2cd71b&&(_0xc4b3cc[_0x2fbf85(0x101)](_0x2fbf85(0x116),_0x2cd71b,_0x29e559[_0x2fbf85(0xfc)]),!0x0);}[_0x52795a(0x11a)](_0x40caed){const _0x38aad8=_0x52795a;if(!this[_0x38aad8(0xdf)]||this[_0x38aad8(0x138)][_0x38aad8(0xf7)]<0x2)return!0x1;if(function(_0x1160ba,_0x327321){const _0x14696c=_0x38aad8;if(_0x1160ba[_0x14696c(0xf7)]!==_0x327321[_0x14696c(0xf7)])return!0x1;for(let _0x409d4c=0x0;_0x409d4c<_0x1160ba[_0x14696c(0xf7)];_0x409d4c++)if(_0x1160ba[_0x409d4c]!==_0x327321[_0x409d4c])return!0x1;return!0x0;}(this[_0x38aad8(0x138)][_0x38aad8(0x131)](_0x5b32b1=>_0x5b32b1['id']),Array[_0x38aad8(0x137)](this[_0x38aad8(0xdf)][_0x38aad8(0xdd)]())[_0x38aad8(0x131)](_0x50e08a=>_0x50e08a[_0x38aad8(0x113)](_0x38aad8(0x114)))))return!0x1;let _0x597283=!0x1;for(let _0x374e1c=0x0;_0x374e1c<this[_0x38aad8(0x138)][_0x38aad8(0xf7)];_0x374e1c++){const _0x392733=this[_0x38aad8(0x138)][_0x374e1c],_0x3c7905=_0x40caed[_0x38aad8(0x121)](_0x392733[_0x38aad8(0xe4)]),_0x5cb541=_0x40caed[_0x38aad8(0xe3)](this[_0x38aad8(0xdf)],_0x374e1c);_0x3c7905[_0x38aad8(0xff)](_0x5cb541)||(_0x40caed[_0x38aad8(0x124)](_0x40caed[_0x38aad8(0xde)](_0x392733[_0x38aad8(0xe4)]),_0x5cb541),_0x597283=!0x0);}return _0x597283;}[_0x52795a(0x133)](_0x26d3af){const _0x2293bd=_0x52795a;if(!this[_0x2293bd(0x138)][_0x2293bd(0xf7)])return!0x1;const {model:_0x537b28}=this[_0x2293bd(0xfa)];let _0x37415f=!0x1;for(let _0x1968cc=0x0;_0x1968cc<this[_0x2293bd(0x138)][_0x2293bd(0xf7)]-0x1;_0x1968cc++){const _0x2f5399=this[_0x2293bd(0x138)][_0x1968cc],_0x39a90b=this[_0x2293bd(0x138)][_0x1968cc+0x1],_0x5be18c=_0x537b28[_0x2293bd(0x121)](_0x2f5399[_0x2293bd(0xfc)]),_0x3f7f5c=_0x537b28[_0x2293bd(0x121)](_0x39a90b[_0x2293bd(0xfc)]);_0x2293bd(0x127)===_0x5be18c[_0x2293bd(0x130)](_0x3f7f5c)&&(this[_0x2293bd(0x10a)](_0x26d3af,_0x2f5399[_0x2293bd(0xfc)]),_0x1968cc=-0x1,_0x37415f=!0x0);}return _0x37415f;}}function _(_0x3bc4ae,_0xc56c49,_0x267b74){const _0x409e18=_0x52795a;if(_0x267b74[_0x409e18(0xf5)])return!0x1;const _0x180956=_0xc56c49?_0x409e18(0x107):_0x409e18(0x11c);return _0x3bc4ae[_0x409e18(0x102)](_0x3bc4ae[_0x409e18(0xf1)](_0x180956),_0x267b74),!0x0;}function I(_0x3f5b13,_0x656462,_0xe93c2a){const _0x2a46f2=_0x52795a;if(0x0===_0x656462[_0x2a46f2(0xf7)])return 0x0;const _0x32d3bd=_0x3f5b13[_0x2a46f2(0x121)](_0xe93c2a);for(let _0x2da2e5=0x0;_0x2da2e5<_0x656462[_0x2a46f2(0xf7)];_0x2da2e5++){const _0x43d597=_0x656462[_0x2da2e5],_0x545159=_0x3f5b13[_0x2a46f2(0x121)](_0x43d597[_0x2a46f2(0xfc)]);if(_0x2a46f2(0x12c)===_0x32d3bd[_0x2a46f2(0x130)](_0x545159))return _0x2da2e5;}const _0x3e6bd8=_0xe93c2a[_0x2a46f2(0x100)];let _0x29e785=-0x1;for(let _0xbb12d6=_0x656462[_0x2a46f2(0xf7)]-0x1;_0xbb12d6>=0x0;_0xbb12d6--)if(_0x656462[_0xbb12d6][_0x2a46f2(0xfc)][_0x2a46f2(0x100)]===_0x3e6bd8){_0x29e785=_0xbb12d6;break;}if(-0x1!==_0x29e785)return _0x29e785+0x1;const _0x4b0504=_0x3f5b13[_0x2a46f2(0x139)][_0x2a46f2(0xef)](),_0x4df630=_0x4b0504[_0x2a46f2(0x126)](_0x3e6bd8[_0x2a46f2(0xec)]),_0x20a352=_0x4b0504[_0x4df630+0x1];if(_0x20a352){for(let _0x4fd522=0x0;_0x4fd522<_0x656462[_0x2a46f2(0xf7)];_0x4fd522++)if(_0x656462[_0x4fd522][_0x2a46f2(0xfc)][_0x2a46f2(0x100)][_0x2a46f2(0xec)]===_0x20a352)return _0x4fd522;}return _0x656462[_0x2a46f2(0xf7)];}function _0x1b48(_0x36ce3e,_0x3e1edd){const _0x37ef5b=_0x37ef();return _0x1b48=function(_0x1b481d,_0x6f204e){_0x1b481d=_0x1b481d-0xd3;let _0x2800fc=_0x37ef5b[_0x1b481d];return _0x2800fc;},_0x1b48(_0x36ce3e,_0x3e1edd);}function _0x37ef(){const _0x274bab=['_handleFootnoteReferencesChanges','1032556UGfjER','_handleFootnotesDefinitionsObjectSync','rootName','2HWrPpb','listenTo','getRootNames','438qvJRcz','createElement','footnoteRef','model','_insertEmptyFootnotesDefinitionsContainer','childCount','config','length','enqueueChange','footnotesDefinitions','editor','some','reference','min','remove','isEqual','root','setAttribute','insert','getFootnotesFormatter','low','findIndex','has','paragraph','init','_footnoteFormatter','_handleMovedFootnoteReference','_updateFootnotesCounters','unshift','change:data','add','splice','isOfficialPlugin','2194332orGMGE','footnoteDefinition','getAttribute','footnoteId','351oBqXWv','footnoteCounter','_footnoteDefsTracker','differ','parent','_sortFootnoteDefinitions','_footnoteDefsContainerTracker','footnoteInlineContent','_ensureFootnotesDefinitionsContainerExists','getChanges','getFootnote','end','createPositionBefore','isPremiumPlugin','_handleFootnoteDefinitionsChanges','move','2576329IbJcNb','indexOf','after','append','pluginName','1424dZJzMG','reset','before','singleton','FootnotesTracker','set','compareWith','map','_handleRemoveFootnoteReferenceById','_ensureFootnotesReferencesHaveProperOrder','3606GBspLP','$graveyard','_footnoteRefsTracker','from','_footnotes','document','_updateFootnoteRefCounter','_handleFootnotesDefinitionsObjectChanges','registerPostFixer','getFootnotes','push','high','48245cGjGaR','createRangeIn','83392fjxoBL','1026440DmOxJO','getChildren','createRangeOn','_footnotesDefinitions','find','_handleInsertedFootnoteReference','footnotes.multiBlock','createPositionAt','definition','55JiIhDL','get','setFootnoteFormatter','getFootnotesDefinitionsObjectElement'];_0x37ef=function(){return _0x274bab;};return _0x37ef();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x178fcb,MenuBarMenuListItemButtonView as _0x485406}from'ckeditor5/src/ui.js';import{Plugin as _0x1ff98b}from'ckeditor5/src/core.js';import{IconFootnote as _0x2f93a8}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1ff98b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4d49e8}=this,{componentFactory:_0x5d0dd5}=_0x4d49e8['ui'];_0x5d0dd5['add']('insertFootnote',x(_0x4d49e8,_0x178fcb)),_0x5d0dd5['add']('menuBar:insertFootnote',x(_0x4d49e8,_0x485406)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x237c7e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x291c39;for(const _0x4b4c72 in _0x237c7e){const _0x36e478=_0x4b4c72,_0x5bbce2=_0x237c7e[_0x36e478];if('footnotesLicenseKeyValid'==_0x5bbce2||'footnotesLicenseKeyInvalid'==_0x5bbce2||'footnotesLicenseKeyExpired'==_0x5bbce2||'footnotesLicenseKeyDomainLimit'==_0x5bbce2||'footnotesLicenseKeyNotAllowed'==_0x5bbce2||'footnotesLicenseKeyEvaluationLimit'==_0x5bbce2||'footnotesLicenseKeyTrialLimit'==_0x5bbce2||'footnotesLicenseKeyUsageLimit'==_0x5bbce2){delete _0x237c7e[_0x36e478],_0x291c39=_0x5bbce2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x291c39&&_0x237c7e['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x291c39&&_0x237c7e['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x291c39&&_0x237c7e['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x291c39&&_0x237c7e['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x291c39&&_0x237c7e['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x291c39&&_0x237c7e['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x291c39&&_0x237c7e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x3df21b,_0x3b0bd9){const _0x6ee07a=_0x3df21b['commands']['get']('insertFootnote');return _0x1fc140=>{const {t:t}=_0x1fc140,_0x2e6e3f=new _0x3b0bd9(_0x1fc140),_0x554b2c=_0x2e6e3f instanceof _0x485406;return _0x2e6e3f['bind']('isEnabled')['to'](_0x6ee07a,'isEnabled'),_0x2e6e3f['set']({'label':t(_0x554b2c?'Footnote':'Insert\x20footnote'),'icon':_0x2f93a8,'tooltip':!0x0}),_0x2e6e3f['on']('execute',()=>{_0x6ee07a['execute'](),_0x3df21b['editing']['view']['focus']();}),_0x2e6e3f;};}
23
+ import{ButtonView as _0x2ba118,MenuBarMenuListItemButtonView as _0x74beb4}from'ckeditor5/src/ui.js';import{Plugin as _0x2bc673}from'ckeditor5/src/core.js';import{IconFootnote as _0x18f514}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2bc673{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x524c55}=this,{componentFactory:_0xd5e8b9}=_0x524c55['ui'];_0xd5e8b9['add']('insertFootnote',x(_0x524c55,_0x2ba118)),_0xd5e8b9['add']('menuBar:insertFootnote',x(_0x524c55,_0x74beb4)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x49cc17=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x39d47d;for(const _0x2f601c in _0x49cc17){const _0x3fcd00=_0x2f601c,_0x251c1a=_0x49cc17[_0x3fcd00];if('footnotesLicenseKeyValid'==_0x251c1a||'footnotesLicenseKeyInvalid'==_0x251c1a||'footnotesLicenseKeyExpired'==_0x251c1a||'footnotesLicenseKeyDomainLimit'==_0x251c1a||'footnotesLicenseKeyNotAllowed'==_0x251c1a||'footnotesLicenseKeyEvaluationLimit'==_0x251c1a||'footnotesLicenseKeyTrialLimit'==_0x251c1a||'footnotesLicenseKeyUsageLimit'==_0x251c1a){delete _0x49cc17[_0x3fcd00],_0x39d47d=_0x251c1a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x39d47d&&_0x49cc17['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x39d47d&&_0x49cc17['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x39d47d&&_0x49cc17['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x39d47d&&_0x49cc17['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x39d47d&&_0x49cc17['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x39d47d&&_0x49cc17['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x39d47d&&_0x49cc17['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x527b33,_0x25ebbb){const _0xd021f9=_0x527b33['commands']['get']('insertFootnote');return _0xc0f01c=>{const {t:t}=_0xc0f01c,_0xaac9f7=new _0x25ebbb(_0xc0f01c),_0x579f9d=_0xaac9f7 instanceof _0x74beb4;return _0xaac9f7['bind']('isEnabled')['to'](_0xd021f9,'isEnabled'),_0xaac9f7['set']({'label':t(_0x579f9d?'Footnote':'Insert\x20footnote'),'icon':_0x18f514,'tooltip':!0x0}),_0xaac9f7['on']('execute',()=>{_0xd021f9['execute'](),_0x527b33['editing']['view']['focus']();}),_0xaac9f7;};}