@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260130.0 → 0.0.0-nightly-20260131.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 (349) hide show
  1. package/build/translations/af.js +1 -0
  2. package/build/translations/ar.js +1 -0
  3. package/build/translations/ast.js +1 -0
  4. package/build/translations/az.js +1 -0
  5. package/build/translations/be.js +1 -0
  6. package/build/translations/bg.js +1 -0
  7. package/build/translations/bn.js +1 -0
  8. package/build/translations/bs.js +1 -0
  9. package/build/translations/ca.js +1 -0
  10. package/build/translations/cs.js +1 -0
  11. package/build/translations/da.js +1 -0
  12. package/build/translations/de-ch.js +1 -0
  13. package/build/translations/de.js +1 -0
  14. package/build/translations/el.js +1 -0
  15. package/build/translations/en-au.js +1 -0
  16. package/build/translations/en-gb.js +1 -0
  17. package/build/translations/eo.js +1 -0
  18. package/build/translations/es-co.js +1 -0
  19. package/build/translations/es.js +1 -0
  20. package/build/translations/et.js +1 -0
  21. package/build/translations/eu.js +1 -0
  22. package/build/translations/fa.js +1 -0
  23. package/build/translations/fi.js +1 -0
  24. package/build/translations/fr.js +1 -0
  25. package/build/translations/gl.js +1 -0
  26. package/build/translations/gu.js +1 -0
  27. package/build/translations/he.js +1 -0
  28. package/build/translations/hi.js +1 -0
  29. package/build/translations/hr.js +1 -0
  30. package/build/translations/hu.js +1 -0
  31. package/build/translations/hy.js +1 -0
  32. package/build/translations/id.js +1 -0
  33. package/build/translations/it.js +1 -0
  34. package/build/translations/ja.js +1 -0
  35. package/build/translations/jv.js +1 -0
  36. package/build/translations/kk.js +1 -0
  37. package/build/translations/km.js +1 -0
  38. package/build/translations/kn.js +1 -0
  39. package/build/translations/ko.js +1 -0
  40. package/build/translations/ku.js +1 -0
  41. package/build/translations/lt.js +1 -0
  42. package/build/translations/lv.js +1 -0
  43. package/build/translations/ms.js +1 -0
  44. package/build/translations/nb.js +1 -0
  45. package/build/translations/ne.js +1 -0
  46. package/build/translations/nl.js +1 -0
  47. package/build/translations/no.js +1 -0
  48. package/build/translations/oc.js +1 -0
  49. package/build/translations/pl.js +1 -0
  50. package/build/translations/pt-br.js +1 -0
  51. package/build/translations/pt.js +1 -0
  52. package/build/translations/ro.js +1 -0
  53. package/build/translations/ru.js +1 -0
  54. package/build/translations/si.js +1 -0
  55. package/build/translations/sk.js +1 -0
  56. package/build/translations/sl.js +1 -0
  57. package/build/translations/sq.js +1 -0
  58. package/build/translations/sr-latn.js +1 -0
  59. package/build/translations/sr.js +1 -0
  60. package/build/translations/sv.js +1 -0
  61. package/build/translations/th.js +1 -0
  62. package/build/translations/ti.js +1 -0
  63. package/build/translations/tk.js +1 -0
  64. package/build/translations/tr.js +1 -0
  65. package/build/translations/tt.js +1 -0
  66. package/build/translations/ug.js +1 -0
  67. package/build/translations/uk.js +1 -0
  68. package/build/translations/ur.js +1 -0
  69. package/build/translations/uz.js +1 -0
  70. package/build/translations/vi.js +1 -0
  71. package/build/translations/zh-cn.js +1 -0
  72. package/build/translations/zh.js +1 -0
  73. package/build/uploadcare.js +5 -0
  74. package/ckeditor5-metadata.json +2 -2
  75. package/dist/index.js +3 -3
  76. package/dist/translations/af.js +1 -1
  77. package/dist/translations/af.umd.js +1 -1
  78. package/dist/translations/ar.js +1 -1
  79. package/dist/translations/ar.umd.js +1 -1
  80. package/dist/translations/ast.js +1 -1
  81. package/dist/translations/ast.umd.js +1 -1
  82. package/dist/translations/az.js +1 -1
  83. package/dist/translations/az.umd.js +1 -1
  84. package/dist/translations/be.js +1 -1
  85. package/dist/translations/be.umd.js +1 -1
  86. package/dist/translations/bg.js +1 -1
  87. package/dist/translations/bg.umd.js +1 -1
  88. package/dist/translations/bn.js +1 -1
  89. package/dist/translations/bn.umd.js +1 -1
  90. package/dist/translations/bs.js +1 -1
  91. package/dist/translations/bs.umd.js +1 -1
  92. package/dist/translations/ca.js +1 -1
  93. package/dist/translations/ca.umd.js +1 -1
  94. package/dist/translations/cs.js +1 -1
  95. package/dist/translations/cs.umd.js +1 -1
  96. package/dist/translations/da.js +1 -1
  97. package/dist/translations/da.umd.js +1 -1
  98. package/dist/translations/de-ch.js +1 -1
  99. package/dist/translations/de-ch.umd.js +1 -1
  100. package/dist/translations/de.js +1 -1
  101. package/dist/translations/de.umd.js +1 -1
  102. package/dist/translations/el.js +1 -1
  103. package/dist/translations/el.umd.js +1 -1
  104. package/dist/translations/en-au.js +1 -1
  105. package/dist/translations/en-au.umd.js +1 -1
  106. package/dist/translations/en-gb.js +1 -1
  107. package/dist/translations/en-gb.umd.js +1 -1
  108. package/dist/translations/en.js +1 -1
  109. package/dist/translations/en.umd.js +1 -1
  110. package/dist/translations/eo.js +1 -1
  111. package/dist/translations/eo.umd.js +1 -1
  112. package/dist/translations/es-co.js +1 -1
  113. package/dist/translations/es-co.umd.js +1 -1
  114. package/dist/translations/es.js +1 -1
  115. package/dist/translations/es.umd.js +1 -1
  116. package/dist/translations/et.js +1 -1
  117. package/dist/translations/et.umd.js +1 -1
  118. package/dist/translations/eu.js +1 -1
  119. package/dist/translations/eu.umd.js +1 -1
  120. package/dist/translations/fa.js +1 -1
  121. package/dist/translations/fa.umd.js +1 -1
  122. package/dist/translations/fi.js +1 -1
  123. package/dist/translations/fi.umd.js +1 -1
  124. package/dist/translations/fr.js +1 -1
  125. package/dist/translations/fr.umd.js +1 -1
  126. package/dist/translations/gl.js +1 -1
  127. package/dist/translations/gl.umd.js +1 -1
  128. package/dist/translations/gu.js +1 -1
  129. package/dist/translations/gu.umd.js +1 -1
  130. package/dist/translations/he.js +1 -1
  131. package/dist/translations/he.umd.js +1 -1
  132. package/dist/translations/hi.js +1 -1
  133. package/dist/translations/hi.umd.js +1 -1
  134. package/dist/translations/hr.js +1 -1
  135. package/dist/translations/hr.umd.js +1 -1
  136. package/dist/translations/hu.js +1 -1
  137. package/dist/translations/hu.umd.js +1 -1
  138. package/dist/translations/hy.js +1 -1
  139. package/dist/translations/hy.umd.js +1 -1
  140. package/dist/translations/id.js +1 -1
  141. package/dist/translations/id.umd.js +1 -1
  142. package/dist/translations/it.js +1 -1
  143. package/dist/translations/it.umd.js +1 -1
  144. package/dist/translations/ja.js +1 -1
  145. package/dist/translations/ja.umd.js +1 -1
  146. package/dist/translations/jv.js +1 -1
  147. package/dist/translations/jv.umd.js +1 -1
  148. package/dist/translations/kk.js +1 -1
  149. package/dist/translations/kk.umd.js +1 -1
  150. package/dist/translations/km.js +1 -1
  151. package/dist/translations/km.umd.js +1 -1
  152. package/dist/translations/kn.js +1 -1
  153. package/dist/translations/kn.umd.js +1 -1
  154. package/dist/translations/ko.js +1 -1
  155. package/dist/translations/ko.umd.js +1 -1
  156. package/dist/translations/ku.js +1 -1
  157. package/dist/translations/ku.umd.js +1 -1
  158. package/dist/translations/lt.js +1 -1
  159. package/dist/translations/lt.umd.js +1 -1
  160. package/dist/translations/lv.js +1 -1
  161. package/dist/translations/lv.umd.js +1 -1
  162. package/dist/translations/ms.js +1 -1
  163. package/dist/translations/ms.umd.js +1 -1
  164. package/dist/translations/nb.js +1 -1
  165. package/dist/translations/nb.umd.js +1 -1
  166. package/dist/translations/ne.js +1 -1
  167. package/dist/translations/ne.umd.js +1 -1
  168. package/dist/translations/nl.js +1 -1
  169. package/dist/translations/nl.umd.js +1 -1
  170. package/dist/translations/no.js +1 -1
  171. package/dist/translations/no.umd.js +1 -1
  172. package/dist/translations/oc.js +1 -1
  173. package/dist/translations/oc.umd.js +1 -1
  174. package/dist/translations/pl.js +1 -1
  175. package/dist/translations/pl.umd.js +1 -1
  176. package/dist/translations/pt-br.js +1 -1
  177. package/dist/translations/pt-br.umd.js +1 -1
  178. package/dist/translations/pt.js +1 -1
  179. package/dist/translations/pt.umd.js +1 -1
  180. package/dist/translations/ro.js +1 -1
  181. package/dist/translations/ro.umd.js +1 -1
  182. package/dist/translations/ru.js +1 -1
  183. package/dist/translations/ru.umd.js +1 -1
  184. package/dist/translations/si.js +1 -1
  185. package/dist/translations/si.umd.js +1 -1
  186. package/dist/translations/sk.js +1 -1
  187. package/dist/translations/sk.umd.js +1 -1
  188. package/dist/translations/sl.js +1 -1
  189. package/dist/translations/sl.umd.js +1 -1
  190. package/dist/translations/sq.js +1 -1
  191. package/dist/translations/sq.umd.js +1 -1
  192. package/dist/translations/sr-latn.js +1 -1
  193. package/dist/translations/sr-latn.umd.js +1 -1
  194. package/dist/translations/sr.js +1 -1
  195. package/dist/translations/sr.umd.js +1 -1
  196. package/dist/translations/sv.js +1 -1
  197. package/dist/translations/sv.umd.js +1 -1
  198. package/dist/translations/th.js +1 -1
  199. package/dist/translations/th.umd.js +1 -1
  200. package/dist/translations/ti.js +1 -1
  201. package/dist/translations/ti.umd.js +1 -1
  202. package/dist/translations/tk.js +1 -1
  203. package/dist/translations/tk.umd.js +1 -1
  204. package/dist/translations/tr.js +1 -1
  205. package/dist/translations/tr.umd.js +1 -1
  206. package/dist/translations/tt.js +1 -1
  207. package/dist/translations/tt.umd.js +1 -1
  208. package/dist/translations/ug.js +1 -1
  209. package/dist/translations/ug.umd.js +1 -1
  210. package/dist/translations/uk.js +1 -1
  211. package/dist/translations/uk.umd.js +1 -1
  212. package/dist/translations/ur.js +1 -1
  213. package/dist/translations/ur.umd.js +1 -1
  214. package/dist/translations/uz.js +1 -1
  215. package/dist/translations/uz.umd.js +1 -1
  216. package/dist/translations/vi.js +1 -1
  217. package/dist/translations/vi.umd.js +1 -1
  218. package/dist/translations/zh-cn.js +1 -1
  219. package/dist/translations/zh-cn.umd.js +1 -1
  220. package/dist/translations/zh.js +1 -1
  221. package/dist/translations/zh.umd.js +1 -1
  222. package/lang/contexts.json +24 -0
  223. package/lang/translations/af.po +100 -0
  224. package/lang/translations/ar.po +100 -0
  225. package/lang/translations/ast.po +100 -0
  226. package/lang/translations/az.po +100 -0
  227. package/lang/translations/be.po +100 -0
  228. package/lang/translations/bg.po +100 -0
  229. package/lang/translations/bn.po +100 -0
  230. package/lang/translations/bs.po +100 -0
  231. package/lang/translations/ca.po +100 -0
  232. package/lang/translations/cs.po +100 -0
  233. package/lang/translations/da.po +100 -0
  234. package/lang/translations/de-ch.po +100 -0
  235. package/lang/translations/de.po +100 -0
  236. package/lang/translations/el.po +100 -0
  237. package/lang/translations/en-au.po +100 -0
  238. package/lang/translations/en-gb.po +100 -0
  239. package/lang/translations/en.po +100 -0
  240. package/lang/translations/eo.po +100 -0
  241. package/lang/translations/es-co.po +100 -0
  242. package/lang/translations/es.po +100 -0
  243. package/lang/translations/et.po +100 -0
  244. package/lang/translations/eu.po +100 -0
  245. package/lang/translations/fa.po +100 -0
  246. package/lang/translations/fi.po +100 -0
  247. package/lang/translations/fr.po +100 -0
  248. package/lang/translations/gl.po +100 -0
  249. package/lang/translations/gu.po +100 -0
  250. package/lang/translations/he.po +100 -0
  251. package/lang/translations/hi.po +100 -0
  252. package/lang/translations/hr.po +100 -0
  253. package/lang/translations/hu.po +100 -0
  254. package/lang/translations/hy.po +100 -0
  255. package/lang/translations/id.po +100 -0
  256. package/lang/translations/it.po +100 -0
  257. package/lang/translations/ja.po +100 -0
  258. package/lang/translations/jv.po +100 -0
  259. package/lang/translations/kk.po +100 -0
  260. package/lang/translations/km.po +100 -0
  261. package/lang/translations/kn.po +100 -0
  262. package/lang/translations/ko.po +100 -0
  263. package/lang/translations/ku.po +100 -0
  264. package/lang/translations/lt.po +100 -0
  265. package/lang/translations/lv.po +100 -0
  266. package/lang/translations/ms.po +100 -0
  267. package/lang/translations/nb.po +100 -0
  268. package/lang/translations/ne.po +100 -0
  269. package/lang/translations/nl.po +100 -0
  270. package/lang/translations/no.po +100 -0
  271. package/lang/translations/oc.po +100 -0
  272. package/lang/translations/pl.po +100 -0
  273. package/lang/translations/pt-br.po +100 -0
  274. package/lang/translations/pt.po +100 -0
  275. package/lang/translations/ro.po +100 -0
  276. package/lang/translations/ru.po +100 -0
  277. package/lang/translations/si.po +100 -0
  278. package/lang/translations/sk.po +100 -0
  279. package/lang/translations/sl.po +100 -0
  280. package/lang/translations/sq.po +100 -0
  281. package/lang/translations/sr-latn.po +100 -0
  282. package/lang/translations/sr.po +100 -0
  283. package/lang/translations/sv.po +100 -0
  284. package/lang/translations/th.po +100 -0
  285. package/lang/translations/ti.po +100 -0
  286. package/lang/translations/tk.po +100 -0
  287. package/lang/translations/tr.po +100 -0
  288. package/lang/translations/tt.po +100 -0
  289. package/lang/translations/ug.po +100 -0
  290. package/lang/translations/uk.po +100 -0
  291. package/lang/translations/ur.po +100 -0
  292. package/lang/translations/uz.po +100 -0
  293. package/lang/translations/vi.po +100 -0
  294. package/lang/translations/zh-cn.po +100 -0
  295. package/lang/translations/zh.po +100 -0
  296. package/package.json +46 -23
  297. package/src/augmentation.js +23 -0
  298. package/src/index.js +23 -0
  299. package/{dist → src}/ui/uploadcarecontroller.d.ts +3 -3
  300. package/src/ui/uploadcarecontroller.js +24 -0
  301. package/{dist → src}/ui/uploadcareformview.d.ts +1 -1
  302. package/src/ui/uploadcareformview.js +23 -0
  303. package/{dist → src}/uploadcare.d.ts +1 -1
  304. package/src/uploadcare.js +23 -0
  305. package/{dist → src}/uploadcarecommand.d.ts +2 -2
  306. package/src/uploadcarecommand.js +23 -0
  307. package/{dist → src}/uploadcareconfig.d.ts +1 -1
  308. package/src/uploadcareconfig.js +23 -0
  309. package/{dist → src}/uploadcareediting.d.ts +2 -2
  310. package/src/uploadcareediting.js +23 -0
  311. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -5
  312. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +24 -0
  313. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -2
  314. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +23 -0
  315. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
  316. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +23 -0
  317. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -2
  318. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +23 -0
  319. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
  320. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +23 -0
  321. package/{dist → src}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
  322. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +23 -0
  323. package/{dist → src}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
  324. package/src/uploadcareimageedit/uploadcareimageeditediting.js +23 -0
  325. package/{dist → src}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
  326. package/src/uploadcareimageedit/uploadcareimageeditui.js +23 -0
  327. package/{dist → src}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
  328. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +23 -0
  329. package/{dist → src}/uploadcareimageedit.d.ts +1 -1
  330. package/src/uploadcareimageedit.js +23 -0
  331. package/{dist → src}/uploadcareui.d.ts +1 -1
  332. package/src/uploadcareui.js +23 -0
  333. package/{dist → src}/uploadcareuploadadapter.d.ts +2 -2
  334. package/src/uploadcareuploadadapter.js +23 -0
  335. package/src/utils/common-translations.js +23 -0
  336. package/{dist → src}/utils/dialogfocusmanagerview.d.ts +2 -2
  337. package/src/utils/dialogfocusmanagerview.js +23 -0
  338. package/src/utils/editingutils.js +23 -0
  339. package/src/utils/isancestor.js +23 -0
  340. package/src/utils/uploadutils.js +23 -0
  341. package/theme/uploadcare-form.css +201 -0
  342. package/theme/uploadcare-theme.css +20 -0
  343. package/theme/uploadcareimageedit.css +64 -0
  344. /package/{dist → src}/augmentation.d.ts +0 -0
  345. /package/{dist → src}/index.d.ts +0 -0
  346. /package/{dist → src}/utils/common-translations.d.ts +0 -0
  347. /package/{dist → src}/utils/editingutils.d.ts +0 -0
  348. /package/{dist → src}/utils/isancestor.d.ts +0 -0
  349. /package/{dist → src}/utils/uploadutils.d.ts +0 -0
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x23dfb1=_0x244b;(function(_0x327597,_0x1a6ddd){const _0x285da5=_0x244b,_0x17090f=_0x327597();while(!![]){try{const _0x5d9a1f=parseInt(_0x285da5(0x12b))/0x1+parseInt(_0x285da5(0x12c))/0x2+parseInt(_0x285da5(0x11d))/0x3+parseInt(_0x285da5(0x127))/0x4*(-parseInt(_0x285da5(0x122))/0x5)+parseInt(_0x285da5(0x12d))/0x6+-parseInt(_0x285da5(0x125))/0x7*(parseInt(_0x285da5(0x12e))/0x8)+-parseInt(_0x285da5(0x130))/0x9;if(_0x5d9a1f===_0x1a6ddd)break;else _0x17090f['push'](_0x17090f['shift']());}catch(_0x126381){_0x17090f['push'](_0x17090f['shift']());}}}(_0x6698,0x9c5b3));import{Plugin as _0x161f11}from'ckeditor5/src/core.js';import{Notification as _0x23c66e}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x4fbcb5}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x506c45}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2ce084}from'../uploadcareediting.js';function _0x6698(){const _0x59d442=['isOfficialPlugin','1038724dQWYts','uploadcareImageEdit','uploadcareImageReplace','add','833143deLkJM','1482920XVRsnu','4529664vkCpll','1296GFUSWl','commands','12183498UYgpYk','requires','1112775xUjAMD','init','pluginName','ImageEditing','ImageUtils','5FnFGqQ','UploadcareImageEditEditing','isPremiumPlugin','19299TMISNb'];_0x6698=function(){return _0x59d442;};return _0x6698();}function _0x244b(_0x356f78,_0x58fc08){const _0x66988b=_0x6698();return _0x244b=function(_0x244b7b,_0x5e83eb){_0x244b7b=_0x244b7b-0x11c;let _0x3b40a8=_0x66988b[_0x244b7b];return _0x3b40a8;},_0x244b(_0x356f78,_0x58fc08);}export class UploadcareImageEditEditing extends _0x161f11{static get[_0x23dfb1(0x11f)](){const _0x353856=_0x23dfb1;return _0x353856(0x123);}static get[_0x23dfb1(0x11c)](){const _0x5ed647=_0x23dfb1;return[_0x2ce084,_0x23c66e,_0x5ed647(0x121),_0x5ed647(0x120)];}static get[_0x23dfb1(0x126)](){return!0x0;}static get[_0x23dfb1(0x124)](){return!0x0;}[_0x23dfb1(0x11e)](){const _0x4af5de=_0x23dfb1,{editor:_0x2e77db}=this;_0x2e77db[_0x4af5de(0x12f)][_0x4af5de(0x12a)](_0x4af5de(0x128),new _0x4fbcb5(_0x2e77db)),_0x2e77db[_0x4af5de(0x12f)][_0x4af5de(0x12a)](_0x4af5de(0x129),new _0x506c45(_0x2e77db));}}
@@ -6,7 +6,7 @@
6
6
  * @module uploadcare/uploadcareimageedit/uploadcareimageeditui
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
10
  import '@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';
