@ckeditor/ckeditor5-footnotes 47.3.0 → 47.4.0-alpha.1

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 _0xee8887,Command as _0x1bdab6}from'@ckeditor/ckeditor5-core/dist/index.js';import{toWidget as _0x484ea4,isWidget as _0x49edcf,toWidgetEditable as _0x3b08d9,WidgetToolbarRepository as _0x3304da}from'@ckeditor/ckeditor5-widget/dist/index.js';import{uid as _0x549f76,logWarning as _0x26b71e,FocusTracker as rt,KeystrokeHandler as nt,global as at}from'@ckeditor/ckeditor5-utils/dist/index.js';import{PointerObserver as _0x3a395c,ClickObserver as _0x4d8ee8}from'@ckeditor/ckeditor5-engine/dist/index.js';import{ClipboardPipeline as _0x19c946}from'@ckeditor/ckeditor5-clipboard/dist/index.js';import{MenuBarMenuListItemButtonView as _0x560856,ButtonView as _0x459347,View as _0x417880,ViewCollection as _0x2704d5,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot,ContextualBalloon as _0x22b615,BalloonPanelView as _0x223c43,createDropdown as _0x531f60}from'@ckeditor/ckeditor5-ui/dist/index.js';import{IconFootnote as _0x1b32ad,IconListStyleDecimal as _0x1919b1,IconListStyleDecimalLeadingZero as _0x1ab4a3,IconListStyleLowerRoman as _0x43d0ec,IconListStyleUpperRoman as _0x2aa31d,IconListStyleLowerLatin as _0x31a8a9,IconListStyleUpperLatin as _0x368341}from'@ckeditor/ckeditor5-icons/dist/index.js';class F{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x2f5512,_0x59516b){this['_model']=_0x2f5512,this['_elementName']=_0x59516b['elementName'],this['_getElementKey']=_0x59516b['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x2a3d86){const _0x3a2ffa=new Set(),_0x512a59=new Map();for(const _0xe17da0 of _0x2a3d86){if('insert'===_0xe17da0['type']&&'$text'!==_0xe17da0['name']&&_0xe17da0['position']['nodeAfter']){const _0x2187cd=this['_model']['createRangeOn'](_0xe17da0['position']['nodeAfter']);for(const _0x3ca607 of _0x2187cd['getItems']()){if(!_0x3ca607['is']('element',this['_elementName']))continue;const _0x528ee3=this['_getElementKey'](_0x3ca607);_0x512a59['has'](_0x528ee3)||_0x512a59['set'](_0x528ee3,[]),_0x512a59['get'](_0x528ee3)['push'](_0x3ca607);}}if('remove'===_0xe17da0['type']&&_0xe17da0['name']===this['_elementName']){const _0x6d6332=this['_getElementKey']({'getAttribute':_0x119bba=>_0xe17da0['attributes']['get'](_0x119bba)});_0x3a2ffa['add'](_0x6d6332);}}for(const [_0x57ff54,_0x4f6bda]of this['_trackedElements'])'$graveyard'===_0x4f6bda['root']['rootName']&&_0x3a2ffa['add'](_0x57ff54);for(const _0x561095 of _0x3a2ffa)this['_trackedElements']['delete'](_0x561095);for(const [_0x30034c,_0x572380]of _0x512a59)this['_trackedElements']['set'](_0x30034c,_0x572380[_0x572380['length']-0x1]);const _0x38fedd=new Set();for(const [_0x4524c5,_0xa87cf6]of _0x512a59)_0x3a2ffa['has'](_0x4524c5)&&(_0x38fedd['add'](_0xa87cf6[0x0]),_0xa87cf6['length']>0x1?_0x512a59['set'](_0x4524c5,_0xa87cf6['slice'](0x1)):_0x512a59['delete'](_0x4524c5),_0x3a2ffa['delete'](_0x4524c5));return{'removed':Array['from'](_0x3a2ffa),'inserted':Array['from'](_0x512a59['values']())['flat'](),'moved':Array['from'](_0x38fedd)};}}class f extends _0xee8887{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x41d3ce){super(_0x41d3ce),this['_footnoteDefsContainerTracker']=new F(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x6c4557=>_0x6c4557['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new F(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x408982=>_0x408982['getAttribute']('footnoteId')});}['init'](){const {editor:_0x7ffc4c}=this,{model:_0x3984ec,data:_0x1fc1a0}=_0x7ffc4c;_0x3984ec['document']['registerPostFixer'](_0x29f986=>{const _0x51cd9d=_0x3984ec['document']['differ']['getChanges']();let _0xeb128c=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x29f986,_0x51cd9d)&&(_0xeb128c=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x29f986,_0x51cd9d)&&(_0xeb128c=!0x0),this['_handleFootnoteReferencesChanges'](_0x29f986,_0x51cd9d)&&(_0xeb128c=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x29f986)&&(_0xeb128c=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x29f986)&&(_0xeb128c=!0x0),this['_sortFootnoteDefinitions'](_0x29f986)&&(_0xeb128c=!0x0),_0xeb128c;}),this['listenTo'](_0x3984ec['document'],'change:data',()=>{_0x3984ec['enqueueChange']({'isUndoable':!0x1},_0x21511f=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x21511f);});},{'priority':'low'}),this['listenTo'](_0x1fc1a0,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x4f5e0e){return this['_footnotes']['find'](_0x3e3f17=>_0x3e3f17['id']===_0x4f5e0e)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x42db4f){this['_footnoteFormatter']=_0x42db4f;}['_updateFootnotesCounters'](_0x371e5a,_0xdac1de=0x0){let _0x564d9c=!0x1;for(let _0x187ff7=_0xdac1de;_0x187ff7<this['_footnotes']['length'];_0x187ff7++)this['_updateFootnoteRefCounter'](_0x371e5a,_0x187ff7)&&(_0x564d9c=!0x0);return _0x564d9c;}['_insertEmptyFootnotesDefinitionsContainer'](_0x3e310b,_0x370796){const _0x10e7f8=_0x3e310b['createElement']('footnotesDefinitions',{});return _0x3e310b['append'](_0x10e7f8,_0x370796),this['_footnotesDefinitions']=_0x10e7f8,_0x10e7f8;}['_ensureFootnotesDefinitionsContainerExists'](_0x2058aa){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x158bc8=this['_footnotes'][0x0]['reference']['root'],_0x3829e5=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2058aa,_0x158bc8);for(const _0x1646c9 of this['_footnotes'])_0x1646c9['definition']['parent']||_0x2058aa['insert'](_0x1646c9['definition'],_0x3829e5,'end');this['_updateFootnotesCounters'](_0x2058aa);}['_handleFootnotesDefinitionsObjectChanges'](_0xd8aad8,_0x4e8a0b){let _0x2375e9=!0x1;const {inserted:_0x3d438c,removed:_0x312dbf,moved:_0x2e4c38}=this['_footnoteDefsContainerTracker']['getChanges'](_0x4e8a0b);if(_0x2e4c38['length']&&(this['_footnotesDefinitions']=_0x2e4c38[0x0]),_0x3d438c['length']){if(_0x3d438c['length']>0x1||this['_footnotesDefinitions']&&_0x3d438c['some'](_0x421235=>_0x421235!==this['_footnotesDefinitions'])){const _0xbdc63d=_0xd8aad8['createElement']('footnotesDefinitions',{}),_0x16a999=[];this['_footnotesDefinitions']&&_0x16a999['push'](this['_footnotesDefinitions']),_0x16a999['push'](..._0x3d438c),_0xd8aad8['insert'](_0xbdc63d,_0x16a999[0x0],'before');for(const _0x5bff7c of _0x16a999)_0xd8aad8['move'](_0xd8aad8['createRangeIn'](_0x5bff7c),_0xd8aad8['createPositionAt'](_0xbdc63d,'end')),_0xd8aad8['remove'](_0x5bff7c);this['_footnotesDefinitions']=_0xbdc63d,this['_updateFootnotesCounters'](_0xd8aad8),_0x2375e9=!0x0;}else this['_footnotesDefinitions']=_0x3d438c[0x0];}if(_0x312dbf['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x4cd1fb of this['_footnotes'])_0xd8aad8['remove'](_0x4cd1fb['reference']),_0x2375e9=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x2375e9;}['_handleFootnoteDefinitionsChanges'](_0x235b93,_0x59361e){let _0x53918f=!0x1;const _0x2095f9=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x2a8ef8,moved:_0x9b44fb}=this['_footnoteDefsTracker']['getChanges'](_0x59361e);for(const _0x4bbaeb of[..._0x9b44fb,..._0x2a8ef8]){const _0x3906f1=_0x4bbaeb['getAttribute']('footnoteId'),_0xe0cc53=this['getFootnote'](_0x3906f1);_0xe0cc53&&(_0xe0cc53['definition']=_0x4bbaeb),_(_0x235b93,_0x2095f9,_0x4bbaeb)&&(_0x53918f=!0x0);}return _0x53918f;}['_handleFootnoteReferencesChanges'](_0x569a4e,_0x4a1584){let _0x3eb39e=!0x1;const {removed:_0x1f86d3,inserted:_0x2ce786,moved:_0xff0c7f}=this['_footnoteRefsTracker']['getChanges'](_0x4a1584);for(const _0x6dd2a7 of _0x1f86d3)this['_handleRemoveFootnoteReferenceById'](_0x569a4e,_0x6dd2a7)&&(_0x3eb39e=!0x0);for(const _0x4d9a57 of _0x2ce786)this['_handleInsertedFootnoteReference'](_0x569a4e,_0x4d9a57)&&(_0x3eb39e=!0x0);for(const _0x2f9c60 of _0xff0c7f)this['_handleMovedFootnoteReference'](_0x569a4e,_0x2f9c60)&&(_0x3eb39e=!0x0);return _0x3eb39e;}['_handleFootnotesDefinitionsObjectSync'](_0x1732af){if(!this['_footnotesDefinitions'])return!0x1;let _0x5e8922=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x11fcd4=[];for(const _0x4b58ac of this['_footnotesDefinitions']['getChildren']()){const _0x52e930=_0x4b58ac['getAttribute']('footnoteId');this['getFootnote'](_0x52e930)||(_0x11fcd4['unshift'](_0x4b58ac),_0x5e8922=!0x0);}for(const _0x13ba1e of _0x11fcd4)_0x1732af['remove'](_0x13ba1e);}const _0x2605f5=new Set(),_0x4a07d6=[];for(const _0x465d02 of this['_footnotesDefinitions']['getChildren']()){const _0x52e0e0=_0x465d02['getAttribute']('footnoteId');_0x2605f5['has'](_0x52e0e0)?(_0x4a07d6['unshift'](_0x465d02),_0x5e8922=!0x0):_0x2605f5['add'](_0x52e0e0);}for(const _0x560631 of _0x4a07d6)_0x1732af['remove'](_0x560631);return this['_footnotesDefinitions']['childCount']||(_0x1732af['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x5e8922=!0x0),_0x5e8922;}['_handleInsertedFootnoteReference'](_0x44ea40,_0x341628){if(this['_footnotes']['find'](_0x5bb375=>_0x5bb375['reference']===_0x341628))return!0x1;let _0x3c7f2f=!0x1;const _0x119f41=_0x341628['getAttribute']('footnoteId'),_0x4477f0=this['_footnotes']['findIndex'](_0x23882f=>_0x23882f['id']===_0x119f41);-0x1!==_0x4477f0&&(_0x44ea40['remove'](this['_footnotes'][_0x4477f0]['reference']),this['_footnotes']['splice'](_0x4477f0,0x1),_0x3c7f2f=!0x0);let _0x48081f=this['_footnotesDefinitions']?function(_0x157a5f,_0x1b4b96){for(const _0x245f9d of _0x157a5f['getChildren']())if(_0x245f9d['getAttribute']('footnoteId')===_0x1b4b96)return _0x245f9d;return null;}(this['_footnotesDefinitions'],_0x119f41):null;_0x48081f||(_0x48081f=_0x44ea40['createElement']('footnoteDefinition',{'footnoteId':_0x119f41}),this['_footnotesDefinitions']&&(_0x44ea40['insert'](_0x48081f,this['_footnotesDefinitions'],'end'),_0x3c7f2f=!0x0));const _0x2b68ff={'id':_0x119f41,'reference':_0x341628,'definition':_0x48081f},_0x20368d=I(this['editor']['model'],this['_footnotes'],_0x341628);this['_footnotes']['splice'](_0x20368d,0x0,_0x2b68ff);let _0x5c837e=_0x20368d;return-0x1!==_0x4477f0&&(_0x5c837e=Math['min'](_0x20368d,_0x4477f0)),this['_updateFootnotesCounters'](_0x44ea40,_0x5c837e)&&(_0x3c7f2f=!0x0),_0x3c7f2f;}['_handleRemoveFootnoteReferenceById'](_0x5badad,_0x362a4e){const _0x5b9e82=this['_footnotes']['findIndex'](_0x2fa018=>_0x2fa018['id']===_0x362a4e);if(-0x1===_0x5b9e82)return!0x1;let _0x3ff5d5=!0x1;const _0x1d5b19=this['_footnotes'][_0x5b9e82];return'$graveyard'!==_0x1d5b19['definition']['root']['rootName']&&(_0x5badad['remove'](_0x1d5b19['definition']),_0x3ff5d5=!0x0),this['_footnotes']['splice'](_0x5b9e82,0x1),this['_updateFootnotesCounters'](_0x5badad,_0x5b9e82)&&(_0x3ff5d5=!0x0),_0x3ff5d5;}['_handleMovedFootnoteReference'](_0x242454,_0x162ed2){const _0x36b6dc=_0x162ed2['getAttribute']('footnoteId'),_0x29868a=this['_footnotes']['findIndex'](_0x26a917=>_0x26a917['id']===_0x36b6dc),_0x5b03fb=this['_footnotes'][_0x29868a];let _0x1a7d43=!0x1;_0x5b03fb['reference']=_0x162ed2,this['_footnotes']['splice'](_0x29868a,0x1);const _0x4445d2=I(this['editor']['model'],this['_footnotes'],_0x162ed2);return this['_footnotes']['splice'](_0x4445d2,0x0,_0x5b03fb),this['_updateFootnotesCounters'](_0x242454,Math['min'](_0x29868a,_0x4445d2))&&(_0x1a7d43=!0x0),_0x1a7d43;}['_updateFootnoteRefCounter'](_0x3a72aa,_0x1f0424){if(!this['_footnotesDefinitions'])return!0x1;const _0x2dbc4c=this['_footnotes'][_0x1f0424];let _0x266af3;return _0x266af3=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x2dbc4c,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x1f0424+0x1}):String(_0x1f0424+0x1),_0x2dbc4c['reference']['getAttribute']('footnoteCounter')!=_0x266af3&&(_0x3a72aa['setAttribute']('footnoteCounter',_0x266af3,_0x2dbc4c['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x25c0cd){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x2943be,_0xb83165){if(_0x2943be['length']!==_0xb83165['length'])return!0x1;for(let _0x589250=0x0;_0x589250<_0x2943be['length'];_0x589250++)if(_0x2943be[_0x589250]!==_0xb83165[_0x589250])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x37952a=>_0x37952a['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0x120f4d=>_0x120f4d['getAttribute']('footnoteId'))))return!0x1;let _0x503857=!0x1;for(let _0x1ebedc=0x0;_0x1ebedc<this['_footnotes']['length'];_0x1ebedc++){const _0x3606b6=this['_footnotes'][_0x1ebedc],_0x51e322=_0x25c0cd['createPositionBefore'](_0x3606b6['definition']),_0x308b53=_0x25c0cd['createPositionAt'](this['_footnotesDefinitions'],_0x1ebedc);_0x51e322['isEqual'](_0x308b53)||(_0x25c0cd['move'](_0x25c0cd['createRangeOn'](_0x3606b6['definition']),_0x308b53),_0x503857=!0x0);}return _0x503857;}['_ensureFootnotesReferencesHaveProperOrder'](_0x5501d8){if(!this['_footnotes']['length'])return!0x1;const {model:_0x536375}=this['editor'];let _0x348f7e=!0x1;for(let _0x4f0e5b=0x0;_0x4f0e5b<this['_footnotes']['length']-0x1;_0x4f0e5b++){const _0x363915=this['_footnotes'][_0x4f0e5b],_0x5b1079=this['_footnotes'][_0x4f0e5b+0x1],_0x4b36e5=_0x536375['createPositionBefore'](_0x363915['reference']),_0x35a8e6=_0x536375['createPositionBefore'](_0x5b1079['reference']);'after'===_0x4b36e5['compareWith'](_0x35a8e6)&&(this['_handleMovedFootnoteReference'](_0x5501d8,_0x363915['reference']),_0x4f0e5b=-0x1,_0x348f7e=!0x0);}return _0x348f7e;}}function _(_0x40eb8f,_0x406502,_0x43e605){if(_0x43e605['childCount'])return!0x1;const _0x56b012=_0x406502?'paragraph':'footnoteInlineContent';return _0x40eb8f['insert'](_0x40eb8f['createElement'](_0x56b012),_0x43e605),!0x0;}function I(_0x2200b7,_0x432b85,_0x50d08d){if(0x0===_0x432b85['length'])return 0x0;const _0x52648e=_0x2200b7['createPositionBefore'](_0x50d08d);for(let _0x530752=0x0;_0x530752<_0x432b85['length'];_0x530752++){const _0x22e09f=_0x432b85[_0x530752],_0x24013a=_0x2200b7['createPositionBefore'](_0x22e09f['reference']);if('before'===_0x52648e['compareWith'](_0x24013a))return _0x530752;}const _0x527824=_0x50d08d['root'];let _0x9d86fc=-0x1;for(let _0xb54c16=_0x432b85['length']-0x1;_0xb54c16>=0x0;_0xb54c16--)if(_0x432b85[_0xb54c16]['reference']['root']===_0x527824){_0x9d86fc=_0xb54c16;break;}if(-0x1!==_0x9d86fc)return _0x9d86fc+0x1;const _0x442c23=_0x2200b7['document']['getRootNames'](),_0x21c22f=_0x442c23['indexOf'](_0x527824['rootName']),_0xa95cb4=_0x442c23[_0x21c22f+0x1];if(_0xa95cb4){for(let _0x3fc42d=0x0;_0x3fc42d<_0x432b85['length'];_0x3fc42d++)if(_0x432b85[_0x3fc42d]['reference']['root']['rootName']===_0xa95cb4)return _0x3fc42d;}return _0x432b85['length'];}class h extends _0x1bdab6{['refresh'](){const _0x655c65=this['editor']['model']['document']['selection'],_0x181a13=this['_getPositionToInsertFootnote'](_0x655c65);this['isEnabled']=!!_0x181a13;}['execute'](_0x2bc492){const {editor:_0x2238ab}=this,{model:_0x5c65b3}=_0x2238ab,{selection:_0x30f6cb}=_0x5c65b3['document'],_0x402a30=this['_getPositionToInsertFootnote'](_0x30f6cb);if(!_0x402a30)return;const _0x11d8d3=_0x2238ab['plugins']['get']('FootnotesEditing'),_0x260c72=_0x2bc492?.['footnoteId']??_0x549f76();!function(_0x9df5e8){return'string'==typeof _0x9df5e8&&_0x9df5e8['length']>0x0&&!/\s/['test'](_0x9df5e8)&&!/^\d/['test'](_0x9df5e8);}(_0x260c72)?_0x26b71e('insert-footnote-command-executed-with-invalid-id'):(_0x5c65b3['change'](_0x1fb943=>{const _0x57bcc5=_0x1fb943['createElement']('footnoteRef',{'footnoteId':_0x260c72});_0x5c65b3['insertObject'](_0x57bcc5,_0x402a30,null);}),_0x11d8d3['_moveSelectionToFootnoteDefinition'](_0x260c72));}['_getPositionToInsertFootnote'](_0x54db48){const {model:_0x290741}=this['editor'],{schema:_0x52b95f}=_0x290741,_0x4e4c4a=_0x54db48['getFirstRange']();for(const _0x5e42a2 of _0x4e4c4a['getItems']())if(_0x52b95f['isBlock'](_0x5e42a2)||_0x52b95f['isObject'](_0x5e42a2))return null;const _0x489443=_0x4e4c4a['end'];return _0x52b95f['checkChild'](_0x489443,'footnoteRef')?_0x489443:null;}}class r extends _0xee8887{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x40a4ee}=this;_0x40a4ee['config']['define']('footnotes.multiBlock',!0x0),_0x40a4ee['commands']['add']('insertFootnote',new h(_0x40a4ee)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xdcf243){const _0x4f701d=_0x18c3ee([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]),_0x4a9d94=0x47a28506,_0x28f8a9=0x47a5fb56^_0x4a9d94,_0x216a04=window[_0x18c3ee([0x44,0x61,0x74,0x65])][_0x18c3ee([0x6e,0x6f,0x77])](),_0x162f4f=_0xdcf243[_0x18c3ee([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x35a436=new window[(_0x18c3ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42e94c=>{_0x162f4f[_0x18c3ee([0x6f,0x6e,0x63,0x65])](_0x18c3ee([0x72,0x65,0x61,0x64,0x79]),_0x42e94c);}),_0x5e1403={[_0x18c3ee([0x6b,0x74,0x79])]:_0x18c3ee([0x45,0x43]),[_0x18c3ee([0x75,0x73,0x65])]:_0x18c3ee([0x73,0x69,0x67]),[_0x18c3ee([0x63,0x72,0x76])]:_0x18c3ee([0x50,0x2d,0x32,0x35,0x36]),[_0x18c3ee([0x78])]:_0x18c3ee([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]),[_0x18c3ee([0x79])]:_0x18c3ee([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]),[_0x18c3ee([0x61,0x6c,0x67])]:_0x18c3ee([0x45,0x53,0x32,0x35,0x36])},_0x23acac=_0x162f4f[_0x18c3ee([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x18c3ee([0x67,0x65,0x74])](_0x18c3ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x342330(){let _0x12a6b9,_0x28fae4=null,_0x4af1f1=null;try{if(_0x23acac==_0x18c3ee([0x47,0x50,0x4c]))return _0x18c3ee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x12a6b9=_0x36938d(),!_0x12a6b9)return _0x18c3ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x12a6b9[_0x18c3ee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4af1f1=_0x1043d5(_0x12a6b9[_0x18c3ee([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x12a6b9[_0x18c3ee([0x6a,0x74,0x69])])),await _0x2bfa98()?_0x10fdd1()?_0x5640ae()?_0x18c3ee([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x55452b()?(_0x12a6b9[_0x18c3ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x18c3ee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x28fae4=_0x344dbd(_0x18c3ee([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3f59de()):_0x18c3ee([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x18c3ee([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x18c3ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x18c3ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5640ae(){const _0x427ea1=[_0x18c3ee([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x18c3ee([0x74,0x72,0x69,0x61,0x6c])][_0x18c3ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12a6b9[_0x18c3ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x216a04/0x3e8:0xe10*_0x28f8a9;return _0x12a6b9[_0x18c3ee([0x65,0x78,0x70])]<_0x427ea1;}function _0x10fdd1(){const _0x58f0cc=_0x12a6b9[_0x18c3ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x58f0cc&&(!!_0x58f0cc[_0x18c3ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18c3ee([0x2a]))||!!_0x58f0cc[_0x18c3ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18c3ee([0x46,0x4f,0x4f])));}function _0x55452b(){const _0xa429c9=_0x12a6b9[_0x18c3ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa429c9||0x0==_0xa429c9[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x668128}=new URL(window[_0x18c3ee([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xa429c9[_0x18c3ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x668128))return!0x0;const _0x1d8c96=_0x668128[_0x18c3ee([0x73,0x70,0x6c,0x69,0x74])](_0x18c3ee([0x2e]));return _0xa429c9[_0x18c3ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x298b77=>_0x298b77[_0x18c3ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18c3ee([0x2a])))[_0x18c3ee([0x6d,0x61,0x70])](_0x15c869=>_0x15c869[_0x18c3ee([0x73,0x70,0x6c,0x69,0x74])](_0x18c3ee([0x2e])))[_0x18c3ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a27c5=>_0x5a27c5[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1d8c96[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18c3ee([0x6d,0x61,0x70])](_0x37ea1a=>Array(_0x1d8c96[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x37ea1a[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x18c3ee([0x66,0x69,0x6c,0x6c])](_0x37ea1a[0x0]===_0x18c3ee([0x2a])?_0x18c3ee([0x2a]):'')[_0x18c3ee([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x37ea1a))[_0x18c3ee([0x73,0x6f,0x6d,0x65])](_0x5b2966=>_0x1d8c96[_0x18c3ee([0x65,0x76,0x65,0x72,0x79])]((_0x4f82a9,_0x31dfe5)=>_0x5b2966[_0x31dfe5]===_0x4f82a9||_0x5b2966[_0x31dfe5]===_0x18c3ee([0x2a])));}function _0x3f59de(){return _0x28fae4&&_0x4af1f1?new window[(_0x18c3ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40a6e7,_0x1acc96)=>{_0x28fae4[_0x18c3ee([0x74,0x68,0x65,0x6e])](_0x40a6e7,_0x1acc96),_0x4af1f1[_0x18c3ee([0x74,0x68,0x65,0x6e])](_0x4d406c=>{_0x4d406c!=_0x18c3ee([0x56,0x61,0x6c,0x69,0x64])&&_0x40a6e7(_0x4d406c);},_0x1acc96);}):_0x28fae4||_0x4af1f1||_0x18c3ee([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1043d5(_0x3e3d4,_0x1522da){return new window[(_0x18c3ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c3640=>{if(_0xf41e99())return _0x5c3640(_0x18c3ee([0x56,0x61,0x6c,0x69,0x64]));_0x2e32ee(),_0x162f4f[_0x18c3ee([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x18c3ee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x222e5b=!0x1;const _0x354035=_0x549f76();function _0x5d68c7(_0x1999ba){return!!_0x1999ba&&(typeof _0x1999ba===_0x18c3ee([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1999ba===_0x18c3ee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1999ba[_0x18c3ee([0x74,0x68,0x65,0x6e])]===_0x18c3ee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1999ba[_0x18c3ee([0x63,0x61,0x74,0x63,0x68])]===_0x18c3ee([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x47e0e2(_0x26552e){_0x4480bd(_0x26552e)[_0x18c3ee([0x74,0x68,0x65,0x6e])](_0x3754ff=>{if(!_0x3754ff||_0x3754ff[_0x18c3ee([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x18c3ee([0x6f,0x6b]))return _0x18c3ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ff3ae(_0x130800(_0x354035+_0x1522da))!=_0x3754ff[_0x18c3ee([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x18c3ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x18c3ee([0x56,0x61,0x6c,0x69,0x64]);})[_0x18c3ee([0x74,0x68,0x65,0x6e])](_0x1416a4=>(_0x5d108a(),_0x1416a4),()=>{const _0x3a2f19=_0x33e7bc();return null==_0x3a2f19?(_0x5d108a(),_0x18c3ee([0x56,0x61,0x6c,0x69,0x64])):_0x18c3ee(_0x216a04-_0x3a2f19>(0x63ae0106^_0x4a9d94)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x18c3ee([0x74,0x68,0x65,0x6e])](_0x5c3640)[_0x18c3ee([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c3640(_0x18c3ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xfd60a3=0x47946b86^_0x4a9d94;function _0x5d108a(){const _0x2a26ab=_0x18c3ee([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ff3ae(_0x130800(_0x3e3d4)),_0x19df4a=_0x835793(_0x2ff3ae(window[_0x18c3ee([0x4d,0x61,0x74,0x68])][_0x18c3ee([0x63,0x65,0x69,0x6c])](_0x216a04/_0xfd60a3)));window[_0x18c3ee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18c3ee([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2a26ab,_0x19df4a);}function _0x33e7bc(){const _0x1399c3=_0x18c3ee([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ff3ae(_0x130800(_0x3e3d4)),_0x265676=window[_0x18c3ee([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x18c3ee([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1399c3);return _0x265676?window[_0x18c3ee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x835793(_0x265676),0x10)*_0xfd60a3:null;}function _0x4480bd(_0x137360){return new window[(_0x18c3ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d0959,_0x52e35f)=>{_0x137360[_0x18c3ee([0x74,0x68,0x65,0x6e])](_0x1d0959,_0x52e35f),window[_0x18c3ee([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x52e35f,0x47a351c6^_0x4a9d94);});}}_0x162f4f[_0x18c3ee([0x6f,0x6e])](_0x18c3ee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5ee1fd,_0xe1d8b6)=>{if(_0xe1d8b6[0x0]!=_0x3e3d4)return _0x5c3640(_0x18c3ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe1d8b6[0x1]={..._0xe1d8b6[0x1],[_0x18c3ee([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x354035};},{[_0x18c3ee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18c3ee([0x68,0x69,0x67,0x68])}),_0x162f4f[_0x18c3ee([0x6f,0x6e])](_0x18c3ee([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x586de3=>{_0x5d68c7(_0x586de3[_0x18c3ee([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x222e5b=!0x0,_0x47e0e2(_0x586de3[_0x18c3ee([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x18c3ee([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x18c3ee([0x6c,0x6f,0x77])}),_0x35a436[_0x18c3ee([0x74,0x68,0x65,0x6e])](()=>{_0x222e5b||_0x5c3640(_0x18c3ee([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf41e99(){return _0x162f4f[_0x18c3ee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18c3ee([0x76,0x69,0x65,0x77])][_0x18c3ee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x18c3ee([0x61,0x75,0x74,0x6f]);}function _0x2e32ee(){_0x162f4f[_0x18c3ee([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x18c3ee([0x76,0x69,0x65,0x77])][_0x18c3ee([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x18c3ee([0x61,0x75,0x74,0x6f]);}}function _0x344dbd(_0x3cb116){const _0x5d2527=[new window[(_0x18c3ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ae4d9=>setTimeout(_0x2ae4d9,0x47abbbca^_0x4a9d94)),_0x35a436[_0x18c3ee([0x74,0x68,0x65,0x6e])](()=>new window[(_0x18c3ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59b5b4=>{let _0x2a7807=0x0;_0x162f4f[_0x18c3ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x18c3ee([0x6f,0x6e])](_0x18c3ee([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c6876,_0x19e6e0)=>{_0x19e6e0[0x0][_0x18c3ee([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2a7807++,_0x2a7807==(0x47a280ee^_0x4a9d94)&&(_0x59b5b4(),_0x1c6876[_0x18c3ee([0x6f,0x66,0x66])]());});}))];return window[_0x18c3ee([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x18c3ee([0x72,0x61,0x63,0x65])](_0x5d2527)[_0x18c3ee([0x74,0x68,0x65,0x6e])](()=>_0x3cb116);}async function _0x14c574(){await _0x35a436,_0x162f4f[_0x18c3ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x18c3ee([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28a58b,_0x162f4f[_0x18c3ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x18c3ee([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28a58b,_0x162f4f[_0x18c3ee([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x18c3ee([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5beb76(_0xe06f1b){const _0x2d1293=_0x1c3027();_0x162f4f[_0x2d1293]=_0x18c3ee([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe06f1b,_0xe06f1b!=_0x18c3ee([0x56,0x61,0x6c,0x69,0x64])&&_0x14c574();}function _0x1c3027(){const _0x3c99f7=window[_0x18c3ee([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x18c3ee([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x18c3ee([0x6e,0x6f,0x77])]())[_0x18c3ee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x18c3ee([0x2e]),'');let _0x5b3098=_0x18c3ee([0x75]);for(let _0x570979=0x0;_0x570979<_0x3c99f7[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x570979+=0x2){let _0x1aa240=window[_0x18c3ee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c99f7[_0x18c3ee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x570979,_0x570979+0x2));_0x1aa240>=_0x4f701d[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1aa240-=_0x4f701d[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b3098+=_0x4f701d[_0x1aa240];}return _0x5b3098;}function _0x36938d(){const _0x757528=_0x23acac[_0x18c3ee([0x73,0x70,0x6c,0x69,0x74])](_0x18c3ee([0x2e]));if(0x3!=_0x757528[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5b00eb(_0x757528[0x1]);function _0x5b00eb(_0xb11b67){const _0x5e14d5=_0x1c0eea(_0xb11b67);return _0x5e14d5&&_0x1b5dbf()?_0x5e14d5:null;function _0x1b5dbf(){const _0x4d628f=_0x5e14d5[_0x18c3ee([0x6a,0x74,0x69])],_0x36339d=window[_0x18c3ee([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d628f[_0x18c3ee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d628f[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x30d7ba={..._0x5e14d5,[_0x18c3ee([0x6a,0x74,0x69])]:_0x4d628f[_0x18c3ee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d628f[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x30d7ba[_0x18c3ee([0x76,0x63])],_0x130800(_0x30d7ba)==_0x36339d;}}}async function _0x2bfa98(){let _0x4a6dcb=!0x0;try{const _0x2f84d0=_0x23acac[_0x18c3ee([0x73,0x70,0x6c,0x69,0x74])](_0x18c3ee([0x2e])),[_0x39a57a,_0x37c3b6,_0x4b6d13]=_0x2f84d0;return _0x4ba18d(_0x39a57a),await _0xbc0f8b(_0x39a57a,_0x37c3b6,_0x4b6d13),_0x4a6dcb;}catch{return!0x1;}function _0x4ba18d(_0xa5816d){const _0x30a899=_0x1c0eea(_0xa5816d);_0x30a899&&_0x30a899[_0x18c3ee([0x61,0x6c,0x67])]==_0x18c3ee([0x45,0x53,0x32,0x35,0x36])||(_0x4a6dcb=!0x1);}async function _0xbc0f8b(_0x3d5fad,_0x2dfd5e,_0x5b2374){const _0x124689=window[_0x18c3ee([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x18c3ee([0x66,0x72,0x6f,0x6d])](_0x5e6748(_0x5b2374),_0x203eda=>_0x203eda[_0x18c3ee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45a41b=new window[(_0x18c3ee([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x18c3ee([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d5fad+_0x18c3ee([0x2e])+_0x2dfd5e),_0x43315d=window[_0x18c3ee([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x18c3ee([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43315d)return;const _0x184e59=await _0x43315d[_0x18c3ee([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x18c3ee([0x6a,0x77,0x6b]),_0x5e1403,{[_0x18c3ee([0x6e,0x61,0x6d,0x65])]:_0x18c3ee([0x45,0x43,0x44,0x53,0x41]),[_0x18c3ee([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x18c3ee([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x18c3ee([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43315d[_0x18c3ee([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x18c3ee([0x6e,0x61,0x6d,0x65])]:_0x18c3ee([0x45,0x43,0x44,0x53,0x41]),[_0x18c3ee([0x68,0x61,0x73,0x68])]:{[_0x18c3ee([0x6e,0x61,0x6d,0x65])]:_0x18c3ee([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x184e59,_0x124689,_0x45a41b)||(_0x4a6dcb=!0x1);}}function _0x1c0eea(_0x112be1){return _0x112be1[_0x18c3ee([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x18c3ee([0x65,0x79]))?JSON[_0x18c3ee([0x70,0x61,0x72,0x73,0x65])](_0x5e6748(_0x112be1)):null;}function _0x5e6748(_0x29bf39){return window[_0x18c3ee([0x61,0x74,0x6f,0x62])](_0x29bf39[_0x18c3ee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x18c3ee([0x2b]))[_0x18c3ee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x18c3ee([0x2f])));}function _0x130800(_0x1fd63c){let _0x150363=0x1505;function _0x190914(_0x2d9d2e){for(let _0x4e9196=0x0;_0x4e9196<_0x2d9d2e[_0x18c3ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e9196++){const _0x4080cd=_0x2d9d2e[_0x18c3ee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4e9196);_0x150363=(_0x150363<<0x5)+_0x150363+_0x4080cd,_0x150363&=_0x150363;}}function _0x3f39c2(_0x1dc006){Array[_0x18c3ee([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1dc006)?_0x1dc006[_0x18c3ee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3f39c2):_0x1dc006&&typeof _0x1dc006==_0x18c3ee([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x18c3ee([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1dc006)[_0x18c3ee([0x73,0x6f,0x72,0x74])]()[_0x18c3ee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x415ff1,_0x349e4c])=>{_0x190914(_0x415ff1),_0x3f39c2(_0x349e4c);}):_0x190914(window[_0x18c3ee([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1dc006));}return _0x3f39c2(_0x1fd63c),_0x150363>>>0x0;}function _0x2ff3ae(_0x48964a){return _0x48964a[_0x18c3ee([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x18c3ee([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x18c3ee([0x30]));}function _0x835793(_0x3441bf){return _0x3441bf[_0x18c3ee([0x73,0x70,0x6c,0x69,0x74])]('')[_0x18c3ee([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x18c3ee([0x6a,0x6f,0x69,0x6e])]('');}function _0x28a58b(){}function _0x18c3ee(_0x1b0070){return _0x1b0070['map'](_0x2bf100=>String['fromCharCode'](_0x2bf100))['join']('');}_0x5beb76(await _0x342330());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2997f0){const {plugins:_0x35caeb,editing:_0x4e3cba,model:_0x1dfeef}=this['editor'],_0x43b6de=_0x35caeb['get'](f)['getFootnote'](_0x2997f0);return!!_0x43b6de&&(_0x1dfeef['change'](_0x430f46=>{_0x430f46['setSelection'](_0x430f46['createPositionAt'](_0x43b6de['definition'],'end'));}),_0x4e3cba['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4a1b49){const {plugins:_0x5251be,editing:_0x1b850e,model:_0x46b709}=this['editor'],_0x4b63a6=_0x5251be['get'](f)['getFootnote'](_0x4a1b49);return!!_0x4b63a6&&(_0x46b709['change'](_0x10aa31=>{_0x10aa31['setSelection'](_0x4b63a6['reference'],'on');}),_0x1b850e['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x635180}=this['editor']['model'],_0x148b00=this['editor']['config']['get']('footnotes.multiBlock');_0x635180['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x635180['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x635180['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x148b00?_0x635180['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x635180['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x635180['addChildCheck'](_0x1fb035=>{for(const _0x3947a3 of _0x1fb035)if('footnoteDefinition'===_0x3947a3['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x395dbc}=this,{conversion:_0xe23366,editing:_0x48cd4c}=_0x395dbc,{t:t}=_0x395dbc['locale'];_0xe23366['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x131354,{writer:_0x20770d,consumable:_0xde9357})=>{const _0x4aaaa3=_0x131354['getChild'](0x0);if(!_0x4aaaa3||!_0x4aaaa3['is']('element','a'))return null;const _0x1004c8=_0x4aaaa3['getAttribute']('href')||'';if(!_0x1004c8['startsWith']('#'))return null;const _0x3a188f=_0x1004c8['replace'](/^#/,'');if(!_0x3a188f)return null;_0xde9357['consume'](_0x4aaaa3,{'name':!0x0,'attributes':['href']});for(const {item:_0x4b27a4}of _0x48cd4c['view']['createRangeIn'](_0x4aaaa3))_0x4b27a4['is']('$textProxy')?_0xde9357['consume'](_0x4b27a4['textNode'],{'name':!0x0}):_0x4b27a4['is']('element')&&_0xde9357['consume'](_0x4b27a4,{'name':!0x0});return _0x20770d['createElement']('footnoteRef',{'footnoteId':_0x3a188f});}}),_0xe23366['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5327b0,{writer:_0x56ba5f})=>b(_0x5327b0,_0x56ba5f)}),_0xe23366['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2a424e,{writer:_0x2aea04})=>{const _0x3dc701=_0x2a424e['getAttribute']('footnoteCounter');return _0x484ea4(b(_0x2a424e,_0x2aea04),_0x2aea04,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3dc701)});}});}['_defineDefinitionsConverters'](){const {editor:_0x44c91d}=this,{t:t}=_0x44c91d['locale'],{conversion:_0x5a6e82}=_0x44c91d;_0x5a6e82['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5a6e82['for']('upcast')['add'](_0x5c5ebb=>{_0x5c5ebb['on']('element:ol',(_0x4db309,_0x525273,_0x4ec5b4)=>{const _0x4d840d=_0x525273['viewItem'];if(!_0x4d840d['hasClass']('footnotes-list')||!_0x525273['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4ec5b4['consumable']['consume'](_0x4d840d,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1d0bfc,modelCursor:_0x2d0c98}=_0x4ec5b4['convertChildren'](_0x525273['viewItem'],_0x525273['modelCursor']);_0x525273['modelRange']=_0x1d0bfc,_0x525273['modelCursor']=_0x2d0c98;}),_0x5c5ebb['on']('element:hr',(_0x4e06f3,_0x4863c9,_0x3b84a7)=>{const _0x179a40=_0x4863c9['viewItem'];_0x179a40['hasClass']('footnotes-divider')&&_0x4863c9['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3b84a7['consumable']['consume'](_0x179a40,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5a6e82['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x138808,{writer:_0x3bb92d})=>D(_0x3bb92d)}),_0x5a6e82['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x340d54,{writer:_0x5da455})=>{const _0x1389f6=D(_0x5da455,{'data-footnotes-list-label':t('Footnotes')}),_0x229e4b=_0x484ea4(_0x1389f6,_0x5da455,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5da455['setCustomProperty']('footnotesDefinitions',!0x0,_0x229e4b),_0x229e4b;}});}['_defineDefinitionConverters'](){const {editor:_0x289d77}=this,{conversion:_0x53b4e8,locale:_0x4fb596}=_0x289d77,_0x5add35=_0x289d77['config']['get']('footnotes.multiBlock');_0x53b4e8['for']('upcast')['add'](_0xcdbab7=>{_0xcdbab7['on']('element:li',(_0x381a1c,_0x3cd441,_0x5916fd)=>{const _0x2ef905=_0x3cd441['viewItem'];if(!_0x2ef905['hasClass']('footnote-definition')||!_0x2ef905['getAttribute']('id'))return;const _0x3568b2=_0x2ef905['parent'];if(!_0x3568b2['is']('element','ol')||!_0x3568b2['hasClass']('footnotes-list'))return;if(!_0x5916fd['consumable']['test'](_0x2ef905,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x71c03=_0x5916fd['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2ef905['getAttribute']('id')});if(!_0x5916fd['safeInsert'](_0x71c03,_0x3cd441['modelCursor']))return;_0x5916fd['consumable']['consume'](_0x2ef905,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x727b9e=Array['from'](_0x2ef905['getChildren']())['find'](_0x4bd71e=>_0x4bd71e['is']('element')&&_0x4bd71e['hasClass']('footnote-content'));for(const _0x41e815 of _0x2ef905['getChildren']())_0x41e815['is']('element')&&(_0x5916fd['consumable']['consume'](_0x41e815,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5916fd['consumable']['consume'](_0x41e815,{'name':!0x0,'classes':'footnote-content'}));if(_0x727b9e){if(_0x5add35)_0x5916fd['convertChildren'](_0x727b9e,_0x71c03);else{const _0x248084=_0x5916fd['writer']['createElement']('footnoteInlineContent');_0x5916fd['writer']['insert'](_0x248084,_0x71c03),_0x5916fd['convertChildren'](_0x727b9e,_0x248084);}}_0x5916fd['updateConversionResult'](_0x71c03,_0x3cd441);});}),_0x53b4e8['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x49848f,{writer:_0x333a65})=>y(_0x49848f,_0x333a65,_0x4fb596,{'dataPipeline':!0x0})}),_0x53b4e8['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x56aafd,{writer:_0x562a27})=>y(_0x56aafd,_0x562a27,_0x4fb596)});}['_defineBogusParagraphConverters'](){const {editor:_0x4f3df2}=this,{conversion:_0x10f72a}=_0x4f3df2;_0x4f3df2['config']['get']('footnotes.multiBlock')?(_0x10f72a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x10f72a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4f3df2['model']['document'],'change:data',()=>{!function(_0x54b44f,_0x3ef68b){const _0x40f929=_0x54b44f['document']['differ'],_0x4d5f34=new Set();for(const _0x390be3 of _0x40f929['getChanges']()){const _0x39ae4f='attribute'==_0x390be3['type']?_0x390be3['range']['start']['parent']:_0x390be3['position']['parent'];_0x39ae4f['is']('element','footnoteDefinition')&&_0x4d5f34['add'](_0x39ae4f);}for(const _0x22b94b of _0x4d5f34['values']()){const _0x598e18=Array['from'](_0x22b94b['getChildren']())['filter'](_0x6783d2=>v(_0x6783d2,_0x3ef68b['mapper']));for(const _0x2e419e of _0x598e18)_0x3ef68b['reconvertItem'](_0x2e419e);}}(_0x4f3df2['model'],_0x4f3df2['editing']);})):(_0x10f72a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x10f72a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1fef16,{writer:_0x6550a7})=>{const _0x2f965e=_0x6550a7['createContainerElement']('span');return _0x6550a7['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2f965e),_0x2f965e;}}));}['_defineKeyboardHandlers'](){const {editor:_0x54dfc0}=this,{editing:_0x5ea156,t:t}=_0x54dfc0,_0x1bb49f=_0x54dfc0['model']['document']['selection'];_0x54dfc0['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x54dfc0['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5ea156['view']['document'],'enter',(_0x47160e,_0xed024)=>{const _0x5c5f93=function(_0x501439){const _0x3b4649=_0x501439['getSelectedElement']();if(_0x3b4649?.['is']('element','footnoteRef'))return _0x3b4649;return null;}(_0x1bb49f);if(_0x5c5f93){const _0xaba4b9=_0x5c5f93['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xaba4b9),_0xed024['preventDefault'](),_0x47160e['stop']();}},{'context':_0x49edcf});}['_defineClickHandlers'](){const {editor:_0x5012dd}=this,{editing:_0x49b6d7}=_0x5012dd;_0x5012dd['editing']['view']['addObserver'](_0x3a395c),_0x5012dd['editing']['view']['addObserver'](_0x4d8ee8);let _0x3fcdda=!0x1;this['listenTo'](_0x49b6d7['view']['document'],'pointerdown',(_0x3dcefe,_0x11206c)=>{const {target:_0x470180}=_0x11206c,_0xe030a2=_0x49b6d7['view']['document']['selection'];_0x3fcdda=!!(_0x470180?.['is']('element','a')&&_0x470180['parent']?.['is']('element','sup')&&_0x470180['parent']['hasClass']('footnote'))&&_0xe030a2['getSelectedElement']()===_0x470180['parent'];},{'priority':'high'}),this['listenTo'](_0x49b6d7['view']['document'],'click',(_0x155c51,_0x408434)=>{const {target:_0xb97d55}=_0x408434;if(!_0xb97d55?.['is']('element','a'))return;if(_0xb97d55['parent']?.['is']('element','sup')&&_0xb97d55['parent']['hasClass']('footnote')&&!_0x3fcdda)return void _0x408434['preventDefault']();let _0x4dafb1=_0xb97d55['getAttribute']('href');if(!_0x4dafb1?.['startsWith']('#'))return;_0x4dafb1=_0x4dafb1['slice'](0x1);let _0x2e25ba=!0x1;(_0x4dafb1['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4dafb1['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4dafb1))&&(_0x2e25ba=!0x0),_0x2e25ba&&(_0x408434['preventDefault'](),_0x155c51['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x16ca5b}={}){return(_0x168e4c,{writer:_0x16bc4a})=>{if(!g(_0x168e4c))return null;if(!_0x16ca5b)return _0x16bc4a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1ac0e3=_0x16bc4a['createContainerElement']('p');return _0x16bc4a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1ac0e3),_0x1ac0e3;};}function g(_0x30c3de){const {parent:_0x5941a3}=_0x30c3de;if(!_0x5941a3?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5941a3['childCount'])return!0x1;for(const _0x4bee24 of _0x30c3de['getAttributeKeys']())if(!_0x4bee24['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4bee24)return!0x1;return!0x0;}function v(_0x11d559,_0x429d1a){if(!_0x11d559['is']('element','paragraph'))return!0x1;const _0x533d40=_0x429d1a['toViewElement'](_0x11d559);return!!_0x533d40&&g(_0x11d559)!==_0x533d40['is']('element','span');}function Q(_0x49b599){return _0x49edcf(_0x49b599)&&_0x49b599['is']('containerElement')&&!!_0x49b599['getCustomProperty']('footnotesDefinitions');}function D(_0x230aa7,_0x5ef8ee={}){const _0x37e1f4=_0x230aa7['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4b3c76=_0x230aa7['createContainerElement']('ol',{'class':'footnotes-list'},_0x230aa7['createSlot']());return _0x230aa7['createContainerElement']('div',{'class':'footnotes',..._0x5ef8ee},[_0x37e1f4,_0x4b3c76]);}function b(_0x5f1bfb,_0x2bba78){const _0xb477a6=_0x5f1bfb['getAttribute']('footnoteId'),_0xaf84bd=_0x5f1bfb['getAttribute']('footnoteCounter'),_0x2af39e=_0x2bba78['createUIElement']('a',{'href':'#'+_0xb477a6},function(_0x2d7691){const _0x4b040d=this['toDomElement'](_0x2d7691);return _0x4b040d['textContent']=_0xaf84bd,_0x4b040d;}),_0xd12b9f=_0x2bba78['createContainerElement']('sup',{'id':'ref-'+_0xb477a6,'class':'footnote'},[_0x2af39e]);return _0xd12b9f['getFillerOffset']=()=>null,_0xd12b9f;}function y(_0xb2fcc8,_0x5c543e,_0x5f38e2,{dataPipeline:_0x2ae8db}={}){const {t:t}=_0x5f38e2,_0x340559=_0xb2fcc8['getAttribute']('footnoteId'),_0x13006d=_0x5c543e['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x340559},function(_0x2d9340){const _0x2f9168=this['toDomElement'](_0x2d9340);return _0x2f9168['innerText']='^',_0x2f9168;}),_0x110b3d=_0x2ae8db?_0x5c543e['createContainerElement']('div',{'class':'footnote-content'}):_0x3b08d9(_0x5c543e['createEditableElement']('div',{'class':'footnote-content'}),_0x5c543e,{'label':t('Footnote\x20content.')});return _0x5c543e['insert'](_0x5c543e['createPositionAt'](_0x110b3d,0x0),_0x5c543e['createSlot']()),_0x5c543e['createContainerElement']('li',{'class':'footnote-definition','id':_0x340559},[_0x13006d,_0x110b3d]);}class e extends _0xee8887{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[r,_0x19c946];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x59a4a6}=this,{plugins:_0x8d7c9e,model:_0x2db0be}=_0x59a4a6,_0x836fc9=_0x8d7c9e['get'](_0x19c946),_0x41c59b=_0x8d7c9e['get'](f);this['listenTo'](_0x836fc9,'outputTransformation',(_0xe9998c,_0x436530)=>{const _0x74dc91=l(_0x2db0be['createRangeIn'](_0x436530['content']));if(!_0x74dc91['length'])return;const _0x5596bb=_0x41c59b['getFootnotes'](),_0x5bbf85=_0x74dc91['reduce']((_0x572278,_0x1e6850)=>{const _0x45db89=_0x5596bb['find'](_0xfead3d=>_0xfead3d['id']===_0x1e6850);if(_0x45db89){const _0x39a990=_0x59a4a6['data']['toView'](_0x45db89['definition'],{'isClipboardPipeline':!0x0}),_0x5738ea=_0x59a4a6['data']['htmlProcessor']['toData'](_0x39a990);_0x572278[_0x45db89['id']]=_0x5738ea;}return _0x572278;},Object['create'](null));_0x436530['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x5bbf85));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x13c6fa}=this,{model:_0x3519ed,plugins:_0x94cbe3}=_0x13c6fa,{view:_0x17dda0}=_0x13c6fa['editing'],_0x53b655=_0x94cbe3['get'](_0x19c946),_0x13abb7=_0x94cbe3['get'](f),_0x3d2f3c=_0x13c6fa['config']['get']('footnotes.multiBlock');let _0x5eb874=null;this['listenTo'](_0x17dda0['document'],'clipboardInput',(_0x161e46,_0x2b1d93)=>{const _0x3658ce=_0x2b1d93['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x5eb874=_0x3658ce?JSON['parse'](_0x3658ce):null;}),this['listenTo'](_0x53b655,'contentInsertion',(_0x5beabb,_0x3c18c5)=>{const _0x2b3847=_0x3c18c5['sourceEditorId']===this['editor']['id'];_0x2b3847&&'drop'===_0x3c18c5['method']||_0x3519ed['change'](_0x46c3df=>{let _0x1f8c72=_0x13abb7['getFootnotesDefinitionsObjectElement']();const _0x49e03d=!!_0x1f8c72&&Array['from'](_0x3519ed['document']['selection']['getSelectedBlocks']())['includes'](_0x1f8c72);if(!_0x5eb874&&function(_0x1fdc0f){for(const {item:_0x3f8f49}of _0x1fdc0f)if(_0x3f8f49['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x3519ed['createRangeIn'](_0x3c18c5['content']))&&(_0x5eb874=function(_0x3ca282,_0x51942f){const _0x1fddbf=c(_0x3ca282,_0x51942f);if(!_0x1fddbf)return null;const _0x49da94=Object['create'](null);for(const _0x26de75 of _0x1fddbf['getChildren']())_0x26de75['is']('element','footnoteDefinition')&&_0x26de75['hasAttribute']('footnoteId')&&(_0x49da94[_0x26de75['getAttribute']('footnoteId')]=_0x3ca282['cloneElement'](_0x26de75,!0x0));return Object['keys'](_0x49da94)['length']?_0x49da94:null;}(_0x46c3df,_0x3c18c5['content'])),(_0x1f8c72&&!_0x49e03d||!_0x1f8c72&&!_0x5eb874)&&function(_0x28e32b,_0x52c631){const _0x4e9a4f=[];for(const {item:_0x41ff84}of _0x28e32b['createRangeIn'](_0x52c631))_0x41ff84['is']('element','footnotesDefinitions')&&_0x4e9a4f['push'](_0x41ff84);for(const _0x106c7e of _0x4e9a4f)_0x28e32b['remove'](_0x106c7e);}(_0x46c3df,_0x3c18c5['content']),!_0x5eb874)return;const {selection:_0x29f9f7}=_0x3519ed['document'],_0x1dbbb7=_0x29f9f7['getFirstRange']()['root'];_0x1f8c72&&!_0x49e03d||(_0x1f8c72=c(_0x46c3df,_0x3c18c5['content']),_0x1f8c72||=_0x13abb7['_insertEmptyFootnotesDefinitionsContainer'](_0x46c3df,_0x1dbbb7));const _0x2648f7=Array['from'](_0x29f9f7['getRanges']())['flatMap'](l),_0x2d917e=function(_0x451045,_0xc7328c,_0x2a9a5a){const _0x25d77f=Object['create'](null);for(const {item:_0x3ced50}of _0x451045['createRangeIn'](_0xc7328c))if(_0x3ced50['is']('element','footnoteRef')){const _0x1cc4a0=_0x3ced50['getAttribute']('footnoteId');if(!_0x2a9a5a(_0x1cc4a0))continue;_0x25d77f[_0x1cc4a0]||(_0x25d77f[_0x1cc4a0]=_0x549f76()),_0x451045['setAttribute']('footnoteId',_0x25d77f[_0x1cc4a0],_0x3ced50);}return _0x25d77f;}(_0x46c3df,_0x3c18c5['content'],_0x468fa3=>{if(!_0x2b3847)return!0x0;return!!_0x13abb7['getFootnote'](_0x468fa3)&&!_0x2648f7['includes'](_0x468fa3);});for(const [_0x396f86,_0x1202cf]of Object['entries'](_0x5eb874)){const _0x2bfd32=_0x2d917e[_0x396f86]||_0x396f86;let _0x58a2af;if('string'!=typeof _0x1202cf)_0x58a2af=_0x1202cf,_0x2bfd32!==_0x396f86&&_0x46c3df['setAttribute']('footnoteId',_0x2bfd32,_0x58a2af);else{_0x58a2af=_0x46c3df['createElement']('footnoteDefinition',{'footnoteId':_0x2bfd32});const _0x1e7b91=_0x13c6fa['data']['htmlProcessor']['toView'](_0x1202cf);let _0x4e059a;if(_0x3d2f3c)_0x4e059a=_0x13c6fa['data']['toModel'](_0x1e7b91,_0x58a2af);else{_0x4e059a=_0x46c3df['createElement']('footnoteInlineContent');const _0x578f40=_0x13c6fa['data']['toModel'](_0x1e7b91,_0x4e059a);_0x46c3df['insert'](_0x578f40,_0x4e059a);}_0x46c3df['append'](_0x4e059a,_0x58a2af);}_0x46c3df['insert'](_0x58a2af,_0x1f8c72,'end');}_0x5eb874=null;});});}}function c(_0x26e7b6,_0x1463af){for(const {item:_0x203126}of _0x26e7b6['createRangeIn'](_0x1463af))if(_0x203126['is']('element','footnotesDefinitions'))return _0x203126;return null;}function l(_0x54e9e8){const _0x531ff3=new Set();for(const {item:_0x25ce6b}of _0x54e9e8)_0x25ce6b['is']('element','footnoteRef')&&_0x531ff3['add'](_0x25ce6b['getAttribute']('footnoteId'));return Array['from'](_0x531ff3);}class i extends _0xee8887{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x22a259}=this,{componentFactory:_0x269ea0}=_0x22a259['ui'];_0x269ea0['add']('insertFootnote',E(_0x22a259,_0x459347)),_0x269ea0['add']('menuBar:insertFootnote',E(_0x22a259,_0x560856)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xa578c=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2c8ad2;for(const _0x2a199f in _0xa578c){const _0x362755=_0x2a199f,_0x5dfd22=_0xa578c[_0x362755];if('footnotesLicenseKeyValid'==_0x5dfd22||'footnotesLicenseKeyInvalid'==_0x5dfd22||'footnotesLicenseKeyExpired'==_0x5dfd22||'footnotesLicenseKeyDomainLimit'==_0x5dfd22||'footnotesLicenseKeyNotAllowed'==_0x5dfd22||'footnotesLicenseKeyEvaluationLimit'==_0x5dfd22||'footnotesLicenseKeyUsageLimit'==_0x5dfd22){delete _0xa578c[_0x362755],_0x2c8ad2=_0x5dfd22,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2c8ad2&&_0xa578c['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2c8ad2&&_0xa578c['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2c8ad2&&_0xa578c['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2c8ad2&&_0xa578c['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2c8ad2&&_0xa578c['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x2c8ad2&&_0xa578c['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x4ccae2,_0x37d308){const _0x30c5a1=_0x4ccae2['commands']['get']('insertFootnote');return _0x124dd8=>{const {t:t}=_0x124dd8,_0x5b2724=new _0x37d308(_0x124dd8),_0x2baaa2=_0x5b2724 instanceof _0x560856;return _0x5b2724['bind']('isEnabled')['to'](_0x30c5a1,'isEnabled'),_0x5b2724['set']({'label':t(_0x2baaa2?'Footnote':'Insert\x20footnote'),'icon':_0x1b32ad,'tooltip':!0x0}),_0x5b2724['on']('execute',()=>{_0x30c5a1['execute'](),_0x4ccae2['editing']['view']['focus']();}),_0x5b2724;};}class lt extends _0xee8887{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 _0x1bdab6{['refresh'](){const {editor:_0x4026f8}=this,_0x141d59=_0x4026f8['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x141d59,this['value']=_0x141d59?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x4f65bf}){const {editor:_0x88a48}=this,_0x5e76d9=_0x88a48['plugins']['get'](f),_0x2e8ca1=_0x5e76d9['getFootnotesDefinitionsObjectElement']();_0x2e8ca1&&W['includes'](_0x4f65bf)&&_0x88a48['model']['change'](_0xbd1306=>{_0xbd1306['setAttribute']('footnotesListStyle',_0x4f65bf,_0x2e8ca1),_0x5e76d9['_updateFootnotesCounters'](_0xbd1306);});}}class C extends _0x1bdab6{['refresh'](){const {editor:_0x2c1ba0}=this,_0x27136a=_0x2c1ba0['plugins']['get'](f)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x27136a,this['value']=_0x27136a?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x161afc}){const {editor:_0x4b584d}=this,_0x477191=_0x4b584d['plugins']['get'](f),_0x592b85=_0x477191['getFootnotesDefinitionsObjectElement']();_0x592b85&&Number['isInteger'](_0x161afc)&&_0x4b584d['model']['change'](_0xcaa6ef=>{_0xcaa6ef['setAttribute']('footnotesListStart',_0x161afc,_0x592b85),_0x477191['_updateFootnotesCounters'](_0xcaa6ef);});}}class P extends _0xee8887{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[r,f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4069c7}=this;_0x4069c7['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x4069c7['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x4069c7['commands']['add']('footnotesStyle',new S(_0x4069c7)),_0x4069c7['commands']['add']('footnotesStart',new C(_0x4069c7)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x24a376}=this,{schema:_0x3cd056}=_0x24a376['model'];_0x3cd056['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x1ce57a}=this,{conversion:_0x2db8d7,model:_0x3500b4}=_0x1ce57a,{schema:_0x13e311}=_0x3500b4;_0x2db8d7['for']('upcast')['add'](_0x4d1fce=>{_0x4d1fce['on']('element:ol',(_0x3cd9c2,_0x4562e1,_0x2fece9)=>{const _0x492c78=_0x4562e1['viewItem'],_0x2a91d6=_0x4562e1['modelCursor']?.['parent'];_0x492c78['hasClass']('footnotes-list')&&_0x2a91d6?.['is']('element','footnotesDefinitions')&&(function(_0xe732f2,_0x25be66,_0x1137b6,_0x4645aa){if(!_0x4645aa['checkAttribute'](_0x25be66,'footnotesListStart'))return;let _0x506cf3=0x1;const _0x48c682=_0x1137b6['consumable']['consume'](_0xe732f2,{'attributes':'start'});if(_0x48c682){const _0x414052=Number['parseInt'](_0xe732f2['getAttribute']('start'),0xa);Number['isNaN'](_0x414052)||(_0x506cf3=_0x414052);}!_0x48c682&&_0x25be66['hasAttribute']('footnotesListStart')||_0x1137b6['writer']['setAttribute']('footnotesListStart',_0x506cf3,_0x25be66);}(_0x492c78,_0x2a91d6,_0x2fece9,_0x13e311),function(_0x4cdbe8,_0x436a82,_0x9bbcb5,_0x35c362){if(!_0x35c362['checkAttribute'](_0x436a82,'footnotesListStyle'))return;let _0x2b33d8='decimal',_0x1dd4fe=!0x1;if(_0x9bbcb5['consumable']['consume'](_0x4cdbe8,{'attributes':'type'})){const _0x26c353={0x1:'decimal','a':'lower-alpha','A':'upper-alpha','i':'lower-roman','I':'upper-roman'}[_0x4cdbe8['getAttribute']('type')];_0x26c353&&(_0x2b33d8=_0x26c353),_0x1dd4fe=!0x0;}_0x9bbcb5['consumable']['consume'](_0x4cdbe8,{'styles':'list-style-type'})&&(_0x2b33d8=function(_0x4f286f){switch(_0x4f286f){case'lower-alpha':return'lower-latin';case'upper-alpha':return'upper-latin';default:return _0x4f286f;}}(_0x4cdbe8['getStyle']('list-style-type')),_0x1dd4fe=!0x0),!_0x1dd4fe&&_0x436a82['hasAttribute']('footnotesListStyle')||_0x9bbcb5['writer']['setAttribute']('footnotesListStyle',_0x2b33d8,_0x436a82);}(_0x492c78,_0x2a91d6,_0x2fece9,_0x13e311));});}),_0x2db8d7['for']('downcast')['add'](_0x519bb8=>{_0x519bb8['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x504d01,_0x7ac8e3,_0x32ec30)=>{if(!_0x32ec30['consumable']['consume'](_0x7ac8e3['item'],_0x504d01['name']))return;const _0x352f67=M(_0x7ac8e3['item'],_0x32ec30['mapper']),{attributeNewValue:_0x389f3d}=_0x7ac8e3;null==_0x389f3d||0x1===_0x389f3d?_0x32ec30['writer']['removeAttribute']('start',_0x352f67):_0x32ec30['writer']['setAttribute']('start',String(_0x389f3d),_0x352f67);}),_0x519bb8['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x3b9f91,_0x180041,_0x2c52bf)=>{if(!_0x2c52bf['consumable']['consume'](_0x180041['item'],_0x3b9f91['name']))return;const _0x31c804=M(_0x180041['item'],_0x2c52bf['mapper']),{attributeNewValue:_0x4c73f5}=_0x180041;_0x4c73f5&&'decimal'!==_0x4c73f5?_0x2c52bf['writer']['setStyle']('list-style-type',_0x4c73f5,_0x31c804):_0x2c52bf['writer']['removeStyle']('list-style-type',_0x31c804);});});}['_definePostfixer'](){const {editor:_0x763ff3}=this,{model:_0x2d78b0}=_0x763ff3,_0x33c1d7=_0x763ff3['plugins']['get'](f),_0x54b145=this['_getDefaultListStyle'](),_0x4b6e7d=this['_getDefaultStartIndex']();_0x2d78b0['document']['registerPostFixer'](_0x4d4ddd=>{const _0x18cd05=_0x2d78b0['document']['differ']['getChanges']();let _0x58e77b=!0x1;for(const _0x47e50a of _0x18cd05){if('insert'!==_0x47e50a['type']||'$text'===_0x47e50a['name'])continue;const _0x4ac9d8=_0x2d78b0['createRangeOn'](_0x47e50a['position']['nodeAfter']);for(const _0x49ca21 of _0x4ac9d8['getItems']())_0x49ca21['is']('element','footnotesDefinitions')&&(!_0x49ca21['hasAttribute']('footnotesListStart')&&_0x2d78b0['schema']['checkAttribute'](_0x49ca21,'footnotesListStart')&&(_0x4d4ddd['setAttribute']('footnotesListStart',_0x4b6e7d,_0x49ca21),_0x58e77b=!0x0),!_0x49ca21['hasAttribute']('footnotesListStyle')&&_0x2d78b0['schema']['checkAttribute'](_0x49ca21,'footnotesListStyle')&&(_0x4d4ddd['setAttribute']('footnotesListStyle',_0x54b145,_0x49ca21),_0x58e77b=!0x0));}return _0x58e77b&&_0x33c1d7['_updateFootnotesCounters'](_0x4d4ddd),_0x58e77b;});}['_defineFormatter'](){const {editor:_0x250191}=this;_0x250191['plugins']['get'](f)['setFootnoteFormatter'](_0xb89f63=>this['_formatFootnoteListValue'](_0xb89f63));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x5b4487,value:_0x5a2727,digits:_0x25ea12}){const _0x1bbf0e=_0x5b4487['getAttribute']('footnotesListStyle'),_0x22e40e=_0x5b4487['getAttribute']('footnotesListStart'),_0x5d24ba=Math['floor'](_0x5a2727)+(_0x22e40e??0x1)-0x1;switch(_0x1bbf0e){case'decimal-leading-zero':return function(_0x3263b2,_0x3984aa){return String(_0x3263b2)['padStart'](_0x3984aa,'0');}(_0x5d24ba,Math['max'](0x2,_0x25ea12));case'lower-alpha':case'lower-latin':return N(_0x5d24ba,!0x1);case'upper-alpha':case'upper-latin':return N(_0x5d24ba,!0x0);case'lower-roman':return X(_0x5d24ba,!0x1);case'upper-roman':return X(_0x5d24ba,!0x0);default:return String(_0x5d24ba);}}}function M(_0x5d1ec9,_0x5ec6b9){const _0x4af50c=_0x5ec6b9['toViewElement'](_0x5d1ec9);return Array['from'](_0x4af50c['getChildren']())['find'](_0x1743dd=>_0x1743dd['is']('element','ol')&&_0x1743dd['hasClass']('footnotes-list'));}function N(_0x387753,_0x2ccc8d){let _0x3abdd0='',_0x2cbeb8=_0x387753;for(;_0x2cbeb8>0x0;){const _0x58d13a=(_0x2cbeb8-0x1)%0x1a;_0x3abdd0=String['fromCharCode'](0x61+_0x58d13a)+_0x3abdd0,_0x2cbeb8=Math['floor']((_0x2cbeb8-0x1)/0x1a);}return _0x2ccc8d?_0x3abdd0['toUpperCase']():_0x3abdd0;}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(_0x59be7f,_0x539653){let _0x3c005c='',_0x1020fe=_0x59be7f;for(const {value:_0xa63df0,numeral:_0x636cf9}of V)for(;_0x1020fe>=_0xa63df0;)_0x3c005c+=_0x636cf9,_0x1020fe-=_0xa63df0;return _0x539653?_0x3c005c:_0x3c005c['toLowerCase']();}class J extends _0x417880{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x2704d5();['focusCycler'];constructor(_0x375b25,{styleButtonViews:_0x5b60fa,styleGridAriaLabel:_0x677222}){super(_0x375b25),(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'](_0x5b60fa,_0x677222),[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 _0x79d96d of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x79d96d['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 _0x3450a3=_0x55a1b3=>_0x55a1b3['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3450a3),this['keystrokes']['set']('arrowleft',_0x3450a3),this['keystrokes']['set']('arrowup',_0x3450a3),this['keystrokes']['set']('arrowdown',_0x3450a3);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2dffff,_0x517add){const _0xd4d21a=new _0x417880(this['locale']);return _0xd4d21a['children']=_0xd4d21a['createCollection'](),_0xd4d21a['children']['addMany'](_0x2dffff),_0xd4d21a['setTemplate']({'tag':'div','attributes':{'aria-label':_0x517add,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xd4d21a['children']}),_0xd4d21a['children']['delegate']('execute')['to'](this),_0xd4d21a['focus']=function(){for(const _0x13925d of this['children'])if(_0x13925d instanceof _0x459347&&_0x13925d['isOn'])return void _0x13925d['focus']();this['children']['first']['focus']();},_0xd4d21a['focusTracker']=new rt(),_0xd4d21a['keystrokes']=new nt(),_0xd4d21a['render'](),_0xd4d21a['keystrokes']['listenTo'](_0xd4d21a['element']),this['children']['add'](_0xd4d21a),_0xd4d21a;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2eee67=this['_createStartIndexPropertyView'](),_0x2d5b8b=[_0x2eee67],_0x2accb4=new it(this['locale'],_0x2d5b8b);return _0x2accb4['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2accb4['buttonView']['bind']('isEnabled')['toMany'](_0x2d5b8b,'isEnabled',(..._0x45c724)=>_0x45c724['some'](_0x4973b8=>_0x4973b8)),_0x2accb4['buttonView']['on']('change:isEnabled',(_0x224a07,_0x1f87b6,_0x5bed50)=>{_0x5bed50||(_0x2accb4['isCollapsed']=!0x0);}),this['children']['add'](_0x2accb4),[_0x2eee67,_0x2accb4];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x677ede=new et(this['locale'],ot);return _0x677ede['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x677ede['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x677ede['fieldView']['on']('input',()=>{const _0x33b6b3=_0x677ede['fieldView']['element'],_0x49de3a=_0x33b6b3['valueAsNumber'];Number['isNaN'](_0x49de3a)?_0x677ede['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x33b6b3['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x49de3a}):_0x677ede['errorText']=t(_0x49de3a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x677ede;}}class j extends _0xee8887{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x22b615,_0x3304da];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x254779}=this,{componentFactory:_0x475b32}=_0x254779['ui'];_0x254779['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x475b32['add']('footnotesStyle',function(_0x46401f){return _0x42c09f=>{const {t:t}=_0x42c09f,_0x1a96fa=_0x46401f['commands']['get']('footnotesStyle'),_0x251f65=_0x531f60(_0x42c09f),{buttonView:_0x21f165}=_0x251f65;return _0x251f65['class']='ck-footnotes-styles-dropdown',_0x251f65['bind']('isEnabled')['to'](_0x1a96fa,'isEnabled'),_0x21f165['set']({'label':t('Footnotes\x20style'),'icon':_0x1b32ad,'tooltip':!0x0}),_0x251f65['once']('change:isOpen',()=>{const _0x33f819=function({editor:_0x3f55ec,dropdownView:_0x920d86}){const {t:t}=_0x3f55ec['locale'],_0x4c1df5=t('Footnotes\x20definitions\x20styles'),_0x5dff9b=function(_0x1558ba){const t=_0x1558ba['locale']['t'],_0x59f13b=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1919b1},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1ab4a3},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x43d0ec},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2aa31d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x31a8a9},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x368341}];return _0x59f13b['map'](function(_0xd434ed){const _0x47961e=_0xd434ed['locale'];return({label:_0x1c34f5,icon:_0x4bfbd4,tooltip:_0x3a2afc,style:_0xbb710c})=>{const _0x3af7c1=_0xd434ed['commands']['get']('footnotesStyle'),_0x553080=new _0x459347(_0x47961e);return _0x553080['set']({'label':_0x1c34f5,'icon':_0x4bfbd4,'tooltip':_0x3a2afc}),_0x553080['bind']('isOn')['to'](_0x3af7c1,'value',_0x325a3a=>_0x325a3a===_0xbb710c),_0x553080['bind']('isEnabled')['to'](_0x3af7c1,'isEnabled'),_0x553080['on']('execute',()=>{_0xd434ed['execute']('footnotesStyle',{'value':_0xbb710c}),_0xd434ed['editing']['view']['focus']();}),_0x553080;};}(_0x1558ba));}(_0x3f55ec),_0x490b4d=new J(_0x3f55ec['locale'],{'styleGridAriaLabel':_0x4c1df5,'styleButtonViews':_0x5dff9b}),_0x2c9a7e=_0x3f55ec['commands']['get']('footnotesStart');return _0x490b4d['startIndexFieldView']['bind']('isEnabled')['to'](_0x2c9a7e),_0x490b4d['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2c9a7e),_0x490b4d['on']('footnotesListStart',(_0x4c2b22,_0x5628ee)=>{_0x3f55ec['execute']('footnotesStart',{'value':_0x5628ee['startIndex']});}),_0x490b4d['delegate']('execute')['to'](_0x920d86),_0x490b4d;}({'editor':_0x46401f,'dropdownView':_0x251f65});_0x251f65['panelView']['children']['add'](_0x33f819);}),_0x251f65;};}(_0x254779));}['afterInit'](){const {editor:_0x34a351}=this,{t:t}=_0x34a351['locale'],_0x414eaf=_0x34a351['plugins']['get'](_0x3304da),{defaultPositions:_0x3727f8}=_0x223c43;_0x414eaf['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x34a351['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x524b13=>{let _0x5f3b3d=_0x524b13['getFirstPosition']()?.['parent'];return _0x5f3b3d?.['is']('$text')&&(_0x5f3b3d=_0x5f3b3d['parent']),_0x5f3b3d?.['is']('element')?_0x5f3b3d['findAncestor'](Q):null;},'positions':[_0x3727f8['southArrowNorth'],_0x3727f8['southArrowNorthMiddleWest'],_0x3727f8['southArrowNorthMiddleEast'],_0x3727f8['southArrowNorthWest'],_0x3727f8['southArrowNorthEast'],_0x3727f8['northArrowSouth'],_0x3727f8['northArrowSouthMiddleWest'],_0x3727f8['northArrowSouthMiddleEast'],_0x3727f8['northArrowSouthWest'],_0x3727f8['northArrowSouthEast'],_0x3727f8['viewportStickyNorth']]});}}class ft extends _0xee8887{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}};