@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260127.0 → 0.0.0-nightly-next-20260127.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/ckeditor5-metadata.json +2 -2
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/{src → dist}/ui/uploadcarecontroller.d.ts +3 -3
  150. package/{src → dist}/ui/uploadcareformview.d.ts +1 -1
  151. package/{src → dist}/uploadcare.d.ts +1 -1
  152. package/{src → dist}/uploadcarecommand.d.ts +2 -2
  153. package/{src → dist}/uploadcareconfig.d.ts +1 -1
  154. package/{src → dist}/uploadcareediting.d.ts +2 -2
  155. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -5
  156. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -2
  157. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
  158. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -2
  159. package/{src → dist}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
  160. package/{src → dist}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
  161. package/{src → dist}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
  162. package/{src → dist}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
  163. package/{src → dist}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
  164. package/{src → dist}/uploadcareimageedit.d.ts +1 -1
  165. package/{src → dist}/uploadcareui.d.ts +1 -1
  166. package/{src → dist}/uploadcareuploadadapter.d.ts +2 -2
  167. package/{src → dist}/utils/dialogfocusmanagerview.d.ts +2 -2
  168. package/package.json +23 -46
  169. package/build/translations/af.js +0 -1
  170. package/build/translations/ar.js +0 -1
  171. package/build/translations/ast.js +0 -1
  172. package/build/translations/az.js +0 -1
  173. package/build/translations/be.js +0 -1
  174. package/build/translations/bg.js +0 -1
  175. package/build/translations/bn.js +0 -1
  176. package/build/translations/bs.js +0 -1
  177. package/build/translations/ca.js +0 -1
  178. package/build/translations/cs.js +0 -1
  179. package/build/translations/da.js +0 -1
  180. package/build/translations/de-ch.js +0 -1
  181. package/build/translations/de.js +0 -1
  182. package/build/translations/el.js +0 -1
  183. package/build/translations/en-au.js +0 -1
  184. package/build/translations/en-gb.js +0 -1
  185. package/build/translations/eo.js +0 -1
  186. package/build/translations/es-co.js +0 -1
  187. package/build/translations/es.js +0 -1
  188. package/build/translations/et.js +0 -1
  189. package/build/translations/eu.js +0 -1
  190. package/build/translations/fa.js +0 -1
  191. package/build/translations/fi.js +0 -1
  192. package/build/translations/fr.js +0 -1
  193. package/build/translations/gl.js +0 -1
  194. package/build/translations/gu.js +0 -1
  195. package/build/translations/he.js +0 -1
  196. package/build/translations/hi.js +0 -1
  197. package/build/translations/hr.js +0 -1
  198. package/build/translations/hu.js +0 -1
  199. package/build/translations/hy.js +0 -1
  200. package/build/translations/id.js +0 -1
  201. package/build/translations/it.js +0 -1
  202. package/build/translations/ja.js +0 -1
  203. package/build/translations/jv.js +0 -1
  204. package/build/translations/kk.js +0 -1
  205. package/build/translations/km.js +0 -1
  206. package/build/translations/kn.js +0 -1
  207. package/build/translations/ko.js +0 -1
  208. package/build/translations/ku.js +0 -1
  209. package/build/translations/lt.js +0 -1
  210. package/build/translations/lv.js +0 -1
  211. package/build/translations/ms.js +0 -1
  212. package/build/translations/nb.js +0 -1
  213. package/build/translations/ne.js +0 -1
  214. package/build/translations/nl.js +0 -1
  215. package/build/translations/no.js +0 -1
  216. package/build/translations/oc.js +0 -1
  217. package/build/translations/pl.js +0 -1
  218. package/build/translations/pt-br.js +0 -1
  219. package/build/translations/pt.js +0 -1
  220. package/build/translations/ro.js +0 -1
  221. package/build/translations/ru.js +0 -1
  222. package/build/translations/si.js +0 -1
  223. package/build/translations/sk.js +0 -1
  224. package/build/translations/sl.js +0 -1
  225. package/build/translations/sq.js +0 -1
  226. package/build/translations/sr-latn.js +0 -1
  227. package/build/translations/sr.js +0 -1
  228. package/build/translations/sv.js +0 -1
  229. package/build/translations/th.js +0 -1
  230. package/build/translations/ti.js +0 -1
  231. package/build/translations/tk.js +0 -1
  232. package/build/translations/tr.js +0 -1
  233. package/build/translations/tt.js +0 -1
  234. package/build/translations/ug.js +0 -1
  235. package/build/translations/uk.js +0 -1
  236. package/build/translations/ur.js +0 -1
  237. package/build/translations/uz.js +0 -1
  238. package/build/translations/vi.js +0 -1
  239. package/build/translations/zh-cn.js +0 -1
  240. package/build/translations/zh.js +0 -1
  241. package/build/uploadcare.js +0 -5
  242. package/lang/contexts.json +0 -24
  243. package/lang/translations/af.po +0 -100
  244. package/lang/translations/ar.po +0 -100
  245. package/lang/translations/ast.po +0 -100
  246. package/lang/translations/az.po +0 -100
  247. package/lang/translations/be.po +0 -100
  248. package/lang/translations/bg.po +0 -100
  249. package/lang/translations/bn.po +0 -100
  250. package/lang/translations/bs.po +0 -100
  251. package/lang/translations/ca.po +0 -100
  252. package/lang/translations/cs.po +0 -100
  253. package/lang/translations/da.po +0 -100
  254. package/lang/translations/de-ch.po +0 -100
  255. package/lang/translations/de.po +0 -100
  256. package/lang/translations/el.po +0 -100
  257. package/lang/translations/en-au.po +0 -100
  258. package/lang/translations/en-gb.po +0 -100
  259. package/lang/translations/en.po +0 -100
  260. package/lang/translations/eo.po +0 -100
  261. package/lang/translations/es-co.po +0 -100
  262. package/lang/translations/es.po +0 -100
  263. package/lang/translations/et.po +0 -100
  264. package/lang/translations/eu.po +0 -100
  265. package/lang/translations/fa.po +0 -100
  266. package/lang/translations/fi.po +0 -100
  267. package/lang/translations/fr.po +0 -100
  268. package/lang/translations/gl.po +0 -100
  269. package/lang/translations/gu.po +0 -100
  270. package/lang/translations/he.po +0 -100
  271. package/lang/translations/hi.po +0 -100
  272. package/lang/translations/hr.po +0 -100
  273. package/lang/translations/hu.po +0 -100
  274. package/lang/translations/hy.po +0 -100
  275. package/lang/translations/id.po +0 -100
  276. package/lang/translations/it.po +0 -100
  277. package/lang/translations/ja.po +0 -100
  278. package/lang/translations/jv.po +0 -100
  279. package/lang/translations/kk.po +0 -100
  280. package/lang/translations/km.po +0 -100
  281. package/lang/translations/kn.po +0 -100
  282. package/lang/translations/ko.po +0 -100
  283. package/lang/translations/ku.po +0 -100
  284. package/lang/translations/lt.po +0 -100
  285. package/lang/translations/lv.po +0 -100
  286. package/lang/translations/ms.po +0 -100
  287. package/lang/translations/nb.po +0 -100
  288. package/lang/translations/ne.po +0 -100
  289. package/lang/translations/nl.po +0 -100
  290. package/lang/translations/no.po +0 -100
  291. package/lang/translations/oc.po +0 -100
  292. package/lang/translations/pl.po +0 -100
  293. package/lang/translations/pt-br.po +0 -100
  294. package/lang/translations/pt.po +0 -100
  295. package/lang/translations/ro.po +0 -100
  296. package/lang/translations/ru.po +0 -100
  297. package/lang/translations/si.po +0 -100
  298. package/lang/translations/sk.po +0 -100
  299. package/lang/translations/sl.po +0 -100
  300. package/lang/translations/sq.po +0 -100
  301. package/lang/translations/sr-latn.po +0 -100
  302. package/lang/translations/sr.po +0 -100
  303. package/lang/translations/sv.po +0 -100
  304. package/lang/translations/th.po +0 -100
  305. package/lang/translations/ti.po +0 -100
  306. package/lang/translations/tk.po +0 -100
  307. package/lang/translations/tr.po +0 -100
  308. package/lang/translations/tt.po +0 -100
  309. package/lang/translations/ug.po +0 -100
  310. package/lang/translations/uk.po +0 -100
  311. package/lang/translations/ur.po +0 -100
  312. package/lang/translations/uz.po +0 -100
  313. package/lang/translations/vi.po +0 -100
  314. package/lang/translations/zh-cn.po +0 -100
  315. package/lang/translations/zh.po +0 -100
  316. package/src/augmentation.js +0 -23
  317. package/src/index.js +0 -23
  318. package/src/ui/uploadcarecontroller.js +0 -24
  319. package/src/ui/uploadcareformview.js +0 -23
  320. package/src/uploadcare.js +0 -23
  321. package/src/uploadcarecommand.js +0 -23
  322. package/src/uploadcareconfig.js +0 -23
  323. package/src/uploadcareediting.js +0 -23
  324. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +0 -24
  325. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +0 -23
  326. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +0 -23
  327. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +0 -23
  328. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +0 -23
  329. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +0 -23
  330. package/src/uploadcareimageedit/uploadcareimageeditediting.js +0 -23
  331. package/src/uploadcareimageedit/uploadcareimageeditui.js +0 -23
  332. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +0 -23
  333. package/src/uploadcareimageedit.js +0 -23
  334. package/src/uploadcareui.js +0 -23
  335. package/src/uploadcareuploadadapter.js +0 -23
  336. package/src/utils/common-translations.js +0 -23
  337. package/src/utils/dialogfocusmanagerview.js +0 -23
  338. package/src/utils/editingutils.js +0 -23
  339. package/src/utils/isancestor.js +0 -23
  340. package/src/utils/uploadutils.js +0 -23
  341. package/theme/uploadcare-form.css +0 -201
  342. package/theme/uploadcare-theme.css +0 -20
  343. package/theme/uploadcareimageedit.css +0 -64
  344. /package/{src → dist}/augmentation.d.ts +0 -0
  345. /package/{src → dist}/index.d.ts +0 -0
  346. /package/{src → dist}/utils/common-translations.d.ts +0 -0
  347. /package/{src → dist}/utils/editingutils.d.ts +0 -0
  348. /package/{src → dist}/utils/isancestor.d.ts +0 -0
  349. /package/{src → dist}/utils/uploadutils.d.ts +0 -0
