@ckeditor/ckeditor5-revision-history 44.1.0-alpha.5 → 44.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 (408) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +1 -1
  3. package/build/revision-history.js +2 -2
  4. package/dist/index-content.css +2 -2
  5. package/dist/index-editor.css +6 -3
  6. package/dist/index.css +43 -18
  7. package/dist/index.js +7 -7
  8. package/dist/translations/af.d.ts +2 -2
  9. package/dist/translations/af.js +2 -2
  10. package/dist/translations/af.umd.js +2 -2
  11. package/dist/translations/ar.d.ts +2 -2
  12. package/dist/translations/ar.js +2 -2
  13. package/dist/translations/ar.umd.js +2 -2
  14. package/dist/translations/ast.d.ts +2 -2
  15. package/dist/translations/ast.js +2 -2
  16. package/dist/translations/ast.umd.js +2 -2
  17. package/dist/translations/az.d.ts +2 -2
  18. package/dist/translations/az.js +2 -2
  19. package/dist/translations/az.umd.js +2 -2
  20. package/dist/translations/bg.d.ts +2 -2
  21. package/dist/translations/bg.js +2 -2
  22. package/dist/translations/bg.umd.js +2 -2
  23. package/dist/translations/bn.d.ts +2 -2
  24. package/dist/translations/bn.js +2 -2
  25. package/dist/translations/bn.umd.js +2 -2
  26. package/dist/translations/bs.d.ts +2 -2
  27. package/dist/translations/bs.js +2 -2
  28. package/dist/translations/bs.umd.js +2 -2
  29. package/dist/translations/ca.d.ts +2 -2
  30. package/dist/translations/ca.js +2 -2
  31. package/dist/translations/ca.umd.js +2 -2
  32. package/dist/translations/cs.d.ts +2 -2
  33. package/dist/translations/cs.js +2 -2
  34. package/dist/translations/cs.umd.js +2 -2
  35. package/dist/translations/da.d.ts +2 -2
  36. package/dist/translations/da.js +2 -2
  37. package/dist/translations/da.umd.js +2 -2
  38. package/dist/translations/de-ch.d.ts +2 -2
  39. package/dist/translations/de-ch.js +2 -2
  40. package/dist/translations/de-ch.umd.js +2 -2
  41. package/dist/translations/de.d.ts +2 -2
  42. package/dist/translations/de.js +2 -2
  43. package/dist/translations/de.umd.js +2 -2
  44. package/dist/translations/el.d.ts +2 -2
  45. package/dist/translations/el.js +2 -2
  46. package/dist/translations/el.umd.js +2 -2
  47. package/dist/translations/en-au.d.ts +2 -2
  48. package/dist/translations/en-au.js +2 -2
  49. package/dist/translations/en-au.umd.js +2 -2
  50. package/dist/translations/en-gb.d.ts +2 -2
  51. package/dist/translations/en-gb.js +2 -2
  52. package/dist/translations/en-gb.umd.js +2 -2
  53. package/dist/translations/en.d.ts +2 -2
  54. package/dist/translations/en.js +2 -2
  55. package/dist/translations/en.umd.js +2 -2
  56. package/dist/translations/eo.d.ts +2 -2
  57. package/dist/translations/eo.js +2 -2
  58. package/dist/translations/eo.umd.js +2 -2
  59. package/dist/translations/es-co.d.ts +2 -2
  60. package/dist/translations/es-co.js +2 -2
  61. package/dist/translations/es-co.umd.js +2 -2
  62. package/dist/translations/es.d.ts +2 -2
  63. package/dist/translations/es.js +2 -2
  64. package/dist/translations/es.umd.js +2 -2
  65. package/dist/translations/et.d.ts +2 -2
  66. package/dist/translations/et.js +2 -2
  67. package/dist/translations/et.umd.js +2 -2
  68. package/dist/translations/eu.d.ts +2 -2
  69. package/dist/translations/eu.js +2 -2
  70. package/dist/translations/eu.umd.js +2 -2
  71. package/dist/translations/fa.d.ts +2 -2
  72. package/dist/translations/fa.js +2 -2
  73. package/dist/translations/fa.umd.js +2 -2
  74. package/dist/translations/fi.d.ts +2 -2
  75. package/dist/translations/fi.js +2 -2
  76. package/dist/translations/fi.umd.js +2 -2
  77. package/dist/translations/fr.d.ts +2 -2
  78. package/dist/translations/fr.js +2 -2
  79. package/dist/translations/fr.umd.js +2 -2
  80. package/dist/translations/gl.d.ts +2 -2
  81. package/dist/translations/gl.js +2 -2
  82. package/dist/translations/gl.umd.js +2 -2
  83. package/dist/translations/gu.d.ts +2 -2
  84. package/dist/translations/gu.js +2 -2
  85. package/dist/translations/gu.umd.js +2 -2
  86. package/dist/translations/he.d.ts +2 -2
  87. package/dist/translations/he.js +2 -2
  88. package/dist/translations/he.umd.js +2 -2
  89. package/dist/translations/hi.d.ts +2 -2
  90. package/dist/translations/hi.js +2 -2
  91. package/dist/translations/hi.umd.js +2 -2
  92. package/dist/translations/hr.d.ts +2 -2
  93. package/dist/translations/hr.js +2 -2
  94. package/dist/translations/hr.umd.js +2 -2
  95. package/dist/translations/hu.d.ts +2 -2
  96. package/dist/translations/hu.js +2 -2
  97. package/dist/translations/hu.umd.js +2 -2
  98. package/dist/translations/hy.d.ts +2 -2
  99. package/dist/translations/hy.js +2 -2
  100. package/dist/translations/hy.umd.js +2 -2
  101. package/dist/translations/id.d.ts +2 -2
  102. package/dist/translations/id.js +2 -2
  103. package/dist/translations/id.umd.js +2 -2
  104. package/dist/translations/it.d.ts +2 -2
  105. package/dist/translations/it.js +2 -2
  106. package/dist/translations/it.umd.js +2 -2
  107. package/dist/translations/ja.d.ts +2 -2
  108. package/dist/translations/ja.js +2 -2
  109. package/dist/translations/ja.umd.js +2 -2
  110. package/dist/translations/jv.d.ts +2 -2
  111. package/dist/translations/jv.js +2 -2
  112. package/dist/translations/jv.umd.js +2 -2
  113. package/dist/translations/kk.d.ts +2 -2
  114. package/dist/translations/kk.js +2 -2
  115. package/dist/translations/kk.umd.js +2 -2
  116. package/dist/translations/km.d.ts +2 -2
  117. package/dist/translations/km.js +2 -2
  118. package/dist/translations/km.umd.js +2 -2
  119. package/dist/translations/kn.d.ts +2 -2
  120. package/dist/translations/kn.js +2 -2
  121. package/dist/translations/kn.umd.js +2 -2
  122. package/dist/translations/ko.d.ts +2 -2
  123. package/dist/translations/ko.js +2 -2
  124. package/dist/translations/ko.umd.js +2 -2
  125. package/dist/translations/ku.d.ts +2 -2
  126. package/dist/translations/ku.js +2 -2
  127. package/dist/translations/ku.umd.js +2 -2
  128. package/dist/translations/lt.d.ts +2 -2
  129. package/dist/translations/lt.js +2 -2
  130. package/dist/translations/lt.umd.js +2 -2
  131. package/dist/translations/lv.d.ts +2 -2
  132. package/dist/translations/lv.js +2 -2
  133. package/dist/translations/lv.umd.js +2 -2
  134. package/dist/translations/ms.d.ts +2 -2
  135. package/dist/translations/ms.js +2 -2
  136. package/dist/translations/ms.umd.js +2 -2
  137. package/dist/translations/nb.d.ts +2 -2
  138. package/dist/translations/nb.js +2 -2
  139. package/dist/translations/nb.umd.js +2 -2
  140. package/dist/translations/ne.d.ts +2 -2
  141. package/dist/translations/ne.js +2 -2
  142. package/dist/translations/ne.umd.js +2 -2
  143. package/dist/translations/nl.d.ts +2 -2
  144. package/dist/translations/nl.js +2 -2
  145. package/dist/translations/nl.umd.js +2 -2
  146. package/dist/translations/no.d.ts +2 -2
  147. package/dist/translations/no.js +2 -2
  148. package/dist/translations/no.umd.js +2 -2
  149. package/dist/translations/oc.d.ts +2 -2
  150. package/dist/translations/oc.js +2 -2
  151. package/dist/translations/oc.umd.js +2 -2
  152. package/dist/translations/pl.d.ts +2 -2
  153. package/dist/translations/pl.js +2 -2
  154. package/dist/translations/pl.umd.js +2 -2
  155. package/dist/translations/pt-br.d.ts +2 -2
  156. package/dist/translations/pt-br.js +2 -2
  157. package/dist/translations/pt-br.umd.js +2 -2
  158. package/dist/translations/pt.d.ts +2 -2
  159. package/dist/translations/pt.js +2 -2
  160. package/dist/translations/pt.umd.js +2 -2
  161. package/dist/translations/ro.d.ts +2 -2
  162. package/dist/translations/ro.js +2 -2
  163. package/dist/translations/ro.umd.js +2 -2
  164. package/dist/translations/ru.d.ts +2 -2
  165. package/dist/translations/ru.js +2 -2
  166. package/dist/translations/ru.umd.js +2 -2
  167. package/dist/translations/si.d.ts +2 -2
  168. package/dist/translations/si.js +2 -2
  169. package/dist/translations/si.umd.js +2 -2
  170. package/dist/translations/sk.d.ts +2 -2
  171. package/dist/translations/sk.js +2 -2
  172. package/dist/translations/sk.umd.js +2 -2
  173. package/dist/translations/sl.d.ts +2 -2
  174. package/dist/translations/sl.js +2 -2
  175. package/dist/translations/sl.umd.js +2 -2
  176. package/dist/translations/sq.d.ts +2 -2
  177. package/dist/translations/sq.js +2 -2
  178. package/dist/translations/sq.umd.js +2 -2
  179. package/dist/translations/sr-latn.d.ts +2 -2
  180. package/dist/translations/sr-latn.js +2 -2
  181. package/dist/translations/sr-latn.umd.js +2 -2
  182. package/dist/translations/sr.d.ts +2 -2
  183. package/dist/translations/sr.js +2 -2
  184. package/dist/translations/sr.umd.js +2 -2
  185. package/dist/translations/sv.d.ts +2 -2
  186. package/dist/translations/sv.js +2 -2
  187. package/dist/translations/sv.umd.js +2 -2
  188. package/dist/translations/th.d.ts +2 -2
  189. package/dist/translations/th.js +2 -2
  190. package/dist/translations/th.umd.js +2 -2
  191. package/dist/translations/ti.d.ts +2 -2
  192. package/dist/translations/ti.js +2 -2
  193. package/dist/translations/ti.umd.js +2 -2
  194. package/dist/translations/tk.d.ts +2 -2
  195. package/dist/translations/tk.js +2 -2
  196. package/dist/translations/tk.umd.js +2 -2
  197. package/dist/translations/tr.d.ts +2 -2
  198. package/dist/translations/tr.js +2 -2
  199. package/dist/translations/tr.umd.js +2 -2
  200. package/dist/translations/tt.d.ts +2 -2
  201. package/dist/translations/tt.js +2 -2
  202. package/dist/translations/tt.umd.js +2 -2
  203. package/dist/translations/ug.d.ts +2 -2
  204. package/dist/translations/ug.js +2 -2
  205. package/dist/translations/ug.umd.js +2 -2
  206. package/dist/translations/uk.d.ts +2 -2
  207. package/dist/translations/uk.js +2 -2
  208. package/dist/translations/uk.umd.js +2 -2
  209. package/dist/translations/ur.d.ts +2 -2
  210. package/dist/translations/ur.js +2 -2
  211. package/dist/translations/ur.umd.js +2 -2
  212. package/dist/translations/uz.d.ts +2 -2
  213. package/dist/translations/uz.js +2 -2
  214. package/dist/translations/uz.umd.js +2 -2
  215. package/dist/translations/vi.d.ts +2 -2
  216. package/dist/translations/vi.js +2 -2
  217. package/dist/translations/vi.umd.js +2 -2
  218. package/dist/translations/zh-cn.d.ts +2 -2
  219. package/dist/translations/zh-cn.js +2 -2
  220. package/dist/translations/zh-cn.umd.js +2 -2
  221. package/dist/translations/zh.d.ts +2 -2
  222. package/dist/translations/zh.js +2 -2
  223. package/dist/translations/zh.umd.js +2 -2
  224. package/lang/translations/af.po +1 -1
  225. package/lang/translations/ar.po +1 -1
  226. package/lang/translations/ast.po +1 -1
  227. package/lang/translations/az.po +1 -1
  228. package/lang/translations/bg.po +1 -1
  229. package/lang/translations/bn.po +1 -1
  230. package/lang/translations/bs.po +1 -1
  231. package/lang/translations/ca.po +1 -1
  232. package/lang/translations/cs.po +1 -1
  233. package/lang/translations/da.po +1 -1
  234. package/lang/translations/de-ch.po +1 -1
  235. package/lang/translations/de.po +1 -1
  236. package/lang/translations/el.po +1 -1
  237. package/lang/translations/en-au.po +1 -1
  238. package/lang/translations/en-gb.po +1 -1
  239. package/lang/translations/en.po +1 -1
  240. package/lang/translations/eo.po +1 -1
  241. package/lang/translations/es-co.po +1 -1
  242. package/lang/translations/es.po +1 -1
  243. package/lang/translations/et.po +1 -1
  244. package/lang/translations/eu.po +1 -1
  245. package/lang/translations/fa.po +1 -1
  246. package/lang/translations/fi.po +1 -1
  247. package/lang/translations/fr.po +1 -1
  248. package/lang/translations/gl.po +1 -1
  249. package/lang/translations/gu.po +1 -1
  250. package/lang/translations/he.po +1 -1
  251. package/lang/translations/hi.po +1 -1
  252. package/lang/translations/hr.po +1 -1
  253. package/lang/translations/hu.po +1 -1
  254. package/lang/translations/hy.po +1 -1
  255. package/lang/translations/id.po +1 -1
  256. package/lang/translations/it.po +1 -1
  257. package/lang/translations/ja.po +1 -1
  258. package/lang/translations/jv.po +1 -1
  259. package/lang/translations/kk.po +1 -1
  260. package/lang/translations/km.po +1 -1
  261. package/lang/translations/kn.po +1 -1
  262. package/lang/translations/ko.po +1 -1
  263. package/lang/translations/ku.po +1 -1
  264. package/lang/translations/lt.po +1 -1
  265. package/lang/translations/lv.po +1 -1
  266. package/lang/translations/ms.po +1 -1
  267. package/lang/translations/nb.po +1 -1
  268. package/lang/translations/ne.po +1 -1
  269. package/lang/translations/nl.po +1 -1
  270. package/lang/translations/no.po +1 -1
  271. package/lang/translations/oc.po +1 -1
  272. package/lang/translations/pl.po +1 -1
  273. package/lang/translations/pt-br.po +1 -1
  274. package/lang/translations/pt.po +1 -1
  275. package/lang/translations/ro.po +1 -1
  276. package/lang/translations/ru.po +1 -1
  277. package/lang/translations/si.po +1 -1
  278. package/lang/translations/sk.po +1 -1
  279. package/lang/translations/sl.po +1 -1
  280. package/lang/translations/sq.po +1 -1
  281. package/lang/translations/sr-latn.po +1 -1
  282. package/lang/translations/sr.po +1 -1
  283. package/lang/translations/sv.po +1 -1
  284. package/lang/translations/th.po +1 -1
  285. package/lang/translations/ti.po +1 -1
  286. package/lang/translations/tk.po +1 -1
  287. package/lang/translations/tr.po +1 -1
  288. package/lang/translations/tt.po +1 -1
  289. package/lang/translations/ug.po +1 -1
  290. package/lang/translations/uk.po +1 -1
  291. package/lang/translations/ur.po +1 -1
  292. package/lang/translations/uz.po +1 -1
  293. package/lang/translations/vi.po +1 -1
  294. package/lang/translations/zh-cn.po +1 -1
  295. package/lang/translations/zh.po +1 -1
  296. package/package.json +34 -9
  297. package/src/augmentation.d.ts +1 -1
  298. package/src/augmentation.js +1 -1
  299. package/src/changeitem.d.ts +1 -1
  300. package/src/changeitem.js +3 -3
  301. package/src/editor/revisionviewereditor.d.ts +1 -1
  302. package/src/editor/revisionviewereditor.js +3 -3
  303. package/src/editor/revisionviewereditorui.d.ts +1 -1
  304. package/src/editor/revisionviewereditorui.js +2 -2
  305. package/src/editor/revisionviewereditoruiview.d.ts +1 -1
  306. package/src/editor/revisionviewereditoruiview.js +2 -2
  307. package/src/index.d.ts +1 -1
  308. package/src/index.js +2 -2
  309. package/src/revision.d.ts +1 -1
  310. package/src/revision.js +3 -3
  311. package/src/revisiondiff.d.ts +1 -1
  312. package/src/revisiondiff.js +2 -2
  313. package/src/revisionhistory.d.ts +18 -1
  314. package/src/revisionhistory.js +2 -2
  315. package/src/revisionhistoryadapter.d.ts +1 -1
  316. package/src/revisionhistoryadapter.js +1 -1
  317. package/src/revisionhistoryconfig.d.ts +1 -1
  318. package/src/revisionhistoryconfig.js +1 -1
  319. package/src/revisionsrepository.d.ts +1 -1
  320. package/src/revisionsrepository.js +2 -2
  321. package/src/revisiontracker.d.ts +1 -1
  322. package/src/revisiontracker.js +2 -2
  323. package/src/revisionviewer.d.ts +1 -1
  324. package/src/revisionviewer.js +2 -2
  325. package/src/ui/revision/createrevisionactionsdropdown.d.ts +1 -1
  326. package/src/ui/revision/createrevisionactionsdropdown.js +2 -2
  327. package/src/ui/revision/revisionauthorview.d.ts +1 -1
  328. package/src/ui/revision/revisionauthorview.js +2 -2
  329. package/src/ui/revision/revisionnameview.d.ts +1 -1
  330. package/src/ui/revision/revisionnameview.js +2 -2
  331. package/src/ui/revision/revisionview.d.ts +1 -1
  332. package/src/ui/revision/revisionview.js +3 -3
  333. package/src/ui/revision/subrevisioncollapserview.d.ts +1 -1
  334. package/src/ui/revision/subrevisioncollapserview.js +2 -2
  335. package/src/ui/revision/subrevisionview.d.ts +1 -1
  336. package/src/ui/revision/subrevisionview.js +2 -2
  337. package/src/ui/revision/utils.d.ts +1 -1
  338. package/src/ui/revision/utils.js +2 -2
  339. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +1 -1
  340. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
  341. package/src/ui/revisionhistory/revisionhistoryui.d.ts +1 -1
  342. package/src/ui/revisionhistory/revisionhistoryui.js +2 -2
  343. package/src/ui/revisionssidebar/revisionssidebar.d.ts +1 -1
  344. package/src/ui/revisionssidebar/revisionssidebar.js +2 -2
  345. package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +1 -1
  346. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +2 -2
  347. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +1 -1
  348. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +2 -2
  349. package/src/ui/revisionssidebar/revisionssidebarview.d.ts +1 -1
  350. package/src/ui/revisionssidebar/revisionssidebarview.js +2 -2
  351. package/src/ui/revisionssidebar/utils.d.ts +1 -1
  352. package/src/ui/revisionssidebar/utils.js +2 -2
  353. package/src/ui/revisionviewer/changedetailsview.d.ts +1 -1
  354. package/src/ui/revisionviewer/changedetailsview.js +2 -2
  355. package/src/ui/revisionviewer/changesnavigationview.d.ts +1 -1
  356. package/src/ui/revisionviewer/changesnavigationview.js +2 -2
  357. package/src/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +1 -1
  358. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +2 -2
  359. package/src/ui/revisionviewer/revisionviewerui.d.ts +1 -1
  360. package/src/ui/revisionviewer/revisionviewerui.js +2 -2
  361. package/src/utils/common-translations.d.ts +1 -1
  362. package/src/utils/common-translations.js +2 -2
  363. package/theme/changesnavigation.css +1 -1
  364. package/theme/revision/revision.css +1 -1
  365. package/theme/revision/revisionactions.css +1 -1
  366. package/theme/revision/revisionauthor.css +1 -1
  367. package/theme/revision/revisionname.css +1 -1
  368. package/theme/revision/subrevision.css +1 -1
  369. package/theme/revision/subrevisioncollapser.css +1 -1
  370. package/theme/revisionhistorysaverevisionform.css +1 -1
  371. package/theme/revisionssidebar/revisionssidebar.css +1 -1
  372. package/theme/revisionssidebar/revisionssidebarheader.css +25 -2
  373. package/theme/revisionssidebar/revisionssidebartimeperiod.css +1 -1
  374. package/theme/revisionviewer.css +1 -1
  375. package/theme/revisionviewerloadingoverlay.css +3 -1
  376. package/dist/augmentation.d.ts +0 -33
  377. package/dist/changeitem.d.ts +0 -62
  378. package/dist/editor/revisionviewereditor.d.ts +0 -31
  379. package/dist/editor/revisionviewereditorui.d.ts +0 -32
  380. package/dist/editor/revisionviewereditoruiview.d.ts +0 -47
  381. package/dist/index.d.ts +0 -20
  382. package/dist/revision.d.ts +0 -157
  383. package/dist/revisiondiff.d.ts +0 -28
  384. package/dist/revisionhistory.d.ts +0 -111
  385. package/dist/revisionhistoryadapter.d.ts +0 -68
  386. package/dist/revisionhistoryconfig.d.ts +0 -75
  387. package/dist/revisionsrepository.d.ts +0 -64
  388. package/dist/revisiontracker.d.ts +0 -141
  389. package/dist/revisionviewer.d.ts +0 -119
  390. package/dist/ui/revision/createrevisionactionsdropdown.d.ts +0 -17
  391. package/dist/ui/revision/revisionauthorview.d.ts +0 -18
  392. package/dist/ui/revision/revisionnameview.d.ts +0 -34
  393. package/dist/ui/revision/revisionview.d.ts +0 -99
  394. package/dist/ui/revision/subrevisioncollapserview.d.ts +0 -25
  395. package/dist/ui/revision/subrevisionview.d.ts +0 -38
  396. package/dist/ui/revision/utils.d.ts +0 -9
  397. package/dist/ui/revisionhistory/revisionhistorysaverevisionformview.d.ts +0 -61
  398. package/dist/ui/revisionhistory/revisionhistoryui.d.ts +0 -38
  399. package/dist/ui/revisionssidebar/revisionssidebar.d.ts +0 -56
  400. package/dist/ui/revisionssidebar/revisionssidebarheaderview.d.ts +0 -20
  401. package/dist/ui/revisionssidebar/revisionssidebartimeperiodview.d.ts +0 -33
  402. package/dist/ui/revisionssidebar/revisionssidebarview.d.ts +0 -48
  403. package/dist/ui/revisionssidebar/utils.d.ts +0 -13
  404. package/dist/ui/revisionviewer/changedetailsview.d.ts +0 -26
  405. package/dist/ui/revisionviewer/changesnavigationview.d.ts +0 -44
  406. package/dist/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +0 -38
  407. package/dist/ui/revisionviewer/revisionviewerui.d.ts +0 -40
  408. package/dist/utils/common-translations.d.ts +0 -15
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xfa8c97,_0x28aec7){const _0x1cbe2c=_0x1946,_0x5e56a1=_0xfa8c97();while(!![]){try{const _0xcf0953=-parseInt(_0x1cbe2c(0xab))/0x1*(-parseInt(_0x1cbe2c(0xac))/0x2)+-parseInt(_0x1cbe2c(0xbf))/0x3*(parseInt(_0x1cbe2c(0xad))/0x4)+-parseInt(_0x1cbe2c(0xb6))/0x5*(parseInt(_0x1cbe2c(0xc2))/0x6)+-parseInt(_0x1cbe2c(0xb8))/0x7*(-parseInt(_0x1cbe2c(0xb2))/0x8)+-parseInt(_0x1cbe2c(0xb3))/0x9*(-parseInt(_0x1cbe2c(0xc1))/0xa)+-parseInt(_0x1cbe2c(0x9c))/0xb*(parseInt(_0x1cbe2c(0xb0))/0xc)+parseInt(_0x1cbe2c(0x9f))/0xd;if(_0xcf0953===_0x28aec7)break;else _0x5e56a1['push'](_0x5e56a1['shift']());}catch(_0x58068a){_0x5e56a1['push'](_0x5e56a1['shift']());}}}(_0x3499,0xc44b5));import{View as _0x9c54bd,ButtonView as _0x5960c1,ToolbarSeparatorView as _0x1335c5}from'ckeditor5/src/ui.js';import{getTranslation as _0x20e989}from'../../utils/common-translations.js';function _0x3499(){const _0x3e1917=['isForwardNavigationEnabled','currentChangeNumber','5gcfeOt','179126zmDEZy','44JiMAgk','bindTemplate','NUMBER_OF_CHANGES','10947540cuhlrt','isNavigationMode','29208GciWPK','4463577jLqlSZ','setTemplate','isEnabled','50hTzUot','fire','1393tMbkvr','execute','isReady','X_OF_Y_CHANGES','ck-revision-history-ui__changes-navigation__label','Show\x20previous\x20change','No\x20changes','258858JMPMyF','ck-revision-history-ui__changes-navigation__wrapper','10oPeVzI','153012JbAQJS','isBackwardNavigationEnabled','backward','div','bind','forward','span','numberOfChanges','11tvqDIC','_isStatusLabelVisible','_statusText','16252145ORKeOw','Loading...','ck-revision-history-ui','EDIT_X_OF_Y_REVISIONS','Total','ck-revision-history-ui__changes-navigation','ck-hidden','ck-revision-history-ui__changes-navigation__navigation','Show\x20next\x20change','set'];_0x3499=function(){return _0x3e1917;};return _0x3499();}import _0x11c201 from'../../../theme/icons/arrow-up.svg';import _0x25b7e2 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';function _0x1946(_0x1cfdf0,_0x56f2bb){const _0x34995a=_0x3499();return _0x1946=function(_0x194695,_0x2904eb){_0x194695=_0x194695-0x97;let _0x4addf7=_0x34995a[_0x194695];return _0x4addf7;},_0x1946(_0x1cfdf0,_0x56f2bb);}export default class _i extends _0x9c54bd{constructor(_0x5dd747){const _0x197c4b=_0x1946;super(_0x5dd747);const _0x2f7b8d=this[_0x197c4b(0xae)],_0x274d77=new _0x5960c1(_0x5dd747),_0xaa7c36=new _0x5960c1(_0x5dd747);this[_0x197c4b(0xa8)](_0x197c4b(0xb1),!0x1),this[_0x197c4b(0xa8)](_0x197c4b(0xba),!0x1),this[_0x197c4b(0xa8)](_0x197c4b(0xaa),0x0),this[_0x197c4b(0xa8)](_0x197c4b(0x9b),0x0),this[_0x197c4b(0xa8)](_0x197c4b(0xa9),!0x1),this[_0x197c4b(0xa8)](_0x197c4b(0xc3),!0x1),this[_0x197c4b(0x98)](_0x197c4b(0x9d))['to'](this,_0x197c4b(0xba),this,_0x197c4b(0x9b),(_0x22c5d7,_0x1bd8da)=>_0x22c5d7&&_0x1bd8da>0x0),this[_0x197c4b(0x98)](_0x197c4b(0x9e))['to'](this,_0x197c4b(0xba),this,_0x197c4b(0xaa),this,_0x197c4b(0x9b),this,_0x197c4b(0xb1),(_0x3018e4,_0x44bad4,_0x3f4dc7,_0x154730)=>{const _0x2f4707=_0x197c4b;if(!_0x3018e4)return _0x20e989(_0x5dd747,_0x2f4707(0xa0));if(!_0x3f4dc7)return _0x20e989(_0x5dd747,_0x2f4707(0xbe));const _0x99a89c=_0x20e989(_0x5dd747,_0x2f4707(0xaf),_0x3f4dc7);return _0x154730?_0x20e989(_0x5dd747,_0x2f4707(0xbb),[_0x44bad4+0x1,_0x3f4dc7]):_0x99a89c;}),_0x274d77[_0x197c4b(0xa8)]({'label':_0x20e989(_0x5dd747,_0x197c4b(0xbd)),'tooltip':!0x0,'icon':_0x11c201}),_0xaa7c36[_0x197c4b(0xa8)]({'label':_0x20e989(_0x5dd747,_0x197c4b(0xa7)),'tooltip':!0x0,'icon':_0x25b7e2}),_0x274d77[_0x197c4b(0x98)](_0x197c4b(0xb5))['to'](this,_0x197c4b(0xc3)),_0xaa7c36[_0x197c4b(0x98)](_0x197c4b(0xb5))['to'](this,_0x197c4b(0xa9)),_0x274d77['on'](_0x197c4b(0xb9),()=>this[_0x197c4b(0xb7)](_0x197c4b(0xb9),_0x197c4b(0xc4))),_0xaa7c36['on'](_0x197c4b(0xb9),()=>this[_0x197c4b(0xb7)](_0x197c4b(0xb9),_0x197c4b(0x99))),this[_0x197c4b(0xb4)]({'tag':_0x197c4b(0x97),'attributes':{'class':['ck',_0x197c4b(0xa1),_0x197c4b(0xa4)]},'children':[{'tag':_0x197c4b(0x9a),'attributes':{'class':[_0x197c4b(0xc0)]},'children':[{'tag':_0x197c4b(0x9a),'attributes':{'class':[_0x197c4b(0xbc),_0x2f7b8d['if'](_0x197c4b(0x9d),_0x197c4b(0xa5),_0x3b3476=>!_0x3b3476)]},'children':[{'text':_0x2f7b8d['to'](_0x197c4b(0xb1),_0x55add9=>_0x55add9?_0x20e989(_0x5dd747,_0x197c4b(0xa2))+':\x20':_0x20e989(_0x5dd747,_0x197c4b(0xa3))+':\x20')}]},{'text':_0x2f7b8d['to'](_0x197c4b(0x9e))}]},new _0x1335c5(),{'tag':_0x197c4b(0x97),'attributes':{'class':[_0x197c4b(0xa6)]},'children':[_0x274d77,_0xaa7c36]}]});}}
23
+ function _0x3a98(){const _0x293ad2=['2442165WRPrHH','2074366eNBZWD','isEnabled','set','4AkfkSq','setTemplate','span','Total','Loading...','ck-revision-history-ui__changes-navigation__navigation','currentChangeNumber','ck-revision-history-ui__changes-navigation__wrapper','_statusText','fire','534684zmaeKk','isNavigationMode','ck-revision-history-ui__changes-navigation','X_OF_Y_CHANGES','isBackwardNavigationEnabled','ck-revision-history-ui__changes-navigation__label','forward','isReady','ck-hidden','backward','No\x20changes','div','902260RbfdDO','1QgUGZL','Show\x20next\x20change','Show\x20previous\x20change','numberOfChanges','bindTemplate','EDIT_X_OF_Y_REVISIONS','NUMBER_OF_CHANGES','isForwardNavigationEnabled','516189LnBKzj','_isStatusLabelVisible','7363737ALKbGh','ck-revision-history-ui','execute','8PdAKnW','53095JpbYCz','bind'];_0x3a98=function(){return _0x293ad2;};return _0x3a98();}function _0x1f55(_0x16516f,_0x3f6c99){const _0x3a9836=_0x3a98();return _0x1f55=function(_0x1f5560,_0x454145){_0x1f5560=_0x1f5560-0x16f;let _0x5443c9=_0x3a9836[_0x1f5560];return _0x5443c9;},_0x1f55(_0x16516f,_0x3f6c99);}(function(_0x86ff98,_0x10c734){const _0x84bcf9=_0x1f55,_0x545681=_0x86ff98();while(!![]){try{const _0x39810d=parseInt(_0x84bcf9(0x172))/0x1*(parseInt(_0x84bcf9(0x183))/0x2)+-parseInt(_0x84bcf9(0x17a))/0x3*(parseInt(_0x84bcf9(0x186))/0x4)+parseInt(_0x84bcf9(0x182))/0x5+parseInt(_0x84bcf9(0x190))/0x6+-parseInt(_0x84bcf9(0x180))/0x7*(-parseInt(_0x84bcf9(0x17f))/0x8)+-parseInt(_0x84bcf9(0x17c))/0x9+-parseInt(_0x84bcf9(0x171))/0xa;if(_0x39810d===_0x10c734)break;else _0x545681['push'](_0x545681['shift']());}catch(_0x9aca){_0x545681['push'](_0x545681['shift']());}}}(_0x3a98,0x84489));import{View as _0x5d4979,ButtonView as _0x1a4a43,ToolbarSeparatorView as _0x3b6e1d}from'ckeditor5/src/ui.js';import{getTranslation as _0x2ac0d1}from'../../utils/common-translations.js';import _0x38310e from'../../../theme/icons/arrow-up.svg';import _0x365e05 from'../../../theme/icons/arrow-down.svg';import'../../../theme/changesnavigation.css';export default class oi extends _0x5d4979{constructor(_0x3a1689){const _0x2be5f6=_0x1f55;super(_0x3a1689);const _0x5a4a69=this[_0x2be5f6(0x176)],_0x48b819=new _0x1a4a43(_0x3a1689),_0x3ad081=new _0x1a4a43(_0x3a1689);this[_0x2be5f6(0x185)](_0x2be5f6(0x191),!0x1),this[_0x2be5f6(0x185)](_0x2be5f6(0x197),!0x1),this[_0x2be5f6(0x185)](_0x2be5f6(0x18c),0x0),this[_0x2be5f6(0x185)](_0x2be5f6(0x175),0x0),this[_0x2be5f6(0x185)](_0x2be5f6(0x179),!0x1),this[_0x2be5f6(0x185)](_0x2be5f6(0x194),!0x1),this[_0x2be5f6(0x181)](_0x2be5f6(0x17b))['to'](this,_0x2be5f6(0x197),this,_0x2be5f6(0x175),(_0x47f9ad,_0x3ed2f2)=>_0x47f9ad&&_0x3ed2f2>0x0),this[_0x2be5f6(0x181)](_0x2be5f6(0x18e))['to'](this,_0x2be5f6(0x197),this,_0x2be5f6(0x18c),this,_0x2be5f6(0x175),this,_0x2be5f6(0x191),(_0x456ecf,_0x29493a,_0x58b0c1,_0x3fc38b)=>{const _0x4a5bfb=_0x2be5f6;if(!_0x456ecf)return _0x2ac0d1(_0x3a1689,_0x4a5bfb(0x18a));if(!_0x58b0c1)return _0x2ac0d1(_0x3a1689,_0x4a5bfb(0x16f));const _0x1fcf5a=_0x2ac0d1(_0x3a1689,_0x4a5bfb(0x178),_0x58b0c1);return _0x3fc38b?_0x2ac0d1(_0x3a1689,_0x4a5bfb(0x193),[_0x29493a+0x1,_0x58b0c1]):_0x1fcf5a;}),_0x48b819[_0x2be5f6(0x185)]({'label':_0x2ac0d1(_0x3a1689,_0x2be5f6(0x174)),'tooltip':!0x0,'icon':_0x38310e}),_0x3ad081[_0x2be5f6(0x185)]({'label':_0x2ac0d1(_0x3a1689,_0x2be5f6(0x173)),'tooltip':!0x0,'icon':_0x365e05}),_0x48b819[_0x2be5f6(0x181)](_0x2be5f6(0x184))['to'](this,_0x2be5f6(0x194)),_0x3ad081[_0x2be5f6(0x181)](_0x2be5f6(0x184))['to'](this,_0x2be5f6(0x179)),_0x48b819['on'](_0x2be5f6(0x17e),()=>this[_0x2be5f6(0x18f)](_0x2be5f6(0x17e),_0x2be5f6(0x199))),_0x3ad081['on'](_0x2be5f6(0x17e),()=>this[_0x2be5f6(0x18f)](_0x2be5f6(0x17e),_0x2be5f6(0x196))),this[_0x2be5f6(0x187)]({'tag':_0x2be5f6(0x170),'attributes':{'class':['ck',_0x2be5f6(0x17d),_0x2be5f6(0x192)]},'children':[{'tag':_0x2be5f6(0x188),'attributes':{'class':[_0x2be5f6(0x18d)]},'children':[{'tag':_0x2be5f6(0x188),'attributes':{'class':[_0x2be5f6(0x195),_0x5a4a69['if'](_0x2be5f6(0x17b),_0x2be5f6(0x198),_0x1d759c=>!_0x1d759c)]},'children':[{'text':_0x5a4a69['to'](_0x2be5f6(0x191),_0x2f891d=>_0x2f891d?_0x2ac0d1(_0x3a1689,_0x2be5f6(0x177))+':\x20':_0x2ac0d1(_0x3a1689,_0x2be5f6(0x189))+':\x20')}]},{'text':_0x5a4a69['to'](_0x2be5f6(0x18e))}]},new _0x3b6e1d(),{'tag':_0x2be5f6(0x170),'attributes':{'class':[_0x2be5f6(0x18b)]},'children':[_0x48b819,_0x3ad081]}]});}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b9197=_0xedca;(function(_0x368345,_0xb99de6){const _0x3ede32=_0xedca,_0x336b31=_0x368345();while(!![]){try{const _0x3e4e01=-parseInt(_0x3ede32(0xd5))/0x1+parseInt(_0x3ede32(0xdd))/0x2*(-parseInt(_0x3ede32(0xda))/0x3)+-parseInt(_0x3ede32(0xd3))/0x4*(-parseInt(_0x3ede32(0xc7))/0x5)+parseInt(_0x3ede32(0xdc))/0x6*(-parseInt(_0x3ede32(0xca))/0x7)+-parseInt(_0x3ede32(0xcc))/0x8*(-parseInt(_0x3ede32(0xc8))/0x9)+parseInt(_0x3ede32(0xce))/0xa+-parseInt(_0x3ede32(0xcb))/0xb*(-parseInt(_0x3ede32(0xd9))/0xc);if(_0x3e4e01===_0xb99de6)break;else _0x336b31['push'](_0x336b31['shift']());}catch(_0x2c9359){_0x336b31['push'](_0x336b31['shift']());}}}(_0x4bfa,0x97d44));import{Plugin as _0x1b33fa}from'ckeditor5/src/core.js';const ce=_0x4b9197(0xd4);function _0x4bfa(){const _0x4e7fa6=['374vLhiek','6844600oRjzDC','isOfficialPlugin','1634220eSzEzW','change','view','removeClass','document','13940JAvqHu','ck-editor__editable__loading-overlay','609969YlLztL','addClass','pluginName','RevisionViewerLoadingOverlay','395340TDiucl','24201dXPFHO','editing','78gBImuz','190JfTmcX','hide','editor','roots','show','745BxlGdU','9oZSZPQ','isPremiumPlugin','355474wjYzFr'];_0x4bfa=function(){return _0x4e7fa6;};return _0x4bfa();}function _0xedca(_0x2b0358,_0x330242){const _0x4bfa1c=_0x4bfa();return _0xedca=function(_0xedca76,_0x4d7550){_0xedca76=_0xedca76-0xc3;let _0x11cde3=_0x4bfa1c[_0xedca76];return _0x11cde3;},_0xedca(_0x2b0358,_0x330242);}import'../../../theme/revisionviewerloadingoverlay.css';export default class le extends _0x1b33fa{static get[_0x4b9197(0xd7)](){const _0x536c8d=_0x4b9197;return _0x536c8d(0xd8);}static get[_0x4b9197(0xcd)](){return!0x0;}static get[_0x4b9197(0xc9)](){return!0x0;}[_0x4b9197(0xc6)](){const _0x2bcd6=_0x4b9197,_0x349071=this[_0x2bcd6(0xc4)][_0x2bcd6(0xdb)][_0x2bcd6(0xd0)];_0x349071[_0x2bcd6(0xcf)](_0xa2b70e=>{const _0x111f79=_0x2bcd6;for(const _0x25d2a3 of _0x349071[_0x111f79(0xd2)][_0x111f79(0xc5)])_0xa2b70e[_0x111f79(0xd6)](ce,_0x25d2a3);});}[_0x4b9197(0xc3)](){const _0x926b8f=_0x4b9197,_0x292ab2=this[_0x926b8f(0xc4)][_0x926b8f(0xdb)][_0x926b8f(0xd0)];_0x292ab2[_0x926b8f(0xcf)](_0x2bd180=>{const _0x54bfe1=_0x926b8f;for(const _0x3e6c91 of _0x292ab2[_0x54bfe1(0xd2)][_0x54bfe1(0xc5)])_0x2bd180[_0x54bfe1(0xd1)](ce,_0x3e6c91);});}}
23
+ const _0x29233d=_0x5845;function _0x5845(_0x4749e8,_0x26bf3e){const _0x479e91=_0x479e();return _0x5845=function(_0x58458a,_0x6bdf88){_0x58458a=_0x58458a-0xcc;let _0xf410e4=_0x479e91[_0x58458a];return _0xf410e4;},_0x5845(_0x4749e8,_0x26bf3e);}(function(_0x4cb3bc,_0x180466){const _0x4b4ba5=_0x5845,_0xd7f0e=_0x4cb3bc();while(!![]){try{const _0x5b7698=parseInt(_0x4b4ba5(0xd4))/0x1+-parseInt(_0x4b4ba5(0xda))/0x2*(parseInt(_0x4b4ba5(0xe3))/0x3)+parseInt(_0x4b4ba5(0xdc))/0x4*(parseInt(_0x4b4ba5(0xd2))/0x5)+-parseInt(_0x4b4ba5(0xe6))/0x6+parseInt(_0x4b4ba5(0xe5))/0x7*(-parseInt(_0x4b4ba5(0xcd))/0x8)+parseInt(_0x4b4ba5(0xdd))/0x9*(-parseInt(_0x4b4ba5(0xd7))/0xa)+parseInt(_0x4b4ba5(0xd1))/0xb*(parseInt(_0x4b4ba5(0xcc))/0xc);if(_0x5b7698===_0x180466)break;else _0xd7f0e['push'](_0xd7f0e['shift']());}catch(_0x8bb46e){_0xd7f0e['push'](_0xd7f0e['shift']());}}}(_0x479e,0x67c5e));import{Plugin as _0x34d212}from'ckeditor5/src/core.js';const le=_0x29233d(0xd6);import'../../../theme/revisionviewerloadingoverlay.css';export default class ge extends _0x34d212{static get[_0x29233d(0xd9)](){const _0x464e23=_0x29233d;return _0x464e23(0xdf);}static get[_0x29233d(0xdb)](){return!0x0;}static get[_0x29233d(0xe1)](){return!0x0;}[_0x29233d(0xcf)](){const _0x3819d5=_0x29233d,_0x329d23=this[_0x3819d5(0xde)][_0x3819d5(0xd0)][_0x3819d5(0xe4)];_0x329d23[_0x3819d5(0xd3)](_0x3be340=>{const _0xedc2e6=_0x3819d5;for(const _0x27a97a of _0x329d23[_0xedc2e6(0xe2)][_0xedc2e6(0xd5)])_0x3be340[_0xedc2e6(0xce)](le,_0x27a97a);});}[_0x29233d(0xd8)](){const _0x5bc6fc=_0x29233d,_0x339ec9=this[_0x5bc6fc(0xde)][_0x5bc6fc(0xd0)][_0x5bc6fc(0xe4)];_0x339ec9[_0x5bc6fc(0xd3)](_0x45402f=>{const _0x2576eb=_0x5bc6fc;for(const _0x4cbe53 of _0x339ec9[_0x2576eb(0xe2)][_0x2576eb(0xd5)])_0x45402f[_0x2576eb(0xe0)](le,_0x4cbe53);});}}function _0x479e(){const _0x2cee35=['15762ViuSUV','isOfficialPlugin','341416SyDvfe','45DHZMdH','editor','RevisionViewerLoadingOverlay','removeClass','isPremiumPlugin','document','213bRKhfx','view','7InOThN','3830508QXGhNQ','12UDFqXB','5432552TisOQv','addClass','show','editing','24089241XswTBo','20fXtzln','change','494800CLMQCv','roots','ck-editor__editable__loading-overlay','1448110Hzhguo','hide','pluginName'];_0x479e=function(){return _0x2cee35;};return _0x479e();}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x294e13=_0x1b54;(function(_0x451f30,_0xb38e23){const _0x30b843=_0x1b54,_0x1b0a68=_0x451f30();while(!![]){try{const _0x3a0928=parseInt(_0x30b843(0x6a))/0x1+parseInt(_0x30b843(0x87))/0x2+parseInt(_0x30b843(0x65))/0x3*(parseInt(_0x30b843(0x93))/0x4)+-parseInt(_0x30b843(0x74))/0x5*(-parseInt(_0x30b843(0x94))/0x6)+parseInt(_0x30b843(0x92))/0x7*(parseInt(_0x30b843(0x85))/0x8)+parseInt(_0x30b843(0x75))/0x9*(parseInt(_0x30b843(0x7f))/0xa)+-parseInt(_0x30b843(0x95))/0xb*(parseInt(_0x30b843(0x66))/0xc);if(_0x3a0928===_0xb38e23)break;else _0x1b0a68['push'](_0x1b0a68['shift']());}catch(_0x20b412){_0x1b0a68['push'](_0x1b0a68['shift']());}}}(_0x37ce,0x1abf4));function _0x37ce(){const _0x305e05=['Restore\x20this\x20revision','undo','currentChangeNumber','show','closeRevisionViewerCallback','plugins','isPremiumPlugin','showNextChange','componentFactory','29330DuLghQ','restoreRevision','changesNavigation','bind','init','forward','328QmSHcw','showPreviousChange','356252clFYye','set','isEnabled','add','revisionHistory','isForwardNavigationEnabled','commands','Back\x20to\x20editing','editor','config','numberOfChanges','33754gXpyFs','5488rNXTUE','178128LrjMMM','33OnWwHa','isReady','isOfficialPlugin','354SHofKR','3656148eltTzA','pluginName','execute','RevisionViewerUI','199578oEMwKu','exitToEditing','requires','change:isReady','isBackwardNavigationEnabled','hide','isNavigationMode','get','ck-revision-history-ui__back-to-editing','listenTo','25NGEMwD','423jxoNTr'];_0x37ce=function(){return _0x305e05;};return _0x37ce();}import{icons as _0x4224a6,Plugin as _0x392da8}from'ckeditor5/src/core.js';import{ButtonView as _0x58d520}from'ckeditor5/src/ui.js';import _0x8ac50c from'./changesnavigationview.js';import _0x141f88 from'./../../revisionviewer.js';import _0x2b0308 from'./revisionviewerloadingoverlay.js';function _0x1b54(_0x32b095,_0x5b61f7){const _0x37ceec=_0x37ce();return _0x1b54=function(_0x1b54c7,_0x444f6c){_0x1b54c7=_0x1b54c7-0x65;let _0x1659cd=_0x37ceec[_0x1b54c7];return _0x1659cd;},_0x1b54(_0x32b095,_0x5b61f7);}import{getTranslation as _0x4c7018}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';export default class m extends _0x392da8{static get[_0x294e13(0x67)](){const _0x55f2fb=_0x294e13;return _0x55f2fb(0x69);}static get[_0x294e13(0x97)](){return!0x0;}static get[_0x294e13(0x7c)](){return!0x0;}static get[_0x294e13(0x6c)](){return[_0x141f88,_0x2b0308];}[_0x294e13(0x83)](){const _0x3feaef=_0x294e13,_0x310514=this[_0x3feaef(0x8f)],_0x5bd8fa=_0x310514[_0x3feaef(0x7b)][_0x3feaef(0x71)](_0x141f88),_0x2bbc1c=_0x310514[_0x3feaef(0x7b)][_0x3feaef(0x71)](_0x2b0308);_0x310514['ui'][_0x3feaef(0x7e)][_0x3feaef(0x8a)](_0x3feaef(0x6b),_0x596e60=>{const _0x46661f=_0x3feaef,_0x1f6a4d=new _0x58d520(_0x596e60);return _0x1f6a4d[_0x46661f(0x88)]({'label':_0x4c7018(_0x596e60,_0x46661f(0x8e)),'icon':_0x4224a6[_0x46661f(0x77)],'withText':!0x0,'tooltip':!0x0,'class':_0x46661f(0x72)}),this[_0x46661f(0x73)](_0x1f6a4d,_0x46661f(0x68),()=>{const _0x3842a7=_0x46661f;_0x310514[_0x3842a7(0x90)][_0x3842a7(0x71)](_0x3842a7(0x8b))[_0x3842a7(0x7a)]();}),_0x1f6a4d;}),_0x310514['ui'][_0x3feaef(0x7e)][_0x3feaef(0x8a)](_0x3feaef(0x80),_0x25c216=>{const _0x3f6fd1=_0x3feaef,_0x2bb9d4=new _0x58d520(_0x25c216);return _0x2bb9d4[_0x3f6fd1(0x88)]({'label':_0x4c7018(_0x25c216,_0x3f6fd1(0x76)),'withText':!0x0,'tooltip':!0x0}),_0x2bb9d4[_0x3f6fd1(0x82)](_0x3f6fd1(0x89))['to'](_0x310514[_0x3f6fd1(0x8d)][_0x3f6fd1(0x71)](_0x3f6fd1(0x80))),this[_0x3f6fd1(0x73)](_0x2bb9d4,_0x3f6fd1(0x68),()=>_0x310514[_0x3f6fd1(0x68)](_0x3f6fd1(0x80))),_0x2bb9d4;}),_0x310514['ui'][_0x3feaef(0x7e)][_0x3feaef(0x8a)](_0x3feaef(0x81),_0x1a4843=>{const _0x548514=_0x3feaef,_0x528eca=new _0x8ac50c(_0x1a4843),_0x14caf6=_0x310514[_0x548514(0x8d)][_0x548514(0x71)](_0x548514(0x86)),_0x2f4509=_0x310514[_0x548514(0x8d)][_0x548514(0x71)](_0x548514(0x7d));return _0x528eca[_0x548514(0x82)](_0x548514(0x6e))['to'](_0x14caf6,_0x548514(0x89)),_0x528eca[_0x548514(0x82)](_0x548514(0x8c))['to'](_0x2f4509,_0x548514(0x89)),_0x528eca[_0x548514(0x82)](_0x548514(0x96),_0x548514(0x78),_0x548514(0x91),_0x548514(0x70))['to'](_0x5bd8fa),this[_0x548514(0x73)](_0x528eca,_0x548514(0x68),(_0x3d364d,_0x2a51b0)=>{const _0x357f15=_0x548514;_0x310514[_0x357f15(0x68)](_0x357f15(0x84)===_0x2a51b0?_0x357f15(0x7d):_0x357f15(0x86));}),_0x528eca;}),_0x2bbc1c[_0x3feaef(0x79)](),_0x5bd8fa['on'](_0x3feaef(0x6d),(_0x3c1909,_0x4c5a95,_0x1d972e)=>{const _0xad0a9d=_0x3feaef;_0x1d972e?_0x2bbc1c[_0xad0a9d(0x6f)]():_0x2bbc1c[_0xad0a9d(0x79)]();});}}
23
+ const _0x595c=_0x6db6;(function(_0x56eb12,_0x33a56f){const _0x435adb=_0x6db6,_0x2f066c=_0x56eb12();while(!![]){try{const _0x524d3f=-parseInt(_0x435adb(0x115))/0x1+-parseInt(_0x435adb(0x12d))/0x2+parseInt(_0x435adb(0x114))/0x3*(parseInt(_0x435adb(0x138))/0x4)+-parseInt(_0x435adb(0x123))/0x5+parseInt(_0x435adb(0x111))/0x6+parseInt(_0x435adb(0x127))/0x7+-parseInt(_0x435adb(0x12b))/0x8*(-parseInt(_0x435adb(0x134))/0x9);if(_0x524d3f===_0x33a56f)break;else _0x2f066c['push'](_0x2f066c['shift']());}catch(_0x2fd183){_0x2f066c['push'](_0x2f066c['shift']());}}}(_0x1e30,0x37e59));function _0x6db6(_0x3e2fec,_0x981ab5){const _0x1e3007=_0x1e30();return _0x6db6=function(_0x6db657,_0x3570f6){_0x6db657=_0x6db657-0x111;let _0x2cfa6f=_0x1e3007[_0x6db657];return _0x2cfa6f;},_0x6db6(_0x3e2fec,_0x981ab5);}import{icons as _0x4be59b,Plugin as _0x358954}from'ckeditor5/src/core.js';import{ButtonView as _0x2a7072}from'ckeditor5/src/ui.js';import _0x54e663 from'./changesnavigationview.js';import _0x2ec1b1 from'./../../revisionviewer.js';import _0x51ed50 from'./revisionviewerloadingoverlay.js';import{getTranslation as _0x3f7cb4}from'../../utils/common-translations.js';import'../../../theme/revisionviewer.css';function _0x1e30(){const _0x4bbf5d=['811656EbONDH','ck-revision-history-ui__back-to-editing','set','1045134FBEjLt','347963FXCAbP','execute','exitToEditing','RevisionViewerUI','showPreviousChange','config','add','isNavigationMode','revisionHistory','bind','init','get','forward','restoreRevision','1655585vopsVd','currentChangeNumber','componentFactory','closeRevisionViewerCallback','3143007SujIRz','pluginName','Restore\x20this\x20revision','requires','109128DcPHcB','isForwardNavigationEnabled','185654yhLuki','isBackwardNavigationEnabled','undo','commands','isOfficialPlugin','listenTo','changesNavigation','45phBBJU','showNextChange','show','change:isReady','4MdIQaW','isReady','hide','editor','isPremiumPlugin','numberOfChanges','isEnabled','Back\x20to\x20editing','plugins'];_0x1e30=function(){return _0x4bbf5d;};return _0x1e30();}export default class g extends _0x358954{static get[_0x595c(0x128)](){const _0x669249=_0x595c;return _0x669249(0x118);}static get[_0x595c(0x131)](){return!0x0;}static get[_0x595c(0x13c)](){return!0x0;}static get[_0x595c(0x12a)](){return[_0x2ec1b1,_0x51ed50];}[_0x595c(0x11f)](){const _0x31fac0=_0x595c,_0x330de2=this[_0x31fac0(0x13b)],_0x1b019=_0x330de2[_0x31fac0(0x140)][_0x31fac0(0x120)](_0x2ec1b1),_0x57912c=_0x330de2[_0x31fac0(0x140)][_0x31fac0(0x120)](_0x51ed50);_0x330de2['ui'][_0x31fac0(0x125)][_0x31fac0(0x11b)](_0x31fac0(0x117),_0x2d48d3=>{const _0xdbe28d=_0x31fac0,_0x51de10=new _0x2a7072(_0x2d48d3);return _0x51de10[_0xdbe28d(0x113)]({'label':_0x3f7cb4(_0x2d48d3,_0xdbe28d(0x13f)),'icon':_0x4be59b[_0xdbe28d(0x12f)],'withText':!0x0,'tooltip':!0x0,'class':_0xdbe28d(0x112)}),this[_0xdbe28d(0x132)](_0x51de10,_0xdbe28d(0x116),()=>{const _0x369029=_0xdbe28d;_0x330de2[_0x369029(0x11a)][_0x369029(0x120)](_0x369029(0x11d))[_0x369029(0x126)]();}),_0x51de10;}),_0x330de2['ui'][_0x31fac0(0x125)][_0x31fac0(0x11b)](_0x31fac0(0x122),_0xa1ee8f=>{const _0x432391=_0x31fac0,_0x2184ad=new _0x2a7072(_0xa1ee8f);return _0x2184ad[_0x432391(0x113)]({'label':_0x3f7cb4(_0xa1ee8f,_0x432391(0x129)),'withText':!0x0,'tooltip':!0x0}),_0x2184ad[_0x432391(0x11e)](_0x432391(0x13e))['to'](_0x330de2[_0x432391(0x130)][_0x432391(0x120)](_0x432391(0x122))),this[_0x432391(0x132)](_0x2184ad,_0x432391(0x116),()=>_0x330de2[_0x432391(0x116)](_0x432391(0x122))),_0x2184ad;}),_0x330de2['ui'][_0x31fac0(0x125)][_0x31fac0(0x11b)](_0x31fac0(0x133),_0x134f93=>{const _0x2126a8=_0x31fac0,_0x3e000b=new _0x54e663(_0x134f93),_0x8acd71=_0x330de2[_0x2126a8(0x130)][_0x2126a8(0x120)](_0x2126a8(0x119)),_0x8465bb=_0x330de2[_0x2126a8(0x130)][_0x2126a8(0x120)](_0x2126a8(0x135));return _0x3e000b[_0x2126a8(0x11e)](_0x2126a8(0x12e))['to'](_0x8acd71,_0x2126a8(0x13e)),_0x3e000b[_0x2126a8(0x11e)](_0x2126a8(0x12c))['to'](_0x8465bb,_0x2126a8(0x13e)),_0x3e000b[_0x2126a8(0x11e)](_0x2126a8(0x139),_0x2126a8(0x124),_0x2126a8(0x13d),_0x2126a8(0x11c))['to'](_0x1b019),this[_0x2126a8(0x132)](_0x3e000b,_0x2126a8(0x116),(_0x258ee0,_0x1c6d06)=>{const _0x5d87ad=_0x2126a8;_0x330de2[_0x5d87ad(0x116)](_0x5d87ad(0x121)===_0x1c6d06?_0x5d87ad(0x135):_0x5d87ad(0x119));}),_0x3e000b;}),_0x57912c[_0x31fac0(0x136)](),_0x1b019['on'](_0x31fac0(0x137),(_0x3ce298,_0x1a5ca4,_0x16e487)=>{const _0x38b195=_0x31fac0;_0x16e487?_0x57912c[_0x38b195(0x13a)]():_0x57912c[_0x38b195(0x136)]();});}}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x51517a,_0x2347f5,_0x5ab000){const t=_0x51517a['t'];switch(_0x2347f5){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x5ab000);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5ab000);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}
23
+ export function getTranslation(_0x20e4a6,_0x19aafa,_0x2ae171){const t=_0x20e4a6['t'];switch(_0x19aafa){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x2ae171);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x2ae171);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,12 +3,35 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
10
10
  .ck.ck-revision-history-sidebar__header {
11
- --header-height: calc(var(--ck-ui-component-min-height) + 2 * var(--ck-spacing-small) + 1px);
11
+ /*
12
+ The height of the sidebar header is calculated to match the height of the editor toolbar.
13
+ The total editor toolbar height is set to `auto`, so we need to calculate its size based on the elements inside.
14
+
15
+ The editor toolbar height is affected by 2 main variables and takes the height of whichever is bigger:
16
+ - Toolbar button height, which is a combination of `--ck-ui-component-min-height`, `--ck-icon-size` and `--ck-spacing-small`.
17
+ - Toolbar separator height, which is a combination of `--ck-icon-size` and `--ck-spacing-small`.
18
+
19
+ The toolbar button height is calculated as below:
20
+ - `var(--ck-ui-component-min-height)` <- The minimum height of the toolbar button.
21
+ - `2 * var(--ck-spacing-small)` <- Additional margin for all elements inside the toolbar.
22
+ - `1px` <- Top border.
23
+
24
+ The toolbar separator height is calculated as below:
25
+ - `var(--ck-icon-size) + 2 * var(--ck-spacing-small)` <- The line separator height.
26
+ - `2 * var(--ck-spacing-small)` <- Additional margin for all elements inside the toolbar.
27
+ - `1px` <- Top border.
28
+
29
+ See https://github.com/cksource/ckeditor5-commercial/issues/6929.
30
+ */
31
+ --header-height: max(
32
+ calc(var(--ck-ui-component-min-height) + 2 * var(--ck-spacing-small) + 1px),
33
+ calc(var(--ck-icon-size) + 2 * var(--ck-spacing-small) + 2 * var(--ck-spacing-small) + 1px)
34
+ );
12
35
 
13
36
  height: var(--header-height);
14
37
  min-height: var(--header-height);
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -3,7 +3,7 @@
3
3
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
6
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
7
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
8
  */
9
9
 
@@ -58,6 +58,8 @@
58
58
 
59
59
  &::before, &::after {
60
60
  visibility: visible;
61
+ /* Some widgets (e.g. Image) has z-index set to 1. Overlay needs a higher value to cover them correctly. */
62
+ z-index: 2;
61
63
  opacity: .8;
62
64
  transition-delay: var(--ck-revision-history-loading-overlay-transition-delay);
63
65
  }
@@ -1,33 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import type { RevisionHistory, RevisionHistoryConfig, RevisionsRepository, RevisionViewerLoadingOverlay, RevisionHistoryUI, RevisionTracker, RevisionViewer, RestoreRevisionCommand, ShowChangeCommand, RevisionsSidebar, RevisionViewerUI } from './index.js';
10
- declare module '@ckeditor/ckeditor5-core' {
11
- interface EditorConfig {
12
- /**
13
- * The configuration of the revision history feature.
14
- * Introduced by the {@link module:revision-history/revisionhistory~RevisionHistory} feature.
15
- */
16
- revisionHistory?: RevisionHistoryConfig;
17
- }
18
- interface PluginsMap {
19
- [RevisionHistory.pluginName]: RevisionHistory;
20
- [RevisionsRepository.pluginName]: RevisionsRepository;
21
- [RevisionViewerLoadingOverlay.pluginName]: RevisionViewerLoadingOverlay;
22
- [RevisionHistoryUI.pluginName]: RevisionHistoryUI;
23
- [RevisionTracker.pluginName]: RevisionTracker;
24
- [RevisionViewer.pluginName]: RevisionViewer;
25
- [RevisionsSidebar.pluginName]: RevisionsSidebar;
26
- [RevisionViewerUI.pluginName]: RevisionViewerUI;
27
- }
28
- interface CommandsMap {
29
- restoreRevision: RestoreRevisionCommand;
30
- showPreviousChange: ShowChangeCommand<'backward'>;
31
- showNextChange: ShowChangeCommand<'forward'>;
32
- }
33
- }
@@ -1,62 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
10
- declare const ChangeItem_base: {
11
- new (): import("ckeditor5/src/utils.js").Observable;
12
- prototype: import("ckeditor5/src/utils.js").Observable;
13
- };
14
- /**
15
- * Represents a singular change entry in the revision or in the revisions comparison.
16
- */
17
- export default class ChangeItem extends /* #__PURE__ -- @preserve */ ChangeItem_base {
18
- /**
19
- * Unique change item id.
20
- */
21
- readonly id: string;
22
- /**
23
- * User who created the change.
24
- */
25
- readonly author: User;
26
- /**
27
- * Change type.
28
- */
29
- readonly type: string;
30
- /**
31
- * Additional details about the change.
32
- */
33
- readonly data: Record<string, unknown>;
34
- /**
35
- * Name of the root which contains the change.
36
- */
37
- readonly rootName: string;
38
- /**
39
- * The date when the change was created.
40
- *
41
- * @observable
42
- */
43
- readonly createdAt: Date;
44
- constructor(data: ChangeItemInput);
45
- toJSON(): ChangeItemJSON;
46
- }
47
- export interface ChangeItemInput {
48
- id?: string;
49
- author: User;
50
- type: string;
51
- data: Record<string, unknown>;
52
- createdAt: Date;
53
- rootName: string;
54
- }
55
- export interface ChangeItemJSON {
56
- id: string;
57
- authorId: string;
58
- type: string;
59
- data: Record<string, unknown>;
60
- createdAt: Date;
61
- }
62
- export {};
@@ -1,31 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module revision-history/editor/revisionviewereditor
11
- */
12
- import { Editor, type EditorConfig } from 'ckeditor5/src/core.js';
13
- import RevisionViewerEditorUI from './revisionviewereditorui.js';
14
- declare const RevisionViewerEditor_base: import("@ckeditor/ckeditor5-utils").Mixed<typeof Editor, import("ckeditor5/src/core.js").ElementApi>;
15
- /**
16
- * Editor class used to show revision comparisons.
17
- */
18
- export default class RevisionViewerEditor extends /* #__PURE__ -- @preserve */ RevisionViewerEditor_base {
19
- get ui(): RevisionViewerEditorUI;
20
- /**
21
- * @param sourceElement Editor source element.
22
- * @param config Editor configuration.
23
- */
24
- constructor(sourceElement: HTMLElement, config?: EditorConfig);
25
- /**
26
- * @inheritDoc
27
- */
28
- destroy(): Promise<unknown>;
29
- static create(sourceElement: HTMLElement, config?: EditorConfig): Promise<RevisionViewerEditor>;
30
- }
31
- export {};
@@ -1,32 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module revision-history/editor/revisionviewereditorui
11
- */
12
- import type { Editor } from 'ckeditor5/src/core.js';
13
- import { EditorUI } from 'ckeditor5/src/ui.js';
14
- import type RevisionViewerEditorUIView from './revisionviewereditoruiview.js';
15
- export default class RevisionViewerEditorUI extends EditorUI {
16
- get view(): RevisionViewerEditorUIView;
17
- constructor(editor: Editor, view: RevisionViewerEditorUIView);
18
- /**
19
- * @inheritDoc
20
- */
21
- get element(): HTMLElement | null;
22
- /**
23
- * Initializes the UI.
24
- *
25
- * @param replacementElement The DOM element that will be the source for the created editor.
26
- */
27
- init(replacementElement: HTMLElement): void;
28
- /**
29
- * @inheritDoc
30
- */
31
- destroy(): void;
32
- }
@@ -1,47 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- /**
10
- * @module revision-history/editor/revisionviewereditoruiview
11
- */
12
- import { BoxedEditorUIView, InlineEditableUIView, StickyPanelView, ToolbarView } from 'ckeditor5/src/ui.js';
13
- import type { EditingView } from 'ckeditor5/src/engine.js';
14
- import type { Locale } from 'ckeditor5/src/utils.js';
15
- import '@ckeditor/ckeditor5-editor-classic/theme/classiceditor.css';
16
- export default class RevisionViewerEditorUIView extends BoxedEditorUIView {
17
- /**
18
- * Sticky panel view instance. This is a parent view of a {@link #toolbar}
19
- * that makes toolbar sticky.
20
- */
21
- readonly stickyPanel: StickyPanelView;
22
- /**
23
- * Toolbar view instance.
24
- */
25
- readonly toolbar: ToolbarView;
26
- get editable(): InlineEditableUIView;
27
- /**
28
- * Creates an instance of the classic editor UI view.
29
- *
30
- * @param locale The {@link module:core/editor/editor~Editor#locale} instance.
31
- * @param editingView The editing view instance this view is related to.
32
- * @param options Configuration options for the view instance.
33
- */
34
- constructor(locale: Locale, editingView: EditingView, options?: RevisionViewerEditorUIViewOptions);
35
- /**
36
- * @inheritDoc
37
- */
38
- render(): void;
39
- }
40
- export interface RevisionViewerEditorUIViewOptions {
41
- /**
42
- * When set `true` enables automatic items grouping
43
- * in the main {@link module:editor-classic/classiceditoruiview~ClassicEditorUIView#toolbar toolbar}.
44
- * See {@link module:ui/toolbar/toolbarview~ToolbarOptions#shouldGroupWhenFull} to learn more.
45
- */
46
- shouldToolbarGroupWhenFull?: boolean;
47
- }
package/dist/index.d.ts DELETED
@@ -1,20 +0,0 @@
1
- /**
2
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- export { default as Revision } from './revision.js';
10
- export { default as RevisionHistory } from './revisionhistory.js';
11
- export { default as RevisionsRepository } from './revisionsrepository.js';
12
- export { default as RevisionViewerLoadingOverlay } from './ui/revisionviewer/revisionviewerloadingoverlay.js';
13
- export { default as RevisionHistoryUI } from './ui/revisionhistory/revisionhistoryui.js';
14
- export { default as RevisionTracker } from './revisiontracker.js';
15
- export { default as RevisionViewer, type RestoreRevisionCommand, type ShowChangeCommand } from './revisionviewer.js';
16
- export { default as RevisionsSidebar } from './ui/revisionssidebar/revisionssidebar.js';
17
- export { default as RevisionViewerUI } from './ui/revisionviewer/revisionviewerui.js';
18
- export type { RevisionData } from './revision.js';
19
- export type { RevisionHistoryConfig } from './revisionhistoryconfig.js';
20
- import './augmentation.js';