@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260119.0 → 0.0.0-nightly-next-20260119.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(_0x41976a,_0x2f763a){var _0x6cbe1b=_0x3f55,_0x269fdc=_0x41976a();while(!![]){try{var _0x20692c=parseInt(_0x6cbe1b(0x129))/0x1+parseInt(_0x6cbe1b(0x12f))/0x2*(-parseInt(_0x6cbe1b(0x12e))/0x3)+parseInt(_0x6cbe1b(0x128))/0x4*(-parseInt(_0x6cbe1b(0x12b))/0x5)+parseInt(_0x6cbe1b(0x12d))/0x6*(-parseInt(_0x6cbe1b(0x127))/0x7)+parseInt(_0x6cbe1b(0x12a))/0x8+-parseInt(_0x6cbe1b(0x126))/0x9+-parseInt(_0x6cbe1b(0x12c))/0xa*(-parseInt(_0x6cbe1b(0x130))/0xb);if(_0x20692c===_0x2f763a)break;else _0x269fdc['push'](_0x269fdc['shift']());}catch(_0x1fd779){_0x269fdc['push'](_0x269fdc['shift']());}}}(_0x8dfa,0x82e7b));function _0x8dfa(){var _0x107b06=['309322EbXtXE','1880952hWTPHk','10145hDofwB','380FIpjoO','1362vEHpqw','5259ekhINy','350npWznz','699809aqIcIF','332001VJFcSh','32046UwTQpZ','2056prbDrC'];_0x8dfa=function(){return _0x107b06;};return _0x8dfa();}export{Uploadcare}from'./uploadcare.js';export{UploadcareEditing}from'./uploadcareediting.js';function _0x3f55(_0x4c53da,_0x3f18bf){var _0x8dfaee=_0x8dfa();return _0x3f55=function(_0x3f55fc,_0x419505){_0x3f55fc=_0x3f55fc-0x126;var _0x723bea=_0x8dfaee[_0x3f55fc];return _0x723bea;},_0x3f55(_0x4c53da,_0x3f18bf);}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';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 _0x568858=_0x4ff2;(function(_0x5b90d9,_0x5b18a5){const _0x41ab90=_0x4ff2,_0x132eac=_0x5b90d9();while(!![]){try{const _0x4f5e8a=-parseInt(_0x41ab90(0x1e8))/0x1+parseInt(_0x41ab90(0x1db))/0x2*(parseInt(_0x41ab90(0x203))/0x3)+-parseInt(_0x41ab90(0x1e7))/0x4+-parseInt(_0x41ab90(0x1ce))/0x5*(-parseInt(_0x41ab90(0x1d7))/0x6)+-parseInt(_0x41ab90(0x1c3))/0x7*(-parseInt(_0x41ab90(0x1ed))/0x8)+parseInt(_0x41ab90(0x1cd))/0x9*(parseInt(_0x41ab90(0x1d0))/0xa)+parseInt(_0x41ab90(0x1fc))/0xb;if(_0x4f5e8a===_0x5b18a5)break;else _0x132eac['push'](_0x132eac['shift']());}catch(_0x228a48){_0x132eac['push'](_0x132eac['shift']());}}}(_0x1b23,0xa57f6));function _0x1b23(){const _0x41a7c8=['element','_editing','width','1183464IKtMXy','74335NTRSUS','getOutputCollectionState','30MBDSZQ','insertImage','length','editing','getSelectedElement','Insert','setAttribute','18Zzdshu','image','Local','stopListening','760KCZwHw','configElement','getAPI','status','_initListeners','getLastPosition','setCurrentActivity','selection','stopDelegating','model','imageInfo','_insertAsset','571880QhqPMg','822937MmeVis','_initDialog','attributes','document','removeAllFiles','6736meReDq','plugins','view','change','initFlow','focus','hide','Replace','EDITOR_TOP_CENTER','ucContextId','text','doneFlow','done-click','removeSelectionAttribute','allEntries','6225164wLQAxt','ctxElement','get','_api','uploadCare','linkHref','_formView','1347fmfjHK','_editor','detail','imageInline','addEventListener','_dialog','imageBlock','source-list','execute','destroy','show','3892kMZSnn','_insertImage','_type','uuid','setSelection','isOpen','idle'];_0x1b23=function(){return _0x41a7c8;};return _0x1b23();}import{IconUploadcareImageUpload as _0x58f641}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x234df8}from'ckeditor5/src/utils.js';function _0x4ff2(_0x24feb3,_0x4131bd){const _0x1b23d2=_0x1b23();return _0x4ff2=function(_0x4ff244,_0x5657ae){_0x4ff244=_0x4ff244-0x1bb;let _0x52d98d=_0x1b23d2[_0x4ff244];return _0x52d98d;},_0x4ff2(_0x24feb3,_0x4131bd);}import{Dialog as _0x4a8e6b,DialogViewPosition as _0x567cd8}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x305aa5}from'./uploadcareformview.js';import{UploadcareSource as _0x254f0e}from'../uploadcareconfig.js';import{getTranslation as _0x381d0e}from'../utils/common-translations.js';import{getImageUrls as _0x731c54,getImageDimension as _0x108d2d}from'../utils/editingutils.js';import{isAncestor as _0x33db86}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
24
- _0x234df8(){[_0x568858(0x204)];[_0x568858(0x1bd)];[_0x568858(0x1cb)];[_0x568858(0x1ff)];[_0x568858(0x1c5)]=null;[_0x568858(0x202)]=null;constructor(_0x25ac00,_0x5cdd8d,_0xea33c1){const _0x4d9e00=_0x568858;super(),this[_0x4d9e00(0x204)]=_0x25ac00,this[_0x4d9e00(0x1cb)]=_0x5cdd8d,this[_0x4d9e00(0x1bd)]=_0x25ac00[_0x4d9e00(0x1ee)][_0x4d9e00(0x1fe)](_0x4a8e6b),this[_0x4d9e00(0x1ff)]=_0x5cdd8d[_0x4d9e00(0x1fd)][_0x4d9e00(0x1dd)](),this[_0x4d9e00(0x1c5)]=_0xea33c1,this[_0x4d9e00(0x1cb)][_0x4d9e00(0x1dc)][_0x4d9e00(0x1d6)](_0x4d9e00(0x1bf),this[_0x4d9e00(0x1c5)]),this[_0x4d9e00(0x1e9)](),this[_0x4d9e00(0x1df)](),this[_0x4d9e00(0x1ff)][_0x4d9e00(0x1f1)]();}[_0x568858(0x1c1)](){const _0x1d6dc4=_0x568858;this[_0x1d6dc4(0x202)]&&(this[_0x1d6dc4(0x202)][_0x1d6dc4(0x1c1)](),this[_0x1d6dc4(0x202)]=null),this[_0x1d6dc4(0x1ff)]&&this[_0x1d6dc4(0x1ff)][_0x1d6dc4(0x1f8)](),this[_0x1d6dc4(0x1da)](),this[_0x1d6dc4(0x1e3)]();}[_0x568858(0x1e9)](){const _0x1e2005=_0x568858,{locale:_0xde9866,model:_0x42a818}=this[_0x1e2005(0x204)],_0x4a1ac1=_0x42a818[_0x1e2005(0x1eb)][_0x1e2005(0x1e2)][_0x1e2005(0x1d4)](),_0x2807a9=_0x4a1ac1&&(_0x4a1ac1['is'](_0x1e2005(0x1ca),_0x1e2005(0x1be))||_0x4a1ac1['is'](_0x1e2005(0x1ca),_0x1e2005(0x1bb)));this[_0x1e2005(0x202)]=new _0x305aa5(_0xde9866,this[_0x1e2005(0x1cb)][_0x1e2005(0x1f6)]),this[_0x1e2005(0x1bd)][_0x1e2005(0x1c2)]({'id':_0x1e2005(0x200),'icon':_0x58f641,'title':_0x381d0e(_0xde9866,this[_0x1e2005(0x1c5)],_0x2807a9?_0x1e2005(0x1f4):_0x1e2005(0x1d5))[_0x1e2005(0x1f7)],'content':this[_0x1e2005(0x202)],'position':_0x567cd8[_0x1e2005(0x1f5)],'isModal':!0x0,'onShow':()=>{const _0x338992=_0x1e2005;this[_0x338992(0x202)][_0x338992(0x1f2)]();},'onHide':()=>{const _0x5673ca=_0x1e2005;this[_0x5673ca(0x1ff)][_0x5673ca(0x1ec)](),this[_0x5673ca(0x204)][_0x5673ca(0x1d3)][_0x5673ca(0x1ef)][_0x5673ca(0x1f2)](),this[_0x5673ca(0x1c1)]();},'keystrokeHandlerOptions':{'filter':_0x1fee67=>!_0x33db86(_0x1fee67,this[_0x1e2005(0x202)][_0x1e2005(0x1ca)])}});}[_0x568858(0x1df)](){const _0x5ec6b9=_0x568858;this[_0x5ec6b9(0x1cb)][_0x5ec6b9(0x1fd)][_0x5ec6b9(0x1bc)](_0x5ec6b9(0x1f9),()=>{const _0x18d088=_0x5ec6b9,{allEntries:_0xb3780e}=this[_0x18d088(0x1ff)][_0x18d088(0x1cf)]();this[_0x18d088(0x204)][_0x18d088(0x1e4)][_0x18d088(0x1f0)](_0x9b3520=>{const _0x33a739=_0x18d088,_0x8602f=_0xb3780e[_0x33a739(0x1d2)];for(const _0x201bfb of _0xb3780e){const _0x2dcd1e=_0x201bfb===_0xb3780e[_0x8602f-0x1],{cdnUrl:_0x44ec66,fileInfo:_0x4f1cea}=_0x201bfb;if(!_0x44ec66||!_0x4f1cea)continue;const {width:_0x4b87f0,height:_0x131435}=_0x4f1cea[_0x33a739(0x1e5)],_0x5ef64f=_0x108d2d(_0x44ec66,_0x4b87f0,_0x131435),_0x501055=_0x731c54(_0x44ec66,_0x5ef64f[_0x33a739(0x1cc)]),_0x57ab87={'id':_0x4f1cea[_0x33a739(0x1c6)],'type':_0x33a739(0x1d8),'attributes':{'imageDimension':_0x5ef64f,..._0x501055}};this[_0x33a739(0x1e6)](_0x57ab87,_0x2dcd1e,_0x9b3520);}}),this[_0x18d088(0x1bd)][_0x18d088(0x1f3)]();}),this[_0x5ec6b9(0x1cb)][_0x5ec6b9(0x1fd)][_0x5ec6b9(0x1bc)](_0x5ec6b9(0x1f0),_0x149069=>{const _0x5114c7=_0x5ec6b9;_0x5114c7(0x1c9)===_0x149069[_0x5114c7(0x205)][_0x5114c7(0x1de)]&&!_0x149069[_0x5114c7(0x205)][_0x5114c7(0x1fb)][_0x5114c7(0x1d2)]&&this[_0x5114c7(0x1bd)][_0x5114c7(0x1c8)]&&(this[_0x5114c7(0x1c5)]===_0x254f0e[_0x5114c7(0x1d9)]?this[_0x5114c7(0x1ff)][_0x5114c7(0x1e1)](_0x254f0e[_0x5114c7(0x1d9)]):this[_0x5114c7(0x1ff)][_0x5114c7(0x1f1)]());});}[_0x568858(0x1e6)](_0x2932f4,_0x1ee473,_0x41d0d4){const _0x1f8408=_0x568858,_0x1a9641=this[_0x1f8408(0x204)][_0x1f8408(0x1e4)][_0x1f8408(0x1eb)][_0x1f8408(0x1e2)],_0x2259f8=_0x1a9641[_0x1f8408(0x1d4)](),_0x2ec564=!(!_0x2259f8||!_0x2259f8['is'](_0x1f8408(0x1ca),_0x1f8408(0x1bb)));_0x41d0d4[_0x1f8408(0x1fa)](_0x1f8408(0x201)),this[_0x1f8408(0x1c4)](_0x2932f4,_0x2ec564),_0x1ee473||_0x41d0d4[_0x1f8408(0x1c7)](_0x1a9641[_0x1f8408(0x1e0)]());}[_0x568858(0x1c4)](_0x294d3c,_0x12646b){const _0x19e11a=_0x568858,_0x886c41=this[_0x19e11a(0x204)],{imageDimension:_0xd33b0f,imageFallbackUrl:_0x5f0bec,imageSources:_0x16dd56}=_0x294d3c[_0x19e11a(0x1ea)];_0x886c41[_0x19e11a(0x1c0)](_0x19e11a(0x1d1),{'imageType':_0x12646b?_0x19e11a(0x1bb):null,'source':{'uploadcareImageId':_0x294d3c['id'],'src':_0x5f0bec,'sources':_0x16dd56,..._0xd33b0f}});}}
@@ -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 _0x1190(_0x29e458,_0x4b29a1){var _0x4cb33a=_0x4cb3();return _0x1190=function(_0x119008,_0x1284cf){_0x119008=_0x119008-0x1c9;var _0x16c9e2=_0x4cb33a[_0x119008];return _0x16c9e2;},_0x1190(_0x29e458,_0x4b29a1);}var _0x17221c=_0x1190;(function(_0x490105,_0x2bd023){var _0x16ab1d=_0x1190,_0x7c1cd7=_0x490105();while(!![]){try{var _0x3e1be1=-parseInt(_0x16ab1d(0x1dd))/0x1*(-parseInt(_0x16ab1d(0x1d5))/0x2)+parseInt(_0x16ab1d(0x1d6))/0x3*(-parseInt(_0x16ab1d(0x1cf))/0x4)+parseInt(_0x16ab1d(0x1d7))/0x5+-parseInt(_0x16ab1d(0x1cd))/0x6*(parseInt(_0x16ab1d(0x1de))/0x7)+parseInt(_0x16ab1d(0x1dc))/0x8+-parseInt(_0x16ab1d(0x1c9))/0x9+parseInt(_0x16ab1d(0x1ce))/0xa*(-parseInt(_0x16ab1d(0x1d2))/0xb);if(_0x3e1be1===_0x2bd023)break;else _0x7c1cd7['push'](_0x7c1cd7['shift']());}catch(_0xc57b54){_0x7c1cd7['push'](_0x7c1cd7['shift']());}}}(_0x4cb3,0xabbaf));function _0x4cb3(){var _0xcca786=['988738SWNrYC','3Omtaqd','3886700AIazzF','element','getFocusableElement','focus','setTemplate','2173408jKARQp','2ckwJfo','1876zCZFjp','108819OTFTeN','ck-uploadcare-theme','ck-reset_all-excluded','uc-file-uploader-inline','23988eIUeNf','370kLtNsP','752604RrASYo','ck-uploadcare-form','div','18623PtrADG','uploader-','uc-light'];_0x4cb3=function(){return _0xcca786;};return _0x4cb3();}import{DialogFocusManagerView as _0x139873}from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x139873{constructor(_0x176777,_0x41e737){var _0x1cbaef=_0x1190;super(_0x176777),this[_0x1cbaef(0x1db)]({'tag':_0x1cbaef(0x1d1),'attributes':{'class':['ck',_0x1cbaef(0x1cb),_0x1cbaef(0x1d0)],'tabindex':'-1'},'children':[{'tag':_0x1cbaef(0x1cc),'attributes':{'class':[_0x1cbaef(0x1d4),_0x1cbaef(0x1ca)],'ctx-name':_0x1cbaef(0x1d3)+_0x41e737}},this[_0x1cbaef(0x1d9)]()]});}[_0x17221c(0x1da)](){var _0x71366d=_0x17221c;this[_0x71366d(0x1d8)][_0x71366d(0x1da)]();}}
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 _0x19286c=_0x3bfa;(function(_0x38dc2e,_0x30907b){const _0x50c169=_0x3bfa,_0xaca26e=_0x38dc2e();while(!![]){try{const _0x4f4069=parseInt(_0x50c169(0x92))/0x1+-parseInt(_0x50c169(0x81))/0x2+parseInt(_0x50c169(0x7f))/0x3+parseInt(_0x50c169(0x89))/0x4*(-parseInt(_0x50c169(0x83))/0x5)+parseInt(_0x50c169(0x84))/0x6*(parseInt(_0x50c169(0x88))/0x7)+-parseInt(_0x50c169(0x8f))/0x8*(parseInt(_0x50c169(0x90))/0x9)+parseInt(_0x50c169(0x87))/0xa;if(_0x4f4069===_0x30907b)break;else _0xaca26e['push'](_0xaca26e['shift']());}catch(_0x5ccd29){_0xaca26e['push'](_0xaca26e['shift']());}}}(_0x34bd,0x8c03b));function _0x34bd(){const _0x229435=['598143ZVkFTj','defineLocale','558956YzPMGq','pluginName','5ULVYBi','666njTXtW','Uploadcare','locale','10488910GRRMGn','44723zvvHxs','4060436DvYAes','config','_defineLocale','requires','uploadcare.locale','editor','176352sjYGgN','459cIehdZ','uploadcare.uploader.sourceList','1034879iwlDxu','Local','isOfficialPlugin','defineComponents','isPremiumPlugin','get','define','contentLanguage','URL'];_0x34bd=function(){return _0x229435;};return _0x34bd();}import{Plugin as _0x2f4102}from'ckeditor5/src/core.js';import{UploadcareUI as _0xf23c4}from'./uploadcareui.js';import{UploadcareEditing as _0x3a108c}from'./uploadcareediting.js';function _0x3bfa(_0x128df2,_0x3eafe2){const _0x34bdef=_0x34bd();return _0x3bfa=function(_0x3bfa35,_0x3ab629){_0x3bfa35=_0x3bfa35-0x7b;let _0x230482=_0x34bdef[_0x3bfa35];return _0x230482;},_0x3bfa(_0x128df2,_0x3eafe2);}import{UploadcareSource as _0x511f9c}from'./uploadcareconfig.js';import*as _0x51a7ba from'@uploadcare/file-uploader';export class Uploadcare extends _0x2f4102{static get[_0x19286c(0x8c)](){return[_0x3a108c,_0xf23c4];}static get[_0x19286c(0x82)](){const _0x23499c=_0x19286c;return _0x23499c(0x85);}static get[_0x19286c(0x94)](){return!0x0;}static get[_0x19286c(0x96)](){return!0x0;}constructor(_0x4c7e2c){const _0xf38a5c=_0x19286c;super(_0x4c7e2c),_0x4c7e2c[_0xf38a5c(0x8a)][_0xf38a5c(0x7c)](_0xf38a5c(0x91),[_0x511f9c[_0xf38a5c(0x93)],_0x511f9c[_0xf38a5c(0x7e)]]),_0x51a7ba[_0xf38a5c(0x95)](_0x51a7ba),this[_0xf38a5c(0x8b)]();}[_0x19286c(0x8b)](){const _0x3d235f=_0x19286c,_0x1dc2ff=this[_0x3d235f(0x8e)][_0x3d235f(0x8a)][_0x3d235f(0x7b)](_0x3d235f(0x8d)),_0x1c580e=this[_0x3d235f(0x8e)][_0x3d235f(0x86)][_0x3d235f(0x7d)];_0x1dc2ff&&_0x51a7ba[_0x3d235f(0x80)](_0x1c580e,_0x1dc2ff);}}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- *
4
- *
5
- *
6
- *
7
- * +---------------------------------------------------------------------------------+
8
- * | |
9
- * | Hello stranger! |
10
- * | |
11
- * | |
12
- * | What you're currently looking at is the source code of a legally protected, |
13
- * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
- * | are forbidden and will result in legal consequences. |
15
- * | |
16
- * | |
17
- * +---------------------------------------------------------------------------------+
18
- *
19
- *
20
- *
21
- *
22
- */
23
- var _0x26a3f4=_0x1979;(function(_0x3af663,_0x3e3e8e){var _0x24e610=_0x1979,_0x11bb70=_0x3af663();while(!![]){try{var _0x4f989d=-parseInt(_0x24e610(0x14c))/0x1+-parseInt(_0x24e610(0x140))/0x2*(-parseInt(_0x24e610(0x154))/0x3)+-parseInt(_0x24e610(0x155))/0x4+-parseInt(_0x24e610(0x14a))/0x5+-parseInt(_0x24e610(0x144))/0x6*(parseInt(_0x24e610(0x148))/0x7)+-parseInt(_0x24e610(0x151))/0x8+parseInt(_0x24e610(0x14b))/0x9;if(_0x4f989d===_0x3e3e8e)break;else _0x11bb70['push'](_0x11bb70['shift']());}catch(_0x5bb349){_0x11bb70['push'](_0x11bb70['shift']());}}}(_0x3b49,0xb8fab));function _0x1979(_0x180752,_0x20fa8a){var _0x3b4936=_0x3b49();return _0x1979=function(_0x1979d0,_0x2004bb){_0x1979d0=_0x1979d0-0x140;var _0x3fb0e5=_0x3b4936[_0x1979d0];return _0x3fb0e5;},_0x1979(_0x180752,_0x20fa8a);}import{Command as _0x59b8b2}from'ckeditor5/src/core.js';import{Dialog as _0x56bf50}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x505d06}from'./uploadcareediting.js';function _0x3b49(){var _0x467086=['insertImage','7984844ibTsAf','plugins','204035xQVfSJ','27768033BKNgKT','338551OfQGoJ','editor','destroy','_controller','execute','8157008WXFJyH','requires','_editing','54711ncxoeI','5060732PtsHjF','162ERzTZy','commands','_checkEnabled','isEnabled','6kCoVTR','get','refresh'];_0x3b49=function(){return _0x467086;};return _0x3b49();}import{UploadcareController as _0x451007}from'./ui/uploadcarecontroller.js';export class UploadcareCommand extends _0x59b8b2{[_0x26a3f4(0x153)];[_0x26a3f4(0x14f)]=null;static get[_0x26a3f4(0x152)](){return[_0x56bf50,_0x505d06];}constructor(_0x3cb540){var _0x3424fc=_0x26a3f4;super(_0x3cb540),this[_0x3424fc(0x153)]=_0x3cb540[_0x3424fc(0x149)][_0x3424fc(0x145)](_0x505d06);}[_0x26a3f4(0x146)](){var _0x54a9a5=_0x26a3f4;this[_0x54a9a5(0x143)]=this[_0x54a9a5(0x142)]();}[_0x26a3f4(0x150)](_0x313af3){var _0x1e5075=_0x26a3f4;this[_0x1e5075(0x14f)]&&(this[_0x1e5075(0x14f)][_0x1e5075(0x14e)](),this[_0x1e5075(0x14f)]=null),this[_0x1e5075(0x14f)]=new _0x451007(this[_0x1e5075(0x14d)],this[_0x1e5075(0x153)],_0x313af3);}[_0x26a3f4(0x142)](){var _0x50e79c=_0x26a3f4;return this[_0x50e79c(0x14d)][_0x50e79c(0x141)][_0x50e79c(0x145)](_0x50e79c(0x147))[_0x50e79c(0x143)];}}
@@ -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(_0x3ac7a0,_0x32e46c){var _0x38e53c=_0x3f4c,_0x22396a=_0x3ac7a0();while(!![]){try{var _0x99d8ee=-parseInt(_0x38e53c(0x12e))/0x1*(parseInt(_0x38e53c(0x12d))/0x2)+-parseInt(_0x38e53c(0x11b))/0x3+-parseInt(_0x38e53c(0x117))/0x4+parseInt(_0x38e53c(0x11d))/0x5+-parseInt(_0x38e53c(0x11e))/0x6+parseInt(_0x38e53c(0x126))/0x7*(-parseInt(_0x38e53c(0x11f))/0x8)+-parseInt(_0x38e53c(0x12a))/0x9*(-parseInt(_0x38e53c(0x127))/0xa);if(_0x99d8ee===_0x32e46c)break;else _0x22396a['push'](_0x22396a['shift']());}catch(_0x4433bc){_0x22396a['push'](_0x22396a['shift']());}}}(_0x1eec,0xd2f21));function _0x3f4c(_0x299f8e,_0xe40cad){var _0x1eec04=_0x1eec();return _0x3f4c=function(_0x3f4c10,_0x67ce27){_0x3f4c10=_0x3f4c10-0x117;var _0xddef14=_0x1eec04[_0x3f4c10];return _0xddef14;},_0x3f4c(_0x299f8e,_0xe40cad);}export var UploadcareSource;!function(_0x117ef6){var _0x43326=_0x3f4c;_0x117ef6[_0x43326(0x124)]=_0x43326(0x119),_0x117ef6[_0x43326(0x118)]=_0x43326(0x11a),_0x117ef6[_0x43326(0x129)]=_0x43326(0x12b),_0x117ef6[_0x43326(0x128)]=_0x43326(0x120),_0x117ef6[_0x43326(0x12c)]=_0x43326(0x125),_0x117ef6[_0x43326(0x122)]=_0x43326(0x123),_0x117ef6[_0x43326(0x11c)]=_0x43326(0x121);}(UploadcareSource||(UploadcareSource={}));function _0x1eec(){var _0x45da7f=['54jzeNqd','dropbox','Facebook','7558odHtkb','341efrARo','1266292PSJYMh','URL','local','url','1669062htyQpq','OneDrive','2363280kHvDtD','7780188VETkjs','8asafUZ','gdrive','onedrive','GPhotos','gphotos','Local','facebook','10287571GpGzCv','8865490eOTIMr','GDrive','Dropbox'];_0x1eec=function(){return _0x45da7f;};return _0x1eec();}
@@ -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 _0xe2ceae=_0x3677;(function(_0x492b00,_0x27ee93){const _0x5f4519=_0x3677,_0x3ab3ce=_0x492b00();while(!![]){try{const _0x7499aa=-parseInt(_0x5f4519(0x13f))/0x1*(parseInt(_0x5f4519(0x135))/0x2)+-parseInt(_0x5f4519(0x109))/0x3*(parseInt(_0x5f4519(0xfb))/0x4)+-parseInt(_0x5f4519(0xf6))/0x5+-parseInt(_0x5f4519(0xf7))/0x6+-parseInt(_0x5f4519(0x103))/0x7*(-parseInt(_0x5f4519(0x130))/0x8)+parseInt(_0x5f4519(0xf8))/0x9*(-parseInt(_0x5f4519(0x12b))/0xa)+-parseInt(_0x5f4519(0x136))/0xb*(-parseInt(_0x5f4519(0x144))/0xc);if(_0x7499aa===_0x27ee93)break;else _0x3ab3ce['push'](_0x3ab3ce['shift']());}catch(_0x1575e9){_0x3ab3ce['push'](_0x3ab3ce['shift']());}}}(_0x3100,0x24249));import{Plugin as _0x22b338}from'ckeditor5/src/core.js';import{Dialog as _0x109b07}from'ckeditor5/src/ui.js';import{createElement as _0x48d8c1,global as _0x180a80,uid as _0x3d985c}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x8ebd34}from'./uploadcarecommand.js';function _0x3100(){const _0x178fd1=['isPremiumPlugin','uploadcare.uploader','locale','94112GRllYT','selection','editor','replaceImageSource','uc-upload-ctx-provider','328612YOzdZR','9005865QtWNTB','uc-config','#uc-icon-arrow-down','destroy','getSelectedElement','imageBlock','querySelector','isOfficialPlugin','_ctxElement','1ynlJpr','appendChild','isRegistered','attributeToAttribute','get','12IPBuYd','commands','_initConfig','_initConversion','requires','true','document','view','contentLanguage','1468290dWgnVH','1189146CsbipX','386010cJNFok','extend','join','376676oGDLXW','_configElement','uploadcareImageId','config','render','map','schema','pluginName','175IeXBpN','upcast','iconHrefResolver','uploader-','elementToAttribute','input[uploadcare-file-input]','3EvDytz','uploadcareImageReplace','model','downcast','_initImageProcessingIndicator','ucContextId','init','configElement','cleanupImage','execute','UploadcareEditing','insertImage','closeMax','uploadcare.pubkey','_initCtx','_initSchema','listenTo','afterInit','removeAttribute','for','ctxElement','\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','once','fromCharCode','imageInline','uploadcare','data-uc-image-id','conversion','editing','add','remove','PictureEditing','getAttribute','href','50hNsEDV','body'];_0x3100=function(){return _0x178fd1;};return _0x3100();}function _0x3677(_0x52882d,_0x28329a){const _0x310033=_0x3100();return _0x3677=function(_0x36779c,_0x31994a){_0x36779c=_0x36779c-0xf5;let _0x21cdb5=_0x310033[_0x36779c];return _0x21cdb5;},_0x3677(_0x52882d,_0x28329a);}import{UploadcareUploadAdapter as _0x389952}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x257a60}from'./utils/editingutils.js';export class UploadcareEditing extends _0x22b338{[_0xe2ceae(0xfc)]=null;[_0xe2ceae(0x13e)]=null;static get[_0xe2ceae(0x102)](){const _0x1af594=_0xe2ceae;return _0x1af594(0x113);}static get[_0xe2ceae(0x148)](){const _0xc66120=_0xe2ceae;return[_0xc66120(0x128),_0x389952,_0x109b07];}static get[_0xe2ceae(0x13d)](){return!0x0;}static get[_0xe2ceae(0x12d)](){return!0x0;}[_0xe2ceae(0x10e)];get[_0xe2ceae(0x110)](){const _0x2f5ab1=_0xe2ceae;return this[_0x2f5ab1(0xfc)];}get[_0xe2ceae(0x11d)](){const _0x58c421=_0xe2ceae;return this[_0x58c421(0x13e)];}constructor(_0x591c1f){const _0x12b2fa=_0xe2ceae;super(_0x591c1f),this[_0x12b2fa(0x10e)]=_0x3d985c();}[_0xe2ceae(0x10f)](){const _0x52fb26=_0xe2ceae,_0x41fa47=this[_0x52fb26(0x132)];_0x41fa47[_0x52fb26(0x145)][_0x52fb26(0x126)](_0x52fb26(0x122),new _0x8ebd34(_0x41fa47));}[_0xe2ceae(0x11a)](){const _0x1cb5f9=_0xe2ceae;this[_0x1cb5f9(0x118)](),this[_0x1cb5f9(0x147)](),this[_0x1cb5f9(0x146)](),this[_0x1cb5f9(0x117)](),this[_0x1cb5f9(0x10d)](),this[_0x1cb5f9(0x119)](this[_0x1cb5f9(0x132)],_0x1cb5f9(0x139),()=>{const _0x490433=_0x1cb5f9;this[_0x490433(0xfc)]&&(this[_0x490433(0xfc)][_0x490433(0x127)](),this[_0x490433(0xfc)]=null),this[_0x490433(0x13e)]&&(this[_0x490433(0x13e)][_0x490433(0x127)](),this[_0x490433(0x13e)]=null);const _0x409f74=_0x180a80[_0x490433(0x14a)][_0x490433(0x13c)](_0x490433(0x108));_0x409f74&&_0x409f74[_0x490433(0x127)]();}),async function(_0x3fc763){const _0x1e5c9f=_0x129fe7([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]),_0x1c8fef=0x535f8c3a,_0x277b9e=0x5358f37a^_0x1c8fef,_0x1281fa=window[_0x129fe7([0x44,0x61,0x74,0x65])][_0x129fe7([0x6e,0x6f,0x77])](),_0x2c0212=_0x3fc763[_0x129fe7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xa5bf14=new window[(_0x129fe7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56d5c6=>{_0x2c0212[_0x129fe7([0x6f,0x6e,0x63,0x65])](_0x129fe7([0x72,0x65,0x61,0x64,0x79]),_0x56d5c6);}),_0x4be2ca={[_0x129fe7([0x6b,0x74,0x79])]:_0x129fe7([0x45,0x43]),[_0x129fe7([0x75,0x73,0x65])]:_0x129fe7([0x73,0x69,0x67]),[_0x129fe7([0x63,0x72,0x76])]:_0x129fe7([0x50,0x2d,0x32,0x35,0x36]),[_0x129fe7([0x78])]:_0x129fe7([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]),[_0x129fe7([0x79])]:_0x129fe7([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]),[_0x129fe7([0x61,0x6c,0x67])]:_0x129fe7([0x45,0x53,0x32,0x35,0x36])},_0x2ee728=_0x2c0212[_0x129fe7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x129fe7([0x67,0x65,0x74])](_0x129fe7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x529578(){let _0x5d2256,_0x260655=null,_0x4e52d3=null;try{if(_0x2ee728==_0x129fe7([0x47,0x50,0x4c]))return _0x129fe7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5d2256=_0x561791(),!_0x5d2256)return _0x129fe7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5d2256[_0x129fe7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e52d3=_0x55eeea(_0x5d2256[_0x129fe7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5d2256[_0x129fe7([0x6a,0x74,0x69])])),await _0x54ac()?_0x4e0d6c()?_0xbb86ff()?_0x129fe7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53b07c()?(_0x5d2256[_0x129fe7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x129fe7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x260655=_0x4c0754(_0x129fe7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4bfe85()):_0x129fe7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x129fe7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x129fe7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x129fe7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0xbb86ff(){const _0x2140e8=[_0x129fe7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x129fe7([0x74,0x72,0x69,0x61,0x6c])][_0x129fe7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d2256[_0x129fe7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1281fa/0x3e8:0xe10*_0x277b9e;return _0x5d2256[_0x129fe7([0x65,0x78,0x70])]<_0x2140e8;}function _0x4e0d6c(){const _0x3d91cc=_0x5d2256[_0x129fe7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3d91cc&&(!!_0x3d91cc[_0x129fe7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x129fe7([0x2a]))||!!_0x3d91cc[_0x129fe7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x129fe7([0x55,0x50,0x4c,0x43])));}function _0x53b07c(){const _0xc2cceb=_0x3677,_0x3b46d5=_0x5d2256[_0x129fe7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3b46d5||0x0==_0x3b46d5[_0x129fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d5bb6}=new URL(window[_0x129fe7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xc2cceb(0x12a)]);if(_0x3b46d5[_0x129fe7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d5bb6))return!0x0;const _0x511157=_0x1d5bb6[_0x129fe7([0x73,0x70,0x6c,0x69,0x74])](_0x129fe7([0x2e]));return _0x3b46d5[_0x129fe7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4573e9=>_0x4573e9[_0x129fe7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x129fe7([0x2a])))[_0x129fe7([0x6d,0x61,0x70])](_0x5335b8=>_0x5335b8[_0x129fe7([0x73,0x70,0x6c,0x69,0x74])](_0x129fe7([0x2e])))[_0x129fe7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x371419=>_0x371419[_0x129fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x511157[_0x129fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x129fe7([0x6d,0x61,0x70])](_0xcd843b=>Array(_0x511157[_0x129fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xcd843b[_0x129fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x129fe7([0x66,0x69,0x6c,0x6c])](_0xcd843b[0x0]===_0x129fe7([0x2a])?_0x129fe7([0x2a]):'')[_0x129fe7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xcd843b))[_0x129fe7([0x73,0x6f,0x6d,0x65])](_0x7804ca=>_0x511157[_0x129fe7([0x65,0x76,0x65,0x72,0x79])]((_0x2616f3,_0x1963de)=>_0x7804ca[_0x1963de]===_0x2616f3||_0x7804ca[_0x1963de]===_0x129fe7([0x2a])));}function _0x4bfe85(){return _0x260655&&_0x4e52d3?new window[(_0x129fe7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x438846,_0x362a4d)=>{_0x260655[_0x129fe7([0x74,0x68,0x65,0x6e])](_0x438846,_0x362a4d),_0x4e52d3[_0x129fe7([0x74,0x68,0x65,0x6e])](_0x25f770=>{_0x25f770!=_0x129fe7([0x56,0x61,0x6c,0x69,0x64])&&_0x438846(_0x25f770);},_0x362a4d);}):_0x260655||_0x4e52d3||_0x129fe7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x55eeea(_0x58f6e5,_0x2101f0){return new window[(_0x129fe7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4aa7fb=>{if(_0x391144())return _0x4aa7fb(_0x129fe7([0x56,0x61,0x6c,0x69,0x64]));_0x4db3b3(),_0x2c0212[_0x129fe7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x129fe7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49a12d=!0x1;const _0x370272=_0x3d985c();function _0x1c063d(_0x41cf86){return!!_0x41cf86&&(typeof _0x41cf86===_0x129fe7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x41cf86===_0x129fe7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x41cf86[_0x129fe7([0x74,0x68,0x65,0x6e])]===_0x129fe7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x41cf86[_0x129fe7([0x63,0x61,0x74,0x63,0x68])]===_0x129fe7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c9720(_0x2a6cd7){_0x3b2d24(_0x2a6cd7)[_0x129fe7([0x74,0x68,0x65,0x6e])](_0x5af6d2=>{if(!_0x5af6d2||_0x5af6d2[_0x129fe7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x129fe7([0x6f,0x6b]))return _0x129fe7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38b1f2(_0x37adba(_0x370272+_0x2101f0))!=_0x5af6d2[_0x129fe7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x129fe7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x129fe7([0x56,0x61,0x6c,0x69,0x64]);})[_0x129fe7([0x74,0x68,0x65,0x6e])](_0x2a3b65=>(_0x3781cd(),_0x2a3b65),()=>{const _0x2a251d=_0x58710f();return null==_0x2a251d?(_0x3781cd(),_0x129fe7([0x56,0x61,0x6c,0x69,0x64])):_0x129fe7(_0x1281fa-_0x2a251d>(0x7753083a^_0x1c8fef)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x129fe7([0x74,0x68,0x65,0x6e])](_0x4aa7fb)[_0x129fe7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4aa7fb(_0x129fe7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd05389=0x536962ba^_0x1c8fef;function _0x3781cd(){const _0x3dbf90=_0x129fe7([0x6c,0x6c,0x63,0x74,0x2d])+_0x38b1f2(_0x37adba(_0x58f6e5)),_0x3ffd55=_0x5e77ef(_0x38b1f2(window[_0x129fe7([0x4d,0x61,0x74,0x68])][_0x129fe7([0x63,0x65,0x69,0x6c])](_0x1281fa/_0xd05389)));window[_0x129fe7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x129fe7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3dbf90,_0x3ffd55);}function _0x58710f(){const _0x26c6a2=_0x129fe7([0x6c,0x6c,0x63,0x74,0x2d])+_0x38b1f2(_0x37adba(_0x58f6e5)),_0x1b5679=window[_0x129fe7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x129fe7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26c6a2);return _0x1b5679?window[_0x129fe7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e77ef(_0x1b5679),0x10)*_0xd05389:null;}function _0x3b2d24(_0x130857){return new window[(_0x129fe7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x161f9b,_0x41bad3)=>{_0x130857[_0x129fe7([0x74,0x68,0x65,0x6e])](_0x161f9b,_0x41bad3),window[_0x129fe7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x41bad3,0x535e58fa^_0x1c8fef);});}}_0x2c0212[_0x129fe7([0x6f,0x6e])](_0x129fe7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x556c4e,_0x2d5a6b)=>{if(_0x2d5a6b[0x0]!=_0x58f6e5)return _0x4aa7fb(_0x129fe7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2d5a6b[0x1]={..._0x2d5a6b[0x1],[_0x129fe7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x370272};},{[_0x129fe7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x129fe7([0x68,0x69,0x67,0x68])}),_0x2c0212[_0x129fe7([0x6f,0x6e])](_0x129fe7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x473ae0=>{_0x1c063d(_0x473ae0[_0x129fe7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49a12d=!0x0,_0x3c9720(_0x473ae0[_0x129fe7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x129fe7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x129fe7([0x6c,0x6f,0x77])}),_0xa5bf14[_0x129fe7([0x74,0x68,0x65,0x6e])](()=>{_0x49a12d||_0x4aa7fb(_0x129fe7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x391144(){return _0x2c0212[_0x129fe7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x129fe7([0x76,0x69,0x65,0x77])][_0x129fe7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x129fe7([0x61,0x75,0x74,0x6f]);}function _0x4db3b3(){_0x2c0212[_0x129fe7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x129fe7([0x76,0x69,0x65,0x77])][_0x129fe7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x129fe7([0x61,0x75,0x74,0x6f]);}}function _0x4c0754(_0x4435ad){const _0x34e73e=[new window[(_0x129fe7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x465598=>setTimeout(_0x465598,0x5356b2f6^_0x1c8fef)),_0xa5bf14[_0x129fe7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x129fe7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b9b5b=>{let _0x12b1f3=0x0;_0x2c0212[_0x129fe7([0x6d,0x6f,0x64,0x65,0x6c])][_0x129fe7([0x6f,0x6e])](_0x129fe7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c83a0,_0xcab3a3)=>{_0xcab3a3[0x0][_0x129fe7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x12b1f3++,_0x12b1f3==(0x535f89d2^_0x1c8fef)&&(_0x1b9b5b(),_0x5c83a0[_0x129fe7([0x6f,0x66,0x66])]());});}))];return window[_0x129fe7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x129fe7([0x72,0x61,0x63,0x65])](_0x34e73e)[_0x129fe7([0x74,0x68,0x65,0x6e])](()=>_0x4435ad);}async function _0x5fc17e(){await _0xa5bf14,_0x2c0212[_0x129fe7([0x6d,0x6f,0x64,0x65,0x6c])][_0x129fe7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xe46211,_0x2c0212[_0x129fe7([0x6d,0x6f,0x64,0x65,0x6c])][_0x129fe7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xe46211,_0x2c0212[_0x129fe7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x129fe7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb479da(_0x146827){const _0xa23d6=_0x40eea9();_0x2c0212[_0xa23d6]=_0x129fe7([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x146827,_0x146827!=_0x129fe7([0x56,0x61,0x6c,0x69,0x64])&&_0x5fc17e();}function _0x40eea9(){const _0x144eef=window[_0x129fe7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x129fe7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x129fe7([0x6e,0x6f,0x77])]())[_0x129fe7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x129fe7([0x2e]),'');let _0x10244f=_0x129fe7([0x68]);for(let _0x585f62=0x0;_0x585f62<_0x144eef[_0x129fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x585f62+=0x2){let _0x45db89=window[_0x129fe7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x144eef[_0x129fe7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x585f62,_0x585f62+0x2));_0x45db89>=_0x1e5c9f[_0x129fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45db89-=_0x1e5c9f[_0x129fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x10244f+=_0x1e5c9f[_0x45db89];}return _0x10244f;}function _0x561791(){const _0x594ceb=_0x2ee728[_0x129fe7([0x73,0x70,0x6c,0x69,0x74])](_0x129fe7([0x2e]));if(0x3!=_0x594ceb[_0x129fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2461f0(_0x594ceb[0x1]);function _0x2461f0(_0x3c0f1f){const _0x3884a3=_0x3086be(_0x3c0f1f);return _0x3884a3&&_0x589031()?_0x3884a3:null;function _0x589031(){const _0x59a6a2=_0x3884a3[_0x129fe7([0x6a,0x74,0x69])],_0x5a0deb=window[_0x129fe7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59a6a2[_0x129fe7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59a6a2[_0x129fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1deb53={..._0x3884a3,[_0x129fe7([0x6a,0x74,0x69])]:_0x59a6a2[_0x129fe7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x59a6a2[_0x129fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1deb53[_0x129fe7([0x76,0x63])],_0x37adba(_0x1deb53)==_0x5a0deb;}}}async function _0x54ac(){let _0x9c004e=!0x0;try{const _0x22f515=_0x2ee728[_0x129fe7([0x73,0x70,0x6c,0x69,0x74])](_0x129fe7([0x2e])),[_0x2632b6,_0x58646e,_0x228a82]=_0x22f515;return _0x171c07(_0x2632b6),await _0x1d1dd6(_0x2632b6,_0x58646e,_0x228a82),_0x9c004e;}catch{return!0x1;}function _0x171c07(_0x616258){const _0x5b6e8a=_0x3086be(_0x616258);_0x5b6e8a&&_0x5b6e8a[_0x129fe7([0x61,0x6c,0x67])]==_0x129fe7([0x45,0x53,0x32,0x35,0x36])||(_0x9c004e=!0x1);}async function _0x1d1dd6(_0x2a1165,_0x1e5c06,_0x3665ca){const _0x3d666c=window[_0x129fe7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x129fe7([0x66,0x72,0x6f,0x6d])](_0x4023a4(_0x3665ca),_0x25b46a=>_0x25b46a[_0x129fe7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x10eee1=new window[(_0x129fe7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x129fe7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a1165+_0x129fe7([0x2e])+_0x1e5c06),_0x4ae68c=window[_0x129fe7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x129fe7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4ae68c)return;const _0x252b4d=await _0x4ae68c[_0x129fe7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x129fe7([0x6a,0x77,0x6b]),_0x4be2ca,{[_0x129fe7([0x6e,0x61,0x6d,0x65])]:_0x129fe7([0x45,0x43,0x44,0x53,0x41]),[_0x129fe7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x129fe7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x129fe7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4ae68c[_0x129fe7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x129fe7([0x6e,0x61,0x6d,0x65])]:_0x129fe7([0x45,0x43,0x44,0x53,0x41]),[_0x129fe7([0x68,0x61,0x73,0x68])]:{[_0x129fe7([0x6e,0x61,0x6d,0x65])]:_0x129fe7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x252b4d,_0x3d666c,_0x10eee1)||(_0x9c004e=!0x1);}}function _0x3086be(_0x215906){return _0x215906[_0x129fe7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x129fe7([0x65,0x79]))?JSON[_0x129fe7([0x70,0x61,0x72,0x73,0x65])](_0x4023a4(_0x215906)):null;}function _0x4023a4(_0x5aa11c){return window[_0x129fe7([0x61,0x74,0x6f,0x62])](_0x5aa11c[_0x129fe7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x129fe7([0x2b]))[_0x129fe7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x129fe7([0x2f])));}function _0x37adba(_0x32e222){let _0x1cab5d=0x1505;function _0x502099(_0x3c385f){for(let _0x188a1c=0x0;_0x188a1c<_0x3c385f[_0x129fe7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x188a1c++){const _0x12abe4=_0x3c385f[_0x129fe7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x188a1c);_0x1cab5d=(_0x1cab5d<<0x5)+_0x1cab5d+_0x12abe4,_0x1cab5d&=_0x1cab5d;}}function _0x37cbbd(_0x117658){Array[_0x129fe7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x117658)?_0x117658[_0x129fe7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x37cbbd):_0x117658&&typeof _0x117658==_0x129fe7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x129fe7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x117658)[_0x129fe7([0x73,0x6f,0x72,0x74])]()[_0x129fe7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x254b19,_0x59c8ad])=>{_0x502099(_0x254b19),_0x37cbbd(_0x59c8ad);}):_0x502099(window[_0x129fe7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x117658));}return _0x37cbbd(_0x32e222),_0x1cab5d>>>0x0;}function _0x38b1f2(_0x13fbd2){return _0x13fbd2[_0x129fe7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x129fe7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x129fe7([0x30]));}function _0x5e77ef(_0xd83eeb){return _0xd83eeb[_0x129fe7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x129fe7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x129fe7([0x6a,0x6f,0x69,0x6e])]('');}function _0xe46211(){}function _0x129fe7(_0x29c71c){const _0x514232=_0x3677;return _0x29c71c[_0x514232(0x100)](_0x1cb9bf=>String[_0x514232(0x120)](_0x1cb9bf))[_0x514232(0xfa)]('');}_0xb479da(await _0x529578());}(this);}[_0xe2ceae(0x118)](){const _0x385fad=_0xe2ceae,_0x18555a=this[_0x385fad(0x132)][_0x385fad(0x10b)][_0x385fad(0x101)];_0x18555a[_0x385fad(0x141)](_0x385fad(0x13b))&&_0x18555a[_0x385fad(0xf9)](_0x385fad(0x13b),{'allowAttributes':[_0x385fad(0xfd)]}),_0x18555a[_0x385fad(0x141)](_0x385fad(0x121))&&_0x18555a[_0x385fad(0xf9)](_0x385fad(0x121),{'allowAttributes':[_0x385fad(0xfd)]});}[_0xe2ceae(0x147)](){const _0x2690be=_0xe2ceae,_0x34ba34=this[_0x2690be(0x132)];_0x34ba34[_0x2690be(0x124)][_0x2690be(0x11c)](_0x2690be(0x10c))[_0x2690be(0x142)]({'model':_0x2690be(0xfd),'view':_0x2690be(0x123)}),_0x34ba34[_0x2690be(0x124)][_0x2690be(0x11c)](_0x2690be(0x104))[_0x2690be(0x107)]({'model':{'key':_0x2690be(0xfd),'value':_0x1b2fd8=>_0x1b2fd8[_0x2690be(0x129)](_0x2690be(0x123))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3d1ef4=_0x34ba34[_0x2690be(0x145)][_0x2690be(0x143)](_0x2690be(0x133));_0x3d1ef4&&this[_0x2690be(0x119)](_0x3d1ef4,_0x2690be(0x111),(_0x543a4a,[_0x33b67c,_0x243146])=>{const _0xf9b8eb=_0x2690be;_0x33b67c[_0xf9b8eb(0x11b)](_0xf9b8eb(0xfd),_0x243146);});}[_0xe2ceae(0x146)](){const _0x2b12cf=_0xe2ceae,_0x5edd64=this[_0x2b12cf(0x132)][_0x2b12cf(0xfe)][_0x2b12cf(0x143)](_0x2b12cf(0x12e))||{},_0x5a1414=this[_0x2b12cf(0x132)][_0x2b12cf(0xfe)][_0x2b12cf(0x143)](_0x2b12cf(0x116))||'';this[_0x2b12cf(0xfc)]=_0x48d8c1(_0x180a80[_0x2b12cf(0x14a)],_0x2b12cf(0x137),{..._0x5edd64,'pubkey':_0x5a1414,'ctx-name':_0x2b12cf(0x106)+this[_0x2b12cf(0x10e)],'sourceList':'','imgOnly':_0x2b12cf(0x149),'removeCopyright':_0x2b12cf(0x149),'localeName':this[_0x2b12cf(0x132)][_0x2b12cf(0x12f)][_0x2b12cf(0xf5)],'externalSourcesEmbedCss':_0x2b12cf(0x11e)}),this[_0x2b12cf(0xfc)][_0x2b12cf(0x105)]=_0xfd7b47=>{const _0x9eb9e1=_0x2b12cf;if(_0x9eb9e1(0x115)==_0xfd7b47)return _0x9eb9e1(0x138);},_0x180a80[_0x2b12cf(0x14a)][_0x2b12cf(0x12c)][_0x2b12cf(0x140)](this[_0x2b12cf(0xfc)]);}[_0xe2ceae(0x117)](){const _0x987a95=_0xe2ceae;this[_0x987a95(0x13e)]=_0x48d8c1(_0x180a80[_0x987a95(0x14a)],_0x987a95(0x134),{'ctx-name':_0x987a95(0x106)+this[_0x987a95(0x10e)]}),_0x180a80[_0x987a95(0x14a)][_0x987a95(0x12c)][_0x987a95(0x140)](this[_0x987a95(0x13e)]);}[_0xe2ceae(0x10d)](){const _0xbfc5d0=_0xe2ceae,_0x5ec074=this[_0xbfc5d0(0x132)][_0xbfc5d0(0x145)][_0xbfc5d0(0x143)](_0xbfc5d0(0x114));_0x5ec074&&this[_0xbfc5d0(0x119)](_0x5ec074,_0xbfc5d0(0x112),()=>{const _0x532a23=_0xbfc5d0,_0x5ce26b=this[_0x532a23(0x132)][_0x532a23(0x10b)][_0x532a23(0x14a)][_0x532a23(0x131)][_0x532a23(0x13a)]();_0x5ce26b&&_0x5ce26b[_0x532a23(0x129)](_0x532a23(0xfd))&&this[_0x532a23(0x132)][_0x532a23(0x125)][_0x532a23(0x14b)][_0x532a23(0x11f)](_0x532a23(0xff),()=>{const _0x4d3ab1=_0x532a23;_0x257a60(this[_0x4d3ab1(0x132)],_0x5ce26b);});});const _0x2d5cf7=this[_0xbfc5d0(0x132)][_0xbfc5d0(0x145)][_0xbfc5d0(0x143)](_0xbfc5d0(0x10a));_0x2d5cf7&&this[_0xbfc5d0(0x119)](_0x2d5cf7,_0xbfc5d0(0x112),()=>{const _0x38e694=_0xbfc5d0,_0x395853=this[_0x38e694(0x132)][_0x38e694(0x10b)][_0x38e694(0x14a)][_0x38e694(0x131)][_0x38e694(0x13a)]();_0x395853&&_0x395853[_0x38e694(0x129)](_0x38e694(0xfd))&&this[_0x38e694(0x132)][_0x38e694(0x125)][_0x38e694(0x14b)][_0x38e694(0x11f)](_0x38e694(0xff),()=>{const _0x4788ab=_0x38e694;_0x257a60(this[_0x4788ab(0x132)],_0x395853);});});}}
@@ -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 _0x241e5d,ObservableMixin as _0x216380}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x43ffb4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1578e4}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x55540e}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x895678}from'../../utils/uploadutils.js';import{getImageUrls as _0x2c0d23,getImageDimension as _0x152525}from'../../utils/editingutils.js';import{isAncestor as _0x90991f}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x216380(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x6cecc1,_0xdcf9e7,_0x47c1ce){super(),this['_editor']=_0x6cecc1,this['_dialog']=_0xdcf9e7,this['_imageElement']=_0x47c1ce,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 _0x1ec844=this['_imageElement'],_0xf79bd0=_0x1ec844['getAttribute']('uploadcareImageId'),_0xb7eff7=_0x1ec844['getAttribute']('src');if(_0xf79bd0)await this['_loadImageInfo'](_0xf79bd0,_0xb7eff7);else{if(this['_imageCache']['has'](_0xb7eff7)){const _0x313557=this['_imageCache']['get'](_0xb7eff7);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x313557['url'],this['imageDimension']=_0x313557['dimension'],this['imageId']=_0x313557['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x579789}=this['_editor'],t=_0x579789['t'],_0xd1f783=new _0x55540e(_0x579789,this['imageStatus'],this['_attributes']);_0xd1f783['bind']('status')['to'](this,'imageStatus'),_0xd1f783['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xd1f783['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xd1f783['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xd1f783,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1578e4,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xd1f783,'position':_0x43ffb4['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xd1f783['focus']();},'onHide':()=>{_0xd1f783['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x314001=>!_0x90991f(_0x314001,_0xd1f783['element'])}});}['_loadImageInfo'](_0x332a46,_0x52b5a1){return _0x895678['getInfo'](_0x332a46,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xd938e0=>{const {width:_0x11b0a7,height:_0x57e319}=_0xd938e0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x52b5a1,this['imageDimension']={'width':_0x11b0a7,'height':_0x57e319},this['imageId']=_0x332a46;})['catch'](_0x34d84f=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x34d84f['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x210b84,_0x2a4a29){return this['_getImageAsFile'](_0x210b84)['then'](_0x11e255=>_0x895678['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':_0x2a4a29['signal'],'file':_0x11e255,'onProgress':_0x171867=>{_0x171867&&_0x171867['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x171867['value']));}}))['then'](_0x2d97c0=>{const {width:_0x1bf6f8,height:_0x44c829}=_0x2d97c0['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2d97c0['cdnUrl'],this['imageDimension']={'width':_0x1bf6f8,'height':_0x44c829},this['imageId']=_0x2d97c0['uuid'],this['imageUploadProgress']=null;const _0x5e34e6=_0x210b84['getAttribute']('src');this['_imageCache']['set'](_0x5e34e6,{'id':_0x2d97c0['uuid'],'url':_0x2d97c0['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x330f8c=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x330f8c['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5f104e,_0x1c6047){_0x5f104e['on']('apply',(_0x47fcf9,_0x329914)=>{this['_replaceImage'](_0x1c6047,_0x329914['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5f104e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5f104e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2bee67,_0x51d822,_0x1539a7){const _0x5d0591=this['_editor'],{width:_0x4f822a,height:_0x191a76}=_0x152525(_0x51d822,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4112b4,imageSources:_0x44b392}=_0x2c0d23(_0x51d822,_0x4f822a);_0x5d0591['model']['change'](_0x28589f=>{if('$graveyard'===_0x2bee67['root']['rootName']){_0x5d0591['execute']('insertImage',{'imageType':_0x2bee67['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2bee67['getAttributes']()),'uploadcareImageId':_0x1539a7,'src':_0x4112b4,'sources':_0x44b392,'width':_0x4f822a,'height':_0x191a76}});const _0xc4ffb=_0x2bee67['getChildren']();_0x2bee67=_0x5d0591['model']['document']['selection']['getSelectedElement']();for(const _0x5a84b8 of _0xc4ffb)_0x28589f['append'](_0x28589f['cloneElement'](_0x5a84b8),_0x2bee67);}else _0x28589f['setSelection'](_0x2bee67,'on'),_0x5d0591['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2bee67['getAttributes']()),'uploadcareImageId':_0x1539a7,'src':_0x4112b4,'sources':_0x44b392,'width':_0x4f822a,'height':_0x191a76},_0x2bee67);_0x28589f['setSelection'](_0x2bee67,'on');});}async['_getImageAsFile'](_0x45066a){const _0x284300=_0x241e5d['window'],_0x4dc534=_0x241e5d['document']['location']['href'],_0x12ad31=new _0x284300['URL'](_0x45066a['getAttribute']('src'),_0x4dc534);if('data:'===_0x12ad31['protocol']){const _0x424423=_0x12ad31['href']['split'](','),_0x102848=_0x424423[0x0]['match'](/:(.*?);/)[0x1],_0x3e29f1=_0x102848['split']('/')[0x1],_0x1bfd08=_0x284300['atob'](_0x424423[_0x424423['length']-0x1]);let _0xb94bdd=_0x1bfd08['length'];const _0x23fb90=new _0x284300['Uint8Array'](_0xb94bdd);for(;_0xb94bdd--;)_0x23fb90[_0xb94bdd]=_0x1bfd08['charCodeAt'](_0xb94bdd);return new _0x284300['File']([_0x23fb90],'image.'+_0x3e29f1,{'type':_0x102848});}const _0x186dc=_0x12ad31['href']['split']('/'),_0x1d93d9=_0x186dc[_0x186dc['length']-0x1],_0x4d53e2=_0x1d93d9['split']('.')[0x1];return _0x284300['fetch'](_0x12ad31['href'])['then'](_0x1a88b8=>_0x1a88b8['clone']()['blob']())['then'](_0x5bb90f=>new _0x284300['File']([_0x5bb90f],_0x1d93d9,{'type':'image/'+_0x4d53e2}));}}
@@ -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 _0x4ac3(_0x213ff8,_0x3cf6e6){const _0x1a08c7=_0x1a08();return _0x4ac3=function(_0x4ac324,_0x2991eb){_0x4ac324=_0x4ac324-0x1f4;let _0x4b46fb=_0x1a08c7[_0x4ac324];return _0x4b46fb;},_0x4ac3(_0x213ff8,_0x3cf6e6);}(function(_0x144dce,_0xea5f2b){const _0x46151b=_0x4ac3,_0x4816de=_0x144dce();while(!![]){try{const _0x364a1b=-parseInt(_0x46151b(0x1f5))/0x1*(-parseInt(_0x46151b(0x1fd))/0x2)+parseInt(_0x46151b(0x1fc))/0x3*(parseInt(_0x46151b(0x1ff))/0x4)+parseInt(_0x46151b(0x1fe))/0x5*(-parseInt(_0x46151b(0x204))/0x6)+-parseInt(_0x46151b(0x1fa))/0x7*(-parseInt(_0x46151b(0x1f6))/0x8)+-parseInt(_0x46151b(0x208))/0x9*(parseInt(_0x46151b(0x203))/0xa)+parseInt(_0x46151b(0x205))/0xb+-parseInt(_0x46151b(0x1f7))/0xc*(parseInt(_0x46151b(0x1fb))/0xd);if(_0x364a1b===_0xea5f2b)break;else _0x4816de['push'](_0x4816de['shift']());}catch(_0x5743f5){_0x4816de['push'](_0x4816de['shift']());}}}(_0x1a08,0x2b73a));import{View as _0x2c20ff}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x2c20ff{constructor(_0xa0253a,_0x203541){const _0x573703=_0x4ac3;super(_0xa0253a);const _0x1bdae3=this[_0x573703(0x200)];this[_0x573703(0x1f9)](_0x573703(0x207),''),this[_0x573703(0x201)]({'tag':_0x573703(0x202),'attributes':{..._0x203541,'class':[_0x573703(0x1f4),_0x573703(0x1f8)],'ctx-name':_0x573703(0x206),'cdn-url':_0x1bdae3['to'](_0x573703(0x207))}});}}function _0x1a08(){const _0x3397c0=['setTemplate','uc-cloud-image-editor','10TvNBJI','25884BHJgcZ','1261997VMjrJz','image-edit','imageSrc','1673559haZAal','uc-light','41wDCIhc','2763416AorjxM','205596NOsppi','ck-uploadcare-theme','set','7BuAZBc','299KEHIJi','3894FUfEtY','1204CKBzSZ','55kqaHdQ','988tnzECq','bindTemplate'];_0x1a08=function(){return _0x3397c0;};return _0x1a08();}
@@ -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 _0x4181d2}from'ckeditor5/src/icons.js';import{ButtonView as _0x377bca,IconView as _0x3a9bce,View as _0x4d7797}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4d7797{constructor(_0x5ac984){super(_0x5ac984);const t=_0x5ac984['t'];this['set']('errorType',null);const _0xa077f7=new _0x377bca(_0x5ac984);_0xa077f7['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xa077f7['withText']=!0x0,_0xa077f7['class']='ck-button-action',_0xa077f7['on']('execute',()=>{this['fire']('retry');}),_0xa077f7['bind']('isVisible')['to'](this,'errorType',_0xe8062a=>'NotFound'!==_0xe8062a);const _0x253b34=new _0x3a9bce();_0x253b34['content']=_0x4181d2,_0x253b34['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xeaa084=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':[_0x253b34,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xeaa084['to']('errorType',_0x15edd1=>t('NotFound'!==_0x15edd1?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xa077f7]},{'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 _0x899387,View as _0x3e15f7}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3e15f7{constructor(_0x3f8b40){super(_0x3f8b40);const t=_0x3f8b40['t'],_0x43b1ce=this['bindTemplate'],_0x2caa69=new _0x899387();_0x2caa69['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':[_0x2caa69,{'text':_0x43b1ce['to']('imageUploadProgress',_0x2d3651=>t('Loading\x20image...')+'\x20('+(_0x2d3651||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 _0x166b65=_0x18e3;(function(_0x2e2520,_0x14a72e){const _0x177e47=_0x18e3,_0x40889c=_0x2e2520();while(!![]){try{const _0x3e733c=parseInt(_0x177e47(0x15e))/0x1*(parseInt(_0x177e47(0x15f))/0x2)+parseInt(_0x177e47(0x14a))/0x3*(parseInt(_0x177e47(0x134))/0x4)+-parseInt(_0x177e47(0x13d))/0x5+parseInt(_0x177e47(0x14d))/0x6*(parseInt(_0x177e47(0x14c))/0x7)+-parseInt(_0x177e47(0x155))/0x8*(-parseInt(_0x177e47(0x15b))/0x9)+-parseInt(_0x177e47(0x165))/0xa*(parseInt(_0x177e47(0x14e))/0xb)+parseInt(_0x177e47(0x13a))/0xc*(parseInt(_0x177e47(0x164))/0xd);if(_0x3e733c===_0x14a72e)break;else _0x40889c['push'](_0x40889c['shift']());}catch(_0x45d41a){_0x40889c['push'](_0x40889c['shift']());}}}(_0x397b,0x198d1));import{View as _0x59f721}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x2d4b84}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x1da795}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x5f1df1}from'./uploadcareimageeditformeditingview.js';function _0x397b(){const _0x13dfcf=['_addErrorViewListeners','toLowerCase','set','disconnect','addedNodes','1068472lFVaVL','detail','error','target','ck-reset_all-excluded','_addUploadcareImageEditorListeners','9BpqATW','_items','render','34574nXpahU','2PanckG','focus','filter','nodeName','clear','7527axoJbx','3780AFtIag','apply','status','querySelector','getFocusableElement','_waitForImageEditorComponent','uc-cloud-image-editor','ready','_setView','87452TeYOFy','cancel','uploading','change:status','_focusableView','_editingView','12KHkPJU','fire','_errorView','827400wicrfq','observe','createCollection','_loadingView','addMany','div','add','retry','once','setTemplate','addEventListener','length','ck-uploadcare-form','21zuJUwQ','element','28yBIBbx','60924CzUVYd','2684gWQlei','cdnUrl'];_0x397b=function(){return _0x13dfcf;};return _0x397b();}import{DialogFocusManagerView as _0x510f12}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x18e3(_0xab3e89,_0x5ab079){const _0x397b12=_0x397b();return _0x18e3=function(_0x18e363,_0x42d3f8){_0x18e363=_0x18e363-0x12c;let _0x1f9737=_0x397b12[_0x18e363];return _0x1f9737;},_0x18e3(_0xab3e89,_0x5ab079);}export class UploadcareImageEditFormView extends _0x510f12{[_0x166b65(0x15c)];[_0x166b65(0x140)];[_0x166b65(0x13c)];[_0x166b65(0x139)];[_0x166b65(0x138)];constructor(_0x31cec1,_0x44ebde,_0x51e9e6){const _0x4271da=_0x166b65;super(_0x31cec1),this[_0x4271da(0x15c)]=this[_0x4271da(0x13f)](),this[_0x4271da(0x140)]=new _0x2d4b84(_0x31cec1),this[_0x4271da(0x13c)]=new _0x1da795(_0x31cec1),this[_0x4271da(0x139)]=new _0x5f1df1(_0x31cec1,_0x51e9e6),this[_0x4271da(0x138)]=new _0x59f721(_0x31cec1),this[_0x4271da(0x138)][_0x4271da(0x146)](this[_0x4271da(0x12f)]()),this[_0x4271da(0x152)](_0x4271da(0x12d),_0x44ebde),this[_0x4271da(0x146)]({'tag':_0x4271da(0x142),'attributes':{'class':['ck',_0x4271da(0x159),_0x4271da(0x149)],'tabindex':'-1'},'children':this[_0x4271da(0x15c)]}),this[_0x4271da(0x133)](),this[_0x4271da(0x145)](_0x4271da(0x15d),()=>{const _0x5a142b=_0x4271da;this[_0x5a142b(0x130)](this[_0x5a142b(0x14b)],_0x259331=>{const _0x37577d=_0x5a142b;this[_0x37577d(0x15a)](_0x259331);});}),this['on'](_0x4271da(0x137),()=>{const _0x32598f=_0x4271da;this[_0x32598f(0x133)]();}),this[_0x4271da(0x150)]();}[_0x166b65(0x160)](){const _0x1f8502=_0x166b65;this[_0x1f8502(0x14b)][_0x1f8502(0x160)]();}[_0x166b65(0x133)](){const _0x476477=_0x166b65;switch(this[_0x476477(0x15c)][_0x476477(0x163)](),this[_0x476477(0x12d)]){case _0x476477(0x136):this[_0x476477(0x15c)][_0x476477(0x143)](this[_0x476477(0x140)]);break;case _0x476477(0x157):this[_0x476477(0x15c)][_0x476477(0x143)](this[_0x476477(0x13c)]);break;case _0x476477(0x132):this[_0x476477(0x15c)][_0x476477(0x141)]([this[_0x476477(0x139)],this[_0x476477(0x138)]]);}}[_0x166b65(0x130)](_0x549ec6,_0x446c15){const _0x25d509=_0x166b65,_0x1ae9cb=_0x25d509(0x131),_0x198b34=_0x549ec6[_0x25d509(0x12e)](_0x1ae9cb);if(_0x198b34)return _0x446c15(_0x198b34);const _0x3711e=new MutationObserver(_0x2593fe=>{const _0x956ac0=_0x25d509,_0x2b5620=_0x2593fe[_0x956ac0(0x161)](_0x14b10e=>_0x14b10e[_0x956ac0(0x158)]===_0x549ec6&&_0x14b10e[_0x956ac0(0x154)][_0x956ac0(0x148)]>0x0&&_0x14b10e[_0x956ac0(0x154)][0x0][_0x956ac0(0x162)][_0x956ac0(0x151)]()===_0x1ae9cb);_0x2b5620[_0x956ac0(0x148)]&&(_0x3711e[_0x956ac0(0x153)](),_0x446c15(_0x2b5620[0x0][_0x956ac0(0x154)][0x0]));});_0x3711e[_0x25d509(0x13e)](_0x549ec6,{'childList':!0x0,'subtree':!0x0});}[_0x166b65(0x15a)](_0x45824c){const _0x3b20c2=_0x166b65;_0x45824c[_0x3b20c2(0x147)](_0x3b20c2(0x12c),_0x4b773d=>{const _0x5f36e0=_0x3b20c2;this[_0x5f36e0(0x13b)](_0x5f36e0(0x12c),{'imageSrc':_0x4b773d[_0x5f36e0(0x156)][_0x5f36e0(0x14f)]});}),_0x45824c[_0x3b20c2(0x147)](_0x3b20c2(0x135),()=>{const _0xde48ea=_0x3b20c2;this[_0xde48ea(0x13b)](_0xde48ea(0x135));});}[_0x166b65(0x150)](){const _0x4c3654=_0x166b65;this[_0x4c3654(0x13c)]['on'](_0x4c3654(0x144),()=>{const _0x83225f=_0x4c3654;this[_0x83225f(0x13b)](_0x83225f(0x144));});}}
@@ -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 _0x10ff71=_0x49d3;(function(_0x2d33a3,_0x51307c){const _0x1bfea5=_0x49d3,_0xc0c1d6=_0x2d33a3();while(!![]){try{const _0x359ba7=-parseInt(_0x1bfea5(0x16c))/0x1*(-parseInt(_0x1bfea5(0x169))/0x2)+parseInt(_0x1bfea5(0x168))/0x3+parseInt(_0x1bfea5(0x15f))/0x4*(-parseInt(_0x1bfea5(0x17a))/0x5)+-parseInt(_0x1bfea5(0x15c))/0x6+parseInt(_0x1bfea5(0x162))/0x7+-parseInt(_0x1bfea5(0x178))/0x8+-parseInt(_0x1bfea5(0x160))/0x9*(parseInt(_0x1bfea5(0x17b))/0xa);if(_0x359ba7===_0x51307c)break;else _0xc0c1d6['push'](_0xc0c1d6['shift']());}catch(_0x5f00eb){_0xc0c1d6['push'](_0xc0c1d6['shift']());}}}(_0x7a3f,0x6f1d6));function _0x49d3(_0x386d1c,_0x1fedd5){const _0x7a3fd6=_0x7a3f();return _0x49d3=function(_0x49d3e9,_0x3d4ec9){_0x49d3e9=_0x49d3e9-0x15c;let _0x1339d3=_0x7a3fd6[_0x49d3e9];return _0x1339d3;},_0x49d3(_0x386d1c,_0x1fedd5);}import{Command as _0x40392a}from'ckeditor5/src/core.js';import{Dialog as _0x48ae18}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x5de412}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xf88e5f}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x40392a{[_0x10ff71(0x174)];static get[_0x10ff71(0x15e)](){return[_0x48ae18];}[_0x10ff71(0x16a)];constructor(_0x5eb93e){const _0xed9810=_0x10ff71;super(_0x5eb93e),this[_0xed9810(0x174)]=void 0x0,this[_0xed9810(0x16a)]=_0xf88e5f(_0x5eb93e[_0xed9810(0x15d)][_0xed9810(0x165)](_0xed9810(0x161))||[]),this[_0xed9810(0x164)]({'isActive':!0x1});}[_0x10ff71(0x171)](){const _0x49d0a1=_0x10ff71,_0x5a15a3=this[_0x49d0a1(0x163)][_0x49d0a1(0x16b)][_0x49d0a1(0x166)][_0x49d0a1(0x173)][_0x49d0a1(0x175)]();this[_0x49d0a1(0x172)]=this[_0x49d0a1(0x16a)](_0x5a15a3);}[_0x10ff71(0x177)](){const _0x44ca1e=_0x10ff71;this[_0x44ca1e(0x174)]&&(this[_0x44ca1e(0x179)](_0x44ca1e(0x16e)),this[_0x44ca1e(0x174)]=void 0x0);const _0xe3ae29=this[_0x44ca1e(0x163)][_0x44ca1e(0x16b)][_0x44ca1e(0x166)][_0x44ca1e(0x173)][_0x44ca1e(0x175)]();_0xe3ae29&&(_0xe3ae29['is'](_0x44ca1e(0x176),_0x44ca1e(0x167))||_0xe3ae29['is'](_0x44ca1e(0x176),_0x44ca1e(0x16f)))&&(this[_0x44ca1e(0x174)]=new _0x5de412(this[_0x44ca1e(0x163)],this[_0x44ca1e(0x163)][_0x44ca1e(0x16d)][_0x44ca1e(0x165)](_0x48ae18),_0xe3ae29),this[_0x44ca1e(0x170)](_0x44ca1e(0x16e))['to'](this[_0x44ca1e(0x174)],_0x44ca1e(0x16e)));}}function _0x7a3f(){const _0x155e0a=['getSelectedElement','element','execute','1318512sABDGF','unbind','125875NXmSRg','490jAxENN','5319474rkXvzH','config','requires','20hHedDo','116541qKUsSo','uploadcare.allowExternalImagesEditing','5174498iOFJCZ','editor','set','get','document','imageBlock','2366577Xgypcl','2154vkgKPu','_isEditable','model','686HqEihp','plugins','isActive','imageInline','bind','refresh','isEnabled','selection','imageEditController'];_0x7a3f=function(){return _0x155e0a;};return _0x7a3f();}
@@ -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 _0x270573=_0x5b86;(function(_0x251e97,_0x5931da){const _0x174c98=_0x5b86,_0xe20df6=_0x251e97();while(!![]){try{const _0x468fdf=parseInt(_0x174c98(0x1f9))/0x1+parseInt(_0x174c98(0x1f8))/0x2*(-parseInt(_0x174c98(0x1ed))/0x3)+-parseInt(_0x174c98(0x1eb))/0x4*(parseInt(_0x174c98(0x1f5))/0x5)+-parseInt(_0x174c98(0x1ea))/0x6*(-parseInt(_0x174c98(0x1ff))/0x7)+parseInt(_0x174c98(0x1fb))/0x8+parseInt(_0x174c98(0x1f7))/0x9*(-parseInt(_0x174c98(0x1f6))/0xa)+parseInt(_0x174c98(0x1f4))/0xb;if(_0x468fdf===_0x5931da)break;else _0xe20df6['push'](_0xe20df6['shift']());}catch(_0x3e4a4f){_0xe20df6['push'](_0xe20df6['shift']());}}}(_0x2aa2,0xb4a1e));import{Plugin as _0x15656e}from'ckeditor5/src/core.js';import{Notification as _0x3f96b2}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x144ff5}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x5d7624}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x10bd81}from'../uploadcareediting.js';function _0x5b86(_0x4c8381,_0x2445fd){const _0x2aa2ef=_0x2aa2();return _0x5b86=function(_0x5b86d9,_0x2a9857){_0x5b86d9=_0x5b86d9-0x1ea;let _0x32a167=_0x2aa2ef[_0x5b86d9];return _0x32a167;},_0x5b86(_0x4c8381,_0x2445fd);}function _0x2aa2(){const _0x5f2657=['103628vgoqSs','isOfficialPlugin','498cNOrCk','28FgGwjE','uploadcareImageReplace','102QDNeEI','pluginName','isPremiumPlugin','ImageEditing','add','ImageUtils','UploadcareImageEditEditing','7849523cgjoDM','238215ShfhhL','374830dwIjAM','315riSjuC','61930wRDmTS','1419286jHvpnm','commands','611800XqETpF','init','uploadcareImageEdit','requires'];_0x2aa2=function(){return _0x5f2657;};return _0x2aa2();}export class UploadcareImageEditEditing extends _0x15656e{static get[_0x270573(0x1ee)](){const _0xc7d7e6=_0x270573;return _0xc7d7e6(0x1f3);}static get[_0x270573(0x1fe)](){const _0x291a83=_0x270573;return[_0x10bd81,_0x3f96b2,_0x291a83(0x1f2),_0x291a83(0x1f0)];}static get[_0x270573(0x200)](){return!0x0;}static get[_0x270573(0x1ef)](){return!0x0;}[_0x270573(0x1fc)](){const _0x368b1c=_0x270573,{editor:_0x2fcd0b}=this;_0x2fcd0b[_0x368b1c(0x1fa)][_0x368b1c(0x1f1)](_0x368b1c(0x1fd),new _0x144ff5(_0x2fcd0b)),_0x2fcd0b[_0x368b1c(0x1fa)][_0x368b1c(0x1f1)](_0x368b1c(0x1ec),new _0x5d7624(_0x2fcd0b));}}