@ckeditor/ckeditor5-footnotes 0.0.0-internal-20251210.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (411) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/LICENSE.md +18 -0
  3. package/README.md +45 -0
  4. package/build/footnotes.js +5 -0
  5. package/build/translations/af.js +1 -0
  6. package/build/translations/ar.js +1 -0
  7. package/build/translations/ast.js +1 -0
  8. package/build/translations/az.js +1 -0
  9. package/build/translations/be.js +1 -0
  10. package/build/translations/bg.js +1 -0
  11. package/build/translations/bn.js +1 -0
  12. package/build/translations/bs.js +1 -0
  13. package/build/translations/ca.js +1 -0
  14. package/build/translations/cs.js +1 -0
  15. package/build/translations/da.js +1 -0
  16. package/build/translations/de-ch.js +1 -0
  17. package/build/translations/de.js +1 -0
  18. package/build/translations/el.js +1 -0
  19. package/build/translations/en-au.js +1 -0
  20. package/build/translations/en-gb.js +1 -0
  21. package/build/translations/eo.js +1 -0
  22. package/build/translations/es-co.js +1 -0
  23. package/build/translations/es.js +1 -0
  24. package/build/translations/et.js +1 -0
  25. package/build/translations/eu.js +1 -0
  26. package/build/translations/fa.js +1 -0
  27. package/build/translations/fi.js +1 -0
  28. package/build/translations/fr.js +1 -0
  29. package/build/translations/gl.js +1 -0
  30. package/build/translations/gu.js +1 -0
  31. package/build/translations/he.js +1 -0
  32. package/build/translations/hi.js +1 -0
  33. package/build/translations/hr.js +1 -0
  34. package/build/translations/hu.js +1 -0
  35. package/build/translations/hy.js +1 -0
  36. package/build/translations/id.js +1 -0
  37. package/build/translations/it.js +1 -0
  38. package/build/translations/ja.js +1 -0
  39. package/build/translations/jv.js +1 -0
  40. package/build/translations/kk.js +1 -0
  41. package/build/translations/km.js +1 -0
  42. package/build/translations/kn.js +1 -0
  43. package/build/translations/ko.js +1 -0
  44. package/build/translations/ku.js +1 -0
  45. package/build/translations/lt.js +1 -0
  46. package/build/translations/lv.js +1 -0
  47. package/build/translations/ms.js +1 -0
  48. package/build/translations/nb.js +1 -0
  49. package/build/translations/ne.js +1 -0
  50. package/build/translations/nl.js +1 -0
  51. package/build/translations/no.js +1 -0
  52. package/build/translations/oc.js +1 -0
  53. package/build/translations/pl.js +1 -0
  54. package/build/translations/pt-br.js +1 -0
  55. package/build/translations/pt.js +1 -0
  56. package/build/translations/ro.js +1 -0
  57. package/build/translations/ru.js +1 -0
  58. package/build/translations/si.js +1 -0
  59. package/build/translations/sk.js +1 -0
  60. package/build/translations/sl.js +1 -0
  61. package/build/translations/sq.js +1 -0
  62. package/build/translations/sr-latn.js +1 -0
  63. package/build/translations/sr.js +1 -0
  64. package/build/translations/sv.js +1 -0
  65. package/build/translations/th.js +1 -0
  66. package/build/translations/ti.js +1 -0
  67. package/build/translations/tk.js +1 -0
  68. package/build/translations/tr.js +1 -0
  69. package/build/translations/tt.js +1 -0
  70. package/build/translations/ug.js +1 -0
  71. package/build/translations/uk.js +1 -0
  72. package/build/translations/ur.js +1 -0
  73. package/build/translations/uz.js +1 -0
  74. package/build/translations/vi.js +1 -0
  75. package/build/translations/zh-cn.js +1 -0
  76. package/build/translations/zh.js +1 -0
  77. package/ckeditor5-metadata.json +65 -0
  78. package/dist/index-content.css +64 -0
  79. package/dist/index-editor.css +81 -0
  80. package/dist/index.css +181 -0
  81. package/dist/index.js +23 -0
  82. package/dist/translations/af.d.ts +8 -0
  83. package/dist/translations/af.js +23 -0
  84. package/dist/translations/af.umd.js +23 -0
  85. package/dist/translations/ar.d.ts +8 -0
  86. package/dist/translations/ar.js +23 -0
  87. package/dist/translations/ar.umd.js +23 -0
  88. package/dist/translations/ast.d.ts +8 -0
  89. package/dist/translations/ast.js +23 -0
  90. package/dist/translations/ast.umd.js +23 -0
  91. package/dist/translations/az.d.ts +8 -0
  92. package/dist/translations/az.js +23 -0
  93. package/dist/translations/az.umd.js +23 -0
  94. package/dist/translations/be.d.ts +8 -0
  95. package/dist/translations/be.js +23 -0
  96. package/dist/translations/be.umd.js +23 -0
  97. package/dist/translations/bg.d.ts +8 -0
  98. package/dist/translations/bg.js +23 -0
  99. package/dist/translations/bg.umd.js +23 -0
  100. package/dist/translations/bn.d.ts +8 -0
  101. package/dist/translations/bn.js +23 -0
  102. package/dist/translations/bn.umd.js +23 -0
  103. package/dist/translations/bs.d.ts +8 -0
  104. package/dist/translations/bs.js +23 -0
  105. package/dist/translations/bs.umd.js +23 -0
  106. package/dist/translations/ca.d.ts +8 -0
  107. package/dist/translations/ca.js +23 -0
  108. package/dist/translations/ca.umd.js +23 -0
  109. package/dist/translations/cs.d.ts +8 -0
  110. package/dist/translations/cs.js +23 -0
  111. package/dist/translations/cs.umd.js +23 -0
  112. package/dist/translations/da.d.ts +8 -0
  113. package/dist/translations/da.js +23 -0
  114. package/dist/translations/da.umd.js +23 -0
  115. package/dist/translations/de-ch.d.ts +8 -0
  116. package/dist/translations/de-ch.js +23 -0
  117. package/dist/translations/de-ch.umd.js +23 -0
  118. package/dist/translations/de.d.ts +8 -0
  119. package/dist/translations/de.js +23 -0
  120. package/dist/translations/de.umd.js +23 -0
  121. package/dist/translations/el.d.ts +8 -0
  122. package/dist/translations/el.js +23 -0
  123. package/dist/translations/el.umd.js +23 -0
  124. package/dist/translations/en-au.d.ts +8 -0
  125. package/dist/translations/en-au.js +23 -0
  126. package/dist/translations/en-au.umd.js +23 -0
  127. package/dist/translations/en-gb.d.ts +8 -0
  128. package/dist/translations/en-gb.js +23 -0
  129. package/dist/translations/en-gb.umd.js +23 -0
  130. package/dist/translations/en.d.ts +8 -0
  131. package/dist/translations/en.js +23 -0
  132. package/dist/translations/en.umd.js +23 -0
  133. package/dist/translations/eo.d.ts +8 -0
  134. package/dist/translations/eo.js +23 -0
  135. package/dist/translations/eo.umd.js +23 -0
  136. package/dist/translations/es-co.d.ts +8 -0
  137. package/dist/translations/es-co.js +23 -0
  138. package/dist/translations/es-co.umd.js +23 -0
  139. package/dist/translations/es.d.ts +8 -0
  140. package/dist/translations/es.js +23 -0
  141. package/dist/translations/es.umd.js +23 -0
  142. package/dist/translations/et.d.ts +8 -0
  143. package/dist/translations/et.js +23 -0
  144. package/dist/translations/et.umd.js +23 -0
  145. package/dist/translations/eu.d.ts +8 -0
  146. package/dist/translations/eu.js +23 -0
  147. package/dist/translations/eu.umd.js +23 -0
  148. package/dist/translations/fa.d.ts +8 -0
  149. package/dist/translations/fa.js +23 -0
  150. package/dist/translations/fa.umd.js +23 -0
  151. package/dist/translations/fi.d.ts +8 -0
  152. package/dist/translations/fi.js +23 -0
  153. package/dist/translations/fi.umd.js +23 -0
  154. package/dist/translations/fr.d.ts +8 -0
  155. package/dist/translations/fr.js +23 -0
  156. package/dist/translations/fr.umd.js +23 -0
  157. package/dist/translations/gl.d.ts +8 -0
  158. package/dist/translations/gl.js +23 -0
  159. package/dist/translations/gl.umd.js +23 -0
  160. package/dist/translations/gu.d.ts +8 -0
  161. package/dist/translations/gu.js +23 -0
  162. package/dist/translations/gu.umd.js +23 -0
  163. package/dist/translations/he.d.ts +8 -0
  164. package/dist/translations/he.js +23 -0
  165. package/dist/translations/he.umd.js +23 -0
  166. package/dist/translations/hi.d.ts +8 -0
  167. package/dist/translations/hi.js +23 -0
  168. package/dist/translations/hi.umd.js +23 -0
  169. package/dist/translations/hr.d.ts +8 -0
  170. package/dist/translations/hr.js +23 -0
  171. package/dist/translations/hr.umd.js +23 -0
  172. package/dist/translations/hu.d.ts +8 -0
  173. package/dist/translations/hu.js +23 -0
  174. package/dist/translations/hu.umd.js +23 -0
  175. package/dist/translations/hy.d.ts +8 -0
  176. package/dist/translations/hy.js +23 -0
  177. package/dist/translations/hy.umd.js +23 -0
  178. package/dist/translations/id.d.ts +8 -0
  179. package/dist/translations/id.js +23 -0
  180. package/dist/translations/id.umd.js +23 -0
  181. package/dist/translations/it.d.ts +8 -0
  182. package/dist/translations/it.js +23 -0
  183. package/dist/translations/it.umd.js +23 -0
  184. package/dist/translations/ja.d.ts +8 -0
  185. package/dist/translations/ja.js +23 -0
  186. package/dist/translations/ja.umd.js +23 -0
  187. package/dist/translations/jv.d.ts +8 -0
  188. package/dist/translations/jv.js +23 -0
  189. package/dist/translations/jv.umd.js +23 -0
  190. package/dist/translations/kk.d.ts +8 -0
  191. package/dist/translations/kk.js +23 -0
  192. package/dist/translations/kk.umd.js +23 -0
  193. package/dist/translations/km.d.ts +8 -0
  194. package/dist/translations/km.js +23 -0
  195. package/dist/translations/km.umd.js +23 -0
  196. package/dist/translations/kn.d.ts +8 -0
  197. package/dist/translations/kn.js +23 -0
  198. package/dist/translations/kn.umd.js +23 -0
  199. package/dist/translations/ko.d.ts +8 -0
  200. package/dist/translations/ko.js +23 -0
  201. package/dist/translations/ko.umd.js +23 -0
  202. package/dist/translations/ku.d.ts +8 -0
  203. package/dist/translations/ku.js +23 -0
  204. package/dist/translations/ku.umd.js +23 -0
  205. package/dist/translations/lt.d.ts +8 -0
  206. package/dist/translations/lt.js +23 -0
  207. package/dist/translations/lt.umd.js +23 -0
  208. package/dist/translations/lv.d.ts +8 -0
  209. package/dist/translations/lv.js +23 -0
  210. package/dist/translations/lv.umd.js +23 -0
  211. package/dist/translations/ms.d.ts +8 -0
  212. package/dist/translations/ms.js +23 -0
  213. package/dist/translations/ms.umd.js +23 -0
  214. package/dist/translations/nb.d.ts +8 -0
  215. package/dist/translations/nb.js +23 -0
  216. package/dist/translations/nb.umd.js +23 -0
  217. package/dist/translations/ne.d.ts +8 -0
  218. package/dist/translations/ne.js +23 -0
  219. package/dist/translations/ne.umd.js +23 -0
  220. package/dist/translations/nl.d.ts +8 -0
  221. package/dist/translations/nl.js +23 -0
  222. package/dist/translations/nl.umd.js +23 -0
  223. package/dist/translations/no.d.ts +8 -0
  224. package/dist/translations/no.js +23 -0
  225. package/dist/translations/no.umd.js +23 -0
  226. package/dist/translations/oc.d.ts +8 -0
  227. package/dist/translations/oc.js +23 -0
  228. package/dist/translations/oc.umd.js +23 -0
  229. package/dist/translations/pl.d.ts +8 -0
  230. package/dist/translations/pl.js +23 -0
  231. package/dist/translations/pl.umd.js +23 -0
  232. package/dist/translations/pt-br.d.ts +8 -0
  233. package/dist/translations/pt-br.js +23 -0
  234. package/dist/translations/pt-br.umd.js +23 -0
  235. package/dist/translations/pt.d.ts +8 -0
  236. package/dist/translations/pt.js +23 -0
  237. package/dist/translations/pt.umd.js +23 -0
  238. package/dist/translations/ro.d.ts +8 -0
  239. package/dist/translations/ro.js +23 -0
  240. package/dist/translations/ro.umd.js +23 -0
  241. package/dist/translations/ru.d.ts +8 -0
  242. package/dist/translations/ru.js +23 -0
  243. package/dist/translations/ru.umd.js +23 -0
  244. package/dist/translations/si.d.ts +8 -0
  245. package/dist/translations/si.js +23 -0
  246. package/dist/translations/si.umd.js +23 -0
  247. package/dist/translations/sk.d.ts +8 -0
  248. package/dist/translations/sk.js +23 -0
  249. package/dist/translations/sk.umd.js +23 -0
  250. package/dist/translations/sl.d.ts +8 -0
  251. package/dist/translations/sl.js +23 -0
  252. package/dist/translations/sl.umd.js +23 -0
  253. package/dist/translations/sq.d.ts +8 -0
  254. package/dist/translations/sq.js +23 -0
  255. package/dist/translations/sq.umd.js +23 -0
  256. package/dist/translations/sr-latn.d.ts +8 -0
  257. package/dist/translations/sr-latn.js +23 -0
  258. package/dist/translations/sr-latn.umd.js +23 -0
  259. package/dist/translations/sr.d.ts +8 -0
  260. package/dist/translations/sr.js +23 -0
  261. package/dist/translations/sr.umd.js +23 -0
  262. package/dist/translations/sv.d.ts +8 -0
  263. package/dist/translations/sv.js +23 -0
  264. package/dist/translations/sv.umd.js +23 -0
  265. package/dist/translations/th.d.ts +8 -0
  266. package/dist/translations/th.js +23 -0
  267. package/dist/translations/th.umd.js +23 -0
  268. package/dist/translations/ti.d.ts +8 -0
  269. package/dist/translations/ti.js +23 -0
  270. package/dist/translations/ti.umd.js +23 -0
  271. package/dist/translations/tk.d.ts +8 -0
  272. package/dist/translations/tk.js +23 -0
  273. package/dist/translations/tk.umd.js +23 -0
  274. package/dist/translations/tr.d.ts +8 -0
  275. package/dist/translations/tr.js +23 -0
  276. package/dist/translations/tr.umd.js +23 -0
  277. package/dist/translations/tt.d.ts +8 -0
  278. package/dist/translations/tt.js +23 -0
  279. package/dist/translations/tt.umd.js +23 -0
  280. package/dist/translations/ug.d.ts +8 -0
  281. package/dist/translations/ug.js +23 -0
  282. package/dist/translations/ug.umd.js +23 -0
  283. package/dist/translations/uk.d.ts +8 -0
  284. package/dist/translations/uk.js +23 -0
  285. package/dist/translations/uk.umd.js +23 -0
  286. package/dist/translations/ur.d.ts +8 -0
  287. package/dist/translations/ur.js +23 -0
  288. package/dist/translations/ur.umd.js +23 -0
  289. package/dist/translations/uz.d.ts +8 -0
  290. package/dist/translations/uz.js +23 -0
  291. package/dist/translations/uz.umd.js +23 -0
  292. package/dist/translations/vi.d.ts +8 -0
  293. package/dist/translations/vi.js +23 -0
  294. package/dist/translations/vi.umd.js +23 -0
  295. package/dist/translations/zh-cn.d.ts +8 -0
  296. package/dist/translations/zh-cn.js +23 -0
  297. package/dist/translations/zh-cn.umd.js +23 -0
  298. package/dist/translations/zh.d.ts +8 -0
  299. package/dist/translations/zh.js +23 -0
  300. package/dist/translations/zh.umd.js +23 -0
  301. package/lang/contexts.json +27 -0
  302. package/lang/translations/af.po +112 -0
  303. package/lang/translations/ar.po +112 -0
  304. package/lang/translations/ast.po +112 -0
  305. package/lang/translations/az.po +112 -0
  306. package/lang/translations/be.po +112 -0
  307. package/lang/translations/bg.po +112 -0
  308. package/lang/translations/bn.po +112 -0
  309. package/lang/translations/bs.po +112 -0
  310. package/lang/translations/ca.po +112 -0
  311. package/lang/translations/cs.po +112 -0
  312. package/lang/translations/da.po +112 -0
  313. package/lang/translations/de-ch.po +112 -0
  314. package/lang/translations/de.po +112 -0
  315. package/lang/translations/el.po +112 -0
  316. package/lang/translations/en-au.po +112 -0
  317. package/lang/translations/en-gb.po +112 -0
  318. package/lang/translations/en.po +112 -0
  319. package/lang/translations/eo.po +112 -0
  320. package/lang/translations/es-co.po +112 -0
  321. package/lang/translations/es.po +112 -0
  322. package/lang/translations/et.po +112 -0
  323. package/lang/translations/eu.po +112 -0
  324. package/lang/translations/fa.po +112 -0
  325. package/lang/translations/fi.po +112 -0
  326. package/lang/translations/fr.po +112 -0
  327. package/lang/translations/gl.po +112 -0
  328. package/lang/translations/gu.po +112 -0
  329. package/lang/translations/he.po +112 -0
  330. package/lang/translations/hi.po +112 -0
  331. package/lang/translations/hr.po +112 -0
  332. package/lang/translations/hu.po +112 -0
  333. package/lang/translations/hy.po +112 -0
  334. package/lang/translations/id.po +112 -0
  335. package/lang/translations/it.po +112 -0
  336. package/lang/translations/ja.po +112 -0
  337. package/lang/translations/jv.po +112 -0
  338. package/lang/translations/kk.po +112 -0
  339. package/lang/translations/km.po +112 -0
  340. package/lang/translations/kn.po +112 -0
  341. package/lang/translations/ko.po +112 -0
  342. package/lang/translations/ku.po +112 -0
  343. package/lang/translations/lt.po +112 -0
  344. package/lang/translations/lv.po +112 -0
  345. package/lang/translations/ms.po +112 -0
  346. package/lang/translations/nb.po +112 -0
  347. package/lang/translations/ne.po +112 -0
  348. package/lang/translations/nl.po +112 -0
  349. package/lang/translations/no.po +112 -0
  350. package/lang/translations/oc.po +112 -0
  351. package/lang/translations/pl.po +112 -0
  352. package/lang/translations/pt-br.po +112 -0
  353. package/lang/translations/pt.po +112 -0
  354. package/lang/translations/ro.po +112 -0
  355. package/lang/translations/ru.po +112 -0
  356. package/lang/translations/si.po +112 -0
  357. package/lang/translations/sk.po +112 -0
  358. package/lang/translations/sl.po +112 -0
  359. package/lang/translations/sq.po +112 -0
  360. package/lang/translations/sr-latn.po +112 -0
  361. package/lang/translations/sr.po +112 -0
  362. package/lang/translations/sv.po +112 -0
  363. package/lang/translations/th.po +112 -0
  364. package/lang/translations/ti.po +112 -0
  365. package/lang/translations/tk.po +112 -0
  366. package/lang/translations/tr.po +112 -0
  367. package/lang/translations/tt.po +112 -0
  368. package/lang/translations/ug.po +112 -0
  369. package/lang/translations/uk.po +112 -0
  370. package/lang/translations/ur.po +112 -0
  371. package/lang/translations/uz.po +112 -0
  372. package/lang/translations/vi.po +112 -0
  373. package/lang/translations/zh-cn.po +112 -0
  374. package/lang/translations/zh.po +112 -0
  375. package/package.json +73 -0
  376. package/src/augmentation.d.ts +34 -0
  377. package/src/augmentation.js +23 -0
  378. package/src/commands/insertfootnotecommand.d.ts +20 -0
  379. package/src/commands/insertfootnotecommand.js +23 -0
  380. package/src/footnotes.d.ts +33 -0
  381. package/src/footnotes.js +23 -0
  382. package/src/footnotesclipboard.d.ts +38 -0
  383. package/src/footnotesclipboard.js +23 -0
  384. package/src/footnotesconfig.d.ts +30 -0
  385. package/src/footnotesconfig.js +23 -0
  386. package/src/footnotesediting.d.ts +47 -0
  387. package/src/footnotesediting.js +23 -0
  388. package/src/footnotesproperties/commands/footnotesstartcommand.d.ts +28 -0
  389. package/src/footnotesproperties/commands/footnotesstartcommand.js +23 -0
  390. package/src/footnotesproperties/commands/footnotesstylecommand.d.ts +29 -0
  391. package/src/footnotesproperties/commands/footnotesstylecommand.js +23 -0
  392. package/src/footnotesproperties/footnotespropertiesconfig.d.ts +53 -0
  393. package/src/footnotesproperties/footnotespropertiesconfig.js +23 -0
  394. package/src/footnotesproperties/footnotespropertiesediting.d.ts +36 -0
  395. package/src/footnotesproperties/footnotespropertiesediting.js +23 -0
  396. package/src/footnotesproperties/footnotespropertiesui.d.ts +41 -0
  397. package/src/footnotesproperties/footnotespropertiesui.js +23 -0
  398. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.d.ts +15 -0
  399. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +23 -0
  400. package/src/footnotesproperties.d.ts +32 -0
  401. package/src/footnotesproperties.js +23 -0
  402. package/src/footnotestracker.d.ts +102 -0
  403. package/src/footnotestracker.js +23 -0
  404. package/src/footnotesui.d.ts +31 -0
  405. package/src/footnotesui.js +23 -0
  406. package/src/index.d.ts +21 -0
  407. package/src/index.js +23 -0
  408. package/src/modelelementtracker.d.ts +60 -0
  409. package/src/modelelementtracker.js +23 -0
  410. package/theme/footnotes.css +143 -0
  411. package/theme/footnotesproperties.css +54 -0
