@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251029.0 → 47.2.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) hide show
  1. package/build/footnotes.js +2 -1
  2. package/build/translations/af.js +1 -0
  3. package/build/translations/ar.js +1 -0
  4. package/build/translations/ast.js +1 -0
  5. package/build/translations/az.js +1 -0
  6. package/build/translations/be.js +1 -0
  7. package/build/translations/bg.js +1 -0
  8. package/build/translations/bn.js +1 -0
  9. package/build/translations/bs.js +1 -0
  10. package/build/translations/ca.js +1 -0
  11. package/build/translations/cs.js +1 -0
  12. package/build/translations/da.js +1 -0
  13. package/build/translations/de-ch.js +1 -0
  14. package/build/translations/de.js +1 -0
  15. package/build/translations/el.js +1 -0
  16. package/build/translations/en-au.js +1 -0
  17. package/build/translations/en-gb.js +1 -0
  18. package/build/translations/eo.js +1 -0
  19. package/build/translations/es-co.js +1 -0
  20. package/build/translations/es.js +1 -0
  21. package/build/translations/et.js +1 -0
  22. package/build/translations/eu.js +1 -0
  23. package/build/translations/fa.js +1 -0
  24. package/build/translations/fi.js +1 -0
  25. package/build/translations/fr.js +1 -0
  26. package/build/translations/gl.js +1 -0
  27. package/build/translations/gu.js +1 -0
  28. package/build/translations/he.js +1 -0
  29. package/build/translations/hi.js +1 -0
  30. package/build/translations/hr.js +1 -0
  31. package/build/translations/hu.js +1 -0
  32. package/build/translations/hy.js +1 -0
  33. package/build/translations/id.js +1 -0
  34. package/build/translations/it.js +1 -0
  35. package/build/translations/ja.js +1 -0
  36. package/build/translations/jv.js +1 -0
  37. package/build/translations/kk.js +1 -0
  38. package/build/translations/km.js +1 -0
  39. package/build/translations/kn.js +1 -0
  40. package/build/translations/ko.js +1 -0
  41. package/build/translations/ku.js +1 -0
  42. package/build/translations/lt.js +1 -0
  43. package/build/translations/lv.js +1 -0
  44. package/build/translations/ms.js +1 -0
  45. package/build/translations/nb.js +1 -0
  46. package/build/translations/ne.js +1 -0
  47. package/build/translations/nl.js +1 -0
  48. package/build/translations/no.js +1 -0
  49. package/build/translations/oc.js +1 -0
  50. package/build/translations/pl.js +1 -0
  51. package/build/translations/pt-br.js +1 -0
  52. package/build/translations/pt.js +1 -0
  53. package/build/translations/ro.js +1 -0
  54. package/build/translations/ru.js +1 -0
  55. package/build/translations/si.js +1 -0
  56. package/build/translations/sk.js +1 -0
  57. package/build/translations/sl.js +1 -0
  58. package/build/translations/sq.js +1 -0
  59. package/build/translations/sr-latn.js +1 -0
  60. package/build/translations/sr.js +1 -0
  61. package/build/translations/sv.js +1 -0
  62. package/build/translations/th.js +1 -0
  63. package/build/translations/ti.js +1 -0
  64. package/build/translations/tk.js +1 -0
  65. package/build/translations/tr.js +1 -0
  66. package/build/translations/tt.js +1 -0
  67. package/build/translations/ug.js +1 -0
  68. package/build/translations/uk.js +1 -0
  69. package/build/translations/ur.js +1 -0
  70. package/build/translations/uz.js +1 -0
  71. package/build/translations/vi.js +1 -0
  72. package/build/translations/zh-cn.js +1 -0
  73. package/build/translations/zh.js +1 -0
  74. package/dist/index.js +1 -1
  75. package/dist/translations/af.d.ts +8 -0
  76. package/dist/translations/af.js +23 -0
  77. package/dist/translations/af.umd.js +23 -0
  78. package/dist/translations/ar.d.ts +8 -0
  79. package/dist/translations/ar.js +23 -0
  80. package/dist/translations/ar.umd.js +23 -0
  81. package/dist/translations/ast.d.ts +8 -0
  82. package/dist/translations/ast.js +23 -0
  83. package/dist/translations/ast.umd.js +23 -0
  84. package/dist/translations/az.d.ts +8 -0
  85. package/dist/translations/az.js +23 -0
  86. package/dist/translations/az.umd.js +23 -0
  87. package/dist/translations/be.d.ts +8 -0
  88. package/dist/translations/be.js +23 -0
  89. package/dist/translations/be.umd.js +23 -0
  90. package/dist/translations/bg.d.ts +8 -0
  91. package/dist/translations/bg.js +23 -0
  92. package/dist/translations/bg.umd.js +23 -0
  93. package/dist/translations/bn.d.ts +8 -0
  94. package/dist/translations/bn.js +23 -0
  95. package/dist/translations/bn.umd.js +23 -0
  96. package/dist/translations/bs.d.ts +8 -0
  97. package/dist/translations/bs.js +23 -0
  98. package/dist/translations/bs.umd.js +23 -0
  99. package/dist/translations/ca.d.ts +8 -0
  100. package/dist/translations/ca.js +23 -0
  101. package/dist/translations/ca.umd.js +23 -0
  102. package/dist/translations/cs.d.ts +8 -0
  103. package/dist/translations/cs.js +23 -0
  104. package/dist/translations/cs.umd.js +23 -0
  105. package/dist/translations/da.d.ts +8 -0
  106. package/dist/translations/da.js +23 -0
  107. package/dist/translations/da.umd.js +23 -0
  108. package/dist/translations/de-ch.d.ts +8 -0
  109. package/dist/translations/de-ch.js +23 -0
  110. package/dist/translations/de-ch.umd.js +23 -0
  111. package/dist/translations/de.d.ts +8 -0
  112. package/dist/translations/de.js +23 -0
  113. package/dist/translations/de.umd.js +23 -0
  114. package/dist/translations/el.d.ts +8 -0
  115. package/dist/translations/el.js +23 -0
  116. package/dist/translations/el.umd.js +23 -0
  117. package/dist/translations/en-au.d.ts +8 -0
  118. package/dist/translations/en-au.js +23 -0
  119. package/dist/translations/en-au.umd.js +23 -0
  120. package/dist/translations/en-gb.d.ts +8 -0
  121. package/dist/translations/en-gb.js +23 -0
  122. package/dist/translations/en-gb.umd.js +23 -0
  123. package/dist/translations/en.d.ts +8 -0
  124. package/dist/translations/en.js +23 -0
  125. package/dist/translations/en.umd.js +23 -0
  126. package/dist/translations/eo.d.ts +8 -0
  127. package/dist/translations/eo.js +23 -0
  128. package/dist/translations/eo.umd.js +23 -0
  129. package/dist/translations/es-co.d.ts +8 -0
  130. package/dist/translations/es-co.js +23 -0
  131. package/dist/translations/es-co.umd.js +23 -0
  132. package/dist/translations/es.d.ts +8 -0
  133. package/dist/translations/es.js +23 -0
  134. package/dist/translations/es.umd.js +23 -0
  135. package/dist/translations/et.d.ts +8 -0
  136. package/dist/translations/et.js +23 -0
  137. package/dist/translations/et.umd.js +23 -0
  138. package/dist/translations/eu.d.ts +8 -0
  139. package/dist/translations/eu.js +23 -0
  140. package/dist/translations/eu.umd.js +23 -0
  141. package/dist/translations/fa.d.ts +8 -0
  142. package/dist/translations/fa.js +23 -0
  143. package/dist/translations/fa.umd.js +23 -0
  144. package/dist/translations/fi.d.ts +8 -0
  145. package/dist/translations/fi.js +23 -0
  146. package/dist/translations/fi.umd.js +23 -0
  147. package/dist/translations/fr.d.ts +8 -0
  148. package/dist/translations/fr.js +23 -0
  149. package/dist/translations/fr.umd.js +23 -0
  150. package/dist/translations/gl.d.ts +8 -0
  151. package/dist/translations/gl.js +23 -0
  152. package/dist/translations/gl.umd.js +23 -0
  153. package/dist/translations/gu.d.ts +8 -0
  154. package/dist/translations/gu.js +23 -0
  155. package/dist/translations/gu.umd.js +23 -0
  156. package/dist/translations/he.d.ts +8 -0
  157. package/dist/translations/he.js +23 -0
  158. package/dist/translations/he.umd.js +23 -0
  159. package/dist/translations/hi.d.ts +8 -0
  160. package/dist/translations/hi.js +23 -0
  161. package/dist/translations/hi.umd.js +23 -0
  162. package/dist/translations/hr.d.ts +8 -0
  163. package/dist/translations/hr.js +23 -0
  164. package/dist/translations/hr.umd.js +23 -0
  165. package/dist/translations/hu.d.ts +8 -0
  166. package/dist/translations/hu.js +23 -0
  167. package/dist/translations/hu.umd.js +23 -0
  168. package/dist/translations/hy.d.ts +8 -0
  169. package/dist/translations/hy.js +23 -0
  170. package/dist/translations/hy.umd.js +23 -0
  171. package/dist/translations/id.d.ts +8 -0
  172. package/dist/translations/id.js +23 -0
  173. package/dist/translations/id.umd.js +23 -0
  174. package/dist/translations/it.d.ts +8 -0
  175. package/dist/translations/it.js +23 -0
  176. package/dist/translations/it.umd.js +23 -0
  177. package/dist/translations/ja.d.ts +8 -0
  178. package/dist/translations/ja.js +23 -0
  179. package/dist/translations/ja.umd.js +23 -0
  180. package/dist/translations/jv.d.ts +8 -0
  181. package/dist/translations/jv.js +23 -0
  182. package/dist/translations/jv.umd.js +23 -0
  183. package/dist/translations/kk.d.ts +8 -0
  184. package/dist/translations/kk.js +23 -0
  185. package/dist/translations/kk.umd.js +23 -0
  186. package/dist/translations/km.d.ts +8 -0
  187. package/dist/translations/km.js +23 -0
  188. package/dist/translations/km.umd.js +23 -0
  189. package/dist/translations/kn.d.ts +8 -0
  190. package/dist/translations/kn.js +23 -0
  191. package/dist/translations/kn.umd.js +23 -0
  192. package/dist/translations/ko.d.ts +8 -0
  193. package/dist/translations/ko.js +23 -0
  194. package/dist/translations/ko.umd.js +23 -0
  195. package/dist/translations/ku.d.ts +8 -0
  196. package/dist/translations/ku.js +23 -0
  197. package/dist/translations/ku.umd.js +23 -0
  198. package/dist/translations/lt.d.ts +8 -0
  199. package/dist/translations/lt.js +23 -0
  200. package/dist/translations/lt.umd.js +23 -0
  201. package/dist/translations/lv.d.ts +8 -0
  202. package/dist/translations/lv.js +23 -0
  203. package/dist/translations/lv.umd.js +23 -0
  204. package/dist/translations/ms.d.ts +8 -0
  205. package/dist/translations/ms.js +23 -0
  206. package/dist/translations/ms.umd.js +23 -0
  207. package/dist/translations/nb.d.ts +8 -0
  208. package/dist/translations/nb.js +23 -0
  209. package/dist/translations/nb.umd.js +23 -0
  210. package/dist/translations/ne.d.ts +8 -0
  211. package/dist/translations/ne.js +23 -0
  212. package/dist/translations/ne.umd.js +23 -0
  213. package/dist/translations/nl.d.ts +8 -0
  214. package/dist/translations/nl.js +23 -0
  215. package/dist/translations/nl.umd.js +23 -0
  216. package/dist/translations/no.d.ts +8 -0
  217. package/dist/translations/no.js +23 -0
  218. package/dist/translations/no.umd.js +23 -0
  219. package/dist/translations/oc.d.ts +8 -0
  220. package/dist/translations/oc.js +23 -0
  221. package/dist/translations/oc.umd.js +23 -0
  222. package/dist/translations/pl.d.ts +8 -0
  223. package/dist/translations/pl.js +23 -0
  224. package/dist/translations/pl.umd.js +23 -0
  225. package/dist/translations/pt-br.d.ts +8 -0
  226. package/dist/translations/pt-br.js +23 -0
  227. package/dist/translations/pt-br.umd.js +23 -0
  228. package/dist/translations/pt.d.ts +8 -0
  229. package/dist/translations/pt.js +23 -0
  230. package/dist/translations/pt.umd.js +23 -0
  231. package/dist/translations/ro.d.ts +8 -0
  232. package/dist/translations/ro.js +23 -0
  233. package/dist/translations/ro.umd.js +23 -0
  234. package/dist/translations/ru.d.ts +8 -0
  235. package/dist/translations/ru.js +23 -0
  236. package/dist/translations/ru.umd.js +23 -0
  237. package/dist/translations/si.d.ts +8 -0
  238. package/dist/translations/si.js +23 -0
  239. package/dist/translations/si.umd.js +23 -0
  240. package/dist/translations/sk.d.ts +8 -0
  241. package/dist/translations/sk.js +23 -0
  242. package/dist/translations/sk.umd.js +23 -0
  243. package/dist/translations/sl.d.ts +8 -0
  244. package/dist/translations/sl.js +23 -0
  245. package/dist/translations/sl.umd.js +23 -0
  246. package/dist/translations/sq.d.ts +8 -0
  247. package/dist/translations/sq.js +23 -0
  248. package/dist/translations/sq.umd.js +23 -0
  249. package/dist/translations/sr-latn.d.ts +8 -0
  250. package/dist/translations/sr-latn.js +23 -0
  251. package/dist/translations/sr-latn.umd.js +23 -0
  252. package/dist/translations/sr.d.ts +8 -0
  253. package/dist/translations/sr.js +23 -0
  254. package/dist/translations/sr.umd.js +23 -0
  255. package/dist/translations/sv.d.ts +8 -0
  256. package/dist/translations/sv.js +23 -0
  257. package/dist/translations/sv.umd.js +23 -0
  258. package/dist/translations/th.d.ts +8 -0
  259. package/dist/translations/th.js +23 -0
  260. package/dist/translations/th.umd.js +23 -0
  261. package/dist/translations/ti.d.ts +8 -0
  262. package/dist/translations/ti.js +23 -0
  263. package/dist/translations/ti.umd.js +23 -0
  264. package/dist/translations/tk.d.ts +8 -0
  265. package/dist/translations/tk.js +23 -0
  266. package/dist/translations/tk.umd.js +23 -0
  267. package/dist/translations/tr.d.ts +8 -0
  268. package/dist/translations/tr.js +23 -0
  269. package/dist/translations/tr.umd.js +23 -0
  270. package/dist/translations/tt.d.ts +8 -0
  271. package/dist/translations/tt.js +23 -0
  272. package/dist/translations/tt.umd.js +23 -0
  273. package/dist/translations/ug.d.ts +8 -0
  274. package/dist/translations/ug.js +23 -0
  275. package/dist/translations/ug.umd.js +23 -0
  276. package/dist/translations/uk.d.ts +8 -0
  277. package/dist/translations/uk.js +23 -0
  278. package/dist/translations/uk.umd.js +23 -0
  279. package/dist/translations/ur.d.ts +8 -0
  280. package/dist/translations/ur.js +23 -0
  281. package/dist/translations/ur.umd.js +23 -0
  282. package/dist/translations/uz.d.ts +8 -0
  283. package/dist/translations/uz.js +23 -0
  284. package/dist/translations/uz.umd.js +23 -0
  285. package/dist/translations/vi.d.ts +8 -0
  286. package/dist/translations/vi.js +23 -0
  287. package/dist/translations/vi.umd.js +23 -0
  288. package/dist/translations/zh-cn.d.ts +8 -0
  289. package/dist/translations/zh-cn.js +23 -0
  290. package/dist/translations/zh-cn.umd.js +23 -0
  291. package/dist/translations/zh.d.ts +8 -0
  292. package/dist/translations/zh.js +23 -0
  293. package/dist/translations/zh.umd.js +23 -0
  294. package/lang/translations/af.po +112 -0
  295. package/lang/translations/ar.po +112 -0
  296. package/lang/translations/ast.po +112 -0
  297. package/lang/translations/az.po +112 -0
  298. package/lang/translations/be.po +112 -0
  299. package/lang/translations/bg.po +112 -0
  300. package/lang/translations/bn.po +112 -0
  301. package/lang/translations/bs.po +112 -0
  302. package/lang/translations/ca.po +112 -0
  303. package/lang/translations/cs.po +112 -0
  304. package/lang/translations/da.po +112 -0
  305. package/lang/translations/de-ch.po +112 -0
  306. package/lang/translations/de.po +112 -0
  307. package/lang/translations/el.po +112 -0
  308. package/lang/translations/en-au.po +112 -0
  309. package/lang/translations/en-gb.po +112 -0
  310. package/lang/translations/en.po +112 -0
  311. package/lang/translations/eo.po +112 -0
  312. package/lang/translations/es-co.po +112 -0
  313. package/lang/translations/es.po +112 -0
  314. package/lang/translations/et.po +112 -0
  315. package/lang/translations/eu.po +112 -0
  316. package/lang/translations/fa.po +112 -0
  317. package/lang/translations/fi.po +112 -0
  318. package/lang/translations/fr.po +112 -0
  319. package/lang/translations/gl.po +112 -0
  320. package/lang/translations/gu.po +112 -0
  321. package/lang/translations/he.po +112 -0
  322. package/lang/translations/hi.po +112 -0
  323. package/lang/translations/hr.po +112 -0
  324. package/lang/translations/hu.po +112 -0
  325. package/lang/translations/hy.po +112 -0
  326. package/lang/translations/id.po +112 -0
  327. package/lang/translations/it.po +112 -0
  328. package/lang/translations/ja.po +112 -0
  329. package/lang/translations/jv.po +112 -0
  330. package/lang/translations/kk.po +112 -0
  331. package/lang/translations/km.po +112 -0
  332. package/lang/translations/kn.po +112 -0
  333. package/lang/translations/ko.po +112 -0
  334. package/lang/translations/ku.po +112 -0
  335. package/lang/translations/lt.po +112 -0
  336. package/lang/translations/lv.po +112 -0
  337. package/lang/translations/ms.po +112 -0
  338. package/lang/translations/nb.po +112 -0
  339. package/lang/translations/ne.po +112 -0
  340. package/lang/translations/nl.po +112 -0
  341. package/lang/translations/no.po +112 -0
  342. package/lang/translations/oc.po +112 -0
  343. package/lang/translations/pl.po +112 -0
  344. package/lang/translations/pt-br.po +112 -0
  345. package/lang/translations/pt.po +112 -0
  346. package/lang/translations/ro.po +112 -0
  347. package/lang/translations/ru.po +112 -0
  348. package/lang/translations/si.po +112 -0
  349. package/lang/translations/sk.po +112 -0
  350. package/lang/translations/sl.po +112 -0
  351. package/lang/translations/sq.po +112 -0
  352. package/lang/translations/sr-latn.po +112 -0
  353. package/lang/translations/sr.po +112 -0
  354. package/lang/translations/sv.po +112 -0
  355. package/lang/translations/th.po +112 -0
  356. package/lang/translations/ti.po +112 -0
  357. package/lang/translations/tk.po +112 -0
  358. package/lang/translations/tr.po +112 -0
  359. package/lang/translations/tt.po +112 -0
  360. package/lang/translations/ug.po +112 -0
  361. package/lang/translations/uk.po +112 -0
  362. package/lang/translations/ur.po +112 -0
  363. package/lang/translations/uz.po +112 -0
  364. package/lang/translations/vi.po +112 -0
  365. package/lang/translations/zh-cn.po +112 -0
  366. package/lang/translations/zh.po +112 -0
  367. package/package.json +9 -9
  368. package/src/commands/insertfootnotecommand.js +1 -1
  369. package/src/footnotes.js +1 -1
  370. package/src/footnotesclipboard.js +1 -1
  371. package/src/footnotesediting.js +1 -1
  372. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  373. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  374. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  375. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  376. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  377. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  378. package/src/footnotesproperties.js +1 -1
  379. package/src/footnotestracker.js +1 -1
  380. package/src/footnotesui.js +1 -1
  381. package/src/index.js +1 -1
  382. package/src/modelelementtracker.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x414002=_0x6fb0;function _0x6fb0(_0x1d110f,_0x747e49){const _0x3bb4a1=_0x3bb4();return _0x6fb0=function(_0x6fb095,_0x17cbf2){_0x6fb095=_0x6fb095-0xf9;let _0x43218b=_0x3bb4a1[_0x6fb095];return _0x43218b;},_0x6fb0(_0x1d110f,_0x747e49);}(function(_0x53277d,_0x15d3c3){const _0x3bd4f1=_0x6fb0,_0x5e2d07=_0x53277d();while(!![]){try{const _0x34c3ac=-parseInt(_0x3bd4f1(0x122))/0x1+parseInt(_0x3bd4f1(0x12a))/0x2*(parseInt(_0x3bd4f1(0x10b))/0x3)+parseInt(_0x3bd4f1(0x132))/0x4+parseInt(_0x3bd4f1(0xff))/0x5*(parseInt(_0x3bd4f1(0x11c))/0x6)+parseInt(_0x3bd4f1(0x10a))/0x7*(-parseInt(_0x3bd4f1(0x111))/0x8)+-parseInt(_0x3bd4f1(0x124))/0x9+parseInt(_0x3bd4f1(0x108))/0xa*(parseInt(_0x3bd4f1(0x120))/0xb);if(_0x34c3ac===_0x15d3c3)break;else _0x5e2d07['push'](_0x5e2d07['shift']());}catch(_0x300ddf){_0x5e2d07['push'](_0x5e2d07['shift']());}}}(_0x3bb4,0x37ece));import{Plugin as _0x11f8a1}from'ckeditor5/src/core.js';import{uid as _0x3b3618}from'ckeditor5/src/utils.js';function _0x3bb4(){const _0x3d730b=['_handleCopyFootnotesDefinitions','add','contentInsertion','clipboardInput','root','140vWaMQX','parse','2207303gSgdxz','517317cVYgpz','_insertEmptyFootnotesDefinitionsContainer','toModel','setAttribute','getFirstRange','sourceEditorId','8RsMrfk','getFootnotes','getData','toData','from','remove','editing','outputTransformation','append','footnotesDefinitions','selection','78wYddrg','isOfficialPlugin','isPremiumPlugin','init','316030QGFhbS','createElement','349281nVkJgu','entries','3447540bEvREZ','content','toView','length','document','create','2VMtrtV','application/ckeditor5-footnotes','listenTo','dataTransfer','change','drop','setData','htmlProcessor','1022592isBupt','push','element','stringify','requires','footnoteId','end','method','pluginName','editor','_defineClipboardIntegration','definition','_handlePasteFootnotesDefinitions','FootnotesClipboard','getFootnotesDefinitionsObjectElement','getAttribute','data','insert','createRangeIn','reduce','footnoteDefinition','find','171705xeJJkD','footnoteRef','getFootnote','get'];_0x3bb4=function(){return _0x3d730b;};return _0x3bb4();}import{ClipboardPipeline as _0x4735ff}from'ckeditor5/src/clipboard.js';import{FootnotesEditing as _0x211d45}from'./footnotesediting.js';import{FootnotesTracker as _0x52d9b3}from'./footnotestracker.js';export class FootnotesClipboard extends _0x11f8a1{static get[_0x414002(0x13a)](){const _0x4ec244=_0x414002;return _0x4ec244(0x13f);}static get[_0x414002(0x136)](){return[_0x211d45,_0x4735ff];}static get[_0x414002(0x11d)](){return!0x0;}static get[_0x414002(0x11e)](){return!0x0;}[_0x414002(0x11f)](){const _0x3a6537=_0x414002;this[_0x3a6537(0x13c)]();}[_0x414002(0x13c)](){const _0x5439aa=_0x414002;this[_0x5439aa(0x103)](),this[_0x5439aa(0x13e)]();}[_0x414002(0x103)](){const _0x56ad77=_0x414002,{editor:_0x278b52}=this,{plugins:_0x13ab73,model:_0x5a0989}=_0x278b52,_0xf21400=_0x13ab73[_0x56ad77(0x102)](_0x4735ff),_0x5c7ad4=_0x13ab73[_0x56ad77(0x102)](_0x52d9b3);this[_0x56ad77(0x12c)](_0xf21400,_0x56ad77(0x118),(_0x55a9ff,_0x28bfd4)=>{const _0x1e5887=_0x56ad77,_0x447694=function(_0x3d2492,_0x3a6da6){const _0x29b948=_0x6fb0,_0x22f0fb=new Set();for(const {item:_0x44ef3d}of _0x3d2492[_0x29b948(0xfb)](_0x3a6da6))_0x44ef3d['is'](_0x29b948(0x134),_0x29b948(0x100))&&_0x22f0fb[_0x29b948(0x104)](_0x44ef3d[_0x29b948(0x141)](_0x29b948(0x137)));return Array[_0x29b948(0x115)](_0x22f0fb);}(_0x5a0989,_0x28bfd4[_0x1e5887(0x125)]);if(!_0x447694[_0x1e5887(0x127)])return;const _0x57fa8f=_0x5c7ad4[_0x1e5887(0x112)](),_0x2bf465=_0x447694[_0x1e5887(0xfc)]((_0x384b5b,_0x2f3798)=>{const _0x11d5cd=_0x1e5887,_0x13b901=_0x57fa8f[_0x11d5cd(0xfe)](_0x24f768=>_0x24f768['id']===_0x2f3798);if(_0x13b901){const _0x18293b=_0x278b52[_0x11d5cd(0xf9)][_0x11d5cd(0x126)](_0x13b901[_0x11d5cd(0x13d)],{'isClipboardPipeline':!0x0}),_0x376550=_0x278b52[_0x11d5cd(0xf9)][_0x11d5cd(0x131)][_0x11d5cd(0x114)](_0x18293b);_0x384b5b[_0x13b901['id']]=_0x376550;}return _0x384b5b;},Object[_0x1e5887(0x129)](null));_0x28bfd4[_0x1e5887(0x12d)][_0x1e5887(0x130)](_0x1e5887(0x12b),JSON[_0x1e5887(0x135)](_0x2bf465));});}[_0x414002(0x13e)](){const _0x5d3945=_0x414002,{editor:_0x4ed1bc}=this,{model:_0x274f48,plugins:_0x5e340b}=_0x4ed1bc,{view:_0x55bce0}=_0x4ed1bc[_0x5d3945(0x117)],_0x24a9be=_0x5e340b[_0x5d3945(0x102)](_0x4735ff),_0xc78a59=_0x5e340b[_0x5d3945(0x102)](_0x52d9b3);let _0x2c4cdd=null;this[_0x5d3945(0x12c)](_0x55bce0[_0x5d3945(0x128)],_0x5d3945(0x106),(_0x3a54e0,_0x4b06d5)=>{const _0x4aaf4b=_0x5d3945,_0x13e72b=_0x4b06d5[_0x4aaf4b(0x12d)][_0x4aaf4b(0x113)](_0x4aaf4b(0x12b));_0x2c4cdd=_0x13e72b?JSON[_0x4aaf4b(0x109)](_0x13e72b):null;}),this[_0x5d3945(0x12c)](_0x24a9be,_0x5d3945(0x105),(_0x385852,_0x185a7e)=>{const _0x569bc9=_0x5d3945;if(!_0x2c4cdd)return;const _0x3dc7b5=_0x185a7e[_0x569bc9(0x110)]===this[_0x569bc9(0x13b)]['id'];_0x3dc7b5&&_0x569bc9(0x12f)===_0x185a7e[_0x569bc9(0x139)]||_0x274f48[_0x569bc9(0x12e)](_0x3b1260=>{const _0x5c5048=_0x569bc9;!function(_0x51c8ed,_0x1839e9){const _0x449f03=_0x6fb0,_0x4d5d80=[];for(const {item:_0x20737e}of _0x51c8ed[_0x449f03(0xfb)](_0x1839e9))_0x20737e['is'](_0x449f03(0x134),_0x449f03(0x11a))&&_0x4d5d80[_0x449f03(0x133)](_0x20737e);for(const _0x32fe39 of _0x4d5d80)_0x51c8ed[_0x449f03(0x116)](_0x32fe39);}(_0x3b1260,_0x185a7e[_0x5c5048(0x125)]);let _0xf28df8=_0xc78a59[_0x5c5048(0x140)]();if(!_0xf28df8){const _0x46b8a3=_0x274f48[_0x5c5048(0x128)][_0x5c5048(0x11b)][_0x5c5048(0x10f)]()[_0x5c5048(0x107)];_0xf28df8=_0xc78a59[_0x5c5048(0x10c)](_0x3b1260,_0x46b8a3);}const _0x49c369=function(_0x5b54d1,_0x4b6a22,_0x38afb3){const _0x4266db=_0x5c5048,_0x1a5aac=Object[_0x4266db(0x129)](null);for(const {item:_0x126ccc}of _0x5b54d1[_0x4266db(0xfb)](_0x4b6a22))if(_0x126ccc['is'](_0x4266db(0x134),_0x4266db(0x100))){const _0x25b703=_0x126ccc[_0x4266db(0x141)](_0x4266db(0x137));if(!_0x38afb3(_0x25b703))continue;_0x1a5aac[_0x25b703]||(_0x1a5aac[_0x25b703]=_0x3b3618()),_0x5b54d1[_0x4266db(0x10e)](_0x4266db(0x137),_0x1a5aac[_0x25b703],_0x126ccc);}return _0x1a5aac;}(_0x3b1260,_0x185a7e[_0x5c5048(0x125)],_0x1c7521=>!_0x3dc7b5||null!==_0xc78a59[_0x5c5048(0x101)](_0x1c7521));for(const [_0x4ff3da,_0x4fabd0]of Object[_0x5c5048(0x123)](_0x2c4cdd)){const _0x3384f2=_0x49c369[_0x4ff3da]||_0x4ff3da,_0x3e9578=_0x3b1260[_0x5c5048(0x121)](_0x5c5048(0xfd),{'footnoteId':_0x3384f2}),_0x487cf1=_0x4ed1bc[_0x5c5048(0xf9)][_0x5c5048(0x131)][_0x5c5048(0x126)](_0x4fabd0),_0x6739bc=_0x4ed1bc[_0x5c5048(0xf9)][_0x5c5048(0x10d)](_0x487cf1,_0x3e9578);_0x3b1260[_0x5c5048(0x119)](_0x6739bc,_0x3e9578),_0x3b1260[_0x5c5048(0xfa)](_0x3e9578,_0xf28df8,_0x5c5048(0x138));}_0x2c4cdd=null;});});}}
