@ckeditor/ckeditor5-footnotes 47.3.0-alpha.7 → 47.4.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (336) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/footnotes.js +2 -2
  4. package/dist/index-content.css +1 -1
  5. package/dist/index-editor.css +1 -1
  6. package/dist/index.css +4 -4
  7. package/dist/index.js +2 -2
  8. package/dist/translations/af.d.ts +1 -1
  9. package/dist/translations/af.js +2 -2
  10. package/dist/translations/af.umd.js +2 -2
  11. package/dist/translations/ar.d.ts +1 -1
  12. package/dist/translations/ar.js +2 -2
  13. package/dist/translations/ar.umd.js +2 -2
  14. package/dist/translations/ast.d.ts +1 -1
  15. package/dist/translations/ast.js +2 -2
  16. package/dist/translations/ast.umd.js +2 -2
  17. package/dist/translations/az.d.ts +1 -1
  18. package/dist/translations/az.js +2 -2
  19. package/dist/translations/az.umd.js +2 -2
  20. package/dist/translations/be.d.ts +1 -1
  21. package/dist/translations/be.js +2 -2
  22. package/dist/translations/be.umd.js +2 -2
  23. package/dist/translations/bg.d.ts +1 -1
  24. package/dist/translations/bg.js +2 -2
  25. package/dist/translations/bg.umd.js +2 -2
  26. package/dist/translations/bn.d.ts +1 -1
  27. package/dist/translations/bn.js +2 -2
  28. package/dist/translations/bn.umd.js +2 -2
  29. package/dist/translations/bs.d.ts +1 -1
  30. package/dist/translations/bs.js +2 -2
  31. package/dist/translations/bs.umd.js +2 -2
  32. package/dist/translations/ca.d.ts +1 -1
  33. package/dist/translations/ca.js +2 -2
  34. package/dist/translations/ca.umd.js +2 -2
  35. package/dist/translations/cs.d.ts +1 -1
  36. package/dist/translations/cs.js +2 -2
  37. package/dist/translations/cs.umd.js +2 -2
  38. package/dist/translations/da.d.ts +1 -1
  39. package/dist/translations/da.js +2 -2
  40. package/dist/translations/da.umd.js +2 -2
  41. package/dist/translations/de-ch.d.ts +1 -1
  42. package/dist/translations/de-ch.js +2 -2
  43. package/dist/translations/de-ch.umd.js +2 -2
  44. package/dist/translations/de.d.ts +1 -1
  45. package/dist/translations/de.js +2 -2
  46. package/dist/translations/de.umd.js +2 -2
  47. package/dist/translations/el.d.ts +1 -1
  48. package/dist/translations/el.js +2 -2
  49. package/dist/translations/el.umd.js +2 -2
  50. package/dist/translations/en-au.d.ts +1 -1
  51. package/dist/translations/en-au.js +2 -2
  52. package/dist/translations/en-au.umd.js +2 -2
  53. package/dist/translations/en-gb.d.ts +1 -1
  54. package/dist/translations/en-gb.js +2 -2
  55. package/dist/translations/en-gb.umd.js +2 -2
  56. package/dist/translations/en.d.ts +1 -1
  57. package/dist/translations/en.js +2 -2
  58. package/dist/translations/en.umd.js +2 -2
  59. package/dist/translations/eo.d.ts +1 -1
  60. package/dist/translations/eo.js +2 -2
  61. package/dist/translations/eo.umd.js +2 -2
  62. package/dist/translations/es-co.d.ts +1 -1
  63. package/dist/translations/es-co.js +2 -2
  64. package/dist/translations/es-co.umd.js +2 -2
  65. package/dist/translations/es.d.ts +1 -1
  66. package/dist/translations/es.js +2 -2
  67. package/dist/translations/es.umd.js +2 -2
  68. package/dist/translations/et.d.ts +1 -1
  69. package/dist/translations/et.js +2 -2
  70. package/dist/translations/et.umd.js +2 -2
  71. package/dist/translations/eu.d.ts +1 -1
  72. package/dist/translations/eu.js +2 -2
  73. package/dist/translations/eu.umd.js +2 -2
  74. package/dist/translations/fa.d.ts +1 -1
  75. package/dist/translations/fa.js +2 -2
  76. package/dist/translations/fa.umd.js +2 -2
  77. package/dist/translations/fi.d.ts +1 -1
  78. package/dist/translations/fi.js +2 -2
  79. package/dist/translations/fi.umd.js +2 -2
  80. package/dist/translations/fr.d.ts +1 -1
  81. package/dist/translations/fr.js +2 -2
  82. package/dist/translations/fr.umd.js +2 -2
  83. package/dist/translations/gl.d.ts +1 -1
  84. package/dist/translations/gl.js +2 -2
  85. package/dist/translations/gl.umd.js +2 -2
  86. package/dist/translations/gu.d.ts +1 -1
  87. package/dist/translations/gu.js +2 -2
  88. package/dist/translations/gu.umd.js +2 -2
  89. package/dist/translations/he.d.ts +1 -1
  90. package/dist/translations/he.js +2 -2
  91. package/dist/translations/he.umd.js +2 -2
  92. package/dist/translations/hi.d.ts +1 -1
  93. package/dist/translations/hi.js +2 -2
  94. package/dist/translations/hi.umd.js +2 -2
  95. package/dist/translations/hr.d.ts +1 -1
  96. package/dist/translations/hr.js +2 -2
  97. package/dist/translations/hr.umd.js +2 -2
  98. package/dist/translations/hu.d.ts +1 -1
  99. package/dist/translations/hu.js +2 -2
  100. package/dist/translations/hu.umd.js +2 -2
  101. package/dist/translations/hy.d.ts +1 -1
  102. package/dist/translations/hy.js +2 -2
  103. package/dist/translations/hy.umd.js +2 -2
  104. package/dist/translations/id.d.ts +1 -1
  105. package/dist/translations/id.js +2 -2
  106. package/dist/translations/id.umd.js +2 -2
  107. package/dist/translations/it.d.ts +1 -1
  108. package/dist/translations/it.js +2 -2
  109. package/dist/translations/it.umd.js +2 -2
  110. package/dist/translations/ja.d.ts +1 -1
  111. package/dist/translations/ja.js +2 -2
  112. package/dist/translations/ja.umd.js +2 -2
  113. package/dist/translations/jv.d.ts +1 -1
  114. package/dist/translations/jv.js +2 -2
  115. package/dist/translations/jv.umd.js +2 -2
  116. package/dist/translations/kk.d.ts +1 -1
  117. package/dist/translations/kk.js +2 -2
  118. package/dist/translations/kk.umd.js +2 -2
  119. package/dist/translations/km.d.ts +1 -1
  120. package/dist/translations/km.js +2 -2
  121. package/dist/translations/km.umd.js +2 -2
  122. package/dist/translations/kn.d.ts +1 -1
  123. package/dist/translations/kn.js +2 -2
  124. package/dist/translations/kn.umd.js +2 -2
  125. package/dist/translations/ko.d.ts +1 -1
  126. package/dist/translations/ko.js +2 -2
  127. package/dist/translations/ko.umd.js +2 -2
  128. package/dist/translations/ku.d.ts +1 -1
  129. package/dist/translations/ku.js +2 -2
  130. package/dist/translations/ku.umd.js +2 -2
  131. package/dist/translations/lt.d.ts +1 -1
  132. package/dist/translations/lt.js +2 -2
  133. package/dist/translations/lt.umd.js +2 -2
  134. package/dist/translations/lv.d.ts +1 -1
  135. package/dist/translations/lv.js +2 -2
  136. package/dist/translations/lv.umd.js +2 -2
  137. package/dist/translations/ms.d.ts +1 -1
  138. package/dist/translations/ms.js +2 -2
  139. package/dist/translations/ms.umd.js +2 -2
  140. package/dist/translations/nb.d.ts +1 -1
  141. package/dist/translations/nb.js +2 -2
  142. package/dist/translations/nb.umd.js +2 -2
  143. package/dist/translations/ne.d.ts +1 -1
  144. package/dist/translations/ne.js +2 -2
  145. package/dist/translations/ne.umd.js +2 -2
  146. package/dist/translations/nl.d.ts +1 -1
  147. package/dist/translations/nl.js +2 -2
  148. package/dist/translations/nl.umd.js +2 -2
  149. package/dist/translations/no.d.ts +1 -1
  150. package/dist/translations/no.js +2 -2
  151. package/dist/translations/no.umd.js +2 -2
  152. package/dist/translations/oc.d.ts +1 -1
  153. package/dist/translations/oc.js +2 -2
  154. package/dist/translations/oc.umd.js +2 -2
  155. package/dist/translations/pl.d.ts +1 -1
  156. package/dist/translations/pl.js +2 -2
  157. package/dist/translations/pl.umd.js +2 -2
  158. package/dist/translations/pt-br.d.ts +1 -1
  159. package/dist/translations/pt-br.js +2 -2
  160. package/dist/translations/pt-br.umd.js +2 -2
  161. package/dist/translations/pt.d.ts +1 -1
  162. package/dist/translations/pt.js +2 -2
  163. package/dist/translations/pt.umd.js +2 -2
  164. package/dist/translations/ro.d.ts +1 -1
  165. package/dist/translations/ro.js +2 -2
  166. package/dist/translations/ro.umd.js +2 -2
  167. package/dist/translations/ru.d.ts +1 -1
  168. package/dist/translations/ru.js +2 -2
  169. package/dist/translations/ru.umd.js +2 -2
  170. package/dist/translations/si.d.ts +1 -1
  171. package/dist/translations/si.js +2 -2
  172. package/dist/translations/si.umd.js +2 -2
  173. package/dist/translations/sk.d.ts +1 -1
  174. package/dist/translations/sk.js +2 -2
  175. package/dist/translations/sk.umd.js +2 -2
  176. package/dist/translations/sl.d.ts +1 -1
  177. package/dist/translations/sl.js +2 -2
  178. package/dist/translations/sl.umd.js +2 -2
  179. package/dist/translations/sq.d.ts +1 -1
  180. package/dist/translations/sq.js +2 -2
  181. package/dist/translations/sq.umd.js +2 -2
  182. package/dist/translations/sr-latn.d.ts +1 -1
  183. package/dist/translations/sr-latn.js +2 -2
  184. package/dist/translations/sr-latn.umd.js +2 -2
  185. package/dist/translations/sr.d.ts +1 -1
  186. package/dist/translations/sr.js +2 -2
  187. package/dist/translations/sr.umd.js +2 -2
  188. package/dist/translations/sv.d.ts +1 -1
  189. package/dist/translations/sv.js +2 -2
  190. package/dist/translations/sv.umd.js +2 -2
  191. package/dist/translations/th.d.ts +1 -1
  192. package/dist/translations/th.js +2 -2
  193. package/dist/translations/th.umd.js +2 -2
  194. package/dist/translations/ti.d.ts +1 -1
  195. package/dist/translations/ti.js +2 -2
  196. package/dist/translations/ti.umd.js +2 -2
  197. package/dist/translations/tk.d.ts +1 -1
  198. package/dist/translations/tk.js +2 -2
  199. package/dist/translations/tk.umd.js +2 -2
  200. package/dist/translations/tr.d.ts +1 -1
  201. package/dist/translations/tr.js +2 -2
  202. package/dist/translations/tr.umd.js +2 -2
  203. package/dist/translations/tt.d.ts +1 -1
  204. package/dist/translations/tt.js +2 -2
  205. package/dist/translations/tt.umd.js +2 -2
  206. package/dist/translations/ug.d.ts +1 -1
  207. package/dist/translations/ug.js +2 -2
  208. package/dist/translations/ug.umd.js +2 -2
  209. package/dist/translations/uk.d.ts +1 -1
  210. package/dist/translations/uk.js +2 -2
  211. package/dist/translations/uk.umd.js +2 -2
  212. package/dist/translations/ur.d.ts +1 -1
  213. package/dist/translations/ur.js +2 -2
  214. package/dist/translations/ur.umd.js +2 -2
  215. package/dist/translations/uz.d.ts +1 -1
  216. package/dist/translations/uz.js +2 -2
  217. package/dist/translations/uz.umd.js +2 -2
  218. package/dist/translations/vi.d.ts +1 -1
  219. package/dist/translations/vi.js +2 -2
  220. package/dist/translations/vi.umd.js +2 -2
  221. package/dist/translations/zh-cn.d.ts +1 -1
  222. package/dist/translations/zh-cn.js +2 -2
  223. package/dist/translations/zh-cn.umd.js +2 -2
  224. package/dist/translations/zh.d.ts +1 -1
  225. package/dist/translations/zh.js +2 -2
  226. package/dist/translations/zh.umd.js +2 -2
  227. package/lang/translations/af.po +1 -1
  228. package/lang/translations/ar.po +1 -1
  229. package/lang/translations/ast.po +1 -1
  230. package/lang/translations/az.po +1 -1
  231. package/lang/translations/be.po +1 -1
  232. package/lang/translations/bg.po +1 -1
  233. package/lang/translations/bn.po +1 -1
  234. package/lang/translations/bs.po +1 -1
  235. package/lang/translations/ca.po +1 -1
  236. package/lang/translations/cs.po +1 -1
  237. package/lang/translations/da.po +1 -1
  238. package/lang/translations/de-ch.po +1 -1
  239. package/lang/translations/de.po +1 -1
  240. package/lang/translations/el.po +1 -1
  241. package/lang/translations/en-au.po +1 -1
  242. package/lang/translations/en-gb.po +1 -1
  243. package/lang/translations/en.po +1 -1
  244. package/lang/translations/eo.po +1 -1
  245. package/lang/translations/es-co.po +1 -1
  246. package/lang/translations/es.po +1 -1
  247. package/lang/translations/et.po +1 -1
  248. package/lang/translations/eu.po +1 -1
  249. package/lang/translations/fa.po +1 -1
  250. package/lang/translations/fi.po +1 -1
  251. package/lang/translations/fr.po +1 -1
  252. package/lang/translations/gl.po +1 -1
  253. package/lang/translations/gu.po +1 -1
  254. package/lang/translations/he.po +1 -1
  255. package/lang/translations/hi.po +1 -1
  256. package/lang/translations/hr.po +1 -1
  257. package/lang/translations/hu.po +1 -1
  258. package/lang/translations/hy.po +1 -1
  259. package/lang/translations/id.po +1 -1
  260. package/lang/translations/it.po +1 -1
  261. package/lang/translations/ja.po +1 -1
  262. package/lang/translations/jv.po +1 -1
  263. package/lang/translations/kk.po +1 -1
  264. package/lang/translations/km.po +1 -1
  265. package/lang/translations/kn.po +1 -1
  266. package/lang/translations/ko.po +1 -1
  267. package/lang/translations/ku.po +1 -1
  268. package/lang/translations/lt.po +1 -1
  269. package/lang/translations/lv.po +1 -1
  270. package/lang/translations/ms.po +1 -1
  271. package/lang/translations/nb.po +1 -1
  272. package/lang/translations/ne.po +1 -1
  273. package/lang/translations/nl.po +1 -1
  274. package/lang/translations/no.po +1 -1
  275. package/lang/translations/oc.po +1 -1
  276. package/lang/translations/pl.po +1 -1
  277. package/lang/translations/pt-br.po +1 -1
  278. package/lang/translations/pt.po +1 -1
  279. package/lang/translations/ro.po +1 -1
  280. package/lang/translations/ru.po +1 -1
  281. package/lang/translations/si.po +1 -1
  282. package/lang/translations/sk.po +1 -1
  283. package/lang/translations/sl.po +1 -1
  284. package/lang/translations/sq.po +1 -1
  285. package/lang/translations/sr-latn.po +1 -1
  286. package/lang/translations/sr.po +1 -1
  287. package/lang/translations/sv.po +1 -1
  288. package/lang/translations/th.po +1 -1
  289. package/lang/translations/ti.po +1 -1
  290. package/lang/translations/tk.po +1 -1
  291. package/lang/translations/tr.po +1 -1
  292. package/lang/translations/tt.po +1 -1
  293. package/lang/translations/ug.po +1 -1
  294. package/lang/translations/uk.po +1 -1
  295. package/lang/translations/ur.po +1 -1
  296. package/lang/translations/uz.po +1 -1
  297. package/lang/translations/vi.po +1 -1
  298. package/lang/translations/zh-cn.po +1 -1
  299. package/lang/translations/zh.po +1 -1
  300. package/package.json +10 -10
  301. package/src/augmentation.d.ts +1 -1
  302. package/src/augmentation.js +1 -1
  303. package/src/commands/insertfootnotecommand.d.ts +1 -1
  304. package/src/commands/insertfootnotecommand.js +2 -2
  305. package/src/footnotes.d.ts +1 -1
  306. package/src/footnotes.js +2 -2
  307. package/src/footnotesclipboard.d.ts +1 -1
  308. package/src/footnotesclipboard.js +2 -2
  309. package/src/footnotesconfig.d.ts +1 -1
  310. package/src/footnotesconfig.js +1 -1
  311. package/src/footnotesediting.d.ts +1 -1
  312. package/src/footnotesediting.js +2 -2
  313. package/src/footnotesproperties/commands/footnotesstartcommand.d.ts +1 -1
  314. package/src/footnotesproperties/commands/footnotesstartcommand.js +2 -2
  315. package/src/footnotesproperties/commands/footnotesstylecommand.d.ts +1 -1
  316. package/src/footnotesproperties/commands/footnotesstylecommand.js +2 -2
  317. package/src/footnotesproperties/footnotespropertiesconfig.d.ts +1 -1
  318. package/src/footnotesproperties/footnotespropertiesconfig.js +2 -2
  319. package/src/footnotesproperties/footnotespropertiesediting.d.ts +1 -1
  320. package/src/footnotesproperties/footnotespropertiesediting.js +2 -2
  321. package/src/footnotesproperties/footnotespropertiesui.d.ts +1 -1
  322. package/src/footnotesproperties/footnotespropertiesui.js +2 -2
  323. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.d.ts +1 -1
  324. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +2 -2
  325. package/src/footnotesproperties.d.ts +1 -1
  326. package/src/footnotesproperties.js +2 -2
  327. package/src/footnotestracker.d.ts +1 -1
  328. package/src/footnotestracker.js +2 -2
  329. package/src/footnotesui.d.ts +1 -1
  330. package/src/footnotesui.js +2 -2
  331. package/src/index.d.ts +1 -1
  332. package/src/index.js +2 -2
  333. package/src/modelelementtracker.d.ts +1 -1
  334. package/src/modelelementtracker.js +2 -2
  335. package/theme/footnotes.css +1 -1
  336. package/theme/footnotesproperties.css +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4b67c2,Command as _0x2564d4}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3606c9,isWidget as _0x131354,toWidgetEditable as _0x1df609,WidgetToolbarRepository as _0x28cbf4}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5137b0,logWarning as _0x16f551,FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x58b2b1,ClickObserver as _0x2b2e4d}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x444137}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x1f520d,ButtonView as _0x4657b1,View as _0x6cf942,ViewCollection as _0x36bc0b,FocusCycler as _0x1c798d,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et,ContextualBalloon as _0x4d078f,BalloonPanelView as _0x29eca1,createDropdown as _0x4b98e2}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x5c3133,IconListStyleDecimal as _0x2f7224,IconListStyleDecimalLeadingZero as _0x52ce3b,IconListStyleLowerRoman as _0x137a18,IconListStyleUpperRoman as _0x31ffc2,IconListStyleLowerLatin as _0x677b16,IconListStyleUpperLatin as _0x2faa94}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x102c3e,_0x17225f){this['_model']=_0x102c3e,this['_elementName']=_0x17225f['elementName'],this['_getElementKey']=_0x17225f['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x351418){const _0x750867=new Set(),_0x553f45=new Map();for(const _0x1490b6 of _0x351418){if('insert'===_0x1490b6['type']&&'$text'!==_0x1490b6['name']&&_0x1490b6['position']['nodeAfter']){const _0x4eb9a5=this['_model']['createRangeOn'](_0x1490b6['position']['nodeAfter']);for(const _0x46d844 of _0x4eb9a5['getItems']()){if(!_0x46d844['is']('element',this['_elementName']))continue;const _0x36876b=this['_getElementKey'](_0x46d844);_0x553f45['has'](_0x36876b)||_0x553f45['set'](_0x36876b,[]),_0x553f45['get'](_0x36876b)['push'](_0x46d844);}}if('remove'===_0x1490b6['type']&&_0x1490b6['name']===this['_elementName']){const _0x1f2e5c=this['_getElementKey']({'getAttribute':_0x152f4d=>_0x1490b6['attributes']['get'](_0x152f4d)});_0x750867['add'](_0x1f2e5c);}}for(const [_0x2cc945,_0x328873]of this['_trackedElements'])'$graveyard'===_0x328873['root']['rootName']&&_0x750867['add'](_0x2cc945);for(const _0x506416 of _0x750867)this['_trackedElements']['delete'](_0x506416);for(const [_0x449125,_0x57aa3b]of _0x553f45)this['_trackedElements']['set'](_0x449125,_0x57aa3b[_0x57aa3b['length']-0x1]);const _0x1a6fd7=new Set();for(const [_0x4830a4,_0x47df93]of _0x553f45)_0x750867['has'](_0x4830a4)&&(_0x1a6fd7['add'](_0x47df93[0x0]),_0x47df93['length']>0x1?_0x553f45['set'](_0x4830a4,_0x47df93['slice'](0x1)):_0x553f45['delete'](_0x4830a4),_0x750867['delete'](_0x4830a4));return{'removed':Array['from'](_0x750867),'inserted':Array['from'](_0x553f45['values']())['flat'](),'moved':Array['from'](_0x1a6fd7)};}}class f extends _0x4b67c2{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf2a555){super(_0xf2a555),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x12e959=>_0x12e959['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x392e97=>_0x392e97['getAttribute']('footnoteId')});}['init'](){const {editor:_0x6f7fa4}=this,{model:_0x4f59cc,data:_0x1ba165}=_0x6f7fa4;_0x4f59cc['document']['registerPostFixer'](_0x479fb2=>{const _0x141d8a=_0x4f59cc['document']['differ']['getChanges']();let _0x102c30=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x479fb2,_0x141d8a)&&(_0x102c30=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x479fb2,_0x141d8a)&&(_0x102c30=!0x0),this['_handleFootnoteReferencesChanges'](_0x479fb2,_0x141d8a)&&(_0x102c30=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x479fb2)&&(_0x102c30=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x479fb2)&&(_0x102c30=!0x0),this['_sortFootnoteDefinitions'](_0x479fb2)&&(_0x102c30=!0x0),_0x102c30;}),this['listenTo'](_0x4f59cc['document'],'change:data',()=>{_0x4f59cc['enqueueChange']({'isUndoable':!0x1},_0x1fd221=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x1fd221);});},{'priority':'low'}),this['listenTo'](_0x1ba165,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x11e03f){return this['_footnotes']['find'](_0x314f21=>_0x314f21['id']===_0x11e03f)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x461855){this['_footnoteFormatter']=_0x461855;}['_updateFootnotesCounters'](_0x5c4464,_0x167327=0x0){let _0x567322=!0x1;for(let _0x45ebd2=_0x167327;_0x45ebd2<this['_footnotes']['length'];_0x45ebd2++)this['_updateFootnoteRefCounter'](_0x5c4464,_0x45ebd2)&&(_0x567322=!0x0);return _0x567322;}['_insertEmptyFootnotesDefinitionsContainer'](_0x4b2603,_0x6baf9e){const _0x299336=_0x4b2603['createElement']('footnotesDefinitions',{});return _0x4b2603['append'](_0x299336,_0x6baf9e),this['_footnotesDefinitions']=_0x299336,_0x299336;}['_ensureFootnotesDefinitionsContainerExists'](_0x3effa3){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x65eead=this['_footnotes'][0x0]['reference']['root'],_0x1ee7be=this['_insertEmptyFootnotesDefinitionsContainer'](_0x3effa3,_0x65eead);for(const _0x243098 of this['_footnotes'])_0x243098['definition']['parent']||_0x3effa3['insert'](_0x243098['definition'],_0x1ee7be,'end');this['_updateFootnotesCounters'](_0x3effa3);}['_handleFootnotesDefinitionsObjectChanges'](_0x2496af,_0x1b2aee){let _0x533951=!0x1;const {inserted:_0x5f352d,removed:_0x5a88f0,moved:_0x539e5b}=this['_footnoteDefsContainerTracker']['getChanges'](_0x1b2aee);if(_0x539e5b['length']&&(this['_footnotesDefinitions']=_0x539e5b[0x0]),_0x5f352d['length']){if(_0x5f352d['length']>0x1||this['_footnotesDefinitions']&&_0x5f352d['some'](_0x71d8b0=>_0x71d8b0!==this['_footnotesDefinitions'])){const _0x5ebf5b=_0x2496af['createElement']('footnotesDefinitions',{}),_0x2647d2=[];this['_footnotesDefinitions']&&_0x2647d2['push'](this['_footnotesDefinitions']),_0x2647d2['push'](..._0x5f352d),_0x2496af['insert'](_0x5ebf5b,_0x2647d2[0x0],'before');for(const _0x4b7516 of _0x2647d2)_0x2496af['move'](_0x2496af['createRangeIn'](_0x4b7516),_0x2496af['createPositionAt'](_0x5ebf5b,'end')),_0x2496af['remove'](_0x4b7516);this['_footnotesDefinitions']=_0x5ebf5b,this['_updateFootnotesCounters'](_0x2496af),_0x533951=!0x0;}else this['_footnotesDefinitions']=_0x5f352d[0x0];}if(_0x5a88f0['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x5589b0 of this['_footnotes'])_0x2496af['remove'](_0x5589b0['reference']),_0x533951=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x533951;}['_handleFootnoteDefinitionsChanges'](_0x1333bd,_0x26aeda){let _0x62bd4a=!0x1;const _0x2738e9=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x7cd1c,moved:_0xbea303}=this['_footnoteDefsTracker']['getChanges'](_0x26aeda);for(const _0x24ee0a of[..._0xbea303,..._0x7cd1c]){const _0x4d92c1=_0x24ee0a['getAttribute']('footnoteId'),_0x572409=this['getFootnote'](_0x4d92c1);_0x572409&&(_0x572409['definition']=_0x24ee0a),_(_0x1333bd,_0x2738e9,_0x24ee0a)&&(_0x62bd4a=!0x0);}return _0x62bd4a;}['_handleFootnoteReferencesChanges'](_0x439296,_0x35d766){let _0x7d7834=!0x1;const {removed:_0x7087e5,inserted:_0x2b8272,moved:_0xa36782}=this['_footnoteRefsTracker']['getChanges'](_0x35d766);for(const _0x518891 of _0x7087e5)this['_handleRemoveFootnoteReferenceById'](_0x439296,_0x518891)&&(_0x7d7834=!0x0);for(const _0x425b4a of _0x2b8272)this['_handleInsertedFootnoteReference'](_0x439296,_0x425b4a)&&(_0x7d7834=!0x0);for(const _0x3674a1 of _0xa36782)this['_handleMovedFootnoteReference'](_0x439296,_0x3674a1)&&(_0x7d7834=!0x0);return _0x7d7834;}['_handleFootnotesDefinitionsObjectSync'](_0x182a79){if(!this['_footnotesDefinitions'])return!0x1;let _0x250897=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x6e28bb=[];for(const _0x637ab5 of this['_footnotesDefinitions']['getChildren']()){const _0x28288c=_0x637ab5['getAttribute']('footnoteId');this['getFootnote'](_0x28288c)||(_0x6e28bb['unshift'](_0x637ab5),_0x250897=!0x0);}for(const _0x461fba of _0x6e28bb)_0x182a79['remove'](_0x461fba);}const _0x52d9cd=new Set(),_0x2dcb1c=[];for(const _0x507165 of this['_footnotesDefinitions']['getChildren']()){const _0x9ef3e1=_0x507165['getAttribute']('footnoteId');_0x52d9cd['has'](_0x9ef3e1)?(_0x2dcb1c['unshift'](_0x507165),_0x250897=!0x0):_0x52d9cd['add'](_0x9ef3e1);}for(const _0x368f10 of _0x2dcb1c)_0x182a79['remove'](_0x368f10);return this['_footnotesDefinitions']['childCount']||(_0x182a79['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x250897=!0x0),_0x250897;}['_handleInsertedFootnoteReference'](_0x36ff82,_0x2bd301){if(this['_footnotes']['find'](_0x47eb01=>_0x47eb01['reference']===_0x2bd301))return!0x1;let _0x55546a=!0x1;const _0x15fa6f=_0x2bd301['getAttribute']('footnoteId'),_0x102bb1=this['_footnotes']['findIndex'](_0x3ec081=>_0x3ec081['id']===_0x15fa6f);-0x1!==_0x102bb1&&(_0x36ff82['remove'](this['_footnotes'][_0x102bb1]['reference']),this['_footnotes']['splice'](_0x102bb1,0x1),_0x55546a=!0x0);let _0x12d8a2=this['_footnotesDefinitions']?function(_0x115a9d,_0x4ecc31){for(const _0x27702b of _0x115a9d['getChildren']())if(_0x27702b['getAttribute']('footnoteId')===_0x4ecc31)return _0x27702b;return null;}(this['_footnotesDefinitions'],_0x15fa6f):null;_0x12d8a2||(_0x12d8a2=_0x36ff82['createElement']('footnoteDefinition',{'footnoteId':_0x15fa6f}),this['_footnotesDefinitions']&&(_0x36ff82['insert'](_0x12d8a2,this['_footnotesDefinitions'],'end'),_0x55546a=!0x0));const _0x2b2c85={'id':_0x15fa6f,'reference':_0x2bd301,'definition':_0x12d8a2},_0x5ee535=I(this['editor']['model'],this['_footnotes'],_0x2bd301);this['_footnotes']['splice'](_0x5ee535,0x0,_0x2b2c85);let _0x151fac=_0x5ee535;return-0x1!==_0x102bb1&&(_0x151fac=Math['min'](_0x5ee535,_0x102bb1)),this['_updateFootnotesCounters'](_0x36ff82,_0x151fac)&&(_0x55546a=!0x0),_0x55546a;}['_handleRemoveFootnoteReferenceById'](_0x2fadc4,_0x131429){const _0x4d4f3d=this['_footnotes']['findIndex'](_0x1ce606=>_0x1ce606['id']===_0x131429);if(-0x1===_0x4d4f3d)return!0x1;let _0x1a00e4=!0x1;const _0x2ebb2=this['_footnotes'][_0x4d4f3d];return'$graveyard'!==_0x2ebb2['definition']['root']['rootName']&&(_0x2fadc4['remove'](_0x2ebb2['definition']),_0x1a00e4=!0x0),this['_footnotes']['splice'](_0x4d4f3d,0x1),this['_updateFootnotesCounters'](_0x2fadc4,_0x4d4f3d)&&(_0x1a00e4=!0x0),_0x1a00e4;}['_handleMovedFootnoteReference'](_0x45fa1a,_0x33a4fe){const _0x24df38=_0x33a4fe['getAttribute']('footnoteId'),_0x1b3648=this['_footnotes']['findIndex'](_0x2180ed=>_0x2180ed['id']===_0x24df38),_0x310332=this['_footnotes'][_0x1b3648];let _0x1da0be=!0x1;_0x310332['reference']=_0x33a4fe,this['_footnotes']['splice'](_0x1b3648,0x1);const _0x3ed4bd=I(this['editor']['model'],this['_footnotes'],_0x33a4fe);return this['_footnotes']['splice'](_0x3ed4bd,0x0,_0x310332),this['_updateFootnotesCounters'](_0x45fa1a,Math['min'](_0x1b3648,_0x3ed4bd))&&(_0x1da0be=!0x0),_0x1da0be;}['_updateFootnoteRefCounter'](_0x20a1ba,_0x2db59b){if(!this['_footnotesDefinitions'])return!0x1;const _0x909f98=this['_footnotes'][_0x2db59b];let _0x15e0f1;return _0x15e0f1=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x909f98,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x2db59b+0x1}):String(_0x2db59b+0x1),_0x909f98['reference']['getAttribute']('footnoteCounter')!=_0x15e0f1&&(_0x20a1ba['setAttribute']('footnoteCounter',_0x15e0f1,_0x909f98['reference']),!0x0);}['_sortFootnoteDefinitions'](_0xa001cc){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x5adbae,_0x207f73){if(_0x5adbae['length']!==_0x207f73['length'])return!0x1;for(let _0x1c9381=0x0;_0x1c9381<_0x5adbae['length'];_0x1c9381++)if(_0x5adbae[_0x1c9381]!==_0x207f73[_0x1c9381])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x100846=>_0x100846['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x4b8e92=>_0x4b8e92['getAttribute']('footnoteId'))))return!0x1;let _0x4102a4=!0x1;for(let _0x32b6dc=0x0;_0x32b6dc<this['_footnotes']['length'];_0x32b6dc++){const _0x138fa3=this['_footnotes'][_0x32b6dc],_0x234de3=_0xa001cc['createPositionBefore'](_0x138fa3['definition']),_0x148986=_0xa001cc['createPositionAt'](this['_footnotesDefinitions'],_0x32b6dc);_0x234de3['isEqual'](_0x148986)||(_0xa001cc['move'](_0xa001cc['createRangeOn'](_0x138fa3['definition']),_0x148986),_0x4102a4=!0x0);}return _0x4102a4;}['_ensureFootnotesReferencesHaveProperOrder'](_0x44e662){if(!this['_footnotes']['length'])return!0x1;const {model:_0x4802f1}=this['editor'];let _0x29613e=!0x1;for(let _0x5beced=0x0;_0x5beced<this['_footnotes']['length']-0x1;_0x5beced++){const _0x54299f=this['_footnotes'][_0x5beced],_0x410fb4=this['_footnotes'][_0x5beced+0x1],_0x2f1a45=_0x4802f1['createPositionBefore'](_0x54299f['reference']),_0x2724bb=_0x4802f1['createPositionBefore'](_0x410fb4['reference']);'after'===_0x2f1a45['compareWith'](_0x2724bb)&&(this['_handleMovedFootnoteReference'](_0x44e662,_0x54299f['reference']),_0x5beced=-0x1,_0x29613e=!0x0);}return _0x29613e;}}function _(_0x59340e,_0x40609e,_0x33a21a){if(_0x33a21a['childCount'])return!0x1;const _0x59abef=_0x40609e?'paragraph':'footnoteInlineContent';return _0x59340e['insert'](_0x59340e['createElement'](_0x59abef),_0x33a21a),!0x0;}function I(_0x50eb9a,_0x3a40bd,_0x2ab3e0){if(0x0===_0x3a40bd['length'])return 0x0;const _0x4e6e26=_0x50eb9a['createPositionBefore'](_0x2ab3e0);for(let _0x5aa20b=0x0;_0x5aa20b<_0x3a40bd['length'];_0x5aa20b++){const _0x2fd0eb=_0x3a40bd[_0x5aa20b],_0xea3e2a=_0x50eb9a['createPositionBefore'](_0x2fd0eb['reference']);if('before'===_0x4e6e26['compareWith'](_0xea3e2a))return _0x5aa20b;}const _0x29861b=_0x2ab3e0['root'];let _0x515341=-0x1;for(let _0x2da8b6=_0x3a40bd['length']-0x1;_0x2da8b6>=0x0;_0x2da8b6--)if(_0x3a40bd[_0x2da8b6]['reference']['root']===_0x29861b){_0x515341=_0x2da8b6;break;}if(-0x1!==_0x515341)return _0x515341+0x1;const _0x268bc5=_0x50eb9a['document']['getRootNames'](),_0x96f276=_0x268bc5['indexOf'](_0x29861b['rootName']),_0x238288=_0x268bc5[_0x96f276+0x1];if(_0x238288){for(let _0x23d6b2=0x0;_0x23d6b2<_0x3a40bd['length'];_0x23d6b2++)if(_0x3a40bd[_0x23d6b2]['reference']['root']['rootName']===_0x238288)return _0x23d6b2;}return _0x3a40bd['length'];}class m extends _0x2564d4{['refresh'](){const _0x35fdc1=this['editor']['model']['document']['selection'],_0x2c8f48=this['_getPositionToInsertFootnote'](_0x35fdc1);this['isEnabled']=!!_0x2c8f48;}['execute'](_0x4d4959){const {editor:_0x1be501}=this,{model:_0x57d93a}=_0x1be501,{selection:_0x508113}=_0x57d93a['document'],_0x4b3caf=this['_getPositionToInsertFootnote'](_0x508113);if(!_0x4b3caf)return;const _0x21e7f4=_0x1be501['plugins']['get']('FootnotesEditing'),_0x983f8a=_0x4d4959?.['footnoteId']??_0x5137b0();!function(_0x177474){return'string'==typeof _0x177474&&_0x177474['length']>0x0&&!/\s/['test'](_0x177474)&&!/^\d/['test'](_0x177474);}(_0x983f8a)?_0x16f551('insert-footnote-command-executed-with-invalid-id'):(_0x57d93a['change'](_0xb45d04=>{const _0x55802e=_0xb45d04['createElement']('footnoteRef',{'footnoteId':_0x983f8a});_0x57d93a['insertObject'](_0x55802e,_0x4b3caf,null);}),_0x21e7f4['_moveSelectionToFootnoteDefinition'](_0x983f8a));}['_getPositionToInsertFootnote'](_0x33401c){const {model:_0x3ba40d}=this['editor'],{schema:_0x2c6f89}=_0x3ba40d,_0x5f3f62=_0x33401c['getFirstRange']();for(const _0x2ff2b7 of _0x5f3f62['getItems']())if(_0x2c6f89['isBlock'](_0x2ff2b7)||_0x2c6f89['isObject'](_0x2ff2b7))return null;const _0x47ed85=_0x5f3f62['end'];return _0x2c6f89['checkChild'](_0x47ed85,'footnoteRef')?_0x47ed85:null;}}class r extends _0x4b67c2{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x41a13f}=this;_0x41a13f['config']['define']('footnotes.multiBlock',!0x0),_0x41a13f['commands']['add']('insertFootnote',new m(_0x41a13f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xf8e9de){const _0x1b2cc4=_0x5a4e71([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]),_0x158dc3=0x47a28506,_0x1f0876=0x47a5ffde^_0x158dc3,_0x41b3b3=window[_0x5a4e71([0x44,0x61,0x74,0x65])][_0x5a4e71([0x6e,0x6f,0x77])](),_0x3dfc3b=_0xf8e9de[_0x5a4e71([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x230434=new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d66b8=>{_0x3dfc3b[_0x5a4e71([0x6f,0x6e,0x63,0x65])](_0x5a4e71([0x72,0x65,0x61,0x64,0x79]),_0x4d66b8);}),_0x5d4a03={[_0x5a4e71([0x6b,0x74,0x79])]:_0x5a4e71([0x45,0x43]),[_0x5a4e71([0x75,0x73,0x65])]:_0x5a4e71([0x73,0x69,0x67]),[_0x5a4e71([0x63,0x72,0x76])]:_0x5a4e71([0x50,0x2d,0x32,0x35,0x36]),[_0x5a4e71([0x78])]:_0x5a4e71([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]),[_0x5a4e71([0x79])]:_0x5a4e71([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]),[_0x5a4e71([0x61,0x6c,0x67])]:_0x5a4e71([0x45,0x53,0x32,0x35,0x36])},_0x60d290=_0x3dfc3b[_0x5a4e71([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a4e71([0x67,0x65,0x74])](_0x5a4e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x21eee9(){let _0x1d1cf6,_0x48502e=null,_0x362db7=null;try{if(_0x60d290==_0x5a4e71([0x47,0x50,0x4c]))return _0x5a4e71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1d1cf6=_0x4edeac(),!_0x1d1cf6)return _0x5a4e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1d1cf6[_0x5a4e71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x362db7=_0x1c2b56(_0x1d1cf6[_0x5a4e71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1d1cf6[_0x5a4e71([0x6a,0x74,0x69])])),await _0x3ba754()?_0x541216()?_0x3c0cb7()?_0x5a4e71([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x411769()?(_0x1d1cf6[_0x5a4e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a4e71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x48502e=_0x25d40c(_0x5a4e71([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1d1cf6[_0x5a4e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a4e71([0x74,0x72,0x69,0x61,0x6c])&&(_0x48502e=_0x25d40c(_0x5a4e71([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x205096()):_0x5a4e71([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a4e71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a4e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a4e71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3c0cb7(){const _0x122ebf=[_0x5a4e71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a4e71([0x74,0x72,0x69,0x61,0x6c])][_0x5a4e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d1cf6[_0x5a4e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x41b3b3/0x3e8:0xe10*_0x1f0876;return _0x1d1cf6[_0x5a4e71([0x65,0x78,0x70])]<_0x122ebf;}function _0x541216(){const _0x21b3b7=_0x1d1cf6[_0x5a4e71([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21b3b7&&(!!_0x21b3b7[_0x5a4e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a4e71([0x2a]))||!!_0x21b3b7[_0x5a4e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a4e71([0x46,0x4f,0x4f])));}function _0x411769(){const _0x555a96=_0x1d1cf6[_0x5a4e71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x555a96||0x0==_0x555a96[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x322452}=new URL(window[_0x5a4e71([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x555a96[_0x5a4e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x322452))return!0x0;const _0x3d61db=_0x322452[_0x5a4e71([0x73,0x70,0x6c,0x69,0x74])](_0x5a4e71([0x2e]));return _0x555a96[_0x5a4e71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e2f52=>_0x4e2f52[_0x5a4e71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a4e71([0x2a])))[_0x5a4e71([0x6d,0x61,0x70])](_0x4e81ec=>_0x4e81ec[_0x5a4e71([0x73,0x70,0x6c,0x69,0x74])](_0x5a4e71([0x2e])))[_0x5a4e71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b2d6b=>_0x2b2d6b[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d61db[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a4e71([0x6d,0x61,0x70])](_0x1e3a55=>Array(_0x3d61db[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e3a55[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a4e71([0x66,0x69,0x6c,0x6c])](_0x1e3a55[0x0]===_0x5a4e71([0x2a])?_0x5a4e71([0x2a]):'')[_0x5a4e71([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e3a55))[_0x5a4e71([0x73,0x6f,0x6d,0x65])](_0x593696=>_0x3d61db[_0x5a4e71([0x65,0x76,0x65,0x72,0x79])]((_0x390de6,_0x269e63)=>_0x593696[_0x269e63]===_0x390de6||_0x593696[_0x269e63]===_0x5a4e71([0x2a])));}function _0x205096(){return _0x48502e&&_0x362db7?new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19ce13,_0x37170b)=>{_0x48502e[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x19ce13,_0x37170b),_0x362db7[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x203400=>{_0x203400!=_0x5a4e71([0x56,0x61,0x6c,0x69,0x64])&&_0x19ce13(_0x203400);},_0x37170b);}):_0x48502e||_0x362db7||_0x5a4e71([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1c2b56(_0x42c7fd,_0x3cbfcc){return new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x10ab26=>{if(_0x193fb2())return _0x10ab26(_0x5a4e71([0x56,0x61,0x6c,0x69,0x64]));_0x1a782f(),_0x3dfc3b[_0x5a4e71([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a4e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x51a619=!0x1;const _0x319fb5=_0x5137b0();function _0x2c57b9(_0x2805be){return!!_0x2805be&&(typeof _0x2805be===_0x5a4e71([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2805be===_0x5a4e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2805be[_0x5a4e71([0x74,0x68,0x65,0x6e])]===_0x5a4e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2805be[_0x5a4e71([0x63,0x61,0x74,0x63,0x68])]===_0x5a4e71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f5ae5(_0xfde8e4){_0x548984(_0xfde8e4)[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x2663c8=>{if(!_0x2663c8||_0x2663c8[_0x5a4e71([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a4e71([0x6f,0x6b]))return _0x5a4e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x47ecd3(_0x246c49(_0x319fb5+_0x3cbfcc))!=_0x2663c8[_0x5a4e71([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a4e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a4e71([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x3c85a2=>(_0x500667(),_0x3c85a2),()=>{const _0x5c98c3=_0x443456();return null==_0x5c98c3?(_0x500667(),_0x5a4e71([0x56,0x61,0x6c,0x69,0x64])):_0x5a4e71(_0x41b3b3-_0x5c98c3>(0x63ae0106^_0x158dc3)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x10ab26)[_0x5a4e71([0x63,0x61,0x74,0x63,0x68])](()=>{_0x10ab26(_0x5a4e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4c8e78=0x47946b86^_0x158dc3;function _0x500667(){const _0x1794ee=_0x5a4e71([0x6c,0x6c,0x63,0x74,0x2d])+_0x47ecd3(_0x246c49(_0x42c7fd)),_0x1804a4=_0x56af71(_0x47ecd3(window[_0x5a4e71([0x4d,0x61,0x74,0x68])][_0x5a4e71([0x63,0x65,0x69,0x6c])](_0x41b3b3/_0x4c8e78)));window[_0x5a4e71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a4e71([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1794ee,_0x1804a4);}function _0x443456(){const _0x6eb805=_0x5a4e71([0x6c,0x6c,0x63,0x74,0x2d])+_0x47ecd3(_0x246c49(_0x42c7fd)),_0x2034ab=window[_0x5a4e71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a4e71([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x6eb805);return _0x2034ab?window[_0x5a4e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56af71(_0x2034ab),0x10)*_0x4c8e78:null;}function _0x548984(_0x3dd1a6){return new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3c857c,_0x5cb8b8)=>{_0x3dd1a6[_0x5a4e71([0x74,0x68,0x65,0x6e])](_0x3c857c,_0x5cb8b8),window[_0x5a4e71([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5cb8b8,0x47a351c6^_0x158dc3);});}}_0x3dfc3b[_0x5a4e71([0x6f,0x6e])](_0x5a4e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x274693,_0x318381)=>{if(_0x318381[0x0]!=_0x42c7fd)return _0x10ab26(_0x5a4e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x318381[0x1]={..._0x318381[0x1],[_0x5a4e71([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x319fb5};},{[_0x5a4e71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a4e71([0x68,0x69,0x67,0x68])}),_0x3dfc3b[_0x5a4e71([0x6f,0x6e])](_0x5a4e71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4c656a=>{_0x2c57b9(_0x4c656a[_0x5a4e71([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x51a619=!0x0,_0x3f5ae5(_0x4c656a[_0x5a4e71([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a4e71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a4e71([0x6c,0x6f,0x77])}),_0x230434[_0x5a4e71([0x74,0x68,0x65,0x6e])](()=>{_0x51a619||_0x10ab26(_0x5a4e71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x193fb2(){return _0x3dfc3b[_0x5a4e71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a4e71([0x76,0x69,0x65,0x77])][_0x5a4e71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a4e71([0x61,0x75,0x74,0x6f]);}function _0x1a782f(){_0x3dfc3b[_0x5a4e71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a4e71([0x76,0x69,0x65,0x77])][_0x5a4e71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a4e71([0x61,0x75,0x74,0x6f]);}}function _0x25d40c(_0x5bc587){const _0x45cef1=[new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x44344e=>setTimeout(_0x44344e,0x47abbbca^_0x158dc3)),_0x230434[_0x5a4e71([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e56d2=>{let _0x22f080=0x0;_0x3dfc3b[_0x5a4e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a4e71([0x6f,0x6e])](_0x5a4e71([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x8a9af7,_0x3b55c7)=>{_0x3b55c7[0x0][_0x5a4e71([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x22f080++,_0x22f080==(0x47a284fe^_0x158dc3)&&(_0x1e56d2(),_0x8a9af7[_0x5a4e71([0x6f,0x66,0x66])]());});}))];return window[_0x5a4e71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a4e71([0x72,0x61,0x63,0x65])](_0x45cef1)[_0x5a4e71([0x74,0x68,0x65,0x6e])](()=>_0x5bc587);}async function _0x287039(){await _0x230434,_0x3dfc3b[_0x5a4e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a4e71([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x425dd2,_0x3dfc3b[_0x5a4e71([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a4e71([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x425dd2,_0x3dfc3b[_0x5a4e71([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a4e71([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x54be2e(_0x1387de){const _0x53539d=_0x35113c();_0x3dfc3b[_0x53539d]=_0x5a4e71([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1387de,_0x1387de!=_0x5a4e71([0x56,0x61,0x6c,0x69,0x64])&&_0x287039();}function _0x35113c(){const _0x1e7e54=window[_0x5a4e71([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a4e71([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a4e71([0x6e,0x6f,0x77])]())[_0x5a4e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a4e71([0x2e]),'');let _0x3893d5=_0x5a4e71([0x75]);for(let _0x3904eb=0x0;_0x3904eb<_0x1e7e54[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3904eb+=0x2){let _0x16a9bc=window[_0x5a4e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e7e54[_0x5a4e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3904eb,_0x3904eb+0x2));_0x16a9bc>=_0x1b2cc4[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16a9bc-=_0x1b2cc4[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3893d5+=_0x1b2cc4[_0x16a9bc];}return _0x3893d5;}function _0x4edeac(){const _0x597fc6=_0x60d290[_0x5a4e71([0x73,0x70,0x6c,0x69,0x74])](_0x5a4e71([0x2e]));if(0x3!=_0x597fc6[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x58cc28(_0x597fc6[0x1]);function _0x58cc28(_0x3b6661){const _0x5403fd=_0x2e0c0d(_0x3b6661);return _0x5403fd&&_0x1c6ba7()?_0x5403fd:null;function _0x1c6ba7(){const _0x556126=_0x5403fd[_0x5a4e71([0x6a,0x74,0x69])],_0x4639f6=window[_0x5a4e71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x556126[_0x5a4e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x556126[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53be56={..._0x5403fd,[_0x5a4e71([0x6a,0x74,0x69])]:_0x556126[_0x5a4e71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x556126[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53be56[_0x5a4e71([0x76,0x63])],_0x246c49(_0x53be56)==_0x4639f6;}}}async function _0x3ba754(){let _0x333803=!0x0;try{const _0x30f1a2=_0x60d290[_0x5a4e71([0x73,0x70,0x6c,0x69,0x74])](_0x5a4e71([0x2e])),[_0x54669c,_0x53f68e,_0x2cee7a]=_0x30f1a2;return _0x1a1383(_0x54669c),await _0x2a9d6b(_0x54669c,_0x53f68e,_0x2cee7a),_0x333803;}catch{return!0x1;}function _0x1a1383(_0x5bbb34){const _0x3b1334=_0x2e0c0d(_0x5bbb34);_0x3b1334&&_0x3b1334[_0x5a4e71([0x61,0x6c,0x67])]==_0x5a4e71([0x45,0x53,0x32,0x35,0x36])||(_0x333803=!0x1);}async function _0x2a9d6b(_0x4cb1b5,_0x5db9bd,_0x3a32f8){const _0x37d3eb=window[_0x5a4e71([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a4e71([0x66,0x72,0x6f,0x6d])](_0x201303(_0x3a32f8),_0x44a95d=>_0x44a95d[_0x5a4e71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x174b64=new window[(_0x5a4e71([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a4e71([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4cb1b5+_0x5a4e71([0x2e])+_0x5db9bd),_0x2a4d44=window[_0x5a4e71([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a4e71([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a4d44)return;const _0x51c983=await _0x2a4d44[_0x5a4e71([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a4e71([0x6a,0x77,0x6b]),_0x5d4a03,{[_0x5a4e71([0x6e,0x61,0x6d,0x65])]:_0x5a4e71([0x45,0x43,0x44,0x53,0x41]),[_0x5a4e71([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a4e71([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a4e71([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a4d44[_0x5a4e71([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a4e71([0x6e,0x61,0x6d,0x65])]:_0x5a4e71([0x45,0x43,0x44,0x53,0x41]),[_0x5a4e71([0x68,0x61,0x73,0x68])]:{[_0x5a4e71([0x6e,0x61,0x6d,0x65])]:_0x5a4e71([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51c983,_0x37d3eb,_0x174b64)||(_0x333803=!0x1);}}function _0x2e0c0d(_0x384dce){return _0x384dce[_0x5a4e71([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a4e71([0x65,0x79]))?JSON[_0x5a4e71([0x70,0x61,0x72,0x73,0x65])](_0x201303(_0x384dce)):null;}function _0x201303(_0x735562){return window[_0x5a4e71([0x61,0x74,0x6f,0x62])](_0x735562[_0x5a4e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a4e71([0x2b]))[_0x5a4e71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a4e71([0x2f])));}function _0x246c49(_0x1b9136){let _0x2b03c9=0x1505;function _0x3a5d7f(_0x41beec){for(let _0x67baa7=0x0;_0x67baa7<_0x41beec[_0x5a4e71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x67baa7++){const _0x14b5a9=_0x41beec[_0x5a4e71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x67baa7);_0x2b03c9=(_0x2b03c9<<0x5)+_0x2b03c9+_0x14b5a9,_0x2b03c9&=_0x2b03c9;}}function _0x1486d6(_0xe049ab){Array[_0x5a4e71([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xe049ab)?_0xe049ab[_0x5a4e71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1486d6):_0xe049ab&&typeof _0xe049ab==_0x5a4e71([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a4e71([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xe049ab)[_0x5a4e71([0x73,0x6f,0x72,0x74])]()[_0x5a4e71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x111a93,_0x5c03c5])=>{_0x3a5d7f(_0x111a93),_0x1486d6(_0x5c03c5);}):_0x3a5d7f(window[_0x5a4e71([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xe049ab));}return _0x1486d6(_0x1b9136),_0x2b03c9>>>0x0;}function _0x47ecd3(_0x3de392){return _0x3de392[_0x5a4e71([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a4e71([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a4e71([0x30]));}function _0x56af71(_0x233ef3){return _0x233ef3[_0x5a4e71([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a4e71([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a4e71([0x6a,0x6f,0x69,0x6e])]('');}function _0x425dd2(){}function _0x5a4e71(_0x3b98c8){return _0x3b98c8['map'](_0x471978=>String['fromCharCode'](_0x471978))['join']('');}_0x54be2e(await _0x21eee9());}(this);}['_moveSelectionToFootnoteDefinition'](_0x12c3cc){const {plugins:_0x2d5a95,editing:_0x3c5914,model:_0x203467}=this['editor'],_0x5d40f1=_0x2d5a95['get'](f)['getFootnote'](_0x12c3cc);return!!_0x5d40f1&&(_0x203467['change'](_0x620e3=>{_0x620e3['setSelection'](_0x620e3['createPositionAt'](_0x5d40f1['definition'],'end'));}),_0x3c5914['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x574d05){const {plugins:_0x154f84,editing:_0x47961c,model:_0x3a047a}=this['editor'],_0x4ab184=_0x154f84['get'](f)['getFootnote'](_0x574d05);return!!_0x4ab184&&(_0x3a047a['change'](_0x185a78=>{_0x185a78['setSelection'](_0x4ab184['reference'],'on');}),_0x47961c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2bb4e6}=this['editor']['model'],_0x3ebde=this['editor']['config']['get']('footnotes.multiBlock');_0x2bb4e6['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2bb4e6['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2bb4e6['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3ebde?_0x2bb4e6['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2bb4e6['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2bb4e6['addChildCheck'](_0x3621df=>{for(const _0x587986 of _0x3621df)if('footnoteDefinition'===_0x587986['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x125869}=this,{conversion:_0x5c4b41,editing:_0x30e910}=_0x125869,{t:t}=_0x125869['locale'];_0x5c4b41['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2d676d,{writer:_0x520247,consumable:_0x192445})=>{const _0x13c678=_0x2d676d['getChild'](0x0);if(!_0x13c678||!_0x13c678['is']('element','a'))return null;const _0x1945be=_0x13c678['getAttribute']('href')||'';if(!_0x1945be['startsWith']('#'))return null;const _0x440c3e=_0x1945be['replace'](/^#/,'');if(!_0x440c3e)return null;_0x192445['consume'](_0x13c678,{'name':!0x0,'attributes':['href']});for(const {item:_0x48c6ad}of _0x30e910['view']['createRangeIn'](_0x13c678))_0x48c6ad['is']('$textProxy')?_0x192445['consume'](_0x48c6ad['textNode'],{'name':!0x0}):_0x48c6ad['is']('element')&&_0x192445['consume'](_0x48c6ad,{'name':!0x0});return _0x520247['createElement']('footnoteRef',{'footnoteId':_0x440c3e});}}),_0x5c4b41['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4b4691,{writer:_0x173b71})=>D(_0x4b4691,_0x173b71)}),_0x5c4b41['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3e1d76,{writer:_0x279bb4})=>{const _0x4b5aa8=_0x3e1d76['getAttribute']('footnoteCounter');return _0x3606c9(D(_0x3e1d76,_0x279bb4),_0x279bb4,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4b5aa8)});}});}['_defineDefinitionsConverters'](){const {editor:_0x420f9f}=this,{t:t}=_0x420f9f['locale'],{conversion:_0x51f001}=_0x420f9f;_0x51f001['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x51f001['for']('upcast')['add'](_0x477a9c=>{_0x477a9c['on']('element:ol',(_0x5db8f1,_0x19a183,_0x23d3a1)=>{const _0x50fd04=_0x19a183['viewItem'];if(!_0x50fd04['hasClass']('footnotes-list')||!_0x19a183['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x23d3a1['consumable']['consume'](_0x50fd04,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3f8772,modelCursor:_0x203d6e}=_0x23d3a1['convertChildren'](_0x19a183['viewItem'],_0x19a183['modelCursor']);_0x19a183['modelRange']=_0x3f8772,_0x19a183['modelCursor']=_0x203d6e;}),_0x477a9c['on']('element:hr',(_0x2e8b73,_0x42ba82,_0x4ce954)=>{const _0x45ba21=_0x42ba82['viewItem'];_0x45ba21['hasClass']('footnotes-divider')&&_0x42ba82['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4ce954['consumable']['consume'](_0x45ba21,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x51f001['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2fef47,{writer:_0x40e0ca})=>v(_0x40e0ca)}),_0x51f001['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4c3fb1,{writer:_0x16abfc})=>{const _0x3cd911=v(_0x16abfc,{'data-footnotes-list-label':t('Footnotes')}),_0xfc9641=_0x3606c9(_0x3cd911,_0x16abfc,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x16abfc['setCustomProperty']('footnotesDefinitions',!0x0,_0xfc9641),_0xfc9641;}});}['_defineDefinitionConverters'](){const {editor:_0x54b9ba}=this,{conversion:_0x137b8e,locale:_0x2db8c1}=_0x54b9ba,_0x3c1124=_0x54b9ba['config']['get']('footnotes.multiBlock');_0x137b8e['for']('upcast')['add'](_0x1b364c=>{_0x1b364c['on']('element:li',(_0x203bc4,_0x2ffef6,_0x115a05)=>{const _0xc91b4d=_0x2ffef6['viewItem'];if(!_0xc91b4d['hasClass']('footnote-definition')||!_0xc91b4d['getAttribute']('id'))return;const _0x188294=_0xc91b4d['parent'];if(!_0x188294['is']('element','ol')||!_0x188294['hasClass']('footnotes-list'))return;if(!_0x115a05['consumable']['test'](_0xc91b4d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x56f57c=_0x115a05['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xc91b4d['getAttribute']('id')});if(!_0x115a05['safeInsert'](_0x56f57c,_0x2ffef6['modelCursor']))return;_0x115a05['consumable']['consume'](_0xc91b4d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0xcfaab9=Array['from'](_0xc91b4d['getChildren']())['find'](_0x22c621=>_0x22c621['is']('element')&&_0x22c621['hasClass']('footnote-content'));for(const _0x5b7631 of _0xc91b4d['getChildren']())_0x5b7631['is']('element')&&(_0x115a05['consumable']['consume'](_0x5b7631,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x115a05['consumable']['consume'](_0x5b7631,{'name':!0x0,'classes':'footnote-content'}));if(_0xcfaab9){if(_0x3c1124)_0x115a05['convertChildren'](_0xcfaab9,_0x56f57c);else{const _0x39a3cc=_0x115a05['writer']['createElement']('footnoteInlineContent');_0x115a05['writer']['insert'](_0x39a3cc,_0x56f57c),_0x115a05['convertChildren'](_0xcfaab9,_0x39a3cc);}}_0x115a05['updateConversionResult'](_0x56f57c,_0x2ffef6);});}),_0x137b8e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2a196a,{writer:_0x298325})=>b(_0x2a196a,_0x298325,_0x2db8c1,{'dataPipeline':!0x0})}),_0x137b8e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x70b7b6,{writer:_0x4b4fd1})=>b(_0x70b7b6,_0x4b4fd1,_0x2db8c1)});}['_defineBogusParagraphConverters'](){const {editor:_0x4c79ca}=this,{conversion:_0x22000d}=_0x4c79ca;_0x4c79ca['config']['get']('footnotes.multiBlock')?(_0x22000d['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x22000d['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4c79ca['model']['document'],'change:data',()=>{!function(_0x85751d,_0x3840b9){const _0xd55c1a=_0x85751d['document']['differ'],_0x3474fa=new Set();for(const _0x4a2706 of _0xd55c1a['getChanges']()){const _0x516012='attribute'==_0x4a2706['type']?_0x4a2706['range']['start']['parent']:_0x4a2706['position']['parent'];_0x516012['is']('element','footnoteDefinition')&&_0x3474fa['add'](_0x516012);}for(const _0x51874b of _0x3474fa['values']()){const _0x17d8a1=Array['from'](_0x51874b['getChildren']())['filter'](_0x3ee332=>g(_0x3ee332,_0x3840b9['mapper']));for(const _0x3175a9 of _0x17d8a1)_0x3840b9['reconvertItem'](_0x3175a9);}}(_0x4c79ca['model'],_0x4c79ca['editing']);})):(_0x22000d['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x22000d['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xd26074,{writer:_0x577162})=>{const _0x507706=_0x577162['createContainerElement']('span');return _0x577162['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x507706),_0x507706;}}));}['_defineKeyboardHandlers'](){const {editor:_0x494c2a}=this,{editing:_0x2ba272,t:t}=_0x494c2a,_0x4a4b91=_0x494c2a['model']['document']['selection'];_0x494c2a['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x494c2a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2ba272['view']['document'],'enter',(_0x29f332,_0x1348d5)=>{const _0x420031=function(_0x251530){const _0xcf3f16=_0x251530['getSelectedElement']();if(_0xcf3f16?.['is']('element','footnoteRef'))return _0xcf3f16;return null;}(_0x4a4b91);if(_0x420031){const _0x2768a9=_0x420031['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2768a9),_0x1348d5['preventDefault'](),_0x29f332['stop']();}},{'context':_0x131354});}['_defineClickHandlers'](){const {editor:_0x948024}=this,{editing:_0x21ed4a}=_0x948024;_0x948024['editing']['view']['addObserver'](_0x58b2b1),_0x948024['editing']['view']['addObserver'](_0x2b2e4d);let _0x90f780=!0x1;this['listenTo'](_0x21ed4a['view']['document'],'pointerdown',(_0x4b64ef,_0x215472)=>{const {target:_0xdb0bcc}=_0x215472,_0x2f9247=_0x21ed4a['view']['document']['selection'];_0x90f780=!!(_0xdb0bcc?.['is']('element','a')&&_0xdb0bcc['parent']?.['is']('element','sup')&&_0xdb0bcc['parent']['hasClass']('footnote'))&&_0x2f9247['getSelectedElement']()===_0xdb0bcc['parent'];},{'priority':'high'}),this['listenTo'](_0x21ed4a['view']['document'],'click',(_0x35058f,_0x2f39cb)=>{const {target:_0x53bc92}=_0x2f39cb;if(!_0x53bc92?.['is']('element','a'))return;if(_0x53bc92['parent']?.['is']('element','sup')&&_0x53bc92['parent']['hasClass']('footnote')&&!_0x90f780)return void _0x2f39cb['preventDefault']();let _0x41dac0=_0x53bc92['getAttribute']('href');if(!_0x41dac0?.['startsWith']('#'))return;_0x41dac0=_0x41dac0['slice'](0x1);let _0x4225f1=!0x1;(_0x41dac0['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x41dac0['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x41dac0))&&(_0x4225f1=!0x0),_0x4225f1&&(_0x2f39cb['preventDefault'](),_0x35058f['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x378a45}={}){return(_0x5191e3,{writer:_0x15299f})=>{if(!p(_0x5191e3))return null;if(!_0x378a45)return _0x15299f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4c0acf=_0x15299f['createContainerElement']('p');return _0x15299f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4c0acf),_0x4c0acf;};}function p(_0x4e12f7){const {parent:_0xae0820}=_0x4e12f7;if(!_0xae0820?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xae0820['childCount'])return!0x1;for(const _0x5c2b44 of _0x4e12f7['getAttributeKeys']())if(!_0x5c2b44['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5c2b44)return!0x1;return!0x0;}function g(_0xacde9d,_0x5475d7){if(!_0xacde9d['is']('element','paragraph'))return!0x1;const _0x444a3d=_0x5475d7['toViewElement'](_0xacde9d);return!!_0x444a3d&&p(_0xacde9d)!==_0x444a3d['is']('element','span');}function J(_0x9dcf57){return _0x131354(_0x9dcf57)&&_0x9dcf57['is']('containerElement')&&!!_0x9dcf57['getCustomProperty']('footnotesDefinitions');}function v(_0x4bd714,_0x2f88c2={}){const _0x14b000=_0x4bd714['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1d5880=_0x4bd714['createContainerElement']('ol',{'class':'footnotes-list'},_0x4bd714['createSlot']());return _0x4bd714['createContainerElement']('div',{'class':'footnotes',..._0x2f88c2},[_0x14b000,_0x1d5880]);}function D(_0x59a49f,_0x598dc7){const _0x19e7ce=_0x59a49f['getAttribute']('footnoteId'),_0x1fd4c6=_0x59a49f['getAttribute']('footnoteCounter'),_0x2a896c=_0x598dc7['createUIElement']('a',{'href':'#'+_0x19e7ce},function(_0x429997){const _0x17ee5c=this['toDomElement'](_0x429997);return _0x17ee5c['textContent']=_0x1fd4c6,_0x17ee5c;}),_0x9df478=_0x598dc7['createContainerElement']('sup',{'id':'ref-'+_0x19e7ce,'class':'footnote'},[_0x2a896c]);return _0x9df478['getFillerOffset']=()=>null,_0x9df478;}function b(_0x551f7e,_0x2026c8,_0xf60f5b,{dataPipeline:_0x4ab9ae}={}){const {t:t}=_0xf60f5b,_0x4e4d51=_0x551f7e['getAttribute']('footnoteId'),_0x1afbe7=_0x2026c8['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4e4d51},function(_0xe7cd55){const _0xbbb851=this['toDomElement'](_0xe7cd55);return _0xbbb851['innerText']='^',_0xbbb851;}),_0xb71959=_0x4ab9ae?_0x2026c8['createContainerElement']('div',{'class':'footnote-content'}):_0x1df609(_0x2026c8['createEditableElement']('div',{'class':'footnote-content'}),_0x2026c8,{'label':t('Footnote\x20content.')});return _0x2026c8['insert'](_0x2026c8['createPositionAt'](_0xb71959,0x0),_0x2026c8['createSlot']()),_0x2026c8['createContainerElement']('li',{'class':'footnote-definition','id':_0x4e4d51},[_0x1afbe7,_0xb71959]);}class e extends _0x4b67c2{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x444137];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x502070}=this,{plugins:_0x5ccd38,model:_0xabe5df}=_0x502070,_0x1c91cc=_0x5ccd38['get'](_0x444137),_0x677373=_0x5ccd38['get'](f);this['listenTo'](_0x1c91cc,'outputTransformation',(_0x54454e,_0x693774)=>{const _0x5df3b5=c(_0xabe5df['createRangeIn'](_0x693774['content']));if(!_0x5df3b5['length'])return;const _0x4b4f55=_0x677373['getFootnotes'](),_0x5b1041=_0x5df3b5['reduce']((_0x21d100,_0x1d06db)=>{const _0x5db1e8=_0x4b4f55['find'](_0x3b224c=>_0x3b224c['id']===_0x1d06db);if(_0x5db1e8){const _0x5a3780=_0x502070['data']['toView'](_0x5db1e8['definition'],{'isClipboardPipeline':!0x0}),_0x21a81a=_0x502070['data']['htmlProcessor']['toData'](_0x5a3780);_0x21d100[_0x5db1e8['id']]=_0x21a81a;}return _0x21d100;},Object['create'](null));_0x693774['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5b1041));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x174ce7}=this,{model:_0x3472e9,plugins:_0x14014a}=_0x174ce7,{view:_0x10efd8}=_0x174ce7['editing'],_0x2ba664=_0x14014a['get'](_0x444137),_0x5c7b27=_0x14014a['get'](f),_0x5de886=_0x174ce7['config']['get']('footnotes.multiBlock');let _0x48339b=null;this['listenTo'](_0x10efd8['document'],'clipboardInput',(_0x62c154,_0x38d1cd)=>{const _0x5af55b=_0x38d1cd['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x48339b=_0x5af55b?JSON['parse'](_0x5af55b):null;}),this['listenTo'](_0x2ba664,'contentInsertion',(_0x2bf743,_0x4639c2)=>{const _0x54b89e=_0x4639c2['sourceEditorId']===this['editor']['id'];_0x54b89e&&'drop'===_0x4639c2['method']||_0x3472e9['change'](_0x120390=>{let _0x2c8a97=_0x5c7b27['getFootnotesDefinitionsObjectElement']();const _0x1d7449=!!_0x2c8a97&&Array['from'](_0x3472e9['document']['selection']['getSelectedBlocks']())['includes'](_0x2c8a97);if((_0x2c8a97&&!_0x1d7449||!_0x2c8a97&&!_0x48339b)&&function(_0x44588f,_0x3fd063){const _0x1a687e=[];for(const {item:_0x33cdf0}of _0x44588f['createRangeIn'](_0x3fd063))_0x33cdf0['is']('element','footnotesDefinitions')&&_0x1a687e['push'](_0x33cdf0);for(const _0x1e0ea9 of _0x1a687e)_0x44588f['remove'](_0x1e0ea9);}(_0x120390,_0x4639c2['content']),!_0x48339b)return;const {selection:_0xf1b6c8}=_0x3472e9['document'],_0x302fd7=_0xf1b6c8['getFirstRange']()['root'];_0x2c8a97&&!_0x1d7449||(_0x2c8a97=function(_0x1f3e09,_0x2cb6ce){for(const {item:_0x1f2b6b}of _0x1f3e09['createRangeIn'](_0x2cb6ce))if(_0x1f2b6b['is']('element','footnotesDefinitions'))return _0x1f2b6b;return null;}(_0x120390,_0x4639c2['content']),_0x2c8a97||=_0x5c7b27['_insertEmptyFootnotesDefinitionsContainer'](_0x120390,_0x302fd7));const _0x415d03=Array['from'](_0xf1b6c8['getRanges']())['flatMap'](c),_0xb4c2b7=function(_0x337ff9,_0x39ac33,_0x52a542){const _0x45e0f4=Object['create'](null);for(const {item:_0xa271bc}of _0x337ff9['createRangeIn'](_0x39ac33))if(_0xa271bc['is']('element','footnoteRef')){const _0x4966da=_0xa271bc['getAttribute']('footnoteId');if(!_0x52a542(_0x4966da))continue;_0x45e0f4[_0x4966da]||(_0x45e0f4[_0x4966da]=_0x5137b0()),_0x337ff9['setAttribute']('footnoteId',_0x45e0f4[_0x4966da],_0xa271bc);}return _0x45e0f4;}(_0x120390,_0x4639c2['content'],_0x835c5=>{if(!_0x54b89e)return!0x0;return!!_0x5c7b27['getFootnote'](_0x835c5)&&!_0x415d03['includes'](_0x835c5);});for(const [_0x436255,_0x1d875f]of Object['entries'](_0x48339b)){const _0x502be2=_0xb4c2b7[_0x436255]||_0x436255,_0x33b71a=_0x120390['createElement']('footnoteDefinition',{'footnoteId':_0x502be2}),_0x1e4604=_0x174ce7['data']['htmlProcessor']['toView'](_0x1d875f);let _0x42d60d;if(_0x5de886)_0x42d60d=_0x174ce7['data']['toModel'](_0x1e4604,_0x33b71a);else{_0x42d60d=_0x120390['createElement']('footnoteInlineContent');const _0x5da962=_0x174ce7['data']['toModel'](_0x1e4604,_0x42d60d);_0x120390['insert'](_0x5da962,_0x42d60d);}_0x120390['append'](_0x42d60d,_0x33b71a),_0x120390['insert'](_0x33b71a,_0x2c8a97,'end');}_0x48339b=null;});});}}function c(_0x4b16e6){const _0x38ad88=new Set();for(const {item:_0xddb427}of _0x4b16e6)_0xddb427['is']('element','footnoteRef')&&_0x38ad88['add'](_0xddb427['getAttribute']('footnoteId'));return Array['from'](_0x38ad88);}class i extends _0x4b67c2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x37e0d5}=this,{componentFactory:_0x10d3ee}=_0x37e0d5['ui'];_0x10d3ee['add']('insertFootnote',x(_0x37e0d5,_0x4657b1)),_0x10d3ee['add']('menuBar:insertFootnote',x(_0x37e0d5,_0x1f520d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x44bc35=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xa0af7;for(const _0x56cd34 in _0x44bc35){const _0x3d4b49=_0x56cd34,_0x2a9e90=_0x44bc35[_0x3d4b49];if('footnotesLicenseKeyValid'==_0x2a9e90||'footnotesLicenseKeyInvalid'==_0x2a9e90||'footnotesLicenseKeyExpired'==_0x2a9e90||'footnotesLicenseKeyDomainLimit'==_0x2a9e90||'footnotesLicenseKeyNotAllowed'==_0x2a9e90||'footnotesLicenseKeyEvaluationLimit'==_0x2a9e90||'footnotesLicenseKeyTrialLimit'==_0x2a9e90||'footnotesLicenseKeyUsageLimit'==_0x2a9e90){delete _0x44bc35[_0x3d4b49],_0xa0af7=_0x2a9e90,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xa0af7&&_0x44bc35['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xa0af7&&_0x44bc35['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xa0af7&&_0x44bc35['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xa0af7&&_0x44bc35['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xa0af7&&_0x44bc35['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0xa0af7&&_0x44bc35['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0xa0af7&&_0x44bc35['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2fbf38,_0x6d0413){const _0x2af725=_0x2fbf38['commands']['get']('insertFootnote');return _0x3001c3=>{const {t:t}=_0x3001c3,_0x28703d=new _0x6d0413(_0x3001c3),_0xa0a306=_0x28703d instanceof _0x1f520d;return _0x28703d['bind']('isEnabled')['to'](_0x2af725,'isEnabled'),_0x28703d['set']({'label':t(_0xa0a306?'Footnote':'Insert\x20footnote'),'icon':_0x5c3133,'tooltip':!0x0}),_0x28703d['on']('execute',()=>{_0x2af725['execute'](),_0x2fbf38['editing']['view']['focus']();}),_0x28703d;};}class lt extends _0x4b67c2{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const Q=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x2564d4{['refresh'](){const {editor:_0x36b286}=this,_0x387252=_0x36b286['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x387252,this['value']=_0x387252?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x1a0d46}){const {editor:_0xabd761}=this,_0x1d7484=_0xabd761['plugins']['get'](f),_0x4f68a9=_0x1d7484['getFootnotesDefinitionsObjectElement']();_0x4f68a9&&Q['includes'](_0x1a0d46)&&_0xabd761['model']['change'](_0x4771db=>{_0x4771db['setAttribute']('footnotesListStyle',_0x1a0d46,_0x4f68a9),_0x1d7484['_updateFootnotesCounters'](_0x4771db);});}}class C extends _0x2564d4{['refresh'](){const {editor:_0x27fbc1}=this,_0x1f53ad=_0x27fbc1['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x1f53ad,this['value']=_0x1f53ad?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x4ba00b}){const {editor:_0x555783}=this,_0x3cfd35=_0x555783['plugins']['get'](f),_0x2c369b=_0x3cfd35['getFootnotesDefinitionsObjectElement']();_0x2c369b&&Number['isInteger'](_0x4ba00b)&&_0x555783['model']['change'](_0x42bc4f=>{_0x42bc4f['setAttribute']('footnotesListStart',_0x4ba00b,_0x2c369b),_0x3cfd35['_updateFootnotesCounters'](_0x42bc4f);});}}class P extends _0x4b67c2{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xce90a6}=this;_0xce90a6['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0xce90a6['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0xce90a6['commands']['add']('footnotesStyle',new S(_0xce90a6)),_0xce90a6['commands']['add']('footnotesStart',new C(_0xce90a6)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1b631b}=this,{schema:_0x2bb55d}=_0x1b631b['model'];_0x2bb55d['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x13f684}=this,{conversion:_0x1dc47e,model:_0x1f69a6}=_0x13f684,{schema:_0x159598}=_0x1f69a6;_0x1dc47e['for']('upcast')['add'](_0x662668=>{_0x662668['on']('element:ol',(_0x2eca1,_0x83ce67,_0x4b9e93)=>{const _0x31bca1=_0x83ce67['viewItem'],_0x1e7c44=_0x83ce67['modelCursor']?.['parent'];_0x31bca1['hasClass']('footnotes-list')&&_0x1e7c44?.['is']('element','footnotesDefinitions')&&(function(_0x52d246,_0xdba1fe,_0x366332,_0x3b5625){if(!_0x3b5625['checkAttribute'](_0xdba1fe,'footnotesListStart'))return;let _0x1d6952=0x1;const _0x5e19af=_0x366332['consumable']['consume'](_0x52d246,{'attributes':'start'});if(_0x5e19af){const _0x56e119=Number['parseInt'](_0x52d246['getAttribute']('start'),0xa);Number['isNaN'](_0x56e119)||(_0x1d6952=_0x56e119);}!_0x5e19af&&_0xdba1fe['hasAttribute']('footnotesListStart')||_0x366332['writer']['setAttribute']('footnotesListStart',_0x1d6952,_0xdba1fe);}(_0x31bca1,_0x1e7c44,_0x4b9e93,_0x159598),function(_0x2bccc1,_0x52f6e7,_0x5b0e02,_0x2785fd){if(!_0x2785fd['checkAttribute'](_0x52f6e7,'footnotesListStyle'))return;let _0x27702c='decimal',_0x2fcaae=!0x1;if(_0x5b0e02['consumable']['consume'](_0x2bccc1,{'attributes':'type'})){const _0x860bb5={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x2bccc1['getAttribute']('type')];_0x860bb5&&(_0x27702c=_0x860bb5),_0x2fcaae=!0x0;}_0x5b0e02['consumable']['consume'](_0x2bccc1,{'styles':'list-style-type'})&&(_0x27702c=function(_0x1617fd){switch(_0x1617fd){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x1617fd;}}(_0x2bccc1['getStyle']('list-style-type')),_0x2fcaae=!0x0),!_0x2fcaae&&_0x52f6e7['hasAttribute']('footnotesListStyle')||_0x5b0e02['writer']['setAttribute']('footnotesListStyle',_0x27702c,_0x52f6e7);}(_0x31bca1,_0x1e7c44,_0x4b9e93,_0x159598));});}),_0x1dc47e['for']('downcast')['add'](_0x536f29=>{_0x536f29['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x288911,_0x4af7d8,_0x3e7381)=>{if(!_0x3e7381['consumable']['consume'](_0x4af7d8['item'],_0x288911['name']))return;const _0x8b49b0=M(_0x4af7d8['item'],_0x3e7381['mapper']),{attributeNewValue:_0x4df440}=_0x4af7d8;null==_0x4df440||0x1===_0x4df440?_0x3e7381['writer']['removeAttribute']('start',_0x8b49b0):_0x3e7381['writer']['setAttribute']('start',String(_0x4df440),_0x8b49b0);}),_0x536f29['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x1e69bc,_0x3dad66,_0x236a44)=>{if(!_0x236a44['consumable']['consume'](_0x3dad66['item'],_0x1e69bc['name']))return;const _0x50dfc5=M(_0x3dad66['item'],_0x236a44['mapper']),{attributeNewValue:_0x4beb86}=_0x3dad66;_0x4beb86&&'decimal'!==_0x4beb86?_0x236a44['writer']['setStyle']('list-style-type',_0x4beb86,_0x50dfc5):_0x236a44['writer']['removeStyle']('list-style-type',_0x50dfc5);});});}['_definePostfixer'](){const {editor:_0x599c54}=this,{model:_0x3c7537}=_0x599c54,_0x32d754=_0x599c54['plugins']['get'](f),_0x54a9f9=this['_getDefaultListStyle'](),_0x1b884e=this['_getDefaultStartIndex']();_0x3c7537['document']['registerPostFixer'](_0x29ecf1=>{const _0x5e7306=_0x3c7537['document']['differ']['getChanges']();let _0x9ca325=!0x1;for(const _0x4b934d of _0x5e7306){if('insert'!==_0x4b934d['type']||'$text'===_0x4b934d['name'])continue;const _0x1295c4=_0x3c7537['createRangeOn'](_0x4b934d['position']['nodeAfter']);for(const _0x590170 of _0x1295c4['getItems']())_0x590170['is']('element','footnotesDefinitions')&&(!_0x590170['hasAttribute']('footnotesListStart')&&_0x3c7537['schema']['checkAttribute'](_0x590170,'footnotesListStart')&&(_0x29ecf1['setAttribute']('footnotesListStart',_0x1b884e,_0x590170),_0x9ca325=!0x0),!_0x590170['hasAttribute']('footnotesListStyle')&&_0x3c7537['schema']['checkAttribute'](_0x590170,'footnotesListStyle')&&(_0x29ecf1['setAttribute']('footnotesListStyle',_0x54a9f9,_0x590170),_0x9ca325=!0x0));}return _0x9ca325&&_0x32d754['_updateFootnotesCounters'](_0x29ecf1),_0x9ca325;});}['_defineFormatter'](){const {editor:_0x286e5b}=this;_0x286e5b['plugins']['get'](f)['setFootnoteFormatter'](_0x3fcca9=>this['_formatFootnoteListValue'](_0x3fcca9));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x1c6071,value:_0x24f31a,digits:_0x9936d3}){const _0x36ac72=_0x1c6071['getAttribute']('footnotesListStyle'),_0x59b136=_0x1c6071['getAttribute']('footnotesListStart'),_0x54415a=Math['floor'](_0x24f31a)+(_0x59b136??0x1)-0x1;switch(_0x36ac72){case'decimal-leading-zero':return function(_0xdd8875,_0x170f9a){return String(_0xdd8875)['padStart'](_0x170f9a,'0');}(_0x54415a,Math['max'](0x2,_0x9936d3));case'lower-alpha':case'lower-latin':return N(_0x54415a,!0x1);case'upper-alpha':case'upper-latin':return N(_0x54415a,!0x0);case'lower-roman':return X(_0x54415a,!0x1);case'upper-roman':return X(_0x54415a,!0x0);default:return String(_0x54415a);}}}function M(_0x42e1ce,_0x35fbce){const _0x3a738d=_0x35fbce['toViewElement'](_0x42e1ce);return Array['from'](_0x3a738d['getChildren']())['find'](_0x398bc9=>_0x398bc9['is']('element','ol')&&_0x398bc9['hasClass']('footnotes-list'));}function N(_0x212611,_0x5b0669){let _0x3aca07='',_0x4a82dc=_0x212611;for(;_0x4a82dc>0x0;){const _0x19e93f=(_0x4a82dc-0x1)%0x1a;_0x3aca07=String['fromCharCode'](0x61+_0x19e93f)+_0x3aca07,_0x4a82dc=Math['floor']((_0x4a82dc-0x1)/0x1a);}return _0x5b0669?_0x3aca07['toUpperCase']():_0x3aca07;}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 X(_0x202346,_0x5ccdae){let _0xc3e205='',_0x7a690a=_0x202346;for(const {value:_0x180030,numeral:_0x474ea4}of V)for(;_0x7a690a>=_0x180030;)_0xc3e205+=_0x474ea4,_0x7a690a-=_0x180030;return _0x5ccdae?_0xc3e205:_0xc3e205['toLowerCase']();}class H extends _0x6cf942{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x36bc0b();['focusCycler'];constructor(_0x3c05ce,{styleButtonViews:_0x17dc66,styleGridAriaLabel:_0x1589db}){super(_0x3c05ce),(this['focusCycler']=new _0x1c798d({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x17dc66,_0x1589db),[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 _0x3260cd of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3260cd['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 _0x2b38a4=_0x10a648=>_0x10a648['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2b38a4),this['keystrokes']['set']('arrowleft',_0x2b38a4),this['keystrokes']['set']('arrowup',_0x2b38a4),this['keystrokes']['set']('arrowdown',_0x2b38a4);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x37a65b,_0x4b32d1){const _0x26ff7a=new _0x6cf942(this['locale']);return _0x26ff7a['children']=_0x26ff7a['createCollection'](),_0x26ff7a['children']['addMany'](_0x37a65b),_0x26ff7a['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4b32d1,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x26ff7a['children']}),_0x26ff7a['children']['delegate']('execute')['to'](this),_0x26ff7a['focus']=function(){for(const _0x34f813 of this['children'])if(_0x34f813 instanceof _0x4657b1&&_0x34f813['isOn'])return void _0x34f813['focus']();this['children']['first']['focus']();},_0x26ff7a['focusTracker']=new ot(),_0x26ff7a['keystrokes']=new rt(),_0x26ff7a['render'](),_0x26ff7a['keystrokes']['listenTo'](_0x26ff7a['element']),this['children']['add'](_0x26ff7a),_0x26ff7a;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x315307=this['_createStartIndexPropertyView'](),_0x1f0314=[_0x315307],_0x654cbb=new st(this['locale'],_0x1f0314);return _0x654cbb['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x654cbb['buttonView']['bind']('isEnabled')['toMany'](_0x1f0314,'isEnabled',(..._0x4ce59)=>_0x4ce59['some'](_0x47e2a9=>_0x47e2a9)),_0x654cbb['buttonView']['on']('change:isEnabled',(_0x390c27,_0x4b4867,_0x2d0228)=>{_0x2d0228||(_0x654cbb['isCollapsed']=!0x0);}),this['children']['add'](_0x654cbb),[_0x315307,_0x654cbb];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4ffd85=new it(this['locale'],et);return _0x4ffd85['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4ffd85['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4ffd85['fieldView']['on']('input',()=>{const _0x38cb96=_0x4ffd85['fieldView']['element'],_0x476e50=_0x38cb96['valueAsNumber'];Number['isNaN'](_0x476e50)?_0x4ffd85['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x38cb96['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x476e50}):_0x4ffd85['errorText']=t(_0x476e50<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4ffd85;}}class j extends _0x4b67c2{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x4d078f,_0x28cbf4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x36a423}=this,{componentFactory:_0x1f16b4}=_0x36a423['ui'];_0x36a423['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1f16b4['add']('footnotesStyle',function(_0x867a7e){return _0x42f193=>{const {t:t}=_0x42f193,_0x466a14=_0x867a7e['commands']['get']('footnotesStyle'),_0x1f4024=_0x4b98e2(_0x42f193),{buttonView:_0x104a5d}=_0x1f4024;return _0x1f4024['class']='ck-footnotes-styles-dropdown',_0x1f4024['bind']('isEnabled')['to'](_0x466a14,'isEnabled'),_0x104a5d['set']({'label':t('Footnotes\x20style'),'icon':_0x5c3133,'tooltip':!0x0}),_0x1f4024['once']('change:isOpen',()=>{const _0x342db5=function({editor:_0x4aa703,dropdownView:_0x1027f1}){const {t:t}=_0x4aa703['locale'],_0x182afd=t('Footnotes\x20definitions\x20styles'),_0x2bd6f4=function(_0x5efccd){const t=_0x5efccd['locale']['t'],_0x4861e3=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2f7224},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x52ce3b},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x137a18},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x31ffc2},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x677b16},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2faa94}];return _0x4861e3['map'](function(_0x4e994d){const _0x562da8=_0x4e994d['locale'];return({label:_0x5c737d,icon:_0x1973eb,tooltip:_0x4ce679,style:_0x293dcb})=>{const _0xcc6901=_0x4e994d['commands']['get']('footnotesStyle'),_0x54b61c=new _0x4657b1(_0x562da8);return _0x54b61c['set']({'label':_0x5c737d,'icon':_0x1973eb,'tooltip':_0x4ce679}),_0x54b61c['bind']('isOn')['to'](_0xcc6901,'value',_0xc04d6b=>_0xc04d6b===_0x293dcb),_0x54b61c['bind']('isEnabled')['to'](_0xcc6901,'isEnabled'),_0x54b61c['on']('execute',()=>{_0x4e994d['execute']('footnotesStyle',{'value':_0x293dcb}),_0x4e994d['editing']['view']['focus']();}),_0x54b61c;};}(_0x5efccd));}(_0x4aa703),_0xe5d0ce=new H(_0x4aa703['locale'],{'styleGridAriaLabel':_0x182afd,'styleButtonViews':_0x2bd6f4}),_0x252023=_0x4aa703['commands']['get']('footnotesStart');return _0xe5d0ce['startIndexFieldView']['bind']('isEnabled')['to'](_0x252023),_0xe5d0ce['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x252023),_0xe5d0ce['on']('footnotesListStart',(_0xae6ce9,_0x510add)=>{_0x4aa703['execute']('footnotesStart',{'value':_0x510add['startIndex']});}),_0xe5d0ce['delegate']('execute')['to'](_0x1027f1),_0xe5d0ce;}({'editor':_0x867a7e,'dropdownView':_0x1f4024});_0x1f4024['panelView']['children']['add'](_0x342db5);}),_0x1f4024;};}(_0x36a423));}['afterInit'](){const {editor:_0x4b4702}=this,{t:t}=_0x4b4702['locale'],_0x25db2b=_0x4b4702['plugins']['get'](_0x28cbf4),{defaultPositions:_0x12fc6e}=_0x29eca1;_0x25db2b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4b4702['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xc7b146=>{let _0x1edc45=_0xc7b146['getFirstPosition']()?.['parent'];return _0x1edc45?.['is']('$text')&&(_0x1edc45=_0x1edc45['parent']),_0x1edc45?.['is']('element')?_0x1edc45['findAncestor'](J):null;},'positions':[_0x12fc6e['southArrowNorth'],_0x12fc6e['southArrowNorthMiddleWest'],_0x12fc6e['southArrowNorthMiddleEast'],_0x12fc6e['southArrowNorthWest'],_0x12fc6e['southArrowNorthEast'],_0x12fc6e['northArrowSouth'],_0x12fc6e['northArrowSouthMiddleWest'],_0x12fc6e['northArrowSouthMiddleEast'],_0x12fc6e['northArrowSouthWest'],_0x12fc6e['northArrowSouthEast'],_0x12fc6e['viewportStickyNorth']]});}}class ft extends _0x4b67c2{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,m as InsertFootnoteCommand};
23
+ import{Plugin as _0x352caa,Command as _0x6d233a}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x3ba126,isWidget as _0xb08389,toWidgetEditable as _0x509021,WidgetToolbarRepository as _0x6de8f4}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x5a873e,logWarning as _0x4aa6c5,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x33cc45,ClickObserver as _0x3a7578}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x2679f7}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x22563e,ButtonView as _0x2b0496,View as _0x38df8b,ViewCollection as _0x1fa9dc,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x22ed8e,BalloonPanelView as _0x4ecc20,createDropdown as _0x4a9d71}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x4974f4,IconListStyleDecimal as _0x1b04a1,IconListStyleDecimalLeadingZero as _0xfea4bd,IconListStyleLowerRoman as _0x5442f8,IconListStyleUpperRoman as _0x1a412d,IconListStyleLowerLatin as _0x43062d,IconListStyleUpperLatin as _0xd5dc28}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x1f475e,_0xd37367){this['_model']=_0x1f475e,this['_elementName']=_0xd37367['elementName'],this['_getElementKey']=_0xd37367['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x186e04){const _0x4ba496=new Set(),_0x5ab222=new Map();for(const _0x6779fe of _0x186e04){if('insert'===_0x6779fe['type']&&'$text'!==_0x6779fe['name']&&_0x6779fe['position']['nodeAfter']){const _0x50bf47=this['_model']['createRangeOn'](_0x6779fe['position']['nodeAfter']);for(const _0x427d6d of _0x50bf47['getItems']()){if(!_0x427d6d['is']('element',this['_elementName']))continue;const _0x3ccdca=this['_getElementKey'](_0x427d6d);_0x5ab222['has'](_0x3ccdca)||_0x5ab222['set'](_0x3ccdca,[]),_0x5ab222['get'](_0x3ccdca)['push'](_0x427d6d);}}if('remove'===_0x6779fe['type']&&_0x6779fe['name']===this['_elementName']){const _0x204483=this['_getElementKey']({'getAttribute':_0x33a026=>_0x6779fe['attributes']['get'](_0x33a026)});_0x4ba496['add'](_0x204483);}}for(const [_0x2df27d,_0x501110]of this['_trackedElements'])'$graveyard'===_0x501110['root']['rootName']&&_0x4ba496['add'](_0x2df27d);for(const _0x33cf6f of _0x4ba496)this['_trackedElements']['delete'](_0x33cf6f);for(const [_0x5b9af7,_0x216efa]of _0x5ab222)this['_trackedElements']['set'](_0x5b9af7,_0x216efa[_0x216efa['length']-0x1]);const _0xfe821=new Set();for(const [_0x37c18a,_0x1cad90]of _0x5ab222)_0x4ba496['has'](_0x37c18a)&&(_0xfe821['add'](_0x1cad90[0x0]),_0x1cad90['length']>0x1?_0x5ab222['set'](_0x37c18a,_0x1cad90['slice'](0x1)):_0x5ab222['delete'](_0x37c18a),_0x4ba496['delete'](_0x37c18a));return{'removed':Array['from'](_0x4ba496),'inserted':Array['from'](_0x5ab222['values']())['flat'](),'moved':Array['from'](_0xfe821)};}}class f extends _0x352caa{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5edcd5){super(_0x5edcd5),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x14a4e2=>_0x14a4e2['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x41acf5=>_0x41acf5['getAttribute']('footnoteId')});}['init'](){const {editor:_0x3748cb}=this,{model:_0x2a6661,data:_0x40411a}=_0x3748cb;_0x2a6661['document']['registerPostFixer'](_0x3f8c46=>{const _0x148ab4=_0x2a6661['document']['differ']['getChanges']();let _0x40e4d7=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x3f8c46,_0x148ab4)&&(_0x40e4d7=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x3f8c46,_0x148ab4)&&(_0x40e4d7=!0x0),this['_handleFootnoteReferencesChanges'](_0x3f8c46,_0x148ab4)&&(_0x40e4d7=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x3f8c46)&&(_0x40e4d7=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x3f8c46)&&(_0x40e4d7=!0x0),this['_sortFootnoteDefinitions'](_0x3f8c46)&&(_0x40e4d7=!0x0),_0x40e4d7;}),this['listenTo'](_0x2a6661['document'],'change:data',()=>{_0x2a6661['enqueueChange']({'isUndoable':!0x1},_0x2bb95e=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x2bb95e);});},{'priority':'low'}),this['listenTo'](_0x40411a,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x46a42d){return this['_footnotes']['find'](_0x18bb75=>_0x18bb75['id']===_0x46a42d)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x1d6664){this['_footnoteFormatter']=_0x1d6664;}['_updateFootnotesCounters'](_0x6c85d8,_0x1e17fe=0x0){let _0x56e1e4=!0x1;for(let _0x189b12=_0x1e17fe;_0x189b12<this['_footnotes']['length'];_0x189b12++)this['_updateFootnoteRefCounter'](_0x6c85d8,_0x189b12)&&(_0x56e1e4=!0x0);return _0x56e1e4;}['_insertEmptyFootnotesDefinitionsContainer'](_0xcec93b,_0xc6213b){const _0x1ff8c1=_0xcec93b['createElement']('footnotesDefinitions',{});return _0xcec93b['append'](_0x1ff8c1,_0xc6213b),this['_footnotesDefinitions']=_0x1ff8c1,_0x1ff8c1;}['_ensureFootnotesDefinitionsContainerExists'](_0x1483ea){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x25f02a=this['_footnotes'][0x0]['reference']['root'],_0x127e4d=this['_insertEmptyFootnotesDefinitionsContainer'](_0x1483ea,_0x25f02a);for(const _0x1686a2 of this['_footnotes'])_0x1686a2['definition']['parent']||_0x1483ea['insert'](_0x1686a2['definition'],_0x127e4d,'end');this['_updateFootnotesCounters'](_0x1483ea);}['_handleFootnotesDefinitionsObjectChanges'](_0xca92fc,_0x955b4){let _0x4fa092=!0x1;const {inserted:_0x524980,removed:_0x4194b1,moved:_0x102875}=this['_footnoteDefsContainerTracker']['getChanges'](_0x955b4);if(_0x102875['length']&&(this['_footnotesDefinitions']=_0x102875[0x0]),_0x524980['length']){if(_0x524980['length']>0x1||this['_footnotesDefinitions']&&_0x524980['some'](_0x42dca3=>_0x42dca3!==this['_footnotesDefinitions'])){const _0x1b380f=_0xca92fc['createElement']('footnotesDefinitions',{}),_0x328908=[];this['_footnotesDefinitions']&&_0x328908['push'](this['_footnotesDefinitions']),_0x328908['push'](..._0x524980),_0xca92fc['insert'](_0x1b380f,_0x328908[0x0],'before');for(const _0x124d07 of _0x328908)_0xca92fc['move'](_0xca92fc['createRangeIn'](_0x124d07),_0xca92fc['createPositionAt'](_0x1b380f,'end')),_0xca92fc['remove'](_0x124d07);this['_footnotesDefinitions']=_0x1b380f,this['_updateFootnotesCounters'](_0xca92fc),_0x4fa092=!0x0;}else this['_footnotesDefinitions']=_0x524980[0x0];}if(_0x4194b1['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x3e9cd7 of this['_footnotes'])_0xca92fc['remove'](_0x3e9cd7['reference']),_0x4fa092=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x4fa092;}['_handleFootnoteDefinitionsChanges'](_0x1f6939,_0x5dd1a1){let _0x170e96=!0x1;const _0x2dd2a6=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x75761,moved:_0x2b95b9}=this['_footnoteDefsTracker']['getChanges'](_0x5dd1a1);for(const _0xc2cf86 of[..._0x2b95b9,..._0x75761]){const _0x5ee28e=_0xc2cf86['getAttribute']('footnoteId'),_0x550f3a=this['getFootnote'](_0x5ee28e);_0x550f3a&&(_0x550f3a['definition']=_0xc2cf86),_(_0x1f6939,_0x2dd2a6,_0xc2cf86)&&(_0x170e96=!0x0);}return _0x170e96;}['_handleFootnoteReferencesChanges'](_0x3f5d4f,_0x2cde5c){let _0x497ca7=!0x1;const {removed:_0x355546,inserted:_0x496f73,moved:_0x1a6470}=this['_footnoteRefsTracker']['getChanges'](_0x2cde5c);for(const _0x4f4430 of _0x355546)this['_handleRemoveFootnoteReferenceById'](_0x3f5d4f,_0x4f4430)&&(_0x497ca7=!0x0);for(const _0x10856c of _0x496f73)this['_handleInsertedFootnoteReference'](_0x3f5d4f,_0x10856c)&&(_0x497ca7=!0x0);for(const _0x5dbc1c of _0x1a6470)this['_handleMovedFootnoteReference'](_0x3f5d4f,_0x5dbc1c)&&(_0x497ca7=!0x0);return _0x497ca7;}['_handleFootnotesDefinitionsObjectSync'](_0xc58b5c){if(!this['_footnotesDefinitions'])return!0x1;let _0x513ae8=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x328de4=[];for(const _0x5727b7 of this['_footnotesDefinitions']['getChildren']()){const _0x8b1e7a=_0x5727b7['getAttribute']('footnoteId');this['getFootnote'](_0x8b1e7a)||(_0x328de4['unshift'](_0x5727b7),_0x513ae8=!0x0);}for(const _0x3756f4 of _0x328de4)_0xc58b5c['remove'](_0x3756f4);}const _0x4489b3=new Set(),_0x2c52ad=[];for(const _0x3b1924 of this['_footnotesDefinitions']['getChildren']()){const _0x1fd517=_0x3b1924['getAttribute']('footnoteId');_0x4489b3['has'](_0x1fd517)?(_0x2c52ad['unshift'](_0x3b1924),_0x513ae8=!0x0):_0x4489b3['add'](_0x1fd517);}for(const _0x16035f of _0x2c52ad)_0xc58b5c['remove'](_0x16035f);return this['_footnotesDefinitions']['childCount']||(_0xc58b5c['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x513ae8=!0x0),_0x513ae8;}['_handleInsertedFootnoteReference'](_0x45ce2e,_0x4be3e5){if(this['_footnotes']['find'](_0x22a3e1=>_0x22a3e1['reference']===_0x4be3e5))return!0x1;let _0x183cdf=!0x1;const _0x36fcac=_0x4be3e5['getAttribute']('footnoteId'),_0x399d37=this['_footnotes']['findIndex'](_0x3cf928=>_0x3cf928['id']===_0x36fcac);-0x1!==_0x399d37&&(_0x45ce2e['remove'](this['_footnotes'][_0x399d37]['reference']),this['_footnotes']['splice'](_0x399d37,0x1),_0x183cdf=!0x0);let _0x1b1332=this['_footnotesDefinitions']?function(_0x38851d,_0x3dee4f){for(const _0x939f40 of _0x38851d['getChildren']())if(_0x939f40['getAttribute']('footnoteId')===_0x3dee4f)return _0x939f40;return null;}(this['_footnotesDefinitions'],_0x36fcac):null;_0x1b1332||(_0x1b1332=_0x45ce2e['createElement']('footnoteDefinition',{'footnoteId':_0x36fcac}),this['_footnotesDefinitions']&&(_0x45ce2e['insert'](_0x1b1332,this['_footnotesDefinitions'],'end'),_0x183cdf=!0x0));const _0x44d582={'id':_0x36fcac,'reference':_0x4be3e5,'definition':_0x1b1332},_0x578897=I(this['editor']['model'],this['_footnotes'],_0x4be3e5);this['_footnotes']['splice'](_0x578897,0x0,_0x44d582);let _0x13c49e=_0x578897;return-0x1!==_0x399d37&&(_0x13c49e=Math['min'](_0x578897,_0x399d37)),this['_updateFootnotesCounters'](_0x45ce2e,_0x13c49e)&&(_0x183cdf=!0x0),_0x183cdf;}['_handleRemoveFootnoteReferenceById'](_0x52ca0f,_0x2725af){const _0x2ed947=this['_footnotes']['findIndex'](_0x520200=>_0x520200['id']===_0x2725af);if(-0x1===_0x2ed947)return!0x1;let _0x13c2a3=!0x1;const _0x8998f8=this['_footnotes'][_0x2ed947];return'$graveyard'!==_0x8998f8['definition']['root']['rootName']&&(_0x52ca0f['remove'](_0x8998f8['definition']),_0x13c2a3=!0x0),this['_footnotes']['splice'](_0x2ed947,0x1),this['_updateFootnotesCounters'](_0x52ca0f,_0x2ed947)&&(_0x13c2a3=!0x0),_0x13c2a3;}['_handleMovedFootnoteReference'](_0x1afc1f,_0x4720fb){const _0x385451=_0x4720fb['getAttribute']('footnoteId'),_0x490ebf=this['_footnotes']['findIndex'](_0x2eaf7f=>_0x2eaf7f['id']===_0x385451),_0x2c9835=this['_footnotes'][_0x490ebf];let _0x38dd2e=!0x1;_0x2c9835['reference']=_0x4720fb,this['_footnotes']['splice'](_0x490ebf,0x1);const _0xd3d47b=I(this['editor']['model'],this['_footnotes'],_0x4720fb);return this['_footnotes']['splice'](_0xd3d47b,0x0,_0x2c9835),this['_updateFootnotesCounters'](_0x1afc1f,Math['min'](_0x490ebf,_0xd3d47b))&&(_0x38dd2e=!0x0),_0x38dd2e;}['_updateFootnoteRefCounter'](_0x5f2e5c,_0x8ad77d){if(!this['_footnotesDefinitions'])return!0x1;const _0x54be4f=this['_footnotes'][_0x8ad77d];let _0x1de04d;return _0x1de04d=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x54be4f,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x8ad77d+0x1}):String(_0x8ad77d+0x1),_0x54be4f['reference']['getAttribute']('footnoteCounter')!=_0x1de04d&&(_0x5f2e5c['setAttribute']('footnoteCounter',_0x1de04d,_0x54be4f['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x3a390c){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x40c02f,_0x454715){if(_0x40c02f['length']!==_0x454715['length'])return!0x1;for(let _0x44b88a=0x0;_0x44b88a<_0x40c02f['length'];_0x44b88a++)if(_0x40c02f[_0x44b88a]!==_0x454715[_0x44b88a])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x13d56e=>_0x13d56e['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x3d7746=>_0x3d7746['getAttribute']('footnoteId'))))return!0x1;let _0x4c308f=!0x1;for(let _0x38b80e=0x0;_0x38b80e<this['_footnotes']['length'];_0x38b80e++){const _0x4fe6e8=this['_footnotes'][_0x38b80e],_0x1bd021=_0x3a390c['createPositionBefore'](_0x4fe6e8['definition']),_0x3aac90=_0x3a390c['createPositionAt'](this['_footnotesDefinitions'],_0x38b80e);_0x1bd021['isEqual'](_0x3aac90)||(_0x3a390c['move'](_0x3a390c['createRangeOn'](_0x4fe6e8['definition']),_0x3aac90),_0x4c308f=!0x0);}return _0x4c308f;}['_ensureFootnotesReferencesHaveProperOrder'](_0x347308){if(!this['_footnotes']['length'])return!0x1;const {model:_0x235d42}=this['editor'];let _0x5d7229=!0x1;for(let _0x9d2187=0x0;_0x9d2187<this['_footnotes']['length']-0x1;_0x9d2187++){const _0x47aa73=this['_footnotes'][_0x9d2187],_0x53f35d=this['_footnotes'][_0x9d2187+0x1],_0x210475=_0x235d42['createPositionBefore'](_0x47aa73['reference']),_0xc7c649=_0x235d42['createPositionBefore'](_0x53f35d['reference']);'after'===_0x210475['compareWith'](_0xc7c649)&&(this['_handleMovedFootnoteReference'](_0x347308,_0x47aa73['reference']),_0x9d2187=-0x1,_0x5d7229=!0x0);}return _0x5d7229;}}function _(_0x4e0af7,_0x184410,_0x3dd347){if(_0x3dd347['childCount'])return!0x1;const _0x296aa1=_0x184410?'paragraph':'footnoteInlineContent';return _0x4e0af7['insert'](_0x4e0af7['createElement'](_0x296aa1),_0x3dd347),!0x0;}function I(_0xb3b237,_0x7a6f46,_0x3fde33){if(0x0===_0x7a6f46['length'])return 0x0;const _0x260954=_0xb3b237['createPositionBefore'](_0x3fde33);for(let _0x4b8aeb=0x0;_0x4b8aeb<_0x7a6f46['length'];_0x4b8aeb++){const _0x472a51=_0x7a6f46[_0x4b8aeb],_0x321692=_0xb3b237['createPositionBefore'](_0x472a51['reference']);if('before'===_0x260954['compareWith'](_0x321692))return _0x4b8aeb;}const _0x2e1a84=_0x3fde33['root'];let _0x67dc33=-0x1;for(let _0x3f8ee8=_0x7a6f46['length']-0x1;_0x3f8ee8>=0x0;_0x3f8ee8--)if(_0x7a6f46[_0x3f8ee8]['reference']['root']===_0x2e1a84){_0x67dc33=_0x3f8ee8;break;}if(-0x1!==_0x67dc33)return _0x67dc33+0x1;const _0x38684e=_0xb3b237['document']['getRootNames'](),_0x51da44=_0x38684e['indexOf'](_0x2e1a84['rootName']),_0x1aafef=_0x38684e[_0x51da44+0x1];if(_0x1aafef){for(let _0x4ac8e3=0x0;_0x4ac8e3<_0x7a6f46['length'];_0x4ac8e3++)if(_0x7a6f46[_0x4ac8e3]['reference']['root']['rootName']===_0x1aafef)return _0x4ac8e3;}return _0x7a6f46['length'];}class h extends _0x6d233a{['refresh'](){const _0x33b338=this['editor']['model']['document']['selection'],_0x162fe2=this['_getPositionToInsertFootnote'](_0x33b338);this['isEnabled']=!!_0x162fe2;}['execute'](_0x1a2c7e){const {editor:_0x496e92}=this,{model:_0x554e71}=_0x496e92,{selection:_0x3543c5}=_0x554e71['document'],_0x153cf0=this['_getPositionToInsertFootnote'](_0x3543c5);if(!_0x153cf0)return;const _0x42112d=_0x496e92['plugins']['get']('FootnotesEditing'),_0x38d483=_0x1a2c7e?.['footnoteId']??_0x5a873e();!function(_0x1c95e2){return'string'==typeof _0x1c95e2&&_0x1c95e2['length']>0x0&&!/\s/['test'](_0x1c95e2)&&!/^\d/['test'](_0x1c95e2);}(_0x38d483)?_0x4aa6c5('insert-footnote-command-executed-with-invalid-id'):(_0x554e71['change'](_0x56b7f0=>{const _0x4d1964=_0x56b7f0['createElement']('footnoteRef',{'footnoteId':_0x38d483});_0x554e71['insertObject'](_0x4d1964,_0x153cf0,null);}),_0x42112d['_moveSelectionToFootnoteDefinition'](_0x38d483));}['_getPositionToInsertFootnote'](_0x79e225){const {model:_0x54f64}=this['editor'],{schema:_0x29bef3}=_0x54f64,_0x4dddcb=_0x79e225['getFirstRange']();for(const _0x3705fc of _0x4dddcb['getItems']())if(_0x29bef3['isBlock'](_0x3705fc)||_0x29bef3['isObject'](_0x3705fc))return null;const _0x339832=_0x4dddcb['end'];return _0x29bef3['checkChild'](_0x339832,'footnoteRef')?_0x339832:null;}}class r extends _0x352caa{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2aa399}=this;_0x2aa399['config']['define']('footnotes.multiBlock',!0x0),_0x2aa399['commands']['add']('insertFootnote',new h(_0x2aa399)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x187f2d){const _0x1bd05c=_0x4b836c([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]),_0x38c8a6=0x47a28506,_0xe2bc7b=0x47a5fb3e^_0x38c8a6,_0x2a1697=window[_0x4b836c([0x44,0x61,0x74,0x65])][_0x4b836c([0x6e,0x6f,0x77])](),_0x189348=_0x187f2d[_0x4b836c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x55b64=new window[(_0x4b836c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46e5df=>{_0x189348[_0x4b836c([0x6f,0x6e,0x63,0x65])](_0x4b836c([0x72,0x65,0x61,0x64,0x79]),_0x46e5df);}),_0x9bb99e={[_0x4b836c([0x6b,0x74,0x79])]:_0x4b836c([0x45,0x43]),[_0x4b836c([0x75,0x73,0x65])]:_0x4b836c([0x73,0x69,0x67]),[_0x4b836c([0x63,0x72,0x76])]:_0x4b836c([0x50,0x2d,0x32,0x35,0x36]),[_0x4b836c([0x78])]:_0x4b836c([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]),[_0x4b836c([0x79])]:_0x4b836c([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]),[_0x4b836c([0x61,0x6c,0x67])]:_0x4b836c([0x45,0x53,0x32,0x35,0x36])},_0x5effa5=_0x189348[_0x4b836c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4b836c([0x67,0x65,0x74])](_0x4b836c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3023e4(){let _0x4e60c0,_0x308639=null,_0x52042b=null;try{if(_0x5effa5==_0x4b836c([0x47,0x50,0x4c]))return _0x4b836c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4e60c0=_0x57b478(),!_0x4e60c0)return _0x4b836c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4e60c0[_0x4b836c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x52042b=_0x4da7f6(_0x4e60c0[_0x4b836c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4e60c0[_0x4b836c([0x6a,0x74,0x69])])),await _0x4751c()?_0x1dac69()?_0x7c2386()?_0x4b836c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x330b86()?(_0x4e60c0[_0x4b836c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4b836c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x308639=_0xfa71bb(_0x4b836c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x11a92e()):_0x4b836c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4b836c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4b836c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4b836c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7c2386(){const _0x478de0=[_0x4b836c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4b836c([0x74,0x72,0x69,0x61,0x6c])][_0x4b836c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e60c0[_0x4b836c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2a1697/0x3e8:0xe10*_0xe2bc7b;return _0x4e60c0[_0x4b836c([0x65,0x78,0x70])]<_0x478de0;}function _0x1dac69(){const _0x14dac4=_0x4e60c0[_0x4b836c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14dac4&&(!!_0x14dac4[_0x4b836c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b836c([0x2a]))||!!_0x14dac4[_0x4b836c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b836c([0x46,0x4f,0x4f])));}function _0x330b86(){const _0x2b680d=_0x4e60c0[_0x4b836c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2b680d||0x0==_0x2b680d[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c4f96}=new URL(window[_0x4b836c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2b680d[_0x4b836c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c4f96))return!0x0;const _0x38e816=_0x5c4f96[_0x4b836c([0x73,0x70,0x6c,0x69,0x74])](_0x4b836c([0x2e]));return _0x2b680d[_0x4b836c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1568e4=>_0x1568e4[_0x4b836c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b836c([0x2a])))[_0x4b836c([0x6d,0x61,0x70])](_0x4c521e=>_0x4c521e[_0x4b836c([0x73,0x70,0x6c,0x69,0x74])](_0x4b836c([0x2e])))[_0x4b836c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x299d8d=>_0x299d8d[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x38e816[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b836c([0x6d,0x61,0x70])](_0x195392=>Array(_0x38e816[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x195392[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4b836c([0x66,0x69,0x6c,0x6c])](_0x195392[0x0]===_0x4b836c([0x2a])?_0x4b836c([0x2a]):'')[_0x4b836c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x195392))[_0x4b836c([0x73,0x6f,0x6d,0x65])](_0x10df0f=>_0x38e816[_0x4b836c([0x65,0x76,0x65,0x72,0x79])]((_0x3da46a,_0x487849)=>_0x10df0f[_0x487849]===_0x3da46a||_0x10df0f[_0x487849]===_0x4b836c([0x2a])));}function _0x11a92e(){return _0x308639&&_0x52042b?new window[(_0x4b836c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x379a0a,_0x5f04d6)=>{_0x308639[_0x4b836c([0x74,0x68,0x65,0x6e])](_0x379a0a,_0x5f04d6),_0x52042b[_0x4b836c([0x74,0x68,0x65,0x6e])](_0x112444=>{_0x112444!=_0x4b836c([0x56,0x61,0x6c,0x69,0x64])&&_0x379a0a(_0x112444);},_0x5f04d6);}):_0x308639||_0x52042b||_0x4b836c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4da7f6(_0x38a542,_0x1f69ec){return new window[(_0x4b836c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4339a7=>{if(_0x1fcc03())return _0x4339a7(_0x4b836c([0x56,0x61,0x6c,0x69,0x64]));_0x4ff1c3(),_0x189348[_0x4b836c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4b836c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3148dd=!0x1;const _0x5a062b=_0x5a873e();function _0x18910a(_0x4852a3){return!!_0x4852a3&&(typeof _0x4852a3===_0x4b836c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4852a3===_0x4b836c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4852a3[_0x4b836c([0x74,0x68,0x65,0x6e])]===_0x4b836c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4852a3[_0x4b836c([0x63,0x61,0x74,0x63,0x68])]===_0x4b836c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1c2deb(_0x3acf07){_0xeb26a0(_0x3acf07)[_0x4b836c([0x74,0x68,0x65,0x6e])](_0x4452d1=>{if(!_0x4452d1||_0x4452d1[_0x4b836c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4b836c([0x6f,0x6b]))return _0x4b836c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x475dff(_0x5114dc(_0x5a062b+_0x1f69ec))!=_0x4452d1[_0x4b836c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4b836c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4b836c([0x56,0x61,0x6c,0x69,0x64]);})[_0x4b836c([0x74,0x68,0x65,0x6e])](_0x177b81=>(_0x2ae42c(),_0x177b81),()=>{const _0x44cc87=_0x37ee05();return null==_0x44cc87?(_0x2ae42c(),_0x4b836c([0x56,0x61,0x6c,0x69,0x64])):_0x4b836c(_0x2a1697-_0x44cc87>(0x63ae0106^_0x38c8a6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4b836c([0x74,0x68,0x65,0x6e])](_0x4339a7)[_0x4b836c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4339a7(_0x4b836c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a07a2=0x47946b86^_0x38c8a6;function _0x2ae42c(){const _0x221eca=_0x4b836c([0x6c,0x6c,0x63,0x74,0x2d])+_0x475dff(_0x5114dc(_0x38a542)),_0x1de00c=_0x4e76c9(_0x475dff(window[_0x4b836c([0x4d,0x61,0x74,0x68])][_0x4b836c([0x63,0x65,0x69,0x6c])](_0x2a1697/_0x2a07a2)));window[_0x4b836c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b836c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x221eca,_0x1de00c);}function _0x37ee05(){const _0x3f9dd1=_0x4b836c([0x6c,0x6c,0x63,0x74,0x2d])+_0x475dff(_0x5114dc(_0x38a542)),_0x4ffb61=window[_0x4b836c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4b836c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f9dd1);return _0x4ffb61?window[_0x4b836c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e76c9(_0x4ffb61),0x10)*_0x2a07a2:null;}function _0xeb26a0(_0x20dae8){return new window[(_0x4b836c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x139bf8,_0x59819a)=>{_0x20dae8[_0x4b836c([0x74,0x68,0x65,0x6e])](_0x139bf8,_0x59819a),window[_0x4b836c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x59819a,0x47a351c6^_0x38c8a6);});}}_0x189348[_0x4b836c([0x6f,0x6e])](_0x4b836c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13aa2b,_0x50b1f3)=>{if(_0x50b1f3[0x0]!=_0x38a542)return _0x4339a7(_0x4b836c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x50b1f3[0x1]={..._0x50b1f3[0x1],[_0x4b836c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a062b};},{[_0x4b836c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b836c([0x68,0x69,0x67,0x68])}),_0x189348[_0x4b836c([0x6f,0x6e])](_0x4b836c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c7070=>{_0x18910a(_0x2c7070[_0x4b836c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3148dd=!0x0,_0x1c2deb(_0x2c7070[_0x4b836c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4b836c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4b836c([0x6c,0x6f,0x77])}),_0x55b64[_0x4b836c([0x74,0x68,0x65,0x6e])](()=>{_0x3148dd||_0x4339a7(_0x4b836c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1fcc03(){return _0x189348[_0x4b836c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b836c([0x76,0x69,0x65,0x77])][_0x4b836c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4b836c([0x61,0x75,0x74,0x6f]);}function _0x4ff1c3(){_0x189348[_0x4b836c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4b836c([0x76,0x69,0x65,0x77])][_0x4b836c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4b836c([0x61,0x75,0x74,0x6f]);}}function _0xfa71bb(_0x4b7542){const _0x3c8081=[new window[(_0x4b836c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x378c71=>setTimeout(_0x378c71,0x47abbbca^_0x38c8a6)),_0x55b64[_0x4b836c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4b836c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x540611=>{let _0x3178aa=0x0;_0x189348[_0x4b836c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b836c([0x6f,0x6e])](_0x4b836c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xa0c094,_0x5b38ad)=>{_0x5b38ad[0x0][_0x4b836c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3178aa++,_0x3178aa==(0x47a280ee^_0x38c8a6)&&(_0x540611(),_0xa0c094[_0x4b836c([0x6f,0x66,0x66])]());});}))];return window[_0x4b836c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4b836c([0x72,0x61,0x63,0x65])](_0x3c8081)[_0x4b836c([0x74,0x68,0x65,0x6e])](()=>_0x4b7542);}async function _0x4b165e(){await _0x55b64,_0x189348[_0x4b836c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b836c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x155200,_0x189348[_0x4b836c([0x6d,0x6f,0x64,0x65,0x6c])][_0x4b836c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x155200,_0x189348[_0x4b836c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4b836c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8cacfd(_0x3430ae){const _0x5f5a1b=_0x3f45df();_0x189348[_0x5f5a1b]=_0x4b836c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3430ae,_0x3430ae!=_0x4b836c([0x56,0x61,0x6c,0x69,0x64])&&_0x4b165e();}function _0x3f45df(){const _0x566738=window[_0x4b836c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4b836c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4b836c([0x6e,0x6f,0x77])]())[_0x4b836c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4b836c([0x2e]),'');let _0x384d04=_0x4b836c([0x75]);for(let _0x44375a=0x0;_0x44375a<_0x566738[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44375a+=0x2){let _0x91041e=window[_0x4b836c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x566738[_0x4b836c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44375a,_0x44375a+0x2));_0x91041e>=_0x1bd05c[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x91041e-=_0x1bd05c[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x384d04+=_0x1bd05c[_0x91041e];}return _0x384d04;}function _0x57b478(){const _0x3f69e3=_0x5effa5[_0x4b836c([0x73,0x70,0x6c,0x69,0x74])](_0x4b836c([0x2e]));if(0x3!=_0x3f69e3[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x6821d4(_0x3f69e3[0x1]);function _0x6821d4(_0x3a36fb){const _0x4e9ba1=_0x47fc9c(_0x3a36fb);return _0x4e9ba1&&_0xf385e3()?_0x4e9ba1:null;function _0xf385e3(){const _0x3162f5=_0x4e9ba1[_0x4b836c([0x6a,0x74,0x69])],_0x2f9ad6=window[_0x4b836c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3162f5[_0x4b836c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3162f5[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x353e64={..._0x4e9ba1,[_0x4b836c([0x6a,0x74,0x69])]:_0x3162f5[_0x4b836c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3162f5[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x353e64[_0x4b836c([0x76,0x63])],_0x5114dc(_0x353e64)==_0x2f9ad6;}}}async function _0x4751c(){let _0x1d35a2=!0x0;try{const _0x14797f=_0x5effa5[_0x4b836c([0x73,0x70,0x6c,0x69,0x74])](_0x4b836c([0x2e])),[_0x250ee5,_0x2a0c90,_0xb849d7]=_0x14797f;return _0x119ac3(_0x250ee5),await _0x520d54(_0x250ee5,_0x2a0c90,_0xb849d7),_0x1d35a2;}catch{return!0x1;}function _0x119ac3(_0x20706c){const _0x46fc0c=_0x47fc9c(_0x20706c);_0x46fc0c&&_0x46fc0c[_0x4b836c([0x61,0x6c,0x67])]==_0x4b836c([0x45,0x53,0x32,0x35,0x36])||(_0x1d35a2=!0x1);}async function _0x520d54(_0x3a125c,_0x4a82ec,_0x3b0d50){const _0x2319b3=window[_0x4b836c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4b836c([0x66,0x72,0x6f,0x6d])](_0xc53535(_0x3b0d50),_0x5f1553=>_0x5f1553[_0x4b836c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x417dc8=new window[(_0x4b836c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4b836c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3a125c+_0x4b836c([0x2e])+_0x4a82ec),_0x31bc48=window[_0x4b836c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4b836c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x31bc48)return;const _0x2309ab=await _0x31bc48[_0x4b836c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4b836c([0x6a,0x77,0x6b]),_0x9bb99e,{[_0x4b836c([0x6e,0x61,0x6d,0x65])]:_0x4b836c([0x45,0x43,0x44,0x53,0x41]),[_0x4b836c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4b836c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4b836c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x31bc48[_0x4b836c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4b836c([0x6e,0x61,0x6d,0x65])]:_0x4b836c([0x45,0x43,0x44,0x53,0x41]),[_0x4b836c([0x68,0x61,0x73,0x68])]:{[_0x4b836c([0x6e,0x61,0x6d,0x65])]:_0x4b836c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2309ab,_0x2319b3,_0x417dc8)||(_0x1d35a2=!0x1);}}function _0x47fc9c(_0x5af7c5){return _0x5af7c5[_0x4b836c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4b836c([0x65,0x79]))?JSON[_0x4b836c([0x70,0x61,0x72,0x73,0x65])](_0xc53535(_0x5af7c5)):null;}function _0xc53535(_0x2d31ea){return window[_0x4b836c([0x61,0x74,0x6f,0x62])](_0x2d31ea[_0x4b836c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4b836c([0x2b]))[_0x4b836c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4b836c([0x2f])));}function _0x5114dc(_0x6efcbb){let _0x550c42=0x1505;function _0x4b8dda(_0x1a00bd){for(let _0x5a6ad7=0x0;_0x5a6ad7<_0x1a00bd[_0x4b836c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a6ad7++){const _0x101935=_0x1a00bd[_0x4b836c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5a6ad7);_0x550c42=(_0x550c42<<0x5)+_0x550c42+_0x101935,_0x550c42&=_0x550c42;}}function _0x2f7c2d(_0xd1db07){Array[_0x4b836c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xd1db07)?_0xd1db07[_0x4b836c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2f7c2d):_0xd1db07&&typeof _0xd1db07==_0x4b836c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4b836c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xd1db07)[_0x4b836c([0x73,0x6f,0x72,0x74])]()[_0x4b836c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x364c48,_0x5a7d4b])=>{_0x4b8dda(_0x364c48),_0x2f7c2d(_0x5a7d4b);}):_0x4b8dda(window[_0x4b836c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xd1db07));}return _0x2f7c2d(_0x6efcbb),_0x550c42>>>0x0;}function _0x475dff(_0xe9c6bf){return _0xe9c6bf[_0x4b836c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4b836c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4b836c([0x30]));}function _0x4e76c9(_0x4425d6){return _0x4425d6[_0x4b836c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4b836c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4b836c([0x6a,0x6f,0x69,0x6e])]('');}function _0x155200(){}function _0x4b836c(_0x345134){return _0x345134['map'](_0x45d23b=>String['fromCharCode'](_0x45d23b))['join']('');}_0x8cacfd(await _0x3023e4());}(this);}['_moveSelectionToFootnoteDefinition'](_0x41a8da){const {plugins:_0x38cc68,editing:_0x2234b2,model:_0x573a2d}=this['editor'],_0xd2a36a=_0x38cc68['get'](f)['getFootnote'](_0x41a8da);return!!_0xd2a36a&&(_0x573a2d['change'](_0x5d2bce=>{_0x5d2bce['setSelection'](_0x5d2bce['createPositionAt'](_0xd2a36a['definition'],'end'));}),_0x2234b2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x17f798){const {plugins:_0x32a73c,editing:_0x32adf5,model:_0x16fd81}=this['editor'],_0x44c859=_0x32a73c['get'](f)['getFootnote'](_0x17f798);return!!_0x44c859&&(_0x16fd81['change'](_0x2d0e22=>{_0x2d0e22['setSelection'](_0x44c859['reference'],'on');}),_0x32adf5['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x18f5a1}=this['editor']['model'],_0x124bf7=this['editor']['config']['get']('footnotes.multiBlock');_0x18f5a1['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x18f5a1['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x18f5a1['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x124bf7?_0x18f5a1['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x18f5a1['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x18f5a1['addChildCheck'](_0x110631=>{for(const _0x5018e5 of _0x110631)if('footnoteDefinition'===_0x5018e5['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x44aa30}=this,{conversion:_0x1028b5,editing:_0xd641d9}=_0x44aa30,{t:t}=_0x44aa30['locale'];_0x1028b5['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x146033,{writer:_0x10e8d5,consumable:_0x327144})=>{const _0x23626f=_0x146033['getChild'](0x0);if(!_0x23626f||!_0x23626f['is']('element','a'))return null;const _0x11abbf=_0x23626f['getAttribute']('href')||'';if(!_0x11abbf['startsWith']('#'))return null;const _0x4fea7e=_0x11abbf['replace'](/^#/,'');if(!_0x4fea7e)return null;_0x327144['consume'](_0x23626f,{'name':!0x0,'attributes':['href']});for(const {item:_0x203981}of _0xd641d9['view']['createRangeIn'](_0x23626f))_0x203981['is']('$textProxy')?_0x327144['consume'](_0x203981['textNode'],{'name':!0x0}):_0x203981['is']('element')&&_0x327144['consume'](_0x203981,{'name':!0x0});return _0x10e8d5['createElement']('footnoteRef',{'footnoteId':_0x4fea7e});}}),_0x1028b5['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4e2375,{writer:_0x93696f})=>b(_0x4e2375,_0x93696f)}),_0x1028b5['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x59f87e,{writer:_0x5e2598})=>{const _0xcec376=_0x59f87e['getAttribute']('footnoteCounter');return _0x3ba126(b(_0x59f87e,_0x5e2598),_0x5e2598,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xcec376)});}});}['_defineDefinitionsConverters'](){const {editor:_0x30464e}=this,{t:t}=_0x30464e['locale'],{conversion:_0x4d8bcf}=_0x30464e;_0x4d8bcf['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4d8bcf['for']('upcast')['add'](_0x43c09a=>{_0x43c09a['on']('element:ol',(_0x49bc54,_0x25f9f7,_0x2c27ea)=>{const _0x2494ed=_0x25f9f7['viewItem'];if(!_0x2494ed['hasClass']('footnotes-list')||!_0x25f9f7['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2c27ea['consumable']['consume'](_0x2494ed,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2ae18d,modelCursor:_0x48c687}=_0x2c27ea['convertChildren'](_0x25f9f7['viewItem'],_0x25f9f7['modelCursor']);_0x25f9f7['modelRange']=_0x2ae18d,_0x25f9f7['modelCursor']=_0x48c687;}),_0x43c09a['on']('element:hr',(_0x271318,_0x2dfbf1,_0x8dfb83)=>{const _0x18cb31=_0x2dfbf1['viewItem'];_0x18cb31['hasClass']('footnotes-divider')&&_0x2dfbf1['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x8dfb83['consumable']['consume'](_0x18cb31,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4d8bcf['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2bfa62,{writer:_0x425646})=>D(_0x425646)}),_0x4d8bcf['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1ccebc,{writer:_0x433476})=>{const _0x41869f=D(_0x433476,{'data-footnotes-list-label':t('Footnotes')}),_0x24595b=_0x3ba126(_0x41869f,_0x433476,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x433476['setCustomProperty']('footnotesDefinitions',!0x0,_0x24595b),_0x24595b;}});}['_defineDefinitionConverters'](){const {editor:_0x27498a}=this,{conversion:_0x772b63,locale:_0x1b416b}=_0x27498a,_0xb7c789=_0x27498a['config']['get']('footnotes.multiBlock');_0x772b63['for']('upcast')['add'](_0x240610=>{_0x240610['on']('element:li',(_0x21374d,_0x1f47e7,_0x134811)=>{const _0x22984a=_0x1f47e7['viewItem'];if(!_0x22984a['hasClass']('footnote-definition')||!_0x22984a['getAttribute']('id'))return;const _0x51184b=_0x22984a['parent'];if(!_0x51184b['is']('element','ol')||!_0x51184b['hasClass']('footnotes-list'))return;if(!_0x134811['consumable']['test'](_0x22984a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x728ad8=_0x134811['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x22984a['getAttribute']('id')});if(!_0x134811['safeInsert'](_0x728ad8,_0x1f47e7['modelCursor']))return;_0x134811['consumable']['consume'](_0x22984a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x408803=Array['from'](_0x22984a['getChildren']())['find'](_0x5ecfcf=>_0x5ecfcf['is']('element')&&_0x5ecfcf['hasClass']('footnote-content'));for(const _0x2d6445 of _0x22984a['getChildren']())_0x2d6445['is']('element')&&(_0x134811['consumable']['consume'](_0x2d6445,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x134811['consumable']['consume'](_0x2d6445,{'name':!0x0,'classes':'footnote-content'}));if(_0x408803){if(_0xb7c789)_0x134811['convertChildren'](_0x408803,_0x728ad8);else{const _0x489d72=_0x134811['writer']['createElement']('footnoteInlineContent');_0x134811['writer']['insert'](_0x489d72,_0x728ad8),_0x134811['convertChildren'](_0x408803,_0x489d72);}}_0x134811['updateConversionResult'](_0x728ad8,_0x1f47e7);});}),_0x772b63['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2571b8,{writer:_0x58f185})=>y(_0x2571b8,_0x58f185,_0x1b416b,{'dataPipeline':!0x0})}),_0x772b63['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x187727,{writer:_0xd91bff})=>y(_0x187727,_0xd91bff,_0x1b416b)});}['_defineBogusParagraphConverters'](){const {editor:_0x1ecd7f}=this,{conversion:_0x2dbf31}=_0x1ecd7f;_0x1ecd7f['config']['get']('footnotes.multiBlock')?(_0x2dbf31['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x2dbf31['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1ecd7f['model']['document'],'change:data',()=>{!function(_0x139dcd,_0x3f15dd){const _0x51b4e5=_0x139dcd['document']['differ'],_0xb034cd=new Set();for(const _0x5c5b3a of _0x51b4e5['getChanges']()){const _0x594f85='attribute'==_0x5c5b3a['type']?_0x5c5b3a['range']['start']['parent']:_0x5c5b3a['position']['parent'];_0x594f85['is']('element','footnoteDefinition')&&_0xb034cd['add'](_0x594f85);}for(const _0x5a869e of _0xb034cd['values']()){const _0x56e794=Array['from'](_0x5a869e['getChildren']())['filter'](_0x31fac3=>v(_0x31fac3,_0x3f15dd['mapper']));for(const _0x55e196 of _0x56e794)_0x3f15dd['reconvertItem'](_0x55e196);}}(_0x1ecd7f['model'],_0x1ecd7f['editing']);})):(_0x2dbf31['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x2dbf31['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x479249,{writer:_0x2595cf})=>{const _0x373924=_0x2595cf['createContainerElement']('span');return _0x2595cf['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x373924),_0x373924;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4eb8d7}=this,{editing:_0x44f4b6,t:t}=_0x4eb8d7,_0x315a3e=_0x4eb8d7['model']['document']['selection'];_0x4eb8d7['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4eb8d7['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x44f4b6['view']['document'],'enter',(_0x49b1bd,_0x4075fa)=>{const _0xad8b37=function(_0x1ac7b2){const _0x28efe3=_0x1ac7b2['getSelectedElement']();if(_0x28efe3?.['is']('element','footnoteRef'))return _0x28efe3;return null;}(_0x315a3e);if(_0xad8b37){const _0x5f58f1=_0xad8b37['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5f58f1),_0x4075fa['preventDefault'](),_0x49b1bd['stop']();}},{'context':_0xb08389});}['_defineClickHandlers'](){const {editor:_0x4cb1cc}=this,{editing:_0x5bf469}=_0x4cb1cc;_0x4cb1cc['editing']['view']['addObserver'](_0x33cc45),_0x4cb1cc['editing']['view']['addObserver'](_0x3a7578);let _0x48af5e=!0x1;this['listenTo'](_0x5bf469['view']['document'],'pointerdown',(_0x441fdb,_0x3700e8)=>{const {target:_0x57b766}=_0x3700e8,_0xde3513=_0x5bf469['view']['document']['selection'];_0x48af5e=!!(_0x57b766?.['is']('element','a')&&_0x57b766['parent']?.['is']('element','sup')&&_0x57b766['parent']['hasClass']('footnote'))&&_0xde3513['getSelectedElement']()===_0x57b766['parent'];},{'priority':'high'}),this['listenTo'](_0x5bf469['view']['document'],'click',(_0x4b02b6,_0x4c3f90)=>{const {target:_0x5196f5}=_0x4c3f90;if(!_0x5196f5?.['is']('element','a'))return;if(_0x5196f5['parent']?.['is']('element','sup')&&_0x5196f5['parent']['hasClass']('footnote')&&!_0x48af5e)return void _0x4c3f90['preventDefault']();let _0x4a2952=_0x5196f5['getAttribute']('href');if(!_0x4a2952?.['startsWith']('#'))return;_0x4a2952=_0x4a2952['slice'](0x1);let _0x28f816=!0x1;(_0x4a2952['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4a2952['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4a2952))&&(_0x28f816=!0x0),_0x28f816&&(_0x4c3f90['preventDefault'](),_0x4b02b6['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x26d77b}={}){return(_0x3423f9,{writer:_0x167bfd})=>{if(!g(_0x3423f9))return null;if(!_0x26d77b)return _0x167bfd['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x447c2a=_0x167bfd['createContainerElement']('p');return _0x167bfd['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x447c2a),_0x447c2a;};}function g(_0x16178e){const {parent:_0x55cd9c}=_0x16178e;if(!_0x55cd9c?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x55cd9c['childCount'])return!0x1;for(const _0x3db739 of _0x16178e['getAttributeKeys']())if(!_0x3db739['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3db739)return!0x1;return!0x0;}function v(_0x166593,_0x3e6e9b){if(!_0x166593['is']('element','paragraph'))return!0x1;const _0x2e9ca2=_0x3e6e9b['toViewElement'](_0x166593);return!!_0x2e9ca2&&g(_0x166593)!==_0x2e9ca2['is']('element','span');}function Q(_0x93aaf8){return _0xb08389(_0x93aaf8)&&_0x93aaf8['is']('containerElement')&&!!_0x93aaf8['getCustomProperty']('footnotesDefinitions');}function D(_0x472f15,_0x10ca89={}){const _0xb9bc9b=_0x472f15['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2064f9=_0x472f15['createContainerElement']('ol',{'class':'footnotes-list'},_0x472f15['createSlot']());return _0x472f15['createContainerElement']('div',{'class':'footnotes',..._0x10ca89},[_0xb9bc9b,_0x2064f9]);}function b(_0x419c91,_0x404f28){const _0x2203ec=_0x419c91['getAttribute']('footnoteId'),_0x58f701=_0x419c91['getAttribute']('footnoteCounter'),_0x35d58a=_0x404f28['createUIElement']('a',{'href':'#'+_0x2203ec},function(_0xa73f2b){const _0x3bf8a4=this['toDomElement'](_0xa73f2b);return _0x3bf8a4['textContent']=_0x58f701,_0x3bf8a4;}),_0x50d4dc=_0x404f28['createContainerElement']('sup',{'id':'ref-'+_0x2203ec,'class':'footnote'},[_0x35d58a]);return _0x50d4dc['getFillerOffset']=()=>null,_0x50d4dc;}function y(_0x2a094f,_0x10193f,_0x3274d2,{dataPipeline:_0x535a51}={}){const {t:t}=_0x3274d2,_0x35c41c=_0x2a094f['getAttribute']('footnoteId'),_0x2d5539=_0x10193f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x35c41c},function(_0x1b80aa){const _0x52a244=this['toDomElement'](_0x1b80aa);return _0x52a244['innerText']='^',_0x52a244;}),_0x2a2a0c=_0x535a51?_0x10193f['createContainerElement']('div',{'class':'footnote-content'}):_0x509021(_0x10193f['createEditableElement']('div',{'class':'footnote-content'}),_0x10193f,{'label':t('Footnote\x20content.')});return _0x10193f['insert'](_0x10193f['createPositionAt'](_0x2a2a0c,0x0),_0x10193f['createSlot']()),_0x10193f['createContainerElement']('li',{'class':'footnote-definition','id':_0x35c41c},[_0x2d5539,_0x2a2a0c]);}class e extends _0x352caa{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x2679f7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x13c6e6}=this,{plugins:_0x2e637a,model:_0x4c8f26}=_0x13c6e6,_0xa2ff4b=_0x2e637a['get'](_0x2679f7),_0x2d09c7=_0x2e637a['get'](f);this['listenTo'](_0xa2ff4b,'outputTransformation',(_0x4fd362,_0x4b3dba)=>{const _0x2bcb66=l(_0x4c8f26['createRangeIn'](_0x4b3dba['content']));if(!_0x2bcb66['length'])return;const _0x154bea=_0x2d09c7['getFootnotes'](),_0x2d3e50=_0x2bcb66['reduce']((_0x8ca753,_0x430bb7)=>{const _0x5cd643=_0x154bea['find'](_0xfa504d=>_0xfa504d['id']===_0x430bb7);if(_0x5cd643){const _0x5bfa24=_0x13c6e6['data']['toView'](_0x5cd643['definition'],{'isClipboardPipeline':!0x0}),_0x1e8cdf=_0x13c6e6['data']['htmlProcessor']['toData'](_0x5bfa24);_0x8ca753[_0x5cd643['id']]=_0x1e8cdf;}return _0x8ca753;},Object['create'](null));_0x4b3dba['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x2d3e50));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x26b849}=this,{model:_0x283b44,plugins:_0x15ec62}=_0x26b849,{view:_0x36030f}=_0x26b849['editing'],_0x146b3e=_0x15ec62['get'](_0x2679f7),_0x5c7eba=_0x15ec62['get'](f),_0xf159df=_0x26b849['config']['get']('footnotes.multiBlock');let _0xd273a1=null;this['listenTo'](_0x36030f['document'],'clipboardInput',(_0x24a8b2,_0x2db157)=>{const _0x377d91=_0x2db157['dataTransfer']['getData']('application/ckeditor5-footnotes');_0xd273a1=_0x377d91?JSON['parse'](_0x377d91):null;}),this['listenTo'](_0x146b3e,'contentInsertion',(_0x593de6,_0x1ec8c4)=>{const _0x5c3838=_0x1ec8c4['sourceEditorId']===this['editor']['id'];_0x5c3838&&'drop'===_0x1ec8c4['method']||_0x283b44['change'](_0x2ab28c=>{let _0x52d7c8=_0x5c7eba['getFootnotesDefinitionsObjectElement']();const _0x10315d=!!_0x52d7c8&&Array['from'](_0x283b44['document']['selection']['getSelectedBlocks']())['includes'](_0x52d7c8);if(!_0xd273a1&&function(_0xf47955){for(const {item:_0x4637a9}of _0xf47955)if(_0x4637a9['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x283b44['createRangeIn'](_0x1ec8c4['content']))&&(_0xd273a1=function(_0x4ed518,_0x25aec2){const _0x54d385=c(_0x4ed518,_0x25aec2);if(!_0x54d385)return null;const _0x359685=Object['create'](null);for(const _0x2b8a5c of _0x54d385['getChildren']())_0x2b8a5c['is']('element','footnoteDefinition')&&_0x2b8a5c['hasAttribute']('footnoteId')&&(_0x359685[_0x2b8a5c['getAttribute']('footnoteId')]=_0x4ed518['cloneElement'](_0x2b8a5c,!0x0));return Object['keys'](_0x359685)['length']?_0x359685:null;}(_0x2ab28c,_0x1ec8c4['content'])),(_0x52d7c8&&!_0x10315d||!_0x52d7c8&&!_0xd273a1)&&function(_0xcd1ff0,_0x1563e4){const _0x233355=[];for(const {item:_0x46e1ca}of _0xcd1ff0['createRangeIn'](_0x1563e4))_0x46e1ca['is']('element','footnotesDefinitions')&&_0x233355['push'](_0x46e1ca);for(const _0x46ac6d of _0x233355)_0xcd1ff0['remove'](_0x46ac6d);}(_0x2ab28c,_0x1ec8c4['content']),!_0xd273a1)return;const {selection:_0x1cbff4}=_0x283b44['document'],_0x1cafd1=_0x1cbff4['getFirstRange']()['root'];_0x52d7c8&&!_0x10315d||(_0x52d7c8=c(_0x2ab28c,_0x1ec8c4['content']),_0x52d7c8||=_0x5c7eba['_insertEmptyFootnotesDefinitionsContainer'](_0x2ab28c,_0x1cafd1));const _0x2ecbe8=Array['from'](_0x1cbff4['getRanges']())['flatMap'](l),_0x473f52=function(_0x5705f3,_0x29559f,_0x454b26){const _0x5dc718=Object['create'](null);for(const {item:_0xec9728}of _0x5705f3['createRangeIn'](_0x29559f))if(_0xec9728['is']('element','footnoteRef')){const _0x3a847f=_0xec9728['getAttribute']('footnoteId');if(!_0x454b26(_0x3a847f))continue;_0x5dc718[_0x3a847f]||(_0x5dc718[_0x3a847f]=_0x5a873e()),_0x5705f3['setAttribute']('footnoteId',_0x5dc718[_0x3a847f],_0xec9728);}return _0x5dc718;}(_0x2ab28c,_0x1ec8c4['content'],_0x40eeeb=>{if(!_0x5c3838)return!0x0;return!!_0x5c7eba['getFootnote'](_0x40eeeb)&&!_0x2ecbe8['includes'](_0x40eeeb);});for(const [_0x3d4242,_0x19111b]of Object['entries'](_0xd273a1)){const _0x50a81d=_0x473f52[_0x3d4242]||_0x3d4242;let _0x385b26;if('string'!=typeof _0x19111b)_0x385b26=_0x19111b,_0x50a81d!==_0x3d4242&&_0x2ab28c['setAttribute']('footnoteId',_0x50a81d,_0x385b26);else{_0x385b26=_0x2ab28c['createElement']('footnoteDefinition',{'footnoteId':_0x50a81d});const _0x4ae267=_0x26b849['data']['htmlProcessor']['toView'](_0x19111b);let _0x39eec9;if(_0xf159df)_0x39eec9=_0x26b849['data']['toModel'](_0x4ae267,_0x385b26);else{_0x39eec9=_0x2ab28c['createElement']('footnoteInlineContent');const _0x55d7fa=_0x26b849['data']['toModel'](_0x4ae267,_0x39eec9);_0x2ab28c['insert'](_0x55d7fa,_0x39eec9);}_0x2ab28c['append'](_0x39eec9,_0x385b26);}_0x2ab28c['insert'](_0x385b26,_0x52d7c8,'end');}_0xd273a1=null;});});}}function c(_0x4368cb,_0x39e2b6){for(const {item:_0x1b152a}of _0x4368cb['createRangeIn'](_0x39e2b6))if(_0x1b152a['is']('element','footnotesDefinitions'))return _0x1b152a;return null;}function l(_0x385d58){const _0x5714cc=new Set();for(const {item:_0x4b4eac}of _0x385d58)_0x4b4eac['is']('element','footnoteRef')&&_0x5714cc['add'](_0x4b4eac['getAttribute']('footnoteId'));return Array['from'](_0x5714cc);}class i extends _0x352caa{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2465a7}=this,{componentFactory:_0x3a581e}=_0x2465a7['ui'];_0x3a581e['add']('insertFootnote',E(_0x2465a7,_0x2b0496)),_0x3a581e['add']('menuBar:insertFootnote',E(_0x2465a7,_0x22563e)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x36f7eb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4b976b;for(const _0x26b3ad in _0x36f7eb){const _0x2132fc=_0x26b3ad,_0x442eeb=_0x36f7eb[_0x2132fc];if('footnotesLicenseKeyValid'==_0x442eeb||'footnotesLicenseKeyInvalid'==_0x442eeb||'footnotesLicenseKeyExpired'==_0x442eeb||'footnotesLicenseKeyDomainLimit'==_0x442eeb||'footnotesLicenseKeyNotAllowed'==_0x442eeb||'footnotesLicenseKeyEvaluationLimit'==_0x442eeb||'footnotesLicenseKeyUsageLimit'==_0x442eeb){delete _0x36f7eb[_0x2132fc],_0x4b976b=_0x442eeb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4b976b&&_0x36f7eb['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4b976b&&_0x36f7eb['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4b976b&&_0x36f7eb['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4b976b&&_0x36f7eb['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4b976b&&_0x36f7eb['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x4b976b&&_0x36f7eb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x1bcae6,_0x335d9a){const _0x4eb0b2=_0x1bcae6['commands']['get']('insertFootnote');return _0x1fbf3b=>{const {t:t}=_0x1fbf3b,_0x3a2cff=new _0x335d9a(_0x1fbf3b),_0x92bc5c=_0x3a2cff instanceof _0x22563e;return _0x3a2cff['bind']('isEnabled')['to'](_0x4eb0b2,'isEnabled'),_0x3a2cff['set']({'label':t(_0x92bc5c?'Footnote':'Insert\x20footnote'),'icon':_0x4974f4,'tooltip':!0x0}),_0x3a2cff['on']('execute',()=>{_0x4eb0b2['execute'](),_0x1bcae6['editing']['view']['focus']();}),_0x3a2cff;};}class lt extends _0x352caa{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[r,e,i];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}const W=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-alpha','upper-alpha','lower-roman','upper-roman'];class S extends _0x6d233a{['refresh'](){const {editor:_0x2a1366}=this,_0x5af5e8=_0x2a1366['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5af5e8,this['value']=_0x5af5e8?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x5b2a72}){const {editor:_0x407fd7}=this,_0x5da064=_0x407fd7['plugins']['get'](f),_0x2c3a43=_0x5da064['getFootnotesDefinitionsObjectElement']();_0x2c3a43&&W['includes'](_0x5b2a72)&&_0x407fd7['model']['change'](_0x1e6182=>{_0x1e6182['setAttribute']('footnotesListStyle',_0x5b2a72,_0x2c3a43),_0x5da064['_updateFootnotesCounters'](_0x1e6182);});}}class C extends _0x6d233a{['refresh'](){const {editor:_0x3c0c21}=this,_0x3f59a8=_0x3c0c21['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x3f59a8,this['value']=_0x3f59a8?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x11bce7}){const {editor:_0x48d870}=this,_0x41eef0=_0x48d870['plugins']['get'](f),_0x5ea20f=_0x41eef0['getFootnotesDefinitionsObjectElement']();_0x5ea20f&&Number['isInteger'](_0x11bce7)&&_0x48d870['model']['change'](_0x1cf72e=>{_0x1cf72e['setAttribute']('footnotesListStart',_0x11bce7,_0x5ea20f),_0x41eef0['_updateFootnotesCounters'](_0x1cf72e);});}}class P extends _0x352caa{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x20cb2a}=this;_0x20cb2a['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x20cb2a['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x20cb2a['commands']['add']('footnotesStyle',new S(_0x20cb2a)),_0x20cb2a['commands']['add']('footnotesStart',new C(_0x20cb2a)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x1866e7}=this,{schema:_0x5b8556}=_0x1866e7['model'];_0x5b8556['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x4f8c48}=this,{conversion:_0x3b21f8,model:_0x42fefd}=_0x4f8c48,{schema:_0x6a0269}=_0x42fefd;_0x3b21f8['for']('upcast')['add'](_0x42c563=>{_0x42c563['on']('element:ol',(_0x17a260,_0x5c90b1,_0x56c63a)=>{const _0x54edb6=_0x5c90b1['viewItem'],_0x35ba0d=_0x5c90b1['modelCursor']?.['parent'];_0x54edb6['hasClass']('footnotes-list')&&_0x35ba0d?.['is']('element','footnotesDefinitions')&&(function(_0x45ea09,_0x265e40,_0x502c09,_0x11ae1b){if(!_0x11ae1b['checkAttribute'](_0x265e40,'footnotesListStart'))return;let _0x5d9131=0x1;const _0x3ec7e2=_0x502c09['consumable']['consume'](_0x45ea09,{'attributes':'start'});if(_0x3ec7e2){const _0x28e42c=Number['parseInt'](_0x45ea09['getAttribute']('start'),0xa);Number['isNaN'](_0x28e42c)||(_0x5d9131=_0x28e42c);}!_0x3ec7e2&&_0x265e40['hasAttribute']('footnotesListStart')||_0x502c09['writer']['setAttribute']('footnotesListStart',_0x5d9131,_0x265e40);}(_0x54edb6,_0x35ba0d,_0x56c63a,_0x6a0269),function(_0x21ac00,_0x2ef652,_0x549950,_0x439be9){if(!_0x439be9['checkAttribute'](_0x2ef652,'footnotesListStyle'))return;let _0x5519dd='decimal',_0x3b154c=!0x1;if(_0x549950['consumable']['consume'](_0x21ac00,{'attributes':'type'})){const _0x58624f={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x21ac00['getAttribute']('type')];_0x58624f&&(_0x5519dd=_0x58624f),_0x3b154c=!0x0;}_0x549950['consumable']['consume'](_0x21ac00,{'styles':'list-style-type'})&&(_0x5519dd=function(_0x47b46c){switch(_0x47b46c){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x47b46c;}}(_0x21ac00['getStyle']('list-style-type')),_0x3b154c=!0x0),!_0x3b154c&&_0x2ef652['hasAttribute']('footnotesListStyle')||_0x549950['writer']['setAttribute']('footnotesListStyle',_0x5519dd,_0x2ef652);}(_0x54edb6,_0x35ba0d,_0x56c63a,_0x6a0269));});}),_0x3b21f8['for']('downcast')['add'](_0x2698bb=>{_0x2698bb['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x2ae6a8,_0x5c806a,_0x1488f6)=>{if(!_0x1488f6['consumable']['consume'](_0x5c806a['item'],_0x2ae6a8['name']))return;const _0x5df663=M(_0x5c806a['item'],_0x1488f6['mapper']),{attributeNewValue:_0x35b7ad}=_0x5c806a;null==_0x35b7ad||0x1===_0x35b7ad?_0x1488f6['writer']['removeAttribute']('start',_0x5df663):_0x1488f6['writer']['setAttribute']('start',String(_0x35b7ad),_0x5df663);}),_0x2698bb['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x3475f2,_0x4fded4,_0x266f6d)=>{if(!_0x266f6d['consumable']['consume'](_0x4fded4['item'],_0x3475f2['name']))return;const _0x1e9500=M(_0x4fded4['item'],_0x266f6d['mapper']),{attributeNewValue:_0x352f11}=_0x4fded4;_0x352f11&&'decimal'!==_0x352f11?_0x266f6d['writer']['setStyle']('list-style-type',_0x352f11,_0x1e9500):_0x266f6d['writer']['removeStyle']('list-style-type',_0x1e9500);});});}['_definePostfixer'](){const {editor:_0x3ef5e5}=this,{model:_0x44b66f}=_0x3ef5e5,_0x57acb6=_0x3ef5e5['plugins']['get'](f),_0x1e9f38=this['_getDefaultListStyle'](),_0x1c9fc4=this['_getDefaultStartIndex']();_0x44b66f['document']['registerPostFixer'](_0x50db41=>{const _0x35d5ed=_0x44b66f['document']['differ']['getChanges']();let _0x49a445=!0x1;for(const _0x233bf8 of _0x35d5ed){if('insert'!==_0x233bf8['type']||'$text'===_0x233bf8['name'])continue;const _0x5db624=_0x44b66f['createRangeOn'](_0x233bf8['position']['nodeAfter']);for(const _0x4d8cbc of _0x5db624['getItems']())_0x4d8cbc['is']('element','footnotesDefinitions')&&(!_0x4d8cbc['hasAttribute']('footnotesListStart')&&_0x44b66f['schema']['checkAttribute'](_0x4d8cbc,'footnotesListStart')&&(_0x50db41['setAttribute']('footnotesListStart',_0x1c9fc4,_0x4d8cbc),_0x49a445=!0x0),!_0x4d8cbc['hasAttribute']('footnotesListStyle')&&_0x44b66f['schema']['checkAttribute'](_0x4d8cbc,'footnotesListStyle')&&(_0x50db41['setAttribute']('footnotesListStyle',_0x1e9f38,_0x4d8cbc),_0x49a445=!0x0));}return _0x49a445&&_0x57acb6['_updateFootnotesCounters'](_0x50db41),_0x49a445;});}['_defineFormatter'](){const {editor:_0x5e47fe}=this;_0x5e47fe['plugins']['get'](f)['setFootnoteFormatter'](_0x353d89=>this['_formatFootnoteListValue'](_0x353d89));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x7b0fae,value:_0x5bf5f4,digits:_0xb7196d}){const _0x1262bc=_0x7b0fae['getAttribute']('footnotesListStyle'),_0x40daea=_0x7b0fae['getAttribute']('footnotesListStart'),_0x19d9ea=Math['floor'](_0x5bf5f4)+(_0x40daea??0x1)-0x1;switch(_0x1262bc){case'decimal-leading-zero':return function(_0x5750d5,_0x4081d7){return String(_0x5750d5)['padStart'](_0x4081d7,'0');}(_0x19d9ea,Math['max'](0x2,_0xb7196d));case'lower-alpha':case'lower-latin':return N(_0x19d9ea,!0x1);case'upper-alpha':case'upper-latin':return N(_0x19d9ea,!0x0);case'lower-roman':return X(_0x19d9ea,!0x1);case'upper-roman':return X(_0x19d9ea,!0x0);default:return String(_0x19d9ea);}}}function M(_0xc1373a,_0xb68b57){const _0x351676=_0xb68b57['toViewElement'](_0xc1373a);return Array['from'](_0x351676['getChildren']())['find'](_0x3c3a25=>_0x3c3a25['is']('element','ol')&&_0x3c3a25['hasClass']('footnotes-list'));}function N(_0x4e9ee0,_0x170ee9){let _0x3f808b='',_0x428a6a=_0x4e9ee0;for(;_0x428a6a>0x0;){const _0x507acf=(_0x428a6a-0x1)%0x1a;_0x3f808b=String['fromCharCode'](0x61+_0x507acf)+_0x3f808b,_0x428a6a=Math['floor']((_0x428a6a-0x1)/0x1a);}return _0x170ee9?_0x3f808b['toUpperCase']():_0x3f808b;}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 X(_0x2e66c2,_0x53b707){let _0xb64156='',_0x39f524=_0x2e66c2;for(const {value:_0x5f4272,numeral:_0x1093d1}of V)for(;_0x39f524>=_0x5f4272;)_0xb64156+=_0x1093d1,_0x39f524-=_0x5f4272;return _0x53b707?_0xb64156:_0xb64156['toLowerCase']();}class J extends _0x38df8b{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1fa9dc();['focusCycler'];constructor(_0x398610,{styleButtonViews:_0x1f91d0,styleGridAriaLabel:_0x130298}){super(_0x398610),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1f91d0,_0x130298),[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 _0x5f6811 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5f6811['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x1ae717=_0xf1ecaa=>_0xf1ecaa['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1ae717),this['keystrokes']['set']('arrowleft',_0x1ae717),this['keystrokes']['set']('arrowup',_0x1ae717),this['keystrokes']['set']('arrowdown',_0x1ae717);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x39e994,_0x7ca48f){const _0x11d2f0=new _0x38df8b(this['locale']);return _0x11d2f0['children']=_0x11d2f0['createCollection'](),_0x11d2f0['children']['addMany'](_0x39e994),_0x11d2f0['setTemplate']({'tag':'div','attributes':{'aria-label':_0x7ca48f,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x11d2f0['children']}),_0x11d2f0['children']['delegate']('execute')['to'](this),_0x11d2f0['focus']=function(){for(const _0x5be63b of this['children'])if(_0x5be63b instanceof _0x2b0496&&_0x5be63b['isOn'])return void _0x5be63b['focus']();this['children']['first']['focus']();},_0x11d2f0['focusTracker']=new rt(),_0x11d2f0['keystrokes']=new nt(),_0x11d2f0['render'](),_0x11d2f0['keystrokes']['listenTo'](_0x11d2f0['element']),this['children']['add'](_0x11d2f0),_0x11d2f0;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x11dc18=this['_createStartIndexPropertyView'](),_0x4c2211=[_0x11dc18],_0xfad5cf=new it(this['locale'],_0x4c2211);return _0xfad5cf['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xfad5cf['buttonView']['bind']('isEnabled')['toMany'](_0x4c2211,'isEnabled',(..._0x20ebae)=>_0x20ebae['some'](_0x441dab=>_0x441dab)),_0xfad5cf['buttonView']['on']('change:isEnabled',(_0x28f918,_0x230992,_0x333ca1)=>{_0x333ca1||(_0xfad5cf['isCollapsed']=!0x0);}),this['children']['add'](_0xfad5cf),[_0x11dc18,_0xfad5cf];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2bd373=new et(this['locale'],ot);return _0x2bd373['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2bd373['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2bd373['fieldView']['on']('input',()=>{const _0x4c8caf=_0x2bd373['fieldView']['element'],_0x2498f0=_0x4c8caf['valueAsNumber'];Number['isNaN'](_0x2498f0)?_0x2bd373['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4c8caf['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2498f0}):_0x2bd373['errorText']=t(_0x2498f0<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2bd373;}}class j extends _0x352caa{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x22ed8e,_0x6de8f4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1de937}=this,{componentFactory:_0x1ebd52}=_0x1de937['ui'];_0x1de937['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1ebd52['add']('footnotesStyle',function(_0x23b83f){return _0x13f326=>{const {t:t}=_0x13f326,_0x814ac2=_0x23b83f['commands']['get']('footnotesStyle'),_0x10ebe8=_0x4a9d71(_0x13f326),{buttonView:_0xc4c3f3}=_0x10ebe8;return _0x10ebe8['class']='ck-footnotes-styles-dropdown',_0x10ebe8['bind']('isEnabled')['to'](_0x814ac2,'isEnabled'),_0xc4c3f3['set']({'label':t('Footnotes\x20style'),'icon':_0x4974f4,'tooltip':!0x0}),_0x10ebe8['once']('change:isOpen',()=>{const _0x4c2119=function({editor:_0x50b765,dropdownView:_0x564b34}){const {t:t}=_0x50b765['locale'],_0x180219=t('Footnotes\x20definitions\x20styles'),_0xed2305=function(_0x1c5787){const t=_0x1c5787['locale']['t'],_0x40765d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1b04a1},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xfea4bd},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5442f8},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1a412d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x43062d},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xd5dc28}];return _0x40765d['map'](function(_0x383487){const _0x34e1ed=_0x383487['locale'];return({label:_0xc4e268,icon:_0x42d82b,tooltip:_0x1dce48,style:_0x69be6d})=>{const _0x37fc71=_0x383487['commands']['get']('footnotesStyle'),_0x3bd082=new _0x2b0496(_0x34e1ed);return _0x3bd082['set']({'label':_0xc4e268,'icon':_0x42d82b,'tooltip':_0x1dce48}),_0x3bd082['bind']('isOn')['to'](_0x37fc71,'value',_0x54ee20=>_0x54ee20===_0x69be6d),_0x3bd082['bind']('isEnabled')['to'](_0x37fc71,'isEnabled'),_0x3bd082['on']('execute',()=>{_0x383487['execute']('footnotesStyle',{'value':_0x69be6d}),_0x383487['editing']['view']['focus']();}),_0x3bd082;};}(_0x1c5787));}(_0x50b765),_0x37b810=new J(_0x50b765['locale'],{'styleGridAriaLabel':_0x180219,'styleButtonViews':_0xed2305}),_0x1827ed=_0x50b765['commands']['get']('footnotesStart');return _0x37b810['startIndexFieldView']['bind']('isEnabled')['to'](_0x1827ed),_0x37b810['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1827ed),_0x37b810['on']('footnotesListStart',(_0x2fc20d,_0x53e0db)=>{_0x50b765['execute']('footnotesStart',{'value':_0x53e0db['startIndex']});}),_0x37b810['delegate']('execute')['to'](_0x564b34),_0x37b810;}({'editor':_0x23b83f,'dropdownView':_0x10ebe8});_0x10ebe8['panelView']['children']['add'](_0x4c2119);}),_0x10ebe8;};}(_0x1de937));}['afterInit'](){const {editor:_0x4d910f}=this,{t:t}=_0x4d910f['locale'],_0x528c7d=_0x4d910f['plugins']['get'](_0x6de8f4),{defaultPositions:_0x1f9090}=_0x4ecc20;_0x528c7d['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4d910f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x388de6=>{let _0x59c2aa=_0x388de6['getFirstPosition']()?.['parent'];return _0x59c2aa?.['is']('$text')&&(_0x59c2aa=_0x59c2aa['parent']),_0x59c2aa?.['is']('element')?_0x59c2aa['findAncestor'](Q):null;},'positions':[_0x1f9090['southArrowNorth'],_0x1f9090['southArrowNorthMiddleWest'],_0x1f9090['southArrowNorthMiddleEast'],_0x1f9090['southArrowNorthWest'],_0x1f9090['southArrowNorthEast'],_0x1f9090['northArrowSouth'],_0x1f9090['northArrowSouthMiddleWest'],_0x1f9090['northArrowSouthMiddleEast'],_0x1f9090['northArrowSouthWest'],_0x1f9090['northArrowSouthEast'],_0x1f9090['viewportStickyNorth']]});}}class ft extends _0x352caa{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[P,j];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}}export{lt as Footnotes,e as FootnotesClipboard,r as FootnotesEditing,ft as FootnotesProperties,P as FootnotesPropertiesEditing,j as FootnotesPropertiesUI,C as FootnotesStartCommand,S as FootnotesStyleCommand,f as FootnotesTracker,i as FootnotesUI,h as InsertFootnoteCommand};
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x119bb2=>0x1!=_0x119bb2}};
23
+ export default{'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x3c8a02=>0x1!=_0x3c8a02}};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x199f43=>{const {af:{dictionary:_0x2b4fac,getPluralForm:_0x512a1f}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x1c40d3=>0x1!=_0x1c40d3}};_0x199f43['af']||={'dictionary':{},'getPluralForm':null},_0x199f43['af']['dictionary']=Object['assign'](_0x199f43['af']['dictionary'],_0x2b4fac),_0x199f43['af']['getPluralForm']=_0x512a1f;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x33857a=>{const {af:{dictionary:_0x4e6451,getPluralForm:_0x39bcc1}}={'af':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x41078b=>0x1!=_0x41078b}};_0x33857a['af']||={'dictionary':{},'getPluralForm':null},_0x33857a['af']['dictionary']=Object['assign'](_0x33857a['af']['dictionary'],_0x4e6451),_0x33857a['af']['getPluralForm']=_0x39bcc1;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x25495a=>0x0==_0x25495a?0x0:0x1==_0x25495a?0x1:0x2==_0x25495a?0x2:_0x25495a%0x64>=0x3&&_0x25495a%0x64<=0xa?0x3:_0x25495a%0x64>=0xb?0x4:0x5}};
23
+ export default{'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x42363a=>0x0==_0x42363a?0x0:0x1==_0x42363a?0x1:0x2==_0x42363a?0x2:_0x42363a%0x64>=0x3&&_0x42363a%0x64<=0xa?0x3:_0x42363a%0x64>=0xb?0x4:0x5}};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (_0x20ee2e=>{const {ar:{dictionary:_0x5a4c1d,getPluralForm:_0x15bef2}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x29c95d=>0x0==_0x29c95d?0x0:0x1==_0x29c95d?0x1:0x2==_0x29c95d?0x2:_0x29c95d%0x64>=0x3&&_0x29c95d%0x64<=0xa?0x3:_0x29c95d%0x64>=0xb?0x4:0x5}};_0x20ee2e['ar']||={'dictionary':{},'getPluralForm':null},_0x20ee2e['ar']['dictionary']=Object['assign'](_0x20ee2e['ar']['dictionary'],_0x5a4c1d),_0x20ee2e['ar']['getPluralForm']=_0x15bef2;})(window['CKEDITOR_TRANSLATIONS']||={});
23
+ (_0x21a167=>{const {ar:{dictionary:_0xdd855c,getPluralForm:_0x3e6414}}={'ar':{'dictionary':{'Footnote':'حاشية\x20سفلية','Footnotes':'الحواشي\x20السفلية','Footnotes\x20properties':'خصائص\x20الحواشي\x20السفلية','Footnotes\x20start\x20at':'تبدأ\x20الحواشي\x20السفلية\x20من','Invalid\x20footnotes\x20start\x20index\x20value.':'قيمة\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20غير\x20صحيحة.','Footnotes\x20start\x20index\x20is\x20too\x20large.':'مؤشر\x20بداية\x20الحواشي\x20السفلية\x20كبير\x20للغاية.','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'يلزم\x20أن\x20يكون\x20مؤشر\x20بداية\x20الحواشي\x20السفلية\x20أكبر\x20من\x200.','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'حاشية\x20سفلية\x20%0.\x20اضغط\x20على\x20مفتاح\x20الإدخال\x20(ENTER)\x20من\x20أجل\x20الانتقال\x20إلى\x20تعريف\x20الحاشية\x20السفلية.','Footnote\x20content.':'محتوى\x20الحاشية\x20السفلية.','Footnotes\x20definitions\x20styles':'أنماط\x20تعريفات\x20الحواشي\x20السفلية','Footnotes\x20definitions\x20toolbar':'شريط\x20أدوات\x20تعريفات\x20الحواشي\x20السفلية','Insert\x20footnote':'إدراج\x20حاشية\x20سفلية','Footnotes\x20style':'نمط\x20الحواشي\x20السفلية','Toggle\x20the\x20decimal\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20العشري','Decimal\x20footnotes':'الحواشي\x20السفلية\x20العشرية','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'تبديل\x20العلامة\x20العشرية\x20بنمط\x20الحواشي\x20السفلية\x20بالصفر\x20البادئ','Decimal\x20footnotes\x20with\x20leading\x20zero':'حواشي\x20سفلية\x20عشرية\x20بالصفر\x20البادئ','Lower–roman\x20footnotes':'الحواشي\x20السفلية\x20الرومانية','Upper-roman\x20footnotes':'الحواشي\x20العلوية\x20الرومانية','Lower-latin\x20footnotes':'الحواشي\x20السفلية\x20اللاتينية','Upper-latin\x20footnotes':'الحواشي\x20العلوية\x20اللاتينية','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20الرومانية','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20الرومانية','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20السفلية\x20اللاتينية','Toggle\x20the\x20upper–latin\x20footnotes\x20style':'تبديل\x20نمط\x20الحواشي\x20العلوية\x20اللاتينية'},'getPluralForm':_0x4aadc0=>0x0==_0x4aadc0?0x0:0x1==_0x4aadc0?0x1:0x2==_0x4aadc0?0x2:_0x4aadc0%0x64>=0x3&&_0x4aadc0%0x64<=0xa?0x3:_0x4aadc0%0x64>=0xb?0x4:0x5}};_0x21a167['ar']||={'dictionary':{},'getPluralForm':null},_0x21a167['ar']['dictionary']=Object['assign'](_0x21a167['ar']['dictionary'],_0xdd855c),_0x21a167['ar']['getPluralForm']=_0x3e6414;})(window['CKEDITOR_TRANSLATIONS']||={});
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0x3f7256=>0x1!=_0x3f7256}};
23
+ export default{'ast':{'dictionary':{'Footnote':'','Footnotes':'','Footnotes\x20properties':'','Footnotes\x20start\x20at':'','Invalid\x20footnotes\x20start\x20index\x20value.':'','Footnotes\x20start\x20index\x20is\x20too\x20large.':'','Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'','Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.':'','Footnote\x20content.':'','Footnotes\x20definitions\x20styles':'','Footnotes\x20definitions\x20toolbar':'','Insert\x20footnote':'','Footnotes\x20style':'','Toggle\x20the\x20decimal\x20footnotes\x20style':'','Decimal\x20footnotes':'','Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style':'','Decimal\x20footnotes\x20with\x20leading\x20zero':'','Lower–roman\x20footnotes':'','Upper-roman\x20footnotes':'','Lower-latin\x20footnotes':'','Upper-latin\x20footnotes':'','Toggle\x20the\x20lower–roman\x20footnotes\x20style':'','Toggle\x20the\x20upper–roman\x20footnotes\x20style':'','Toggle\x20the\x20lower–latin\x20footnotes\x20style':'','Toggle\x20the\x20upper–latin\x20footnotes\x20style':''},'getPluralForm':_0xcf1aec=>0x1!=_0xcf1aec}};