@@ -0,0 +1,36 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module footnotes/footnotesproperties/footnotespropertiesediting
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import { FootnotesTracker } from '../footnotestracker.js';
11
+ import { FootnotesEditing } from '../footnotesediting.js';
12
+ /**
13
+ * A plugin that provides footnotes properties editing.
14
+ */
15
+ export declare class FootnotesPropertiesEditing extends Plugin {
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ static get pluginName(): "FootnotesPropertiesEditing";
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get requires(): readonly [typeof FootnotesEditing, typeof FootnotesTracker];
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static get isOfficialPlugin(): true;
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static get isPremiumPlugin(): true;
32
+ /**
33
+ * @inheritDoc
34
+ */
35
+ init(): void;
36
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0xeb1b93=_0x6a8c;function _0x5bde(){const _0x51c019=['1781356fViWVK','attribute:footnotesListStyle:footnotesDefinitions','padStart','parent','toUpperCase','define','isOfficialPlugin','setStyle','removeAttribute','attribute:footnotesListStart:footnotesDefinitions','from','plugins','find','parseInt','toLowerCase','FootnotesPropertiesEditing','footnotesDefinitions','nodeAfter','document','897599QoWZHR','downcast','decimal','insert','model','lower-roman','item','decimal-leading-zero','removeStyle','element:ol','modelCursor','244605YRvjUV','isPremiumPlugin','upcast','writer','editor','floor','schema','createRangeOn','footnotesListStart','for','_defineConverters','max','getStyle','position','toViewElement','2287665KqIrMg','setFootnoteFormatter','requires','isNaN','list-style-type','mapper','_formatFootnoteListValue','start','_updateFootnotesCounters','_getDefaultStartIndex','commands','getChildren','8501528VztcUF','footnotesListStyle','consume','hasClass','upper-roman','189301AblzLP','extend','getAttribute','registerPostFixer','checkAttribute','consumable','type','_defineSchema','_definePostfixer','$text','setAttribute','get','hasAttribute','footnotesStart','footnotes.footnotesProperties.defaultListStyle','element','14xbsmPw','lower-alpha','20446320ynImDT','lower-latin','pluginName','add','getItems','_defineFormatter','footnotes-list','viewItem','init','upper-alpha','config','footnotes.footnotesProperties.defaultStartIndex','getChanges','fromCharCode','footnotesStyle','name','differ','5luSgvc','_getDefaultListStyle','276fkekvi','upper-latin'];_0x5bde=function(){return _0x51c019;};return _0x5bde();}function _0x6a8c(_0x3d344c,_0x209f02){const _0x5bde7c=_0x5bde();return _0x6a8c=function(_0x6a8cc3,_0x586e71){_0x6a8cc3=_0x6a8cc3-0xf5;let _0x3f7f11=_0x5bde7c[_0x6a8cc3];return _0x3f7f11;},_0x6a8c(_0x3d344c,_0x209f02);}(function(_0x36dc10,_0x40616e){const _0x31bc73=_0x6a8c,_0x1c6912=_0x36dc10();while(!![]){try{const _0x2fff52=parseInt(_0x31bc73(0x14f))/0x1+-parseInt(_0x31bc73(0x125))/0x2*(parseInt(_0x31bc73(0xf5))/0x3)+parseInt(_0x31bc73(0x13c))/0x4*(parseInt(_0x31bc73(0x138))/0x5)+parseInt(_0x31bc73(0x13a))/0x6*(parseInt(_0x31bc73(0x115))/0x7)+parseInt(_0x31bc73(0x110))/0x8+-parseInt(_0x31bc73(0x104))/0x9+-parseInt(_0x31bc73(0x127))/0xa;if(_0x2fff52===_0x40616e)break;else _0x1c6912['push'](_0x1c6912['shift']());}catch(_0x3d251a){_0x1c6912['push'](_0x1c6912['shift']());}}}(_0x5bde,0xbe70d));import{Plugin as _0x1900a0}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x314df6}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x44b038}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x204a29}from'../footnotestracker.js';import{FootnotesEditing as _0x4986ce}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x1900a0{static get[_0xeb1b93(0x129)](){const _0x2d537a=_0xeb1b93;return _0x2d537a(0x14b);}static get[_0xeb1b93(0x106)](){return[_0x4986ce,_0x204a29];}static get[_0xeb1b93(0x142)](){return!0x0;}static get[_0xeb1b93(0xf6)](){return!0x0;}[_0xeb1b93(0x12f)](){const _0x5ba900=_0xeb1b93,{editor:_0x2880f6}=this;_0x2880f6[_0x5ba900(0x131)][_0x5ba900(0x141)](_0x5ba900(0x123),_0x5ba900(0x151)),_0x2880f6[_0x5ba900(0x131)][_0x5ba900(0x141)](_0x5ba900(0x132),0x1),_0x2880f6[_0x5ba900(0x10e)][_0x5ba900(0x12a)](_0x5ba900(0x135),new _0x314df6(_0x2880f6)),_0x2880f6[_0x5ba900(0x10e)][_0x5ba900(0x12a)](_0x5ba900(0x122),new _0x44b038(_0x2880f6)),this[_0x5ba900(0x11c)](),this[_0x5ba900(0xff)](),this[_0x5ba900(0x12c)](),this[_0x5ba900(0x11d)]();}[_0xeb1b93(0x11c)](){const _0x4023e9=_0xeb1b93,{editor:_0x31e704}=this,{schema:_0x262b77}=_0x31e704[_0x4023e9(0x153)];_0x262b77[_0x4023e9(0x116)](_0x4023e9(0x14c),{'allowAttributes':[_0x4023e9(0x111),_0x4023e9(0xfd)]});}[_0xeb1b93(0xff)](){const _0x3fa0a5=_0xeb1b93,{editor:_0x30c94a}=this,{conversion:_0x1629d2,model:_0x56e9e8}=_0x30c94a,{schema:_0x33cc2e}=_0x56e9e8;_0x1629d2[_0x3fa0a5(0xfe)](_0x3fa0a5(0xf7))[_0x3fa0a5(0x12a)](_0x435db6=>{const _0x32bad7=_0x3fa0a5;_0x435db6['on'](_0x32bad7(0x158),(_0x32c69a,_0x4f2376,_0x57ecd4)=>{const _0x11721c=_0x32bad7,_0x602960=_0x4f2376[_0x11721c(0x12e)],_0x1e221c=_0x4f2376[_0x11721c(0x159)]?.[_0x11721c(0x13f)];_0x602960[_0x11721c(0x113)](_0x11721c(0x12d))&&_0x1e221c?.['is'](_0x11721c(0x124),_0x11721c(0x14c))&&(function(_0x13279c,_0x2b6b12,_0x22e64d,_0x7d495a){const _0x897d5d=_0x11721c;if(!_0x7d495a[_0x897d5d(0x119)](_0x2b6b12,_0x897d5d(0xfd)))return;let _0x39b85f=0x1;const _0xad3937=_0x22e64d[_0x897d5d(0x11a)][_0x897d5d(0x112)](_0x13279c,{'attributes':_0x897d5d(0x10b)});if(_0xad3937){const _0x256fcf=Number[_0x897d5d(0x149)](_0x13279c[_0x897d5d(0x117)](_0x897d5d(0x10b)),0xa);Number[_0x897d5d(0x107)](_0x256fcf)||(_0x39b85f=_0x256fcf);}!_0xad3937&&_0x2b6b12[_0x897d5d(0x121)](_0x897d5d(0xfd))||_0x22e64d[_0x897d5d(0xf8)][_0x897d5d(0x11f)](_0x897d5d(0xfd),_0x39b85f,_0x2b6b12);}(_0x602960,_0x1e221c,_0x57ecd4,_0x33cc2e),function(_0x487749,_0x4f2542,_0x5266e0,_0x51f5c3){const _0x20e99c=_0x11721c;if(!_0x51f5c3[_0x20e99c(0x119)](_0x4f2542,_0x20e99c(0x111)))return;let _0x11ff86=_0x20e99c(0x151),_0x38269e=!0x1;if(_0x5266e0[_0x20e99c(0x11a)][_0x20e99c(0x112)](_0x487749,{'attributes':_0x20e99c(0x11b)})){const _0xa83bd1={0x1:_0x20e99c(0x151),'a':_0x20e99c(0x126),'A':_0x20e99c(0x130),'i':_0x20e99c(0x154),'I':_0x20e99c(0x114)}[_0x487749[_0x20e99c(0x117)](_0x20e99c(0x11b))];_0xa83bd1&&(_0x11ff86=_0xa83bd1),_0x38269e=!0x0;}_0x5266e0[_0x20e99c(0x11a)][_0x20e99c(0x112)](_0x487749,{'styles':_0x20e99c(0x108)})&&(_0x11ff86=function(_0x47f674){const _0x35723b=_0x20e99c;switch(_0x47f674){case _0x35723b(0x126):return _0x35723b(0x128);case _0x35723b(0x130):return _0x35723b(0x13b);default:return _0x47f674;}}(_0x487749[_0x20e99c(0x101)](_0x20e99c(0x108))),_0x38269e=!0x0),!_0x38269e&&_0x4f2542[_0x20e99c(0x121)](_0x20e99c(0x111))||_0x5266e0[_0x20e99c(0xf8)][_0x20e99c(0x11f)](_0x20e99c(0x111),_0x11ff86,_0x4f2542);}(_0x602960,_0x1e221c,_0x57ecd4,_0x33cc2e));});}),_0x1629d2[_0x3fa0a5(0xfe)](_0x3fa0a5(0x150))[_0x3fa0a5(0x12a)](_0x1d3bd6=>{const _0x128a2b=_0x3fa0a5;_0x1d3bd6['on'](_0x128a2b(0x145),(_0x5c9ff6,_0x18c007,_0x1296b2)=>{const _0x14cae8=_0x128a2b;if(!_0x1296b2[_0x14cae8(0x11a)][_0x14cae8(0x112)](_0x18c007[_0x14cae8(0x155)],_0x5c9ff6[_0x14cae8(0x136)]))return;const _0x811077=M(_0x18c007[_0x14cae8(0x155)],_0x1296b2[_0x14cae8(0x109)]),{attributeNewValue:_0x9612b8}=_0x18c007;null==_0x9612b8||0x1===_0x9612b8?_0x1296b2[_0x14cae8(0xf8)][_0x14cae8(0x144)](_0x14cae8(0x10b),_0x811077):_0x1296b2[_0x14cae8(0xf8)][_0x14cae8(0x11f)](_0x14cae8(0x10b),String(_0x9612b8),_0x811077);}),_0x1d3bd6['on'](_0x128a2b(0x13d),(_0x3fc81f,_0x425256,_0x2d0115)=>{const _0x1478b2=_0x128a2b;if(!_0x2d0115[_0x1478b2(0x11a)][_0x1478b2(0x112)](_0x425256[_0x1478b2(0x155)],_0x3fc81f[_0x1478b2(0x136)]))return;const _0x2ecf30=M(_0x425256[_0x1478b2(0x155)],_0x2d0115[_0x1478b2(0x109)]),{attributeNewValue:_0x4c44da}=_0x425256;_0x4c44da&&_0x1478b2(0x151)!==_0x4c44da?_0x2d0115[_0x1478b2(0xf8)][_0x1478b2(0x143)](_0x1478b2(0x108),_0x4c44da,_0x2ecf30):_0x2d0115[_0x1478b2(0xf8)][_0x1478b2(0x157)](_0x1478b2(0x108),_0x2ecf30);});});}[_0xeb1b93(0x11d)](){const _0x53d9ab=_0xeb1b93,{editor:_0xe1965}=this,{model:_0x535ff7}=_0xe1965,_0x5a1bf4=_0xe1965[_0x53d9ab(0x147)][_0x53d9ab(0x120)](_0x204a29),_0x3bb728=this[_0x53d9ab(0x139)](),_0x52921b=this[_0x53d9ab(0x10d)]();_0x535ff7[_0x53d9ab(0x14e)][_0x53d9ab(0x118)](_0x1d2ab1=>{const _0x40a631=_0x53d9ab,_0x53c8ea=_0x535ff7[_0x40a631(0x14e)][_0x40a631(0x137)][_0x40a631(0x133)]();let _0x30957b=!0x1;for(const _0x266b58 of _0x53c8ea){if(_0x40a631(0x152)!==_0x266b58[_0x40a631(0x11b)]||_0x40a631(0x11e)===_0x266b58[_0x40a631(0x136)])continue;const _0x55bde1=_0x535ff7[_0x40a631(0xfc)](_0x266b58[_0x40a631(0x102)][_0x40a631(0x14d)]);for(const _0x516bea of _0x55bde1[_0x40a631(0x12b)]())_0x516bea['is'](_0x40a631(0x124),_0x40a631(0x14c))&&(!_0x516bea[_0x40a631(0x121)](_0x40a631(0xfd))&&_0x535ff7[_0x40a631(0xfb)][_0x40a631(0x119)](_0x516bea,_0x40a631(0xfd))&&(_0x1d2ab1[_0x40a631(0x11f)](_0x40a631(0xfd),_0x52921b,_0x516bea),_0x30957b=!0x0),!_0x516bea[_0x40a631(0x121)](_0x40a631(0x111))&&_0x535ff7[_0x40a631(0xfb)][_0x40a631(0x119)](_0x516bea,_0x40a631(0x111))&&(_0x1d2ab1[_0x40a631(0x11f)](_0x40a631(0x111),_0x3bb728,_0x516bea),_0x30957b=!0x0));}return _0x30957b&&_0x5a1bf4[_0x40a631(0x10c)](_0x1d2ab1),_0x30957b;});}[_0xeb1b93(0x12c)](){const _0xf70c97=_0xeb1b93,{editor:_0x3c915f}=this;_0x3c915f[_0xf70c97(0x147)][_0xf70c97(0x120)](_0x204a29)[_0xf70c97(0x105)](_0xa3c84c=>this[_0xf70c97(0x10a)](_0xa3c84c));}[_0xeb1b93(0x139)](){const _0x52b22e=_0xeb1b93;return this[_0x52b22e(0xf9)][_0x52b22e(0x131)][_0x52b22e(0x120)](_0x52b22e(0x123));}[_0xeb1b93(0x10d)](){const _0x3760f5=_0xeb1b93;return this[_0x3760f5(0xf9)][_0x3760f5(0x131)][_0x3760f5(0x120)](_0x3760f5(0x132));}[_0xeb1b93(0x10a)]({container:_0x27dd79,value:_0x167853,digits:_0x425bab}){const _0x1cefb0=_0xeb1b93,_0x5b8250=_0x27dd79[_0x1cefb0(0x117)](_0x1cefb0(0x111)),_0x156f3f=_0x27dd79[_0x1cefb0(0x117)](_0x1cefb0(0xfd)),_0x28fd76=Math[_0x1cefb0(0xfa)](_0x167853)+(_0x156f3f??0x1)-0x1;switch(_0x5b8250){case _0x1cefb0(0x156):return function(_0x2f31e7,_0x5130eb){const _0x404624=_0x1cefb0;return String(_0x2f31e7)[_0x404624(0x13e)](_0x5130eb,'0');}(_0x28fd76,Math[_0x1cefb0(0x100)](0x2,_0x425bab));case _0x1cefb0(0x126):case _0x1cefb0(0x128):return N(_0x28fd76,!0x1);case _0x1cefb0(0x130):case _0x1cefb0(0x13b):return N(_0x28fd76,!0x0);case _0x1cefb0(0x154):return X(_0x28fd76,!0x1);case _0x1cefb0(0x114):return X(_0x28fd76,!0x0);default:return String(_0x28fd76);}}}function M(_0x35d1de,_0x48639e){const _0x268595=_0xeb1b93,_0x154301=_0x48639e[_0x268595(0x103)](_0x35d1de);return Array[_0x268595(0x146)](_0x154301[_0x268595(0x10f)]())[_0x268595(0x148)](_0x33c334=>_0x33c334['is'](_0x268595(0x124),'ol')&&_0x33c334[_0x268595(0x113)](_0x268595(0x12d)));}function N(_0x5ae46f,_0x460c4f){const _0x4c2019=_0xeb1b93;let _0x23fca5='',_0x3dfc76=_0x5ae46f;for(;_0x3dfc76>0x0;){const _0x3075f1=(_0x3dfc76-0x1)%0x1a;_0x23fca5=String[_0x4c2019(0x134)](0x61+_0x3075f1)+_0x23fca5,_0x3dfc76=Math[_0x4c2019(0xfa)]((_0x3dfc76-0x1)/0x1a);}return _0x460c4f?_0x23fca5[_0x4c2019(0x140)]():_0x23fca5;}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(_0x2a5179,_0x10221c){const _0x167ff7=_0xeb1b93;let _0xb9b5f0='',_0x48ef98=_0x2a5179;for(const {value:_0x49d7ad,numeral:_0xf6133d}of V)for(;_0x48ef98>=_0x49d7ad;)_0xb9b5f0+=_0xf6133d,_0x48ef98-=_0x49d7ad;return _0x10221c?_0xb9b5f0:_0xb9b5f0[_0x167ff7(0x14a)]();}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module footnotes/footnotesproperties/footnotespropertiesui
7
+ * @publicApi
8
+ */
9
+ import { ContextualBalloon } from 'ckeditor5/src/ui.js';
10
+ import { WidgetToolbarRepository } from 'ckeditor5/src/widget.js';
11
+ import { Plugin } from 'ckeditor5/src/core.js';
12
+ import '../../theme/footnotesproperties.css';
13
+ /**
14
+ * A plugin that provides footnotes properties UI.
15
+ */
16
+ export declare class FootnotesPropertiesUI extends Plugin {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ static get pluginName(): "FootnotesPropertiesUI";
21
+ /**
22
+ * @inheritDoc
23
+ */
24
+ static get requires(): readonly [typeof ContextualBalloon, typeof WidgetToolbarRepository];
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get isOfficialPlugin(): true;
29
+ /**
30
+ * @inheritDoc
31
+ */
32
+ static get isPremiumPlugin(): true;
33
+ /**
34
+ * @inheritDoc
35
+ */
36
+ init(): void;
37
+ /**
38
+ * @inheritDoc
39
+ */
40
+ afterInit(): void;
41
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{BalloonPanelView as _0x5b2e66,ButtonView as _0x4a456a,ContextualBalloon as _0x2d30e9,createDropdown as _0x552d09}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x319827}from'ckeditor5/src/widget.js';import{Plugin as _0xeb183e}from'ckeditor5/src/core.js';import{IconFootnote as _0x3cf9cd,IconListStyleDecimal as _0x9b73b2,IconListStyleDecimalLeadingZero as _0x90f36c,IconListStyleLowerLatin as _0x2a1a53,IconListStyleLowerRoman as _0x201107,IconListStyleUpperLatin as _0x2971d6,IconListStyleUpperRoman as _0x3027e6}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x2ef719}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x3ffdfe}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0xeb183e{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2d30e9,_0x319827];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xe5f9cd}=this,{componentFactory:_0x1069cd}=_0xe5f9cd['ui'];_0xe5f9cd['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1069cd['add']('footnotesStyle',function(_0x474300){return _0x226f0f=>{const {t:t}=_0x226f0f,_0x247db2=_0x474300['commands']['get']('footnotesStyle'),_0x813ea3=_0x552d09(_0x226f0f),{buttonView:_0x33ae3c}=_0x813ea3;return _0x813ea3['class']='ck-footnotes-styles-dropdown',_0x813ea3['bind']('isEnabled')['to'](_0x247db2,'isEnabled'),_0x33ae3c['set']({'label':t('Footnotes\x20style'),'icon':_0x3cf9cd,'tooltip':!0x0}),_0x813ea3['once']('change:isOpen',()=>{const _0x37e8a1=function({editor:_0x4b2dc6,dropdownView:_0x36d9fb}){const {t:t}=_0x4b2dc6['locale'],_0x33c0b5=t('Footnotes\x20definitions\x20styles'),_0x491449=function(_0x4db650){const t=_0x4db650['locale']['t'],_0x3eaf55=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x9b73b2},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x90f36c},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x201107},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3027e6},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x2a1a53},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2971d6}];return _0x3eaf55['map'](function(_0x2f9f93){const _0x333508=_0x2f9f93['locale'];return({label:_0x10da09,icon:_0x1dc778,tooltip:_0x5b70af,style:_0x4ef982})=>{const _0x365e2a=_0x2f9f93['commands']['get']('footnotesStyle'),_0x9fba40=new _0x4a456a(_0x333508);return _0x9fba40['set']({'label':_0x10da09,'icon':_0x1dc778,'tooltip':_0x5b70af}),_0x9fba40['bind']('isOn')['to'](_0x365e2a,'value',_0x19bc13=>_0x19bc13===_0x4ef982),_0x9fba40['bind']('isEnabled')['to'](_0x365e2a,'isEnabled'),_0x9fba40['on']('execute',()=>{_0x2f9f93['execute']('footnotesStyle',{'value':_0x4ef982}),_0x2f9f93['editing']['view']['focus']();}),_0x9fba40;};}(_0x4db650));}(_0x4b2dc6),_0x54c317=new _0x2ef719(_0x4b2dc6['locale'],{'styleGridAriaLabel':_0x33c0b5,'styleButtonViews':_0x491449}),_0x2ed23e=_0x4b2dc6['commands']['get']('footnotesStart');return _0x54c317['startIndexFieldView']['bind']('isEnabled')['to'](_0x2ed23e),_0x54c317['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2ed23e),_0x54c317['on']('footnotesListStart',(_0x5d9998,_0xf8f0e2)=>{_0x4b2dc6['execute']('footnotesStart',{'value':_0xf8f0e2['startIndex']});}),_0x54c317['delegate']('execute')['to'](_0x36d9fb),_0x54c317;}({'editor':_0x474300,'dropdownView':_0x813ea3});_0x813ea3['panelView']['children']['add'](_0x37e8a1);}),_0x813ea3;};}(_0xe5f9cd));}['afterInit'](){const {editor:_0x5a3d24}=this,{t:t}=_0x5a3d24['locale'],_0x62e300=_0x5a3d24['plugins']['get'](_0x319827),{defaultPositions:_0xe678cd}=_0x5b2e66;_0x62e300['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5a3d24['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3e5efe=>{let _0x59a165=_0x3e5efe['getFirstPosition']()?.['parent'];return _0x59a165?.['is']('$text')&&(_0x59a165=_0x59a165['parent']),_0x59a165?.['is']('element')?_0x59a165['findAncestor'](_0x3ffdfe):null;},'positions':[_0xe678cd['southArrowNorth'],_0xe678cd['southArrowNorthMiddleWest'],_0xe678cd['southArrowNorthMiddleEast'],_0xe678cd['southArrowNorthWest'],_0xe678cd['southArrowNorthEast'],_0xe678cd['northArrowSouth'],_0xe678cd['northArrowSouthMiddleWest'],_0xe678cd['northArrowSouthMiddleEast'],_0xe678cd['northArrowSouthWest'],_0xe678cd['northArrowSouthEast'],_0xe678cd['viewportStickyNorth']]});}}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * Fired when the footnotes start index value has changed via {@link ~FootnotesDefinitionsPropertiesView#startIndexFieldView}.
7
+ *
8
+ * @eventName ~FootnotesDefinitionsPropertiesView#listStart
9
+ */
10
+ export type FootnotesDefinitionsPropertiesViewListStartEvent = {
11
+ name: 'footnotesListStart';
12
+ args: [data: {
13
+ startIndex: number;
14
+ }];
15
+ };
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{ButtonView as _0x2e90f1,View as _0x1179e5,ViewCollection as _0x327a46,FocusCycler as _0x1426e3,addKeyboardHandlingForGrid as _0x417e90,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it}from'ckeditor5/src/ui.js';import{FocusTracker as et,KeystrokeHandler as ot,global as rt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x1179e5{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x327a46();['focusCycler'];constructor(_0x57dd6d,{styleButtonViews:_0x1bb24e,styleGridAriaLabel:_0xf7a4e8}){super(_0x57dd6d),(this['focusCycler']=new _0x1426e3({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1bb24e,_0xf7a4e8),[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 _0x105654 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x105654['element']);_0x417e90({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['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 _0x2ce680=_0x393331=>_0x393331['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2ce680),this['keystrokes']['set']('arrowleft',_0x2ce680),this['keystrokes']['set']('arrowup',_0x2ce680),this['keystrokes']['set']('arrowdown',_0x2ce680);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1f2f31,_0x4c622d){const _0x2d404b=new _0x1179e5(this['locale']);return _0x2d404b['children']=_0x2d404b['createCollection'](),_0x2d404b['children']['addMany'](_0x1f2f31),_0x2d404b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4c622d,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2d404b['children']}),_0x2d404b['children']['delegate']('execute')['to'](this),_0x2d404b['focus']=function(){for(const _0xb6ff1a of this['children'])if(_0xb6ff1a instanceof _0x2e90f1&&_0xb6ff1a['isOn'])return void _0xb6ff1a['focus']();this['children']['first']['focus']();},_0x2d404b['focusTracker']=new et(),_0x2d404b['keystrokes']=new ot(),_0x2d404b['render'](),_0x2d404b['keystrokes']['listenTo'](_0x2d404b['element']),this['children']['add'](_0x2d404b),_0x2d404b;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x394f4=this['_createStartIndexPropertyView'](),_0x4fe9bc=[_0x394f4],_0x16996=new tt(this['locale'],_0x4fe9bc);return _0x16996['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x16996['buttonView']['bind']('isEnabled')['toMany'](_0x4fe9bc,'isEnabled',(..._0x707f0d)=>_0x707f0d['some'](_0xa65f98=>_0xa65f98)),_0x16996['buttonView']['on']('change:isEnabled',(_0x2b1bb1,_0x102c24,_0x4ff4d5)=>{_0x4ff4d5||(_0x16996['isCollapsed']=!0x0);}),this['children']['add'](_0x16996),[_0x394f4,_0x16996];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1a6b0d=new st(this['locale'],it);return _0x1a6b0d['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1a6b0d['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1a6b0d['fieldView']['on']('input',()=>{const _0x2fda63=_0x1a6b0d['fieldView']['element'],_0x5d9748=_0x2fda63['valueAsNumber'];Number['isNaN'](_0x5d9748)?_0x1a6b0d['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2fda63['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5d9748}):_0x1a6b0d['errorText']=t(_0x5d9748<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1a6b0d;}}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module footnotes/footnotesproperties
7
+ * @publicApi
8
+ */
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import { FootnotesPropertiesEditing } from './footnotesproperties/footnotespropertiesediting.js';
11
+ import { FootnotesPropertiesUI } from './footnotesproperties/footnotespropertiesui.js';
12
+ /**
13
+ * The footnotes properties plugin.
14
+ */
15
+ export declare class FootnotesProperties extends Plugin {
16
+ /**
17
+ * @inheritDoc
18
+ */
19
+ static get pluginName(): "FootnotesProperties";
20
+ /**
21
+ * @inheritDoc
22
+ */
23
+ static get requires(): readonly [typeof FootnotesPropertiesEditing, typeof FootnotesPropertiesUI];
24
+ /**
25
+ * @inheritDoc
26
+ */
27
+ static get isOfficialPlugin(): true;
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ static get isPremiumPlugin(): true;
32
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x3d02(_0x2feb9f,_0x21c091){var _0x5da274=_0x5da2();return _0x3d02=function(_0x3d02e3,_0x46b115){_0x3d02e3=_0x3d02e3-0x64;var _0x546d40=_0x5da274[_0x3d02e3];return _0x546d40;},_0x3d02(_0x2feb9f,_0x21c091);}var _0x345ba1=_0x3d02;function _0x5da2(){var _0x466ce8=['2562620bAgnLv','4cTPiGL','1pSvHmN','108aOwyDN','193035BBrDMs','6qskcLR','pluginName','3117709PnuVcZ','694133QivecY','FootnotesProperties','requires','517389iabRIA','1443006ZqBzWr','isPremiumPlugin','2055304KwHuSy','32IQXEqO','isOfficialPlugin'];_0x5da2=function(){return _0x466ce8;};return _0x5da2();}(function(_0x197cca,_0x12501c){var _0x70b5dd=_0x3d02,_0x3a1e48=_0x197cca();while(!![]){try{var _0xf57b43=parseInt(_0x70b5dd(0x6a))/0x1*(parseInt(_0x70b5dd(0x65))/0x2)+-parseInt(_0x70b5dd(0x73))/0x3*(parseInt(_0x70b5dd(0x69))/0x4)+parseInt(_0x70b5dd(0x6c))/0x5+-parseInt(_0x70b5dd(0x6d))/0x6*(parseInt(_0x70b5dd(0x6f))/0x7)+-parseInt(_0x70b5dd(0x66))/0x8*(parseInt(_0x70b5dd(0x74))/0x9)+parseInt(_0x70b5dd(0x68))/0xa+-parseInt(_0x70b5dd(0x70))/0xb*(-parseInt(_0x70b5dd(0x6b))/0xc);if(_0xf57b43===_0x12501c)break;else _0x3a1e48['push'](_0x3a1e48['shift']());}catch(_0x4ad3f4){_0x3a1e48['push'](_0x3a1e48['shift']());}}}(_0x5da2,0x9a1de));import{Plugin as _0x2ba229}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x59c918}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x289a4e}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2ba229{static get[_0x345ba1(0x6e)](){var _0x5bdc4f=_0x345ba1;return _0x5bdc4f(0x71);}static get[_0x345ba1(0x72)](){return[_0x59c918,_0x289a4e];}static get[_0x345ba1(0x67)](){return!0x0;}static get[_0x345ba1(0x64)](){return!0x0;}}
@@ -0,0 +1,102 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module footnotes/footnotestracker
7
+ * @publicApi
8
+ */
9
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
+ import type { ModelElement } from 'ckeditor5/src/engine.js';
11
+ /**
12
+ * The footnotes tracker. It keeps track of all footnotes in the editor.
13
+ *
14
+ * It is used by the {@link module:footnotes/footnotesediting~FootnotesEditing} to update the list of
15
+ * footnotes when they are added or removed.
16
+ */
17
+ export declare class FootnotesTracker extends Plugin {
18
+ /**
19
+ * @inheritDoc
20
+ */
21
+ static get pluginName(): "FootnotesTracker";
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get isOfficialPlugin(): true;
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ static get isPremiumPlugin(): true;
30
+ /**
31
+ * @inheritDoc
32
+ */
33
+ constructor(editor: Editor);
34
+ /**
35
+ * @inheritDoc
36
+ */
37
+ init(): void;
38
+ /**
39
+ * Returns the footnotes definitions container element.
40
+ *
41
+ * @returns The footnotes definitions container or `null` if it does not exist.
42
+ */
43
+ getFootnotesDefinitionsObjectElement(): ModelElement | null;
44
+ /**
45
+ * Returns the footnote with the given ID.
46
+ *
47
+ * @param footnoteId The ID of the footnote to find.
48
+ * @returns The footnote item or `null` if not found.
49
+ */
50
+ getFootnote(footnoteId: string): Footnote | null;
51
+ /**
52
+ * Returns all footnotes in the editor.
53
+ *
54
+ * @returns An array of footnote items.
55
+ */
56
+ getFootnotes(): Array<Footnote>;
57
+ /**
58
+ * Returns the registered footnote formatter.
59
+ *
60
+ * @returns The footnote formatter or `null` if not set.
61
+ */
62
+ getFootnotesFormatter(): FootnoteFormatterCallback | null;
63
+ /**
64
+ * Registers a custom footnote formatter.
65
+ *
66
+ * @param formatter The footnote formatter to register.
67
+ */
68
+ setFootnoteFormatter(formatter: FootnoteFormatterCallback): void;
69
+ }
70
+ /**
71
+ * Footnote item stored in the {@link module:footnotes/footnotestracker~FootnotesTracker}.
72
+ */
73
+ export type Footnote = {
74
+ id: string;
75
+ reference: ModelElement;
76
+ definition: ModelElement;
77
+ };
78
+ /**
79
+ * Parameters for formatting footnote list values.
80
+ */
81
+ export type FormatFootnoteListValueParams = {
82
+ /**
83
+ * The footnote being formatted.
84
+ */
85
+ footnote: Footnote;
86
+ /**
87
+ * The footnotes definitions container element.
88
+ */
89
+ container: ModelElement;
90
+ /**
91
+ * Number of digits needed for the highest footnote number.
92
+ */
93
+ digits: number;
94
+ /**
95
+ * The footnote number to format (1-based).
96
+ */
97
+ value: number;
98
+ };
99
+ /**
100
+ * Footnote formatter interface.
101
+ */
102
+ export type FootnoteFormatterCallback = (params: FormatFootnoteListValueParams) => string;
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x51c6f4=_0x5f37;function _0x3899(){const _0xe1c35e=['getRootNames','min','getFootnotesFormatter','some','document','isEqual','unshift','_footnoteDefsContainerTracker','differ','2538348EzNvuk','root','_footnoteFormatter','registerPostFixer','indexOf','setAttribute','model','getFootnotes','footnotes.multiBlock','findIndex','$graveyard','footnotesDefinitions','isPremiumPlugin','7XswcMR','move','from','footnoteDefinition','_updateFootnoteRefCounter','compareWith','reference','editor','createRangeOn','createElement','createPositionAt','_ensureFootnotesDefinitionsContainerExists','_handleFootnoteDefinitionsChanges','config','_updateFootnotesCounters','childCount','createRangeIn','parent','351AKNlkM','footnoteId','reset','footnoteRef','set','high','append','9315531eMijdq','FootnotesTracker','add','10wfOCXQ','_sortFootnoteDefinitions','_insertEmptyFootnotesDefinitionsContainer','getChildren','isOfficialPlugin','get','createPositionBefore','find','low','before','_handleInsertedFootnoteReference','_ensureFootnotesReferencesHaveProperOrder','singleton','footnoteInlineContent','getAttribute','setFootnoteFormatter','_footnoteDefsTracker','_handleFootnoteReferencesChanges','change:data','262931aalmMg','has','enqueueChange','init','getFootnote','33nbcusK','length','rootName','remove','splice','after','definition','32268OuKvqJ','pluginName','paragraph','getFootnotesDefinitionsObjectElement','13621136yUlgfD','push','insert','_handleMovedFootnoteReference','_footnotesDefinitions','footnoteCounter','172130jnaijg','_handleRemoveFootnoteReferenceById','map','end','6896190NtQrMt','getChanges','listenTo','_handleFootnotesDefinitionsObjectChanges','_handleFootnotesDefinitionsObjectSync','_footnotes','_footnoteRefsTracker'];_0x3899=function(){return _0xe1c35e;};return _0x3899();}(function(_0x3ad69d,_0x32fbe2){const _0x3931b3=_0x5f37,_0xb3a296=_0x3ad69d();while(!![]){try{const _0x282fcf=-parseInt(_0x3931b3(0x12d))/0x1*(parseInt(_0x3931b3(0x11a))/0x2)+-parseInt(_0x3931b3(0x110))/0x3*(parseInt(_0x3931b3(0x139))/0x4)+-parseInt(_0x3931b3(0x143))/0x5+parseInt(_0x3931b3(0xf1))/0x6+parseInt(_0x3931b3(0xfe))/0x7*(parseInt(_0x3931b3(0x13d))/0x8)+-parseInt(_0x3931b3(0x117))/0x9+parseInt(_0x3931b3(0x147))/0xa*(parseInt(_0x3931b3(0x132))/0xb);if(_0x282fcf===_0x32fbe2)break;else _0xb3a296['push'](_0xb3a296['shift']());}catch(_0x3a2978){_0xb3a296['push'](_0xb3a296['shift']());}}}(_0x3899,0xd3912));import{Plugin as _0x1af9fe}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x16d14e}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1af9fe{[_0x51c6f4(0x14c)]=[];[_0x51c6f4(0x141)]=null;[_0x51c6f4(0xf3)]=null;[_0x51c6f4(0xef)];[_0x51c6f4(0x14d)];[_0x51c6f4(0x12a)];static get[_0x51c6f4(0x13a)](){const _0x3a7938=_0x51c6f4;return _0x3a7938(0x118);}static get[_0x51c6f4(0x11e)](){return!0x0;}static get[_0x51c6f4(0xfd)](){return!0x0;}constructor(_0x2e25f2){const _0x2d8068=_0x51c6f4;super(_0x2e25f2),this[_0x2d8068(0xef)]=new _0x16d14e(this[_0x2d8068(0x105)][_0x2d8068(0xf7)],{'elementName':_0x2d8068(0xfc),'getElementKey':()=>_0x2d8068(0x126)}),this[_0x2d8068(0x14d)]=new _0x16d14e(this[_0x2d8068(0x105)][_0x2d8068(0xf7)],{'elementName':_0x2d8068(0x113),'getElementKey':_0x4e9d34=>_0x4e9d34[_0x2d8068(0x128)](_0x2d8068(0x111))}),this[_0x2d8068(0x12a)]=new _0x16d14e(this[_0x2d8068(0x105)][_0x2d8068(0xf7)],{'elementName':_0x2d8068(0x101),'getElementKey':_0x53ff79=>_0x53ff79[_0x2d8068(0x128)](_0x2d8068(0x111))});}[_0x51c6f4(0x130)](){const _0x177dd5=_0x51c6f4,{editor:_0x257130}=this,{model:_0x287791,data:_0x5c077d}=_0x257130;_0x287791[_0x177dd5(0xec)][_0x177dd5(0xf4)](_0x11f4b9=>{const _0x42736f=_0x177dd5,_0x1f0284=_0x287791[_0x42736f(0xec)][_0x42736f(0xf0)][_0x42736f(0x148)]();let _0x17d649=!0x1;return this[_0x42736f(0x14a)](_0x11f4b9,_0x1f0284)&&(_0x17d649=!0x0),this[_0x42736f(0x10a)](_0x11f4b9,_0x1f0284)&&(_0x17d649=!0x0),this[_0x42736f(0x12b)](_0x11f4b9,_0x1f0284)&&(_0x17d649=!0x0),this[_0x42736f(0x125)](_0x11f4b9)&&(_0x17d649=!0x0),this[_0x42736f(0x14b)](_0x11f4b9)&&(_0x17d649=!0x0),this[_0x42736f(0x11b)](_0x11f4b9)&&(_0x17d649=!0x0),_0x17d649;}),this[_0x177dd5(0x149)](_0x287791[_0x177dd5(0xec)],_0x177dd5(0x12c),()=>{const _0x383e04=_0x177dd5;_0x287791[_0x383e04(0x12f)]({'isUndoable':!0x1},_0x3883f9=>{const _0x2e94f9=_0x383e04;this[_0x2e94f9(0x109)](_0x3883f9);});},{'priority':_0x177dd5(0x122)}),this[_0x177dd5(0x149)](_0x5c077d,_0x177dd5(0x114),()=>{const _0x24be75=_0x177dd5;this[_0x24be75(0x14c)]=[],this[_0x24be75(0xef)][_0x24be75(0x112)](),this[_0x24be75(0x14d)][_0x24be75(0x112)](),this[_0x24be75(0x12a)][_0x24be75(0x112)]();},{'priority':_0x177dd5(0x115)});}[_0x51c6f4(0x13c)](){const _0x4b5ba1=_0x51c6f4;return this[_0x4b5ba1(0x141)];}[_0x51c6f4(0x131)](_0x4618fb){const _0x97983d=_0x51c6f4;return this[_0x97983d(0x14c)][_0x97983d(0x121)](_0x442453=>_0x442453['id']===_0x4618fb)||null;}[_0x51c6f4(0xf8)](){const _0x450087=_0x51c6f4;return Array[_0x450087(0x100)](this[_0x450087(0x14c)]);}[_0x51c6f4(0x150)](){const _0x1317d9=_0x51c6f4;return this[_0x1317d9(0xf3)];}[_0x51c6f4(0x129)](_0x6c173){const _0x51d06d=_0x51c6f4;this[_0x51d06d(0xf3)]=_0x6c173;}[_0x51c6f4(0x10c)](_0x5d0e1d,_0x51995e=0x0){const _0x26596a=_0x51c6f4;let _0x43c7b4=!0x1;for(let _0x3c1109=_0x51995e;_0x3c1109<this[_0x26596a(0x14c)][_0x26596a(0x133)];_0x3c1109++)this[_0x26596a(0x102)](_0x5d0e1d,_0x3c1109)&&(_0x43c7b4=!0x0);return _0x43c7b4;}[_0x51c6f4(0x11c)](_0x2649ed,_0x3a42d2){const _0xbebbe8=_0x51c6f4,_0x150999=_0x2649ed[_0xbebbe8(0x107)](_0xbebbe8(0xfc),{});return _0x2649ed[_0xbebbe8(0x116)](_0x150999,_0x3a42d2),this[_0xbebbe8(0x141)]=_0x150999,_0x150999;}[_0x51c6f4(0x109)](_0x20869c){const _0x20a6a6=_0x51c6f4;if(!this[_0x20a6a6(0x14c)][_0x20a6a6(0x133)]||this[_0x20a6a6(0x141)])return;const _0x74ef82=this[_0x20a6a6(0x14c)][0x0][_0x20a6a6(0x104)][_0x20a6a6(0xf2)],_0x1a8d5b=this[_0x20a6a6(0x11c)](_0x20869c,_0x74ef82);for(const _0x2fa860 of this[_0x20a6a6(0x14c)])_0x2fa860[_0x20a6a6(0x138)][_0x20a6a6(0x10f)]||_0x20869c[_0x20a6a6(0x13f)](_0x2fa860[_0x20a6a6(0x138)],_0x1a8d5b,_0x20a6a6(0x146));this[_0x20a6a6(0x10c)](_0x20869c);}[_0x51c6f4(0x14a)](_0x32a55e,_0x2b2562){const _0x475eab=_0x51c6f4;let _0xadcc39=!0x1;const {inserted:_0x4ab534,removed:_0x527b76,moved:_0x5a1cb5}=this[_0x475eab(0xef)][_0x475eab(0x148)](_0x2b2562);if(_0x5a1cb5[_0x475eab(0x133)]&&(this[_0x475eab(0x141)]=_0x5a1cb5[0x0]),_0x4ab534[_0x475eab(0x133)]){if(_0x4ab534[_0x475eab(0x133)]>0x1||this[_0x475eab(0x141)]&&_0x4ab534[_0x475eab(0x151)](_0x20f90d=>_0x20f90d!==this[_0x475eab(0x141)])){const _0x316381=_0x32a55e[_0x475eab(0x107)](_0x475eab(0xfc),{}),_0x4f59ce=[];this[_0x475eab(0x141)]&&_0x4f59ce[_0x475eab(0x13e)](this[_0x475eab(0x141)]),_0x4f59ce[_0x475eab(0x13e)](..._0x4ab534),_0x32a55e[_0x475eab(0x13f)](_0x316381,_0x4f59ce[0x0],_0x475eab(0x123));for(const _0x2e33f5 of _0x4f59ce)_0x32a55e[_0x475eab(0xff)](_0x32a55e[_0x475eab(0x10e)](_0x2e33f5),_0x32a55e[_0x475eab(0x108)](_0x316381,_0x475eab(0x146))),_0x32a55e[_0x475eab(0x135)](_0x2e33f5);this[_0x475eab(0x141)]=_0x316381,this[_0x475eab(0x10c)](_0x32a55e),_0xadcc39=!0x0;}else this[_0x475eab(0x141)]=_0x4ab534[0x0];}if(_0x527b76[_0x475eab(0x133)]&&_0x475eab(0xfb)===this[_0x475eab(0x141)]?.[_0x475eab(0xf2)][_0x475eab(0x134)]){for(const _0x37f952 of this[_0x475eab(0x14c)])_0x32a55e[_0x475eab(0x135)](_0x37f952[_0x475eab(0x104)]),_0xadcc39=!0x0;this[_0x475eab(0x14c)]=[],this[_0x475eab(0x141)]=null;}return _0xadcc39;}[_0x51c6f4(0x10a)](_0x5bdd1f,_0x77499c){const _0x5cecc2=_0x51c6f4;let _0x1bbf4a=!0x1;const _0x5552df=this[_0x5cecc2(0x105)][_0x5cecc2(0x10b)][_0x5cecc2(0x11f)](_0x5cecc2(0xf9)),{inserted:_0x52360e,moved:_0x439e5f}=this[_0x5cecc2(0x12a)][_0x5cecc2(0x148)](_0x77499c);for(const _0x437d69 of[..._0x439e5f,..._0x52360e]){const _0x61406e=_0x437d69[_0x5cecc2(0x128)](_0x5cecc2(0x111)),_0x177406=this[_0x5cecc2(0x131)](_0x61406e);_0x177406&&(_0x177406[_0x5cecc2(0x138)]=_0x437d69),_(_0x5bdd1f,_0x5552df,_0x437d69)&&(_0x1bbf4a=!0x0);}return _0x1bbf4a;}[_0x51c6f4(0x12b)](_0x58fbd4,_0xf0f63a){const _0x2668de=_0x51c6f4;let _0x3c1e48=!0x1;const {removed:_0x49b211,inserted:_0x5d4f07,moved:_0xb529a1}=this[_0x2668de(0x14d)][_0x2668de(0x148)](_0xf0f63a);for(const _0x230d71 of _0x49b211)this[_0x2668de(0x144)](_0x58fbd4,_0x230d71)&&(_0x3c1e48=!0x0);for(const _0x5629dc of _0x5d4f07)this[_0x2668de(0x124)](_0x58fbd4,_0x5629dc)&&(_0x3c1e48=!0x0);for(const _0x4158a2 of _0xb529a1)this[_0x2668de(0x140)](_0x58fbd4,_0x4158a2)&&(_0x3c1e48=!0x0);return _0x3c1e48;}[_0x51c6f4(0x14b)](_0x1072db){const _0x4c47fd=_0x51c6f4;if(!this[_0x4c47fd(0x141)])return!0x1;let _0x5de2d4=!0x1;if(this[_0x4c47fd(0x141)][_0x4c47fd(0x10d)]!==this[_0x4c47fd(0x14c)][_0x4c47fd(0x133)]){const _0x96da87=[];for(const _0x5126c9 of this[_0x4c47fd(0x141)][_0x4c47fd(0x11d)]()){const _0x1e19a6=_0x5126c9[_0x4c47fd(0x128)](_0x4c47fd(0x111));this[_0x4c47fd(0x131)](_0x1e19a6)||(_0x96da87[_0x4c47fd(0xee)](_0x5126c9),_0x5de2d4=!0x0);}for(const _0x9d575a of _0x96da87)_0x1072db[_0x4c47fd(0x135)](_0x9d575a);}const _0x2109a5=new Set(),_0x4fe6a5=[];for(const _0x312a2a of this[_0x4c47fd(0x141)][_0x4c47fd(0x11d)]()){const _0x4e85df=_0x312a2a[_0x4c47fd(0x128)](_0x4c47fd(0x111));_0x2109a5[_0x4c47fd(0x12e)](_0x4e85df)?(_0x4fe6a5[_0x4c47fd(0xee)](_0x312a2a),_0x5de2d4=!0x0):_0x2109a5[_0x4c47fd(0x119)](_0x4e85df);}for(const _0x25e47c of _0x4fe6a5)_0x1072db[_0x4c47fd(0x135)](_0x25e47c);return this[_0x4c47fd(0x141)][_0x4c47fd(0x10d)]||(_0x1072db[_0x4c47fd(0x135)](this[_0x4c47fd(0x141)]),this[_0x4c47fd(0x141)]=null,_0x5de2d4=!0x0),_0x5de2d4;}[_0x51c6f4(0x124)](_0x130856,_0x12f2ae){const _0x9c0860=_0x51c6f4;if(this[_0x9c0860(0x14c)][_0x9c0860(0x121)](_0xae0bfb=>_0xae0bfb[_0x9c0860(0x104)]===_0x12f2ae))return!0x1;let _0xc07698=!0x1;const _0x5c30cb=_0x12f2ae[_0x9c0860(0x128)](_0x9c0860(0x111)),_0x5e4540=this[_0x9c0860(0x14c)][_0x9c0860(0xfa)](_0x3725b7=>_0x3725b7['id']===_0x5c30cb);-0x1!==_0x5e4540&&(_0x130856[_0x9c0860(0x135)](this[_0x9c0860(0x14c)][_0x5e4540][_0x9c0860(0x104)]),this[_0x9c0860(0x14c)][_0x9c0860(0x136)](_0x5e4540,0x1),_0xc07698=!0x0);let _0x1336a4=this[_0x9c0860(0x141)]?function(_0x1ee521,_0x16764a){const _0x2b2806=_0x9c0860;for(const _0x528135 of _0x1ee521[_0x2b2806(0x11d)]())if(_0x528135[_0x2b2806(0x128)](_0x2b2806(0x111))===_0x16764a)return _0x528135;return null;}(this[_0x9c0860(0x141)],_0x5c30cb):null;_0x1336a4||(_0x1336a4=_0x130856[_0x9c0860(0x107)](_0x9c0860(0x101),{'footnoteId':_0x5c30cb}),this[_0x9c0860(0x141)]&&(_0x130856[_0x9c0860(0x13f)](_0x1336a4,this[_0x9c0860(0x141)],_0x9c0860(0x146)),_0xc07698=!0x0));const _0x3065f2={'id':_0x5c30cb,'reference':_0x12f2ae,'definition':_0x1336a4},_0x47e650=I(this[_0x9c0860(0x105)][_0x9c0860(0xf7)],this[_0x9c0860(0x14c)],_0x12f2ae);this[_0x9c0860(0x14c)][_0x9c0860(0x136)](_0x47e650,0x0,_0x3065f2);let _0x425e3e=_0x47e650;return-0x1!==_0x5e4540&&(_0x425e3e=Math[_0x9c0860(0x14f)](_0x47e650,_0x5e4540)),this[_0x9c0860(0x10c)](_0x130856,_0x425e3e)&&(_0xc07698=!0x0),_0xc07698;}[_0x51c6f4(0x144)](_0x534382,_0x1bd466){const _0x5ee832=_0x51c6f4,_0x1a07d8=this[_0x5ee832(0x14c)][_0x5ee832(0xfa)](_0x2cca6d=>_0x2cca6d['id']===_0x1bd466);if(-0x1===_0x1a07d8)return!0x1;let _0x44b367=!0x1;const _0x340578=this[_0x5ee832(0x14c)][_0x1a07d8];return _0x5ee832(0xfb)!==_0x340578[_0x5ee832(0x138)][_0x5ee832(0xf2)][_0x5ee832(0x134)]&&(_0x534382[_0x5ee832(0x135)](_0x340578[_0x5ee832(0x138)]),_0x44b367=!0x0),this[_0x5ee832(0x14c)][_0x5ee832(0x136)](_0x1a07d8,0x1),this[_0x5ee832(0x10c)](_0x534382,_0x1a07d8)&&(_0x44b367=!0x0),_0x44b367;}[_0x51c6f4(0x140)](_0x382a26,_0xe913ae){const _0x519483=_0x51c6f4,_0x568568=_0xe913ae[_0x519483(0x128)](_0x519483(0x111)),_0x7869b4=this[_0x519483(0x14c)][_0x519483(0xfa)](_0x3ef373=>_0x3ef373['id']===_0x568568),_0x5867d5=this[_0x519483(0x14c)][_0x7869b4];let _0xa32866=!0x1;_0x5867d5[_0x519483(0x104)]=_0xe913ae,this[_0x519483(0x14c)][_0x519483(0x136)](_0x7869b4,0x1);const _0x266aa7=I(this[_0x519483(0x105)][_0x519483(0xf7)],this[_0x519483(0x14c)],_0xe913ae);return this[_0x519483(0x14c)][_0x519483(0x136)](_0x266aa7,0x0,_0x5867d5),this[_0x519483(0x10c)](_0x382a26,Math[_0x519483(0x14f)](_0x7869b4,_0x266aa7))&&(_0xa32866=!0x0),_0xa32866;}[_0x51c6f4(0x102)](_0x227586,_0x4dcbaf){const _0x7d35c=_0x51c6f4;if(!this[_0x7d35c(0x141)])return!0x1;const _0x5cf02b=this[_0x7d35c(0x14c)][_0x4dcbaf];let _0x1fb849;return _0x1fb849=this[_0x7d35c(0xf3)]?this[_0x7d35c(0xf3)]({'footnote':_0x5cf02b,'container':this[_0x7d35c(0x141)],'digits':String(this[_0x7d35c(0x14c)][_0x7d35c(0x133)])[_0x7d35c(0x133)],'value':_0x4dcbaf+0x1}):String(_0x4dcbaf+0x1),_0x5cf02b[_0x7d35c(0x104)][_0x7d35c(0x128)](_0x7d35c(0x142))!=_0x1fb849&&(_0x227586[_0x7d35c(0xf6)](_0x7d35c(0x142),_0x1fb849,_0x5cf02b[_0x7d35c(0x104)]),!0x0);}[_0x51c6f4(0x11b)](_0x468cf5){const _0xcfc62a=_0x51c6f4;if(!this[_0xcfc62a(0x141)]||this[_0xcfc62a(0x14c)][_0xcfc62a(0x133)]<0x2)return!0x1;if(function(_0x142a19,_0x5acff8){const _0x285ac7=_0xcfc62a;if(_0x142a19[_0x285ac7(0x133)]!==_0x5acff8[_0x285ac7(0x133)])return!0x1;for(let _0x165f1d=0x0;_0x165f1d<_0x142a19[_0x285ac7(0x133)];_0x165f1d++)if(_0x142a19[_0x165f1d]!==_0x5acff8[_0x165f1d])return!0x1;return!0x0;}(this[_0xcfc62a(0x14c)][_0xcfc62a(0x145)](_0xbbb34a=>_0xbbb34a['id']),Array[_0xcfc62a(0x100)](this[_0xcfc62a(0x141)][_0xcfc62a(0x11d)]())[_0xcfc62a(0x145)](_0x5ececc=>_0x5ececc[_0xcfc62a(0x128)](_0xcfc62a(0x111)))))return!0x1;let _0x3a6946=!0x1;for(let _0x4e8687=0x0;_0x4e8687<this[_0xcfc62a(0x14c)][_0xcfc62a(0x133)];_0x4e8687++){const _0x530314=this[_0xcfc62a(0x14c)][_0x4e8687],_0x3fadd2=_0x468cf5[_0xcfc62a(0x120)](_0x530314[_0xcfc62a(0x138)]),_0xe6e1e1=_0x468cf5[_0xcfc62a(0x108)](this[_0xcfc62a(0x141)],_0x4e8687);_0x3fadd2[_0xcfc62a(0xed)](_0xe6e1e1)||(_0x468cf5[_0xcfc62a(0xff)](_0x468cf5[_0xcfc62a(0x106)](_0x530314[_0xcfc62a(0x138)]),_0xe6e1e1),_0x3a6946=!0x0);}return _0x3a6946;}[_0x51c6f4(0x125)](_0x5907f6){const _0x4fc39e=_0x51c6f4;if(!this[_0x4fc39e(0x14c)][_0x4fc39e(0x133)])return!0x1;const {model:_0x1b2d4e}=this[_0x4fc39e(0x105)];let _0x531fba=!0x1;for(let _0x252ce7=0x0;_0x252ce7<this[_0x4fc39e(0x14c)][_0x4fc39e(0x133)]-0x1;_0x252ce7++){const _0x3ddf90=this[_0x4fc39e(0x14c)][_0x252ce7],_0x3f8ec8=this[_0x4fc39e(0x14c)][_0x252ce7+0x1],_0x4bfce5=_0x1b2d4e[_0x4fc39e(0x120)](_0x3ddf90[_0x4fc39e(0x104)]),_0x3ae231=_0x1b2d4e[_0x4fc39e(0x120)](_0x3f8ec8[_0x4fc39e(0x104)]);_0x4fc39e(0x137)===_0x4bfce5[_0x4fc39e(0x103)](_0x3ae231)&&(this[_0x4fc39e(0x140)](_0x5907f6,_0x3ddf90[_0x4fc39e(0x104)]),_0x252ce7=-0x1,_0x531fba=!0x0);}return _0x531fba;}}function _(_0x261671,_0xcd3da9,_0x5c2aaf){const _0x548079=_0x51c6f4;if(_0x5c2aaf[_0x548079(0x10d)])return!0x1;const _0xe272b=_0xcd3da9?_0x548079(0x13b):_0x548079(0x127);return _0x261671[_0x548079(0x13f)](_0x261671[_0x548079(0x107)](_0xe272b),_0x5c2aaf),!0x0;}function _0x5f37(_0x288b40,_0x206270){const _0x3899fe=_0x3899();return _0x5f37=function(_0x5f3759,_0x326442){_0x5f3759=_0x5f3759-0xec;let _0x3f08cf=_0x3899fe[_0x5f3759];return _0x3f08cf;},_0x5f37(_0x288b40,_0x206270);}function I(_0x22f5da,_0x3153b1,_0x467968){const _0x41a0ce=_0x51c6f4;if(0x0===_0x3153b1[_0x41a0ce(0x133)])return 0x0;const _0x23ae45=_0x22f5da[_0x41a0ce(0x120)](_0x467968);for(let _0x53135b=0x0;_0x53135b<_0x3153b1[_0x41a0ce(0x133)];_0x53135b++){const _0x415f5f=_0x3153b1[_0x53135b],_0x55baba=_0x22f5da[_0x41a0ce(0x120)](_0x415f5f[_0x41a0ce(0x104)]);if(_0x41a0ce(0x123)===_0x23ae45[_0x41a0ce(0x103)](_0x55baba))return _0x53135b;}const _0x446026=_0x467968[_0x41a0ce(0xf2)];let _0x501a8b=-0x1;for(let _0x409d17=_0x3153b1[_0x41a0ce(0x133)]-0x1;_0x409d17>=0x0;_0x409d17--)if(_0x3153b1[_0x409d17][_0x41a0ce(0x104)][_0x41a0ce(0xf2)]===_0x446026){_0x501a8b=_0x409d17;break;}if(-0x1!==_0x501a8b)return _0x501a8b+0x1;const _0x14c4e5=_0x22f5da[_0x41a0ce(0xec)][_0x41a0ce(0x14e)](),_0x28a2d6=_0x14c4e5[_0x41a0ce(0xf5)](_0x446026[_0x41a0ce(0x134)]),_0x4f134b=_0x14c4e5[_0x28a2d6+0x1];if(_0x4f134b){for(let _0x3b43d2=0x0;_0x3b43d2<_0x3153b1[_0x41a0ce(0x133)];_0x3b43d2++)if(_0x3153b1[_0x3b43d2][_0x41a0ce(0x104)][_0x41a0ce(0xf2)][_0x41a0ce(0x134)]===_0x4f134b)return _0x3b43d2;}return _0x3153b1[_0x41a0ce(0x133)];}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ import { Plugin } from 'ckeditor5/src/core.js';
6
+ import '../theme/footnotes.css';
7
+ /**
8
+ * The footnotes UI plugin.
9
+ */
10
+ export declare class FootnotesUI extends Plugin {
11
+ /**
12
+ * @inheritDoc
13
+ */
14
+ static get pluginName(): "FootnotesUI";
15
+ /**
16
+ * @inheritDoc
17
+ */
18
+ static get isOfficialPlugin(): true;
19
+ /**
20
+ * @inheritDoc
21
+ */
22
+ static get isPremiumPlugin(): true;
23
+ /**
24
+ * @inheritDoc
25
+ */
26
+ init(): void;
27
+ /**
28
+ * @inheritDoc
29
+ */
30
+ destroy(): void;
31
+ }
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{ButtonView as _0x1cf490,MenuBarMenuListItemButtonView as _0x4df21d}from'ckeditor5/src/ui.js';import{Plugin as _0x45bb74}from'ckeditor5/src/core.js';import{IconFootnote as _0x186225}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x45bb74{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xf781a6}=this,{componentFactory:_0x1fbbaf}=_0xf781a6['ui'];_0x1fbbaf['add']('insertFootnote',x(_0xf781a6,_0x1cf490)),_0x1fbbaf['add']('menuBar:insertFootnote',x(_0xf781a6,_0x4df21d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xd55eb4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4bdd32;for(const _0x47595e in _0xd55eb4){const _0x2425f9=_0x47595e,_0x170393=_0xd55eb4[_0x2425f9];if('footnotesLicenseKeyValid'==_0x170393||'footnotesLicenseKeyInvalid'==_0x170393||'footnotesLicenseKeyExpired'==_0x170393||'footnotesLicenseKeyDomainLimit'==_0x170393||'footnotesLicenseKeyNotAllowed'==_0x170393||'footnotesLicenseKeyEvaluationLimit'==_0x170393||'footnotesLicenseKeyTrialLimit'==_0x170393||'footnotesLicenseKeyUsageLimit'==_0x170393){delete _0xd55eb4[_0x2425f9],_0x4bdd32=_0x170393,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4bdd32&&_0xd55eb4['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4bdd32&&_0xd55eb4['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4bdd32&&_0xd55eb4['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4bdd32&&_0xd55eb4['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4bdd32&&_0xd55eb4['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x4bdd32&&_0xd55eb4['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x4bdd32&&_0xd55eb4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2ba211,_0x434a5e){const _0x2abc7a=_0x2ba211['commands']['get']('insertFootnote');return _0x5d33e8=>{const {t:t}=_0x5d33e8,_0x22828b=new _0x434a5e(_0x5d33e8),_0xe383d6=_0x22828b instanceof _0x4df21d;return _0x22828b['bind']('isEnabled')['to'](_0x2abc7a,'isEnabled'),_0x22828b['set']({'label':t(_0xe383d6?'Footnote':'Insert\x20footnote'),'icon':_0x186225,'tooltip':!0x0}),_0x22828b['on']('execute',()=>{_0x2abc7a['execute'](),_0x2ba211['editing']['view']['focus']();}),_0x22828b;};}
package/src/index.d.ts ADDED
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module footnotes
7
+ */
8
+ import './augmentation.js';
9
+ export { Footnotes } from './footnotes.js';
10
+ export { FootnotesEditing } from './footnotesediting.js';
11
+ export { FootnotesClipboard } from './footnotesclipboard.js';
12
+ export { FootnotesUI } from './footnotesui.js';
13
+ export { InsertFootnoteCommand } from './commands/insertfootnotecommand.js';
14
+ export { FootnotesTracker, type Footnote, type FootnoteFormatterCallback, type FormatFootnoteListValueParams } from './footnotestracker.js';
15
+ export type { FootnotesConfig } from './footnotesconfig.js';
16
+ export { FootnotesStyleCommand } from './footnotesproperties/commands/footnotesstylecommand.js';
17
+ export { FootnotesStartCommand } from './footnotesproperties/commands/footnotesstartcommand.js';
18
+ export { FootnotesPropertiesEditing } from './footnotesproperties/footnotespropertiesediting.js';
19
+ export { FootnotesPropertiesUI } from './footnotesproperties/footnotespropertiesui.js';
20
+ export { FootnotesProperties } from './footnotesproperties.js';
21
+ export type { FootnotesDefinitionsStyle, FootnotesPropertiesConfig } from './footnotesproperties/footnotespropertiesconfig.js';
package/src/index.js ADDED
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x49e5b0,_0x5b2684){var _0x1c5796=_0x5a2d,_0x212576=_0x49e5b0();while(!![]){try{var _0xed00a6=-parseInt(_0x1c5796(0xe9))/0x1+-parseInt(_0x1c5796(0xec))/0x2+-parseInt(_0x1c5796(0xe7))/0x3+parseInt(_0x1c5796(0xe8))/0x4*(parseInt(_0x1c5796(0xea))/0x5)+-parseInt(_0x1c5796(0xee))/0x6*(parseInt(_0x1c5796(0xef))/0x7)+-parseInt(_0x1c5796(0xed))/0x8+parseInt(_0x1c5796(0xeb))/0x9;if(_0xed00a6===_0x5b2684)break;else _0x212576['push'](_0x212576['shift']());}catch(_0x4733f2){_0x212576['push'](_0x212576['shift']());}}}(_0x1635,0xc8e71));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';function _0x1635(){var _0x52d0bb=['1067101UWJiQa','3557760DSvoLI','1078936WyMCiS','648542XHryxZ','5snuHaQ','44494272vQiLar','1641942boNdGi','10223064QThvGZ','18zjpNOR'];_0x1635=function(){return _0x52d0bb;};return _0x1635();}function _0x5a2d(_0x523dc7,_0x516015){var _0x163549=_0x1635();return _0x5a2d=function(_0x5a2dcd,_0x723743){_0x5a2dcd=_0x5a2dcd-0xe7;var _0x172996=_0x163549[_0x5a2dcd];return _0x172996;},_0x5a2d(_0x523dc7,_0x516015);}export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -0,0 +1,60 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module footnotes/modelelementtracker
7
+ */
8
+ import type { ModelElement, Model, DifferItem } from 'ckeditor5/src/engine.js';
9
+ /**
10
+ * Tracks changes of specific elements in document changes.
11
+ */
12
+ export declare class ModelElementTracker {
13
+ /**
14
+ * @param model The editor model instance.
15
+ * @param config Configuration for tracking specific element type.
16
+ */
17
+ constructor(model: Model, config: TrackElementChangesConfig);
18
+ /**
19
+ * Resets the tracker, clearing all tracked elements.
20
+ */
21
+ reset(): void;
22
+ /**
23
+ * Analyzes document changes and returns the set of changes for the tracked element type.
24
+ *
25
+ * @param documentChanges Array of document changes to analyze.
26
+ * @returns Object containing removed, inserted, and moved elements.
27
+ */
28
+ getChanges(documentChanges: Array<DifferItem>): ElementChangesResult;
29
+ }
30
+ /**
31
+ * Configuration for tracking element changes.
32
+ */
33
+ type TrackElementChangesConfig = {
34
+ /**
35
+ * Name of the element to track (e.g., 'footnoteRef', 'footnotesDefinitions').
36
+ */
37
+ elementName: string;
38
+ /**
39
+ * Function to extract a unique key from the element for tracking purposes.
40
+ */
41
+ getElementKey: (element: ModelElement) => string;
42
+ };
43
+ /**
44
+ * Result of tracking element changes.
45
+ */
46
+ type ElementChangesResult = {
47
+ /**
48
+ * Set of removed element keys.
49
+ */
50
+ removed: Array<string>;
51
+ /**
52
+ * Map of inserted element keys to their elements.
53
+ */
54
+ inserted: Array<ModelElement>;
55
+ /**
56
+ * Set of moved elements (removed + inserted).
57
+ */
58
+ moved: Array<ModelElement>;
59
+ };
60
+ export {};