23
+ const _0x242454=_0x1d31;(function(_0x52644d,_0x1d4ef0){const _0xfaf29e=_0x1d31,_0x11c7a1=_0x52644d();while(!![]){try{const _0xd41218=parseInt(_0xfaf29e(0x121))/0x1*(parseInt(_0xfaf29e(0x14a))/0x2)+-parseInt(_0xfaf29e(0x142))/0x3*(-parseInt(_0xfaf29e(0x12f))/0x4)+-parseInt(_0xfaf29e(0x159))/0x5+parseInt(_0xfaf29e(0x149))/0x6+parseInt(_0xfaf29e(0x126))/0x7*(parseInt(_0xfaf29e(0x131))/0x8)+-parseInt(_0xfaf29e(0x12a))/0x9+-parseInt(_0xfaf29e(0x146))/0xa*(parseInt(_0xfaf29e(0x13c))/0xb);if(_0xd41218===_0x1d4ef0)break;else _0x11c7a1['push'](_0x11c7a1['shift']());}catch(_0xfab127){_0x11c7a1['push'](_0x11c7a1['shift']());}}}(_0x1b75,0xea1e9));import{Plugin as _0x660783}from'ckeditor5/src/core.js';import{uid as _0x249406}from'ckeditor5/src/utils.js';import{ClipboardPipeline as _0x2dcddf}from'ckeditor5/src/clipboard.js';function _0x1b75(){const _0x432427=['root','847EHzWni','get','htmlProcessor','isOfficialPlugin','editor','create','183669bNhApz','getFootnote','setAttribute','footnoteRef','236030XwCfRY','entries','toView','8523606vErFgx','12ssfheB','pluginName','toModel','method','data','document','definition','toData','remove','contentInsertion','application/ckeditor5-footnotes','createRangeIn','getFootnotes','element','getFirstRange','1117620LeyFol','createElement','footnotesDefinitions','sourceEditorId','append','isPremiumPlugin','drop','selection','getFootnotesDefinitionsObjectElement','_handleCopyFootnotesDefinitions','push','parse','setData','getData','content','footnoteId','footnoteDefinition','110855kzcCQH','end','requires','add','change','7lnraHn','editing','FootnotesClipboard','init','12473082rZOVbl','stringify','insert','getAttribute','listenTo','80xdyLjL','clipboardInput','8604920VBVNvE','reduce','outputTransformation','dataTransfer','_handlePasteFootnotesDefinitions','length','from','_insertEmptyFootnotesDefinitionsContainer','find','_defineClipboardIntegration'];_0x1b75=function(){return _0x432427;};return _0x1b75();}import{FootnotesEditing as _0x403a1f}from'./footnotesediting.js';function _0x1d31(_0x2e79cb,_0xc2a413){const _0x1b75ef=_0x1b75();return _0x1d31=function(_0x1d311d,_0x16351c){_0x1d311d=_0x1d311d-0x11f;let _0x21e7cb=_0x1b75ef[_0x1d311d];return _0x21e7cb;},_0x1d31(_0x2e79cb,_0xc2a413);}import{FootnotesTracker as _0x1979a8}from'./footnotestracker.js';export class FootnotesClipboard extends _0x660783{static get[_0x242454(0x14b)](){const _0x373cf6=_0x242454;return _0x373cf6(0x128);}static get[_0x242454(0x123)](){return[_0x403a1f,_0x2dcddf];}static get[_0x242454(0x13f)](){return!0x0;}static get[_0x242454(0x15e)](){return!0x0;}[_0x242454(0x129)](){const _0x2fb801=_0x242454;this[_0x2fb801(0x13a)]();}[_0x242454(0x13a)](){const _0x105f7f=_0x242454;this[_0x105f7f(0x162)](),this[_0x105f7f(0x135)]();}[_0x242454(0x162)](){const _0x56240f=_0x242454,{editor:_0x31d73d}=this,{plugins:_0x249854,model:_0x49f5db}=_0x31d73d,_0x2177c0=_0x249854[_0x56240f(0x13d)](_0x2dcddf),_0x15da86=_0x249854[_0x56240f(0x13d)](_0x1979a8);this[_0x56240f(0x12e)](_0x2177c0,_0x56240f(0x133),(_0x1d952a,_0x21577b)=>{const _0x208d68=_0x56240f,_0x39bca9=function(_0x57b30d,_0x59e6be){const _0x27dff2=_0x1d31,_0x389abd=new Set();for(const {item:_0x44022a}of _0x57b30d[_0x27dff2(0x155)](_0x59e6be))_0x44022a['is'](_0x27dff2(0x157),_0x27dff2(0x145))&&_0x389abd[_0x27dff2(0x124)](_0x44022a[_0x27dff2(0x12d)](_0x27dff2(0x11f)));return Array[_0x27dff2(0x137)](_0x389abd);}(_0x49f5db,_0x21577b[_0x208d68(0x167)]);if(!_0x39bca9[_0x208d68(0x136)])return;const _0x3638dd=_0x15da86[_0x208d68(0x156)](),_0x5ab35b=_0x39bca9[_0x208d68(0x132)]((_0x5e606b,_0x394415)=>{const _0x36a270=_0x208d68,_0x31a88f=_0x3638dd[_0x36a270(0x139)](_0x3c70f3=>_0x3c70f3['id']===_0x394415);if(_0x31a88f){const _0x1015a3=_0x31d73d[_0x36a270(0x14e)][_0x36a270(0x148)](_0x31a88f[_0x36a270(0x150)],{'isClipboardPipeline':!0x0}),_0xf1121=_0x31d73d[_0x36a270(0x14e)][_0x36a270(0x13e)][_0x36a270(0x151)](_0x1015a3);_0x5e606b[_0x31a88f['id']]=_0xf1121;}return _0x5e606b;},Object[_0x208d68(0x141)](null));_0x21577b[_0x208d68(0x134)][_0x208d68(0x165)](_0x208d68(0x154),JSON[_0x208d68(0x12b)](_0x5ab35b));});}[_0x242454(0x135)](){const _0x466e2a=_0x242454,{editor:_0x4cbe06}=this,{model:_0x2d177a,plugins:_0x3128cf}=_0x4cbe06,{view:_0x2a8fbd}=_0x4cbe06[_0x466e2a(0x127)],_0xff8320=_0x3128cf[_0x466e2a(0x13d)](_0x2dcddf),_0x19e6d5=_0x3128cf[_0x466e2a(0x13d)](_0x1979a8);let _0x1de06f=null;this[_0x466e2a(0x12e)](_0x2a8fbd[_0x466e2a(0x14f)],_0x466e2a(0x130),(_0x359102,_0x162e25)=>{const _0x334828=_0x466e2a,_0x11f693=_0x162e25[_0x334828(0x134)][_0x334828(0x166)](_0x334828(0x154));_0x1de06f=_0x11f693?JSON[_0x334828(0x164)](_0x11f693):null;}),this[_0x466e2a(0x12e)](_0xff8320,_0x466e2a(0x153),(_0x57c18d,_0x2f5141)=>{const _0x24b510=_0x466e2a;if(!_0x1de06f)return;const _0x559458=_0x2f5141[_0x24b510(0x15c)]===this[_0x24b510(0x140)]['id'];_0x559458&&_0x24b510(0x15f)===_0x2f5141[_0x24b510(0x14d)]||_0x2d177a[_0x24b510(0x125)](_0x352116=>{const _0x131c8c=_0x24b510;!function(_0x13cff7,_0x2420da){const _0x1e8ab5=_0x1d31,_0x50e634=[];for(const {item:_0x1c2738}of _0x13cff7[_0x1e8ab5(0x155)](_0x2420da))_0x1c2738['is'](_0x1e8ab5(0x157),_0x1e8ab5(0x15b))&&_0x50e634[_0x1e8ab5(0x163)](_0x1c2738);for(const _0x55ba45 of _0x50e634)_0x13cff7[_0x1e8ab5(0x152)](_0x55ba45);}(_0x352116,_0x2f5141[_0x131c8c(0x167)]);let _0xb581f5=_0x19e6d5[_0x131c8c(0x161)]();if(!_0xb581f5){const _0x106323=_0x2d177a[_0x131c8c(0x14f)][_0x131c8c(0x160)][_0x131c8c(0x158)]()[_0x131c8c(0x13b)];_0xb581f5=_0x19e6d5[_0x131c8c(0x138)](_0x352116,_0x106323);}const _0x378231=function(_0x1b9cdf,_0x3633fe,_0x7a9300){const _0x13fc03=_0x131c8c,_0x2fc14a=Object[_0x13fc03(0x141)](null);for(const {item:_0x28daa5}of _0x1b9cdf[_0x13fc03(0x155)](_0x3633fe))if(_0x28daa5['is'](_0x13fc03(0x157),_0x13fc03(0x145))){const _0x264f63=_0x28daa5[_0x13fc03(0x12d)](_0x13fc03(0x11f));if(!_0x7a9300(_0x264f63))continue;_0x2fc14a[_0x264f63]||(_0x2fc14a[_0x264f63]=_0x249406()),_0x1b9cdf[_0x13fc03(0x144)](_0x13fc03(0x11f),_0x2fc14a[_0x264f63],_0x28daa5);}return _0x2fc14a;}(_0x352116,_0x2f5141[_0x131c8c(0x167)],_0x581d1b=>!_0x559458||null!==_0x19e6d5[_0x131c8c(0x143)](_0x581d1b));for(const [_0x315f3c,_0x4a52ff]of Object[_0x131c8c(0x147)](_0x1de06f)){const _0x1c67a3=_0x378231[_0x315f3c]||_0x315f3c,_0xc373b6=_0x352116[_0x131c8c(0x15a)](_0x131c8c(0x120),{'footnoteId':_0x1c67a3}),_0x2accbe=_0x4cbe06[_0x131c8c(0x14e)][_0x131c8c(0x13e)][_0x131c8c(0x148)](_0x4a52ff),_0x27ce14=_0x4cbe06[_0x131c8c(0x14e)][_0x131c8c(0x14c)](_0x2accbe,_0xc373b6);_0x352116[_0x131c8c(0x15d)](_0x27ce14,_0xc373b6),_0x352116[_0x131c8c(0x12c)](_0xc373b6,_0xb581f5,_0x131c8c(0x122));}_0x1de06f=null;});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x15d83e}from'ckeditor5/src/core.js';import{isWidget as _0xc7766d,toWidget as _0x5ca5e4,toWidgetEditable as _0x4477f0}from'ckeditor5/src/widget.js';import{uid as _0x1ed32b}from'ckeditor5/src/utils.js';import{PointerObserver as _0x1331f7,ClickObserver as _0x1e09de}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x42d64a}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x5eb103}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x15d83e{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x42d64a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x927ab3}=this;_0x927ab3['config']['define']('footnotes.multiBlock',!0x0),_0x927ab3['commands']['add']('insertFootnote',new _0x5eb103(_0x927ab3)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2c8471){const _0x10ebf9=_0x389833([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]),_0x18e0ed=0x47a28506,_0x1af94e=0x47a5f296^_0x18e0ed,_0x2827fb=window[_0x389833([0x44,0x61,0x74,0x65])][_0x389833([0x6e,0x6f,0x77])](),_0x1e7697=_0x2c8471[_0x389833([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3dbbb4=new window[(_0x389833([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3890db=>{_0x1e7697[_0x389833([0x6f,0x6e,0x63,0x65])](_0x389833([0x72,0x65,0x61,0x64,0x79]),_0x3890db);}),_0x17018c={[_0x389833([0x6b,0x74,0x79])]:_0x389833([0x45,0x43]),[_0x389833([0x75,0x73,0x65])]:_0x389833([0x73,0x69,0x67]),[_0x389833([0x63,0x72,0x76])]:_0x389833([0x50,0x2d,0x32,0x35,0x36]),[_0x389833([0x78])]:_0x389833([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]),[_0x389833([0x79])]:_0x389833([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]),[_0x389833([0x61,0x6c,0x67])]:_0x389833([0x45,0x53,0x32,0x35,0x36])},_0x192725=_0x1e7697[_0x389833([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x389833([0x67,0x65,0x74])](_0x389833([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x559b50(){let _0x57e260,_0x1ac128=null,_0x45fcaa=null;try{if(_0x192725==_0x389833([0x47,0x50,0x4c]))return _0x389833([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x57e260=_0x3e25f8(),!_0x57e260)return _0x389833([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x57e260[_0x389833([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x45fcaa=_0x189173(_0x57e260[_0x389833([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x57e260[_0x389833([0x6a,0x74,0x69])])),await _0x1d8432()?_0x4e1b06()?_0x45c20f()?_0x389833([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x364be9()?(_0x57e260[_0x389833([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x389833([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1ac128=_0x2da700(_0x389833([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x57e260[_0x389833([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x389833([0x74,0x72,0x69,0x61,0x6c])&&(_0x1ac128=_0x2da700(_0x389833([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ffc7a()):_0x389833([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x389833([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x389833([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x389833([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x45c20f(){const _0x260e62=[_0x389833([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x389833([0x74,0x72,0x69,0x61,0x6c])][_0x389833([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57e260[_0x389833([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2827fb/0x3e8:0xe10*_0x1af94e;return _0x57e260[_0x389833([0x65,0x78,0x70])]<_0x260e62;}function _0x4e1b06(){const _0x520015=_0x57e260[_0x389833([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x520015&&(!!_0x520015[_0x389833([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x389833([0x2a]))||!!_0x520015[_0x389833([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x389833([0x46,0x4f,0x4f])));}function _0x364be9(){const _0x3a7976=_0x57e260[_0x389833([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3a7976||0x0==_0x3a7976[_0x389833([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5c50f4}=new URL(window[_0x389833([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3a7976[_0x389833([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c50f4))return!0x0;const _0x452469=_0x5c50f4[_0x389833([0x73,0x70,0x6c,0x69,0x74])](_0x389833([0x2e]));return _0x3a7976[_0x389833([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d3831=>_0x5d3831[_0x389833([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x389833([0x2a])))[_0x389833([0x6d,0x61,0x70])](_0x10d01b=>_0x10d01b[_0x389833([0x73,0x70,0x6c,0x69,0x74])](_0x389833([0x2e])))[_0x389833([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3925a9=>_0x3925a9[_0x389833([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x452469[_0x389833([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x389833([0x6d,0x61,0x70])](_0x3619d1=>Array(_0x452469[_0x389833([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3619d1[_0x389833([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x389833([0x66,0x69,0x6c,0x6c])](_0x3619d1[0x0]===_0x389833([0x2a])?_0x389833([0x2a]):'')[_0x389833([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3619d1))[_0x389833([0x73,0x6f,0x6d,0x65])](_0x34fcdc=>_0x452469[_0x389833([0x65,0x76,0x65,0x72,0x79])]((_0x507f17,_0x41fff6)=>_0x34fcdc[_0x41fff6]===_0x507f17||_0x34fcdc[_0x41fff6]===_0x389833([0x2a])));}function _0x1ffc7a(){return _0x1ac128&&_0x45fcaa?new window[(_0x389833([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x264f5b,_0x184d30)=>{_0x1ac128[_0x389833([0x74,0x68,0x65,0x6e])](_0x264f5b,_0x184d30),_0x45fcaa[_0x389833([0x74,0x68,0x65,0x6e])](_0x5168ca=>{_0x5168ca!=_0x389833([0x56,0x61,0x6c,0x69,0x64])&&_0x264f5b(_0x5168ca);},_0x184d30);}):_0x1ac128||_0x45fcaa||_0x389833([0x56,0x61,0x6c,0x69,0x64]);}}function _0x189173(_0x37b88e,_0x31c199){return new window[(_0x389833([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x369a5b=>{if(_0x4b7c90())return _0x369a5b(_0x389833([0x56,0x61,0x6c,0x69,0x64]));_0x4fea90(),_0x1e7697[_0x389833([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x389833([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1a80ea=!0x1;const _0x275da4=_0x1ed32b();function _0x5cb0c1(_0x155850){return!!_0x155850&&(typeof _0x155850===_0x389833([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x155850===_0x389833([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x155850[_0x389833([0x74,0x68,0x65,0x6e])]===_0x389833([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x155850[_0x389833([0x63,0x61,0x74,0x63,0x68])]===_0x389833([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x6c5be(_0x16086f){_0xf49348(_0x16086f)[_0x389833([0x74,0x68,0x65,0x6e])](_0x4826d7=>{if(!_0x4826d7||_0x4826d7[_0x389833([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x389833([0x6f,0x6b]))return _0x389833([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x24def6(_0x11b3c3(_0x275da4+_0x31c199))!=_0x4826d7[_0x389833([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x389833([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x389833([0x56,0x61,0x6c,0x69,0x64]);})[_0x389833([0x74,0x68,0x65,0x6e])](_0x45202c=>(_0x2e16db(),_0x45202c),()=>{const _0x5904b9=_0x55bd4f();return null==_0x5904b9?(_0x2e16db(),_0x389833([0x56,0x61,0x6c,0x69,0x64])):_0x389833(_0x2827fb-_0x5904b9>(0x63ae0106^_0x18e0ed)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x389833([0x74,0x68,0x65,0x6e])](_0x369a5b)[_0x389833([0x63,0x61,0x74,0x63,0x68])](()=>{_0x369a5b(_0x389833([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5ace38=0x47946b86^_0x18e0ed;function _0x2e16db(){const _0x2b885b=_0x389833([0x6c,0x6c,0x63,0x74,0x2d])+_0x24def6(_0x11b3c3(_0x37b88e)),_0x2e6437=_0x41f692(_0x24def6(window[_0x389833([0x4d,0x61,0x74,0x68])][_0x389833([0x63,0x65,0x69,0x6c])](_0x2827fb/_0x5ace38)));window[_0x389833([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x389833([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b885b,_0x2e6437);}function _0x55bd4f(){const _0x507936=_0x389833([0x6c,0x6c,0x63,0x74,0x2d])+_0x24def6(_0x11b3c3(_0x37b88e)),_0x22ccab=window[_0x389833([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x389833([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x507936);return _0x22ccab?window[_0x389833([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41f692(_0x22ccab),0x10)*_0x5ace38:null;}function _0xf49348(_0x22f0b7){return new window[(_0x389833([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3bb8ce,_0x4136be)=>{_0x22f0b7[_0x389833([0x74,0x68,0x65,0x6e])](_0x3bb8ce,_0x4136be),window[_0x389833([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4136be,0x47a351c6^_0x18e0ed);});}}_0x1e7697[_0x389833([0x6f,0x6e])](_0x389833([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x218f33,_0x61ff41)=>{if(_0x61ff41[0x0]!=_0x37b88e)return _0x369a5b(_0x389833([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x61ff41[0x1]={..._0x61ff41[0x1],[_0x389833([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x275da4};},{[_0x389833([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x389833([0x68,0x69,0x67,0x68])}),_0x1e7697[_0x389833([0x6f,0x6e])](_0x389833([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5ec649=>{_0x5cb0c1(_0x5ec649[_0x389833([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1a80ea=!0x0,_0x6c5be(_0x5ec649[_0x389833([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x389833([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x389833([0x6c,0x6f,0x77])}),_0x3dbbb4[_0x389833([0x74,0x68,0x65,0x6e])](()=>{_0x1a80ea||_0x369a5b(_0x389833([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4b7c90(){return _0x1e7697[_0x389833([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x389833([0x76,0x69,0x65,0x77])][_0x389833([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x389833([0x61,0x75,0x74,0x6f]);}function _0x4fea90(){_0x1e7697[_0x389833([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x389833([0x76,0x69,0x65,0x77])][_0x389833([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x389833([0x61,0x75,0x74,0x6f]);}}function _0x2da700(_0x4c4a77){const _0x5df9c7=[new window[(_0x389833([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37d058=>setTimeout(_0x37d058,0x47abbbca^_0x18e0ed)),_0x3dbbb4[_0x389833([0x74,0x68,0x65,0x6e])](()=>new window[(_0x389833([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x122361=>{let _0x34b1f1=0x0;_0x1e7697[_0x389833([0x6d,0x6f,0x64,0x65,0x6c])][_0x389833([0x6f,0x6e])](_0x389833([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c9c95,_0x4b9e67)=>{_0x4b9e67[0x0][_0x389833([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34b1f1++,_0x34b1f1==(0x47a284fe^_0x18e0ed)&&(_0x122361(),_0x3c9c95[_0x389833([0x6f,0x66,0x66])]());});}))];return window[_0x389833([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x389833([0x72,0x61,0x63,0x65])](_0x5df9c7)[_0x389833([0x74,0x68,0x65,0x6e])](()=>_0x4c4a77);}async function _0x5afebb(){await _0x3dbbb4,_0x1e7697[_0x389833([0x6d,0x6f,0x64,0x65,0x6c])][_0x389833([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5269da,_0x1e7697[_0x389833([0x6d,0x6f,0x64,0x65,0x6c])][_0x389833([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5269da,_0x1e7697[_0x389833([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x389833([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4851ae(_0x5b9533){const _0x2934aa=_0x464e29();_0x1e7697[_0x2934aa]=_0x389833([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b9533,_0x5b9533!=_0x389833([0x56,0x61,0x6c,0x69,0x64])&&_0x5afebb();}function _0x464e29(){const _0x19ab34=window[_0x389833([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x389833([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x389833([0x6e,0x6f,0x77])]())[_0x389833([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x389833([0x2e]),'');let _0x1fc11a=_0x389833([0x75]);for(let _0x1a7697=0x0;_0x1a7697<_0x19ab34[_0x389833([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a7697+=0x2){let _0x292464=window[_0x389833([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x19ab34[_0x389833([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a7697,_0x1a7697+0x2));_0x292464>=_0x10ebf9[_0x389833([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x292464-=_0x10ebf9[_0x389833([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1fc11a+=_0x10ebf9[_0x292464];}return _0x1fc11a;}function _0x3e25f8(){const _0x476285=_0x192725[_0x389833([0x73,0x70,0x6c,0x69,0x74])](_0x389833([0x2e]));if(0x3!=_0x476285[_0x389833([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4f8cc4(_0x476285[0x1]);function _0x4f8cc4(_0x3089e9){const _0x228df5=_0x3d1122(_0x3089e9);return _0x228df5&&_0xb52f88()?_0x228df5:null;function _0xb52f88(){const _0xabe053=_0x228df5[_0x389833([0x6a,0x74,0x69])],_0x55f859=window[_0x389833([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xabe053[_0x389833([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xabe053[_0x389833([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38b81c={..._0x228df5,[_0x389833([0x6a,0x74,0x69])]:_0xabe053[_0x389833([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xabe053[_0x389833([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38b81c[_0x389833([0x76,0x63])],_0x11b3c3(_0x38b81c)==_0x55f859;}}}async function _0x1d8432(){let _0x1f3c66=!0x0;try{const _0x4cc4a8=_0x192725[_0x389833([0x73,0x70,0x6c,0x69,0x74])](_0x389833([0x2e])),[_0x3457eb,_0x1923ca,_0xa3b24a]=_0x4cc4a8;return _0x77e204(_0x3457eb),await _0x110928(_0x3457eb,_0x1923ca,_0xa3b24a),_0x1f3c66;}catch{return!0x1;}function _0x77e204(_0x2b47cc){const _0x45d587=_0x3d1122(_0x2b47cc);_0x45d587&&_0x45d587[_0x389833([0x61,0x6c,0x67])]==_0x389833([0x45,0x53,0x32,0x35,0x36])||(_0x1f3c66=!0x1);}async function _0x110928(_0x282d58,_0x567845,_0x4ffb98){const _0x539851=window[_0x389833([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x389833([0x66,0x72,0x6f,0x6d])](_0x14daef(_0x4ffb98),_0x31d60f=>_0x31d60f[_0x389833([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4189b2=new window[(_0x389833([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x389833([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x282d58+_0x389833([0x2e])+_0x567845),_0x457fb1=window[_0x389833([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x389833([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x457fb1)return;const _0x3ca86e=await _0x457fb1[_0x389833([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x389833([0x6a,0x77,0x6b]),_0x17018c,{[_0x389833([0x6e,0x61,0x6d,0x65])]:_0x389833([0x45,0x43,0x44,0x53,0x41]),[_0x389833([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x389833([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x389833([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x457fb1[_0x389833([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x389833([0x6e,0x61,0x6d,0x65])]:_0x389833([0x45,0x43,0x44,0x53,0x41]),[_0x389833([0x68,0x61,0x73,0x68])]:{[_0x389833([0x6e,0x61,0x6d,0x65])]:_0x389833([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3ca86e,_0x539851,_0x4189b2)||(_0x1f3c66=!0x1);}}function _0x3d1122(_0x31d5c2){return _0x31d5c2[_0x389833([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x389833([0x65,0x79]))?JSON[_0x389833([0x70,0x61,0x72,0x73,0x65])](_0x14daef(_0x31d5c2)):null;}function _0x14daef(_0x3c9686){return window[_0x389833([0x61,0x74,0x6f,0x62])](_0x3c9686[_0x389833([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x389833([0x2b]))[_0x389833([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x389833([0x2f])));}function _0x11b3c3(_0x2534e1){let _0x52f18d=0x1505;function _0x282156(_0x1e3de0){for(let _0x1d3019=0x0;_0x1d3019<_0x1e3de0[_0x389833([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d3019++){const _0x2a5a5b=_0x1e3de0[_0x389833([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1d3019);_0x52f18d=(_0x52f18d<<0x5)+_0x52f18d+_0x2a5a5b,_0x52f18d&=_0x52f18d;}}function _0x5c222e(_0x2b38d1){Array[_0x389833([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2b38d1)?_0x2b38d1[_0x389833([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c222e):_0x2b38d1&&typeof _0x2b38d1==_0x389833([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x389833([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2b38d1)[_0x389833([0x73,0x6f,0x72,0x74])]()[_0x389833([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5d440d,_0x50b17b])=>{_0x282156(_0x5d440d),_0x5c222e(_0x50b17b);}):_0x282156(window[_0x389833([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2b38d1));}return _0x5c222e(_0x2534e1),_0x52f18d>>>0x0;}function _0x24def6(_0x48ddee){return _0x48ddee[_0x389833([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x389833([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x389833([0x30]));}function _0x41f692(_0x4e7c93){return _0x4e7c93[_0x389833([0x73,0x70,0x6c,0x69,0x74])]('')[_0x389833([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x389833([0x6a,0x6f,0x69,0x6e])]('');}function _0x5269da(){}function _0x389833(_0x177a6a){return _0x177a6a['map'](_0x31f93d=>String['fromCharCode'](_0x31f93d))['join']('');}_0x4851ae(await _0x559b50());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5cd077){const {plugins:_0x55b928,editing:_0x52407f,model:_0xa7af51}=this['editor'],_0x396d32=_0x55b928['get'](_0x42d64a)['getFootnote'](_0x5cd077);return!!_0x396d32&&(_0xa7af51['change'](_0x2364df=>{_0x2364df['setSelection'](_0x2364df['createPositionAt'](_0x396d32['definition'],'end'));}),_0x52407f['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1c83bb){const {plugins:_0x5affdb,editing:_0x46a88b,model:_0x50235b}=this['editor'],_0x192070=_0x5affdb['get'](_0x42d64a)['getFootnote'](_0x1c83bb);return!!_0x192070&&(_0x50235b['change'](_0x18b6ba=>{_0x18b6ba['setSelection'](_0x192070['reference'],'on');}),_0x46a88b['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x47d564}=this['editor']['model'],_0x5a7b90=this['editor']['config']['get']('footnotes.multiBlock');_0x47d564['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x47d564['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x47d564['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5a7b90?_0x47d564['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x47d564['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x47d564['addChildCheck'](_0x48bd0f=>{for(const _0x275df6 of _0x48bd0f)if('footnoteDefinition'===_0x275df6['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x23c043}=this,{conversion:_0x4aac3f,editing:_0x5a400c}=_0x23c043,{t:t}=_0x23c043['locale'];_0x4aac3f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x37935e,{writer:_0x4d9e95,consumable:_0xd5d962})=>{const _0x12a32f=_0x37935e['getChild'](0x0);if(!_0x12a32f||!_0x12a32f['is']('element','a'))return null;const _0x451f58=_0x12a32f['getAttribute']('href')||'';if(!_0x451f58['startsWith']('#'))return null;const _0xc67cfa=_0x451f58['replace'](/^#/,'');if(!_0xc67cfa)return null;_0xd5d962['consume'](_0x12a32f,{'name':!0x0,'attributes':['href']});for(const {item:_0x3bb418}of _0x5a400c['view']['createRangeIn'](_0x12a32f))_0x3bb418['is']('$textProxy')?_0xd5d962['consume'](_0x3bb418['textNode'],{'name':!0x0}):_0x3bb418['is']('element')&&_0xd5d962['consume'](_0x3bb418,{'name':!0x0});return _0x4d9e95['createElement']('footnoteRef',{'footnoteId':_0xc67cfa});}}),_0x4aac3f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x37bdc9,{writer:_0x3d2ed5})=>D(_0x37bdc9,_0x3d2ed5)}),_0x4aac3f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3284ec,{writer:_0x477c46})=>{const _0x297471=_0x3284ec['getAttribute']('footnoteCounter');return _0x5ca5e4(D(_0x3284ec,_0x477c46),_0x477c46,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x297471)});}});}['_defineDefinitionsConverters'](){const {editor:_0x571654}=this,{t:t}=_0x571654['locale'],{conversion:_0x1d4f36}=_0x571654;_0x1d4f36['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1d4f36['for']('upcast')['add'](_0x21cea5=>{_0x21cea5['on']('element:ol',(_0x2250a4,_0x4dc4f1,_0x3b7805)=>{const _0x3f6c8e=_0x4dc4f1['viewItem'];if(!_0x3f6c8e['hasClass']('footnotes-list')||!_0x4dc4f1['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3b7805['consumable']['consume'](_0x3f6c8e,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x36a311,modelCursor:_0xf2f5e6}=_0x3b7805['convertChildren'](_0x4dc4f1['viewItem'],_0x4dc4f1['modelCursor']);_0x4dc4f1['modelRange']=_0x36a311,_0x4dc4f1['modelCursor']=_0xf2f5e6;}),_0x21cea5['on']('element:hr',(_0x1151d0,_0x417eab,_0x5f2277)=>{const _0x4b07a0=_0x417eab['viewItem'];_0x4b07a0['hasClass']('footnotes-divider')&&_0x417eab['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5f2277['consumable']['consume'](_0x4b07a0,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1d4f36['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2d8cfa,{writer:_0x378de0})=>g(_0x378de0)}),_0x1d4f36['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x516785,{writer:_0x480d2a})=>{const _0x52e08d=g(_0x480d2a,{'data-footnotes-list-label':t('Footnotes')}),_0x6071af=_0x5ca5e4(_0x52e08d,_0x480d2a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x480d2a['setCustomProperty']('footnotesDefinitions',!0x0,_0x6071af),_0x6071af;}});}['_defineDefinitionConverters'](){const {editor:_0x965780}=this,{conversion:_0x1be541,locale:_0x3238a3}=_0x965780,_0x3c69cc=_0x965780['config']['get']('footnotes.multiBlock');_0x1be541['for']('upcast')['add'](_0x4f1bdf=>{_0x4f1bdf['on']('element:li',(_0x2ea0a5,_0x44ec41,_0x13783b)=>{const _0x9d808d=_0x44ec41['viewItem'];if(!_0x9d808d['hasClass']('footnote-definition')||!_0x9d808d['getAttribute']('id'))return;const _0x29f543=_0x9d808d['parent'];if(!_0x29f543['is']('element','ol')||!_0x29f543['hasClass']('footnotes-list'))return;if(!_0x13783b['consumable']['test'](_0x9d808d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x34f7ed=_0x13783b['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x9d808d['getAttribute']('id')});if(!_0x13783b['safeInsert'](_0x34f7ed,_0x44ec41['modelCursor']))return;_0x13783b['consumable']['consume'](_0x9d808d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x17a670=Array['from'](_0x9d808d['getChildren']())['find'](_0x49536c=>_0x49536c['is']('element')&&_0x49536c['hasClass']('footnote-content'));for(const _0x2e7ed5 of _0x9d808d['getChildren']())_0x2e7ed5['is']('element')&&(_0x13783b['consumable']['consume'](_0x2e7ed5,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x13783b['consumable']['consume'](_0x2e7ed5,{'name':!0x0,'classes':'footnote-content'}));if(_0x17a670){if(_0x3c69cc)_0x13783b['convertChildren'](_0x17a670,_0x34f7ed);else{const _0x15b2ef=_0x13783b['writer']['createElement']('footnoteInlineContent');_0x13783b['writer']['insert'](_0x15b2ef,_0x34f7ed),_0x13783b['convertChildren'](_0x17a670,_0x15b2ef);}}_0x13783b['updateConversionResult'](_0x34f7ed,_0x44ec41);});}),_0x1be541['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x57b68f,{writer:_0x56012f})=>v(_0x57b68f,_0x56012f,_0x3238a3,{'dataPipeline':!0x0})}),_0x1be541['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x310cb4,{writer:_0x38f30f})=>v(_0x310cb4,_0x38f30f,_0x3238a3)});}['_defineBogusParagraphConverters'](){const {editor:_0x5bfee8}=this,{conversion:_0x1247e9}=_0x5bfee8;_0x5bfee8['config']['get']('footnotes.multiBlock')?(_0x1247e9['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x1247e9['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5bfee8['model']['document'],'change:data',()=>{!function(_0x5c14a0,_0x35c0f7){const _0x340bde=_0x5c14a0['document']['differ'],_0x5645a9=new Set();for(const _0x1fbaf5 of _0x340bde['getChanges']()){const _0x52f1a5='attribute'==_0x1fbaf5['type']?_0x1fbaf5['range']['start']['parent']:_0x1fbaf5['position']['parent'];_0x52f1a5['is']('element','footnoteDefinition')&&_0x5645a9['add'](_0x52f1a5);}for(const _0x273782 of _0x5645a9['values']()){const _0x2f6d4b=Array['from'](_0x273782['getChildren']())['filter'](_0x4f700c=>p(_0x4f700c,_0x35c0f7['mapper']));for(const _0x2d9820 of _0x2f6d4b)_0x35c0f7['reconvertItem'](_0x2d9820);}}(_0x5bfee8['model'],_0x5bfee8['editing']);})):(_0x1247e9['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x1247e9['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x207be0,{writer:_0x136f62})=>{const _0x167c01=_0x136f62['createContainerElement']('span');return _0x136f62['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x167c01),_0x167c01;}}));}['_defineKeyboardHandlers'](){const {editor:_0x43f87a}=this,{editing:_0x38ea28,t:t}=_0x43f87a,_0x12345f=_0x43f87a['model']['document']['selection'];_0x43f87a['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x43f87a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x38ea28['view']['document'],'enter',(_0x48732a,_0x5ad9e8)=>{const _0x2e726d=function(_0x545ae8){const _0x4a0ea4=_0x545ae8['getSelectedElement']();if(_0x4a0ea4?.['is']('element','footnoteRef'))return _0x4a0ea4;return null;}(_0x12345f);if(_0x2e726d){const _0x5882e6=_0x2e726d['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5882e6),_0x5ad9e8['preventDefault'](),_0x48732a['stop']();}},{'context':_0xc7766d});}['_defineClickHandlers'](){const {editor:_0x45f3b8}=this,{editing:_0x3716f3}=_0x45f3b8;_0x45f3b8['editing']['view']['addObserver'](_0x1331f7),_0x45f3b8['editing']['view']['addObserver'](_0x1e09de);let _0x1ae95f=!0x1;this['listenTo'](_0x3716f3['view']['document'],'pointerdown',(_0x111467,_0x543dca)=>{const {target:_0x5ed8de}=_0x543dca,_0xca0b5e=_0x3716f3['view']['document']['selection'];_0x1ae95f=!!(_0x5ed8de['is']('element','a')&&_0x5ed8de['parent']?.['is']('element','sup')&&_0x5ed8de['parent']['hasClass']('footnote'))&&_0xca0b5e['getSelectedElement']()===_0x5ed8de['parent'];},{'priority':'high'}),this['listenTo'](_0x3716f3['view']['document'],'click',(_0x52eb98,_0x88a4e5)=>{const {target:_0x11a687}=_0x88a4e5;if(!_0x11a687['is']('element','a'))return;if(_0x11a687['parent']?.['is']('element','sup')&&_0x11a687['parent']['hasClass']('footnote')&&!_0x1ae95f)return void _0x88a4e5['preventDefault']();let _0x2d2e6e=_0x11a687['getAttribute']('href');if(!_0x2d2e6e?.['startsWith']('#'))return;_0x2d2e6e=_0x2d2e6e['slice'](0x1);let _0x2c3662=!0x1;(_0x2d2e6e['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2d2e6e['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2d2e6e))&&(_0x2c3662=!0x0),_0x2c3662&&(_0x88a4e5['preventDefault'](),_0x52eb98['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0xaf0e7b}={}){return(_0x2b67a0,{writer:_0x2b91ce})=>{if(!h(_0x2b67a0))return null;if(!_0xaf0e7b)return _0x2b91ce['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4547bd=_0x2b91ce['createContainerElement']('p');return _0x2b91ce['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4547bd),_0x4547bd;};}function h(_0x77db1d){const {parent:_0x3d28e2}=_0x77db1d;if(!_0x3d28e2?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3d28e2['childCount'])return!0x1;for(const _0x583949 of _0x77db1d['getAttributeKeys']())if(!_0x583949['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x583949)return!0x1;return!0x0;}function p(_0x2bb19d,_0x4f0692){if(!_0x2bb19d['is']('element','paragraph'))return!0x1;const _0x5a7d83=_0x4f0692['toViewElement'](_0x2bb19d);return!!_0x5a7d83&&h(_0x2bb19d)!==_0x5a7d83['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x4e0bfa){return _0xc7766d(_0x4e0bfa)&&_0x4e0bfa['is']('containerElement')&&!!_0x4e0bfa['getCustomProperty']('footnotesDefinitions');}function g(_0x4f0d5c,_0x242efb={}){const _0x4df2bf=_0x4f0d5c['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x20ed2c=_0x4f0d5c['createContainerElement']('ol',{'class':'footnotes-list'},_0x4f0d5c['createSlot']());return _0x4f0d5c['createContainerElement']('div',{'class':'footnotes',..._0x242efb},[_0x4df2bf,_0x20ed2c]);}function D(_0x585f83,_0x2e6f3e){const _0x5a1637=_0x585f83['getAttribute']('footnoteId'),_0x56b847=_0x585f83['getAttribute']('footnoteCounter'),_0x367d04=_0x2e6f3e['createUIElement']('a',{'href':'#'+_0x5a1637},function(_0x10f11b){const _0x1d7520=this['toDomElement'](_0x10f11b);return _0x1d7520['textContent']=_0x56b847,_0x1d7520;}),_0x6060d=_0x2e6f3e['createContainerElement']('sup',{'id':'ref-'+_0x5a1637,'class':'footnote'},[_0x367d04]);return _0x6060d['getFillerOffset']=()=>null,_0x6060d;}function v(_0x53d7ae,_0x7d0c2b,_0x3a8bea,{dataPipeline:_0xac2a75}={}){const {t:t}=_0x3a8bea,_0x41d556=_0x53d7ae['getAttribute']('footnoteId'),_0x1a7d3c=_0x7d0c2b['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x41d556},function(_0x210f9c){const _0x334384=this['toDomElement'](_0x210f9c);return _0x334384['innerText']='^',_0x334384;}),_0x5e8325=_0xac2a75?_0x7d0c2b['createContainerElement']('div',{'class':'footnote-content'}):_0x4477f0(_0x7d0c2b['createEditableElement']('div',{'class':'footnote-content'}),_0x7d0c2b,{'label':t('Footnote\x20content.')});return _0x7d0c2b['insert'](_0x7d0c2b['createPositionAt'](_0x5e8325,0x0),_0x7d0c2b['createSlot']()),_0x7d0c2b['createContainerElement']('li',{'class':'footnote-definition','id':_0x41d556},[_0x1a7d3c,_0x5e8325]);}
23
+ import{Plugin as _0xd8fe3d}from'ckeditor5/src/core.js';import{isWidget as _0x1ff360,toWidget as _0x57dd10,toWidgetEditable as _0x577c2d}from'ckeditor5/src/widget.js';import{uid as _0x558bd0}from'ckeditor5/src/utils.js';import{PointerObserver as _0x145a9f,ClickObserver as _0x55933d}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x55fa84}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x1b1194}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0xd8fe3d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x55fa84];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xa906cb}=this;_0xa906cb['config']['define']('footnotes.multiBlock',!0x0),_0xa906cb['commands']['add']('insertFootnote',new _0x1b1194(_0xa906cb)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x35985c){const _0x1ca078=_0x4e9fc3([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]),_0x1f9f05=0x47a28506,_0x2c19ea=0x47a5f296^_0x1f9f05,_0x347673=window[_0x4e9fc3([0x44,0x61,0x74,0x65])][_0x4e9fc3([0x6e,0x6f,0x77])](),_0x524aa3=_0x35985c[_0x4e9fc3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x22a3e8=new window[(_0x4e9fc3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x423670=>{_0x524aa3[_0x4e9fc3([0x6f,0x6e,0x63,0x65])](_0x4e9fc3([0x72,0x65,0x61,0x64,0x79]),_0x423670);}),_0xbb204={[_0x4e9fc3([0x6b,0x74,0x79])]:_0x4e9fc3([0x45,0x43]),[_0x4e9fc3([0x75,0x73,0x65])]:_0x4e9fc3([0x73,0x69,0x67]),[_0x4e9fc3([0x63,0x72,0x76])]:_0x4e9fc3([0x50,0x2d,0x32,0x35,0x36]),[_0x4e9fc3([0x78])]:_0x4e9fc3([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]),[_0x4e9fc3([0x79])]:_0x4e9fc3([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]),[_0x4e9fc3([0x61,0x6c,0x67])]:_0x4e9fc3([0x45,0x53,0x32,0x35,0x36])},_0x28ac54=_0x524aa3[_0x4e9fc3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4e9fc3([0x67,0x65,0x74])](_0x4e9fc3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x13947d(){let _0x1f1ccb,_0x3043a6=null,_0x59e66b=null;try{if(_0x28ac54==_0x4e9fc3([0x47,0x50,0x4c]))return _0x4e9fc3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1f1ccb=_0x305c80(),!_0x1f1ccb)return _0x4e9fc3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1f1ccb[_0x4e9fc3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59e66b=_0x428198(_0x1f1ccb[_0x4e9fc3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1f1ccb[_0x4e9fc3([0x6a,0x74,0x69])])),await _0x29e93d()?_0x572316()?_0x53ee6f()?_0x4e9fc3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1aabe3()?(_0x1f1ccb[_0x4e9fc3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e9fc3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3043a6=_0x486125(_0x4e9fc3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1f1ccb[_0x4e9fc3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4e9fc3([0x74,0x72,0x69,0x61,0x6c])&&(_0x3043a6=_0x486125(_0x4e9fc3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4c9baa()):_0x4e9fc3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4e9fc3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4e9fc3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4e9fc3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x53ee6f(){const _0x573d4c=[_0x4e9fc3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4e9fc3([0x74,0x72,0x69,0x61,0x6c])][_0x4e9fc3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f1ccb[_0x4e9fc3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x347673/0x3e8:0xe10*_0x2c19ea;return _0x1f1ccb[_0x4e9fc3([0x65,0x78,0x70])]<_0x573d4c;}function _0x572316(){const _0x46ee75=_0x1f1ccb[_0x4e9fc3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x46ee75&&(!!_0x46ee75[_0x4e9fc3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e9fc3([0x2a]))||!!_0x46ee75[_0x4e9fc3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e9fc3([0x46,0x4f,0x4f])));}function _0x1aabe3(){const _0x29b079=_0x1f1ccb[_0x4e9fc3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x29b079||0x0==_0x29b079[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3c3b82}=new URL(window[_0x4e9fc3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x29b079[_0x4e9fc3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3c3b82))return!0x0;const _0x539889=_0x3c3b82[_0x4e9fc3([0x73,0x70,0x6c,0x69,0x74])](_0x4e9fc3([0x2e]));return _0x29b079[_0x4e9fc3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x272d1f=>_0x272d1f[_0x4e9fc3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4e9fc3([0x2a])))[_0x4e9fc3([0x6d,0x61,0x70])](_0x545155=>_0x545155[_0x4e9fc3([0x73,0x70,0x6c,0x69,0x74])](_0x4e9fc3([0x2e])))[_0x4e9fc3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ea200=>_0x2ea200[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x539889[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e9fc3([0x6d,0x61,0x70])](_0x15944f=>Array(_0x539889[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x15944f[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4e9fc3([0x66,0x69,0x6c,0x6c])](_0x15944f[0x0]===_0x4e9fc3([0x2a])?_0x4e9fc3([0x2a]):'')[_0x4e9fc3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x15944f))[_0x4e9fc3([0x73,0x6f,0x6d,0x65])](_0x59a524=>_0x539889[_0x4e9fc3([0x65,0x76,0x65,0x72,0x79])]((_0x2b1cc0,_0x102b78)=>_0x59a524[_0x102b78]===_0x2b1cc0||_0x59a524[_0x102b78]===_0x4e9fc3([0x2a])));}function _0x4c9baa(){return _0x3043a6&&_0x59e66b?new window[(_0x4e9fc3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x82d37c,_0x116984)=>{_0x3043a6[_0x4e9fc3([0x74,0x68,0x65,0x6e])](_0x82d37c,_0x116984),_0x59e66b[_0x4e9fc3([0x74,0x68,0x65,0x6e])](_0x42ac7b=>{_0x42ac7b!=_0x4e9fc3([0x56,0x61,0x6c,0x69,0x64])&&_0x82d37c(_0x42ac7b);},_0x116984);}):_0x3043a6||_0x59e66b||_0x4e9fc3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x428198(_0x3b7783,_0x5c98fe){return new window[(_0x4e9fc3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f332a=>{if(_0x380aba())return _0x2f332a(_0x4e9fc3([0x56,0x61,0x6c,0x69,0x64]));_0x57832b(),_0x524aa3[_0x4e9fc3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4e9fc3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x327818=!0x1;const _0x52f395=_0x558bd0();function _0x388a6c(_0x249863){return!!_0x249863&&(typeof _0x249863===_0x4e9fc3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x249863===_0x4e9fc3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x249863[_0x4e9fc3([0x74,0x68,0x65,0x6e])]===_0x4e9fc3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x249863[_0x4e9fc3([0x63,0x61,0x74,0x63,0x68])]===_0x4e9fc3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1f18ef(_0x1bb15f){_0x49241b(_0x1bb15f)[_0x4e9fc3([0x74,0x68,0x65,0x6e])](_0x26a9b2=>{if(!_0x26a9b2||_0x26a9b2[_0x4e9fc3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4e9fc3([0x6f,0x6b]))return _0x4e9fc3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5e84d8(_0x2ec424(_0x52f395+_0x5c98fe))!=_0x26a9b2[_0x4e9fc3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4e9fc3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4e9fc3([0x56,0x61,0x6c,0x69,0x64]);})[_0x4e9fc3([0x74,0x68,0x65,0x6e])](_0x2c2b75=>(_0x14432f(),_0x2c2b75),()=>{const _0x549288=_0xc3f1fa();return null==_0x549288?(_0x14432f(),_0x4e9fc3([0x56,0x61,0x6c,0x69,0x64])):_0x4e9fc3(_0x347673-_0x549288>(0x63ae0106^_0x1f9f05)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4e9fc3([0x74,0x68,0x65,0x6e])](_0x2f332a)[_0x4e9fc3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2f332a(_0x4e9fc3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x512ab2=0x47946b86^_0x1f9f05;function _0x14432f(){const _0xc91767=_0x4e9fc3([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e84d8(_0x2ec424(_0x3b7783)),_0x56ab5d=_0x391506(_0x5e84d8(window[_0x4e9fc3([0x4d,0x61,0x74,0x68])][_0x4e9fc3([0x63,0x65,0x69,0x6c])](_0x347673/_0x512ab2)));window[_0x4e9fc3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e9fc3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc91767,_0x56ab5d);}function _0xc3f1fa(){const _0x443a83=_0x4e9fc3([0x6c,0x6c,0x63,0x74,0x2d])+_0x5e84d8(_0x2ec424(_0x3b7783)),_0x4bbe06=window[_0x4e9fc3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4e9fc3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x443a83);return _0x4bbe06?window[_0x4e9fc3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x391506(_0x4bbe06),0x10)*_0x512ab2:null;}function _0x49241b(_0x28371c){return new window[(_0x4e9fc3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3f93a8,_0x354c5e)=>{_0x28371c[_0x4e9fc3([0x74,0x68,0x65,0x6e])](_0x3f93a8,_0x354c5e),window[_0x4e9fc3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x354c5e,0x47a351c6^_0x1f9f05);});}}_0x524aa3[_0x4e9fc3([0x6f,0x6e])](_0x4e9fc3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x28d4c,_0x40066e)=>{if(_0x40066e[0x0]!=_0x3b7783)return _0x2f332a(_0x4e9fc3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x40066e[0x1]={..._0x40066e[0x1],[_0x4e9fc3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x52f395};},{[_0x4e9fc3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e9fc3([0x68,0x69,0x67,0x68])}),_0x524aa3[_0x4e9fc3([0x6f,0x6e])](_0x4e9fc3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2cb740=>{_0x388a6c(_0x2cb740[_0x4e9fc3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x327818=!0x0,_0x1f18ef(_0x2cb740[_0x4e9fc3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4e9fc3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4e9fc3([0x6c,0x6f,0x77])}),_0x22a3e8[_0x4e9fc3([0x74,0x68,0x65,0x6e])](()=>{_0x327818||_0x2f332a(_0x4e9fc3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x380aba(){return _0x524aa3[_0x4e9fc3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e9fc3([0x76,0x69,0x65,0x77])][_0x4e9fc3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4e9fc3([0x61,0x75,0x74,0x6f]);}function _0x57832b(){_0x524aa3[_0x4e9fc3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4e9fc3([0x76,0x69,0x65,0x77])][_0x4e9fc3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4e9fc3([0x61,0x75,0x74,0x6f]);}}function _0x486125(_0x4cd67d){const _0x2960be=[new window[(_0x4e9fc3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20c535=>setTimeout(_0x20c535,0x47abbbca^_0x1f9f05)),_0x22a3e8[_0x4e9fc3([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4e9fc3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x314241=>{let _0x31bafe=0x0;_0x524aa3[_0x4e9fc3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e9fc3([0x6f,0x6e])](_0x4e9fc3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1c4302,_0x4f6af8)=>{_0x4f6af8[0x0][_0x4e9fc3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x31bafe++,_0x31bafe==(0x47a284fe^_0x1f9f05)&&(_0x314241(),_0x1c4302[_0x4e9fc3([0x6f,0x66,0x66])]());});}))];return window[_0x4e9fc3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4e9fc3([0x72,0x61,0x63,0x65])](_0x2960be)[_0x4e9fc3([0x74,0x68,0x65,0x6e])](()=>_0x4cd67d);}async function _0x2e9cf5(){await _0x22a3e8,_0x524aa3[_0x4e9fc3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e9fc3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x60b4ef,_0x524aa3[_0x4e9fc3([0x6d,0x6f,0x64,0x65,0x6c])][_0x4e9fc3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x60b4ef,_0x524aa3[_0x4e9fc3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4e9fc3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1b478b(_0x11cb13){const _0x1e1b9a=_0xa69aec();_0x524aa3[_0x1e1b9a]=_0x4e9fc3([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x11cb13,_0x11cb13!=_0x4e9fc3([0x56,0x61,0x6c,0x69,0x64])&&_0x2e9cf5();}function _0xa69aec(){const _0xfa08a8=window[_0x4e9fc3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4e9fc3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4e9fc3([0x6e,0x6f,0x77])]())[_0x4e9fc3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4e9fc3([0x2e]),'');let _0x308efe=_0x4e9fc3([0x75]);for(let _0x5332ca=0x0;_0x5332ca<_0xfa08a8[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5332ca+=0x2){let _0x356cbc=window[_0x4e9fc3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xfa08a8[_0x4e9fc3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5332ca,_0x5332ca+0x2));_0x356cbc>=_0x1ca078[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x356cbc-=_0x1ca078[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x308efe+=_0x1ca078[_0x356cbc];}return _0x308efe;}function _0x305c80(){const _0x5f1288=_0x28ac54[_0x4e9fc3([0x73,0x70,0x6c,0x69,0x74])](_0x4e9fc3([0x2e]));if(0x3!=_0x5f1288[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4edcc4(_0x5f1288[0x1]);function _0x4edcc4(_0x102d0a){const _0x363812=_0xb8f3d8(_0x102d0a);return _0x363812&&_0x129f12()?_0x363812:null;function _0x129f12(){const _0x3f57e0=_0x363812[_0x4e9fc3([0x6a,0x74,0x69])],_0x3c1ed2=window[_0x4e9fc3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f57e0[_0x4e9fc3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3f57e0[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x342c53={..._0x363812,[_0x4e9fc3([0x6a,0x74,0x69])]:_0x3f57e0[_0x4e9fc3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3f57e0[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x342c53[_0x4e9fc3([0x76,0x63])],_0x2ec424(_0x342c53)==_0x3c1ed2;}}}async function _0x29e93d(){let _0x1b707c=!0x0;try{const _0x3377e6=_0x28ac54[_0x4e9fc3([0x73,0x70,0x6c,0x69,0x74])](_0x4e9fc3([0x2e])),[_0x5d16df,_0x3f600a,_0x22bae2]=_0x3377e6;return _0x49cf31(_0x5d16df),await _0x3e1d7a(_0x5d16df,_0x3f600a,_0x22bae2),_0x1b707c;}catch{return!0x1;}function _0x49cf31(_0x3a6b5b){const _0x15b1b5=_0xb8f3d8(_0x3a6b5b);_0x15b1b5&&_0x15b1b5[_0x4e9fc3([0x61,0x6c,0x67])]==_0x4e9fc3([0x45,0x53,0x32,0x35,0x36])||(_0x1b707c=!0x1);}async function _0x3e1d7a(_0x8fe207,_0x14ab37,_0x4c1533){const _0x298f74=window[_0x4e9fc3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4e9fc3([0x66,0x72,0x6f,0x6d])](_0x3bc43a(_0x4c1533),_0x380df3=>_0x380df3[_0x4e9fc3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39980e=new window[(_0x4e9fc3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4e9fc3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8fe207+_0x4e9fc3([0x2e])+_0x14ab37),_0x3e3f0a=window[_0x4e9fc3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4e9fc3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3e3f0a)return;const _0x4a00c6=await _0x3e3f0a[_0x4e9fc3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4e9fc3([0x6a,0x77,0x6b]),_0xbb204,{[_0x4e9fc3([0x6e,0x61,0x6d,0x65])]:_0x4e9fc3([0x45,0x43,0x44,0x53,0x41]),[_0x4e9fc3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4e9fc3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4e9fc3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3e3f0a[_0x4e9fc3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4e9fc3([0x6e,0x61,0x6d,0x65])]:_0x4e9fc3([0x45,0x43,0x44,0x53,0x41]),[_0x4e9fc3([0x68,0x61,0x73,0x68])]:{[_0x4e9fc3([0x6e,0x61,0x6d,0x65])]:_0x4e9fc3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a00c6,_0x298f74,_0x39980e)||(_0x1b707c=!0x1);}}function _0xb8f3d8(_0x241d4c){return _0x241d4c[_0x4e9fc3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4e9fc3([0x65,0x79]))?JSON[_0x4e9fc3([0x70,0x61,0x72,0x73,0x65])](_0x3bc43a(_0x241d4c)):null;}function _0x3bc43a(_0x28d3ab){return window[_0x4e9fc3([0x61,0x74,0x6f,0x62])](_0x28d3ab[_0x4e9fc3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4e9fc3([0x2b]))[_0x4e9fc3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4e9fc3([0x2f])));}function _0x2ec424(_0x541c17){let _0x25a299=0x1505;function _0x10dd42(_0x10920d){for(let _0x2271e0=0x0;_0x2271e0<_0x10920d[_0x4e9fc3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2271e0++){const _0x136e61=_0x10920d[_0x4e9fc3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2271e0);_0x25a299=(_0x25a299<<0x5)+_0x25a299+_0x136e61,_0x25a299&=_0x25a299;}}function _0x4ae8bc(_0x3c45ee){Array[_0x4e9fc3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c45ee)?_0x3c45ee[_0x4e9fc3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ae8bc):_0x3c45ee&&typeof _0x3c45ee==_0x4e9fc3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4e9fc3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c45ee)[_0x4e9fc3([0x73,0x6f,0x72,0x74])]()[_0x4e9fc3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3681f4,_0x574544])=>{_0x10dd42(_0x3681f4),_0x4ae8bc(_0x574544);}):_0x10dd42(window[_0x4e9fc3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c45ee));}return _0x4ae8bc(_0x541c17),_0x25a299>>>0x0;}function _0x5e84d8(_0x2ad360){return _0x2ad360[_0x4e9fc3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4e9fc3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4e9fc3([0x30]));}function _0x391506(_0x5172a9){return _0x5172a9[_0x4e9fc3([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4e9fc3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4e9fc3([0x6a,0x6f,0x69,0x6e])]('');}function _0x60b4ef(){}function _0x4e9fc3(_0xccfc1e){return _0xccfc1e['map'](_0x1f8e4f=>String['fromCharCode'](_0x1f8e4f))['join']('');}_0x1b478b(await _0x13947d());}(this);}['_moveSelectionToFootnoteDefinition'](_0x24bc4f){const {plugins:_0x4a8257,editing:_0x4edc29,model:_0x484e85}=this['editor'],_0x5a02fa=_0x4a8257['get'](_0x55fa84)['getFootnote'](_0x24bc4f);return!!_0x5a02fa&&(_0x484e85['change'](_0x2edf80=>{_0x2edf80['setSelection'](_0x2edf80['createPositionAt'](_0x5a02fa['definition'],'end'));}),_0x4edc29['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x38c384){const {plugins:_0x42f259,editing:_0x1ab62c,model:_0x20a456}=this['editor'],_0x2e2ee4=_0x42f259['get'](_0x55fa84)['getFootnote'](_0x38c384);return!!_0x2e2ee4&&(_0x20a456['change'](_0x57062a=>{_0x57062a['setSelection'](_0x2e2ee4['reference'],'on');}),_0x1ab62c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x20faea}=this['editor']['model'],_0x4ca024=this['editor']['config']['get']('footnotes.multiBlock');_0x20faea['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x20faea['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x20faea['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4ca024?_0x20faea['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x20faea['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x20faea['addChildCheck'](_0x5e858b=>{for(const _0xd0e881 of _0x5e858b)if('footnoteDefinition'===_0xd0e881['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x36907e}=this,{conversion:_0x2fa2fe,editing:_0x599918}=_0x36907e,{t:t}=_0x36907e['locale'];_0x2fa2fe['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5ce4e0,{writer:_0x4754a4,consumable:_0x4287cf})=>{const _0x43963c=_0x5ce4e0['getChild'](0x0);if(!_0x43963c||!_0x43963c['is']('element','a'))return null;const _0x2c88e6=_0x43963c['getAttribute']('href')||'';if(!_0x2c88e6['startsWith']('#'))return null;const _0x3916b0=_0x2c88e6['replace'](/^#/,'');if(!_0x3916b0)return null;_0x4287cf['consume'](_0x43963c,{'name':!0x0,'attributes':['href']});for(const {item:_0x2526a0}of _0x599918['view']['createRangeIn'](_0x43963c))_0x2526a0['is']('$textProxy')?_0x4287cf['consume'](_0x2526a0['textNode'],{'name':!0x0}):_0x2526a0['is']('element')&&_0x4287cf['consume'](_0x2526a0,{'name':!0x0});return _0x4754a4['createElement']('footnoteRef',{'footnoteId':_0x3916b0});}}),_0x2fa2fe['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2c18ac,{writer:_0x9a992a})=>D(_0x2c18ac,_0x9a992a)}),_0x2fa2fe['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x211d76,{writer:_0x2610c8})=>{const _0x5055d6=_0x211d76['getAttribute']('footnoteCounter');return _0x57dd10(D(_0x211d76,_0x2610c8),_0x2610c8,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5055d6)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3572dd}=this,{t:t}=_0x3572dd['locale'],{conversion:_0x204147}=_0x3572dd;_0x204147['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x204147['for']('upcast')['add'](_0x4e9b3f=>{_0x4e9b3f['on']('element:ol',(_0x301322,_0x1d8678,_0x38d872)=>{const _0x25121a=_0x1d8678['viewItem'];if(!_0x25121a['hasClass']('footnotes-list')||!_0x1d8678['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x38d872['consumable']['consume'](_0x25121a,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x14ba17,modelCursor:_0x5a195d}=_0x38d872['convertChildren'](_0x1d8678['viewItem'],_0x1d8678['modelCursor']);_0x1d8678['modelRange']=_0x14ba17,_0x1d8678['modelCursor']=_0x5a195d;}),_0x4e9b3f['on']('element:hr',(_0x5d5413,_0xd45df4,_0x4fc820)=>{const _0x779563=_0xd45df4['viewItem'];_0x779563['hasClass']('footnotes-divider')&&_0xd45df4['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4fc820['consumable']['consume'](_0x779563,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x204147['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3846d0,{writer:_0x274ac8})=>g(_0x274ac8)}),_0x204147['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x537e4a,{writer:_0x5e786e})=>{const _0x59ae36=g(_0x5e786e,{'data-footnotes-list-label':t('Footnotes')}),_0x13ae6c=_0x57dd10(_0x59ae36,_0x5e786e,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5e786e['setCustomProperty']('footnotesDefinitions',!0x0,_0x13ae6c),_0x13ae6c;}});}['_defineDefinitionConverters'](){const {editor:_0x49b2ba}=this,{conversion:_0x3b684b,locale:_0x2fb789}=_0x49b2ba,_0x45c36f=_0x49b2ba['config']['get']('footnotes.multiBlock');_0x3b684b['for']('upcast')['add'](_0x3917f2=>{_0x3917f2['on']('element:li',(_0x20e409,_0x2e5af6,_0x158ed0)=>{const _0x506906=_0x2e5af6['viewItem'];if(!_0x506906['hasClass']('footnote-definition')||!_0x506906['getAttribute']('id'))return;const _0x1f39f0=_0x506906['parent'];if(!_0x1f39f0['is']('element','ol')||!_0x1f39f0['hasClass']('footnotes-list'))return;if(!_0x158ed0['consumable']['test'](_0x506906,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x6ce5b8=_0x158ed0['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x506906['getAttribute']('id')});if(!_0x158ed0['safeInsert'](_0x6ce5b8,_0x2e5af6['modelCursor']))return;_0x158ed0['consumable']['consume'](_0x506906,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4a5b9f=Array['from'](_0x506906['getChildren']())['find'](_0x5a724d=>_0x5a724d['is']('element')&&_0x5a724d['hasClass']('footnote-content'));for(const _0x103c85 of _0x506906['getChildren']())_0x103c85['is']('element')&&(_0x158ed0['consumable']['consume'](_0x103c85,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x158ed0['consumable']['consume'](_0x103c85,{'name':!0x0,'classes':'footnote-content'}));if(_0x4a5b9f){if(_0x45c36f)_0x158ed0['convertChildren'](_0x4a5b9f,_0x6ce5b8);else{const _0x5b1ba7=_0x158ed0['writer']['createElement']('footnoteInlineContent');_0x158ed0['writer']['insert'](_0x5b1ba7,_0x6ce5b8),_0x158ed0['convertChildren'](_0x4a5b9f,_0x5b1ba7);}}_0x158ed0['updateConversionResult'](_0x6ce5b8,_0x2e5af6);});}),_0x3b684b['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3df0a2,{writer:_0x56bf8e})=>v(_0x3df0a2,_0x56bf8e,_0x2fb789,{'dataPipeline':!0x0})}),_0x3b684b['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x448961,{writer:_0xcb85e1})=>v(_0x448961,_0xcb85e1,_0x2fb789)});}['_defineBogusParagraphConverters'](){const {editor:_0x58e86f}=this,{conversion:_0x4364f3}=_0x58e86f;_0x58e86f['config']['get']('footnotes.multiBlock')?(_0x4364f3['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x4364f3['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x58e86f['model']['document'],'change:data',()=>{!function(_0x5d8447,_0x11bebe){const _0x330aa7=_0x5d8447['document']['differ'],_0x37036d=new Set();for(const _0x2c5f70 of _0x330aa7['getChanges']()){const _0x53a31f='attribute'==_0x2c5f70['type']?_0x2c5f70['range']['start']['parent']:_0x2c5f70['position']['parent'];_0x53a31f['is']('element','footnoteDefinition')&&_0x37036d['add'](_0x53a31f);}for(const _0x3fde82 of _0x37036d['values']()){const _0x501a15=Array['from'](_0x3fde82['getChildren']())['filter'](_0x5dfa30=>p(_0x5dfa30,_0x11bebe['mapper']));for(const _0x3d857d of _0x501a15)_0x11bebe['reconvertItem'](_0x3d857d);}}(_0x58e86f['model'],_0x58e86f['editing']);})):(_0x4364f3['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x4364f3['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2f151e,{writer:_0x43b10e})=>{const _0x10d86b=_0x43b10e['createContainerElement']('span');return _0x43b10e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x10d86b),_0x10d86b;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3705ba}=this,{editing:_0x5a8e7d,t:t}=_0x3705ba,_0x5f8532=_0x3705ba['model']['document']['selection'];_0x3705ba['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x3705ba['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x5a8e7d['view']['document'],'enter',(_0x4792ac,_0x522156)=>{const _0x87e8a5=function(_0x40cabc){const _0x55db04=_0x40cabc['getSelectedElement']();if(_0x55db04?.['is']('element','footnoteRef'))return _0x55db04;return null;}(_0x5f8532);if(_0x87e8a5){const _0x51fa86=_0x87e8a5['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x51fa86),_0x522156['preventDefault'](),_0x4792ac['stop']();}},{'context':_0x1ff360});}['_defineClickHandlers'](){const {editor:_0x5ce270}=this,{editing:_0x54ef19}=_0x5ce270;_0x5ce270['editing']['view']['addObserver'](_0x145a9f),_0x5ce270['editing']['view']['addObserver'](_0x55933d);let _0x1c8468=!0x1;this['listenTo'](_0x54ef19['view']['document'],'pointerdown',(_0x5ec171,_0x4dff27)=>{const {target:_0x33549c}=_0x4dff27,_0x5afa56=_0x54ef19['view']['document']['selection'];_0x1c8468=!!(_0x33549c['is']('element','a')&&_0x33549c['parent']?.['is']('element','sup')&&_0x33549c['parent']['hasClass']('footnote'))&&_0x5afa56['getSelectedElement']()===_0x33549c['parent'];},{'priority':'high'}),this['listenTo'](_0x54ef19['view']['document'],'click',(_0x5b6d0e,_0x18d5de)=>{const {target:_0x1d50f3}=_0x18d5de;if(!_0x1d50f3['is']('element','a'))return;if(_0x1d50f3['parent']?.['is']('element','sup')&&_0x1d50f3['parent']['hasClass']('footnote')&&!_0x1c8468)return void _0x18d5de['preventDefault']();let _0x1c4726=_0x1d50f3['getAttribute']('href');if(!_0x1c4726?.['startsWith']('#'))return;_0x1c4726=_0x1c4726['slice'](0x1);let _0x16ba40=!0x1;(_0x1c4726['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1c4726['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1c4726))&&(_0x16ba40=!0x0),_0x16ba40&&(_0x18d5de['preventDefault'](),_0x5b6d0e['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x582a69}={}){return(_0x49354d,{writer:_0x44b66b})=>{if(!h(_0x49354d))return null;if(!_0x582a69)return _0x44b66b['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x206133=_0x44b66b['createContainerElement']('p');return _0x44b66b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x206133),_0x206133;};}function h(_0x219aa4){const {parent:_0x8ac236}=_0x219aa4;if(!_0x8ac236?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x8ac236['childCount'])return!0x1;for(const _0x2609aa of _0x219aa4['getAttributeKeys']())if(!_0x2609aa['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2609aa)return!0x1;return!0x0;}function p(_0x2978d9,_0x308392){if(!_0x2978d9['is']('element','paragraph'))return!0x1;const _0x2b4027=_0x308392['toViewElement'](_0x2978d9);return!!_0x2b4027&&h(_0x2978d9)!==_0x2b4027['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x579eec){return _0x1ff360(_0x579eec)&&_0x579eec['is']('containerElement')&&!!_0x579eec['getCustomProperty']('footnotesDefinitions');}function g(_0x29a7ba,_0x4c9f4f={}){const _0x458b16=_0x29a7ba['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x454458=_0x29a7ba['createContainerElement']('ol',{'class':'footnotes-list'},_0x29a7ba['createSlot']());return _0x29a7ba['createContainerElement']('div',{'class':'footnotes',..._0x4c9f4f},[_0x458b16,_0x454458]);}function D(_0xe06194,_0x51ecee){const _0x3adb8e=_0xe06194['getAttribute']('footnoteId'),_0x402d06=_0xe06194['getAttribute']('footnoteCounter'),_0x205755=_0x51ecee['createUIElement']('a',{'href':'#'+_0x3adb8e},function(_0x37449c){const _0x1bc883=this['toDomElement'](_0x37449c);return _0x1bc883['textContent']=_0x402d06,_0x1bc883;}),_0x85b6e5=_0x51ecee['createContainerElement']('sup',{'id':'ref-'+_0x3adb8e,'class':'footnote'},[_0x205755]);return _0x85b6e5['getFillerOffset']=()=>null,_0x85b6e5;}function v(_0x3932f5,_0x8531ac,_0x16afbc,{dataPipeline:_0x5160ea}={}){const {t:t}=_0x16afbc,_0x3168d0=_0x3932f5['getAttribute']('footnoteId'),_0x8dd033=_0x8531ac['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3168d0},function(_0x1704ef){const _0x5b53a6=this['toDomElement'](_0x1704ef);return _0x5b53a6['innerText']='^',_0x5b53a6;}),_0x54d185=_0x5160ea?_0x8531ac['createContainerElement']('div',{'class':'footnote-content'}):_0x577c2d(_0x8531ac['createEditableElement']('div',{'class':'footnote-content'}),_0x8531ac,{'label':t('Footnote\x20content.')});return _0x8531ac['insert'](_0x8531ac['createPositionAt'](_0x54d185,0x0),_0x8531ac['createSlot']()),_0x8531ac['createContainerElement']('li',{'class':'footnote-definition','id':_0x3168d0},[_0x8dd033,_0x54d185]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x47889d=_0x5a28;function _0x1e93(){const _0x2a2022=['setAttribute','isInteger','footnotesListStart','value','execute','4461126EvQIoH','refresh','7752549IMxlDm','1005426mRJlRN','change','plugins','8HilRab','_updateFootnotesCounters','model','3909292CmOPJf','3vSDjRC','getFootnotesDefinitionsObjectElement','isEnabled','4632588gETeZN','501848ctejXG','get','2515700EvjOEi','getAttribute'];_0x1e93=function(){return _0x2a2022;};return _0x1e93();}(function(_0x503b84,_0xbadc52){const _0x5592ad=_0x5a28,_0x585ac1=_0x503b84();while(!![]){try{const _0x31b716=parseInt(_0x5592ad(0xd3))/0x1+parseInt(_0x5592ad(0xde))/0x2+parseInt(_0x5592ad(0xda))/0x3*(-parseInt(_0x5592ad(0xd9))/0x4)+parseInt(_0x5592ad(0xe0))/0x5+-parseInt(_0x5592ad(0xd0))/0x6+parseInt(_0x5592ad(0xd2))/0x7+parseInt(_0x5592ad(0xd6))/0x8*(-parseInt(_0x5592ad(0xdd))/0x9);if(_0x31b716===_0xbadc52)break;else _0x585ac1['push'](_0x585ac1['shift']());}catch(_0x110695){_0x585ac1['push'](_0x585ac1['shift']());}}}(_0x1e93,0x9a27d));function _0x5a28(_0x302658,_0x2c5b79){const _0x1e931a=_0x1e93();return _0x5a28=function(_0x5a2848,_0x4d3f5d){_0x5a2848=_0x5a2848-0xcc;let _0xbdb0d5=_0x1e931a[_0x5a2848];return _0xbdb0d5;},_0x5a28(_0x302658,_0x2c5b79);}import{Command as _0x2fb1e2}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x566b42}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x2fb1e2{[_0x47889d(0xd1)](){const _0x9017f5=_0x47889d,{editor:_0x462f27}=this,_0x3844ee=_0x462f27[_0x9017f5(0xd5)][_0x9017f5(0xdf)](_0x566b42)[_0x9017f5(0xdb)]();this[_0x9017f5(0xdc)]=!!_0x3844ee,this[_0x9017f5(0xce)]=_0x3844ee?.[_0x9017f5(0xe1)](_0x9017f5(0xcd))??null;}[_0x47889d(0xcf)]({value:_0x14e81e}){const _0x25face=_0x47889d,{editor:_0x463234}=this,_0x3bd18e=_0x463234[_0x25face(0xd5)][_0x25face(0xdf)](_0x566b42),_0x26c094=_0x3bd18e[_0x25face(0xdb)]();_0x26c094&&Number[_0x25face(0xcc)](_0x14e81e)&&_0x463234[_0x25face(0xd8)][_0x25face(0xd4)](_0x4a77e4=>{const _0x534e8b=_0x25face;_0x4a77e4[_0x534e8b(0xe2)](_0x534e8b(0xcd),_0x14e81e,_0x26c094),_0x3bd18e[_0x534e8b(0xd7)](_0x4a77e4);});}}
23
+ const _0x1df63f=_0x1153;function _0x1153(_0x25fbf3,_0x97748b){const _0x5ca220=_0x5ca2();return _0x1153=function(_0x1153e9,_0x3706af){_0x1153e9=_0x1153e9-0x1be;let _0x27dcce=_0x5ca220[_0x1153e9];return _0x27dcce;},_0x1153(_0x25fbf3,_0x97748b);}function _0x5ca2(){const _0x1ec461=['isInteger','setAttribute','11IbTnrW','5810790KyrAFo','2287540yUNSZH','getAttribute','isEnabled','8ylNwdV','13SBQMUa','refresh','2746933xYQTYR','plugins','getFootnotesDefinitionsObjectElement','value','change','184062oZNEYs','_updateFootnotesCounters','1802523IWgDNS','get','footnotesListStart','execute','4WDzwLz','model','13366260saJJNP','8479035dNXEBb'];_0x5ca2=function(){return _0x1ec461;};return _0x5ca2();}(function(_0x3e0869,_0x4c4e33){const _0x4818f3=_0x1153,_0x4f4006=_0x3e0869();while(!![]){try{const _0x786372=parseInt(_0x4818f3(0x1cb))/0x1*(-parseInt(_0x4818f3(0x1d2))/0x2)+parseInt(_0x4818f3(0x1d4))/0x3*(-parseInt(_0x4818f3(0x1bf))/0x4)+-parseInt(_0x4818f3(0x1c7))/0x5+parseInt(_0x4818f3(0x1c6))/0x6+-parseInt(_0x4818f3(0x1cd))/0x7*(parseInt(_0x4818f3(0x1ca))/0x8)+parseInt(_0x4818f3(0x1c2))/0x9+-parseInt(_0x4818f3(0x1c1))/0xa*(-parseInt(_0x4818f3(0x1c5))/0xb);if(_0x786372===_0x4c4e33)break;else _0x4f4006['push'](_0x4f4006['shift']());}catch(_0x2c16e2){_0x4f4006['push'](_0x4f4006['shift']());}}}(_0x5ca2,0x927e3));import{Command as _0x129e9c}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x4c5d12}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x129e9c{[_0x1df63f(0x1cc)](){const _0x6b7091=_0x1df63f,{editor:_0x405138}=this,_0x220a84=_0x405138[_0x6b7091(0x1ce)][_0x6b7091(0x1d5)](_0x4c5d12)[_0x6b7091(0x1cf)]();this[_0x6b7091(0x1c9)]=!!_0x220a84,this[_0x6b7091(0x1d0)]=_0x220a84?.[_0x6b7091(0x1c8)](_0x6b7091(0x1d6))??null;}[_0x1df63f(0x1be)]({value:_0x15840c}){const _0x3841b1=_0x1df63f,{editor:_0x25a43a}=this,_0x298568=_0x25a43a[_0x3841b1(0x1ce)][_0x3841b1(0x1d5)](_0x4c5d12),_0x7e8d45=_0x298568[_0x3841b1(0x1cf)]();_0x7e8d45&&Number[_0x3841b1(0x1c3)](_0x15840c)&&_0x25a43a[_0x3841b1(0x1c0)][_0x3841b1(0x1d1)](_0x1feabe=>{const _0x238942=_0x3841b1;_0x1feabe[_0x238942(0x1c4)](_0x238942(0x1d6),_0x15840c,_0x7e8d45),_0x298568[_0x238942(0x1d3)](_0x1feabe);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x40d41d=_0x2f1a;(function(_0x173b96,_0x116528){const _0x38dfd4=_0x2f1a,_0x514d88=_0x173b96();while(!![]){try{const _0x5b0bc7=parseInt(_0x38dfd4(0x152))/0x1*(parseInt(_0x38dfd4(0x13c))/0x2)+parseInt(_0x38dfd4(0x146))/0x3*(-parseInt(_0x38dfd4(0x147))/0x4)+-parseInt(_0x38dfd4(0x150))/0x5*(-parseInt(_0x38dfd4(0x153))/0x6)+-parseInt(_0x38dfd4(0x143))/0x7+parseInt(_0x38dfd4(0x148))/0x8*(-parseInt(_0x38dfd4(0x142))/0x9)+-parseInt(_0x38dfd4(0x13a))/0xa*(-parseInt(_0x38dfd4(0x151))/0xb)+parseInt(_0x38dfd4(0x145))/0xc;if(_0x5b0bc7===_0x116528)break;else _0x514d88['push'](_0x514d88['shift']());}catch(_0x52c05e){_0x514d88['push'](_0x514d88['shift']());}}}(_0xa57b,0x18df2));function _0xa57b(){const _0x4a2075=['170fhmQvn','146498JsoVOi','2431bneZRo','8820TkdIOG','50tJhWsK','footnotesListStyle','166YcbRwb','getFootnotesDefinitionsObjectElement','change','value','includes','refresh','189VPmqUj','1049951vVBOYD','setAttribute','2377992SpYQKL','36rrsyml','34664ccoguF','61200OXqDzp','isEnabled','_updateFootnotesCounters','model','execute','getAttribute','get','plugins'];_0xa57b=function(){return _0x4a2075;};return _0xa57b();}import{Command as _0x5a36f0}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x24f2b9}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x479ca8}from'../../footnotestracker.js';function _0x2f1a(_0x1aaf4f,_0x348057){const _0xa57b5e=_0xa57b();return _0x2f1a=function(_0x2f1ab6,_0x3ac585){_0x2f1ab6=_0x2f1ab6-0x13a;let _0x159bee=_0xa57b5e[_0x2f1ab6];return _0x159bee;},_0x2f1a(_0x1aaf4f,_0x348057);}export class FootnotesStyleCommand extends _0x5a36f0{[_0x40d41d(0x141)](){const _0x5eb7c1=_0x40d41d,{editor:_0x5e8067}=this,_0x276eb9=_0x5e8067[_0x5eb7c1(0x14f)][_0x5eb7c1(0x14e)](_0x479ca8)[_0x5eb7c1(0x13d)]();this[_0x5eb7c1(0x149)]=!!_0x276eb9,this[_0x5eb7c1(0x13f)]=_0x276eb9?.[_0x5eb7c1(0x14d)](_0x5eb7c1(0x13b))??null;}[_0x40d41d(0x14c)]({value:_0xbb7632}){const _0x26a719=_0x40d41d,{editor:_0x4220c4}=this,_0x5cdb10=_0x4220c4[_0x26a719(0x14f)][_0x26a719(0x14e)](_0x479ca8),_0x161d68=_0x5cdb10[_0x26a719(0x13d)]();_0x161d68&&_0x24f2b9[_0x26a719(0x140)](_0xbb7632)&&_0x4220c4[_0x26a719(0x14b)][_0x26a719(0x13e)](_0x36a245=>{const _0x5816ee=_0x26a719;_0x36a245[_0x5816ee(0x144)](_0x5816ee(0x13b),_0xbb7632,_0x161d68),_0x5cdb10[_0x5816ee(0x14a)](_0x36a245);});}}
23
+ const _0x14a110=_0xde52;function _0xf508(){const _0x368042=['1992466FtqeCg','model','includes','get','isEnabled','26IeETkn','change','3252072bAiXPl','33466Ulnuwj','11IVUnaS','setAttribute','2383800HAQKdA','8yXPhvE','value','_updateFootnotesCounters','refresh','2835144QJfeUd','execute','1588340hQaUem','getAttribute','plugins','3GXkjhH','getFootnotesDefinitionsObjectElement','footnotesListStyle','20074030pFJVMx'];_0xf508=function(){return _0x368042;};return _0xf508();}(function(_0x2dec69,_0x54899e){const _0x2ca50e=_0xde52,_0x59f185=_0x2dec69();while(!![]){try{const _0x325b07=parseInt(_0x2ca50e(0x188))/0x1*(-parseInt(_0x2ca50e(0x172))/0x2)+parseInt(_0x2ca50e(0x17f))/0x3*(-parseInt(_0x2ca50e(0x17c))/0x4)+parseInt(_0x2ca50e(0x175))/0x5+-parseInt(_0x2ca50e(0x18a))/0x6+-parseInt(_0x2ca50e(0x183))/0x7*(parseInt(_0x2ca50e(0x176))/0x8)+-parseInt(_0x2ca50e(0x17a))/0x9+-parseInt(_0x2ca50e(0x182))/0xa*(-parseInt(_0x2ca50e(0x173))/0xb);if(_0x325b07===_0x54899e)break;else _0x59f185['push'](_0x59f185['shift']());}catch(_0x1e30f5){_0x59f185['push'](_0x59f185['shift']());}}}(_0xf508,0x7c992));import{Command as _0x5a46e3}from'ckeditor5/src/core.js';function _0xde52(_0x50b57e,_0x2a4b48){const _0xf508a9=_0xf508();return _0xde52=function(_0xde5209,_0x15d4f0){_0xde5209=_0xde5209-0x172;let _0x537f64=_0xf508a9[_0xde5209];return _0x537f64;},_0xde52(_0x50b57e,_0x2a4b48);}import{FOOTNOTES_DEFINITIONS_STYLES as _0x24f25e}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x1fe396}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x5a46e3{[_0x14a110(0x179)](){const _0x2fd4a=_0x14a110,{editor:_0x1fc364}=this,_0x504be5=_0x1fc364[_0x2fd4a(0x17e)][_0x2fd4a(0x186)](_0x1fe396)[_0x2fd4a(0x180)]();this[_0x2fd4a(0x187)]=!!_0x504be5,this[_0x2fd4a(0x177)]=_0x504be5?.[_0x2fd4a(0x17d)](_0x2fd4a(0x181))??null;}[_0x14a110(0x17b)]({value:_0x247437}){const _0x388f34=_0x14a110,{editor:_0x5aaf59}=this,_0x558ce5=_0x5aaf59[_0x388f34(0x17e)][_0x388f34(0x186)](_0x1fe396),_0xa3a6f0=_0x558ce5[_0x388f34(0x180)]();_0xa3a6f0&&_0x24f25e[_0x388f34(0x185)](_0x247437)&&_0x5aaf59[_0x388f34(0x184)][_0x388f34(0x189)](_0x39d783=>{const _0x2180da=_0x388f34;_0x39d783[_0x2180da(0x174)](_0x2180da(0x181),_0x247437,_0xa3a6f0),_0x558ce5[_0x2180da(0x178)](_0x39d783);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cf26c=_0x14f1;function _0x417b(){const _0x48b735=['1890DTSZXq','decimal-leading-zero','1738530nzKKxQ','2MLlHNl','upper-alpha','14hOofTj','1416177OxCeZb','lower-alpha','lower-roman','lower-latin','upper-roman','1860NJkYPU','11099EktUzf','364440NqIxnR','1072038XJLNec','84127MjhOne','decimal','1320ExzTTU','upper-latin'];_0x417b=function(){return _0x48b735;};return _0x417b();}function _0x14f1(_0x54bad8,_0xfc0bd){const _0x417b8e=_0x417b();return _0x14f1=function(_0x14f16c,_0x449062){_0x14f16c=_0x14f16c-0x1bd;let _0x4cf623=_0x417b8e[_0x14f16c];return _0x4cf623;},_0x14f1(_0x54bad8,_0xfc0bd);}(function(_0x3f42b7,_0x53c70b){const _0x3dd86f=_0x14f1,_0x230853=_0x3f42b7();while(!![]){try{const _0x1dafec=-parseInt(_0x3dd86f(0x1c7))/0x1*(-parseInt(_0x3dd86f(0x1ce))/0x2)+parseInt(_0x3dd86f(0x1c6))/0x3+parseInt(_0x3dd86f(0x1c9))/0x4*(parseInt(_0x3dd86f(0x1cb))/0x5)+-parseInt(_0x3dd86f(0x1cd))/0x6+-parseInt(_0x3dd86f(0x1bd))/0x7*(parseInt(_0x3dd86f(0x1c5))/0x8)+-parseInt(_0x3dd86f(0x1be))/0x9+parseInt(_0x3dd86f(0x1c3))/0xa*(parseInt(_0x3dd86f(0x1c4))/0xb);if(_0x1dafec===_0x53c70b)break;else _0x230853['push'](_0x230853['shift']());}catch(_0x2a92c1){_0x230853['push'](_0x230853['shift']());}}}(_0x417b,0x34a75));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x1cf26c(0x1c8),_0x1cf26c(0x1cc),_0x1cf26c(0x1c1),_0x1cf26c(0x1ca),_0x1cf26c(0x1bf),_0x1cf26c(0x1cf),_0x1cf26c(0x1c0),_0x1cf26c(0x1c2)];
23
+ function _0x28cc(_0x4e85f2,_0xf114a){const _0x3620df=_0x3620();return _0x28cc=function(_0x28cc70,_0x174e4){_0x28cc70=_0x28cc70-0x117;let _0x3ddd69=_0x3620df[_0x28cc70];return _0x3ddd69;},_0x28cc(_0x4e85f2,_0xf114a);}const _0x8d8263=_0x28cc;(function(_0x4f654f,_0x45612c){const _0x16bd6c=_0x28cc,_0x3f9cb9=_0x4f654f();while(!![]){try{const _0x565227=-parseInt(_0x16bd6c(0x124))/0x1+parseInt(_0x16bd6c(0x126))/0x2*(parseInt(_0x16bd6c(0x122))/0x3)+parseInt(_0x16bd6c(0x117))/0x4+parseInt(_0x16bd6c(0x123))/0x5*(parseInt(_0x16bd6c(0x11a))/0x6)+parseInt(_0x16bd6c(0x119))/0x7*(parseInt(_0x16bd6c(0x125))/0x8)+parseInt(_0x16bd6c(0x11d))/0x9*(-parseInt(_0x16bd6c(0x121))/0xa)+-parseInt(_0x16bd6c(0x11c))/0xb;if(_0x565227===_0x45612c)break;else _0x3f9cb9['push'](_0x3f9cb9['shift']());}catch(_0x455707){_0x3f9cb9['push'](_0x3f9cb9['shift']());}}}(_0x3620,0x659b6));function _0x3620(){const _0x6ab77e=['49740HRPWEp','3YPOfcv','10JvDWTv','6878OQoOFM','376nxaiIF','632780xQPyWz','upper-roman','lower-roman','upper-latin','1758200YGEhHZ','lower-latin','76951oCpCTH','1002678CflgSK','decimal-leading-zero','8534999cFzqOr','738BdzSnR','upper-alpha','lower-alpha','decimal'];_0x3620=function(){return _0x6ab77e;};return _0x3620();}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x8d8263(0x120),_0x8d8263(0x11b),_0x8d8263(0x118),_0x8d8263(0x129),_0x8d8263(0x11f),_0x8d8263(0x11e),_0x8d8263(0x128),_0x8d8263(0x127)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a9b04=_0x232e;(function(_0x17ce93,_0x59efbc){const _0x2f61bd=_0x232e,_0x4349cd=_0x17ce93();while(!![]){try{const _0x4776b3=-parseInt(_0x2f61bd(0x1d1))/0x1*(-parseInt(_0x2f61bd(0x1c1))/0x2)+-parseInt(_0x2f61bd(0x1f3))/0x3*(parseInt(_0x2f61bd(0x1ce))/0x4)+parseInt(_0x2f61bd(0x20f))/0x5+parseInt(_0x2f61bd(0x1f2))/0x6*(-parseInt(_0x2f61bd(0x1ec))/0x7)+-parseInt(_0x2f61bd(0x1bc))/0x8+-parseInt(_0x2f61bd(0x20a))/0x9+parseInt(_0x2f61bd(0x1f5))/0xa;if(_0x4776b3===_0x59efbc)break;else _0x4349cd['push'](_0x4349cd['shift']());}catch(_0x2be517){_0x4349cd['push'](_0x4349cd['shift']());}}}(_0x182d,0xafecc));import{Plugin as _0x46cae4}from'ckeditor5/src/core.js';function _0x182d(){const _0x1f7359=['11651553KfoQma','attribute:footnotesListStart:footnotesDefinitions','hasClass','footnotesListStyle','add','6895365iiURTP','from','document','init','floor','footnotes.footnotesProperties.defaultListStyle','item','differ','createRangeOn','getChanges','removeStyle','_updateFootnotesCounters','decimal-leading-zero','decimal','writer','pluginName','_getDefaultListStyle','parseInt','3070152LgReQK','_defineFormatter','footnotesDefinitions','footnotes.footnotesProperties.defaultStartIndex','upcast','709026XDnVJO','type','footnotesStart','setAttribute','nodeAfter','insert','max','schema','consume','toUpperCase','find','getItems','commands','4576420BoHZcb','footnotes-list','_getDefaultStartIndex','2LvPBTq','isNaN','lower-latin','for','plugins','toViewElement','lower-alpha','getChildren','editor','name','$text','_formatFootnoteListValue','define','config','setStyle','_definePostfixer','position','hasAttribute','list-style-type','footnotesListStart','lower-roman','_defineSchema','_defineConverters','upper-roman','mapper','getStyle','checkAttribute','4501fwEoyF','isOfficialPlugin','element:ol','upper-latin','parent','padStart','11292rjFVzP','3Ofaayj','viewItem','26651060TzEIPU','toLowerCase','downcast','FootnotesPropertiesEditing','getAttribute','removeAttribute','requires','registerPostFixer','setFootnoteFormatter','start','isPremiumPlugin','attribute:footnotesListStyle:footnotesDefinitions','model','consumable','get','footnotesStyle','upper-alpha','extend','fromCharCode','element','modelCursor'];_0x182d=function(){return _0x1f7359;};return _0x182d();}import{FootnotesStyleCommand as _0x4066ff}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x225dcf}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x4d6f7d}from'../footnotestracker.js';import{FootnotesEditing as _0x417eb7}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x46cae4{static get[_0x5a9b04(0x1b9)](){const _0x3c0b1a=_0x5a9b04;return _0x3c0b1a(0x1f8);}static get[_0x5a9b04(0x1fb)](){return[_0x417eb7,_0x4d6f7d];}static get[_0x5a9b04(0x1ed)](){return!0x0;}static get[_0x5a9b04(0x1ff)](){return!0x0;}[_0x5a9b04(0x1ad)](){const _0x48673c=_0x5a9b04,{editor:_0x5d362d}=this;_0x5d362d[_0x48673c(0x1de)][_0x48673c(0x1dd)](_0x48673c(0x1af),_0x48673c(0x1b7)),_0x5d362d[_0x48673c(0x1de)][_0x48673c(0x1dd)](_0x48673c(0x1bf),0x1),_0x5d362d[_0x48673c(0x1cd)][_0x48673c(0x20e)](_0x48673c(0x204),new _0x4066ff(_0x5d362d)),_0x5d362d[_0x48673c(0x1cd)][_0x48673c(0x20e)](_0x48673c(0x1c3),new _0x225dcf(_0x5d362d)),this[_0x48673c(0x1e6)](),this[_0x48673c(0x1e7)](),this[_0x48673c(0x1bd)](),this[_0x48673c(0x1e0)]();}[_0x5a9b04(0x1e6)](){const _0x20a0a7=_0x5a9b04,{editor:_0x232da5}=this,{schema:_0xad58a9}=_0x232da5[_0x20a0a7(0x201)];_0xad58a9[_0x20a0a7(0x206)](_0x20a0a7(0x1be),{'allowAttributes':[_0x20a0a7(0x20d),_0x20a0a7(0x1e4)]});}[_0x5a9b04(0x1e7)](){const _0x5ef4b7=_0x5a9b04,{editor:_0x53ae49}=this,{conversion:_0x4c508b,model:_0x227fc8}=_0x53ae49,{schema:_0x3d3a97}=_0x227fc8;_0x4c508b[_0x5ef4b7(0x1d4)](_0x5ef4b7(0x1c0))[_0x5ef4b7(0x20e)](_0x4cc3b4=>{const _0x39c618=_0x5ef4b7;_0x4cc3b4['on'](_0x39c618(0x1ee),(_0x46adf5,_0x5685bb,_0x378de8)=>{const _0xd0ef6c=_0x39c618,_0x3a2a97=_0x5685bb[_0xd0ef6c(0x1f4)],_0x408d8e=_0x5685bb[_0xd0ef6c(0x209)]?.[_0xd0ef6c(0x1f0)];_0x3a2a97[_0xd0ef6c(0x20c)](_0xd0ef6c(0x1cf))&&_0x408d8e?.['is'](_0xd0ef6c(0x208),_0xd0ef6c(0x1be))&&(function(_0x5533e6,_0x223701,_0x55fce3,_0x4ec33e){const _0x134dca=_0xd0ef6c;if(!_0x4ec33e[_0x134dca(0x1eb)](_0x223701,_0x134dca(0x1e4)))return;let _0xf294f=0x1;const _0x406d34=_0x55fce3[_0x134dca(0x202)][_0x134dca(0x1c9)](_0x5533e6,{'attributes':_0x134dca(0x1fe)});if(_0x406d34){const _0x37c2a1=Number[_0x134dca(0x1bb)](_0x5533e6[_0x134dca(0x1f9)](_0x134dca(0x1fe)),0xa);Number[_0x134dca(0x1d2)](_0x37c2a1)||(_0xf294f=_0x37c2a1);}!_0x406d34&&_0x223701[_0x134dca(0x1e2)](_0x134dca(0x1e4))||_0x55fce3[_0x134dca(0x1b8)][_0x134dca(0x1c4)](_0x134dca(0x1e4),_0xf294f,_0x223701);}(_0x3a2a97,_0x408d8e,_0x378de8,_0x3d3a97),function(_0x495b23,_0x25538a,_0x4b5909,_0x2c4628){const _0x3e6864=_0xd0ef6c;if(!_0x2c4628[_0x3e6864(0x1eb)](_0x25538a,_0x3e6864(0x20d)))return;let _0x1b112a=_0x3e6864(0x1b7),_0x5d55bf=!0x1;if(_0x4b5909[_0x3e6864(0x202)][_0x3e6864(0x1c9)](_0x495b23,{'attributes':_0x3e6864(0x1c2)})){const _0x55d17e={0x1:_0x3e6864(0x1b7),'a':_0x3e6864(0x1d7),'A':_0x3e6864(0x205),'i':_0x3e6864(0x1e5),'I':_0x3e6864(0x1e8)}[_0x495b23[_0x3e6864(0x1f9)](_0x3e6864(0x1c2))];_0x55d17e&&(_0x1b112a=_0x55d17e),_0x5d55bf=!0x0;}_0x4b5909[_0x3e6864(0x202)][_0x3e6864(0x1c9)](_0x495b23,{'styles':_0x3e6864(0x1e3)})&&(_0x1b112a=_0x495b23[_0x3e6864(0x1ea)](_0x3e6864(0x1e3)),_0x5d55bf=!0x0),!_0x5d55bf&&_0x25538a[_0x3e6864(0x1e2)](_0x3e6864(0x20d))||_0x4b5909[_0x3e6864(0x1b8)][_0x3e6864(0x1c4)](_0x3e6864(0x20d),_0x1b112a,_0x25538a);}(_0x3a2a97,_0x408d8e,_0x378de8,_0x3d3a97));});}),_0x4c508b[_0x5ef4b7(0x1d4)](_0x5ef4b7(0x1f7))[_0x5ef4b7(0x20e)](_0x2aff6a=>{const _0x542b85=_0x5ef4b7;_0x2aff6a['on'](_0x542b85(0x20b),(_0x142510,_0x49537b,_0x52ae45)=>{const _0x290eda=_0x542b85;if(!_0x52ae45[_0x290eda(0x202)][_0x290eda(0x1c9)](_0x49537b[_0x290eda(0x1b0)],_0x142510[_0x290eda(0x1da)]))return;const _0x46f7d9=C(_0x49537b[_0x290eda(0x1b0)],_0x52ae45[_0x290eda(0x1e9)]),{attributeNewValue:_0x1b8e5b}=_0x49537b;null==_0x1b8e5b||0x1===_0x1b8e5b?_0x52ae45[_0x290eda(0x1b8)][_0x290eda(0x1fa)](_0x290eda(0x1fe),_0x46f7d9):_0x52ae45[_0x290eda(0x1b8)][_0x290eda(0x1c4)](_0x290eda(0x1fe),String(_0x1b8e5b),_0x46f7d9);}),_0x2aff6a['on'](_0x542b85(0x200),(_0x51f4bb,_0x1f64d7,_0x21b003)=>{const _0x33f793=_0x542b85;if(!_0x21b003[_0x33f793(0x202)][_0x33f793(0x1c9)](_0x1f64d7[_0x33f793(0x1b0)],_0x51f4bb[_0x33f793(0x1da)]))return;const _0x48f0ce=C(_0x1f64d7[_0x33f793(0x1b0)],_0x21b003[_0x33f793(0x1e9)]),{attributeNewValue:_0x1e354d}=_0x1f64d7;_0x1e354d&&_0x33f793(0x1b7)!==_0x1e354d?_0x21b003[_0x33f793(0x1b8)][_0x33f793(0x1df)](_0x33f793(0x1e3),_0x1e354d,_0x48f0ce):_0x21b003[_0x33f793(0x1b8)][_0x33f793(0x1b4)](_0x33f793(0x1e3),_0x48f0ce);});});}[_0x5a9b04(0x1e0)](){const _0x520e5c=_0x5a9b04,{editor:_0x320150}=this,{model:_0x477d16}=_0x320150,_0x1cce70=_0x320150[_0x520e5c(0x1d5)][_0x520e5c(0x203)](_0x4d6f7d),_0x36ce35=this[_0x520e5c(0x1ba)](),_0x50d3eb=this[_0x520e5c(0x1d0)]();_0x477d16[_0x520e5c(0x1ac)][_0x520e5c(0x1fc)](_0x1c9e33=>{const _0x58106c=_0x520e5c,_0x36bdbd=_0x477d16[_0x58106c(0x1ac)][_0x58106c(0x1b1)][_0x58106c(0x1b3)]();let _0x51d531=!0x1;for(const _0xbe8a37 of _0x36bdbd){if(_0x58106c(0x1c6)!==_0xbe8a37[_0x58106c(0x1c2)]||_0x58106c(0x1db)===_0xbe8a37[_0x58106c(0x1da)])continue;const _0x422b50=_0x477d16[_0x58106c(0x1b2)](_0xbe8a37[_0x58106c(0x1e1)][_0x58106c(0x1c5)]);for(const _0x5d6a65 of _0x422b50[_0x58106c(0x1cc)]())_0x5d6a65['is'](_0x58106c(0x208),_0x58106c(0x1be))&&(!_0x5d6a65[_0x58106c(0x1e2)](_0x58106c(0x1e4))&&_0x477d16[_0x58106c(0x1c8)][_0x58106c(0x1eb)](_0x5d6a65,_0x58106c(0x1e4))&&(_0x1c9e33[_0x58106c(0x1c4)](_0x58106c(0x1e4),_0x50d3eb,_0x5d6a65),_0x51d531=!0x0),!_0x5d6a65[_0x58106c(0x1e2)](_0x58106c(0x20d))&&_0x477d16[_0x58106c(0x1c8)][_0x58106c(0x1eb)](_0x5d6a65,_0x58106c(0x20d))&&(_0x1c9e33[_0x58106c(0x1c4)](_0x58106c(0x20d),_0x36ce35,_0x5d6a65),_0x51d531=!0x0));}return _0x51d531&&_0x1cce70[_0x58106c(0x1b5)](_0x1c9e33),_0x51d531;});}[_0x5a9b04(0x1bd)](){const _0x1eec32=_0x5a9b04,{editor:_0x5b72cd}=this;_0x5b72cd[_0x1eec32(0x1d5)][_0x1eec32(0x203)](_0x4d6f7d)[_0x1eec32(0x1fd)](_0x2985a5=>this[_0x1eec32(0x1dc)](_0x2985a5));}[_0x5a9b04(0x1ba)](){const _0x20a147=_0x5a9b04;return this[_0x20a147(0x1d9)][_0x20a147(0x1de)][_0x20a147(0x203)](_0x20a147(0x1af));}[_0x5a9b04(0x1d0)](){const _0x337343=_0x5a9b04;return this[_0x337343(0x1d9)][_0x337343(0x1de)][_0x337343(0x203)](_0x337343(0x1bf));}[_0x5a9b04(0x1dc)]({container:_0x4f056e,value:_0x56e29f,digits:_0x2787e8}){const _0x1f7c80=_0x5a9b04,_0x10365f=_0x4f056e[_0x1f7c80(0x1f9)](_0x1f7c80(0x20d)),_0x3452a7=_0x4f056e[_0x1f7c80(0x1f9)](_0x1f7c80(0x1e4)),_0x31112b=Math[_0x1f7c80(0x1ae)](_0x56e29f)+(_0x3452a7??0x1)-0x1;switch(_0x10365f){case _0x1f7c80(0x1b6):return function(_0xc69fd4,_0x2bac07){const _0x57d3b1=_0x1f7c80;return String(_0xc69fd4)[_0x57d3b1(0x1f1)](_0x2bac07,'0');}(_0x31112b,Math[_0x1f7c80(0x1c7)](0x2,_0x2787e8));case _0x1f7c80(0x1d7):case _0x1f7c80(0x1d3):return M(_0x31112b,!0x1);case _0x1f7c80(0x205):case _0x1f7c80(0x1ef):return M(_0x31112b,!0x0);case _0x1f7c80(0x1e5):return V(_0x31112b,!0x1);case _0x1f7c80(0x1e8):return V(_0x31112b,!0x0);default:return String(_0x31112b);}}}function C(_0x5f5875,_0x5e2187){const _0x5206eb=_0x5a9b04,_0x4ed135=_0x5e2187[_0x5206eb(0x1d6)](_0x5f5875);return Array[_0x5206eb(0x1ab)](_0x4ed135[_0x5206eb(0x1d8)]())[_0x5206eb(0x1cb)](_0x162266=>_0x162266['is'](_0x5206eb(0x208),'ol')&&_0x162266[_0x5206eb(0x20c)](_0x5206eb(0x1cf)));}function M(_0x43d96c,_0x665fb4){const _0x31f8c5=_0x5a9b04;let _0x2ea298='',_0x3a8f72=_0x43d96c;for(;_0x3a8f72>0x0;){const _0x29d5d6=(_0x3a8f72-0x1)%0x1a;_0x2ea298=String[_0x31f8c5(0x207)](0x61+_0x29d5d6)+_0x2ea298,_0x3a8f72=Math[_0x31f8c5(0x1ae)]((_0x3a8f72-0x1)/0x1a);}return _0x665fb4?_0x2ea298[_0x31f8c5(0x1ca)]():_0x2ea298;}const N=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function _0x232e(_0x33f215,_0x3bf8b9){const _0x182ddc=_0x182d();return _0x232e=function(_0x232e9f,_0x4a6682){_0x232e9f=_0x232e9f-0x1ab;let _0x25ed73=_0x182ddc[_0x232e9f];return _0x25ed73;},_0x232e(_0x33f215,_0x3bf8b9);}function V(_0x1d898b,_0x9f870f){const _0x405da6=_0x5a9b04;let _0x35b46a='',_0x3ddcd5=_0x1d898b;for(const {value:_0x28e707,numeral:_0x331118}of N)for(;_0x3ddcd5>=_0x28e707;)_0x35b46a+=_0x331118,_0x3ddcd5-=_0x28e707;return _0x9f870f?_0x35b46a:_0x35b46a[_0x405da6(0x1f6)]();}
23
+ const _0x17025e=_0x3178;(function(_0x501344,_0x257ba8){const _0x5f2caa=_0x3178,_0x182ff=_0x501344();while(!![]){try{const _0x1c390f=parseInt(_0x5f2caa(0x188))/0x1*(parseInt(_0x5f2caa(0x1ab))/0x2)+parseInt(_0x5f2caa(0x192))/0x3*(-parseInt(_0x5f2caa(0x1bd))/0x4)+parseInt(_0x5f2caa(0x19f))/0x5*(-parseInt(_0x5f2caa(0x17a))/0x6)+parseInt(_0x5f2caa(0x197))/0x7+parseInt(_0x5f2caa(0x1be))/0x8+parseInt(_0x5f2caa(0x19b))/0x9+-parseInt(_0x5f2caa(0x199))/0xa;if(_0x1c390f===_0x257ba8)break;else _0x182ff['push'](_0x182ff['shift']());}catch(_0xe12bd9){_0x182ff['push'](_0x182ff['shift']());}}}(_0x54b0,0x90dbd));import{Plugin as _0x2e4fce}from'ckeditor5/src/core.js';function _0x3178(_0x386711,_0x56a06f){const _0x54b03b=_0x54b0();return _0x3178=function(_0x317880,_0x3a3b42){_0x317880=_0x317880-0x172;let _0x10f465=_0x54b03b[_0x317880];return _0x10f465;},_0x3178(_0x386711,_0x56a06f);}function _0x54b0(){const _0x16f08c=['hasClass','footnotesStyle','setStyle','floor','nodeAfter','_defineSchema','config','_updateFootnotesCounters','59376rgKSjb','8530736IGOvga','fromCharCode','_getDefaultStartIndex','footnotesListStyle','$text','plugins','decimal-leading-zero','footnotesDefinitions','define','_defineConverters','footnotesListStart','viewItem','requires','type','decimal','commands','upcast','mapper','FootnotesPropertiesEditing','footnotes.footnotesProperties.defaultStartIndex','item','document','position','attribute:footnotesListStart:footnotesDefinitions','upper-latin','lower-alpha','removeStyle','model','getItems','editor','upper-roman','attribute:footnotesListStyle:footnotesDefinitions','modelCursor','2299602lhzmkP','init','consume','parseInt','consumable','parent','find','footnotesStart','isPremiumPlugin','registerPostFixer','hasAttribute','lower-roman','insert','createRangeOn','9eBOjkY','_definePostfixer','footnotes-list','start','writer','isNaN','setAttribute','getChildren','_defineFormatter','isOfficialPlugin','21UTOaRI','from','differ','list-style-type','getAttribute','7159173QRXxDT','setFootnoteFormatter','18799500uATkRn','_getDefaultListStyle','1375182FJWjKl','toViewElement','footnotes.footnotesProperties.defaultListStyle','getChanges','5UFDjJF','name','extend','lower-latin','element','getStyle','pluginName','schema','for','get','element:ol','upper-alpha','159686jRUFEn','toUpperCase','add','_formatFootnoteListValue','padStart','toLowerCase','removeAttribute','checkAttribute','downcast','max'];_0x54b0=function(){return _0x16f08c;};return _0x54b0();}import{FootnotesStyleCommand as _0x1896f4}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x120d2a}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x9dc3ba}from'../footnotestracker.js';import{FootnotesEditing as _0x398690}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x2e4fce{static get[_0x17025e(0x1a5)](){const _0x48ba0e=_0x17025e;return _0x48ba0e(0x1d0);}static get[_0x17025e(0x1ca)](){return[_0x398690,_0x9dc3ba];}static get[_0x17025e(0x191)](){return!0x0;}static get[_0x17025e(0x182)](){return!0x0;}[_0x17025e(0x17b)](){const _0x8cb2b2=_0x17025e,{editor:_0x344074}=this;_0x344074[_0x8cb2b2(0x1bb)][_0x8cb2b2(0x1c6)](_0x8cb2b2(0x19d),_0x8cb2b2(0x1cc)),_0x344074[_0x8cb2b2(0x1bb)][_0x8cb2b2(0x1c6)](_0x8cb2b2(0x1d1),0x1),_0x344074[_0x8cb2b2(0x1cd)][_0x8cb2b2(0x1ad)](_0x8cb2b2(0x1b6),new _0x1896f4(_0x344074)),_0x344074[_0x8cb2b2(0x1cd)][_0x8cb2b2(0x1ad)](_0x8cb2b2(0x181),new _0x120d2a(_0x344074)),this[_0x8cb2b2(0x1ba)](),this[_0x8cb2b2(0x1c7)](),this[_0x8cb2b2(0x190)](),this[_0x8cb2b2(0x189)]();}[_0x17025e(0x1ba)](){const _0x2759ff=_0x17025e,{editor:_0x113c38}=this,{schema:_0x3337ed}=_0x113c38[_0x2759ff(0x174)];_0x3337ed[_0x2759ff(0x1a1)](_0x2759ff(0x1c5),{'allowAttributes':[_0x2759ff(0x1c1),_0x2759ff(0x1c8)]});}[_0x17025e(0x1c7)](){const _0x2ca817=_0x17025e,{editor:_0xb33582}=this,{conversion:_0x302df0,model:_0x41e53f}=_0xb33582,{schema:_0x2dbcc9}=_0x41e53f;_0x302df0[_0x2ca817(0x1a7)](_0x2ca817(0x1ce))[_0x2ca817(0x1ad)](_0x4742de=>{const _0x593434=_0x2ca817;_0x4742de['on'](_0x593434(0x1a9),(_0x4bb354,_0x29b04c,_0x38bbd3)=>{const _0x3098bf=_0x593434,_0x23f606=_0x29b04c[_0x3098bf(0x1c9)],_0x25910b=_0x29b04c[_0x3098bf(0x179)]?.[_0x3098bf(0x17f)];_0x23f606[_0x3098bf(0x1b5)](_0x3098bf(0x18a))&&_0x25910b?.['is'](_0x3098bf(0x1a3),_0x3098bf(0x1c5))&&(function(_0x3df89b,_0x1b7473,_0x5e5797,_0x57e53f){const _0x2f71a9=_0x3098bf;if(!_0x57e53f[_0x2f71a9(0x1b2)](_0x1b7473,_0x2f71a9(0x1c8)))return;let _0x4f9a92=0x1;const _0x42255b=_0x5e5797[_0x2f71a9(0x17e)][_0x2f71a9(0x17c)](_0x3df89b,{'attributes':_0x2f71a9(0x18b)});if(_0x42255b){const _0x230175=Number[_0x2f71a9(0x17d)](_0x3df89b[_0x2f71a9(0x196)](_0x2f71a9(0x18b)),0xa);Number[_0x2f71a9(0x18d)](_0x230175)||(_0x4f9a92=_0x230175);}!_0x42255b&&_0x1b7473[_0x2f71a9(0x184)](_0x2f71a9(0x1c8))||_0x5e5797[_0x2f71a9(0x18c)][_0x2f71a9(0x18e)](_0x2f71a9(0x1c8),_0x4f9a92,_0x1b7473);}(_0x23f606,_0x25910b,_0x38bbd3,_0x2dbcc9),function(_0x139a05,_0x575ccc,_0x452a11,_0x104f87){const _0x165f43=_0x3098bf;if(!_0x104f87[_0x165f43(0x1b2)](_0x575ccc,_0x165f43(0x1c1)))return;let _0x597d5f=_0x165f43(0x1cc),_0x50c941=!0x1;if(_0x452a11[_0x165f43(0x17e)][_0x165f43(0x17c)](_0x139a05,{'attributes':_0x165f43(0x1cb)})){const _0x2bbaf6={0x1:_0x165f43(0x1cc),'a':_0x165f43(0x172),'A':_0x165f43(0x1aa),'i':_0x165f43(0x185),'I':_0x165f43(0x177)}[_0x139a05[_0x165f43(0x196)](_0x165f43(0x1cb))];_0x2bbaf6&&(_0x597d5f=_0x2bbaf6),_0x50c941=!0x0;}_0x452a11[_0x165f43(0x17e)][_0x165f43(0x17c)](_0x139a05,{'styles':_0x165f43(0x195)})&&(_0x597d5f=_0x139a05[_0x165f43(0x1a4)](_0x165f43(0x195)),_0x50c941=!0x0),!_0x50c941&&_0x575ccc[_0x165f43(0x184)](_0x165f43(0x1c1))||_0x452a11[_0x165f43(0x18c)][_0x165f43(0x18e)](_0x165f43(0x1c1),_0x597d5f,_0x575ccc);}(_0x23f606,_0x25910b,_0x38bbd3,_0x2dbcc9));});}),_0x302df0[_0x2ca817(0x1a7)](_0x2ca817(0x1b3))[_0x2ca817(0x1ad)](_0x1cc6d8=>{const _0x498690=_0x2ca817;_0x1cc6d8['on'](_0x498690(0x1d5),(_0x37d604,_0x1faad6,_0x15f5e2)=>{const _0x24a0fd=_0x498690;if(!_0x15f5e2[_0x24a0fd(0x17e)][_0x24a0fd(0x17c)](_0x1faad6[_0x24a0fd(0x1d2)],_0x37d604[_0x24a0fd(0x1a0)]))return;const _0x2e5096=C(_0x1faad6[_0x24a0fd(0x1d2)],_0x15f5e2[_0x24a0fd(0x1cf)]),{attributeNewValue:_0x4f8b2c}=_0x1faad6;null==_0x4f8b2c||0x1===_0x4f8b2c?_0x15f5e2[_0x24a0fd(0x18c)][_0x24a0fd(0x1b1)](_0x24a0fd(0x18b),_0x2e5096):_0x15f5e2[_0x24a0fd(0x18c)][_0x24a0fd(0x18e)](_0x24a0fd(0x18b),String(_0x4f8b2c),_0x2e5096);}),_0x1cc6d8['on'](_0x498690(0x178),(_0x326642,_0x296d2f,_0x4b4a81)=>{const _0x5a48de=_0x498690;if(!_0x4b4a81[_0x5a48de(0x17e)][_0x5a48de(0x17c)](_0x296d2f[_0x5a48de(0x1d2)],_0x326642[_0x5a48de(0x1a0)]))return;const _0x286d2c=C(_0x296d2f[_0x5a48de(0x1d2)],_0x4b4a81[_0x5a48de(0x1cf)]),{attributeNewValue:_0x402b51}=_0x296d2f;_0x402b51&&_0x5a48de(0x1cc)!==_0x402b51?_0x4b4a81[_0x5a48de(0x18c)][_0x5a48de(0x1b7)](_0x5a48de(0x195),_0x402b51,_0x286d2c):_0x4b4a81[_0x5a48de(0x18c)][_0x5a48de(0x173)](_0x5a48de(0x195),_0x286d2c);});});}[_0x17025e(0x189)](){const _0x5e814f=_0x17025e,{editor:_0x566dea}=this,{model:_0x690544}=_0x566dea,_0x2eebc1=_0x566dea[_0x5e814f(0x1c3)][_0x5e814f(0x1a8)](_0x9dc3ba),_0x46078c=this[_0x5e814f(0x19a)](),_0x4835d1=this[_0x5e814f(0x1c0)]();_0x690544[_0x5e814f(0x1d3)][_0x5e814f(0x183)](_0x37c096=>{const _0x2246b2=_0x5e814f,_0x538bcd=_0x690544[_0x2246b2(0x1d3)][_0x2246b2(0x194)][_0x2246b2(0x19e)]();let _0x65c8d4=!0x1;for(const _0xce1a94 of _0x538bcd){if(_0x2246b2(0x186)!==_0xce1a94[_0x2246b2(0x1cb)]||_0x2246b2(0x1c2)===_0xce1a94[_0x2246b2(0x1a0)])continue;const _0x218c66=_0x690544[_0x2246b2(0x187)](_0xce1a94[_0x2246b2(0x1d4)][_0x2246b2(0x1b9)]);for(const _0x1a4fbe of _0x218c66[_0x2246b2(0x175)]())_0x1a4fbe['is'](_0x2246b2(0x1a3),_0x2246b2(0x1c5))&&(!_0x1a4fbe[_0x2246b2(0x184)](_0x2246b2(0x1c8))&&_0x690544[_0x2246b2(0x1a6)][_0x2246b2(0x1b2)](_0x1a4fbe,_0x2246b2(0x1c8))&&(_0x37c096[_0x2246b2(0x18e)](_0x2246b2(0x1c8),_0x4835d1,_0x1a4fbe),_0x65c8d4=!0x0),!_0x1a4fbe[_0x2246b2(0x184)](_0x2246b2(0x1c1))&&_0x690544[_0x2246b2(0x1a6)][_0x2246b2(0x1b2)](_0x1a4fbe,_0x2246b2(0x1c1))&&(_0x37c096[_0x2246b2(0x18e)](_0x2246b2(0x1c1),_0x46078c,_0x1a4fbe),_0x65c8d4=!0x0));}return _0x65c8d4&&_0x2eebc1[_0x2246b2(0x1bc)](_0x37c096),_0x65c8d4;});}[_0x17025e(0x190)](){const _0x83331=_0x17025e,{editor:_0x4daecf}=this;_0x4daecf[_0x83331(0x1c3)][_0x83331(0x1a8)](_0x9dc3ba)[_0x83331(0x198)](_0x4c3421=>this[_0x83331(0x1ae)](_0x4c3421));}[_0x17025e(0x19a)](){const _0x805505=_0x17025e;return this[_0x805505(0x176)][_0x805505(0x1bb)][_0x805505(0x1a8)](_0x805505(0x19d));}[_0x17025e(0x1c0)](){const _0x5701fe=_0x17025e;return this[_0x5701fe(0x176)][_0x5701fe(0x1bb)][_0x5701fe(0x1a8)](_0x5701fe(0x1d1));}[_0x17025e(0x1ae)]({container:_0x1a7885,value:_0x33c15b,digits:_0x4555a1}){const _0x1c183d=_0x17025e,_0x379d18=_0x1a7885[_0x1c183d(0x196)](_0x1c183d(0x1c1)),_0x54d81c=_0x1a7885[_0x1c183d(0x196)](_0x1c183d(0x1c8)),_0x339425=Math[_0x1c183d(0x1b8)](_0x33c15b)+(_0x54d81c??0x1)-0x1;switch(_0x379d18){case _0x1c183d(0x1c4):return function(_0x37741e,_0x2db726){const _0x2d63bf=_0x1c183d;return String(_0x37741e)[_0x2d63bf(0x1af)](_0x2db726,'0');}(_0x339425,Math[_0x1c183d(0x1b4)](0x2,_0x4555a1));case _0x1c183d(0x172):case _0x1c183d(0x1a2):return M(_0x339425,!0x1);case _0x1c183d(0x1aa):case _0x1c183d(0x1d6):return M(_0x339425,!0x0);case _0x1c183d(0x185):return V(_0x339425,!0x1);case _0x1c183d(0x177):return V(_0x339425,!0x0);default:return String(_0x339425);}}}function C(_0x20e185,_0xe62c30){const _0x3fd4b9=_0x17025e,_0x4c2994=_0xe62c30[_0x3fd4b9(0x19c)](_0x20e185);return Array[_0x3fd4b9(0x193)](_0x4c2994[_0x3fd4b9(0x18f)]())[_0x3fd4b9(0x180)](_0x33deba=>_0x33deba['is'](_0x3fd4b9(0x1a3),'ol')&&_0x33deba[_0x3fd4b9(0x1b5)](_0x3fd4b9(0x18a)));}function M(_0x4e960b,_0x214b78){const _0x4566a6=_0x17025e;let _0x51cec1='',_0x4e2c0a=_0x4e960b;for(;_0x4e2c0a>0x0;){const _0x4ce56e=(_0x4e2c0a-0x1)%0x1a;_0x51cec1=String[_0x4566a6(0x1bf)](0x61+_0x4ce56e)+_0x51cec1,_0x4e2c0a=Math[_0x4566a6(0x1b8)]((_0x4e2c0a-0x1)/0x1a);}return _0x214b78?_0x51cec1[_0x4566a6(0x1ac)]():_0x51cec1;}const N=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function V(_0x25ad0a,_0x2295ca){const _0x380ec3=_0x17025e;let _0xfade0c='',_0x21cad0=_0x25ad0a;for(const {value:_0x290a35,numeral:_0x3b7df1}of N)for(;_0x21cad0>=_0x290a35;)_0xfade0c+=_0x3b7df1,_0x21cad0-=_0x290a35;return _0x2295ca?_0xfade0c:_0xfade0c[_0x380ec3(0x1b0)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x6315da,ButtonView as _0x1bca05,ContextualBalloon as _0x1c0198,createDropdown as _0x104df4}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0xe2d940}from'ckeditor5/src/widget.js';import{Plugin as _0x1f8ebc}from'ckeditor5/src/core.js';import{IconFootnote as _0x120e8e,IconListStyleDecimal as _0x37c163,IconListStyleDecimalLeadingZero as _0x5b4313,IconListStyleLowerLatin as _0x473fcb,IconListStyleLowerRoman as _0x16551d,IconListStyleUpperLatin as _0x391a45,IconListStyleUpperRoman as _0x49ca0e}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x4d7cff}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x3b05b6}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1f8ebc{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1c0198,_0xe2d940];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x737766}=this,{componentFactory:_0x41f4b5}=_0x737766['ui'];_0x737766['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x41f4b5['add']('footnotesStyle',function(_0x140c51){return _0x3a842e=>{const {t:t}=_0x3a842e,_0x4af390=_0x140c51['commands']['get']('footnotesStyle'),_0x1f57b6=_0x104df4(_0x3a842e),{buttonView:_0x3d7c10}=_0x1f57b6;return _0x1f57b6['class']='ck-footnotes-styles-dropdown',_0x1f57b6['bind']('isEnabled')['to'](_0x4af390,'isEnabled'),_0x3d7c10['set']({'label':t('Footnotes\x20style'),'icon':_0x120e8e,'tooltip':!0x0}),_0x1f57b6['once']('change:isOpen',()=>{const _0x25d6b7=function({editor:_0x1dee43,dropdownView:_0x31bec1}){const {t:t}=_0x1dee43['locale'],_0x4f4b38=t('Footnotes\x20definitions\x20styles'),_0x444be7=function(_0x37c7b1){const t=_0x37c7b1['locale']['t'],_0xc13cf2=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x37c163},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5b4313},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x16551d},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x49ca0e},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x473fcb},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x391a45}];return _0xc13cf2['map'](function(_0x5b7490){const _0x3b742b=_0x5b7490['locale'];return({label:_0x20ecef,icon:_0x3ae766,tooltip:_0x31d5a3,style:_0x313276})=>{const _0x2b3367=_0x5b7490['commands']['get']('footnotesStyle'),_0x1c149c=new _0x1bca05(_0x3b742b);return _0x1c149c['set']({'label':_0x20ecef,'icon':_0x3ae766,'tooltip':_0x31d5a3}),_0x1c149c['bind']('isOn')['to'](_0x2b3367,'value',_0x4037b1=>_0x4037b1===_0x313276),_0x1c149c['bind']('isEnabled')['to'](_0x2b3367,'isEnabled'),_0x1c149c['on']('execute',()=>{_0x5b7490['execute']('footnotesStyle',{'value':_0x313276}),_0x5b7490['editing']['view']['focus']();}),_0x1c149c;};}(_0x37c7b1));}(_0x1dee43),_0x10343d=new _0x4d7cff(_0x1dee43['locale'],{'styleGridAriaLabel':_0x4f4b38,'styleButtonViews':_0x444be7});return _0x10343d['delegate']('execute')['to'](_0x31bec1),_0x10343d['on']('footnotesListStart',(_0x325dd3,_0x54183f)=>{_0x1dee43['execute']('footnotesStart',{'value':_0x54183f['startIndex']});}),_0x10343d;}({'editor':_0x140c51,'dropdownView':_0x1f57b6});_0x1f57b6['panelView']['children']['add'](_0x25d6b7);}),_0x1f57b6;};}(_0x737766));}['afterInit'](){const {editor:_0x1d46cc}=this,{t:t}=_0x1d46cc['locale'],_0x484015=_0x1d46cc['plugins']['get'](_0xe2d940),{defaultPositions:_0x193792}=_0x6315da;_0x484015['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1d46cc['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x38bba9=>{let _0x30e11c=_0x38bba9['getFirstPosition']()?.['parent'];return _0x30e11c?.['is']('$text')&&(_0x30e11c=_0x30e11c['parent']),_0x30e11c?.['is']('element')?_0x30e11c['findAncestor'](_0x3b05b6):null;},'positions':[_0x193792['southArrowNorth'],_0x193792['southArrowNorthMiddleWest'],_0x193792['southArrowNorthMiddleEast'],_0x193792['southArrowNorthWest'],_0x193792['southArrowNorthEast'],_0x193792['northArrowSouth'],_0x193792['northArrowSouthMiddleWest'],_0x193792['northArrowSouthMiddleEast'],_0x193792['northArrowSouthWest'],_0x193792['northArrowSouthEast'],_0x193792['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0xa8fb0e,ButtonView as _0x31bf7f,ContextualBalloon as _0x592670,createDropdown as _0x22037f}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x7c71b9}from'ckeditor5/src/widget.js';import{Plugin as _0x37e8b9}from'ckeditor5/src/core.js';import{IconFootnote as _0x5b27cb,IconListStyleDecimal as _0x15042e,IconListStyleDecimalLeadingZero as _0x139953,IconListStyleLowerLatin as _0xe0103e,IconListStyleLowerRoman as _0x33876b,IconListStyleUpperLatin as _0x17761b,IconListStyleUpperRoman as _0x130a49}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x4999dc}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x5118ff}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x37e8b9{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x592670,_0x7c71b9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x41d341}=this,{componentFactory:_0x4e72fb}=_0x41d341['ui'];_0x41d341['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4e72fb['add']('footnotesStyle',function(_0x6f120b){return _0x5d42dc=>{const {t:t}=_0x5d42dc,_0x2177e4=_0x6f120b['commands']['get']('footnotesStyle'),_0x397529=_0x22037f(_0x5d42dc),{buttonView:_0x402cd2}=_0x397529;return _0x397529['class']='ck-footnotes-styles-dropdown',_0x397529['bind']('isEnabled')['to'](_0x2177e4,'isEnabled'),_0x402cd2['set']({'label':t('Footnotes\x20style'),'icon':_0x5b27cb,'tooltip':!0x0}),_0x397529['once']('change:isOpen',()=>{const _0x438523=function({editor:_0x580c6f,dropdownView:_0x2fe759}){const {t:t}=_0x580c6f['locale'],_0x8885c1=t('Footnotes\x20definitions\x20styles'),_0x1d7fc8=function(_0x1c69c4){const t=_0x1c69c4['locale']['t'],_0x2661c3=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x15042e},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x139953},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x33876b},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x130a49},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xe0103e},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x17761b}];return _0x2661c3['map'](function(_0x522fff){const _0x44e3c6=_0x522fff['locale'];return({label:_0x258090,icon:_0x3a4eef,tooltip:_0x49eadd,style:_0x4e7d17})=>{const _0x363195=_0x522fff['commands']['get']('footnotesStyle'),_0x132790=new _0x31bf7f(_0x44e3c6);return _0x132790['set']({'label':_0x258090,'icon':_0x3a4eef,'tooltip':_0x49eadd}),_0x132790['bind']('isOn')['to'](_0x363195,'value',_0x2e3a3d=>_0x2e3a3d===_0x4e7d17),_0x132790['bind']('isEnabled')['to'](_0x363195,'isEnabled'),_0x132790['on']('execute',()=>{_0x522fff['execute']('footnotesStyle',{'value':_0x4e7d17}),_0x522fff['editing']['view']['focus']();}),_0x132790;};}(_0x1c69c4));}(_0x580c6f),_0x81b4cd=new _0x4999dc(_0x580c6f['locale'],{'styleGridAriaLabel':_0x8885c1,'styleButtonViews':_0x1d7fc8});return _0x81b4cd['delegate']('execute')['to'](_0x2fe759),_0x81b4cd['on']('footnotesListStart',(_0x8d69f8,_0x4b6603)=>{_0x580c6f['execute']('footnotesStart',{'value':_0x4b6603['startIndex']});}),_0x81b4cd;}({'editor':_0x6f120b,'dropdownView':_0x397529});_0x397529['panelView']['children']['add'](_0x438523);}),_0x397529;};}(_0x41d341));}['afterInit'](){const {editor:_0x393d60}=this,{t:t}=_0x393d60['locale'],_0x185add=_0x393d60['plugins']['get'](_0x7c71b9),{defaultPositions:_0x5ce391}=_0xa8fb0e;_0x185add['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x393d60['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4d6569=>{let _0x239fda=_0x4d6569['getFirstPosition']()?.['parent'];return _0x239fda?.['is']('$text')&&(_0x239fda=_0x239fda['parent']),_0x239fda?.['is']('element')?_0x239fda['findAncestor'](_0x5118ff):null;},'positions':[_0x5ce391['southArrowNorth'],_0x5ce391['southArrowNorthMiddleWest'],_0x5ce391['southArrowNorthMiddleEast'],_0x5ce391['southArrowNorthWest'],_0x5ce391['southArrowNorthEast'],_0x5ce391['northArrowSouth'],_0x5ce391['northArrowSouthMiddleWest'],_0x5ce391['northArrowSouthMiddleEast'],_0x5ce391['northArrowSouthWest'],_0x5ce391['northArrowSouthEast'],_0x5ce391['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x493e97,View as _0x24ab97,ViewCollection as _0x42a45e,FocusCycler as _0xf1bbab,addKeyboardHandlingForGrid as _0x2f56c4,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 _0x24ab97{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x42a45e();['focusCycler'];constructor(_0x3a297b,{styleButtonViews:_0x88a005,styleGridAriaLabel:_0x5224cc}){super(_0x3a297b),(this['focusCycler']=new _0xf1bbab({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x88a005,_0x5224cc),[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 _0x10b629 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x10b629['element']);_0x2f56c4({'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 _0x11f00c=_0x59e2ce=>_0x59e2ce['stopPropagation']();this['keystrokes']['set']('arrowright',_0x11f00c),this['keystrokes']['set']('arrowleft',_0x11f00c),this['keystrokes']['set']('arrowup',_0x11f00c),this['keystrokes']['set']('arrowdown',_0x11f00c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x13bfc8,_0x3579e8){const _0x204a03=new _0x24ab97(this['locale']);return _0x204a03['children']=_0x204a03['createCollection'](),_0x204a03['children']['addMany'](_0x13bfc8),_0x204a03['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3579e8,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x204a03['children']}),_0x204a03['children']['delegate']('execute')['to'](this),_0x204a03['focus']=function(){for(const _0x49968e of this['children'])if(_0x49968e instanceof _0x493e97&&_0x49968e['isOn'])return void _0x49968e['focus']();this['children']['first']['focus']();},_0x204a03['focusTracker']=new et(),_0x204a03['keystrokes']=new ot(),_0x204a03['render'](),_0x204a03['keystrokes']['listenTo'](_0x204a03['element']),this['children']['add'](_0x204a03),_0x204a03;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x406863=this['_createStartIndexPropertyView'](),_0x462e16=[_0x406863],_0x4350a2=new tt(this['locale'],_0x462e16);return _0x4350a2['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x4350a2['buttonView']['bind']('isEnabled')['toMany'](_0x462e16,'isEnabled',(..._0x2aa19a)=>_0x2aa19a['some'](_0x38931e=>_0x38931e)),_0x4350a2['buttonView']['on']('change:isEnabled',(_0x1fa5e2,_0x477443,_0x59d1a9)=>{_0x59d1a9||(_0x4350a2['isCollapsed']=!0x0);}),this['children']['add'](_0x4350a2),[_0x406863,_0x4350a2];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x13162a=new st(this['locale'],it);return _0x13162a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x13162a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x13162a['fieldView']['on']('input',()=>{const _0x2f4da4=_0x13162a['fieldView']['element'],_0x14e24e=_0x2f4da4['valueAsNumber'];Number['isNaN'](_0x14e24e)?_0x13162a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2f4da4['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x14e24e}):_0x13162a['errorText']=t(_0x14e24e<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x13162a;}}
23
+ import{ButtonView as _0x4a6734,View as _0x1f4843,ViewCollection as _0x1767df,FocusCycler as _0x5ed5c0,addKeyboardHandlingForGrid as _0x95cead,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 _0x1f4843{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x1767df();['focusCycler'];constructor(_0x4bdfd5,{styleButtonViews:_0x3e4baa,styleGridAriaLabel:_0x3964a5}){super(_0x4bdfd5),(this['focusCycler']=new _0x5ed5c0({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3e4baa,_0x3964a5),[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 _0x3a0368 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3a0368['element']);_0x95cead({'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 _0x319dac=_0x295ffe=>_0x295ffe['stopPropagation']();this['keystrokes']['set']('arrowright',_0x319dac),this['keystrokes']['set']('arrowleft',_0x319dac),this['keystrokes']['set']('arrowup',_0x319dac),this['keystrokes']['set']('arrowdown',_0x319dac);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5b464a,_0x10dd3e){const _0x47bd43=new _0x1f4843(this['locale']);return _0x47bd43['children']=_0x47bd43['createCollection'](),_0x47bd43['children']['addMany'](_0x5b464a),_0x47bd43['setTemplate']({'tag':'div','attributes':{'aria-label':_0x10dd3e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x47bd43['children']}),_0x47bd43['children']['delegate']('execute')['to'](this),_0x47bd43['focus']=function(){for(const _0x4bf220 of this['children'])if(_0x4bf220 instanceof _0x4a6734&&_0x4bf220['isOn'])return void _0x4bf220['focus']();this['children']['first']['focus']();},_0x47bd43['focusTracker']=new et(),_0x47bd43['keystrokes']=new ot(),_0x47bd43['render'](),_0x47bd43['keystrokes']['listenTo'](_0x47bd43['element']),this['children']['add'](_0x47bd43),_0x47bd43;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3e34b5=this['_createStartIndexPropertyView'](),_0x474798=[_0x3e34b5],_0x2ca828=new tt(this['locale'],_0x474798);return _0x2ca828['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2ca828['buttonView']['bind']('isEnabled')['toMany'](_0x474798,'isEnabled',(..._0x16c510)=>_0x16c510['some'](_0x3c67b0=>_0x3c67b0)),_0x2ca828['buttonView']['on']('change:isEnabled',(_0x21ee9f,_0x43bc2d,_0x47a7d9)=>{_0x47a7d9||(_0x2ca828['isCollapsed']=!0x0);}),this['children']['add'](_0x2ca828),[_0x3e34b5,_0x2ca828];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x223644=new st(this['locale'],it);return _0x223644['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x223644['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x223644['fieldView']['on']('input',()=>{const _0x3f6148=_0x223644['fieldView']['element'],_0x6f49f0=_0x3f6148['valueAsNumber'];Number['isNaN'](_0x6f49f0)?_0x223644['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3f6148['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x6f49f0}):_0x223644['errorText']=t(_0x6f49f0<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x223644;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5ac2(){var _0x26e4b8=['1670978HPGuLs','4273445RkCMWf','requires','400337YBwvFV','2731127hlnBTq','isPremiumPlugin','isOfficialPlugin','pluginName','6172812maJEKC','11709224lRJxDS','542208CEAKgP','8WAaJSi','FootnotesProperties'];_0x5ac2=function(){return _0x26e4b8;};return _0x5ac2();}var _0x444bbd=_0x3532;(function(_0x57ce6a,_0x462488){var _0x3d28e3=_0x3532,_0x9dd74f=_0x57ce6a();while(!![]){try{var _0x38548e=-parseInt(_0x3d28e3(0x1a1))/0x1+-parseInt(_0x3d28e3(0x19e))/0x2+-parseInt(_0x3d28e3(0x1a8))/0x3*(-parseInt(_0x3d28e3(0x1a9))/0x4)+parseInt(_0x3d28e3(0x19f))/0x5+-parseInt(_0x3d28e3(0x1a6))/0x6+parseInt(_0x3d28e3(0x1a2))/0x7+parseInt(_0x3d28e3(0x1a7))/0x8;if(_0x38548e===_0x462488)break;else _0x9dd74f['push'](_0x9dd74f['shift']());}catch(_0x438a63){_0x9dd74f['push'](_0x9dd74f['shift']());}}}(_0x5ac2,0xc49e3));import{Plugin as _0x1a915f}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x14cc2a}from'./footnotesproperties/footnotespropertiesediting.js';function _0x3532(_0x4644a2,_0x5be833){var _0x5ac208=_0x5ac2();return _0x3532=function(_0x353258,_0x31db2a){_0x353258=_0x353258-0x19e;var _0x4c57fe=_0x5ac208[_0x353258];return _0x4c57fe;},_0x3532(_0x4644a2,_0x5be833);}import{FootnotesPropertiesUI as _0x3734a8}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x1a915f{static get[_0x444bbd(0x1a5)](){var _0x35f3ba=_0x444bbd;return _0x35f3ba(0x1aa);}static get[_0x444bbd(0x1a0)](){return[_0x14cc2a,_0x3734a8];}static get[_0x444bbd(0x1a4)](){return!0x0;}static get[_0x444bbd(0x1a3)](){return!0x0;}}
23
+ var _0x33ae9c=_0x325b;(function(_0x2392e0,_0x2884b5){var _0x57db68=_0x325b,_0x2661ff=_0x2392e0();while(!![]){try{var _0x5d4f73=parseInt(_0x57db68(0x199))/0x1*(-parseInt(_0x57db68(0x1a3))/0x2)+-parseInt(_0x57db68(0x198))/0x3+parseInt(_0x57db68(0x197))/0x4*(-parseInt(_0x57db68(0x1a1))/0x5)+-parseInt(_0x57db68(0x19f))/0x6+-parseInt(_0x57db68(0x1a5))/0x7+parseInt(_0x57db68(0x1a0))/0x8+-parseInt(_0x57db68(0x1a2))/0x9*(-parseInt(_0x57db68(0x1a4))/0xa);if(_0x5d4f73===_0x2884b5)break;else _0x2661ff['push'](_0x2661ff['shift']());}catch(_0xe11005){_0x2661ff['push'](_0x2661ff['shift']());}}}(_0x4ba8,0x65fa4));import{Plugin as _0x332bc3}from'ckeditor5/src/core.js';function _0x325b(_0x2220fc,_0x7025e3){var _0x4ba89c=_0x4ba8();return _0x325b=function(_0x325b08,_0x12d65f){_0x325b08=_0x325b08-0x197;var _0x56f809=_0x4ba89c[_0x325b08];return _0x56f809;},_0x325b(_0x2220fc,_0x7025e3);}import{FootnotesPropertiesEditing as _0x2dd4fd}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x180ce3}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x332bc3{static get[_0x33ae9c(0x19e)](){var _0x563b16=_0x33ae9c;return _0x563b16(0x19a);}static get[_0x33ae9c(0x19c)](){return[_0x2dd4fd,_0x180ce3];}static get[_0x33ae9c(0x19d)](){return!0x0;}static get[_0x33ae9c(0x19b)](){return!0x0;}}function _0x4ba8(){var _0x5e9d3e=['pluginName','922500AfRjAV','3008272bFzZMf','760FrQpMR','9513UVjPLI','1376ABISpO','17740juDQUn','5412715xDzLYJ','3264WaAFif','727035pnjjDY','785ULbIif','FootnotesProperties','isPremiumPlugin','requires','isOfficialPlugin'];_0x4ba8=function(){return _0x5e9d3e;};return _0x4ba8();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4efbbc=_0x130d;(function(_0x360e4d,_0x121246){const _0x1f4610=_0x130d,_0x6eaa08=_0x360e4d();while(!![]){try{const _0x38674f=parseInt(_0x1f4610(0x201))/0x1*(-parseInt(_0x1f4610(0x1ca))/0x2)+parseInt(_0x1f4610(0x1b7))/0x3+parseInt(_0x1f4610(0x1e8))/0x4*(-parseInt(_0x1f4610(0x1fe))/0x5)+parseInt(_0x1f4610(0x1d4))/0x6*(parseInt(_0x1f4610(0x1bf))/0x7)+parseInt(_0x1f4610(0x1db))/0x8+parseInt(_0x1f4610(0x1e4))/0x9*(-parseInt(_0x1f4610(0x1ac))/0xa)+-parseInt(_0x1f4610(0x19e))/0xb*(-parseInt(_0x1f4610(0x1dd))/0xc);if(_0x38674f===_0x121246)break;else _0x6eaa08['push'](_0x6eaa08['shift']());}catch(_0x134769){_0x6eaa08['push'](_0x6eaa08['shift']());}}}(_0x9659,0x316c8));function _0x9659(){const _0xb48cfc=['_footnotes','footnoteId','$graveyard','_footnoteRefsTracker','createRangeIn','min','push','createElement','234iqUkOn','get','listenTo','_footnoteDefsContainerTracker','_insertEmptyFootnotesDefinitionsContainer','_ensureFootnotesReferencesHaveProperOrder','_handleMovedFootnoteReference','300480WssQWH','FootnotesTracker','180weXaEz','change:data','high','after','_handleFootnoteReferencesChanges','_ensureFootnotesDefinitionsContainerExists','_handleInsertedFootnoteReference','9UhdHPY','setAttribute','add','getChanges','1064geMKxt','getChildren','some','editor','_updateFootnotesCounters','singleton','differ','append','end','init','createPositionBefore','reference','parent','_footnotesDefinitions','definition','footnoteRef','getFootnotesDefinitionsObjectElement','childCount','getFootnotesFormatter','isOfficialPlugin','footnoteDefinition','map','440FXKqto','splice','indexOf','115601TxYBic','move','getFootnotes','pluginName','22297XYizjc','compareWith','createRangeOn','unshift','getFootnote','_footnoteFormatter','enqueueChange','paragraph','_sortFootnoteDefinitions','setFootnoteFormatter','isPremiumPlugin','from','footnoteCounter','has','1073110mgkLUF','_handleFootnotesDefinitionsObjectChanges','config','find','_handleFootnoteDefinitionsChanges','document','createPositionAt','_updateFootnoteRefCounter','_handleFootnotesDefinitionsObjectSync','set','getRootNames','819231RQNhmS','isEqual','rootName','findIndex','root','footnoteInlineContent','registerPostFixer','length','19334yaxvvx','before','model','insert','_handleRemoveFootnoteReferenceById','reset','footnotes.multiBlock','low','remove','getAttribute','_footnoteDefsTracker','2PNTqeV','footnotesDefinitions'];_0x9659=function(){return _0xb48cfc;};return _0x9659();}import{Plugin as _0x1b4bd3}from'ckeditor5/src/core.js';function _0x130d(_0xe327d4,_0x577290){const _0x9659df=_0x9659();return _0x130d=function(_0x130d69,_0x2e2124){_0x130d69=_0x130d69-0x19c;let _0x1d977a=_0x9659df[_0x130d69];return _0x1d977a;},_0x130d(_0xe327d4,_0x577290);}import{ModelElementTracker as _0x5805e2}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1b4bd3{[_0x4efbbc(0x1cc)]=[];[_0x4efbbc(0x1f5)]=null;[_0x4efbbc(0x1a3)]=null;[_0x4efbbc(0x1d7)];[_0x4efbbc(0x1cf)];[_0x4efbbc(0x1c9)];static get[_0x4efbbc(0x19d)](){const _0x295dfa=_0x4efbbc;return _0x295dfa(0x1dc);}static get[_0x4efbbc(0x1fb)](){return!0x0;}static get[_0x4efbbc(0x1a8)](){return!0x0;}constructor(_0x5ac5f7){const _0x118bd5=_0x4efbbc;super(_0x5ac5f7),this[_0x118bd5(0x1d7)]=new _0x5805e2(this[_0x118bd5(0x1eb)][_0x118bd5(0x1c1)],{'elementName':_0x118bd5(0x1cb),'getElementKey':()=>_0x118bd5(0x1ed)}),this[_0x118bd5(0x1cf)]=new _0x5805e2(this[_0x118bd5(0x1eb)][_0x118bd5(0x1c1)],{'elementName':_0x118bd5(0x1f7),'getElementKey':_0x2fd074=>_0x2fd074[_0x118bd5(0x1c8)](_0x118bd5(0x1cd))}),this[_0x118bd5(0x1c9)]=new _0x5805e2(this[_0x118bd5(0x1eb)][_0x118bd5(0x1c1)],{'elementName':_0x118bd5(0x1fc),'getElementKey':_0xe532dc=>_0xe532dc[_0x118bd5(0x1c8)](_0x118bd5(0x1cd))});}[_0x4efbbc(0x1f1)](){const _0x42e2b8=_0x4efbbc,{editor:_0x496964}=this,{model:_0x5c8303,data:_0x30cf09}=_0x496964;_0x5c8303[_0x42e2b8(0x1b1)][_0x42e2b8(0x1bd)](_0x58c8a2=>{const _0x465c72=_0x42e2b8,_0x278e8d=_0x5c8303[_0x465c72(0x1b1)][_0x465c72(0x1ee)][_0x465c72(0x1e7)]();let _0x4bd572=!0x1;return this[_0x465c72(0x1ad)](_0x58c8a2,_0x278e8d)&&(_0x4bd572=!0x0),this[_0x465c72(0x1b0)](_0x58c8a2,_0x278e8d)&&(_0x4bd572=!0x0),this[_0x465c72(0x1e1)](_0x58c8a2,_0x278e8d)&&(_0x4bd572=!0x0),this[_0x465c72(0x1d9)](_0x58c8a2)&&(_0x4bd572=!0x0),this[_0x465c72(0x1b4)](_0x58c8a2)&&(_0x4bd572=!0x0),this[_0x465c72(0x1a6)](_0x58c8a2)&&(_0x4bd572=!0x0),_0x4bd572;}),this[_0x42e2b8(0x1d6)](_0x5c8303[_0x42e2b8(0x1b1)],_0x42e2b8(0x1de),()=>{const _0x3eab30=_0x42e2b8;_0x5c8303[_0x3eab30(0x1a4)]({'isUndoable':!0x1},_0x30835e=>{const _0x59d711=_0x3eab30;this[_0x59d711(0x1e2)](_0x30835e);});},{'priority':_0x42e2b8(0x1c6)}),this[_0x42e2b8(0x1d6)](_0x30cf09,_0x42e2b8(0x1b5),()=>{const _0x14d5c1=_0x42e2b8;this[_0x14d5c1(0x1cc)]=[],this[_0x14d5c1(0x1d7)][_0x14d5c1(0x1c4)](),this[_0x14d5c1(0x1cf)][_0x14d5c1(0x1c4)](),this[_0x14d5c1(0x1c9)][_0x14d5c1(0x1c4)]();},{'priority':_0x42e2b8(0x1df)});}[_0x4efbbc(0x1f8)](){const _0x582cdc=_0x4efbbc;return this[_0x582cdc(0x1f5)];}[_0x4efbbc(0x1a2)](_0x40eb18){const _0x40fc6c=_0x4efbbc;return this[_0x40fc6c(0x1cc)][_0x40fc6c(0x1af)](_0x584dd4=>_0x584dd4['id']===_0x40eb18)||null;}[_0x4efbbc(0x19c)](){const _0x390baa=_0x4efbbc;return Array[_0x390baa(0x1a9)](this[_0x390baa(0x1cc)]);}[_0x4efbbc(0x1fa)](){const _0x2833ca=_0x4efbbc;return this[_0x2833ca(0x1a3)];}[_0x4efbbc(0x1a7)](_0x22c312){const _0x2be774=_0x4efbbc;this[_0x2be774(0x1a3)]=_0x22c312;}[_0x4efbbc(0x1ec)](_0x53e804,_0xd14b55=0x0){const _0x5e9e71=_0x4efbbc;let _0x3855c9=!0x1;for(let _0x426f1b=_0xd14b55;_0x426f1b<this[_0x5e9e71(0x1cc)][_0x5e9e71(0x1be)];_0x426f1b++)this[_0x5e9e71(0x1b3)](_0x53e804,_0x426f1b)&&(_0x3855c9=!0x0);return _0x3855c9;}[_0x4efbbc(0x1d8)](_0x46b620,_0x5531cc){const _0x4e3689=_0x4efbbc,_0x32dc35=_0x46b620[_0x4e3689(0x1d3)](_0x4e3689(0x1cb),{});return _0x46b620[_0x4e3689(0x1ef)](_0x32dc35,_0x5531cc),this[_0x4e3689(0x1f5)]=_0x32dc35,_0x32dc35;}[_0x4efbbc(0x1e2)](_0x59f65d){const _0x3afe46=_0x4efbbc;if(!this[_0x3afe46(0x1cc)][_0x3afe46(0x1be)]||this[_0x3afe46(0x1f5)])return;const _0x105e2e=this[_0x3afe46(0x1cc)][0x0][_0x3afe46(0x1f3)][_0x3afe46(0x1bb)],_0x26dcc7=this[_0x3afe46(0x1d8)](_0x59f65d,_0x105e2e);for(const _0x2b7cf1 of this[_0x3afe46(0x1cc)])_0x2b7cf1[_0x3afe46(0x1f6)][_0x3afe46(0x1f4)]||_0x59f65d[_0x3afe46(0x1c2)](_0x2b7cf1[_0x3afe46(0x1f6)],_0x26dcc7,_0x3afe46(0x1f0));this[_0x3afe46(0x1ec)](_0x59f65d);}[_0x4efbbc(0x1ad)](_0x1ce15a,_0x87edcf){const _0x117f1a=_0x4efbbc;let _0x26b709=!0x1;const {inserted:_0x235a07,removed:_0x4b44bc,moved:_0x3de304}=this[_0x117f1a(0x1d7)][_0x117f1a(0x1e7)](_0x87edcf);if(_0x3de304[_0x117f1a(0x1be)]&&(this[_0x117f1a(0x1f5)]=_0x3de304[0x0]),_0x235a07[_0x117f1a(0x1be)]){if(_0x235a07[_0x117f1a(0x1be)]>0x1||this[_0x117f1a(0x1f5)]&&_0x235a07[_0x117f1a(0x1ea)](_0xbb6ebf=>_0xbb6ebf!==this[_0x117f1a(0x1f5)])){const _0x4d943d=_0x1ce15a[_0x117f1a(0x1d3)](_0x117f1a(0x1cb),{}),_0x140623=[];this[_0x117f1a(0x1f5)]&&_0x140623[_0x117f1a(0x1d2)](this[_0x117f1a(0x1f5)]),_0x140623[_0x117f1a(0x1d2)](..._0x235a07),_0x1ce15a[_0x117f1a(0x1c2)](_0x4d943d,_0x140623[0x0],_0x117f1a(0x1c0));for(const _0x3a24f4 of _0x140623)_0x1ce15a[_0x117f1a(0x202)](_0x1ce15a[_0x117f1a(0x1d0)](_0x3a24f4),_0x1ce15a[_0x117f1a(0x1b2)](_0x4d943d,_0x117f1a(0x1f0))),_0x1ce15a[_0x117f1a(0x1c7)](_0x3a24f4);this[_0x117f1a(0x1f5)]=_0x4d943d,this[_0x117f1a(0x1ec)](_0x1ce15a),_0x26b709=!0x0;}else this[_0x117f1a(0x1f5)]=_0x235a07[0x0];}if(_0x4b44bc[_0x117f1a(0x1be)]&&_0x117f1a(0x1ce)===this[_0x117f1a(0x1f5)]?.[_0x117f1a(0x1bb)][_0x117f1a(0x1b9)]){for(const _0x1a3d2f of this[_0x117f1a(0x1cc)])_0x1ce15a[_0x117f1a(0x1c7)](_0x1a3d2f[_0x117f1a(0x1f3)]),_0x26b709=!0x0;this[_0x117f1a(0x1cc)]=[],this[_0x117f1a(0x1f5)]=null;}return _0x26b709;}[_0x4efbbc(0x1b0)](_0xebe0ec,_0x30bb77){const _0x474a4d=_0x4efbbc;let _0x1e26fd=!0x1;const _0x290d95=this[_0x474a4d(0x1eb)][_0x474a4d(0x1ae)][_0x474a4d(0x1d5)](_0x474a4d(0x1c5)),{inserted:_0xaac948,moved:_0x4cffad}=this[_0x474a4d(0x1c9)][_0x474a4d(0x1e7)](_0x30bb77);for(const _0x59eaca of[..._0x4cffad,..._0xaac948]){const _0x3f78de=_0x59eaca[_0x474a4d(0x1c8)](_0x474a4d(0x1cd)),_0x4f83d3=this[_0x474a4d(0x1a2)](_0x3f78de);_0x4f83d3&&(_0x4f83d3[_0x474a4d(0x1f6)]=_0x59eaca),_(_0xebe0ec,_0x290d95,_0x59eaca)&&(_0x1e26fd=!0x0);}return _0x1e26fd;}[_0x4efbbc(0x1e1)](_0x156d36,_0xcb7363){const _0x180f01=_0x4efbbc;let _0x26f9c6=!0x1;const {removed:_0x2bc768,inserted:_0x48f242,moved:_0x3e03b6}=this[_0x180f01(0x1cf)][_0x180f01(0x1e7)](_0xcb7363);for(const _0x4825e4 of _0x2bc768)this[_0x180f01(0x1c3)](_0x156d36,_0x4825e4)&&(_0x26f9c6=!0x0);for(const _0x4c36f7 of _0x48f242)this[_0x180f01(0x1e3)](_0x156d36,_0x4c36f7)&&(_0x26f9c6=!0x0);for(const _0x3be0ac of _0x3e03b6)this[_0x180f01(0x1da)](_0x156d36,_0x3be0ac)&&(_0x26f9c6=!0x0);return _0x26f9c6;}[_0x4efbbc(0x1b4)](_0x429e8b){const _0x47ee3f=_0x4efbbc;if(!this[_0x47ee3f(0x1f5)])return!0x1;let _0x2df657=!0x1;if(this[_0x47ee3f(0x1f5)][_0x47ee3f(0x1f9)]!==this[_0x47ee3f(0x1cc)][_0x47ee3f(0x1be)]){const _0x1acbf3=[];for(const _0x9e80b6 of this[_0x47ee3f(0x1f5)][_0x47ee3f(0x1e9)]()){const _0x626d56=_0x9e80b6[_0x47ee3f(0x1c8)](_0x47ee3f(0x1cd));this[_0x47ee3f(0x1a2)](_0x626d56)||(_0x1acbf3[_0x47ee3f(0x1a1)](_0x9e80b6),_0x2df657=!0x0);}for(const _0x81531a of _0x1acbf3)_0x429e8b[_0x47ee3f(0x1c7)](_0x81531a);}const _0x14e05d=new Set(),_0x244f8a=[];for(const _0x5e7953 of this[_0x47ee3f(0x1f5)][_0x47ee3f(0x1e9)]()){const _0x317113=_0x5e7953[_0x47ee3f(0x1c8)](_0x47ee3f(0x1cd));_0x14e05d[_0x47ee3f(0x1ab)](_0x317113)?(_0x244f8a[_0x47ee3f(0x1a1)](_0x5e7953),_0x2df657=!0x0):_0x14e05d[_0x47ee3f(0x1e6)](_0x317113);}for(const _0xb49acb of _0x244f8a)_0x429e8b[_0x47ee3f(0x1c7)](_0xb49acb);return this[_0x47ee3f(0x1f5)][_0x47ee3f(0x1f9)]||(_0x429e8b[_0x47ee3f(0x1c7)](this[_0x47ee3f(0x1f5)]),this[_0x47ee3f(0x1f5)]=null,_0x2df657=!0x0),_0x2df657;}[_0x4efbbc(0x1e3)](_0x31735c,_0x55d833){const _0x323c71=_0x4efbbc;if(this[_0x323c71(0x1cc)][_0x323c71(0x1af)](_0x4a5e81=>_0x4a5e81[_0x323c71(0x1f3)]===_0x55d833))return!0x1;let _0x25c1fa=!0x1;const _0x3aea0a=_0x55d833[_0x323c71(0x1c8)](_0x323c71(0x1cd)),_0x352d6b=this[_0x323c71(0x1cc)][_0x323c71(0x1ba)](_0x396651=>_0x396651['id']===_0x3aea0a);-0x1!==_0x352d6b&&(_0x31735c[_0x323c71(0x1c7)](this[_0x323c71(0x1cc)][_0x352d6b][_0x323c71(0x1f3)]),this[_0x323c71(0x1cc)][_0x323c71(0x1ff)](_0x352d6b,0x1),_0x25c1fa=!0x0);let _0x1c83e6=this[_0x323c71(0x1f5)]?function(_0x1cb90f,_0x86c161){const _0xead029=_0x323c71;for(const _0x1171fb of _0x1cb90f[_0xead029(0x1e9)]())if(_0x1171fb[_0xead029(0x1c8)](_0xead029(0x1cd))===_0x86c161)return _0x1171fb;return null;}(this[_0x323c71(0x1f5)],_0x3aea0a):null;_0x1c83e6||(_0x1c83e6=_0x31735c[_0x323c71(0x1d3)](_0x323c71(0x1fc),{'footnoteId':_0x3aea0a}),this[_0x323c71(0x1f5)]&&(_0x31735c[_0x323c71(0x1c2)](_0x1c83e6,this[_0x323c71(0x1f5)],_0x323c71(0x1f0)),_0x25c1fa=!0x0));const _0x3ec6a4={'id':_0x3aea0a,'reference':_0x55d833,'definition':_0x1c83e6},_0x58fbe5=I(this[_0x323c71(0x1eb)][_0x323c71(0x1c1)],this[_0x323c71(0x1cc)],_0x55d833);this[_0x323c71(0x1cc)][_0x323c71(0x1ff)](_0x58fbe5,0x0,_0x3ec6a4);let _0x1f54d8=_0x58fbe5;return-0x1!==_0x352d6b&&(_0x1f54d8=Math[_0x323c71(0x1d1)](_0x58fbe5,_0x352d6b)),this[_0x323c71(0x1ec)](_0x31735c,_0x1f54d8)&&(_0x25c1fa=!0x0),_0x25c1fa;}[_0x4efbbc(0x1c3)](_0x30ad90,_0x27bea4){const _0x758a07=_0x4efbbc,_0x3696ca=this[_0x758a07(0x1cc)][_0x758a07(0x1ba)](_0x4c5386=>_0x4c5386['id']===_0x27bea4);if(-0x1===_0x3696ca)return!0x1;let _0x53441c=!0x1;const _0x38e418=this[_0x758a07(0x1cc)][_0x3696ca];return _0x758a07(0x1ce)!==_0x38e418[_0x758a07(0x1f6)][_0x758a07(0x1bb)][_0x758a07(0x1b9)]&&(_0x30ad90[_0x758a07(0x1c7)](_0x38e418[_0x758a07(0x1f6)]),_0x53441c=!0x0),this[_0x758a07(0x1cc)][_0x758a07(0x1ff)](_0x3696ca,0x1),this[_0x758a07(0x1ec)](_0x30ad90,_0x3696ca)&&(_0x53441c=!0x0),_0x53441c;}[_0x4efbbc(0x1da)](_0x353f61,_0x172b8b){const _0x431dce=_0x4efbbc,_0x4b45b6=_0x172b8b[_0x431dce(0x1c8)](_0x431dce(0x1cd)),_0x360949=this[_0x431dce(0x1cc)][_0x431dce(0x1ba)](_0xdb6ac4=>_0xdb6ac4['id']===_0x4b45b6),_0x2cd39c=this[_0x431dce(0x1cc)][_0x360949];let _0x251bb1=!0x1;_0x2cd39c[_0x431dce(0x1f3)]=_0x172b8b,this[_0x431dce(0x1cc)][_0x431dce(0x1ff)](_0x360949,0x1);const _0x1b4cd1=I(this[_0x431dce(0x1eb)][_0x431dce(0x1c1)],this[_0x431dce(0x1cc)],_0x172b8b);return this[_0x431dce(0x1cc)][_0x431dce(0x1ff)](_0x1b4cd1,0x0,_0x2cd39c),this[_0x431dce(0x1ec)](_0x353f61,Math[_0x431dce(0x1d1)](_0x360949,_0x1b4cd1))&&(_0x251bb1=!0x0),_0x251bb1;}[_0x4efbbc(0x1b3)](_0x550755,_0x28a140){const _0x5a78e2=_0x4efbbc;if(!this[_0x5a78e2(0x1f5)])return!0x1;const _0x623b73=this[_0x5a78e2(0x1cc)][_0x28a140];let _0x6d004d;return _0x6d004d=this[_0x5a78e2(0x1a3)]?this[_0x5a78e2(0x1a3)]({'footnote':_0x623b73,'container':this[_0x5a78e2(0x1f5)],'digits':String(this[_0x5a78e2(0x1cc)][_0x5a78e2(0x1be)])[_0x5a78e2(0x1be)],'value':_0x28a140+0x1}):String(_0x28a140+0x1),_0x623b73[_0x5a78e2(0x1f3)][_0x5a78e2(0x1c8)](_0x5a78e2(0x1aa))!=_0x6d004d&&(_0x550755[_0x5a78e2(0x1e5)](_0x5a78e2(0x1aa),_0x6d004d,_0x623b73[_0x5a78e2(0x1f3)]),!0x0);}[_0x4efbbc(0x1a6)](_0x23e8f7){const _0x50302a=_0x4efbbc;if(!this[_0x50302a(0x1f5)]||this[_0x50302a(0x1cc)][_0x50302a(0x1be)]<0x2)return!0x1;if(function(_0x2f940d,_0x2877b0){const _0x2bfe6a=_0x50302a;if(_0x2f940d[_0x2bfe6a(0x1be)]!==_0x2877b0[_0x2bfe6a(0x1be)])return!0x1;for(let _0x2cc818=0x0;_0x2cc818<_0x2f940d[_0x2bfe6a(0x1be)];_0x2cc818++)if(_0x2f940d[_0x2cc818]!==_0x2877b0[_0x2cc818])return!0x1;return!0x0;}(this[_0x50302a(0x1cc)][_0x50302a(0x1fd)](_0x484e6d=>_0x484e6d['id']),Array[_0x50302a(0x1a9)](this[_0x50302a(0x1f5)][_0x50302a(0x1e9)]())[_0x50302a(0x1fd)](_0x16a946=>_0x16a946[_0x50302a(0x1c8)](_0x50302a(0x1cd)))))return!0x1;let _0x474df7=!0x1;for(let _0x390727=0x0;_0x390727<this[_0x50302a(0x1cc)][_0x50302a(0x1be)];_0x390727++){const _0xa0e5fa=this[_0x50302a(0x1cc)][_0x390727],_0x58a240=_0x23e8f7[_0x50302a(0x1f2)](_0xa0e5fa[_0x50302a(0x1f6)]),_0x12b7b1=_0x23e8f7[_0x50302a(0x1b2)](this[_0x50302a(0x1f5)],_0x390727);_0x58a240[_0x50302a(0x1b8)](_0x12b7b1)||(_0x23e8f7[_0x50302a(0x202)](_0x23e8f7[_0x50302a(0x1a0)](_0xa0e5fa[_0x50302a(0x1f6)]),_0x12b7b1),_0x474df7=!0x0);}return _0x474df7;}[_0x4efbbc(0x1d9)](_0x5b43bd){const _0x35aeeb=_0x4efbbc;if(!this[_0x35aeeb(0x1cc)][_0x35aeeb(0x1be)])return!0x1;const {model:_0x2bd7fd}=this[_0x35aeeb(0x1eb)];let _0x45fd7f=!0x1;for(let _0x85eeda=0x0;_0x85eeda<this[_0x35aeeb(0x1cc)][_0x35aeeb(0x1be)]-0x1;_0x85eeda++){const _0x12cf09=this[_0x35aeeb(0x1cc)][_0x85eeda],_0x2c4e61=this[_0x35aeeb(0x1cc)][_0x85eeda+0x1],_0x56887b=_0x2bd7fd[_0x35aeeb(0x1f2)](_0x12cf09[_0x35aeeb(0x1f3)]),_0x5f5575=_0x2bd7fd[_0x35aeeb(0x1f2)](_0x2c4e61[_0x35aeeb(0x1f3)]);_0x35aeeb(0x1e0)===_0x56887b[_0x35aeeb(0x19f)](_0x5f5575)&&(this[_0x35aeeb(0x1da)](_0x5b43bd,_0x12cf09[_0x35aeeb(0x1f3)]),_0x85eeda=-0x1,_0x45fd7f=!0x0);}return _0x45fd7f;}}function _(_0x2c084e,_0x32b4ad,_0x41f15c){const _0x37bd3f=_0x4efbbc;if(_0x41f15c[_0x37bd3f(0x1f9)])return!0x1;const _0x3e766d=_0x32b4ad?_0x37bd3f(0x1a5):_0x37bd3f(0x1bc);return _0x2c084e[_0x37bd3f(0x1c2)](_0x2c084e[_0x37bd3f(0x1d3)](_0x3e766d),_0x41f15c),!0x0;}function I(_0x54b66b,_0x225f5a,_0x6d9d7b){const _0x4196aa=_0x4efbbc;if(0x0===_0x225f5a[_0x4196aa(0x1be)])return 0x0;const _0x4ccb43=_0x54b66b[_0x4196aa(0x1f2)](_0x6d9d7b);for(let _0x4b1b54=0x0;_0x4b1b54<_0x225f5a[_0x4196aa(0x1be)];_0x4b1b54++){const _0x4e6a4b=_0x225f5a[_0x4b1b54],_0xfac101=_0x54b66b[_0x4196aa(0x1f2)](_0x4e6a4b[_0x4196aa(0x1f3)]);if(_0x4196aa(0x1c0)===_0x4ccb43[_0x4196aa(0x19f)](_0xfac101))return _0x4b1b54;}const _0x131937=_0x6d9d7b[_0x4196aa(0x1bb)];let _0x404f92=-0x1;for(let _0x9d4fae=_0x225f5a[_0x4196aa(0x1be)]-0x1;_0x9d4fae>=0x0;_0x9d4fae--)if(_0x225f5a[_0x9d4fae][_0x4196aa(0x1f3)][_0x4196aa(0x1bb)]===_0x131937){_0x404f92=_0x9d4fae;break;}if(-0x1!==_0x404f92)return _0x404f92+0x1;const _0x309c4a=_0x54b66b[_0x4196aa(0x1b1)][_0x4196aa(0x1b6)](),_0x22223b=_0x309c4a[_0x4196aa(0x200)](_0x131937[_0x4196aa(0x1b9)]),_0xfc1453=_0x309c4a[_0x22223b+0x1];if(_0xfc1453){for(let _0x4a6dc7=0x0;_0x4a6dc7<_0x225f5a[_0x4196aa(0x1be)];_0x4a6dc7++)if(_0x225f5a[_0x4a6dc7][_0x4196aa(0x1f3)][_0x4196aa(0x1bb)][_0x4196aa(0x1b9)]===_0xfc1453)return _0x4a6dc7;}return _0x225f5a[_0x4196aa(0x1be)];}
23
+ const _0x37ad9a=_0x9256;function _0x542e(){const _0x190246=['from','_updateFootnotesCounters','differ','20ZpqAXD','compareWith','_handleFootnoteDefinitionsChanges','splice','has','config','$graveyard','model','_ensureFootnotesDefinitionsContainerExists','isEqual','2GmzgvA','_updateFootnoteRefCounter','createPositionBefore','listenTo','low','definition','after','745820hmlROX','getChanges','pluginName','indexOf','_footnotesDefinitions','getAttribute','2372388RZPkuw','getRootNames','_footnoteFormatter','_handleRemoveFootnoteReferenceById','high','footnoteInlineContent','footnoteRef','_handleFootnoteReferencesChanges','_footnotes','parent','end','set','getFootnote','editor','find','7oUXGUe','_footnoteRefsTracker','insert','footnoteCounter','before','root','6406992KopkGy','append','FootnotesTracker','enqueueChange','init','footnotes.multiBlock','_handleFootnotesDefinitionsObjectSync','findIndex','length','isPremiumPlugin','unshift','_insertEmptyFootnotesDefinitionsContainer','map','getFootnotesDefinitionsObjectElement','3760230eXcAcP','_handleFootnotesDefinitionsObjectChanges','_ensureFootnotesReferencesHaveProperOrder','footnotesDefinitions','reset','footnoteDefinition','_handleInsertedFootnoteReference','setAttribute','registerPostFixer','_footnoteDefsContainerTracker','_footnoteDefsTracker','4053714LziLFB','reference','rootName','_handleMovedFootnoteReference','paragraph','setFootnoteFormatter','change:data','get','remove','isOfficialPlugin','min','createRangeIn','2272936SOtZgc','createPositionAt','singleton','createElement','some','_sortFootnoteDefinitions','258168mtWVYy','add','footnoteId','push','getFootnotes','document','createRangeOn','move','getChildren','getFootnotesFormatter','childCount'];_0x542e=function(){return _0x190246;};return _0x542e();}(function(_0x1168fe,_0xaf310c){const _0x300364=_0x9256,_0x471f33=_0x1168fe();while(!![]){try{const _0x5ecd20=-parseInt(_0x300364(0xaf))/0x1+-parseInt(_0x300364(0xc7))/0x2*(-parseInt(_0x300364(0xd4))/0x3)+parseInt(_0x300364(0xbd))/0x4*(-parseInt(_0x300364(0xce))/0x5)+parseInt(_0x300364(0x9d))/0x6*(parseInt(_0x300364(0xe3))/0x7)+parseInt(_0x300364(0xa9))/0x8+-parseInt(_0x300364(0xe9))/0x9+parseInt(_0x300364(0x92))/0xa;if(_0x5ecd20===_0xaf310c)break;else _0x471f33['push'](_0x471f33['shift']());}catch(_0x636b80){_0x471f33['push'](_0x471f33['shift']());}}}(_0x542e,0x64437));import{Plugin as _0xb649d5}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x2db5be}from'./modelelementtracker.js';function _0x9256(_0xf91d94,_0x31e9e1){const _0x542ef3=_0x542e();return _0x9256=function(_0x9256b2,_0x157107){_0x9256b2=_0x9256b2-0x91;let _0x2982a7=_0x542ef3[_0x9256b2];return _0x2982a7;},_0x9256(_0xf91d94,_0x31e9e1);}export class FootnotesTracker extends _0xb649d5{[_0x37ad9a(0xdc)]=[];[_0x37ad9a(0xd2)]=null;[_0x37ad9a(0xd6)]=null;[_0x37ad9a(0x9b)];[_0x37ad9a(0xe4)];[_0x37ad9a(0x9c)];static get[_0x37ad9a(0xd0)](){const _0x52b903=_0x37ad9a;return _0x52b903(0xeb);}static get[_0x37ad9a(0xa6)](){return!0x0;}static get[_0x37ad9a(0xf2)](){return!0x0;}constructor(_0x5e0076){const _0x29ef5d=_0x37ad9a;super(_0x5e0076),this[_0x29ef5d(0x9b)]=new _0x2db5be(this[_0x29ef5d(0xe1)][_0x29ef5d(0xc4)],{'elementName':_0x29ef5d(0x95),'getElementKey':()=>_0x29ef5d(0xab)}),this[_0x29ef5d(0xe4)]=new _0x2db5be(this[_0x29ef5d(0xe1)][_0x29ef5d(0xc4)],{'elementName':_0x29ef5d(0xda),'getElementKey':_0x205880=>_0x205880[_0x29ef5d(0xd3)](_0x29ef5d(0xb1))}),this[_0x29ef5d(0x9c)]=new _0x2db5be(this[_0x29ef5d(0xe1)][_0x29ef5d(0xc4)],{'elementName':_0x29ef5d(0x97),'getElementKey':_0xf0d822=>_0xf0d822[_0x29ef5d(0xd3)](_0x29ef5d(0xb1))});}[_0x37ad9a(0xed)](){const _0x543135=_0x37ad9a,{editor:_0x322c85}=this,{model:_0x480fd4,data:_0x4a36e4}=_0x322c85;_0x480fd4[_0x543135(0xb4)][_0x543135(0x9a)](_0x1a212e=>{const _0x2c0237=_0x543135,_0x45c7d6=_0x480fd4[_0x2c0237(0xb4)][_0x2c0237(0xbc)][_0x2c0237(0xcf)]();let _0xd02abf=!0x1;return this[_0x2c0237(0x93)](_0x1a212e,_0x45c7d6)&&(_0xd02abf=!0x0),this[_0x2c0237(0xbf)](_0x1a212e,_0x45c7d6)&&(_0xd02abf=!0x0),this[_0x2c0237(0xdb)](_0x1a212e,_0x45c7d6)&&(_0xd02abf=!0x0),this[_0x2c0237(0x94)](_0x1a212e)&&(_0xd02abf=!0x0),this[_0x2c0237(0xef)](_0x1a212e)&&(_0xd02abf=!0x0),this[_0x2c0237(0xae)](_0x1a212e)&&(_0xd02abf=!0x0),_0xd02abf;}),this[_0x543135(0xca)](_0x480fd4[_0x543135(0xb4)],_0x543135(0xa3),()=>{const _0x2f78e6=_0x543135;_0x480fd4[_0x2f78e6(0xec)]({'isUndoable':!0x1},_0x366035=>{const _0x39e90e=_0x2f78e6;this[_0x39e90e(0xc5)](_0x366035);});},{'priority':_0x543135(0xcb)}),this[_0x543135(0xca)](_0x4a36e4,_0x543135(0xdf),()=>{const _0x2e7e2f=_0x543135;this[_0x2e7e2f(0xdc)]=[],this[_0x2e7e2f(0x9b)][_0x2e7e2f(0x96)](),this[_0x2e7e2f(0xe4)][_0x2e7e2f(0x96)](),this[_0x2e7e2f(0x9c)][_0x2e7e2f(0x96)]();},{'priority':_0x543135(0xd8)});}[_0x37ad9a(0x91)](){const _0x2b1af7=_0x37ad9a;return this[_0x2b1af7(0xd2)];}[_0x37ad9a(0xe0)](_0x4c50cc){const _0x123041=_0x37ad9a;return this[_0x123041(0xdc)][_0x123041(0xe2)](_0x52f201=>_0x52f201['id']===_0x4c50cc)||null;}[_0x37ad9a(0xb3)](){const _0x6ea099=_0x37ad9a;return Array[_0x6ea099(0xba)](this[_0x6ea099(0xdc)]);}[_0x37ad9a(0xb8)](){const _0x8e96ac=_0x37ad9a;return this[_0x8e96ac(0xd6)];}[_0x37ad9a(0xa2)](_0x44dd37){const _0x3b895e=_0x37ad9a;this[_0x3b895e(0xd6)]=_0x44dd37;}[_0x37ad9a(0xbb)](_0x2e663e,_0x5e7e7d=0x0){const _0x662c83=_0x37ad9a;let _0x80f50c=!0x1;for(let _0xdd55d3=_0x5e7e7d;_0xdd55d3<this[_0x662c83(0xdc)][_0x662c83(0xf1)];_0xdd55d3++)this[_0x662c83(0xc8)](_0x2e663e,_0xdd55d3)&&(_0x80f50c=!0x0);return _0x80f50c;}[_0x37ad9a(0xf4)](_0x348a94,_0x3936f2){const _0x2d2502=_0x37ad9a,_0x8e8364=_0x348a94[_0x2d2502(0xac)](_0x2d2502(0x95),{});return _0x348a94[_0x2d2502(0xea)](_0x8e8364,_0x3936f2),this[_0x2d2502(0xd2)]=_0x8e8364,_0x8e8364;}[_0x37ad9a(0xc5)](_0x43372f){const _0x1e0677=_0x37ad9a;if(!this[_0x1e0677(0xdc)][_0x1e0677(0xf1)]||this[_0x1e0677(0xd2)])return;const _0x112b25=this[_0x1e0677(0xdc)][0x0][_0x1e0677(0x9e)][_0x1e0677(0xe8)],_0x2a90be=this[_0x1e0677(0xf4)](_0x43372f,_0x112b25);for(const _0x4421b0 of this[_0x1e0677(0xdc)])_0x4421b0[_0x1e0677(0xcc)][_0x1e0677(0xdd)]||_0x43372f[_0x1e0677(0xe5)](_0x4421b0[_0x1e0677(0xcc)],_0x2a90be,_0x1e0677(0xde));this[_0x1e0677(0xbb)](_0x43372f);}[_0x37ad9a(0x93)](_0x35da51,_0x3634a4){const _0x4a6164=_0x37ad9a;let _0x407513=!0x1;const {inserted:_0x325ebe,removed:_0x6f2dc,moved:_0x26de8e}=this[_0x4a6164(0x9b)][_0x4a6164(0xcf)](_0x3634a4);if(_0x26de8e[_0x4a6164(0xf1)]&&(this[_0x4a6164(0xd2)]=_0x26de8e[0x0]),_0x325ebe[_0x4a6164(0xf1)]){if(_0x325ebe[_0x4a6164(0xf1)]>0x1||this[_0x4a6164(0xd2)]&&_0x325ebe[_0x4a6164(0xad)](_0x173a90=>_0x173a90!==this[_0x4a6164(0xd2)])){const _0x46af4d=_0x35da51[_0x4a6164(0xac)](_0x4a6164(0x95),{}),_0x3876d9=[];this[_0x4a6164(0xd2)]&&_0x3876d9[_0x4a6164(0xb2)](this[_0x4a6164(0xd2)]),_0x3876d9[_0x4a6164(0xb2)](..._0x325ebe),_0x35da51[_0x4a6164(0xe5)](_0x46af4d,_0x3876d9[0x0],_0x4a6164(0xe7));for(const _0xa2702b of _0x3876d9)_0x35da51[_0x4a6164(0xb6)](_0x35da51[_0x4a6164(0xa8)](_0xa2702b),_0x35da51[_0x4a6164(0xaa)](_0x46af4d,_0x4a6164(0xde))),_0x35da51[_0x4a6164(0xa5)](_0xa2702b);this[_0x4a6164(0xd2)]=_0x46af4d,this[_0x4a6164(0xbb)](_0x35da51),_0x407513=!0x0;}else this[_0x4a6164(0xd2)]=_0x325ebe[0x0];}if(_0x6f2dc[_0x4a6164(0xf1)]&&_0x4a6164(0xc3)===this[_0x4a6164(0xd2)]?.[_0x4a6164(0xe8)][_0x4a6164(0x9f)]){for(const _0x3c0dca of this[_0x4a6164(0xdc)])_0x35da51[_0x4a6164(0xa5)](_0x3c0dca[_0x4a6164(0x9e)]),_0x407513=!0x0;this[_0x4a6164(0xdc)]=[],this[_0x4a6164(0xd2)]=null;}return _0x407513;}[_0x37ad9a(0xbf)](_0x40658a,_0x38ec8c){const _0x3cae10=_0x37ad9a;let _0x521635=!0x1;const _0x53bc89=this[_0x3cae10(0xe1)][_0x3cae10(0xc2)][_0x3cae10(0xa4)](_0x3cae10(0xee)),{inserted:_0x29240d,moved:_0x13f4fe}=this[_0x3cae10(0x9c)][_0x3cae10(0xcf)](_0x38ec8c);for(const _0x4c1e47 of[..._0x13f4fe,..._0x29240d]){const _0x1cd82e=_0x4c1e47[_0x3cae10(0xd3)](_0x3cae10(0xb1)),_0x1cf09f=this[_0x3cae10(0xe0)](_0x1cd82e);_0x1cf09f&&(_0x1cf09f[_0x3cae10(0xcc)]=_0x4c1e47),_(_0x40658a,_0x53bc89,_0x4c1e47)&&(_0x521635=!0x0);}return _0x521635;}[_0x37ad9a(0xdb)](_0x38e3ea,_0x5ea1c9){const _0x5b015c=_0x37ad9a;let _0x549d9c=!0x1;const {removed:_0x58fc00,inserted:_0x5cc137,moved:_0x303783}=this[_0x5b015c(0xe4)][_0x5b015c(0xcf)](_0x5ea1c9);for(const _0x3f9499 of _0x58fc00)this[_0x5b015c(0xd7)](_0x38e3ea,_0x3f9499)&&(_0x549d9c=!0x0);for(const _0x42e26b of _0x5cc137)this[_0x5b015c(0x98)](_0x38e3ea,_0x42e26b)&&(_0x549d9c=!0x0);for(const _0x4d607d of _0x303783)this[_0x5b015c(0xa0)](_0x38e3ea,_0x4d607d)&&(_0x549d9c=!0x0);return _0x549d9c;}[_0x37ad9a(0xef)](_0x2c6b1f){const _0x4983d1=_0x37ad9a;if(!this[_0x4983d1(0xd2)])return!0x1;let _0x5b48be=!0x1;if(this[_0x4983d1(0xd2)][_0x4983d1(0xb9)]!==this[_0x4983d1(0xdc)][_0x4983d1(0xf1)]){const _0x4b34c8=[];for(const _0x2808f6 of this[_0x4983d1(0xd2)][_0x4983d1(0xb7)]()){const _0x427396=_0x2808f6[_0x4983d1(0xd3)](_0x4983d1(0xb1));this[_0x4983d1(0xe0)](_0x427396)||(_0x4b34c8[_0x4983d1(0xf3)](_0x2808f6),_0x5b48be=!0x0);}for(const _0x26d0d8 of _0x4b34c8)_0x2c6b1f[_0x4983d1(0xa5)](_0x26d0d8);}const _0x4b3d99=new Set(),_0x2cd780=[];for(const _0x35857b of this[_0x4983d1(0xd2)][_0x4983d1(0xb7)]()){const _0x250b18=_0x35857b[_0x4983d1(0xd3)](_0x4983d1(0xb1));_0x4b3d99[_0x4983d1(0xc1)](_0x250b18)?(_0x2cd780[_0x4983d1(0xf3)](_0x35857b),_0x5b48be=!0x0):_0x4b3d99[_0x4983d1(0xb0)](_0x250b18);}for(const _0x5b326d of _0x2cd780)_0x2c6b1f[_0x4983d1(0xa5)](_0x5b326d);return this[_0x4983d1(0xd2)][_0x4983d1(0xb9)]||(_0x2c6b1f[_0x4983d1(0xa5)](this[_0x4983d1(0xd2)]),this[_0x4983d1(0xd2)]=null,_0x5b48be=!0x0),_0x5b48be;}[_0x37ad9a(0x98)](_0x1b50b1,_0x2394e7){const _0xdb0fe4=_0x37ad9a;if(this[_0xdb0fe4(0xdc)][_0xdb0fe4(0xe2)](_0x3a6748=>_0x3a6748[_0xdb0fe4(0x9e)]===_0x2394e7))return!0x1;let _0x136da9=!0x1;const _0x59637f=_0x2394e7[_0xdb0fe4(0xd3)](_0xdb0fe4(0xb1)),_0x5e00fd=this[_0xdb0fe4(0xdc)][_0xdb0fe4(0xf0)](_0x2454f1=>_0x2454f1['id']===_0x59637f);-0x1!==_0x5e00fd&&(_0x1b50b1[_0xdb0fe4(0xa5)](this[_0xdb0fe4(0xdc)][_0x5e00fd][_0xdb0fe4(0x9e)]),this[_0xdb0fe4(0xdc)][_0xdb0fe4(0xc0)](_0x5e00fd,0x1),_0x136da9=!0x0);let _0xa4ca14=this[_0xdb0fe4(0xd2)]?function(_0x326970,_0x3c9745){const _0x402912=_0xdb0fe4;for(const _0x6dc66d of _0x326970[_0x402912(0xb7)]())if(_0x6dc66d[_0x402912(0xd3)](_0x402912(0xb1))===_0x3c9745)return _0x6dc66d;return null;}(this[_0xdb0fe4(0xd2)],_0x59637f):null;_0xa4ca14||(_0xa4ca14=_0x1b50b1[_0xdb0fe4(0xac)](_0xdb0fe4(0x97),{'footnoteId':_0x59637f}),this[_0xdb0fe4(0xd2)]&&(_0x1b50b1[_0xdb0fe4(0xe5)](_0xa4ca14,this[_0xdb0fe4(0xd2)],_0xdb0fe4(0xde)),_0x136da9=!0x0));const _0x357db1={'id':_0x59637f,'reference':_0x2394e7,'definition':_0xa4ca14},_0x354766=I(this[_0xdb0fe4(0xe1)][_0xdb0fe4(0xc4)],this[_0xdb0fe4(0xdc)],_0x2394e7);this[_0xdb0fe4(0xdc)][_0xdb0fe4(0xc0)](_0x354766,0x0,_0x357db1);let _0x3bf1f9=_0x354766;return-0x1!==_0x5e00fd&&(_0x3bf1f9=Math[_0xdb0fe4(0xa7)](_0x354766,_0x5e00fd)),this[_0xdb0fe4(0xbb)](_0x1b50b1,_0x3bf1f9)&&(_0x136da9=!0x0),_0x136da9;}[_0x37ad9a(0xd7)](_0x17d4e1,_0x57f965){const _0xf2979b=_0x37ad9a,_0x10358b=this[_0xf2979b(0xdc)][_0xf2979b(0xf0)](_0x4c82e6=>_0x4c82e6['id']===_0x57f965);if(-0x1===_0x10358b)return!0x1;let _0x546066=!0x1;const _0x58d9a6=this[_0xf2979b(0xdc)][_0x10358b];return _0xf2979b(0xc3)!==_0x58d9a6[_0xf2979b(0xcc)][_0xf2979b(0xe8)][_0xf2979b(0x9f)]&&(_0x17d4e1[_0xf2979b(0xa5)](_0x58d9a6[_0xf2979b(0xcc)]),_0x546066=!0x0),this[_0xf2979b(0xdc)][_0xf2979b(0xc0)](_0x10358b,0x1),this[_0xf2979b(0xbb)](_0x17d4e1,_0x10358b)&&(_0x546066=!0x0),_0x546066;}[_0x37ad9a(0xa0)](_0x3967bb,_0x361f11){const _0x4ce731=_0x37ad9a,_0x4d5f9d=_0x361f11[_0x4ce731(0xd3)](_0x4ce731(0xb1)),_0x4f3e4d=this[_0x4ce731(0xdc)][_0x4ce731(0xf0)](_0x4b8104=>_0x4b8104['id']===_0x4d5f9d),_0x3e3216=this[_0x4ce731(0xdc)][_0x4f3e4d];let _0x22ad09=!0x1;_0x3e3216[_0x4ce731(0x9e)]=_0x361f11,this[_0x4ce731(0xdc)][_0x4ce731(0xc0)](_0x4f3e4d,0x1);const _0x5b1893=I(this[_0x4ce731(0xe1)][_0x4ce731(0xc4)],this[_0x4ce731(0xdc)],_0x361f11);return this[_0x4ce731(0xdc)][_0x4ce731(0xc0)](_0x5b1893,0x0,_0x3e3216),this[_0x4ce731(0xbb)](_0x3967bb,Math[_0x4ce731(0xa7)](_0x4f3e4d,_0x5b1893))&&(_0x22ad09=!0x0),_0x22ad09;}[_0x37ad9a(0xc8)](_0x230e24,_0x14050d){const _0x4bdc59=_0x37ad9a;if(!this[_0x4bdc59(0xd2)])return!0x1;const _0x945661=this[_0x4bdc59(0xdc)][_0x14050d];let _0x393a5d;return _0x393a5d=this[_0x4bdc59(0xd6)]?this[_0x4bdc59(0xd6)]({'footnote':_0x945661,'container':this[_0x4bdc59(0xd2)],'digits':String(this[_0x4bdc59(0xdc)][_0x4bdc59(0xf1)])[_0x4bdc59(0xf1)],'value':_0x14050d+0x1}):String(_0x14050d+0x1),_0x945661[_0x4bdc59(0x9e)][_0x4bdc59(0xd3)](_0x4bdc59(0xe6))!=_0x393a5d&&(_0x230e24[_0x4bdc59(0x99)](_0x4bdc59(0xe6),_0x393a5d,_0x945661[_0x4bdc59(0x9e)]),!0x0);}[_0x37ad9a(0xae)](_0x5303f9){const _0x1d8e10=_0x37ad9a;if(!this[_0x1d8e10(0xd2)]||this[_0x1d8e10(0xdc)][_0x1d8e10(0xf1)]<0x2)return!0x1;if(function(_0x3907e3,_0x4987d0){const _0x119193=_0x1d8e10;if(_0x3907e3[_0x119193(0xf1)]!==_0x4987d0[_0x119193(0xf1)])return!0x1;for(let _0x2e84d2=0x0;_0x2e84d2<_0x3907e3[_0x119193(0xf1)];_0x2e84d2++)if(_0x3907e3[_0x2e84d2]!==_0x4987d0[_0x2e84d2])return!0x1;return!0x0;}(this[_0x1d8e10(0xdc)][_0x1d8e10(0xf5)](_0x54c13b=>_0x54c13b['id']),Array[_0x1d8e10(0xba)](this[_0x1d8e10(0xd2)][_0x1d8e10(0xb7)]())[_0x1d8e10(0xf5)](_0x538e3a=>_0x538e3a[_0x1d8e10(0xd3)](_0x1d8e10(0xb1)))))return!0x1;let _0x2894fe=!0x1;for(let _0x22348b=0x0;_0x22348b<this[_0x1d8e10(0xdc)][_0x1d8e10(0xf1)];_0x22348b++){const _0xd475a8=this[_0x1d8e10(0xdc)][_0x22348b],_0x58123f=_0x5303f9[_0x1d8e10(0xc9)](_0xd475a8[_0x1d8e10(0xcc)]),_0x2c6780=_0x5303f9[_0x1d8e10(0xaa)](this[_0x1d8e10(0xd2)],_0x22348b);_0x58123f[_0x1d8e10(0xc6)](_0x2c6780)||(_0x5303f9[_0x1d8e10(0xb6)](_0x5303f9[_0x1d8e10(0xb5)](_0xd475a8[_0x1d8e10(0xcc)]),_0x2c6780),_0x2894fe=!0x0);}return _0x2894fe;}[_0x37ad9a(0x94)](_0x4eb253){const _0x38ccb5=_0x37ad9a;if(!this[_0x38ccb5(0xdc)][_0x38ccb5(0xf1)])return!0x1;const {model:_0x4b8634}=this[_0x38ccb5(0xe1)];let _0x103314=!0x1;for(let _0x27b3bf=0x0;_0x27b3bf<this[_0x38ccb5(0xdc)][_0x38ccb5(0xf1)]-0x1;_0x27b3bf++){const _0x5e4392=this[_0x38ccb5(0xdc)][_0x27b3bf],_0x17183c=this[_0x38ccb5(0xdc)][_0x27b3bf+0x1],_0x541dd3=_0x4b8634[_0x38ccb5(0xc9)](_0x5e4392[_0x38ccb5(0x9e)]),_0x4cee88=_0x4b8634[_0x38ccb5(0xc9)](_0x17183c[_0x38ccb5(0x9e)]);_0x38ccb5(0xcd)===_0x541dd3[_0x38ccb5(0xbe)](_0x4cee88)&&(this[_0x38ccb5(0xa0)](_0x4eb253,_0x5e4392[_0x38ccb5(0x9e)]),_0x27b3bf=-0x1,_0x103314=!0x0);}return _0x103314;}}function _(_0x4e5aee,_0x1cb61c,_0x36d45f){const _0x6e0078=_0x37ad9a;if(_0x36d45f[_0x6e0078(0xb9)])return!0x1;const _0x190d3a=_0x1cb61c?_0x6e0078(0xa1):_0x6e0078(0xd9);return _0x4e5aee[_0x6e0078(0xe5)](_0x4e5aee[_0x6e0078(0xac)](_0x190d3a),_0x36d45f),!0x0;}function I(_0x2dbfcb,_0x5adbad,_0x3e5612){const _0x153374=_0x37ad9a;if(0x0===_0x5adbad[_0x153374(0xf1)])return 0x0;const _0x22e2cd=_0x2dbfcb[_0x153374(0xc9)](_0x3e5612);for(let _0x2ccfeb=0x0;_0x2ccfeb<_0x5adbad[_0x153374(0xf1)];_0x2ccfeb++){const _0x2b96f0=_0x5adbad[_0x2ccfeb],_0x3187b6=_0x2dbfcb[_0x153374(0xc9)](_0x2b96f0[_0x153374(0x9e)]);if(_0x153374(0xe7)===_0x22e2cd[_0x153374(0xbe)](_0x3187b6))return _0x2ccfeb;}const _0x45325d=_0x3e5612[_0x153374(0xe8)];let _0x14e622=-0x1;for(let _0x432a25=_0x5adbad[_0x153374(0xf1)]-0x1;_0x432a25>=0x0;_0x432a25--)if(_0x5adbad[_0x432a25][_0x153374(0x9e)][_0x153374(0xe8)]===_0x45325d){_0x14e622=_0x432a25;break;}if(-0x1!==_0x14e622)return _0x14e622+0x1;const _0x59e892=_0x2dbfcb[_0x153374(0xb4)][_0x153374(0xd5)](),_0x14370b=_0x59e892[_0x153374(0xd1)](_0x45325d[_0x153374(0x9f)]),_0x467c08=_0x59e892[_0x14370b+0x1];if(_0x467c08){for(let _0x1e485a=0x0;_0x1e485a<_0x5adbad[_0x153374(0xf1)];_0x1e485a++)if(_0x5adbad[_0x1e485a][_0x153374(0x9e)][_0x153374(0xe8)][_0x153374(0x9f)]===_0x467c08)return _0x1e485a;}return _0x5adbad[_0x153374(0xf1)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3fd52b,MenuBarMenuListItemButtonView as _0x4d808a}from'ckeditor5/src/ui.js';import{Plugin as _0x3514b9}from'ckeditor5/src/core.js';import{IconFootnote as _0x2b28b0}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x3514b9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4e8692}=this,{componentFactory:_0x503636}=_0x4e8692['ui'];_0x503636['add']('insertFootnote',x(_0x4e8692,_0x3fd52b)),_0x503636['add']('menuBar:insertFootnote',x(_0x4e8692,_0x4d808a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x10d8bb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2ad818;for(const _0x1e7331 in _0x10d8bb){const _0x3f2240=_0x1e7331,_0x3958aa=_0x10d8bb[_0x3f2240];if('footnotesLicenseKeyValid'==_0x3958aa||'footnotesLicenseKeyInvalid'==_0x3958aa||'footnotesLicenseKeyExpired'==_0x3958aa||'footnotesLicenseKeyDomainLimit'==_0x3958aa||'footnotesLicenseKeyNotAllowed'==_0x3958aa||'footnotesLicenseKeyEvaluationLimit'==_0x3958aa||'footnotesLicenseKeyTrialLimit'==_0x3958aa||'footnotesLicenseKeyUsageLimit'==_0x3958aa){delete _0x10d8bb[_0x3f2240],_0x2ad818=_0x3958aa,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2ad818&&_0x10d8bb['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2ad818&&_0x10d8bb['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2ad818&&_0x10d8bb['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2ad818&&_0x10d8bb['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2ad818&&_0x10d8bb['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x2ad818&&_0x10d8bb['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x2ad818&&_0x10d8bb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x51b2fb,_0x39c2db){const _0x59cb3f=_0x51b2fb['commands']['get']('insertFootnote');return _0x19cdda=>{const {t:t}=_0x19cdda,_0x1aca74=new _0x39c2db(_0x19cdda),_0x188c5a=_0x1aca74 instanceof _0x4d808a;return _0x1aca74['bind']('isEnabled')['to'](_0x59cb3f,'isEnabled'),_0x1aca74['set']({'label':t(_0x188c5a?'Footnote':'Insert\x20footnote'),'icon':_0x2b28b0,'tooltip':!0x0}),_0x1aca74['on']('execute',()=>{_0x59cb3f['execute'](),_0x51b2fb['editing']['view']['focus']();}),_0x1aca74;};}
23
+ import{ButtonView as _0x38a36f,MenuBarMenuListItemButtonView as _0x3c0dfd}from'ckeditor5/src/ui.js';import{Plugin as _0x3c3615}from'ckeditor5/src/core.js';import{IconFootnote as _0x163f58}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x3c3615{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3c2953}=this,{componentFactory:_0x528f45}=_0x3c2953['ui'];_0x528f45['add']('insertFootnote',x(_0x3c2953,_0x38a36f)),_0x528f45['add']('menuBar:insertFootnote',x(_0x3c2953,_0x3c0dfd)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x25356d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x265ef0;for(const _0x3fdb0b in _0x25356d){const _0x3bf7ba=_0x3fdb0b,_0x2c400e=_0x25356d[_0x3bf7ba];if('footnotesLicenseKeyValid'==_0x2c400e||'footnotesLicenseKeyInvalid'==_0x2c400e||'footnotesLicenseKeyExpired'==_0x2c400e||'footnotesLicenseKeyDomainLimit'==_0x2c400e||'footnotesLicenseKeyNotAllowed'==_0x2c400e||'footnotesLicenseKeyEvaluationLimit'==_0x2c400e||'footnotesLicenseKeyTrialLimit'==_0x2c400e||'footnotesLicenseKeyUsageLimit'==_0x2c400e){delete _0x25356d[_0x3bf7ba],_0x265ef0=_0x2c400e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x265ef0&&_0x25356d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x265ef0&&_0x25356d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x265ef0&&_0x25356d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x265ef0&&_0x25356d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x265ef0&&_0x25356d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x265ef0&&_0x25356d['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x265ef0&&_0x25356d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x596424,_0x3e8b41){const _0x34a560=_0x596424['commands']['get']('insertFootnote');return _0x1252e3=>{const {t:t}=_0x1252e3,_0x276a72=new _0x3e8b41(_0x1252e3),_0x2f8530=_0x276a72 instanceof _0x3c0dfd;return _0x276a72['bind']('isEnabled')['to'](_0x34a560,'isEnabled'),_0x276a72['set']({'label':t(_0x2f8530?'Footnote':'Insert\x20footnote'),'icon':_0x163f58,'tooltip':!0x0}),_0x276a72['on']('execute',()=>{_0x34a560['execute'](),_0x596424['editing']['view']['focus']();}),_0x276a72;};}