@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260122.0 → 0.0.0-nightly-next-20260122.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(_0x5299c0,_0x3ef6de){var _0x178788=_0x28d8,_0x23d17d=_0x5299c0();while(!![]){try{var _0x3b2557=-parseInt(_0x178788(0xdd))/0x1*(parseInt(_0x178788(0xe1))/0x2)+parseInt(_0x178788(0xdf))/0x3*(-parseInt(_0x178788(0xdc))/0x4)+-parseInt(_0x178788(0xe3))/0x5+-parseInt(_0x178788(0xe0))/0x6*(-parseInt(_0x178788(0xe2))/0x7)+parseInt(_0x178788(0xdb))/0x8+parseInt(_0x178788(0xde))/0x9+parseInt(_0x178788(0xda))/0xa;if(_0x3b2557===_0x3ef6de)break;else _0x23d17d['push'](_0x23d17d['shift']());}catch(_0x2eb018){_0x23d17d['push'](_0x23d17d['shift']());}}}(_0x2924,0xf02c8));function _0x2924(){var _0x44039a=['560585QuWNJd','2655855FrYlao','15kFQcsF','451302JGEyVm','2qsGBLY','175GFJEBp','4064620pLUJhH','6639420KpVJtj','5265192DuePmQ','912280eprMJu'];_0x2924=function(){return _0x44039a;};return _0x2924();}export{Uploadcare}from'./uploadcare.js';export{UploadcareEditing}from'./uploadcareediting.js';export{UploadcareUI}from'./uploadcareui.js';export{UploadcareImageEdit}from'./uploadcareimageedit.js';export{UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';export{UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';export{UploadcareImageEditCommand}from'./uploadcareimageedit/uploadcareimageeditcommand.js';export{UploadcareCommand}from'./uploadcarecommand.js';function _0x28d8(_0x3b621f,_0x91f921){var _0x292440=_0x2924();return _0x28d8=function(_0x28d803,_0x178e6d){_0x28d803=_0x28d803-0xda;var _0xbc7dbb=_0x292440[_0x28d803];return _0xbc7dbb;},_0x28d8(_0x3b621f,_0x91f921);}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 _0xef57c6=_0x202e;(function(_0x5cfda5,_0x42182f){const _0xbf2638=_0x202e,_0x8bacfa=_0x5cfda5();while(!![]){try{const _0x932596=-parseInt(_0xbf2638(0x225))/0x1*(parseInt(_0xbf2638(0x201))/0x2)+parseInt(_0xbf2638(0x231))/0x3+-parseInt(_0xbf2638(0x1ee))/0x4*(parseInt(_0xbf2638(0x1f1))/0x5)+-parseInt(_0xbf2638(0x223))/0x6*(-parseInt(_0xbf2638(0x1fa))/0x7)+-parseInt(_0xbf2638(0x21c))/0x8+-parseInt(_0xbf2638(0x233))/0x9+parseInt(_0xbf2638(0x202))/0xa*(parseInt(_0xbf2638(0x20a))/0xb);if(_0x932596===_0x42182f)break;else _0x8bacfa['push'](_0x8bacfa['shift']());}catch(_0x480749){_0x8bacfa['push'](_0x8bacfa['shift']());}}}(_0x2828,0xd37f1));import{IconUploadcareImageUpload as _0x69bf12}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x5185cb}from'ckeditor5/src/utils.js';import{Dialog as _0x2f6f80,DialogViewPosition as _0x3e9282}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x54ff27}from'./uploadcareformview.js';import{UploadcareSource as _0x3a894d}from'../uploadcareconfig.js';function _0x2828(){const _0x178a2c=['configElement','imageBlock','linkHref','42QgjoiF','initFlow','4JbJcCk','detail','Local','removeSelectionAttribute','setAttribute','setCurrentActivity','status','plugins','getLastPosition','idle','ucContextId','imageInfo','1619430mIpaJi','execute','11417274oYEuvC','_initListeners','_dialog','stopListening','_editor','uuid','5262804TVAswq','image','attributes','5jxAFxq','destroy','_insertAsset','getOutputCollectionState','ctxElement','document','doneFlow','editing','stopDelegating','1296799DoVpBa','done-click','width','getAPI','imageInline','source-list','removeAllFiles','750094xKgSoH','10229390hEhVDc','hide','_api','text','setSelection','_formView','allEntries','_initDialog','44LKAczF','addEventListener','get','view','getSelectedElement','insertImage','selection','model','Replace','isOpen','uploadCare','EDITOR_TOP_CENTER','element','length','focus','_type','Insert','_editing','7820808ssGEgL','change','show','_insertImage'];_0x2828=function(){return _0x178a2c;};return _0x2828();}import{getTranslation as _0x2214ed}from'../utils/common-translations.js';import{getImageUrls as _0x14b635,getImageDimension as _0x4a02af}from'../utils/editingutils.js';function _0x202e(_0xd4f35d,_0x3c9873){const _0x282867=_0x2828();return _0x202e=function(_0x202ee3,_0x1a2ff6){_0x202ee3=_0x202ee3-0x1ea;let _0x5d9133=_0x282867[_0x202ee3];return _0x5d9133;},_0x202e(_0xd4f35d,_0x3c9873);}import{isAncestor as _0xfe9a01}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
24
- _0x5185cb(){[_0xef57c6(0x1ec)];[_0xef57c6(0x1ea)];[_0xef57c6(0x21b)];[_0xef57c6(0x204)];[_0xef57c6(0x219)]=null;[_0xef57c6(0x207)]=null;constructor(_0x1dd34a,_0x35abab,_0x1fe866){const _0x4456bf=_0xef57c6;super(),this[_0x4456bf(0x1ec)]=_0x1dd34a,this[_0x4456bf(0x21b)]=_0x35abab,this[_0x4456bf(0x1ea)]=_0x1dd34a[_0x4456bf(0x22c)][_0x4456bf(0x20c)](_0x2f6f80),this[_0x4456bf(0x204)]=_0x35abab[_0x4456bf(0x1f5)][_0x4456bf(0x1fd)](),this[_0x4456bf(0x219)]=_0x1fe866,this[_0x4456bf(0x21b)][_0x4456bf(0x220)][_0x4456bf(0x229)](_0x4456bf(0x1ff),this[_0x4456bf(0x219)]),this[_0x4456bf(0x209)](),this[_0x4456bf(0x234)](),this[_0x4456bf(0x204)][_0x4456bf(0x224)]();}[_0xef57c6(0x1f2)](){const _0x2ef18a=_0xef57c6;this[_0x2ef18a(0x207)]&&(this[_0x2ef18a(0x207)][_0x2ef18a(0x1f2)](),this[_0x2ef18a(0x207)]=null),this[_0x2ef18a(0x204)]&&this[_0x2ef18a(0x204)][_0x2ef18a(0x1f7)](),this[_0x2ef18a(0x1eb)](),this[_0x2ef18a(0x1f9)]();}[_0xef57c6(0x209)](){const _0x559335=_0xef57c6,{locale:_0x5ec187,model:_0x9d520a}=this[_0x559335(0x1ec)],_0x37f963=_0x9d520a[_0x559335(0x1f6)][_0x559335(0x210)][_0x559335(0x20e)](),_0x512fe1=_0x37f963&&(_0x37f963['is'](_0x559335(0x216),_0x559335(0x221))||_0x37f963['is'](_0x559335(0x216),_0x559335(0x1fe)));this[_0x559335(0x207)]=new _0x54ff27(_0x5ec187,this[_0x559335(0x21b)][_0x559335(0x22f)]),this[_0x559335(0x1ea)][_0x559335(0x21e)]({'id':_0x559335(0x214),'icon':_0x69bf12,'title':_0x2214ed(_0x5ec187,this[_0x559335(0x219)],_0x512fe1?_0x559335(0x212):_0x559335(0x21a))[_0x559335(0x205)],'content':this[_0x559335(0x207)],'position':_0x3e9282[_0x559335(0x215)],'isModal':!0x0,'onShow':()=>{const _0x4213da=_0x559335;this[_0x4213da(0x207)][_0x4213da(0x218)]();},'onHide':()=>{const _0x4e0200=_0x559335;this[_0x4e0200(0x204)][_0x4e0200(0x200)](),this[_0x4e0200(0x1ec)][_0x4e0200(0x1f8)][_0x4e0200(0x20d)][_0x4e0200(0x218)](),this[_0x4e0200(0x1f2)]();},'keystrokeHandlerOptions':{'filter':_0x3e69e1=>!_0xfe9a01(_0x3e69e1,this[_0x559335(0x207)][_0x559335(0x216)])}});}[_0xef57c6(0x234)](){const _0x579257=_0xef57c6;this[_0x579257(0x21b)][_0x579257(0x1f5)][_0x579257(0x20b)](_0x579257(0x1fb),()=>{const _0xfb3001=_0x579257,{allEntries:_0x1f521e}=this[_0xfb3001(0x204)][_0xfb3001(0x1f4)]();this[_0xfb3001(0x1ec)][_0xfb3001(0x211)][_0xfb3001(0x21d)](_0x42d0d7=>{const _0x41277e=_0xfb3001,_0x3844ec=_0x1f521e[_0x41277e(0x217)];for(const _0x361b8c of _0x1f521e){const _0x496dbc=_0x361b8c===_0x1f521e[_0x3844ec-0x1],{cdnUrl:_0x17dfcb,fileInfo:_0x3a2e7d}=_0x361b8c;if(!_0x17dfcb||!_0x3a2e7d)continue;const {width:_0x595eeb,height:_0x2d703e}=_0x3a2e7d[_0x41277e(0x230)],_0x30cea8=_0x4a02af(_0x17dfcb,_0x595eeb,_0x2d703e),_0x2607d3=_0x14b635(_0x17dfcb,_0x30cea8[_0x41277e(0x1fc)]),_0x2c072c={'id':_0x3a2e7d[_0x41277e(0x1ed)],'type':_0x41277e(0x1ef),'attributes':{'imageDimension':_0x30cea8,..._0x2607d3}};this[_0x41277e(0x1f3)](_0x2c072c,_0x496dbc,_0x42d0d7);}}),this[_0xfb3001(0x1ea)][_0xfb3001(0x203)]();}),this[_0x579257(0x21b)][_0x579257(0x1f5)][_0x579257(0x20b)](_0x579257(0x21d),_0x2db86d=>{const _0x31c391=_0x579257;_0x31c391(0x22e)===_0x2db86d[_0x31c391(0x226)][_0x31c391(0x22b)]&&!_0x2db86d[_0x31c391(0x226)][_0x31c391(0x208)][_0x31c391(0x217)]&&this[_0x31c391(0x1ea)][_0x31c391(0x213)]&&(this[_0x31c391(0x219)]===_0x3a894d[_0x31c391(0x227)]?this[_0x31c391(0x204)][_0x31c391(0x22a)](_0x3a894d[_0x31c391(0x227)]):this[_0x31c391(0x204)][_0x31c391(0x224)]());});}[_0xef57c6(0x1f3)](_0x28c5a1,_0x33cf81,_0x45f7c1){const _0x5a5bef=_0xef57c6,_0x49f7c3=this[_0x5a5bef(0x1ec)][_0x5a5bef(0x211)][_0x5a5bef(0x1f6)][_0x5a5bef(0x210)],_0x1f8ebc=_0x49f7c3[_0x5a5bef(0x20e)](),_0xc849ec=!(!_0x1f8ebc||!_0x1f8ebc['is'](_0x5a5bef(0x216),_0x5a5bef(0x1fe)));_0x45f7c1[_0x5a5bef(0x228)](_0x5a5bef(0x222)),this[_0x5a5bef(0x21f)](_0x28c5a1,_0xc849ec),_0x33cf81||_0x45f7c1[_0x5a5bef(0x206)](_0x49f7c3[_0x5a5bef(0x22d)]());}[_0xef57c6(0x21f)](_0x28870e,_0x33407e){const _0x345069=_0xef57c6,_0x374d12=this[_0x345069(0x1ec)],{imageDimension:_0x5c8ee7,imageFallbackUrl:_0x4e2072,imageSources:_0x2112b0}=_0x28870e[_0x345069(0x1f0)];_0x374d12[_0x345069(0x232)](_0x345069(0x20f),{'imageType':_0x33407e?_0x345069(0x1fe):null,'source':{'uploadcareImageId':_0x28870e['id'],'src':_0x4e2072,'sources':_0x2112b0,..._0x5c8ee7}});}}
@@ -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 _0x56dd(){var _0x1e1fea=['uploader-','150FvfTJH','67543uRMiiF','1228702wwNLGE','div','uc-light','ck-uploadcare-form','9723616jBfYOQ','994983dIDqwH','14015835tatwKm','focus','setTemplate','getFocusableElement','element','uc-file-uploader-inline','380QvloYe','1195767maGKIY','ck-reset_all-excluded','ck-uploadcare-theme','1JypUpw','5316175bHQDEE','4ogiSyZ'];_0x56dd=function(){return _0x1e1fea;};return _0x56dd();}function _0x37f0(_0x1afe65,_0x561b7b){var _0x56dd7e=_0x56dd();return _0x37f0=function(_0x37f0b5,_0x57d70f){_0x37f0b5=_0x37f0b5-0xaa;var _0x1bad9b=_0x56dd7e[_0x37f0b5];return _0x1bad9b;},_0x37f0(_0x1afe65,_0x561b7b);}var _0x5de182=_0x37f0;(function(_0x256cda,_0x6650c4){var _0x3001f1=_0x37f0,_0x29c4bb=_0x256cda();while(!![]){try{var _0x5be518=parseInt(_0x3001f1(0xae))/0x1*(parseInt(_0x3001f1(0xb4))/0x2)+-parseInt(_0x3001f1(0xab))/0x3+parseInt(_0x3001f1(0xb0))/0x4*(parseInt(_0x3001f1(0xaf))/0x5)+-parseInt(_0x3001f1(0xb2))/0x6*(-parseInt(_0x3001f1(0xb3))/0x7)+parseInt(_0x3001f1(0xb8))/0x8+parseInt(_0x3001f1(0xba))/0x9+parseInt(_0x3001f1(0xaa))/0xa*(-parseInt(_0x3001f1(0xb9))/0xb);if(_0x5be518===_0x6650c4)break;else _0x29c4bb['push'](_0x29c4bb['shift']());}catch(_0xef3fd1){_0x29c4bb['push'](_0x29c4bb['shift']());}}}(_0x56dd,0xd0edf));import{DialogFocusManagerView as _0x5c868b}from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x5c868b{constructor(_0x43ed98,_0x45f683){var _0x1c7087=_0x37f0;super(_0x43ed98),this[_0x1c7087(0xbc)]({'tag':_0x1c7087(0xb5),'attributes':{'class':['ck',_0x1c7087(0xac),_0x1c7087(0xb7)],'tabindex':'-1'},'children':[{'tag':_0x1c7087(0xbf),'attributes':{'class':[_0x1c7087(0xb6),_0x1c7087(0xad)],'ctx-name':_0x1c7087(0xb1)+_0x45f683}},this[_0x1c7087(0xbd)]()]});}[_0x5de182(0xbb)](){var _0x55a8cd=_0x5de182;this[_0x55a8cd(0xbe)][_0x55a8cd(0xbb)]();}}
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 _0x2cdf07=_0x42a4;(function(_0x1456f2,_0x2a47a1){const _0x4df8ef=_0x42a4,_0x5807dd=_0x1456f2();while(!![]){try{const _0x1f294a=-parseInt(_0x4df8ef(0x9e))/0x1*(-parseInt(_0x4df8ef(0x96))/0x2)+parseInt(_0x4df8ef(0x94))/0x3+parseInt(_0x4df8ef(0xa3))/0x4*(parseInt(_0x4df8ef(0xa0))/0x5)+-parseInt(_0x4df8ef(0x8a))/0x6*(parseInt(_0x4df8ef(0xa1))/0x7)+parseInt(_0x4df8ef(0x9f))/0x8+-parseInt(_0x4df8ef(0x93))/0x9+-parseInt(_0x4df8ef(0x9b))/0xa;if(_0x1f294a===_0x2a47a1)break;else _0x5807dd['push'](_0x5807dd['shift']());}catch(_0xed3c8a){_0x5807dd['push'](_0x5807dd['shift']());}}}(_0x302f,0x3b7e4));function _0x42a4(_0x5d8c75,_0x56a208){const _0x302f8b=_0x302f();return _0x42a4=function(_0x42a434,_0x4a0967){_0x42a434=_0x42a434-0x8a;let _0x2d3182=_0x302f8b[_0x42a434];return _0x2d3182;},_0x42a4(_0x5d8c75,_0x56a208);}import{Plugin as _0x41eb34}from'ckeditor5/src/core.js';import{UploadcareUI as _0x179ae9}from'./uploadcareui.js';import{UploadcareEditing as _0x1ba39b}from'./uploadcareediting.js';import{UploadcareSource as _0xdba423}from'./uploadcareconfig.js';import*as _0x561f52 from'@uploadcare/file-uploader';export class Uploadcare extends _0x41eb34{static get[_0x2cdf07(0x8c)](){return[_0x1ba39b,_0x179ae9];}static get[_0x2cdf07(0x8f)](){const _0x3935b8=_0x2cdf07;return _0x3935b8(0x90);}static get[_0x2cdf07(0x8d)](){return!0x0;}static get[_0x2cdf07(0x8b)](){return!0x0;}constructor(_0x323652){const _0x1be85e=_0x2cdf07;super(_0x323652),_0x323652[_0x1be85e(0x8e)][_0x1be85e(0xa4)](_0x1be85e(0x95),[_0xdba423[_0x1be85e(0x99)],_0xdba423[_0x1be85e(0x9c)]]),_0x561f52[_0x1be85e(0xa2)](_0x561f52),this[_0x1be85e(0x98)]();}[_0x2cdf07(0x98)](){const _0x555e97=_0x2cdf07,_0x10bc15=this[_0x555e97(0x9d)][_0x555e97(0x8e)][_0x555e97(0xa5)](_0x555e97(0x91)),_0x4f3324=this[_0x555e97(0x9d)][_0x555e97(0x92)][_0x555e97(0x97)];_0x10bc15&&_0x561f52[_0x555e97(0x9a)](_0x4f3324,_0x10bc15);}}function _0x302f(){const _0xb900ee=['451738fwEbCH','131392ImVccX','610UiUsbL','6342nmqnnW','defineComponents','10940QPrNfL','define','get','3102VWIGoR','isPremiumPlugin','requires','isOfficialPlugin','config','pluginName','Uploadcare','uploadcare.locale','locale','3467871pmenkW','1344969UtfEna','uploadcare.uploader.sourceList','2iqNePE','contentLanguage','_defineLocale','Local','defineLocale','1527500YJnGqF','URL','editor'];_0x302f=function(){return _0xb900ee;};return _0x302f();}
@@ -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 _0x3b38(){var _0x14396d=['2219229wbIhtO','get','243464cYMshq','isEnabled','_editing','_controller','insertImage','requires','destroy','21XSWJku','1663290tfQsxc','commands','execute','325321zBVExa','3152508NSKrjy','1079472vXxvYB','_checkEnabled','editor','plugins','refresh','3351944jtmqeL'];_0x3b38=function(){return _0x14396d;};return _0x3b38();}var _0x226d3b=_0x3e13;(function(_0xf3e3a6,_0x331f74){var _0x134ea8=_0x3e13,_0x1b3197=_0xf3e3a6();while(!![]){try{var _0x11cc5e=-parseInt(_0x134ea8(0xca))/0x1+parseInt(_0x134ea8(0xd4))/0x2+parseInt(_0x134ea8(0xd2))/0x3+parseInt(_0x134ea8(0xcc))/0x4+parseInt(_0x134ea8(0xc7))/0x5+parseInt(_0x134ea8(0xcb))/0x6+-parseInt(_0x134ea8(0xdb))/0x7*(parseInt(_0x134ea8(0xd1))/0x8);if(_0x11cc5e===_0x331f74)break;else _0x1b3197['push'](_0x1b3197['shift']());}catch(_0x542be3){_0x1b3197['push'](_0x1b3197['shift']());}}}(_0x3b38,0x6364f));import{Command as _0x81f2a9}from'ckeditor5/src/core.js';import{Dialog as _0x17ee0a}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0xf1f4a4}from'./uploadcareediting.js';function _0x3e13(_0x20b0b3,_0x3d6652){var _0x3b385b=_0x3b38();return _0x3e13=function(_0x3e1364,_0x3b4c01){_0x3e1364=_0x3e1364-0xc7;var _0x477a7f=_0x3b385b[_0x3e1364];return _0x477a7f;},_0x3e13(_0x20b0b3,_0x3d6652);}import{UploadcareController as _0x39b42a}from'./ui/uploadcarecontroller.js';export class UploadcareCommand extends _0x81f2a9{[_0x226d3b(0xd6)];[_0x226d3b(0xd7)]=null;static get[_0x226d3b(0xd9)](){return[_0x17ee0a,_0xf1f4a4];}constructor(_0x56189c){var _0x5ecaca=_0x226d3b;super(_0x56189c),this[_0x5ecaca(0xd6)]=_0x56189c[_0x5ecaca(0xcf)][_0x5ecaca(0xd3)](_0xf1f4a4);}[_0x226d3b(0xd0)](){var _0x177efd=_0x226d3b;this[_0x177efd(0xd5)]=this[_0x177efd(0xcd)]();}[_0x226d3b(0xc9)](_0x4b820c){var _0x44588c=_0x226d3b;this[_0x44588c(0xd7)]&&(this[_0x44588c(0xd7)][_0x44588c(0xda)](),this[_0x44588c(0xd7)]=null),this[_0x44588c(0xd7)]=new _0x39b42a(this[_0x44588c(0xce)],this[_0x44588c(0xd6)],_0x4b820c);}[_0x226d3b(0xcd)](){var _0x2325e1=_0x226d3b;return this[_0x2325e1(0xce)][_0x2325e1(0xc8)][_0x2325e1(0xd3)](_0x2325e1(0xd8))[_0x2325e1(0xd5)];}}
@@ -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(_0x5de934,_0x3985e1){var _0x3bcc1f=_0x3258,_0x42fd83=_0x5de934();while(!![]){try{var _0x4b2c3c=parseInt(_0x3bcc1f(0xdd))/0x1*(-parseInt(_0x3bcc1f(0xe7))/0x2)+-parseInt(_0x3bcc1f(0xe9))/0x3*(parseInt(_0x3bcc1f(0xf1))/0x4)+-parseInt(_0x3bcc1f(0xf3))/0x5*(-parseInt(_0x3bcc1f(0xed))/0x6)+-parseInt(_0x3bcc1f(0xdf))/0x7+-parseInt(_0x3bcc1f(0xdc))/0x8*(parseInt(_0x3bcc1f(0xe3))/0x9)+-parseInt(_0x3bcc1f(0xe5))/0xa+parseInt(_0x3bcc1f(0xe4))/0xb;if(_0x4b2c3c===_0x3985e1)break;else _0x42fd83['push'](_0x42fd83['shift']());}catch(_0x5e66a7){_0x42fd83['push'](_0x42fd83['shift']());}}}(_0x29bd,0xf16e5));function _0x3258(_0x520c4c,_0x5799ee){var _0x29bd57=_0x29bd();return _0x3258=function(_0x325894,_0x23c6fc){_0x325894=_0x325894-0xdb;var _0x4c5317=_0x29bd57[_0x325894];return _0x4c5317;},_0x3258(_0x520c4c,_0x5799ee);}export var UploadcareSource;function _0x29bd(){var _0x233d08=['6sxdjwp','Facebook','gdrive','URL','5308cSYQjP','onedrive','4778155ZcGDQP','facebook','8EMUWyH','278kPHTin','local','13443675pKswuB','OneDrive','gphotos','GPhotos','7194267OlKbYm','47786640mSPTlx','7180970JZeLrf','GDrive','2204XyotQR','Local','1281AKVlbh','Dropbox','url','dropbox'];_0x29bd=function(){return _0x233d08;};return _0x29bd();}!function(_0x218b6a){var _0x591098=_0x3258;_0x218b6a[_0x591098(0xe8)]=_0x591098(0xde),_0x218b6a[_0x591098(0xf0)]=_0x591098(0xeb),_0x218b6a[_0x591098(0xea)]=_0x591098(0xec),_0x218b6a[_0x591098(0xe6)]=_0x591098(0xef),_0x218b6a[_0x591098(0xee)]=_0x591098(0xdb),_0x218b6a[_0x591098(0xe2)]=_0x591098(0xe1),_0x218b6a[_0x591098(0xe0)]=_0x591098(0xf2);}(UploadcareSource||(UploadcareSource={}));
@@ -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 _0x4f4425=_0x26c3;(function(_0x267dcc,_0x4653c8){const _0x12d04d=_0x26c3,_0x487ba1=_0x267dcc();while(!![]){try{const _0x6c90d3=parseInt(_0x12d04d(0x1a3))/0x1+-parseInt(_0x12d04d(0x1a4))/0x2+parseInt(_0x12d04d(0x1cf))/0x3+-parseInt(_0x12d04d(0x18f))/0x4*(parseInt(_0x12d04d(0x195))/0x5)+parseInt(_0x12d04d(0x1c5))/0x6+parseInt(_0x12d04d(0x1a1))/0x7*(parseInt(_0x12d04d(0x1b3))/0x8)+parseInt(_0x12d04d(0x1cb))/0x9*(parseInt(_0x12d04d(0x18a))/0xa);if(_0x6c90d3===_0x4653c8)break;else _0x487ba1['push'](_0x487ba1['shift']());}catch(_0x2cdc10){_0x487ba1['push'](_0x487ba1['shift']());}}}(_0x1071,0x5e6a9));import{Plugin as _0x44bdf9}from'ckeditor5/src/core.js';function _0x1071(){const _0x4347fd=['locale','uploader-','editing','data-uc-image-id','isPremiumPlugin','attributeToAttribute','elementToAttribute','_initConfig','removeAttribute','listenTo','conversion','7oqGYTR','upcast','380389oaOnep','1519992MOesRA','uploadcareImageId','PictureEditing','pluginName','for','input[uploadcare-file-input]','render','#uc-icon-arrow-down','add','true','afterInit','extend','_initConversion','iconHrefResolver','get','1967144ADougJ','body','view','downcast','getSelectedElement','model','execute','destroy','editor','selection','_configElement','insertImage','getAttribute','commands','_initImageProcessingIndicator','_ctxElement','imageBlock','once','1727844qdbpAW','isRegistered','imageInline','map','remove','cleanupImage','918144MswrHs','href','querySelector','_initSchema','79263lNSpcz','document','configElement','uploadcare.pubkey','ucContextId','schema','init','uploadcare.uploader','_initCtx','uc-upload-ctx-provider','ctxElement','contentLanguage','join','uploadcare','isOfficialPlugin','closeMax','80vQUKqC','replaceImageSource','appendChild','fromCharCode','uc-config','1240HGVmEv','uploadcareImageReplace','UploadcareEditing','config','requires','\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','9840aRXPfk'];_0x1071=function(){return _0x4347fd;};return _0x1071();}function _0x26c3(_0x56cd59,_0xe4b8c3){const _0x107164=_0x1071();return _0x26c3=function(_0x26c3cc,_0x57d692){_0x26c3cc=_0x26c3cc-0x17f;let _0x19db8a=_0x107164[_0x26c3cc];return _0x19db8a;},_0x26c3(_0x56cd59,_0xe4b8c3);}import{Dialog as _0x36aecd}from'ckeditor5/src/ui.js';import{createElement as _0x558158,global as _0x1d217c,uid as _0x5af5fc}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x24b007}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x19d6d6}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2361c9}from'./utils/editingutils.js';export class UploadcareEditing extends _0x44bdf9{[_0x4f4425(0x1bd)]=null;[_0x4f4425(0x1c2)]=null;static get[_0x4f4425(0x1a7)](){const _0x58bebc=_0x4f4425;return _0x58bebc(0x191);}static get[_0x4f4425(0x193)](){const _0x4ad957=_0x4f4425;return[_0x4ad957(0x1a6),_0x19d6d6,_0x36aecd];}static get[_0x4f4425(0x188)](){return!0x0;}static get[_0x4f4425(0x19a)](){return!0x0;}[_0x4f4425(0x1d3)];get[_0x4f4425(0x1d1)](){const _0x2a74b4=_0x4f4425;return this[_0x2a74b4(0x1bd)];}get[_0x4f4425(0x184)](){const _0x33c27b=_0x4f4425;return this[_0x33c27b(0x1c2)];}constructor(_0x4863c8){const _0x374b4c=_0x4f4425;super(_0x4863c8),this[_0x374b4c(0x1d3)]=_0x5af5fc();}[_0x4f4425(0x180)](){const _0x466f7a=_0x4f4425,_0x112835=this[_0x466f7a(0x1bb)];_0x112835[_0x466f7a(0x1c0)][_0x466f7a(0x1ac)](_0x466f7a(0x187),new _0x24b007(_0x112835));}[_0x4f4425(0x1ae)](){const _0x35c421=_0x4f4425;this[_0x35c421(0x1ce)](),this[_0x35c421(0x1b0)](),this[_0x35c421(0x19d)](),this[_0x35c421(0x182)](),this[_0x35c421(0x1c1)](),this[_0x35c421(0x19f)](this[_0x35c421(0x1bb)],_0x35c421(0x1ba),()=>{const _0xccf386=_0x35c421;this[_0xccf386(0x1bd)]&&(this[_0xccf386(0x1bd)][_0xccf386(0x1c9)](),this[_0xccf386(0x1bd)]=null),this[_0xccf386(0x1c2)]&&(this[_0xccf386(0x1c2)][_0xccf386(0x1c9)](),this[_0xccf386(0x1c2)]=null);const _0x2a5fa3=_0x1d217c[_0xccf386(0x1d0)][_0xccf386(0x1cd)](_0xccf386(0x1a9));_0x2a5fa3&&_0x2a5fa3[_0xccf386(0x1c9)]();}),async function(_0x2a029a){const _0x363308=_0x63c4c2([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]),_0x25154a=0x535f8c3a,_0x20bf66=0x5358f3b2^_0x25154a,_0x39de05=window[_0x63c4c2([0x44,0x61,0x74,0x65])][_0x63c4c2([0x6e,0x6f,0x77])](),_0x8a2838=_0x2a029a[_0x63c4c2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x17865e=new window[(_0x63c4c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xecb1ce=>{_0x8a2838[_0x63c4c2([0x6f,0x6e,0x63,0x65])](_0x63c4c2([0x72,0x65,0x61,0x64,0x79]),_0xecb1ce);}),_0x31831d={[_0x63c4c2([0x6b,0x74,0x79])]:_0x63c4c2([0x45,0x43]),[_0x63c4c2([0x75,0x73,0x65])]:_0x63c4c2([0x73,0x69,0x67]),[_0x63c4c2([0x63,0x72,0x76])]:_0x63c4c2([0x50,0x2d,0x32,0x35,0x36]),[_0x63c4c2([0x78])]:_0x63c4c2([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]),[_0x63c4c2([0x79])]:_0x63c4c2([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]),[_0x63c4c2([0x61,0x6c,0x67])]:_0x63c4c2([0x45,0x53,0x32,0x35,0x36])},_0xc4531f=_0x8a2838[_0x63c4c2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x63c4c2([0x67,0x65,0x74])](_0x63c4c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x12eae6(){let _0x368370,_0x3abaf1=null,_0xf55c8=null;try{if(_0xc4531f==_0x63c4c2([0x47,0x50,0x4c]))return _0x63c4c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x368370=_0x451841(),!_0x368370)return _0x63c4c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x368370[_0x63c4c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf55c8=_0x2b697c(_0x368370[_0x63c4c2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x368370[_0x63c4c2([0x6a,0x74,0x69])])),await _0x1ba0a1()?_0x59dc4a()?_0x579d7b()?_0x63c4c2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b66ef()?(_0x368370[_0x63c4c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x63c4c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3abaf1=_0x5140c7(_0x63c4c2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1d54f3()):_0x63c4c2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x63c4c2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x63c4c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x63c4c2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x579d7b(){const _0x46fc13=[_0x63c4c2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x63c4c2([0x74,0x72,0x69,0x61,0x6c])][_0x63c4c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x368370[_0x63c4c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x39de05/0x3e8:0xe10*_0x20bf66;return _0x368370[_0x63c4c2([0x65,0x78,0x70])]<_0x46fc13;}function _0x59dc4a(){const _0x4d721b=_0x368370[_0x63c4c2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4d721b&&(!!_0x4d721b[_0x63c4c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x63c4c2([0x2a]))||!!_0x4d721b[_0x63c4c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x63c4c2([0x55,0x50,0x4c,0x43])));}function _0x3b66ef(){const _0x575f61=_0x26c3,_0xf4679d=_0x368370[_0x63c4c2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf4679d||0x0==_0xf4679d[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x37db65}=new URL(window[_0x63c4c2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x575f61(0x1cc)]);if(_0xf4679d[_0x63c4c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x37db65))return!0x0;const _0x959cc7=_0x37db65[_0x63c4c2([0x73,0x70,0x6c,0x69,0x74])](_0x63c4c2([0x2e]));return _0xf4679d[_0x63c4c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50b01f=>_0x50b01f[_0x63c4c2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x63c4c2([0x2a])))[_0x63c4c2([0x6d,0x61,0x70])](_0x370e21=>_0x370e21[_0x63c4c2([0x73,0x70,0x6c,0x69,0x74])](_0x63c4c2([0x2e])))[_0x63c4c2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57d2cd=>_0x57d2cd[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x959cc7[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x63c4c2([0x6d,0x61,0x70])](_0x16ddff=>Array(_0x959cc7[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x16ddff[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x63c4c2([0x66,0x69,0x6c,0x6c])](_0x16ddff[0x0]===_0x63c4c2([0x2a])?_0x63c4c2([0x2a]):'')[_0x63c4c2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x16ddff))[_0x63c4c2([0x73,0x6f,0x6d,0x65])](_0x310b5c=>_0x959cc7[_0x63c4c2([0x65,0x76,0x65,0x72,0x79])]((_0x39a2a6,_0x16a359)=>_0x310b5c[_0x16a359]===_0x39a2a6||_0x310b5c[_0x16a359]===_0x63c4c2([0x2a])));}function _0x1d54f3(){return _0x3abaf1&&_0xf55c8?new window[(_0x63c4c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d921f,_0x539fa4)=>{_0x3abaf1[_0x63c4c2([0x74,0x68,0x65,0x6e])](_0x4d921f,_0x539fa4),_0xf55c8[_0x63c4c2([0x74,0x68,0x65,0x6e])](_0x2c8ded=>{_0x2c8ded!=_0x63c4c2([0x56,0x61,0x6c,0x69,0x64])&&_0x4d921f(_0x2c8ded);},_0x539fa4);}):_0x3abaf1||_0xf55c8||_0x63c4c2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b697c(_0x50d9d5,_0x2ef102){return new window[(_0x63c4c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a9fcf=>{if(_0x516821())return _0x5a9fcf(_0x63c4c2([0x56,0x61,0x6c,0x69,0x64]));_0x2c5df2(),_0x8a2838[_0x63c4c2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x63c4c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xba213f=!0x1;const _0x5d1201=_0x5af5fc();function _0x1a09f8(_0x10b66c){return!!_0x10b66c&&(typeof _0x10b66c===_0x63c4c2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x10b66c===_0x63c4c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x10b66c[_0x63c4c2([0x74,0x68,0x65,0x6e])]===_0x63c4c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x10b66c[_0x63c4c2([0x63,0x61,0x74,0x63,0x68])]===_0x63c4c2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x432938(_0x8ac396){_0x1c8595(_0x8ac396)[_0x63c4c2([0x74,0x68,0x65,0x6e])](_0x44de62=>{if(!_0x44de62||_0x44de62[_0x63c4c2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x63c4c2([0x6f,0x6b]))return _0x63c4c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d5c2d(_0x5dcbb5(_0x5d1201+_0x2ef102))!=_0x44de62[_0x63c4c2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x63c4c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x63c4c2([0x56,0x61,0x6c,0x69,0x64]);})[_0x63c4c2([0x74,0x68,0x65,0x6e])](_0x2e3b5b=>(_0x21e68a(),_0x2e3b5b),()=>{const _0x2b1112=_0x3f8bbc();return null==_0x2b1112?(_0x21e68a(),_0x63c4c2([0x56,0x61,0x6c,0x69,0x64])):_0x63c4c2(_0x39de05-_0x2b1112>(0x7753083a^_0x25154a)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x63c4c2([0x74,0x68,0x65,0x6e])](_0x5a9fcf)[_0x63c4c2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a9fcf(_0x63c4c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x136e59=0x536962ba^_0x25154a;function _0x21e68a(){const _0x49dfa1=_0x63c4c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d5c2d(_0x5dcbb5(_0x50d9d5)),_0xc5050d=_0x4678e9(_0x2d5c2d(window[_0x63c4c2([0x4d,0x61,0x74,0x68])][_0x63c4c2([0x63,0x65,0x69,0x6c])](_0x39de05/_0x136e59)));window[_0x63c4c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x63c4c2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49dfa1,_0xc5050d);}function _0x3f8bbc(){const _0x18fa29=_0x63c4c2([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d5c2d(_0x5dcbb5(_0x50d9d5)),_0x5d6d1f=window[_0x63c4c2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x63c4c2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18fa29);return _0x5d6d1f?window[_0x63c4c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4678e9(_0x5d6d1f),0x10)*_0x136e59:null;}function _0x1c8595(_0x1941c4){return new window[(_0x63c4c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xbef017,_0x5713d1)=>{_0x1941c4[_0x63c4c2([0x74,0x68,0x65,0x6e])](_0xbef017,_0x5713d1),window[_0x63c4c2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5713d1,0x535e58fa^_0x25154a);});}}_0x8a2838[_0x63c4c2([0x6f,0x6e])](_0x63c4c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x33cf2b,_0x578d13)=>{if(_0x578d13[0x0]!=_0x50d9d5)return _0x5a9fcf(_0x63c4c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x578d13[0x1]={..._0x578d13[0x1],[_0x63c4c2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d1201};},{[_0x63c4c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x63c4c2([0x68,0x69,0x67,0x68])}),_0x8a2838[_0x63c4c2([0x6f,0x6e])](_0x63c4c2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4b6bed=>{_0x1a09f8(_0x4b6bed[_0x63c4c2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xba213f=!0x0,_0x432938(_0x4b6bed[_0x63c4c2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x63c4c2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x63c4c2([0x6c,0x6f,0x77])}),_0x17865e[_0x63c4c2([0x74,0x68,0x65,0x6e])](()=>{_0xba213f||_0x5a9fcf(_0x63c4c2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x516821(){return _0x8a2838[_0x63c4c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x63c4c2([0x76,0x69,0x65,0x77])][_0x63c4c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x63c4c2([0x61,0x75,0x74,0x6f]);}function _0x2c5df2(){_0x8a2838[_0x63c4c2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x63c4c2([0x76,0x69,0x65,0x77])][_0x63c4c2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x63c4c2([0x61,0x75,0x74,0x6f]);}}function _0x5140c7(_0x5c9221){const _0x3ec341=[new window[(_0x63c4c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4764ee=>setTimeout(_0x4764ee,0x5356b2f6^_0x25154a)),_0x17865e[_0x63c4c2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x63c4c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5736e8=>{let _0x405140=0x0;_0x8a2838[_0x63c4c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x63c4c2([0x6f,0x6e])](_0x63c4c2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20a95e,_0x25c3f0)=>{_0x25c3f0[0x0][_0x63c4c2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x405140++,_0x405140==(0x535f89d2^_0x25154a)&&(_0x5736e8(),_0x20a95e[_0x63c4c2([0x6f,0x66,0x66])]());});}))];return window[_0x63c4c2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x63c4c2([0x72,0x61,0x63,0x65])](_0x3ec341)[_0x63c4c2([0x74,0x68,0x65,0x6e])](()=>_0x5c9221);}async function _0x481404(){await _0x17865e,_0x8a2838[_0x63c4c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x63c4c2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3ac261,_0x8a2838[_0x63c4c2([0x6d,0x6f,0x64,0x65,0x6c])][_0x63c4c2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3ac261,_0x8a2838[_0x63c4c2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x63c4c2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1fea1c(_0x4eb2fd){const _0x193a10=_0xa18aa6();_0x8a2838[_0x193a10]=_0x63c4c2([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4eb2fd,_0x4eb2fd!=_0x63c4c2([0x56,0x61,0x6c,0x69,0x64])&&_0x481404();}function _0xa18aa6(){const _0x41c798=window[_0x63c4c2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x63c4c2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x63c4c2([0x6e,0x6f,0x77])]())[_0x63c4c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x63c4c2([0x2e]),'');let _0x17adef=_0x63c4c2([0x68]);for(let _0x2a85cb=0x0;_0x2a85cb<_0x41c798[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a85cb+=0x2){let _0x5dc5f2=window[_0x63c4c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41c798[_0x63c4c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a85cb,_0x2a85cb+0x2));_0x5dc5f2>=_0x363308[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5dc5f2-=_0x363308[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x17adef+=_0x363308[_0x5dc5f2];}return _0x17adef;}function _0x451841(){const _0x382053=_0xc4531f[_0x63c4c2([0x73,0x70,0x6c,0x69,0x74])](_0x63c4c2([0x2e]));if(0x3!=_0x382053[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33eb3c(_0x382053[0x1]);function _0x33eb3c(_0x2d95a1){const _0x1d06fa=_0x2a7180(_0x2d95a1);return _0x1d06fa&&_0x385d2d()?_0x1d06fa:null;function _0x385d2d(){const _0x134d4e=_0x1d06fa[_0x63c4c2([0x6a,0x74,0x69])],_0x4d1614=window[_0x63c4c2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x134d4e[_0x63c4c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x134d4e[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x578b74={..._0x1d06fa,[_0x63c4c2([0x6a,0x74,0x69])]:_0x134d4e[_0x63c4c2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x134d4e[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x578b74[_0x63c4c2([0x76,0x63])],_0x5dcbb5(_0x578b74)==_0x4d1614;}}}async function _0x1ba0a1(){let _0x15d3a1=!0x0;try{const _0x5ac0be=_0xc4531f[_0x63c4c2([0x73,0x70,0x6c,0x69,0x74])](_0x63c4c2([0x2e])),[_0xfe3b81,_0x16e6ac,_0x1bdadb]=_0x5ac0be;return _0x211cfb(_0xfe3b81),await _0x101f34(_0xfe3b81,_0x16e6ac,_0x1bdadb),_0x15d3a1;}catch{return!0x1;}function _0x211cfb(_0x671c3){const _0x474b6f=_0x2a7180(_0x671c3);_0x474b6f&&_0x474b6f[_0x63c4c2([0x61,0x6c,0x67])]==_0x63c4c2([0x45,0x53,0x32,0x35,0x36])||(_0x15d3a1=!0x1);}async function _0x101f34(_0x1fe35c,_0x47106c,_0x150cbc){const _0x1bdc02=window[_0x63c4c2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x63c4c2([0x66,0x72,0x6f,0x6d])](_0x2fdffb(_0x150cbc),_0x222d5b=>_0x222d5b[_0x63c4c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x58f2c3=new window[(_0x63c4c2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x63c4c2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1fe35c+_0x63c4c2([0x2e])+_0x47106c),_0x24f382=window[_0x63c4c2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x63c4c2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24f382)return;const _0x168806=await _0x24f382[_0x63c4c2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x63c4c2([0x6a,0x77,0x6b]),_0x31831d,{[_0x63c4c2([0x6e,0x61,0x6d,0x65])]:_0x63c4c2([0x45,0x43,0x44,0x53,0x41]),[_0x63c4c2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x63c4c2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x63c4c2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24f382[_0x63c4c2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x63c4c2([0x6e,0x61,0x6d,0x65])]:_0x63c4c2([0x45,0x43,0x44,0x53,0x41]),[_0x63c4c2([0x68,0x61,0x73,0x68])]:{[_0x63c4c2([0x6e,0x61,0x6d,0x65])]:_0x63c4c2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x168806,_0x1bdc02,_0x58f2c3)||(_0x15d3a1=!0x1);}}function _0x2a7180(_0xe2e772){return _0xe2e772[_0x63c4c2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x63c4c2([0x65,0x79]))?JSON[_0x63c4c2([0x70,0x61,0x72,0x73,0x65])](_0x2fdffb(_0xe2e772)):null;}function _0x2fdffb(_0x39c210){return window[_0x63c4c2([0x61,0x74,0x6f,0x62])](_0x39c210[_0x63c4c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x63c4c2([0x2b]))[_0x63c4c2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x63c4c2([0x2f])));}function _0x5dcbb5(_0x4c2b83){let _0x1d5b42=0x1505;function _0x2b89ba(_0xb2ace9){for(let _0x217664=0x0;_0x217664<_0xb2ace9[_0x63c4c2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x217664++){const _0xf0a2be=_0xb2ace9[_0x63c4c2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x217664);_0x1d5b42=(_0x1d5b42<<0x5)+_0x1d5b42+_0xf0a2be,_0x1d5b42&=_0x1d5b42;}}function _0x1bd68b(_0x229342){Array[_0x63c4c2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x229342)?_0x229342[_0x63c4c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bd68b):_0x229342&&typeof _0x229342==_0x63c4c2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x63c4c2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x229342)[_0x63c4c2([0x73,0x6f,0x72,0x74])]()[_0x63c4c2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x43a1ba,_0x1ee686])=>{_0x2b89ba(_0x43a1ba),_0x1bd68b(_0x1ee686);}):_0x2b89ba(window[_0x63c4c2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x229342));}return _0x1bd68b(_0x4c2b83),_0x1d5b42>>>0x0;}function _0x2d5c2d(_0x2ecdee){return _0x2ecdee[_0x63c4c2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x63c4c2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x63c4c2([0x30]));}function _0x4678e9(_0x16b356){return _0x16b356[_0x63c4c2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x63c4c2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x63c4c2([0x6a,0x6f,0x69,0x6e])]('');}function _0x3ac261(){}function _0x63c4c2(_0xd2ad3d){const _0x49732a=_0x26c3;return _0xd2ad3d[_0x49732a(0x1c8)](_0x27c969=>String[_0x49732a(0x18d)](_0x27c969))[_0x49732a(0x186)]('');}_0x1fea1c(await _0x12eae6());}(this);}[_0x4f4425(0x1ce)](){const _0x3ea141=_0x4f4425,_0x2b1fa1=this[_0x3ea141(0x1bb)][_0x3ea141(0x1b8)][_0x3ea141(0x17f)];_0x2b1fa1[_0x3ea141(0x1c6)](_0x3ea141(0x1c3))&&_0x2b1fa1[_0x3ea141(0x1af)](_0x3ea141(0x1c3),{'allowAttributes':[_0x3ea141(0x1a5)]}),_0x2b1fa1[_0x3ea141(0x1c6)](_0x3ea141(0x1c7))&&_0x2b1fa1[_0x3ea141(0x1af)](_0x3ea141(0x1c7),{'allowAttributes':[_0x3ea141(0x1a5)]});}[_0x4f4425(0x1b0)](){const _0x23ae53=_0x4f4425,_0x537f8b=this[_0x23ae53(0x1bb)];_0x537f8b[_0x23ae53(0x1a0)][_0x23ae53(0x1a8)](_0x23ae53(0x1b6))[_0x23ae53(0x19b)]({'model':_0x23ae53(0x1a5),'view':_0x23ae53(0x199)}),_0x537f8b[_0x23ae53(0x1a0)][_0x23ae53(0x1a8)](_0x23ae53(0x1a2))[_0x23ae53(0x19c)]({'model':{'key':_0x23ae53(0x1a5),'value':_0x2b4779=>_0x2b4779[_0x23ae53(0x1bf)](_0x23ae53(0x199))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x25d8f6=_0x537f8b[_0x23ae53(0x1c0)][_0x23ae53(0x1b2)](_0x23ae53(0x18b));_0x25d8f6&&this[_0x23ae53(0x19f)](_0x25d8f6,_0x23ae53(0x1ca),(_0x16ddfb,[_0x36d6ac,_0x97ebcb])=>{const _0x4b9b02=_0x23ae53;_0x36d6ac[_0x4b9b02(0x19e)](_0x4b9b02(0x1a5),_0x97ebcb);});}[_0x4f4425(0x19d)](){const _0x473b9e=_0x4f4425,_0x5b4bda=this[_0x473b9e(0x1bb)][_0x473b9e(0x192)][_0x473b9e(0x1b2)](_0x473b9e(0x181))||{},_0x52d165=this[_0x473b9e(0x1bb)][_0x473b9e(0x192)][_0x473b9e(0x1b2)](_0x473b9e(0x1d2))||'';this[_0x473b9e(0x1bd)]=_0x558158(_0x1d217c[_0x473b9e(0x1d0)],_0x473b9e(0x18e),{..._0x5b4bda,'pubkey':_0x52d165,'ctx-name':_0x473b9e(0x197)+this[_0x473b9e(0x1d3)],'sourceList':'','imgOnly':_0x473b9e(0x1ad),'removeCopyright':_0x473b9e(0x1ad),'localeName':this[_0x473b9e(0x1bb)][_0x473b9e(0x196)][_0x473b9e(0x185)],'externalSourcesEmbedCss':_0x473b9e(0x194)}),this[_0x473b9e(0x1bd)][_0x473b9e(0x1b1)]=_0x1b4073=>{const _0x1cd7cb=_0x473b9e;if(_0x1cd7cb(0x189)==_0x1b4073)return _0x1cd7cb(0x1ab);},_0x1d217c[_0x473b9e(0x1d0)][_0x473b9e(0x1b4)][_0x473b9e(0x18c)](this[_0x473b9e(0x1bd)]);}[_0x4f4425(0x182)](){const _0x3c2e36=_0x4f4425;this[_0x3c2e36(0x1c2)]=_0x558158(_0x1d217c[_0x3c2e36(0x1d0)],_0x3c2e36(0x183),{'ctx-name':_0x3c2e36(0x197)+this[_0x3c2e36(0x1d3)]}),_0x1d217c[_0x3c2e36(0x1d0)][_0x3c2e36(0x1b4)][_0x3c2e36(0x18c)](this[_0x3c2e36(0x1c2)]);}[_0x4f4425(0x1c1)](){const _0x2b95f0=_0x4f4425,_0x4d447e=this[_0x2b95f0(0x1bb)][_0x2b95f0(0x1c0)][_0x2b95f0(0x1b2)](_0x2b95f0(0x1be));_0x4d447e&&this[_0x2b95f0(0x19f)](_0x4d447e,_0x2b95f0(0x1b9),()=>{const _0x3894bb=_0x2b95f0,_0x5c7bff=this[_0x3894bb(0x1bb)][_0x3894bb(0x1b8)][_0x3894bb(0x1d0)][_0x3894bb(0x1bc)][_0x3894bb(0x1b7)]();_0x5c7bff&&_0x5c7bff[_0x3894bb(0x1bf)](_0x3894bb(0x1a5))&&this[_0x3894bb(0x1bb)][_0x3894bb(0x198)][_0x3894bb(0x1b5)][_0x3894bb(0x1c4)](_0x3894bb(0x1aa),()=>{const _0x127c3e=_0x3894bb;_0x2361c9(this[_0x127c3e(0x1bb)],_0x5c7bff);});});const _0x16c082=this[_0x2b95f0(0x1bb)][_0x2b95f0(0x1c0)][_0x2b95f0(0x1b2)](_0x2b95f0(0x190));_0x16c082&&this[_0x2b95f0(0x19f)](_0x16c082,_0x2b95f0(0x1b9),()=>{const _0x5a4a8f=_0x2b95f0,_0xf6ab6=this[_0x5a4a8f(0x1bb)][_0x5a4a8f(0x1b8)][_0x5a4a8f(0x1d0)][_0x5a4a8f(0x1bc)][_0x5a4a8f(0x1b7)]();_0xf6ab6&&_0xf6ab6[_0x5a4a8f(0x1bf)](_0x5a4a8f(0x1a5))&&this[_0x5a4a8f(0x1bb)][_0x5a4a8f(0x198)][_0x5a4a8f(0x1b5)][_0x5a4a8f(0x1c4)](_0x5a4a8f(0x1aa),()=>{const _0x172a68=_0x5a4a8f;_0x2361c9(this[_0x172a68(0x1bb)],_0xf6ab6);});});}}
@@ -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 _0x4d0248,ObservableMixin as _0x474f79}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x16e704}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x53d056}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x2a19f0}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x390f9c}from'../../utils/uploadutils.js';import{getImageUrls as _0xb780b7,getImageDimension as _0x126e45}from'../../utils/editingutils.js';import{isAncestor as _0x2c303f}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x474f79(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xb0dfcf,_0xdb1fea,_0x40c84c){super(),this['_editor']=_0xb0dfcf,this['_dialog']=_0xdb1fea,this['_imageElement']=_0x40c84c,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 _0x5d10ec=this['_imageElement'],_0x36dd80=_0x5d10ec['getAttribute']('uploadcareImageId'),_0x23b5e0=_0x5d10ec['getAttribute']('src');if(_0x36dd80)await this['_loadImageInfo'](_0x36dd80,_0x23b5e0);else{if(this['_imageCache']['has'](_0x23b5e0)){const _0x4711ba=this['_imageCache']['get'](_0x23b5e0);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4711ba['url'],this['imageDimension']=_0x4711ba['dimension'],this['imageId']=_0x4711ba['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5c3362}=this['_editor'],t=_0x5c3362['t'],_0x2e5c7c=new _0x2a19f0(_0x5c3362,this['imageStatus'],this['_attributes']);_0x2e5c7c['bind']('status')['to'](this,'imageStatus'),_0x2e5c7c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2e5c7c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2e5c7c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2e5c7c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x53d056,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2e5c7c,'position':_0x16e704['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2e5c7c['focus']();},'onHide':()=>{_0x2e5c7c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x183e5e=>!_0x2c303f(_0x183e5e,_0x2e5c7c['element'])}});}['_loadImageInfo'](_0x1b87b8,_0xd61523){return _0x390f9c['getInfo'](_0x1b87b8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x35a754=>{const {width:_0x566f49,height:_0x255514}=_0x35a754['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xd61523,this['imageDimension']={'width':_0x566f49,'height':_0x255514},this['imageId']=_0x1b87b8;})['catch'](_0x5ca3ba=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5ca3ba['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2ecc3b,_0x41ea74){return this['_getImageAsFile'](_0x2ecc3b)['then'](_0x9f9745=>_0x390f9c['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':_0x41ea74['signal'],'file':_0x9f9745,'onProgress':_0x7726e6=>{_0x7726e6&&_0x7726e6['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x7726e6['value']));}}))['then'](_0x4c55d8=>{const {width:_0x59e66c,height:_0x4f135f}=_0x4c55d8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4c55d8['cdnUrl'],this['imageDimension']={'width':_0x59e66c,'height':_0x4f135f},this['imageId']=_0x4c55d8['uuid'],this['imageUploadProgress']=null;const _0x25e41c=_0x2ecc3b['getAttribute']('src');this['_imageCache']['set'](_0x25e41c,{'id':_0x4c55d8['uuid'],'url':_0x4c55d8['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2663a7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2663a7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0xc3cf6,_0x1fb2d1){_0xc3cf6['on']('apply',(_0x3c89a9,_0xcad696)=>{this['_replaceImage'](_0x1fb2d1,_0xcad696['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0xc3cf6['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0xc3cf6['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1ab770,_0x11aaf2,_0x1322bb){const _0x152f8e=this['_editor'],{width:_0x27efd0,height:_0x260a47}=_0x126e45(_0x11aaf2,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x38c22d,imageSources:_0x27d38a}=_0xb780b7(_0x11aaf2,_0x27efd0);_0x152f8e['model']['change'](_0x48d0db=>{if('$graveyard'===_0x1ab770['root']['rootName']){_0x152f8e['execute']('insertImage',{'imageType':_0x1ab770['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1ab770['getAttributes']()),'uploadcareImageId':_0x1322bb,'src':_0x38c22d,'sources':_0x27d38a,'width':_0x27efd0,'height':_0x260a47}});const _0x1e6e86=_0x1ab770['getChildren']();_0x1ab770=_0x152f8e['model']['document']['selection']['getSelectedElement']();for(const _0x186d17 of _0x1e6e86)_0x48d0db['append'](_0x48d0db['cloneElement'](_0x186d17),_0x1ab770);}else _0x48d0db['setSelection'](_0x1ab770,'on'),_0x152f8e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1ab770['getAttributes']()),'uploadcareImageId':_0x1322bb,'src':_0x38c22d,'sources':_0x27d38a,'width':_0x27efd0,'height':_0x260a47},_0x1ab770);_0x48d0db['setSelection'](_0x1ab770,'on');});}async['_getImageAsFile'](_0x15e1bd){const _0x10f9fe=_0x4d0248['window'],_0x192d5b=_0x4d0248['document']['location']['href'],_0x2a2d26=new _0x10f9fe['URL'](_0x15e1bd['getAttribute']('src'),_0x192d5b);if('data:'===_0x2a2d26['protocol']){const _0x56cbc3=_0x2a2d26['href']['split'](','),_0x3fc383=_0x56cbc3[0x0]['match'](/:(.*?);/)[0x1],_0x1c07b2=_0x3fc383['split']('/')[0x1],_0x2bd179=_0x10f9fe['atob'](_0x56cbc3[_0x56cbc3['length']-0x1]);let _0x480774=_0x2bd179['length'];const _0x4858a0=new _0x10f9fe['Uint8Array'](_0x480774);for(;_0x480774--;)_0x4858a0[_0x480774]=_0x2bd179['charCodeAt'](_0x480774);return new _0x10f9fe['File']([_0x4858a0],'image.'+_0x1c07b2,{'type':_0x3fc383});}const _0x788fda=_0x2a2d26['href']['split']('/'),_0x327613=_0x788fda[_0x788fda['length']-0x1],_0x26fdce=_0x327613['split']('.')[0x1];return _0x10f9fe['fetch'](_0x2a2d26['href'])['then'](_0x1b6d6f=>_0x1b6d6f['clone']()['blob']())['then'](_0x3ca629=>new _0x10f9fe['File']([_0x3ca629],_0x327613,{'type':'image/'+_0x26fdce}));}}
@@ -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 _0xc262(_0x1699ce,_0x8c56e6){const _0x2d28a0=_0x2d28();return _0xc262=function(_0xc262a6,_0x5d93c2){_0xc262a6=_0xc262a6-0x68;let _0x290c59=_0x2d28a0[_0xc262a6];return _0x290c59;},_0xc262(_0x1699ce,_0x8c56e6);}(function(_0x26cd0b,_0x2076fa){const _0x5cf1fa=_0xc262,_0x104287=_0x26cd0b();while(!![]){try{const _0x342eee=parseInt(_0x5cf1fa(0x6b))/0x1+-parseInt(_0x5cf1fa(0x71))/0x2+-parseInt(_0x5cf1fa(0x6d))/0x3+parseInt(_0x5cf1fa(0x75))/0x4+parseInt(_0x5cf1fa(0x72))/0x5+parseInt(_0x5cf1fa(0x68))/0x6+-parseInt(_0x5cf1fa(0x77))/0x7*(parseInt(_0x5cf1fa(0x74))/0x8);if(_0x342eee===_0x2076fa)break;else _0x104287['push'](_0x104287['shift']());}catch(_0x27906b){_0x104287['push'](_0x104287['shift']());}}}(_0x2d28,0x1a2f0));import{View as _0x47ebc8}from'ckeditor5/src/ui.js';function _0x2d28(){const _0x184f81=['imageSrc','set','354524cjgUps','972410zAhoXF','setTemplate','89384CWURqQ','307956KUWLKm','uc-cloud-image-editor','84aCYnMO','572568RoVjBJ','bindTemplate','image-edit','118115pDoQCs','uc-light','199284yGzMDS','ck-uploadcare-theme'];_0x2d28=function(){return _0x184f81;};return _0x2d28();}export class UploadcareImageEditFormEditingView extends _0x47ebc8{constructor(_0x45b443,_0x2c80df){const _0x2106e8=_0xc262;super(_0x45b443);const _0x1f81b6=this[_0x2106e8(0x69)];this[_0x2106e8(0x70)](_0x2106e8(0x6f),''),this[_0x2106e8(0x73)]({'tag':_0x2106e8(0x76),'attributes':{..._0x2c80df,'class':[_0x2106e8(0x6c),_0x2106e8(0x6e)],'ctx-name':_0x2106e8(0x6a),'cdn-url':_0x1f81b6['to'](_0x2106e8(0x6f))}});}}
@@ -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 _0x108533}from'ckeditor5/src/icons.js';import{ButtonView as _0x171d0c,IconView as _0x263d83,View as _0x22effa}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x22effa{constructor(_0x113cb9){super(_0x113cb9);const t=_0x113cb9['t'];this['set']('errorType',null);const _0x139a8e=new _0x171d0c(_0x113cb9);_0x139a8e['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x139a8e['withText']=!0x0,_0x139a8e['class']='ck-button-action',_0x139a8e['on']('execute',()=>{this['fire']('retry');}),_0x139a8e['bind']('isVisible')['to'](this,'errorType',_0xe0b81d=>'NotFound'!==_0xe0b81d);const _0x505037=new _0x263d83();_0x505037['content']=_0x108533,_0x505037['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5757d8=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':[_0x505037,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5757d8['to']('errorType',_0xfd553d=>t('NotFound'!==_0xfd553d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x139a8e]},{'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 _0x13df22,View as _0x3db2f2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3db2f2{constructor(_0x38f1d5){super(_0x38f1d5);const t=_0x38f1d5['t'],_0x2299a0=this['bindTemplate'],_0x33184f=new _0x13df22();_0x33184f['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':[_0x33184f,{'text':_0x2299a0['to']('imageUploadProgress',_0xc6e596=>t('Loading\x20image...')+'\x20('+(_0xc6e596||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 _0x52eaed=_0x35e2;(function(_0x49b331,_0xb1b4e4){const _0x514073=_0x35e2,_0x2005b0=_0x49b331();while(!![]){try{const _0x19ccac=parseInt(_0x514073(0x136))/0x1*(-parseInt(_0x514073(0x142))/0x2)+parseInt(_0x514073(0x118))/0x3+-parseInt(_0x514073(0x11a))/0x4+-parseInt(_0x514073(0x12c))/0x5*(parseInt(_0x514073(0x127))/0x6)+parseInt(_0x514073(0x11b))/0x7+-parseInt(_0x514073(0x116))/0x8+parseInt(_0x514073(0x13d))/0x9*(-parseInt(_0x514073(0x114))/0xa);if(_0x19ccac===_0xb1b4e4)break;else _0x2005b0['push'](_0x2005b0['shift']());}catch(_0x255489){_0x2005b0['push'](_0x2005b0['shift']());}}}(_0x12d9,0x94f44));function _0x35e2(_0x3d3db7,_0x1754cc){const _0x12d9b9=_0x12d9();return _0x35e2=function(_0x35e2e9,_0x5e38a9){_0x35e2e9=_0x35e2e9-0x10d;let _0x332b1b=_0x12d9b9[_0x35e2e9];return _0x332b1b;},_0x35e2(_0x3d3db7,_0x1754cc);}import{View as _0x1d52f2}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0xac651b}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x1c4afb}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x1bedf3}from'./uploadcareimageeditformeditingview.js';function _0x12d9(){const _0x20a52b=['5cjLQyo','uc-cloud-image-editor','target','div','filter','setTemplate','createCollection','change:status','disconnect','fire','5125qVJfgG','_editingView','addMany','set','_items','_addErrorViewListeners','once','889506pqzRSo','cancel','nodeName','getFocusableElement','_setView','4xxhiCe','_waitForImageEditorComponent','clear','cdnUrl','length','_addUploadcareImageEditorListeners','element','add','error','10secYPO','uploading','8136312qQxhyB','observe','3202770cWkhmN','toLowerCase','257864anzIDV','7487865yblxOD','focus','ck-uploadcare-form','retry','_focusableView','detail','_loadingView','querySelector','render','ck-reset_all-excluded','addEventListener','apply','2019480CXEyJW','status','ready','addedNodes','_errorView'];_0x12d9=function(){return _0x20a52b;};return _0x12d9();}import{DialogFocusManagerView as _0x5bd44c}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5bd44c{[_0x52eaed(0x13a)];[_0x52eaed(0x121)];[_0x52eaed(0x12b)];[_0x52eaed(0x137)];[_0x52eaed(0x11f)];constructor(_0x5dab1a,_0x1fcb66,_0x96932f){const _0x3cad9e=_0x52eaed;super(_0x5dab1a),this[_0x3cad9e(0x13a)]=this[_0x3cad9e(0x132)](),this[_0x3cad9e(0x121)]=new _0xac651b(_0x5dab1a),this[_0x3cad9e(0x12b)]=new _0x1c4afb(_0x5dab1a),this[_0x3cad9e(0x137)]=new _0x1bedf3(_0x5dab1a,_0x96932f),this[_0x3cad9e(0x11f)]=new _0x1d52f2(_0x5dab1a),this[_0x3cad9e(0x11f)][_0x3cad9e(0x131)](this[_0x3cad9e(0x140)]()),this[_0x3cad9e(0x139)](_0x3cad9e(0x128),_0x1fcb66),this[_0x3cad9e(0x131)]({'tag':_0x3cad9e(0x12f),'attributes':{'class':['ck',_0x3cad9e(0x124),_0x3cad9e(0x11d)],'tabindex':'-1'},'children':this[_0x3cad9e(0x13a)]}),this[_0x3cad9e(0x141)](),this[_0x3cad9e(0x13c)](_0x3cad9e(0x123),()=>{const _0xa0ca28=_0x3cad9e;this[_0xa0ca28(0x143)](this[_0xa0ca28(0x111)],_0x33eea8=>{const _0xe1db94=_0xa0ca28;this[_0xe1db94(0x110)](_0x33eea8);});}),this['on'](_0x3cad9e(0x133),()=>{const _0x25770c=_0x3cad9e;this[_0x25770c(0x141)]();}),this[_0x3cad9e(0x13b)]();}[_0x52eaed(0x11c)](){const _0x262592=_0x52eaed;this[_0x262592(0x111)][_0x262592(0x11c)]();}[_0x52eaed(0x141)](){const _0x42a059=_0x52eaed;switch(this[_0x42a059(0x13a)][_0x42a059(0x10d)](),this[_0x42a059(0x128)]){case _0x42a059(0x115):this[_0x42a059(0x13a)][_0x42a059(0x112)](this[_0x42a059(0x121)]);break;case _0x42a059(0x113):this[_0x42a059(0x13a)][_0x42a059(0x112)](this[_0x42a059(0x12b)]);break;case _0x42a059(0x129):this[_0x42a059(0x13a)][_0x42a059(0x138)]([this[_0x42a059(0x137)],this[_0x42a059(0x11f)]]);}}[_0x52eaed(0x143)](_0xde5a27,_0x20e957){const _0x39fe2c=_0x52eaed,_0x36c9be=_0x39fe2c(0x12d),_0x54874d=_0xde5a27[_0x39fe2c(0x122)](_0x36c9be);if(_0x54874d)return _0x20e957(_0x54874d);const _0x5afef6=new MutationObserver(_0x304079=>{const _0x248f1f=_0x39fe2c,_0x15f244=_0x304079[_0x248f1f(0x130)](_0x41c285=>_0x41c285[_0x248f1f(0x12e)]===_0xde5a27&&_0x41c285[_0x248f1f(0x12a)][_0x248f1f(0x10f)]>0x0&&_0x41c285[_0x248f1f(0x12a)][0x0][_0x248f1f(0x13f)][_0x248f1f(0x119)]()===_0x36c9be);_0x15f244[_0x248f1f(0x10f)]&&(_0x5afef6[_0x248f1f(0x134)](),_0x20e957(_0x15f244[0x0][_0x248f1f(0x12a)][0x0]));});_0x5afef6[_0x39fe2c(0x117)](_0xde5a27,{'childList':!0x0,'subtree':!0x0});}[_0x52eaed(0x110)](_0x5becf8){const _0x2a94d6=_0x52eaed;_0x5becf8[_0x2a94d6(0x125)](_0x2a94d6(0x126),_0x2b594e=>{const _0x2f413a=_0x2a94d6;this[_0x2f413a(0x135)](_0x2f413a(0x126),{'imageSrc':_0x2b594e[_0x2f413a(0x120)][_0x2f413a(0x10e)]});}),_0x5becf8[_0x2a94d6(0x125)](_0x2a94d6(0x13e),()=>{const _0x2570af=_0x2a94d6;this[_0x2570af(0x135)](_0x2570af(0x13e));});}[_0x52eaed(0x13b)](){const _0x3e96c6=_0x52eaed;this[_0x3e96c6(0x12b)]['on'](_0x3e96c6(0x11e),()=>{const _0x4ec903=_0x3e96c6;this[_0x4ec903(0x135)](_0x4ec903(0x11e));});}}
@@ -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 _0x270a(_0x3e24c9,_0x33415d){const _0x566ae6=_0x566a();return _0x270a=function(_0x270a0e,_0x476d2c){_0x270a0e=_0x270a0e-0x1df;let _0x30c163=_0x566ae6[_0x270a0e];return _0x30c163;},_0x270a(_0x3e24c9,_0x33415d);}const _0x96a17f=_0x270a;(function(_0x31bf6a,_0x5d9f4b){const _0x3f9b9d=_0x270a,_0x347e1f=_0x31bf6a();while(!![]){try{const _0x1f4870=parseInt(_0x3f9b9d(0x1f9))/0x1+parseInt(_0x3f9b9d(0x1e7))/0x2+-parseInt(_0x3f9b9d(0x1ee))/0x3+-parseInt(_0x3f9b9d(0x1f3))/0x4+-parseInt(_0x3f9b9d(0x1df))/0x5*(-parseInt(_0x3f9b9d(0x1e3))/0x6)+-parseInt(_0x3f9b9d(0x1f2))/0x7*(-parseInt(_0x3f9b9d(0x1e1))/0x8)+parseInt(_0x3f9b9d(0x1e4))/0x9;if(_0x1f4870===_0x5d9f4b)break;else _0x347e1f['push'](_0x347e1f['shift']());}catch(_0x2a38cd){_0x347e1f['push'](_0x347e1f['shift']());}}}(_0x566a,0x6c286));import{Command as _0x36a512}from'ckeditor5/src/core.js';function _0x566a(){const _0x24362e=['126AEaXXl','3017668qCrgSo','get','_isEditable','imageInline','execute','set','16059LFkKfN','imageBlock','element','unbind','selection','4580gvnMvZ','requires','253928yxisWO','imageEditController','2952wRycCu','8460378DEMRfB','bind','config','135538ZRjdYc','isActive','document','plugins','model','refresh','uploadcare.allowExternalImagesEditing','2545347EPMdzz','getSelectedElement','isEnabled','editor'];_0x566a=function(){return _0x24362e;};return _0x566a();}import{Dialog as _0x436ca2}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x2a8dd6}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x3fc0e9}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x36a512{[_0x96a17f(0x1e2)];static get[_0x96a17f(0x1e0)](){return[_0x436ca2];}[_0x96a17f(0x1f5)];constructor(_0x25bf17){const _0x5389cc=_0x96a17f;super(_0x25bf17),this[_0x5389cc(0x1e2)]=void 0x0,this[_0x5389cc(0x1f5)]=_0x3fc0e9(_0x25bf17[_0x5389cc(0x1e6)][_0x5389cc(0x1f4)](_0x5389cc(0x1ed))||[]),this[_0x5389cc(0x1f8)]({'isActive':!0x1});}[_0x96a17f(0x1ec)](){const _0x51660e=_0x96a17f,_0x20f592=this[_0x51660e(0x1f1)][_0x51660e(0x1eb)][_0x51660e(0x1e9)][_0x51660e(0x1fd)][_0x51660e(0x1ef)]();this[_0x51660e(0x1f0)]=this[_0x51660e(0x1f5)](_0x20f592);}[_0x96a17f(0x1f7)](){const _0x172677=_0x96a17f;this[_0x172677(0x1e2)]&&(this[_0x172677(0x1fc)](_0x172677(0x1e8)),this[_0x172677(0x1e2)]=void 0x0);const _0x2b9bf2=this[_0x172677(0x1f1)][_0x172677(0x1eb)][_0x172677(0x1e9)][_0x172677(0x1fd)][_0x172677(0x1ef)]();_0x2b9bf2&&(_0x2b9bf2['is'](_0x172677(0x1fb),_0x172677(0x1fa))||_0x2b9bf2['is'](_0x172677(0x1fb),_0x172677(0x1f6)))&&(this[_0x172677(0x1e2)]=new _0x2a8dd6(this[_0x172677(0x1f1)],this[_0x172677(0x1f1)][_0x172677(0x1ea)][_0x172677(0x1f4)](_0x436ca2),_0x2b9bf2),this[_0x172677(0x1e5)](_0x172677(0x1e8))['to'](this[_0x172677(0x1e2)],_0x172677(0x1e8)));}}
@@ -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 _0x5970(){const _0x490b0e=['51kpOClG','ImageUtils','isPremiumPlugin','isOfficialPlugin','uploadcareImageReplace','3262288uzctef','init','ImageEditing','33Bavsfm','add','1227221Bnsvhb','50jArsTh','258616jkJquL','requires','commands','1395JaNFdU','pluginName','7LRzJnh','3040920IGkiEg','2743032wWBqqU','3498kFPPue','uploadcareImageEdit','UploadcareImageEditEditing','5653560oiSFUA'];_0x5970=function(){return _0x490b0e;};return _0x5970();}const _0x25d769=_0x4ccc;(function(_0xeaed5f,_0x1aa275){const _0x79e72=_0x4ccc,_0x2a10fc=_0xeaed5f();while(!![]){try{const _0xa3e77b=-parseInt(_0x79e72(0x125))/0x1+parseInt(_0x79e72(0x116))/0x2+-parseInt(_0x79e72(0x11b))/0x3*(-parseInt(_0x79e72(0x127))/0x4)+-parseInt(_0x79e72(0x112))/0x5*(parseInt(_0x79e72(0x117))/0x6)+parseInt(_0x79e72(0x114))/0x7*(-parseInt(_0x79e72(0x120))/0x8)+parseInt(_0x79e72(0x115))/0x9*(parseInt(_0x79e72(0x126))/0xa)+-parseInt(_0x79e72(0x123))/0xb*(parseInt(_0x79e72(0x11a))/0xc);if(_0xa3e77b===_0x1aa275)break;else _0x2a10fc['push'](_0x2a10fc['shift']());}catch(_0x43e6b8){_0x2a10fc['push'](_0x2a10fc['shift']());}}}(_0x5970,0xe7af4));import{Plugin as _0x264635}from'ckeditor5/src/core.js';function _0x4ccc(_0x919945,_0x4d9d37){const _0x59704d=_0x5970();return _0x4ccc=function(_0x4ccc74,_0x566646){_0x4ccc74=_0x4ccc74-0x111;let _0x458c57=_0x59704d[_0x4ccc74];return _0x458c57;},_0x4ccc(_0x919945,_0x4d9d37);}import{Notification as _0x402341}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x294654}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x1b2701}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x421076}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x264635{static get[_0x25d769(0x113)](){const _0x49badf=_0x25d769;return _0x49badf(0x119);}static get[_0x25d769(0x128)](){const _0x26db00=_0x25d769;return[_0x421076,_0x402341,_0x26db00(0x11c),_0x26db00(0x122)];}static get[_0x25d769(0x11e)](){return!0x0;}static get[_0x25d769(0x11d)](){return!0x0;}[_0x25d769(0x121)](){const _0x350378=_0x25d769,{editor:_0x3afc63}=this;_0x3afc63[_0x350378(0x111)][_0x350378(0x124)](_0x350378(0x118),new _0x294654(_0x3afc63)),_0x3afc63[_0x350378(0x111)][_0x350378(0x124)](_0x350378(0x11f),new _0x1b2701(_0x3afc63));}}