11
11
  import '../../theme/uploadcare-theme.css';
12
12
  /**
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{Plugin as _0x19ce6f}from'ckeditor5/src/core.js';import{ButtonView as _0x3b4478}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4ade62}from'ckeditor5/src/icons.js';import{createElement as _0x206645}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x19ce6f{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x7a0239=this['editor'];_0x7a0239['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4aa8f0=>{const _0x4b3d41=_0x7a0239['commands']['get']('uploadcareImageEdit'),_0x25a1ab=new _0x3b4478(_0x4aa8f0),t=_0x4aa8f0['t'];return _0x25a1ab['set']({'icon':_0x4ade62,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x25a1ab['bind']('isEnabled')['to'](_0x4b3d41),_0x25a1ab['bind']('isOn')['to'](_0x4b3d41,'isActive'),this['listenTo'](_0x25a1ab,'execute',()=>{_0x7a0239['execute']('uploadcareImageEdit'),_0x7a0239['editing']['view']['focus']();}),_0x25a1ab;}),this['_initConfig']();}['_initConfig'](){const _0x58ebe4=_0x206645(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x58ebe4),this['listenTo'](this['editor'],'destroy',()=>{_0x58ebe4['remove']();});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module uploadcare/uploadcareimageedit/uploadcareimagereplacecommand
7
7
  */