@@ -1,100 +0,0 @@
1
- # Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
2
- #
3
- # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
- #
5
- # Check out the official contributor's guide:
6
- # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
7
- #
8
- msgid ""
9
- msgstr ""
10
- "Language: zh_TW\n"
11
- "Plural-Forms: nplurals=1; plural=0;\n"
12
- "Content-Type: text/plain; charset=UTF-8\n"
13
-
14
- msgctxt "The label for the insert image with Dropbox dropdown button."
15
- msgid "Insert with Dropbox"
16
- msgstr "使用 Dropbox 插入"
17
-
18
- msgctxt "The label for the replace image with Dropbox dropdown button."
19
- msgid "Replace with Dropbox"
20
- msgstr "使用 Dropbox 替換"
21
-
22
- msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
23
- msgid "With Dropbox"
24
- msgstr "使用 Dropbox"
25
-
26
- msgctxt "The label for the insert image with Facebook dropdown button."
27
- msgid "Insert with Facebook"
28
- msgstr "使用 Facebook 插入"
29
-
30
- msgctxt "The label for the replace image with Facebook dropdown button."
31
- msgid "Replace with Facebook"
32
- msgstr "插入 Facebook 替換"
33
-
34
- msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
35
- msgid "With Facebook"
36
- msgstr "使用 Facebook"
37
-
38
- msgctxt "The label for the insert image with Google Drive dropdown button."
39
- msgid "Insert with Google Drive"
40
- msgstr "使用 Google 雲端硬碟插入"
41
-
42
- msgctxt "The label for the replace image with Google Drive dropdown button."
43
- msgid "Replace with Google Drive"
44
- msgstr "使用 Google 雲端硬碟替換"
45
-
46
- msgctxt "The label for the insert image with Google Drive menu bar button (inside 'Image' menu)."
47
- msgid "With Google Drive"
48
- msgstr "使用 Google 雲端硬碟"
49
-
50
- msgctxt "The label for the insert image with Google Photos dropdown button."
51
- msgid "Insert with Google Photos"
52
- msgstr "使用 Google 相簿插入"
53
-
54
- msgctxt "The label for the replace image with Google Photos dropdown button."
55
- msgid "Replace with Google Photos"
56
- msgstr "使用 Google 相簿替換"
57
-
58
- msgctxt "The label for the insert image with Google Photos menu bar button (inside 'Image' menu)."
59
- msgid "With Google Photos"
60
- msgstr "使用 Google 相簿"
61
-
62
- msgctxt "The label for the insert image with OneDrive dropdown button."
63
- msgid "Insert with OneDrive"
64
- msgstr "使用 OneDrive 插入"
65
-
66
- msgctxt "The label for the replace image with OneDrive dropdown button."
67
- msgid "Replace with OneDrive"
68
- msgstr "使用 OneDrive 替換"
69
-
70
- msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
71
- msgid "With OneDrive"
72
- msgstr "使用 OneDrive"
73
-
74
- msgctxt "The label for the replace image via URL dropdown button."
75
- msgid "Replace via URL"
76
- msgstr "透過 URL 替換"
77
-
78
- msgctxt "The label for the image edit button and dialog."
79
- msgid "Edit Image (Uploadcare)"
80
- msgstr "編輯圖片"
81
-
82
- msgctxt "The label shown in the image edit dialog when the image is being uploaded."
83
- msgid "Loading image..."
84
- msgstr "正在載入圖片..."
85
-
86
- msgctxt "The main text shown in the image edit dialog when the image upload failed."
87
- msgid "Unable to load"
88
- msgstr "無法上傳"
89
-
90
- msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
91
- msgid "We were unable to load the image due to network connection issues."
92
- msgstr "由於網路連線問題,我們無法上傳影像。"
93
-
94
- msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
95
- msgid "Try again (Uploadcare)"
96
- msgstr "重試"
97
-
98
- msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
99
- msgid "The image was not found. Its source may have been removed."
100
- msgstr "找不到影像。影像來源可能已移除。"
@@ -1,23 +0,0 @@
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
- export{};
package/src/index.js DELETED
@@ -1,23 +0,0 @@
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(_0x2d9917,_0x5396f4){var _0x25fa63=_0x2fa6,_0x2f3b59=_0x2d9917();while(!![]){try{var _0x37d069=parseInt(_0x25fa63(0x1ef))/0x1*(parseInt(_0x25fa63(0x1f0))/0x2)+parseInt(_0x25fa63(0x1e9))/0x3+-parseInt(_0x25fa63(0x1eb))/0x4+parseInt(_0x25fa63(0x1ec))/0x5*(-parseInt(_0x25fa63(0x1f2))/0x6)+-parseInt(_0x25fa63(0x1ed))/0x7*(-parseInt(_0x25fa63(0x1ea))/0x8)+parseInt(_0x25fa63(0x1ee))/0x9+parseInt(_0x25fa63(0x1f1))/0xa;if(_0x37d069===_0x5396f4)break;else _0x2f3b59['push'](_0x2f3b59['shift']());}catch(_0x5cc5a3){_0x2f3b59['push'](_0x2f3b59['shift']());}}}(_0x544a,0xbfc99));export{Uploadcare}from'./uploadcare.js';export{UploadcareEditing}from'./uploadcareediting.js';function _0x544a(){var _0x15623f=['7XNTyOU','10889937mIwNaW','1GKkCSl','1407832XGORMP','270090BXFljN','6fTMspB','1678686hWKsRA','8500424QyiLPI','6076956CNxvpt','6291165PZoAZU'];_0x544a=function(){return _0x15623f;};return _0x544a();}export{UploadcareUI}from'./uploadcareui.js';export{UploadcareImageEdit}from'./uploadcareimageedit.js';function _0x2fa6(_0x489e1e,_0x231ab6){var _0x544a33=_0x544a();return _0x2fa6=function(_0x2fa642,_0x31ed00){_0x2fa642=_0x2fa642-0x1e9;var _0x46969b=_0x544a33[_0x2fa642];return _0x46969b;},_0x2fa6(_0x489e1e,_0x231ab6);}export{UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';export{UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';export{UploadcareImageEditCommand}from'./uploadcareimageedit/uploadcareimageeditcommand.js';export{UploadcareCommand}from'./uploadcarecommand.js';export{UploadcareUploadAdapter}from'./uploadcareuploadadapter.js';import'./augmentation.js';
@@ -1,24 +0,0 @@
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 _0x3eff3b=_0x5ce2;(function(_0x6b821d,_0x3e0c74){const _0x4e25d8=_0x5ce2,_0x5a4fff=_0x6b821d();while(!![]){try{const _0x43ca20=parseInt(_0x4e25d8(0x167))/0x1+-parseInt(_0x4e25d8(0x193))/0x2+parseInt(_0x4e25d8(0x187))/0x3+parseInt(_0x4e25d8(0x197))/0x4*(-parseInt(_0x4e25d8(0x179))/0x5)+-parseInt(_0x4e25d8(0x19d))/0x6*(-parseInt(_0x4e25d8(0x15e))/0x7)+-parseInt(_0x4e25d8(0x1a0))/0x8+parseInt(_0x4e25d8(0x198))/0x9;if(_0x43ca20===_0x3e0c74)break;else _0x5a4fff['push'](_0x5a4fff['shift']());}catch(_0x49da24){_0x5a4fff['push'](_0x5a4fff['shift']());}}}(_0x20c7,0xc2137));import{IconUploadcareImageUpload as _0x31ab1a}from'ckeditor5/src/icons.js';import{ObservableMixin as _0xb734b5}from'ckeditor5/src/utils.js';import{Dialog as _0x441b62,DialogViewPosition as _0x34cbc9}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x4f2bbd}from'./uploadcareformview.js';function _0x5ce2(_0xf3bac7,_0x25007e){const _0x20c79a=_0x20c7();return _0x5ce2=function(_0x5ce2c0,_0x50be7d){_0x5ce2c0=_0x5ce2c0-0x15a;let _0x2b8e64=_0x20c79a[_0x5ce2c0];return _0x2b8e64;},_0x5ce2(_0xf3bac7,_0x25007e);}import{UploadcareSource as _0x134b2d}from'../uploadcareconfig.js';import{getTranslation as _0x40f2f1}from'../utils/common-translations.js';import{getImageUrls as _0x34976c,getImageDimension as _0x2c17cd}from'../utils/editingutils.js';function _0x20c7(){const _0x38400c=['addEventListener','getLastPosition','_insertImage','ctxElement','removeSelectionAttribute','execute','setSelection','width','document','doneFlow','status','2079928LHpjxt','_insertAsset','_dialog','stopDelegating','5216faLkzK','16771779QJArmu','selection','configElement','getSelectedElement','linkHref','152142dYTYyX','idle','source-list','4109240DBHwks','image','change','element','getAPI','view','uploadCare','350ugtHQl','Insert','_editor','uuid','imageInfo','ucContextId','initFlow','detail','_api','34531aeIKDD','length','setCurrentActivity','done-click','_initDialog','editing','hide','stopListening','get','focus','model','EDITOR_TOP_CENTER','setAttribute','_type','plugins','allEntries','_formView','_initListeners','3925uWRYOP','destroy','imageInline','attributes','Replace','insertImage','removeAllFiles','show','_editing','isOpen','text','getOutputCollectionState','imageBlock','Local','618846kOEUeW'];_0x20c7=function(){return _0x38400c;};return _0x20c7();}import{isAncestor as _0x393593}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
24
- _0xb734b5(){[_0x3eff3b(0x160)];[_0x3eff3b(0x195)];[_0x3eff3b(0x181)];[_0x3eff3b(0x166)];[_0x3eff3b(0x174)]=null;[_0x3eff3b(0x177)]=null;constructor(_0x5610a7,_0x3ae54f,_0xb0f1bd){const _0x360a1b=_0x3eff3b;super(),this[_0x360a1b(0x160)]=_0x5610a7,this[_0x360a1b(0x181)]=_0x3ae54f,this[_0x360a1b(0x195)]=_0x5610a7[_0x360a1b(0x175)][_0x360a1b(0x16f)](_0x441b62),this[_0x360a1b(0x166)]=_0x3ae54f[_0x360a1b(0x18b)][_0x360a1b(0x15b)](),this[_0x360a1b(0x174)]=_0xb0f1bd,this[_0x360a1b(0x181)][_0x360a1b(0x19a)][_0x360a1b(0x173)](_0x360a1b(0x19f),this[_0x360a1b(0x174)]),this[_0x360a1b(0x16b)](),this[_0x360a1b(0x178)](),this[_0x360a1b(0x166)][_0x360a1b(0x164)]();}[_0x3eff3b(0x17a)](){const _0xd23699=_0x3eff3b;this[_0xd23699(0x177)]&&(this[_0xd23699(0x177)][_0xd23699(0x17a)](),this[_0xd23699(0x177)]=null),this[_0xd23699(0x166)]&&this[_0xd23699(0x166)][_0xd23699(0x191)](),this[_0xd23699(0x16e)](),this[_0xd23699(0x196)]();}[_0x3eff3b(0x16b)](){const _0x26e511=_0x3eff3b,{locale:_0x3f5c8c,model:_0x243ef5}=this[_0x26e511(0x160)],_0x3948ff=_0x243ef5[_0x26e511(0x190)][_0x26e511(0x199)][_0x26e511(0x19b)](),_0x1cd859=_0x3948ff&&(_0x3948ff['is'](_0x26e511(0x15a),_0x26e511(0x185))||_0x3948ff['is'](_0x26e511(0x15a),_0x26e511(0x17b)));this[_0x26e511(0x177)]=new _0x4f2bbd(_0x3f5c8c,this[_0x26e511(0x181)][_0x26e511(0x163)]),this[_0x26e511(0x195)][_0x26e511(0x180)]({'id':_0x26e511(0x15d),'icon':_0x31ab1a,'title':_0x40f2f1(_0x3f5c8c,this[_0x26e511(0x174)],_0x1cd859?_0x26e511(0x17d):_0x26e511(0x15f))[_0x26e511(0x183)],'content':this[_0x26e511(0x177)],'position':_0x34cbc9[_0x26e511(0x172)],'isModal':!0x0,'onShow':()=>{const _0x5630e2=_0x26e511;this[_0x5630e2(0x177)][_0x5630e2(0x170)]();},'onHide':()=>{const _0x39a4fc=_0x26e511;this[_0x39a4fc(0x166)][_0x39a4fc(0x17f)](),this[_0x39a4fc(0x160)][_0x39a4fc(0x16c)][_0x39a4fc(0x15c)][_0x39a4fc(0x170)](),this[_0x39a4fc(0x17a)]();},'keystrokeHandlerOptions':{'filter':_0x50d293=>!_0x393593(_0x50d293,this[_0x26e511(0x177)][_0x26e511(0x15a)])}});}[_0x3eff3b(0x178)](){const _0xdf2635=_0x3eff3b;this[_0xdf2635(0x181)][_0xdf2635(0x18b)][_0xdf2635(0x188)](_0xdf2635(0x16a),()=>{const _0x21ebfc=_0xdf2635,{allEntries:_0xf7cfe2}=this[_0x21ebfc(0x166)][_0x21ebfc(0x184)]();this[_0x21ebfc(0x160)][_0x21ebfc(0x171)][_0x21ebfc(0x1a2)](_0x35af5a=>{const _0x4afb23=_0x21ebfc,_0x2c79c3=_0xf7cfe2[_0x4afb23(0x168)];for(const _0x3775f5 of _0xf7cfe2){const _0x1b44c7=_0x3775f5===_0xf7cfe2[_0x2c79c3-0x1],{cdnUrl:_0x332d82,fileInfo:_0x4ab237}=_0x3775f5;if(!_0x332d82||!_0x4ab237)continue;const {width:_0x10ff7e,height:_0x5f3cb9}=_0x4ab237[_0x4afb23(0x162)],_0x343b28=_0x2c17cd(_0x332d82,_0x10ff7e,_0x5f3cb9),_0x318e26=_0x34976c(_0x332d82,_0x343b28[_0x4afb23(0x18f)]),_0x18706d={'id':_0x4ab237[_0x4afb23(0x161)],'type':_0x4afb23(0x1a1),'attributes':{'imageDimension':_0x343b28,..._0x318e26}};this[_0x4afb23(0x194)](_0x18706d,_0x1b44c7,_0x35af5a);}}),this[_0x21ebfc(0x195)][_0x21ebfc(0x16d)]();}),this[_0xdf2635(0x181)][_0xdf2635(0x18b)][_0xdf2635(0x188)](_0xdf2635(0x1a2),_0x5c0d2c=>{const _0x2f609c=_0xdf2635;_0x2f609c(0x19e)===_0x5c0d2c[_0x2f609c(0x165)][_0x2f609c(0x192)]&&!_0x5c0d2c[_0x2f609c(0x165)][_0x2f609c(0x176)][_0x2f609c(0x168)]&&this[_0x2f609c(0x195)][_0x2f609c(0x182)]&&(this[_0x2f609c(0x174)]===_0x134b2d[_0x2f609c(0x186)]?this[_0x2f609c(0x166)][_0x2f609c(0x169)](_0x134b2d[_0x2f609c(0x186)]):this[_0x2f609c(0x166)][_0x2f609c(0x164)]());});}[_0x3eff3b(0x194)](_0x777982,_0x1912a8,_0x41b860){const _0x40f40c=_0x3eff3b,_0x4502db=this[_0x40f40c(0x160)][_0x40f40c(0x171)][_0x40f40c(0x190)][_0x40f40c(0x199)],_0x4eb170=_0x4502db[_0x40f40c(0x19b)](),_0x4693e2=!(!_0x4eb170||!_0x4eb170['is'](_0x40f40c(0x15a),_0x40f40c(0x17b)));_0x41b860[_0x40f40c(0x18c)](_0x40f40c(0x19c)),this[_0x40f40c(0x18a)](_0x777982,_0x4693e2),_0x1912a8||_0x41b860[_0x40f40c(0x18e)](_0x4502db[_0x40f40c(0x189)]());}[_0x3eff3b(0x18a)](_0x19cebe,_0x199f11){const _0x472df9=_0x3eff3b,_0x2461c7=this[_0x472df9(0x160)],{imageDimension:_0x58684b,imageFallbackUrl:_0x4cbe0d,imageSources:_0x615dd0}=_0x19cebe[_0x472df9(0x17c)];_0x2461c7[_0x472df9(0x18d)](_0x472df9(0x17e),{'imageType':_0x199f11?_0x472df9(0x17b):null,'source':{'uploadcareImageId':_0x19cebe['id'],'src':_0x4cbe0d,'sources':_0x615dd0,..._0x58684b}});}}
@@ -1,23 +0,0 @@
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 _0x2d3efa=_0x2377;(function(_0x5a78f3,_0x5ca8a9){var _0x31be7a=_0x2377,_0x43cbd0=_0x5a78f3();while(!![]){try{var _0x596c52=parseInt(_0x31be7a(0x140))/0x1+-parseInt(_0x31be7a(0x142))/0x2*(parseInt(_0x31be7a(0x13d))/0x3)+parseInt(_0x31be7a(0x147))/0x4+-parseInt(_0x31be7a(0x143))/0x5*(-parseInt(_0x31be7a(0x13a))/0x6)+-parseInt(_0x31be7a(0x135))/0x7+-parseInt(_0x31be7a(0x137))/0x8*(parseInt(_0x31be7a(0x138))/0x9)+parseInt(_0x31be7a(0x141))/0xa*(parseInt(_0x31be7a(0x13c))/0xb);if(_0x596c52===_0x5ca8a9)break;else _0x43cbd0['push'](_0x43cbd0['shift']());}catch(_0x42c382){_0x43cbd0['push'](_0x43cbd0['shift']());}}}(_0xd3db,0x548c0));import{DialogFocusManagerView as _0x15003c}from'../utils/dialogfocusmanagerview.js';function _0xd3db(){var _0x47eb10=['uploader-','4224275VtctSH','6zJLMok','element','getFocusableElement','107752bpbjGS','10TYeqcn','198484obSfZH','10asCtPL','setTemplate','div','ck-uploadcare-form','1803824pRbGLA','ck-reset_all-excluded','ck-uploadcare-theme','uc-light','3172519qrGKyw','uc-file-uploader-inline','16XTCPQq','755199bbhIUK','focus','669282IDxGiO'];_0xd3db=function(){return _0x47eb10;};return _0xd3db();}function _0x2377(_0x4e7b3e,_0x42af3b){var _0xd3db52=_0xd3db();return _0x2377=function(_0x23774d,_0x35aee6){_0x23774d=_0x23774d-0x135;var _0x133c98=_0xd3db52[_0x23774d];return _0x133c98;},_0x2377(_0x4e7b3e,_0x42af3b);}import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x15003c{constructor(_0x47b1be,_0x27812b){var _0x6cdc0a=_0x2377;super(_0x47b1be),this[_0x6cdc0a(0x144)]({'tag':_0x6cdc0a(0x145),'attributes':{'class':['ck',_0x6cdc0a(0x148),_0x6cdc0a(0x146)],'tabindex':'-1'},'children':[{'tag':_0x6cdc0a(0x136),'attributes':{'class':[_0x6cdc0a(0x14a),_0x6cdc0a(0x149)],'ctx-name':_0x6cdc0a(0x13b)+_0x27812b}},this[_0x6cdc0a(0x13f)]()]});}[_0x2d3efa(0x139)](){var _0x7cc262=_0x2d3efa;this[_0x7cc262(0x13e)][_0x7cc262(0x139)]();}}
package/src/uploadcare.js DELETED
@@ -1,23 +0,0 @@
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 _0x4fceda=_0x15c7;function _0x2385(){const _0x552dbf=['18542268uSxxCp','4419635mjXQmD','locale','uploadcare.locale','define','get','editor','3423240cfxxdz','378722rNBEZs','URL','8171870NCepKv','config','Local','6TimESu','623697sAjkDp','requires','contentLanguage','pluginName','1139034XsytNv','defineLocale','_defineLocale','Uploadcare','uploadcare.uploader.sourceList','isOfficialPlugin','defineComponents','isPremiumPlugin','12owcRHn'];_0x2385=function(){return _0x552dbf;};return _0x2385();}(function(_0x1666ea,_0x170fae){const _0x239ea1=_0x15c7,_0x2afe70=_0x1666ea();while(!![]){try{const _0x2cc123=parseInt(_0x239ea1(0x12b))/0x1*(-parseInt(_0x239ea1(0x130))/0x2)+parseInt(_0x239ea1(0x131))/0x3*(-parseInt(_0x239ea1(0x13d))/0x4)+parseInt(_0x239ea1(0x124))/0x5+parseInt(_0x239ea1(0x135))/0x6+-parseInt(_0x239ea1(0x12d))/0x7+parseInt(_0x239ea1(0x12a))/0x8+parseInt(_0x239ea1(0x13e))/0x9;if(_0x2cc123===_0x170fae)break;else _0x2afe70['push'](_0x2afe70['shift']());}catch(_0x244acf){_0x2afe70['push'](_0x2afe70['shift']());}}}(_0x2385,0x9af1a));import{Plugin as _0x38a79f}from'ckeditor5/src/core.js';import{UploadcareUI as _0xff48b}from'./uploadcareui.js';import{UploadcareEditing as _0x188d43}from'./uploadcareediting.js';import{UploadcareSource as _0x754e8f}from'./uploadcareconfig.js';import*as _0x401235 from'@uploadcare/file-uploader';function _0x15c7(_0x5de590,_0x402ff5){const _0x238544=_0x2385();return _0x15c7=function(_0x15c7ea,_0x5d77a2){_0x15c7ea=_0x15c7ea-0x124;let _0x296fdb=_0x238544[_0x15c7ea];return _0x296fdb;},_0x15c7(_0x5de590,_0x402ff5);}export class Uploadcare extends _0x38a79f{static get[_0x4fceda(0x132)](){return[_0x188d43,_0xff48b];}static get[_0x4fceda(0x134)](){const _0x28b549=_0x4fceda;return _0x28b549(0x138);}static get[_0x4fceda(0x13a)](){return!0x0;}static get[_0x4fceda(0x13c)](){return!0x0;}constructor(_0x9456ed){const _0x53eb7d=_0x4fceda;super(_0x9456ed),_0x9456ed[_0x53eb7d(0x12e)][_0x53eb7d(0x127)](_0x53eb7d(0x139),[_0x754e8f[_0x53eb7d(0x12f)],_0x754e8f[_0x53eb7d(0x12c)]]),_0x401235[_0x53eb7d(0x13b)](_0x401235),this[_0x53eb7d(0x137)]();}[_0x4fceda(0x137)](){const _0x195bed=_0x4fceda,_0x3a9bf9=this[_0x195bed(0x129)][_0x195bed(0x12e)][_0x195bed(0x128)](_0x195bed(0x126)),_0x51cbc4=this[_0x195bed(0x129)][_0x195bed(0x125)][_0x195bed(0x133)];_0x3a9bf9&&_0x401235[_0x195bed(0x136)](_0x51cbc4,_0x3a9bf9);}}
@@ -1,23 +0,0 @@
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 _0x24c3d3=_0x1f34;(function(_0x5898a7,_0x243cf1){var _0x361006=_0x1f34,_0x4e3e5a=_0x5898a7();while(!![]){try{var _0x3e1163=-parseInt(_0x361006(0x18f))/0x1+-parseInt(_0x361006(0x197))/0x2+parseInt(_0x361006(0x190))/0x3*(-parseInt(_0x361006(0x18a))/0x4)+-parseInt(_0x361006(0x19b))/0x5+parseInt(_0x361006(0x189))/0x6+parseInt(_0x361006(0x18d))/0x7*(parseInt(_0x361006(0x19e))/0x8)+parseInt(_0x361006(0x192))/0x9*(parseInt(_0x361006(0x196))/0xa);if(_0x3e1163===_0x243cf1)break;else _0x4e3e5a['push'](_0x4e3e5a['shift']());}catch(_0x45000b){_0x4e3e5a['push'](_0x4e3e5a['shift']());}}}(_0x4111,0xb3b4a));import{Command as _0x1efc16}from'ckeditor5/src/core.js';import{Dialog as _0x41cfe9}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x171290}from'./uploadcareediting.js';function _0x1f34(_0x43990e,_0x191b51){var _0x4111da=_0x4111();return _0x1f34=function(_0x1f34d3,_0x3bee5d){_0x1f34d3=_0x1f34d3-0x189;var _0x1bb6de=_0x4111da[_0x1f34d3];return _0x1bb6de;},_0x1f34(_0x43990e,_0x191b51);}function _0x4111(){var _0x144ebd=['633208TzFAhm','_controller','insertImage','destroy','795855FuSdrC','commands','execute','16mAkNTa','_checkEnabled','5639514ROfSpb','193516LHSobC','isEnabled','requires','99771SSpDfi','plugins','289661cinNxM','78mWPZHI','editor','9yPAmCi','_editing','get','refresh','17909390QfnOYy'];_0x4111=function(){return _0x144ebd;};return _0x4111();}import{UploadcareController as _0xe20012}from'./ui/uploadcarecontroller.js';export class UploadcareCommand extends _0x1efc16{[_0x24c3d3(0x193)];[_0x24c3d3(0x198)]=null;static get[_0x24c3d3(0x18c)](){return[_0x41cfe9,_0x171290];}constructor(_0x47ee74){var _0x32f33e=_0x24c3d3;super(_0x47ee74),this[_0x32f33e(0x193)]=_0x47ee74[_0x32f33e(0x18e)][_0x32f33e(0x194)](_0x171290);}[_0x24c3d3(0x195)](){var _0x5332cd=_0x24c3d3;this[_0x5332cd(0x18b)]=this[_0x5332cd(0x19f)]();}[_0x24c3d3(0x19d)](_0x42ae45){var _0x58fbfc=_0x24c3d3;this[_0x58fbfc(0x198)]&&(this[_0x58fbfc(0x198)][_0x58fbfc(0x19a)](),this[_0x58fbfc(0x198)]=null),this[_0x58fbfc(0x198)]=new _0xe20012(this[_0x58fbfc(0x191)],this[_0x58fbfc(0x193)],_0x42ae45);}[_0x24c3d3(0x19f)](){var _0x5b316a=_0x24c3d3;return this[_0x5b316a(0x191)][_0x5b316a(0x19c)][_0x5b316a(0x194)](_0x5b316a(0x199))[_0x5b316a(0x18b)];}}
@@ -1,23 +0,0 @@
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(_0x78fcbe,_0x18d9cb){var _0x32bdba=_0x15e2,_0x47e3ff=_0x78fcbe();while(!![]){try{var _0xe1206e=parseInt(_0x32bdba(0xb0))/0x1+parseInt(_0x32bdba(0xad))/0x2+-parseInt(_0x32bdba(0xba))/0x3*(-parseInt(_0x32bdba(0xbb))/0x4)+-parseInt(_0x32bdba(0xb1))/0x5*(parseInt(_0x32bdba(0xaa))/0x6)+parseInt(_0x32bdba(0xac))/0x7+-parseInt(_0x32bdba(0xb4))/0x8*(-parseInt(_0x32bdba(0xb6))/0x9)+parseInt(_0x32bdba(0xab))/0xa*(-parseInt(_0x32bdba(0xa9))/0xb);if(_0xe1206e===_0x18d9cb)break;else _0x47e3ff['push'](_0x47e3ff['shift']());}catch(_0x555dad){_0x47e3ff['push'](_0x47e3ff['shift']());}}}(_0x4a2a,0x6d417));export var UploadcareSource;function _0x15e2(_0x41196b,_0x589549){var _0x4a2a34=_0x4a2a();return _0x15e2=function(_0x15e25c,_0x3d9286){_0x15e25c=_0x15e25c-0xa8;var _0x5eeaa6=_0x4a2a34[_0x15e25c];return _0x5eeaa6;},_0x15e2(_0x41196b,_0x589549);}!function(_0x2721c9){var _0x3282eb=_0x15e2;_0x2721c9[_0x3282eb(0xbd)]=_0x3282eb(0xae),_0x2721c9[_0x3282eb(0xb9)]=_0x3282eb(0xb3),_0x2721c9[_0x3282eb(0xb7)]=_0x3282eb(0xa8),_0x2721c9[_0x3282eb(0xbe)]=_0x3282eb(0xbc),_0x2721c9[_0x3282eb(0xb5)]=_0x3282eb(0xaf),_0x2721c9[_0x3282eb(0xb8)]=_0x3282eb(0xb2),_0x2721c9[_0x3282eb(0xbf)]=_0x3282eb(0xc0);}(UploadcareSource||(UploadcareSource={}));function _0x4a2a(){var _0xd76f8=['125KunTrk','gphotos','url','40616NNptOj','Facebook','729VAMynZ','Dropbox','GPhotos','URL','3eCwkrh','2358996dLBixu','gdrive','Local','GDrive','OneDrive','onedrive','dropbox','18134468hEHLtI','39966mzDlSu','10JHDniQ','5087684wdVxMx','514838yCcrKd','local','facebook','277407mHVTdA'];_0x4a2a=function(){return _0xd76f8;};return _0x4a2a();}
@@ -1,23 +0,0 @@
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 _0x4d1ded=_0x1915;(function(_0x538cf9,_0x4a2609){const _0x555f96=_0x1915,_0x36168d=_0x538cf9();while(!![]){try{const _0x2ce957=-parseInt(_0x555f96(0x79))/0x1+parseInt(_0x555f96(0x7a))/0x2+parseInt(_0x555f96(0xc4))/0x3*(-parseInt(_0x555f96(0xbd))/0x4)+-parseInt(_0x555f96(0x8c))/0x5*(parseInt(_0x555f96(0x73))/0x6)+parseInt(_0x555f96(0xa7))/0x7+-parseInt(_0x555f96(0xc5))/0x8+-parseInt(_0x555f96(0x75))/0x9*(-parseInt(_0x555f96(0xa5))/0xa);if(_0x2ce957===_0x4a2609)break;else _0x36168d['push'](_0x36168d['shift']());}catch(_0x3a01ac){_0x36168d['push'](_0x36168d['shift']());}}}(_0x2339,0x7e3bb));import{Plugin as _0x3d3d76}from'ckeditor5/src/core.js';import{Dialog as _0x363572}from'ckeditor5/src/ui.js';function _0x2339(){const _0x342296=['configElement','isOfficialPlugin','editor','_ctxElement','closeMax','3qhTydU','7133328PSLUGz','replaceImageSource','querySelector','4932fwgSOL','_initImageProcessingIndicator','72eypnMb','conversion','document','commands','761707hyGOUq','1692160EAYcrq','get','_initCtx','locale','requires','join','remove','isPremiumPlugin','appendChild','data-uc-image-id','getAttribute','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','UploadcareEditing','imageInline','true','model','_initConversion','destroy','5205QhimDN','ucContextId','#uc-icon-arrow-down','execute','afterInit','uploadcare.pubkey','uc-config','href','pluginName','getSelectedElement','uploadcareImageReplace','imageBlock','uc-upload-ctx-provider','_initSchema','input[uploadcare-file-input]','uploadcare','map','elementToAttribute','uploader-','for','downcast','view','ctxElement','upcast','_initConfig','3592830MfqKKL','config','1392685micfZs','schema','selection','_configElement','render','cleanupImage','init','PictureEditing','contentLanguage','listenTo','attributeToAttribute','add','uploadcare.uploader','body','isRegistered','extend','fromCharCode','editing','iconHrefResolver','removeAttribute','once','insertImage','3572692RXteMN','uploadcareImageId'];_0x2339=function(){return _0x342296;};return _0x2339();}import{createElement as _0x4e7b6e,global as _0x3ea396,uid as _0x4373d7}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x59d970}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x5550b2}from'./uploadcareuploadadapter.js';function _0x1915(_0x4478d9,_0x1ba00e){const _0x233983=_0x2339();return _0x1915=function(_0x1915e6,_0x1b22cd){_0x1915e6=_0x1915e6-0x72;let _0x281644=_0x233983[_0x1915e6];return _0x281644;},_0x1915(_0x4478d9,_0x1ba00e);}import{showImageProcessingIndicator as _0x3114fe}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3d3d76{[_0x4d1ded(0xaa)]=null;[_0x4d1ded(0xc2)]=null;static get[_0x4d1ded(0x94)](){const _0x3942e3=_0x4d1ded;return _0x3942e3(0x86);}static get[_0x4d1ded(0x7e)](){const _0x3dbc5e=_0x4d1ded;return[_0x3dbc5e(0xae),_0x5550b2,_0x363572];}static get[_0x4d1ded(0xc0)](){return!0x0;}static get[_0x4d1ded(0x81)](){return!0x0;}[_0x4d1ded(0x8d)];get[_0x4d1ded(0xbf)](){const _0x50f59f=_0x4d1ded;return this[_0x50f59f(0xaa)];}get[_0x4d1ded(0xa2)](){const _0x278987=_0x4d1ded;return this[_0x278987(0xc2)];}constructor(_0x36c305){const _0x452989=_0x4d1ded;super(_0x36c305),this[_0x452989(0x8d)]=_0x4373d7();}[_0x4d1ded(0xad)](){const _0x3a5887=_0x4d1ded,_0x13e068=this[_0x3a5887(0xc1)];_0x13e068[_0x3a5887(0x78)][_0x3a5887(0xb2)](_0x3a5887(0x9b),new _0x59d970(_0x13e068));}[_0x4d1ded(0x90)](){const _0x13d507=_0x4d1ded;this[_0x13d507(0x99)](),this[_0x13d507(0x8a)](),this[_0x13d507(0xa4)](),this[_0x13d507(0x7c)](),this[_0x13d507(0x74)](),this[_0x13d507(0xb0)](this[_0x13d507(0xc1)],_0x13d507(0x8b),()=>{const _0x546950=_0x13d507;this[_0x546950(0xaa)]&&(this[_0x546950(0xaa)][_0x546950(0x80)](),this[_0x546950(0xaa)]=null),this[_0x546950(0xc2)]&&(this[_0x546950(0xc2)][_0x546950(0x80)](),this[_0x546950(0xc2)]=null);const _0x4849ab=_0x3ea396[_0x546950(0x77)][_0x546950(0x72)](_0x546950(0x9a));_0x4849ab&&_0x4849ab[_0x546950(0x80)]();}),async function(_0x4014e6){const _0x3ce34c=_0x288ba1([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x37bf64=0x535f8c3a,_0x3f3cb9=0x53580c3a^_0x37bf64,_0x3ef653=window[_0x288ba1([0x44,0x61,0x74,0x65])][_0x288ba1([0x6e,0x6f,0x77])](),_0x48cd66=_0x4014e6[_0x288ba1([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x446fe7=new window[(_0x288ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31b4b6=>{_0x48cd66[_0x288ba1([0x6f,0x6e,0x63,0x65])](_0x288ba1([0x72,0x65,0x61,0x64,0x79]),_0x31b4b6);}),_0x2b316c={[_0x288ba1([0x6b,0x74,0x79])]:_0x288ba1([0x45,0x43]),[_0x288ba1([0x75,0x73,0x65])]:_0x288ba1([0x73,0x69,0x67]),[_0x288ba1([0x63,0x72,0x76])]:_0x288ba1([0x50,0x2d,0x32,0x35,0x36]),[_0x288ba1([0x78])]:_0x288ba1([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x288ba1([0x79])]:_0x288ba1([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x288ba1([0x61,0x6c,0x67])]:_0x288ba1([0x45,0x53,0x32,0x35,0x36])},_0x1ddf03=_0x48cd66[_0x288ba1([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x288ba1([0x67,0x65,0x74])](_0x288ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4cc7e9(){let _0x3dfc80,_0x8cce5c=null,_0x35414a=null;try{if(_0x1ddf03==_0x288ba1([0x47,0x50,0x4c]))return _0x288ba1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3dfc80=_0x4b2226(),!_0x3dfc80)return _0x288ba1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3dfc80[_0x288ba1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35414a=_0x44e4a7(_0x3dfc80[_0x288ba1([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3dfc80[_0x288ba1([0x6a,0x74,0x69])])),await _0x47816b()?_0x2da177()?_0x47c8b1()?_0x288ba1([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21c37b()?(_0x3dfc80[_0x288ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x288ba1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x8cce5c=_0x2a7047(_0x288ba1([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x493891()):_0x288ba1([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x288ba1([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x288ba1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x288ba1([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x47c8b1(){const _0x242b8c=[_0x288ba1([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x288ba1([0x74,0x72,0x69,0x61,0x6c])][_0x288ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3dfc80[_0x288ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3ef653/0x3e8:0xe10*_0x3f3cb9;return _0x3dfc80[_0x288ba1([0x65,0x78,0x70])]<_0x242b8c;}function _0x2da177(){const _0x5c26ef=_0x3dfc80[_0x288ba1([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5c26ef&&(!!_0x5c26ef[_0x288ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x288ba1([0x2a]))||!!_0x5c26ef[_0x288ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x288ba1([0x55,0x50,0x4c,0x43])));}function _0x21c37b(){const _0x2f64b7=_0x1915,_0x542771=_0x3dfc80[_0x288ba1([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x542771||0x0==_0x542771[_0x288ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x38cf18}=new URL(window[_0x288ba1([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2f64b7(0x93)]);if(_0x542771[_0x288ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38cf18))return!0x0;const _0x1c0e60=_0x38cf18[_0x288ba1([0x73,0x70,0x6c,0x69,0x74])](_0x288ba1([0x2e]));return _0x542771[_0x288ba1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56a682=>_0x56a682[_0x288ba1([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x288ba1([0x2a])))[_0x288ba1([0x6d,0x61,0x70])](_0x54db69=>_0x54db69[_0x288ba1([0x73,0x70,0x6c,0x69,0x74])](_0x288ba1([0x2e])))[_0x288ba1([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd86dc8=>_0xd86dc8[_0x288ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c0e60[_0x288ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x288ba1([0x6d,0x61,0x70])](_0x1ceeab=>Array(_0x1c0e60[_0x288ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1ceeab[_0x288ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x288ba1([0x66,0x69,0x6c,0x6c])](_0x1ceeab[0x0]===_0x288ba1([0x2a])?_0x288ba1([0x2a]):'')[_0x288ba1([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1ceeab))[_0x288ba1([0x73,0x6f,0x6d,0x65])](_0x337d0f=>_0x1c0e60[_0x288ba1([0x65,0x76,0x65,0x72,0x79])]((_0xc4cbf9,_0x10e2e2)=>_0x337d0f[_0x10e2e2]===_0xc4cbf9||_0x337d0f[_0x10e2e2]===_0x288ba1([0x2a])));}function _0x493891(){return _0x8cce5c&&_0x35414a?new window[(_0x288ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe1a8b6,_0x975888)=>{_0x8cce5c[_0x288ba1([0x74,0x68,0x65,0x6e])](_0xe1a8b6,_0x975888),_0x35414a[_0x288ba1([0x74,0x68,0x65,0x6e])](_0x11024d=>{_0x11024d!=_0x288ba1([0x56,0x61,0x6c,0x69,0x64])&&_0xe1a8b6(_0x11024d);},_0x975888);}):_0x8cce5c||_0x35414a||_0x288ba1([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44e4a7(_0x4135cb,_0x52992f){return new window[(_0x288ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53e869=>{if(_0x395217())return _0x53e869(_0x288ba1([0x56,0x61,0x6c,0x69,0x64]));_0x3e7822(),_0x48cd66[_0x288ba1([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x288ba1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x9fd72f=!0x1;const _0x5ee453=_0x4373d7();function _0x268fab(_0x332f24){return!!_0x332f24&&(typeof _0x332f24===_0x288ba1([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x332f24===_0x288ba1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x332f24[_0x288ba1([0x74,0x68,0x65,0x6e])]===_0x288ba1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x332f24[_0x288ba1([0x63,0x61,0x74,0x63,0x68])]===_0x288ba1([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x125763(_0x38c188){_0x5bca90(_0x38c188)[_0x288ba1([0x74,0x68,0x65,0x6e])](_0xe68aae=>{if(!_0xe68aae||_0xe68aae[_0x288ba1([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x288ba1([0x6f,0x6b]))return _0x288ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4db021(_0xbd470f(_0x5ee453+_0x52992f))!=_0xe68aae[_0x288ba1([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x288ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x288ba1([0x56,0x61,0x6c,0x69,0x64]);})[_0x288ba1([0x74,0x68,0x65,0x6e])](_0x5abbd6=>(_0x280841(),_0x5abbd6),()=>{const _0x1c563d=_0x347acd();return null==_0x1c563d?(_0x280841(),_0x288ba1([0x56,0x61,0x6c,0x69,0x64])):_0x288ba1(_0x3ef653-_0x1c563d>(0x7753083a^_0x37bf64)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x288ba1([0x74,0x68,0x65,0x6e])](_0x53e869)[_0x288ba1([0x63,0x61,0x74,0x63,0x68])](()=>{_0x53e869(_0x288ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1b6167=0x536962ba^_0x37bf64;function _0x280841(){const _0x1214b8=_0x288ba1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4db021(_0xbd470f(_0x4135cb)),_0x43d91a=_0x4298dc(_0x4db021(window[_0x288ba1([0x4d,0x61,0x74,0x68])][_0x288ba1([0x63,0x65,0x69,0x6c])](_0x3ef653/_0x1b6167)));window[_0x288ba1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x288ba1([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1214b8,_0x43d91a);}function _0x347acd(){const _0x3bee4f=_0x288ba1([0x6c,0x6c,0x63,0x74,0x2d])+_0x4db021(_0xbd470f(_0x4135cb)),_0x2912e5=window[_0x288ba1([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x288ba1([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3bee4f);return _0x2912e5?window[_0x288ba1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4298dc(_0x2912e5),0x10)*_0x1b6167:null;}function _0x5bca90(_0x232e6e){return new window[(_0x288ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1ce7a4,_0x52d222)=>{_0x232e6e[_0x288ba1([0x74,0x68,0x65,0x6e])](_0x1ce7a4,_0x52d222),window[_0x288ba1([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x52d222,0x535e58fa^_0x37bf64);});}}_0x48cd66[_0x288ba1([0x6f,0x6e])](_0x288ba1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x23e3e6,_0x5686ed)=>{if(_0x5686ed[0x0]!=_0x4135cb)return _0x53e869(_0x288ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5686ed[0x1]={..._0x5686ed[0x1],[_0x288ba1([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ee453};},{[_0x288ba1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x288ba1([0x68,0x69,0x67,0x68])}),_0x48cd66[_0x288ba1([0x6f,0x6e])](_0x288ba1([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5b7198=>{_0x268fab(_0x5b7198[_0x288ba1([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x9fd72f=!0x0,_0x125763(_0x5b7198[_0x288ba1([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x288ba1([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x288ba1([0x6c,0x6f,0x77])}),_0x446fe7[_0x288ba1([0x74,0x68,0x65,0x6e])](()=>{_0x9fd72f||_0x53e869(_0x288ba1([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x395217(){return _0x48cd66[_0x288ba1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x288ba1([0x76,0x69,0x65,0x77])][_0x288ba1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x288ba1([0x61,0x75,0x74,0x6f]);}function _0x3e7822(){_0x48cd66[_0x288ba1([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x288ba1([0x76,0x69,0x65,0x77])][_0x288ba1([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x288ba1([0x61,0x75,0x74,0x6f]);}}function _0x2a7047(_0x4c4026){const _0x2ecd0b=[new window[(_0x288ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d56af=>setTimeout(_0x1d56af,0x5356b2f6^_0x37bf64)),_0x446fe7[_0x288ba1([0x74,0x68,0x65,0x6e])](()=>new window[(_0x288ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f44c1=>{let _0x538ae4=0x0;_0x48cd66[_0x288ba1([0x6d,0x6f,0x64,0x65,0x6c])][_0x288ba1([0x6f,0x6e])](_0x288ba1([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b7e0c,_0x4eb79e)=>{_0x4eb79e[0x0][_0x288ba1([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x538ae4++,_0x538ae4==(0x535f89d2^_0x37bf64)&&(_0x3f44c1(),_0x3b7e0c[_0x288ba1([0x6f,0x66,0x66])]());});}))];return window[_0x288ba1([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x288ba1([0x72,0x61,0x63,0x65])](_0x2ecd0b)[_0x288ba1([0x74,0x68,0x65,0x6e])](()=>_0x4c4026);}async function _0x25d199(){await _0x446fe7,_0x48cd66[_0x288ba1([0x6d,0x6f,0x64,0x65,0x6c])][_0x288ba1([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x74485a,_0x48cd66[_0x288ba1([0x6d,0x6f,0x64,0x65,0x6c])][_0x288ba1([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x74485a,_0x48cd66[_0x288ba1([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x288ba1([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2a3890(_0x5a4d40){const _0x4b12d8=_0x3ea4fd();_0x48cd66[_0x4b12d8]=_0x288ba1([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5a4d40,_0x5a4d40!=_0x288ba1([0x56,0x61,0x6c,0x69,0x64])&&_0x25d199();}function _0x3ea4fd(){const _0x11d3ae=window[_0x288ba1([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x288ba1([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x288ba1([0x6e,0x6f,0x77])]())[_0x288ba1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x288ba1([0x2e]),'');let _0x1d146d=_0x288ba1([0x68]);for(let _0x1eb5ad=0x0;_0x1eb5ad<_0x11d3ae[_0x288ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1eb5ad+=0x2){let _0x1bd3b1=window[_0x288ba1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x11d3ae[_0x288ba1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1eb5ad,_0x1eb5ad+0x2));_0x1bd3b1>=_0x3ce34c[_0x288ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1bd3b1-=_0x3ce34c[_0x288ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d146d+=_0x3ce34c[_0x1bd3b1];}return _0x1d146d;}function _0x4b2226(){const _0x208024=_0x1ddf03[_0x288ba1([0x73,0x70,0x6c,0x69,0x74])](_0x288ba1([0x2e]));if(0x3!=_0x208024[_0x288ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xae9c51(_0x208024[0x1]);function _0xae9c51(_0x39e1ff){const _0x2f91f9=_0x33de15(_0x39e1ff);return _0x2f91f9&&_0x40b51b()?_0x2f91f9:null;function _0x40b51b(){const _0x1ae5b3=_0x2f91f9[_0x288ba1([0x6a,0x74,0x69])],_0x3a227d=window[_0x288ba1([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ae5b3[_0x288ba1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1ae5b3[_0x288ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x118a23={..._0x2f91f9,[_0x288ba1([0x6a,0x74,0x69])]:_0x1ae5b3[_0x288ba1([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1ae5b3[_0x288ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x118a23[_0x288ba1([0x76,0x63])],_0xbd470f(_0x118a23)==_0x3a227d;}}}async function _0x47816b(){let _0x41e3cf=!0x0;try{const _0x16f504=_0x1ddf03[_0x288ba1([0x73,0x70,0x6c,0x69,0x74])](_0x288ba1([0x2e])),[_0x511234,_0x49f4dd,_0x2ea0c1]=_0x16f504;return _0x3ca10c(_0x511234),await _0x3d2fde(_0x511234,_0x49f4dd,_0x2ea0c1),_0x41e3cf;}catch{return!0x1;}function _0x3ca10c(_0x41c416){const _0x37d8d9=_0x33de15(_0x41c416);_0x37d8d9&&_0x37d8d9[_0x288ba1([0x61,0x6c,0x67])]==_0x288ba1([0x45,0x53,0x32,0x35,0x36])||(_0x41e3cf=!0x1);}async function _0x3d2fde(_0x53eac5,_0x265e4f,_0x3480a2){const _0x4d2e48=window[_0x288ba1([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x288ba1([0x66,0x72,0x6f,0x6d])](_0x209e46(_0x3480a2),_0x357e72=>_0x357e72[_0x288ba1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5365d7=new window[(_0x288ba1([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x288ba1([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53eac5+_0x288ba1([0x2e])+_0x265e4f),_0x2245fa=window[_0x288ba1([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x288ba1([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2245fa)return;const _0x54d306=await _0x2245fa[_0x288ba1([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x288ba1([0x6a,0x77,0x6b]),_0x2b316c,{[_0x288ba1([0x6e,0x61,0x6d,0x65])]:_0x288ba1([0x45,0x43,0x44,0x53,0x41]),[_0x288ba1([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x288ba1([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x288ba1([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2245fa[_0x288ba1([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x288ba1([0x6e,0x61,0x6d,0x65])]:_0x288ba1([0x45,0x43,0x44,0x53,0x41]),[_0x288ba1([0x68,0x61,0x73,0x68])]:{[_0x288ba1([0x6e,0x61,0x6d,0x65])]:_0x288ba1([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54d306,_0x4d2e48,_0x5365d7)||(_0x41e3cf=!0x1);}}function _0x33de15(_0x36c1dc){return _0x36c1dc[_0x288ba1([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x288ba1([0x65,0x79]))?JSON[_0x288ba1([0x70,0x61,0x72,0x73,0x65])](_0x209e46(_0x36c1dc)):null;}function _0x209e46(_0x154e4b){return window[_0x288ba1([0x61,0x74,0x6f,0x62])](_0x154e4b[_0x288ba1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x288ba1([0x2b]))[_0x288ba1([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x288ba1([0x2f])));}function _0xbd470f(_0x5b6cf4){let _0x4ab624=0x1505;function _0x156815(_0x356540){for(let _0x350275=0x0;_0x350275<_0x356540[_0x288ba1([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x350275++){const _0x5aa26d=_0x356540[_0x288ba1([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x350275);_0x4ab624=(_0x4ab624<<0x5)+_0x4ab624+_0x5aa26d,_0x4ab624&=_0x4ab624;}}function _0x1f73a7(_0xb0a8a2){Array[_0x288ba1([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xb0a8a2)?_0xb0a8a2[_0x288ba1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f73a7):_0xb0a8a2&&typeof _0xb0a8a2==_0x288ba1([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x288ba1([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xb0a8a2)[_0x288ba1([0x73,0x6f,0x72,0x74])]()[_0x288ba1([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x45e5ef,_0x26b6d1])=>{_0x156815(_0x45e5ef),_0x1f73a7(_0x26b6d1);}):_0x156815(window[_0x288ba1([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xb0a8a2));}return _0x1f73a7(_0x5b6cf4),_0x4ab624>>>0x0;}function _0x4db021(_0x192248){return _0x192248[_0x288ba1([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x288ba1([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x288ba1([0x30]));}function _0x4298dc(_0x51efde){return _0x51efde[_0x288ba1([0x73,0x70,0x6c,0x69,0x74])]('')[_0x288ba1([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x288ba1([0x6a,0x6f,0x69,0x6e])]('');}function _0x74485a(){}function _0x288ba1(_0x3f7fb4){const _0x7b7b3f=_0x1915;return _0x3f7fb4[_0x7b7b3f(0x9c)](_0x269e57=>String[_0x7b7b3f(0xb7)](_0x269e57))[_0x7b7b3f(0x7f)]('');}_0x2a3890(await _0x4cc7e9());}(this);}[_0x4d1ded(0x99)](){const _0x1ca770=_0x4d1ded,_0x1051ef=this[_0x1ca770(0xc1)][_0x1ca770(0x89)][_0x1ca770(0xa8)];_0x1051ef[_0x1ca770(0xb5)](_0x1ca770(0x97))&&_0x1051ef[_0x1ca770(0xb6)](_0x1ca770(0x97),{'allowAttributes':[_0x1ca770(0xbe)]}),_0x1051ef[_0x1ca770(0xb5)](_0x1ca770(0x87))&&_0x1051ef[_0x1ca770(0xb6)](_0x1ca770(0x87),{'allowAttributes':[_0x1ca770(0xbe)]});}[_0x4d1ded(0x8a)](){const _0x1c5565=_0x4d1ded,_0x5a0d8f=this[_0x1c5565(0xc1)];_0x5a0d8f[_0x1c5565(0x76)][_0x1c5565(0x9f)](_0x1c5565(0xa0))[_0x1c5565(0xb1)]({'model':_0x1c5565(0xbe),'view':_0x1c5565(0x83)}),_0x5a0d8f[_0x1c5565(0x76)][_0x1c5565(0x9f)](_0x1c5565(0xa3))[_0x1c5565(0x9d)]({'model':{'key':_0x1c5565(0xbe),'value':_0x276fb9=>_0x276fb9[_0x1c5565(0x84)](_0x1c5565(0x83))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x17e3a5=_0x5a0d8f[_0x1c5565(0x78)][_0x1c5565(0x7b)](_0x1c5565(0xc6));_0x17e3a5&&this[_0x1c5565(0xb0)](_0x17e3a5,_0x1c5565(0xac),(_0x35167c,[_0x5eb1fb,_0x28db12])=>{const _0xe9bc01=_0x1c5565;_0x5eb1fb[_0xe9bc01(0xba)](_0xe9bc01(0xbe),_0x28db12);});}[_0x4d1ded(0xa4)](){const _0x29d566=_0x4d1ded,_0x6d81b2=this[_0x29d566(0xc1)][_0x29d566(0xa6)][_0x29d566(0x7b)](_0x29d566(0xb3))||{},_0x2118a4=this[_0x29d566(0xc1)][_0x29d566(0xa6)][_0x29d566(0x7b)](_0x29d566(0x91))||'';this[_0x29d566(0xaa)]=_0x4e7b6e(_0x3ea396[_0x29d566(0x77)],_0x29d566(0x92),{..._0x6d81b2,'pubkey':_0x2118a4,'ctx-name':_0x29d566(0x9e)+this[_0x29d566(0x8d)],'sourceList':'','imgOnly':_0x29d566(0x88),'removeCopyright':_0x29d566(0x88),'localeName':this[_0x29d566(0xc1)][_0x29d566(0x7d)][_0x29d566(0xaf)],'externalSourcesEmbedCss':_0x29d566(0x85)}),this[_0x29d566(0xaa)][_0x29d566(0xb9)]=_0x58521c=>{const _0x49ddb9=_0x29d566;if(_0x49ddb9(0xc3)==_0x58521c)return _0x49ddb9(0x8e);},_0x3ea396[_0x29d566(0x77)][_0x29d566(0xb4)][_0x29d566(0x82)](this[_0x29d566(0xaa)]);}[_0x4d1ded(0x7c)](){const _0xb81bd5=_0x4d1ded;this[_0xb81bd5(0xc2)]=_0x4e7b6e(_0x3ea396[_0xb81bd5(0x77)],_0xb81bd5(0x98),{'ctx-name':_0xb81bd5(0x9e)+this[_0xb81bd5(0x8d)]}),_0x3ea396[_0xb81bd5(0x77)][_0xb81bd5(0xb4)][_0xb81bd5(0x82)](this[_0xb81bd5(0xc2)]);}[_0x4d1ded(0x74)](){const _0x215771=_0x4d1ded,_0x42752f=this[_0x215771(0xc1)][_0x215771(0x78)][_0x215771(0x7b)](_0x215771(0xbc));_0x42752f&&this[_0x215771(0xb0)](_0x42752f,_0x215771(0x8f),()=>{const _0x33e075=_0x215771,_0x1aa6b1=this[_0x33e075(0xc1)][_0x33e075(0x89)][_0x33e075(0x77)][_0x33e075(0xa9)][_0x33e075(0x95)]();_0x1aa6b1&&_0x1aa6b1[_0x33e075(0x84)](_0x33e075(0xbe))&&this[_0x33e075(0xc1)][_0x33e075(0xb8)][_0x33e075(0xa1)][_0x33e075(0xbb)](_0x33e075(0xab),()=>{const _0x541c69=_0x33e075;_0x3114fe(this[_0x541c69(0xc1)],_0x1aa6b1);});});const _0x2ce4a2=this[_0x215771(0xc1)][_0x215771(0x78)][_0x215771(0x7b)](_0x215771(0x96));_0x2ce4a2&&this[_0x215771(0xb0)](_0x2ce4a2,_0x215771(0x8f),()=>{const _0xd976e4=_0x215771,_0x2741ac=this[_0xd976e4(0xc1)][_0xd976e4(0x89)][_0xd976e4(0x77)][_0xd976e4(0xa9)][_0xd976e4(0x95)]();_0x2741ac&&_0x2741ac[_0xd976e4(0x84)](_0xd976e4(0xbe))&&this[_0xd976e4(0xc1)][_0xd976e4(0xb8)][_0xd976e4(0xa1)][_0xd976e4(0xbb)](_0xd976e4(0xab),()=>{const _0x2c67af=_0xd976e4;_0x3114fe(this[_0x2c67af(0xc1)],_0x2741ac);});});}}
@@ -1,24 +0,0 @@
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{global as _0x2d1c6d,ObservableMixin as _0x1e6f34}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x10da0e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4990dd}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x96c025}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x17d669}from'../../utils/uploadutils.js';import{getImageUrls as _0x4062b7,getImageDimension as _0x215350}from'../../utils/editingutils.js';import{isAncestor as _0x51680b}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x1e6f34(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x468e4f,_0x44a14a,_0x4dfde1){super(),this['_editor']=_0x468e4f,this['_dialog']=_0x44a14a,this['_imageElement']=_0x4dfde1,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x478e76=this['_imageElement'],_0x42993e=_0x478e76['getAttribute']('uploadcareImageId'),_0x1c05a0=_0x478e76['getAttribute']('src');if(_0x42993e)await this['_loadImageInfo'](_0x42993e,_0x1c05a0);else{if(this['_imageCache']['has'](_0x1c05a0)){const _0x20c159=this['_imageCache']['get'](_0x1c05a0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x20c159['url'],this['imageDimension']=_0x20c159['dimension'],this['imageId']=_0x20c159['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x20a3d2}=this['_editor'],t=_0x20a3d2['t'],_0x4761d9=new _0x96c025(_0x20a3d2,this['imageStatus'],this['_attributes']);_0x4761d9['bind']('status')['to'](this,'imageStatus'),_0x4761d9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4761d9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4761d9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4761d9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x4990dd,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4761d9,'position':_0x10da0e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4761d9['focus']();},'onHide':()=>{_0x4761d9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x50d4fb=>!_0x51680b(_0x50d4fb,_0x4761d9['element'])}});}['_loadImageInfo'](_0x182b8e,_0x1de075){return _0x17d669['getInfo'](_0x182b8e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x5b4d36=>{const {width:_0x580d95,height:_0x1bc8c7}=_0x5b4d36['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1de075,this['imageDimension']={'width':_0x580d95,'height':_0x1bc8c7},this['imageId']=_0x182b8e;})['catch'](_0x18ee1c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x18ee1c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x399807,_0x323e39){return this['_getImageAsFile'](_0x399807)['then'](_0x337cc0=>_0x17d669['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x323e39['signal'],'file':_0x337cc0,'onProgress':_0x5bfdd1=>{_0x5bfdd1&&_0x5bfdd1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5bfdd1['value']));}}))['then'](_0x178496=>{const {width:_0xb720e9,height:_0x33bf31}=_0x178496['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x178496['cdnUrl'],this['imageDimension']={'width':_0xb720e9,'height':_0x33bf31},this['imageId']=_0x178496['uuid'],this['imageUploadProgress']=null;const _0x17a4a0=_0x399807['getAttribute']('src');this['_imageCache']['set'](_0x17a4a0,{'id':_0x178496['uuid'],'url':_0x178496['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x16a94c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x16a94c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x222650,_0x2ff643){_0x222650['on']('apply',(_0x84aa0,_0x2b43c2)=>{this['_replaceImage'](_0x2ff643,_0x2b43c2['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x222650['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x222650['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xc4e420,_0x1d1f47,_0x4afc8f){const _0x5f4ef1=this['_editor'],{width:_0x1ef3f6,height:_0x1dec5d}=_0x215350(_0x1d1f47,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x28ee5a,imageSources:_0x2e663d}=_0x4062b7(_0x1d1f47,_0x1ef3f6);_0x5f4ef1['model']['change'](_0x10e904=>{if('$graveyard'===_0xc4e420['root']['rootName']){_0x5f4ef1['execute']('insertImage',{'imageType':_0xc4e420['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xc4e420['getAttributes']()),'uploadcareImageId':_0x4afc8f,'src':_0x28ee5a,'sources':_0x2e663d,'width':_0x1ef3f6,'height':_0x1dec5d}});const _0x29a85d=_0xc4e420['getChildren']();_0xc4e420=_0x5f4ef1['model']['document']['selection']['getSelectedElement']();for(const _0x22cd54 of _0x29a85d)_0x10e904['append'](_0x10e904['cloneElement'](_0x22cd54),_0xc4e420);}else _0x10e904['setSelection'](_0xc4e420,'on'),_0x5f4ef1['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xc4e420['getAttributes']()),'uploadcareImageId':_0x4afc8f,'src':_0x28ee5a,'sources':_0x2e663d,'width':_0x1ef3f6,'height':_0x1dec5d},_0xc4e420);_0x10e904['setSelection'](_0xc4e420,'on');});}async['_getImageAsFile'](_0x38e52d){const _0x10efdd=_0x2d1c6d['window'],_0x254827=_0x2d1c6d['document']['location']['href'],_0x5cf73d=new _0x10efdd['URL'](_0x38e52d['getAttribute']('src'),_0x254827);if('data:'===_0x5cf73d['protocol']){const _0x37f49b=_0x5cf73d['href']['split'](','),_0x1586fb=_0x37f49b[0x0]['match'](/:(.*?);/)[0x1],_0x1d6588=_0x1586fb['split']('/')[0x1],_0x1bf734=_0x10efdd['atob'](_0x37f49b[_0x37f49b['length']-0x1]);let _0x38bc63=_0x1bf734['length'];const _0x51ed59=new _0x10efdd['Uint8Array'](_0x38bc63);for(;_0x38bc63--;)_0x51ed59[_0x38bc63]=_0x1bf734['charCodeAt'](_0x38bc63);return new _0x10efdd['File']([_0x51ed59],'image.'+_0x1d6588,{'type':_0x1586fb});}const _0x333876=_0x5cf73d['href']['split']('/'),_0x4c8645=_0x333876[_0x333876['length']-0x1],_0x5ed4ad=_0x4c8645['split']('.')[0x1];return _0x10efdd['fetch'](_0x5cf73d['href'])['then'](_0x31c1af=>_0x31c1af['clone']()['blob']())['then'](_0x1379f=>new _0x10efdd['File']([_0x1379f],_0x4c8645,{'type':'image/'+_0x5ed4ad}));}}
@@ -1,23 +0,0 @@
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(_0x60cda5,_0x13b9ec){const _0xffeeca=_0x66e7,_0x5d4b96=_0x60cda5();while(!![]){try{const _0x516f14=-parseInt(_0xffeeca(0x198))/0x1*(parseInt(_0xffeeca(0x19f))/0x2)+-parseInt(_0xffeeca(0x1a6))/0x3*(-parseInt(_0xffeeca(0x19a))/0x4)+-parseInt(_0xffeeca(0x19e))/0x5*(parseInt(_0xffeeca(0x1a1))/0x6)+-parseInt(_0xffeeca(0x1a5))/0x7+-parseInt(_0xffeeca(0x199))/0x8*(parseInt(_0xffeeca(0x1a4))/0x9)+parseInt(_0xffeeca(0x1a2))/0xa*(-parseInt(_0xffeeca(0x197))/0xb)+parseInt(_0xffeeca(0x196))/0xc;if(_0x516f14===_0x13b9ec)break;else _0x5d4b96['push'](_0x5d4b96['shift']());}catch(_0x25df6e){_0x5d4b96['push'](_0x5d4b96['shift']());}}}(_0x51b0,0xeb2b7));import{View as _0xfaebe0}from'ckeditor5/src/ui.js';function _0x51b0(){const _0x158bab=['50924OTDEyV','set','120godERD','50GvIzdG','bindTemplate','10215UrVDRe','11850251VHbQQu','9SjlTYT','image-edit','ck-uploadcare-theme','setTemplate','71020044QpBgZi','3367045RxCFjQ','19hfwTwL','8864ACMxeZ','871792YHWpgK','uc-light','imageSrc','uc-cloud-image-editor','161050itQbeE'];_0x51b0=function(){return _0x158bab;};return _0x51b0();}function _0x66e7(_0x2a78e9,_0x30dabc){const _0x51b09e=_0x51b0();return _0x66e7=function(_0x66e79e,_0x52ef18){_0x66e79e=_0x66e79e-0x196;let _0x59a95b=_0x51b09e[_0x66e79e];return _0x59a95b;},_0x66e7(_0x2a78e9,_0x30dabc);}export class UploadcareImageEditFormEditingView extends _0xfaebe0{constructor(_0x168d58,_0x32812f){const _0x14ab64=_0x66e7;super(_0x168d58);const _0x14c170=this[_0x14ab64(0x1a3)];this[_0x14ab64(0x1a0)](_0x14ab64(0x19c),''),this[_0x14ab64(0x1a9)]({'tag':_0x14ab64(0x19d),'attributes':{..._0x32812f,'class':[_0x14ab64(0x19b),_0x14ab64(0x1a8)],'ctx-name':_0x14ab64(0x1a7),'cdn-url':_0x14c170['to'](_0x14ab64(0x19c))}});}}
@@ -1,23 +0,0 @@
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{IconError as _0x1ecdb4}from'ckeditor5/src/icons.js';import{ButtonView as _0x5cdd7d,IconView as _0x32be6f,View as _0x543296}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x543296{constructor(_0x15ed02){super(_0x15ed02);const t=_0x15ed02['t'];this['set']('errorType',null);const _0x5bc724=new _0x5cdd7d(_0x15ed02);_0x5bc724['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5bc724['withText']=!0x0,_0x5bc724['class']='ck-button-action',_0x5bc724['on']('execute',()=>{this['fire']('retry');}),_0x5bc724['bind']('isVisible')['to'](this,'errorType',_0x1578bf=>'NotFound'!==_0x1578bf);const _0x4b9c3f=new _0x32be6f();_0x4b9c3f['content']=_0x1ecdb4,_0x4b9c3f['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4f4f8e=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x4b9c3f,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4f4f8e['to']('errorType',_0x45ebd6=>t('NotFound'!==_0x45ebd6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5bc724]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -1,23 +0,0 @@
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{SpinnerView as _0x28947f,View as _0x13d469}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x13d469{constructor(_0x2679d1){super(_0x2679d1);const t=_0x2679d1['t'],_0x4674b8=this['bindTemplate'],_0x268395=new _0x28947f();_0x268395['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x268395,{'text':_0x4674b8['to']('imageUploadProgress',_0x589f41=>t('Loading\x20image...')+'\x20('+(_0x589f41||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -1,23 +0,0 @@
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 _0x1b2452=_0x3c75;function _0x3c75(_0x373d42,_0x26db44){const _0x3e8369=_0x3e83();return _0x3c75=function(_0x3c7567,_0x2b85b5){_0x3c7567=_0x3c7567-0x119;let _0x4c3b08=_0x3e8369[_0x3c7567];return _0x4c3b08;},_0x3c75(_0x373d42,_0x26db44);}(function(_0x1e979a,_0x116bc2){const _0x46c4df=_0x3c75,_0x533bee=_0x1e979a();while(!![]){try{const _0x182d4a=parseInt(_0x46c4df(0x128))/0x1*(-parseInt(_0x46c4df(0x129))/0x2)+parseInt(_0x46c4df(0x11b))/0x3+parseInt(_0x46c4df(0x14f))/0x4+parseInt(_0x46c4df(0x12a))/0x5*(parseInt(_0x46c4df(0x148))/0x6)+parseInt(_0x46c4df(0x11c))/0x7+parseInt(_0x46c4df(0x13c))/0x8*(parseInt(_0x46c4df(0x119))/0x9)+parseInt(_0x46c4df(0x140))/0xa*(-parseInt(_0x46c4df(0x139))/0xb);if(_0x182d4a===_0x116bc2)break;else _0x533bee['push'](_0x533bee['shift']());}catch(_0x4c0174){_0x533bee['push'](_0x533bee['shift']());}}}(_0x3e83,0xcd82e));import{View as _0x4628a5}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x377cb4}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x1fc6f2}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x39ef96}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x71a5cb}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x71a5cb{[_0x1b2452(0x14a)];[_0x1b2452(0x11d)];[_0x1b2452(0x127)];[_0x1b2452(0x14d)];[_0x1b2452(0x149)];constructor(_0x1d9ef9,_0x2577af,_0xbe1992){const _0x5bdf41=_0x1b2452;super(_0x1d9ef9),this[_0x5bdf41(0x14a)]=this[_0x5bdf41(0x13d)](),this[_0x5bdf41(0x11d)]=new _0x377cb4(_0x1d9ef9),this[_0x5bdf41(0x127)]=new _0x1fc6f2(_0x1d9ef9),this[_0x5bdf41(0x14d)]=new _0x39ef96(_0x1d9ef9,_0xbe1992),this[_0x5bdf41(0x149)]=new _0x4628a5(_0x1d9ef9),this[_0x5bdf41(0x149)][_0x5bdf41(0x13a)](this[_0x5bdf41(0x131)]()),this[_0x5bdf41(0x142)](_0x5bdf41(0x137),_0x2577af),this[_0x5bdf41(0x13a)]({'tag':_0x5bdf41(0x124),'attributes':{'class':['ck',_0x5bdf41(0x132),_0x5bdf41(0x130)],'tabindex':'-1'},'children':this[_0x5bdf41(0x14a)]}),this[_0x5bdf41(0x121)](),this[_0x5bdf41(0x13e)](_0x5bdf41(0x14e),()=>{const _0x5e2930=_0x5bdf41;this[_0x5e2930(0x123)](this[_0x5e2930(0x12f)],_0x58ba4f=>{const _0x42ed81=_0x5e2930;this[_0x42ed81(0x147)](_0x58ba4f);});}),this['on'](_0x5bdf41(0x138),()=>{const _0x2b854b=_0x5bdf41;this[_0x2b854b(0x121)]();}),this[_0x5bdf41(0x13f)]();}[_0x1b2452(0x143)](){const _0x15519d=_0x1b2452;this[_0x15519d(0x12f)][_0x15519d(0x143)]();}[_0x1b2452(0x121)](){const _0x576e52=_0x1b2452;switch(this[_0x576e52(0x14a)][_0x576e52(0x11f)](),this[_0x576e52(0x137)]){case _0x576e52(0x125):this[_0x576e52(0x14a)][_0x576e52(0x12d)](this[_0x576e52(0x11d)]);break;case _0x576e52(0x136):this[_0x576e52(0x14a)][_0x576e52(0x12d)](this[_0x576e52(0x127)]);break;case _0x576e52(0x120):this[_0x576e52(0x14a)][_0x576e52(0x13b)]([this[_0x576e52(0x14d)],this[_0x576e52(0x149)]]);}}[_0x1b2452(0x123)](_0x4f79e2,_0x59b8b1){const _0x526299=_0x1b2452,_0x11efd6=_0x526299(0x122),_0x62abdd=_0x4f79e2[_0x526299(0x145)](_0x11efd6);if(_0x62abdd)return _0x59b8b1(_0x62abdd);const _0x1931c2=new MutationObserver(_0x1c5045=>{const _0x403e0f=_0x526299,_0x31dd2c=_0x1c5045[_0x403e0f(0x11a)](_0x335c6c=>_0x335c6c[_0x403e0f(0x133)]===_0x4f79e2&&_0x335c6c[_0x403e0f(0x12c)][_0x403e0f(0x14b)]>0x0&&_0x335c6c[_0x403e0f(0x12c)][0x0][_0x403e0f(0x134)][_0x403e0f(0x12e)]()===_0x11efd6);_0x31dd2c[_0x403e0f(0x14b)]&&(_0x1931c2[_0x403e0f(0x135)](),_0x59b8b1(_0x31dd2c[0x0][_0x403e0f(0x12c)][0x0]));});_0x1931c2[_0x526299(0x11e)](_0x4f79e2,{'childList':!0x0,'subtree':!0x0});}[_0x1b2452(0x147)](_0x2a9877){const _0x1ec5f9=_0x1b2452;_0x2a9877[_0x1ec5f9(0x14c)](_0x1ec5f9(0x150),_0x24241d=>{const _0x372c76=_0x1ec5f9;this[_0x372c76(0x141)](_0x372c76(0x150),{'imageSrc':_0x24241d[_0x372c76(0x144)][_0x372c76(0x126)]});}),_0x2a9877[_0x1ec5f9(0x14c)](_0x1ec5f9(0x12b),()=>{const _0x57e6e1=_0x1ec5f9;this[_0x57e6e1(0x141)](_0x57e6e1(0x12b));});}[_0x1b2452(0x13f)](){const _0x574ecf=_0x1b2452;this[_0x574ecf(0x127)]['on'](_0x574ecf(0x146),()=>{const _0x1e6955=_0x574ecf;this[_0x1e6955(0x141)](_0x1e6955(0x146));});}}function _0x3e83(){const _0x59c624=['_setView','uc-cloud-image-editor','_waitForImageEditorComponent','div','uploading','cdnUrl','_errorView','1heoBJS','51124bEVGDh','15CnaUOu','cancel','addedNodes','add','toLowerCase','element','ck-uploadcare-form','getFocusableElement','ck-reset_all-excluded','target','nodeName','disconnect','error','status','change:status','11ajXVCP','setTemplate','addMany','16ZjXaKL','createCollection','once','_addErrorViewListeners','25014530WWwvJD','fire','set','focus','detail','querySelector','retry','_addUploadcareImageEditorListeners','1821306gRfFaf','_focusableView','_items','length','addEventListener','_editingView','render','180848jbYTlM','apply','2130687EqRduL','filter','4739289fMobCi','2517725qlyofC','_loadingView','observe','clear','ready'];_0x3e83=function(){return _0x59c624;};return _0x3e83();}
@@ -1,23 +0,0 @@
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 _0x45ba(){const _0x278408=['element','imageEditController','getSelectedElement','15hrBiWP','96808NioKhZ','plugins','imageBlock','1317546utQwKI','66TXJcql','_isEditable','bind','get','unbind','uploadcare.allowExternalImagesEditing','set','2774600zSkJrn','config','editor','546gbYwCC','isActive','isEnabled','4769548uNUuJT','3722418tLqxMd','requires','execute','model','selection','707wDYbVX','refresh','document','1070OyqWjl','imageInline','927714Xgbzwg'];_0x45ba=function(){return _0x278408;};return _0x45ba();}const _0x5361f1=_0x5b47;(function(_0x1823ba,_0x5a850a){const _0x4cfd12=_0x5b47,_0x353a37=_0x1823ba();while(!![]){try{const _0x323d92=parseInt(_0x4cfd12(0x1a4))/0x1+parseInt(_0x4cfd12(0x19a))/0x2*(parseInt(_0x4cfd12(0x1af))/0x3)+-parseInt(_0x4cfd12(0x1b2))/0x4+-parseInt(_0x4cfd12(0x1a0))/0x5*(-parseInt(_0x4cfd12(0x19c))/0x6)+-parseInt(_0x4cfd12(0x197))/0x7*(parseInt(_0x4cfd12(0x1a1))/0x8)+-parseInt(_0x4cfd12(0x1b3))/0x9+-parseInt(_0x4cfd12(0x1ac))/0xa*(-parseInt(_0x4cfd12(0x1a5))/0xb);if(_0x323d92===_0x5a850a)break;else _0x353a37['push'](_0x353a37['shift']());}catch(_0x33aa72){_0x353a37['push'](_0x353a37['shift']());}}}(_0x45ba,0xaea4f));import{Command as _0x1b18ba}from'ckeditor5/src/core.js';import{Dialog as _0x3927d7}from'ckeditor5/src/ui.js';function _0x5b47(_0x3105ba,_0x3ca8e0){const _0x45bacb=_0x45ba();return _0x5b47=function(_0x5b4748,_0x5d45c2){_0x5b4748=_0x5b4748-0x194;let _0x183e2b=_0x45bacb[_0x5b4748];return _0x183e2b;},_0x5b47(_0x3105ba,_0x3ca8e0);}import{UploadcareImageEditController as _0x536414}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x2ce23d}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x1b18ba{[_0x5361f1(0x19e)];static get[_0x5361f1(0x1b4)](){return[_0x3927d7];}[_0x5361f1(0x1a6)];constructor(_0x5bbe74){const _0x5e1da2=_0x5361f1;super(_0x5bbe74),this[_0x5e1da2(0x19e)]=void 0x0,this[_0x5e1da2(0x1a6)]=_0x2ce23d(_0x5bbe74[_0x5e1da2(0x1ad)][_0x5e1da2(0x1a8)](_0x5e1da2(0x1aa))||[]),this[_0x5e1da2(0x1ab)]({'isActive':!0x1});}[_0x5361f1(0x198)](){const _0x30b20c=_0x5361f1,_0x16873f=this[_0x30b20c(0x1ae)][_0x30b20c(0x195)][_0x30b20c(0x199)][_0x30b20c(0x196)][_0x30b20c(0x19f)]();this[_0x30b20c(0x1b1)]=this[_0x30b20c(0x1a6)](_0x16873f);}[_0x5361f1(0x194)](){const _0x318da8=_0x5361f1;this[_0x318da8(0x19e)]&&(this[_0x318da8(0x1a9)](_0x318da8(0x1b0)),this[_0x318da8(0x19e)]=void 0x0);const _0x3cbe04=this[_0x318da8(0x1ae)][_0x318da8(0x195)][_0x318da8(0x199)][_0x318da8(0x196)][_0x318da8(0x19f)]();_0x3cbe04&&(_0x3cbe04['is'](_0x318da8(0x19d),_0x318da8(0x1a3))||_0x3cbe04['is'](_0x318da8(0x19d),_0x318da8(0x19b)))&&(this[_0x318da8(0x19e)]=new _0x536414(this[_0x318da8(0x1ae)],this[_0x318da8(0x1ae)][_0x318da8(0x1a2)][_0x318da8(0x1a8)](_0x3927d7),_0x3cbe04),this[_0x318da8(0x1a7)](_0x318da8(0x1b0))['to'](this[_0x318da8(0x19e)],_0x318da8(0x1b0)));}}
@@ -1,23 +0,0 @@
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 _0xf6f538=_0x4975;(function(_0x5276bb,_0x48143c){const _0x205ec8=_0x4975,_0x163511=_0x5276bb();while(!![]){try{const _0x300e5d=parseInt(_0x205ec8(0x1b5))/0x1+-parseInt(_0x205ec8(0x1b4))/0x2+-parseInt(_0x205ec8(0x1b6))/0x3*(-parseInt(_0x205ec8(0x1af))/0x4)+-parseInt(_0x205ec8(0x1b2))/0x5+-parseInt(_0x205ec8(0x1b1))/0x6+-parseInt(_0x205ec8(0x1b9))/0x7*(parseInt(_0x205ec8(0x1b0))/0x8)+parseInt(_0x205ec8(0x1a6))/0x9*(parseInt(_0x205ec8(0x1aa))/0xa);if(_0x300e5d===_0x48143c)break;else _0x163511['push'](_0x163511['shift']());}catch(_0x41a581){_0x163511['push'](_0x163511['shift']());}}}(_0x3f97,0x909b8));import{Plugin as _0x19b42c}from'ckeditor5/src/core.js';import{Notification as _0x3e3ab}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x142b2d}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x3a59d9}from'./uploadcareimagereplacecommand.js';function _0x4975(_0x2b0c1e,_0x2ebd96){const _0x3f970c=_0x3f97();return _0x4975=function(_0x49759f,_0x15f92c){_0x49759f=_0x49759f-0x1a5;let _0x4b0e7a=_0x3f970c[_0x49759f];return _0x4b0e7a;},_0x4975(_0x2b0c1e,_0x2ebd96);}function _0x3f97(){const _0x23eefc=['isPremiumPlugin','UploadcareImageEditEditing','isOfficialPlugin','4dMgaAE','691192OtfBiR','1910076gsPaWE','1691730NrEPCi','uploadcareImageEdit','628018GXdIYk','177429VJnQsV','654699uDDQCA','ImageEditing','add','63YochTq','uploadcareImageReplace','pluginName','1998nxHiJw','requires','commands','init','87610AkOgVq','ImageUtils'];_0x3f97=function(){return _0x23eefc;};return _0x3f97();}import{UploadcareEditing as _0x421ba2}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x19b42c{static get[_0xf6f538(0x1a5)](){const _0x5576dc=_0xf6f538;return _0x5576dc(0x1ad);}static get[_0xf6f538(0x1a7)](){const _0x5a4678=_0xf6f538;return[_0x421ba2,_0x3e3ab,_0x5a4678(0x1ab),_0x5a4678(0x1b7)];}static get[_0xf6f538(0x1ae)](){return!0x0;}static get[_0xf6f538(0x1ac)](){return!0x0;}[_0xf6f538(0x1a9)](){const _0x5f0529=_0xf6f538,{editor:_0x5b5a3d}=this;_0x5b5a3d[_0x5f0529(0x1a8)][_0x5f0529(0x1b8)](_0x5f0529(0x1b3),new _0x142b2d(_0x5b5a3d)),_0x5b5a3d[_0x5f0529(0x1a8)][_0x5f0529(0x1b8)](_0x5f0529(0x1ba),new _0x3a59d9(_0x5b5a3d));}}