8
- import { Command } from '@ckeditor/ckeditor5-core';
8
+ import { Command } from 'ckeditor5/src/core.js';
9
9
  /**
10
10
  * The Uploadcare replace image command.
11
11
  *
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x4119(){const _0x2bb8dc=['imageInline','element','srcset','editor','406692IjAZue','execute','imageBlock','removeAttribute','refresh','64825MaQFsF','19071MYujbV','change','model','document','isEnabled','30BqSfrL','sizes','19572970SVxoqd','60494Cqgrvp','10214876vnUWED','getSelectedElement','setAttributes','selection','180NQgGjT','1440702JhBamD','1448OlZQdS'];_0x4119=function(){return _0x2bb8dc;};return _0x4119();}const _0xa6bb6=_0x5b45;(function(_0x58a209,_0x373275){const _0x2312a5=_0x5b45,_0x704963=_0x58a209();while(!![]){try{const _0x191998=parseInt(_0x2312a5(0x1a3))/0x1+-parseInt(_0x2312a5(0x19d))/0x2*(parseInt(_0x2312a5(0x19a))/0x3)+-parseInt(_0x2312a5(0x1a2))/0x4*(-parseInt(_0x2312a5(0x1ae))/0x5)+-parseInt(_0x2312a5(0x1a9))/0x6+parseInt(_0x2312a5(0x19e))/0x7+-parseInt(_0x2312a5(0x1a4))/0x8*(parseInt(_0x2312a5(0x1af))/0x9)+-parseInt(_0x2312a5(0x19c))/0xa;if(_0x191998===_0x373275)break;else _0x704963['push'](_0x704963['shift']());}catch(_0x191749){_0x704963['push'](_0x704963['shift']());}}}(_0x4119,0xbc8d3));import{Command as _0x5935c6}from'ckeditor5/src/core.js';function _0x5b45(_0x5e1e,_0x404ed1){const _0x4119a0=_0x4119();return _0x5b45=function(_0x5b45cd,_0x510ffa){_0x5b45cd=_0x5b45cd-0x196;let _0x10df76=_0x4119a0[_0x5b45cd];return _0x10df76;},_0x5b45(_0x5e1e,_0x404ed1);}export class UploadcareImageReplaceCommand extends _0x5935c6{[_0xa6bb6(0x1ad)](){const _0x37b42c=_0xa6bb6,_0x130836=this[_0x37b42c(0x1a8)][_0x37b42c(0x197)][_0x37b42c(0x198)][_0x37b42c(0x1a1)][_0x37b42c(0x19f)]();this[_0x37b42c(0x199)]=Boolean(_0x130836&&(_0x130836['is'](_0x37b42c(0x1a6),_0x37b42c(0x1ab))||_0x130836['is'](_0x37b42c(0x1a6),_0x37b42c(0x1a5))));}[_0xa6bb6(0x1aa)](_0x225a6e){const _0x3121d3=_0xa6bb6,_0x193198=this[_0x3121d3(0x1a8)][_0x3121d3(0x197)][_0x3121d3(0x198)][_0x3121d3(0x1a1)][_0x3121d3(0x19f)]();this[_0x3121d3(0x1a8)][_0x3121d3(0x197)][_0x3121d3(0x196)](_0x49d29b=>{const _0xa68767=_0x3121d3;_0x49d29b[_0xa68767(0x1a0)](_0x225a6e,_0x193198),_0x49d29b[_0xa68767(0x1ac)](_0xa68767(0x1a7),_0x193198),_0x49d29b[_0xa68767(0x1ac)](_0xa68767(0x19b),_0x193198);});}}
@@ -6,7 +6,7 @@
6
6
  * @module uploadcare/uploadcareimageedit
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
10
  import { UploadcareImageEditEditing } from './uploadcareimageedit/uploadcareimageeditediting.js';
11
11
  import { UploadcareImageEditUI } from './uploadcareimageedit/uploadcareimageeditui.js';
12
12
  /**
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x29a714=_0x1195;function _0x1195(_0x161a77,_0x10f144){var _0x595516=_0x5955();return _0x1195=function(_0x11950d,_0x18abb3){_0x11950d=_0x11950d-0x1ad;var _0x2832f1=_0x595516[_0x11950d];return _0x2832f1;},_0x1195(_0x161a77,_0x10f144);}(function(_0x531fa8,_0x336fb6){var _0x1fed3a=_0x1195,_0x129c51=_0x531fa8();while(!![]){try{var _0x272b93=-parseInt(_0x1fed3a(0x1b8))/0x1*(parseInt(_0x1fed3a(0x1b3))/0x2)+parseInt(_0x1fed3a(0x1bb))/0x3*(parseInt(_0x1fed3a(0x1bc))/0x4)+-parseInt(_0x1fed3a(0x1b5))/0x5+parseInt(_0x1fed3a(0x1ae))/0x6*(parseInt(_0x1fed3a(0x1ba))/0x7)+parseInt(_0x1fed3a(0x1b6))/0x8*(parseInt(_0x1fed3a(0x1b9))/0x9)+-parseInt(_0x1fed3a(0x1bd))/0xa*(parseInt(_0x1fed3a(0x1b7))/0xb)+parseInt(_0x1fed3a(0x1af))/0xc;if(_0x272b93===_0x336fb6)break;else _0x129c51['push'](_0x129c51['shift']());}catch(_0xbd2c8e){_0x129c51['push'](_0x129c51['shift']());}}}(_0x5955,0x543b0));import{Plugin as _0x520823}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x21c4ef}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x5e374d}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x520823{static get[_0x29a714(0x1b1)](){var _0x6cbbde=_0x29a714;return _0x6cbbde(0x1ad);}static get[_0x29a714(0x1b0)](){return[_0x21c4ef,_0x5e374d];}static get[_0x29a714(0x1b4)](){return!0x0;}static get[_0x29a714(0x1b2)](){return!0x0;}}function _0x5955(){var _0xf42387=['6508308xcimEx','requires','pluginName','isPremiumPlugin','608OlLtKl','isOfficialPlugin','1615710gTjwqG','160WMdyJM','2299QSyExV','1834dNkoSf','179136Sctsgy','7UZuZVR','33GDWHZb','125764YZSfjG','24970HylzTa','UploadcareImageEdit','2767614zyQDhY'];_0x5955=function(){return _0xf42387;};return _0x5955();}
@@ -6,7 +6,7 @@
6
6
  * @module uploadcare/uploadcareui
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
10
  import '@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';
11
11
  import '../theme/uploadcare-theme.css';
12
12
  import '../theme/uploadcareimageedit.css';
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x505f(){const _0x43a99e=['1416071BesrNu','url','invalid','withText','Dropbox','afterInit','uploadcare.uploader.sourceList','reduce','_showLicenseError','uploadcareLicenseKeyDomainLimit','isOfficialPlugin','_normalizeConfigSourceList','domainLimit','Local','Facebook','_createToolbarButton','_createMenuBarButtons','commands','locale','execute','icon','_createButton','bind','destroy','_createDropdownButtons','get','URL','uploadcareLicenseKeyEvaluationLimit','2HpnFRH','uploadcareLicenseKeyInvalid','featureNotAllowed','upload','GDrive','10YxbyAA','type','init','expired','17865LWnpvL','shortText','forEach','assetManager','392yRCyJR','33BlkEtu','evaluationLimit','11775252Fzacef','UploadcareUI','label','plugins','uploadcareLicenseKeyNotAllowed','has','registerIntegration','map','GPhotos','tooltip','entries','Replace','licenseKey','push','OneDrive','pluginName','editor','ImageInsertUI','Uploadcare','_getIntegrationKey','isImageSelected','_licenseKeyCheckInterval','uploadcareLicenseKeyExpired','1252HzqqBw','1096932PXEbbX','uploadcareLicenseKeyValid','1117422xVTUFp','isEnabled','15432KZBTzQ','Insert','config','uploadcare','278278iKovFH','isPremiumPlugin','usageLimit','uploadcareLicenseKeyUsageLimit','text'];_0x505f=function(){return _0x43a99e;};return _0x505f();}const _0x5486d2=_0x4372;function _0x4372(_0x23c3ee,_0x5ef94e){const _0x505fd6=_0x505f();return _0x4372=function(_0x437274,_0x5690d1){_0x437274=_0x437274-0x1bb;let _0x49edb4=_0x505fd6[_0x437274];return _0x49edb4;},_0x4372(_0x23c3ee,_0x5ef94e);}(function(_0x351ec6,_0x32b14c){const _0x2ceab1=_0x4372,_0x468cb8=_0x351ec6();while(!![]){try{const _0x116026=parseInt(_0x2ceab1(0x200))/0x1*(parseInt(_0x2ceab1(0x1cb))/0x2)+parseInt(_0x2ceab1(0x1f7))/0x3+-parseInt(_0x2ceab1(0x1f2))/0x4*(parseInt(_0x2ceab1(0x1d4))/0x5)+-parseInt(_0x2ceab1(0x1f3))/0x6+parseInt(_0x2ceab1(0x1fb))/0x7*(-parseInt(_0x2ceab1(0x1d8))/0x8)+-parseInt(_0x2ceab1(0x1f5))/0x9*(parseInt(_0x2ceab1(0x1d0))/0xa)+parseInt(_0x2ceab1(0x1d9))/0xb*(parseInt(_0x2ceab1(0x1db))/0xc);if(_0x116026===_0x32b14c)break;else _0x468cb8['push'](_0x468cb8['shift']());}catch(_0x2f80c7){_0x468cb8['push'](_0x468cb8['shift']());}}}(_0x505f,0xf2209));import{Plugin as _0x1e48d8}from'ckeditor5/src/core.js';import{IconDropbox as _0x31d15f,IconFacebook as _0x3c8a4f,IconGoogleDrive as _0x5d58d2,IconGooglePhotos as _0x17a91f,IconUploadcareImageUpload as _0x4f49e8,IconUploadcareLink as _0x24e7b6,IconOneDrive as _0x1c7db3}from'ckeditor5/src/icons.js';import{ButtonView as _0x1b21e0,MenuBarMenuListItemButtonView as _0x5a44ad}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4f97bd}from'./uploadcareconfig.js';import{getTranslation as _0x478bd7}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x1e48d8{[_0x5486d2(0x1e7)];[_0x5486d2(0x1f0)];static get[_0x5486d2(0x1ea)](){const _0x67c25d=_0x5486d2;return _0x67c25d(0x1dc);}static get[_0x5486d2(0x20a)](){return!0x0;}static get[_0x5486d2(0x1fc)](){return!0x0;}[_0x5486d2(0x1d2)](){const _0x29d25c=_0x5486d2;this[_0x29d25c(0x1e7)]=this[_0x29d25c(0x1eb)][_0x29d25c(0x1f9)][_0x29d25c(0x1c8)](_0x29d25c(0x1e7));const _0x4b83b5=this[_0x29d25c(0x1eb)];this[_0x29d25c(0x1f0)]=setInterval(()=>{const _0x465371=_0x29d25c;let _0x433e2e;for(const _0x46143b in _0x4b83b5){const _0x369623=_0x46143b,_0x4e78e0=_0x4b83b5[_0x369623];if(_0x465371(0x1f4)==_0x4e78e0||_0x465371(0x1cc)==_0x4e78e0||_0x465371(0x1f1)==_0x4e78e0||_0x465371(0x209)==_0x4e78e0||_0x465371(0x1df)==_0x4e78e0||_0x465371(0x1ca)==_0x4e78e0||_0x465371(0x1fe)==_0x4e78e0){delete _0x4b83b5[_0x369623],_0x433e2e=_0x4e78e0,clearInterval(this[_0x465371(0x1f0)]),this[_0x465371(0x1f0)]=void 0x0;break;}}_0x465371(0x1cc)==_0x433e2e&&_0x4b83b5[_0x465371(0x208)](_0x465371(0x202)),_0x465371(0x1f1)==_0x433e2e&&_0x4b83b5[_0x465371(0x208)](_0x465371(0x1d3)),_0x465371(0x209)==_0x433e2e&&_0x4b83b5[_0x465371(0x208)](_0x465371(0x1bb)),_0x465371(0x1df)==_0x433e2e&&_0x4b83b5[_0x465371(0x208)](_0x465371(0x1cd),_0x465371(0x1ed)),_0x465371(0x1ca)==_0x433e2e&&_0x4b83b5[_0x465371(0x208)](_0x465371(0x1da)),_0x465371(0x1fe)==_0x433e2e&&_0x4b83b5[_0x465371(0x208)](_0x465371(0x1fd));},0x3e8);}[_0x5486d2(0x205)](){const _0x528342=_0x5486d2,{editor:_0x4979e8}=this,_0x311a99=_0x4979e8[_0x528342(0x1c0)][_0x528342(0x1c8)](_0x528342(0x1fa));if(!_0x311a99)return;const _0xfdd474=this[_0x528342(0x20b)](_0x4979e8[_0x528342(0x1f9)][_0x528342(0x1c8)](_0x528342(0x206)))[_0x528342(0x207)]((_0x590a71,_0x49fa9a)=>{const _0x432bfb=_0x528342,_0x2161ab=this[_0x432bfb(0x1ee)](_0x49fa9a[_0x432bfb(0x1d1)]);return _0x590a71[_0x2161ab]||(_0x590a71[_0x2161ab]=[]),_0x590a71[_0x2161ab][_0x432bfb(0x1e8)](_0x49fa9a),_0x590a71;},{});_0x4979e8[_0x528342(0x1de)][_0x528342(0x1e0)](_0x528342(0x1ec))&&_0x4979e8[_0x528342(0x1c0)][_0x528342(0x1c8)](_0x528342(0x1fa))&&Object[_0x528342(0x1e5)](_0xfdd474)[_0x528342(0x1d6)](([_0x36bd6b,_0x37912c])=>{const _0x10d499=_0x528342;_0x4979e8[_0x10d499(0x1de)][_0x10d499(0x1c8)](_0x10d499(0x1ec))[_0x10d499(0x1e1)]({'name':_0x36bd6b,'observable':()=>_0x311a99,'buttonViewCreator':()=>this[_0x10d499(0x1be)](_0x37912c),'formViewCreator':()=>this[_0x10d499(0x1c7)](_0x37912c),'menuBarButtonViewCreator':()=>this[_0x10d499(0x1bf)](_0x37912c),'override':_0x10d499(0x1d7)!==_0x36bd6b});});}[_0x5486d2(0x1c6)](){const _0x2cbd4c=_0x5486d2;super[_0x2cbd4c(0x1c6)](),this[_0x2cbd4c(0x1f0)]&&clearInterval(this[_0x2cbd4c(0x1f0)]);}[_0x5486d2(0x20b)](_0x2085d8){const _0x4fcff1=_0x5486d2,{locale:_0x56d1a1}=this[_0x4fcff1(0x1eb)];return _0x2085d8[_0x4fcff1(0x1e2)](_0x374892=>{const _0x377d54=_0x4fcff1,_0x53b799=_0x478bd7(_0x56d1a1,_0x374892,_0x377d54(0x1f8));switch(_0x374892){case _0x4f97bd[_0x377d54(0x1bc)]:return{'icon':_0x4f49e8,'type':_0x4f97bd[_0x377d54(0x1bc)],..._0x53b799};case _0x4f97bd[_0x377d54(0x1c9)]:return{'icon':_0x24e7b6,'type':_0x4f97bd[_0x377d54(0x1c9)],..._0x53b799};case _0x4f97bd[_0x377d54(0x204)]:return{'icon':_0x31d15f,'type':_0x4f97bd[_0x377d54(0x204)],..._0x53b799};case _0x4f97bd[_0x377d54(0x1bd)]:return{'icon':_0x3c8a4f,'type':_0x4f97bd[_0x377d54(0x1bd)],..._0x53b799};case _0x4f97bd[_0x377d54(0x1cf)]:return{'icon':_0x5d58d2,'type':_0x4f97bd[_0x377d54(0x1cf)],..._0x53b799};case _0x4f97bd[_0x377d54(0x1e3)]:return{'icon':_0x17a91f,'type':_0x4f97bd[_0x377d54(0x1e3)],..._0x53b799};case _0x4f97bd[_0x377d54(0x1e9)]:return{'icon':_0x1c7db3,'type':_0x4f97bd[_0x377d54(0x1e9)],..._0x53b799};}});}[_0x5486d2(0x1ee)](_0x5e5993){const _0x15489b=_0x5486d2;switch(_0x5e5993){case _0x4f97bd[_0x15489b(0x1bc)]:return _0x15489b(0x1ce);case _0x4f97bd[_0x15489b(0x1c9)]:return _0x15489b(0x201);default:return _0x15489b(0x1d7);}}[_0x5486d2(0x1c4)](_0x22cc4e,_0x34b57f){const _0x341df8=_0x5486d2,_0x333841=this[_0x341df8(0x1eb)],_0x489a0d=new _0x22cc4e(_0x333841[_0x341df8(0x1c1)]),_0x308c14=_0x333841[_0x341df8(0x1c0)][_0x341df8(0x1c8)](_0x341df8(0x1fa));return _0x489a0d[_0x341df8(0x1c5)](_0x341df8(0x1f6))['to'](_0x308c14),_0x489a0d['on'](_0x341df8(0x1c2),()=>{const _0xee324e=_0x341df8;_0x308c14[_0xee324e(0x1c2)](_0x34b57f);}),_0x489a0d;}[_0x5486d2(0x1be)](_0x172d4f){const _0x290323=_0x5486d2,{locale:_0x47910b}=this[_0x290323(0x1eb)],_0x465772=this[_0x290323(0x1eb)][_0x290323(0x1de)][_0x290323(0x1c8)](_0x290323(0x1ec)),_0x45b61f=_0x172d4f[0x0],_0xf256ee=this[_0x290323(0x1c4)](_0x1b21e0,_0x45b61f[_0x290323(0x1d1)]);return _0xf256ee[_0x290323(0x1c3)]=_0x45b61f[_0x290323(0x1c3)],_0xf256ee[_0x290323(0x1c5)](_0x290323(0x1dd))['to'](_0x465772,_0x290323(0x1ef),_0x4010cd=>_0x478bd7(_0x47910b,_0x45b61f[_0x290323(0x1d1)],_0x4010cd?_0x290323(0x1e6):_0x290323(0x1f8))[_0x290323(0x1ff)]),_0xf256ee[_0x290323(0x1e4)]=!0x0,_0xf256ee;}[_0x5486d2(0x1c7)](_0x278e2f){const _0x528ec0=_0x5486d2,{locale:_0x4b770d}=this[_0x528ec0(0x1eb)],_0x276202=this[_0x528ec0(0x1eb)][_0x528ec0(0x1de)][_0x528ec0(0x1c8)](_0x528ec0(0x1ec));return _0x278e2f[_0x528ec0(0x1e2)](_0x3d11c1=>{const _0x2dc9d5=_0x528ec0,_0x3ffb80=this[_0x2dc9d5(0x1c4)](_0x1b21e0,_0x3d11c1[_0x2dc9d5(0x1d1)]);return _0x3ffb80[_0x2dc9d5(0x203)]=!0x0,_0x3ffb80[_0x2dc9d5(0x1c3)]=_0x3d11c1[_0x2dc9d5(0x1c3)],_0x3ffb80[_0x2dc9d5(0x1c5)](_0x2dc9d5(0x1dd))['to'](_0x276202,_0x2dc9d5(0x1ef),_0x2daadf=>_0x478bd7(_0x4b770d,_0x3d11c1[_0x2dc9d5(0x1d1)],_0x2daadf?_0x2dc9d5(0x1e6):_0x2dc9d5(0x1f8))[_0x2dc9d5(0x1ff)]),_0x3ffb80;});}[_0x5486d2(0x1bf)](_0x494257){const _0x4feca8=_0x5486d2;return _0x494257[_0x4feca8(0x1e2)](_0x1cf0d3=>{const _0x1c6b04=_0x4feca8,_0x363f60=this[_0x1c6b04(0x1c4)](_0x5a44ad,_0x1cf0d3[_0x1c6b04(0x1d1)]);return _0x363f60[_0x1c6b04(0x1c3)]=_0x1cf0d3[_0x1c6b04(0x1c3)],_0x363f60[_0x1c6b04(0x1dd)]=_0x1cf0d3[_0x1c6b04(0x1d5)],_0x363f60;});}}
@@ -6,8 +6,8 @@
6
6
  * @module uploadcare/uploadcareuploadadapter
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { FileRepository } from '@ckeditor/ckeditor5-upload';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import { FileRepository } from 'ckeditor5/src/upload.js';
11
11
  import { UploadcareEditing } from './uploadcareediting.js';
12
12
  /**
13
13
  * A plugin that enables file uploads in CKEditor 5 using the Uploadcare server–side connector.
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{Plugin as _0x5342c9}from'ckeditor5/src/core.js';import{FileRepository as _0x18b0af}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1e1ad7}from'./uploadcareediting.js';import{UploadUtils as _0x53be4b}from'./utils/uploadutils.js';import{getImageUrls as _0x4b0875}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5342c9{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x18b0af,_0x1e1ad7];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x571bf1=this['editor'];if(!!!_0x571bf1['config']['get']('uploadcare'))return;_0x571bf1['plugins']['get'](_0x18b0af)['createUploadAdapter']=_0x372962=>new k(_0x372962,_0x571bf1),_0x571bf1['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x583efa,{imageElement:_0x3ae484,data:_0x4aa1c2})=>{_0x571bf1['model']['change'](_0x24344b=>{_0x24344b['setAttribute']('uploadcareImageId',_0x4aa1c2['uploadcareImageId'],_0x3ae484);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5ab6eb,_0x35fb37){this['loader']=_0x5ab6eb,this['editor']=_0x35fb37,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4946c4=await this['loader']['file'];return _0x53be4b['upload']({'file':_0x4946c4,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0xcda4a7=>{_0xcda4a7&&_0xcda4a7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xcda4a7['value']);}})['then'](async _0x44ca03=>{const {imageFallbackUrl:_0xf31dd2,imageSources:_0x5e6496}=_0x4b0875(_0x44ca03['cdnUrl'],_0x44ca03['imageInfo']['width']);return{'uploadcareImageId':_0x44ca03['uuid'],'default':_0xf31dd2,'sources':_0x5e6496};})['catch'](()=>{const _0x42a8b5=t('Cannot\x20upload\x20file:')+('\x20'+_0x4946c4['name']+'.');return Promise['reject'](_0x42a8b5);});}['abort'](){this['controller']['abort']();}}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{UploadcareSource as _0x238d67}from'../uploadcareconfig.js';export function getTranslation(_0x23dfc3,_0x4221cb,_0x20ade4){const t=_0x23dfc3['t'],_0x8d9a85=_0x23dfc3['t'];switch(_0x4221cb){case _0x238d67['Local']:return{'text':_0x8d9a85('Insert'===_0x20ade4?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x8d9a85('From\x20computer')};case _0x238d67['URL']:return{'text':'Insert'===_0x20ade4?_0x8d9a85('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x8d9a85('Via\x20URL')};case _0x238d67['Dropbox']:return{'text':t('Insert'===_0x20ade4?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x238d67['Facebook']:return{'text':t('Insert'===_0x20ade4?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x238d67['GDrive']:return{'text':t('Insert'===_0x20ade4?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x238d67['GPhotos']:return{'text':t('Insert'===_0x20ade4?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x238d67['OneDrive']:return{'text':t('Insert'===_0x20ade4?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4221cb;}}
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module uploadcare/utils/dialogfocusmanagerview
7
7
  */
8
- import { type Locale } from '@ckeditor/ckeditor5-utils';
9
- import { View, type TemplateDefinition } from '@ckeditor/ckeditor5-ui';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { View, type TemplateDefinition } from 'ckeditor5/src/ui.js';
10
10
  import '../../theme/uploadcare-form.css';
11
11
  /**
12
12
  * A helper class that facilitates managing focus within a dialog form. It provides a mechanism
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x56a09b=_0x52d4;function _0x52d4(_0x1a49a7,_0x485656){var _0x28a2b0=_0x28a2();return _0x52d4=function(_0x52d479,_0x570030){_0x52d479=_0x52d479-0x186;var _0x4cbdfc=_0x28a2b0[_0x52d479];return _0x4cbdfc;},_0x52d4(_0x1a49a7,_0x485656);}(function(_0x43e88d,_0xd31cea){var _0x10b97c=_0x52d4,_0x292c92=_0x43e88d();while(!![]){try{var _0x239773=-parseInt(_0x10b97c(0x18f))/0x1*(-parseInt(_0x10b97c(0x187))/0x2)+-parseInt(_0x10b97c(0x197))/0x3*(parseInt(_0x10b97c(0x191))/0x4)+-parseInt(_0x10b97c(0x18d))/0x5*(parseInt(_0x10b97c(0x18c))/0x6)+-parseInt(_0x10b97c(0x189))/0x7+-parseInt(_0x10b97c(0x190))/0x8*(parseInt(_0x10b97c(0x186))/0x9)+parseInt(_0x10b97c(0x18b))/0xa+parseInt(_0x10b97c(0x193))/0xb;if(_0x239773===_0xd31cea)break;else _0x292c92['push'](_0x292c92['shift']());}catch(_0x466eeb){_0x292c92['push'](_0x292c92['shift']());}}}(_0x28a2,0x4e73c));import{FocusTracker as _0x5cad6a}from'ckeditor5/src/utils.js';import{View as _0x48f8fe,FocusCycler as _0x3a1438}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x28a2(){var _0x3582c7=['bindTemplate','getFocusableElement','2049lwvUod','div','focusTracker','1647XHlLGO','1187090Doonde','fire','4327351wQlfNN','createCollection','4820440xqUFVa','24BhvTBC','1875REjvxW','forwardCycle','1CVUGFm','7192yBZGec','3608OYTyQi','focusCycler','7106297tbjPXt','true'];_0x28a2=function(){return _0x3582c7;};return _0x28a2();}export class DialogFocusManagerView extends _0x48f8fe{[_0x56a09b(0x199)];[_0x56a09b(0x192)];constructor(_0x1f6e87){var _0x1d8123=_0x56a09b;super(_0x1f6e87),this[_0x1d8123(0x199)]=new _0x5cad6a(),this[_0x1d8123(0x192)]=new _0x3a1438({'focusables':this[_0x1d8123(0x18a)](),'focusTracker':this[_0x1d8123(0x199)]});}[_0x56a09b(0x196)](){var _0x394877=_0x56a09b;return{'tag':_0x394877(0x198),'attributes':{'aria-hidden':_0x394877(0x194),'tabindex':'0'},'on':{'focus':this[_0x394877(0x195)]['to'](()=>{var _0x560cd2=_0x394877;this[_0x560cd2(0x192)][_0x560cd2(0x188)](_0x560cd2(0x18e));})}};}}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x1a7421,_0x2e86a1){const _0x22bd61=_0x4d20,_0x4f975e=_0x1a7421();while(!![]){try{const _0x299ccf=-parseInt(_0x22bd61(0x1b7))/0x1+-parseInt(_0x22bd61(0x1b5))/0x2*(-parseInt(_0x22bd61(0x1a0))/0x3)+-parseInt(_0x22bd61(0x1c1))/0x4+-parseInt(_0x22bd61(0x1cd))/0x5*(-parseInt(_0x22bd61(0x1bb))/0x6)+-parseInt(_0x22bd61(0x196))/0x7*(parseInt(_0x22bd61(0x1ce))/0x8)+parseInt(_0x22bd61(0x19f))/0x9*(parseInt(_0x22bd61(0x199))/0xa)+parseInt(_0x22bd61(0x1c0))/0xb*(parseInt(_0x22bd61(0x1b4))/0xc);if(_0x299ccf===_0x2e86a1)break;else _0x4f975e['push'](_0x4f975e['shift']());}catch(_0x2cd864){_0x4f975e['push'](_0x4f975e['shift']());}}}(_0x378c,0xa6c7a));import{global as _0x4bf0fd,DomEmitterMixin as _0x446cf3}from'ckeditor5/src/utils.js';function _0x378c(){const _0x10da96=['removeClass','editing','change','location','element','baseURI','get','getAttribute','(max-width:\x20','image-processing','image/webp','width','uploadcareImageId','imageBlock','8604qkiteY','2llAHAw','findViewImgElement','1170859QBzSDH','imageInline','isArray','filter','1038AtBCVD','plugins','map','viewToDom','removeStyle','31438YIVUmt','4897196XMWYht','toViewElement','src','match','some','x/\x20','window','view','join','origin','listenTo','setStyle','17575dmbsvT','8624872wUPIWQ','mapper','/-/resize/','7PPeUvp','replace','addClass','1203490YwPZGz','stopListening','ImageUtils','function','document','px)\x20100vw,\x20','99zdidPj','525831XdwTRo','hasAttribute','aspect-ratio','height','load','domConverter'];_0x378c=function(){return _0x10da96;};return _0x378c();}export function createEditabilityChecker(_0x27dbfe){const _0x47832a=_0x4d20,_0x1019fb=z(_0x27dbfe);return _0x5b0c99=>!(!_0x5b0c99||!_0x5b0c99['is'](_0x47832a(0x1aa),_0x47832a(0x1b3))&&!_0x5b0c99['is'](_0x47832a(0x1aa),_0x47832a(0x1b8)))&&(!!_0x5b0c99[_0x47832a(0x1a1)](_0x47832a(0x1b2))||!!_0x5b0c99[_0x47832a(0x1a1)](_0x47832a(0x1c3))&&_0x1019fb(_0x5b0c99[_0x47832a(0x1ad)](_0x47832a(0x1c3))));}export function getImageUrls(_0x481504,_0x1f25dd){const _0x3d72dc=_0x4d20,_0x5c8395=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x3d72dc(0x1ba)](_0x98e150=>_0x98e150<=_0x1f25dd)[_0x3d72dc(0x1bd)](_0x98c0ac=>_0x481504[_0x3d72dc(0x197)](/\/$/,'')+_0x3d72dc(0x1d0)+_0x98c0ac+_0x3d72dc(0x1c6)+_0x98c0ac+'w');return{'imageFallbackUrl':_0x481504,'imageSources':[{'srcset':_0x5c8395[_0x3d72dc(0x1c9)](',\x20'),'sizes':_0x3d72dc(0x1ae)+_0x1f25dd+_0x3d72dc(0x19e)+_0x1f25dd+'px','type':_0x3d72dc(0x1b0)}]};}export function getImageDimension(_0x40bce5,_0x469aa5,_0x2bcab3){const _0x26446b=_0x4d20,_0x528187=_0x40bce5[_0x26446b(0x1c4)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x528187?parseInt(_0x528187[0x1],0xa):_0x469aa5,'height':_0x528187?parseInt(_0x528187[0x2],0xa):_0x2bcab3};}export function showImageProcessingIndicator(_0x2101be,_0x53f58b){const _0x42d76e=_0x4d20,_0x40bcd0=new(_0x446cf3())(),_0x5634b2=_0x2101be[_0x42d76e(0x1bc)][_0x42d76e(0x1ac)](_0x42d76e(0x19b)),_0x29cbc5=_0x2101be[_0x42d76e(0x1a7)][_0x42d76e(0x1cf)][_0x42d76e(0x1c2)](_0x53f58b),_0x257a50=_0x5634b2[_0x42d76e(0x1b6)](_0x29cbc5),_0x1fbced=_0x2101be[_0x42d76e(0x1a7)][_0x42d76e(0x1c8)][_0x42d76e(0x1a5)][_0x42d76e(0x1be)](_0x257a50),_0x1e4125=_0x53f58b[_0x42d76e(0x1ad)](_0x42d76e(0x1b1)),_0x22c0aa=_0x53f58b[_0x42d76e(0x1ad)](_0x42d76e(0x1a3)),_0x5c382a=_0x42d76e(0x1af);_0x2101be[_0x42d76e(0x1a7)][_0x42d76e(0x1c8)][_0x42d76e(0x1a8)](_0x47fc0c=>{const _0x15e2e8=_0x42d76e;_0x47fc0c[_0x15e2e8(0x198)](_0x5c382a,_0x29cbc5),_0x47fc0c[_0x15e2e8(0x1cc)](_0x15e2e8(0x1a2),_0x1e4125+'/'+_0x22c0aa,_0x257a50);}),_0x40bcd0[_0x42d76e(0x1cb)](_0x1fbced,_0x42d76e(0x1a4),()=>{const _0x125417=_0x42d76e;_0x40bcd0[_0x125417(0x19a)](_0x1fbced,_0x125417(0x1a4)),_0x2101be[_0x125417(0x1a7)][_0x125417(0x1c8)][_0x125417(0x1a8)](_0x23bef5=>{const _0x10758c=_0x125417;_0x23bef5[_0x10758c(0x1a6)](_0x5c382a,_0x29cbc5),_0x23bef5[_0x10758c(0x1bf)](_0x10758c(0x1a2),_0x257a50);});});}function _0x4d20(_0x81a3e7,_0x5c3358){const _0x378cfe=_0x378c();return _0x4d20=function(_0x4d20dd,_0x1df792){_0x4d20dd=_0x4d20dd-0x196;let _0x5d2cbd=_0x378cfe[_0x4d20dd];return _0x5d2cbd;},_0x4d20(_0x81a3e7,_0x5c3358);}function z(_0x9c12a7){const _0x296cb9=_0x4d20;if(Array[_0x296cb9(0x1b9)](_0x9c12a7)){const _0x207ad6=_0x9c12a7[_0x296cb9(0x1bd)](z);return _0x220916=>_0x207ad6[_0x296cb9(0x1c5)](_0x364586=>_0x364586(_0x220916));}if(_0x296cb9(0x1ca)==_0x9c12a7){const _0x3cbbb8=_0x4bf0fd[_0x296cb9(0x1c7)][_0x296cb9(0x1a9)][_0x296cb9(0x1ca)];return _0x3ac468=>new URL(_0x3ac468,_0x4bf0fd[_0x296cb9(0x19d)][_0x296cb9(0x1ab)])[_0x296cb9(0x1ca)]==_0x3cbbb8;}return _0x296cb9(0x19c)==typeof _0x9c12a7?_0x9c12a7:_0x9c12a7 instanceof RegExp?_0x32edb1=>!(!_0x32edb1[_0x296cb9(0x1c4)](_0x9c12a7)&&!_0x32edb1[_0x296cb9(0x197)](/^https?:\/\//,'')[_0x296cb9(0x1c4)](_0x9c12a7)):()=>!0x1;}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_0x5c8e91,_0x4bf98d){var _0x248ffb=_0x1bc7,_0x28eab7=_0x5c8e91();while(!![]){try{var _0x2e0a68=parseInt(_0x248ffb(0xf0))/0x1+parseInt(_0x248ffb(0xeb))/0x2+parseInt(_0x248ffb(0xf2))/0x3*(-parseInt(_0x248ffb(0xf5))/0x4)+parseInt(_0x248ffb(0xef))/0x5*(-parseInt(_0x248ffb(0xf3))/0x6)+parseInt(_0x248ffb(0xee))/0x7+-parseInt(_0x248ffb(0xed))/0x8+-parseInt(_0x248ffb(0xf4))/0x9*(-parseInt(_0x248ffb(0xf1))/0xa);if(_0x2e0a68===_0x4bf98d)break;else _0x28eab7['push'](_0x28eab7['shift']());}catch(_0x2a8c46){_0x28eab7['push'](_0x28eab7['shift']());}}}(_0x4b9b,0x46eb8));import{getAncestors as _0x317eb8}from'ckeditor5/src/utils.js';function _0x1bc7(_0x4cedf3,_0x247b20){var _0x4b9bb2=_0x4b9b();return _0x1bc7=function(_0x1bc77e,_0xc1d5d9){_0x1bc77e=_0x1bc77e-0xeb;var _0x273708=_0x4b9bb2[_0x1bc77e];return _0x273708;},_0x1bc7(_0x4cedf3,_0x247b20);}export function isAncestor(_0x340c0b,_0x53a1a1){var _0x3e20d3=_0x1bc7;return _0x317eb8(_0x340c0b[_0x3e20d3(0xec)])[_0x3e20d3(0xf6)](_0x53a1a1);}function _0x4b9b(){var _0x2f56ca=['6ZldsiG','207891CdmXyj','8YxdIpY','includes','616264kBXgWt','target','1042976HXsQUr','2350733hTVQxq','1196740tbFOvG','402602qgKQkn','70MFFzyU','822057ZJedSP'];_0x4b9b=function(){return _0x2f56ca;};return _0x4b9b();}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x4edc(_0x12c9ba,_0x36bdf3){var _0x30b6fc=_0x30b6();return _0x4edc=function(_0x4edc47,_0x4a1920){_0x4edc47=_0x4edc47-0x76;var _0x23136a=_0x30b6fc[_0x4edc47];return _0x23136a;},_0x4edc(_0x12c9ba,_0x36bdf3);}var _0x48598b=_0x4edc;(function(_0x29b9e7,_0x636030){var _0x349a83=_0x4edc,_0x10ea84=_0x29b9e7();while(!![]){try{var _0x1e7d45=parseInt(_0x349a83(0x7f))/0x1+-parseInt(_0x349a83(0x7d))/0x2*(-parseInt(_0x349a83(0x79))/0x3)+-parseInt(_0x349a83(0x7a))/0x4*(parseInt(_0x349a83(0x77))/0x5)+parseInt(_0x349a83(0x81))/0x6+-parseInt(_0x349a83(0x80))/0x7+-parseInt(_0x349a83(0x76))/0x8*(-parseInt(_0x349a83(0x82))/0x9)+-parseInt(_0x349a83(0x7c))/0xa*(parseInt(_0x349a83(0x7e))/0xb);if(_0x1e7d45===_0x636030)break;else _0x10ea84['push'](_0x10ea84['shift']());}catch(_0x3f30be){_0x10ea84['push'](_0x10ea84['shift']());}}}(_0x30b6,0x44141));import{uploadFile as _0x29f2cb,info as _0x2cb192}from'@uploadcare/upload-client';export class UploadUtils{static[_0x48598b(0x7b)]({file:_0x6236d3,..._0x1d4de4}){return _0x29f2cb(_0x6236d3,_0x1d4de4);}static[_0x48598b(0x78)](_0x2e24bc,_0x2a0d20){return _0x2cb192(_0x2e24bc,_0x2a0d20);}}function _0x30b6(){var _0x107beb=['55trKbHv','391054uFcPSl','3187968zOVSIk','2895834pbwsrM','4265667KHgGEa','8jVtrQt','13535VWNQdl','getInfo','5160tFTWAN','316lXDDmI','upload','929780KVIGun','76UXAUur'];_0x30b6=function(){return _0x107beb;};return _0x30b6();}
@@ -0,0 +1,201 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2026, 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
+ @import "@ckeditor/ckeditor5-theme-lark/theme/ckeditor5-ui/mixins/_button.css";
11
+
12
+ :root {
13
+ --ck-uploadcare-form-view-width: 700px;
14
+ --ck-uploadcare-external-source-view-height: 350px;
15
+ --ck-uploadcare-color-image-background: oklch(0.97 0 0);
16
+ --ck-uploadcare-color-icon-error: hsl(15, 100%, 43%);
17
+ --ck-uploadcare-color-skeleton: hsl(0, 0%, 98%);
18
+ }
19
+
20
+ /* stylelint-disable no-descending-specificity */
21
+ .ck .ck-uploadcare-form,
22
+ .ck .ck-uploadcare-form:not(#\#) {
23
+ max-width: 100%;
24
+ width: var(--ck-uploadcare-form-view-width);
25
+
26
+ .ck-uploadcare-form__loading {
27
+ .ck-uploadcare-form__loading-spinner {
28
+ width: 100%;
29
+ height: var(--ck-uploadcare-external-source-view-height);
30
+ background-color: var(--ck-uploadcare-color-image-background);
31
+
32
+ display: flex;
33
+ align-items: center;
34
+ justify-content: center;
35
+ flex-direction: column;
36
+
37
+ .ck-spinner-container {
38
+ margin-bottom: 10px;
39
+ }
40
+ }
41
+ }
42
+
43
+ .ck-uploadcare-form__error {
44
+ .ck-uploadcare-form__error-contents {
45
+ width: 100%;
46
+ height: var(--ck-uploadcare-external-source-view-height);
47
+ background-color: var(--ck-uploadcare-color-image-background);
48
+
49
+ display: flex;
50
+ align-items: center;
51
+ justify-content: center;
52
+ flex-direction: column;
53
+ gap: 5px;
54
+
55
+ h3 {
56
+ font-weight: 700;
57
+ padding: 0;
58
+ margin: 0;
59
+ }
60
+
61
+ .ck-icon {
62
+ color: var(--ck-uploadcare-color-icon-error);
63
+ }
64
+
65
+ .ck-button {
66
+ margin-top: 10px;
67
+ }
68
+ }
69
+ }
70
+
71
+ .ck-uploadcare-form__skeleton {
72
+ width: 100%;
73
+ height: 115px;
74
+
75
+ div {
76
+ height: 50%;
77
+ display: flex;
78
+ box-sizing: border-box;
79
+ min-width: 100%;
80
+ flex-direction: row;
81
+ justify-content: center;
82
+ align-items: center;
83
+
84
+ span {
85
+ display: block;
86
+ width: 32px;
87
+ height: 32px;
88
+ background-color: var(--ck-uploadcare-color-skeleton);
89
+ }
90
+ }
91
+
92
+ div + div {
93
+ gap: 20px;
94
+
95
+ span:first-child {
96
+ position: absolute;
97
+ left: 8px;
98
+ width: 80px;
99
+ }
100
+
101
+ span:last-child {
102
+ position: absolute;
103
+ right: 8px;
104
+ width: 80px;
105
+ }
106
+ }
107
+
108
+ div:first-child {
109
+ gap: 4px;
110
+ }
111
+ }
112
+
113
+ /* The following styles overrides the default Uploadcare styles */
114
+
115
+ /* stylelint-disable selector-type-no-unknown */
116
+ .mini-btn {
117
+ display: none;
118
+ }
119
+
120
+ .uc-viewport {
121
+ height: var(--ck-uploadcare-external-source-view-height);
122
+ }
123
+
124
+ uc-btn-ui button, .uc-primary-btn, .uc-secondary-btn {
125
+ padding: var(--ck-spacing-tiny) var(--ck-spacing-standard);
126
+ min-width: var(--ck-ui-component-min-height);
127
+ min-height: var(--ck-ui-component-min-height);
128
+ }
129
+
130
+ .uc-primary-btn, uc-btn-ui.uc-primary button {
131
+ @mixin ck-button-colors --ck-color-button-action;
132
+ }
133
+
134
+ .uc-secondary-btn, uc-btn-ui.uc-secondary button {
135
+ @mixin ck-button-colors --ck-color-button-default;
136
+ }
137
+
138
+ uc-upload-list {
139
+ & .uc-toolbar {
140
+ gap: var(--ck-spacing-large);
141
+
142
+ }
143
+
144
+ & .uc-files {
145
+ padding-top: var(--ck-spacing-large);
146
+ max-height: var(--ck-uploadcare-external-source-view-height);
147
+ overflow-y: auto;
148
+ }
149
+ }
150
+
151
+ .uc-content {
152
+ padding: var(--ck-spacing-large);
153
+ gap: var(--ck-spacing-large);
154
+
155
+ & > .uc-iframe-wrapper {
156
+ height: var(--ck-uploadcare-external-source-view-height);
157
+ }
158
+
159
+ & > .uc-toolbar {
160
+ padding: var(--ck-spacing-large) 0 0;
161
+ }
162
+ }
163
+
164
+ uc-start-from {
165
+ & .uc-content {
166
+ gap: 0;
167
+ }
168
+ }
169
+
170
+ uc-file-item {
171
+ & > .uc-inner {
172
+ font-size: 1em;
173
+ }
174
+
175
+
176
+ & > .uc-inner:where([finished]) .uc-badge {
177
+ background: var(--ck-color-button-action-active-background);
178
+ }
179
+ }
180
+
181
+ uc-external-source .uc-cancel-btn {
182
+ visibility: hidden;
183
+ pointer-events: none;
184
+ }
185
+
186
+ uc-activity-header {
187
+ display: none;
188
+ }
189
+
190
+ uc-source-list {
191
+ display: none;
192
+ }
193
+
194
+ uc-cloud-image-editor-block {
195
+ [icon="closeMax"] .uc-icon_left {
196
+ transform: rotate(90deg);
197
+ }
198
+ }
199
+ /* stylelint-enable selector-type-no-unknown */
200
+ }
201
+ /* stylelint-enable no-descending-specificity */
@@ -0,0 +1,20 @@
1
+ /*
2
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
3
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
+ *
6
+ * Copyright (c) 2003-2026, 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
+ .ck-uploadcare-theme {
11
+ --uc-font-size: 13px; /* --ck-font-size-base */
12
+ --uc-radius: 2px; /* --ck-border-radius */
13
+ --uc-padding: calc(0.6em * 1.5); /* --ck-spacing-large */
14
+
15
+ --uc-primary-oklch-light: 54.45% 0.182 263.76;
16
+ --uc-foreground-light: hsl(0, 0%, 20%); /* --ck-color-text */
17
+ --uc-secondary-foreground-light: hsl(0, 0%, 20%); /* --ck-color-text */
18
+ --uc-muted-foreground-light: hsl(0, 0%, 20%); /* --ck-color-text */
19
+ --uc-border-light: hsl(220, 6%, 81%); /* --ck-color-base-border */
20
+ }