@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20250214.0 → 0.0.0-nightly-20250215.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 (403) hide show
  1. package/LICENSE.md +5 -0
  2. package/README.md +16 -5
  3. package/build/translations/af.js +1 -0
  4. package/build/translations/ar.js +1 -0
  5. package/build/translations/ast.js +1 -0
  6. package/build/translations/az.js +1 -0
  7. package/build/translations/bg.js +1 -0
  8. package/build/translations/bn.js +1 -0
  9. package/build/translations/bs.js +1 -0
  10. package/build/translations/ca.js +1 -0
  11. package/build/translations/cs.js +1 -0
  12. package/build/translations/da.js +1 -0
  13. package/build/translations/de-ch.js +1 -0
  14. package/build/translations/de.js +1 -0
  15. package/build/translations/el.js +1 -0
  16. package/build/translations/en-au.js +1 -0
  17. package/build/translations/en-gb.js +1 -0
  18. package/build/translations/eo.js +1 -0
  19. package/build/translations/es-co.js +1 -0
  20. package/build/translations/es.js +1 -0
  21. package/build/translations/et.js +1 -0
  22. package/build/translations/eu.js +1 -0
  23. package/build/translations/fa.js +1 -0
  24. package/build/translations/fi.js +1 -0
  25. package/build/translations/fr.js +1 -0
  26. package/build/translations/gl.js +1 -0
  27. package/build/translations/gu.js +1 -0
  28. package/build/translations/he.js +1 -0
  29. package/build/translations/hi.js +1 -0
  30. package/build/translations/hr.js +1 -0
  31. package/build/translations/hu.js +1 -0
  32. package/build/translations/hy.js +1 -0
  33. package/build/translations/id.js +1 -0
  34. package/build/translations/it.js +1 -0
  35. package/build/translations/ja.js +1 -0
  36. package/build/translations/jv.js +1 -0
  37. package/build/translations/kk.js +1 -0
  38. package/build/translations/km.js +1 -0
  39. package/build/translations/kn.js +1 -0
  40. package/build/translations/ko.js +1 -0
  41. package/build/translations/ku.js +1 -0
  42. package/build/translations/lt.js +1 -0
  43. package/build/translations/lv.js +1 -0
  44. package/build/translations/ms.js +1 -0
  45. package/build/translations/nb.js +1 -0
  46. package/build/translations/ne.js +1 -0
  47. package/build/translations/nl.js +1 -0
  48. package/build/translations/no.js +1 -0
  49. package/build/translations/oc.js +1 -0
  50. package/build/translations/pl.js +1 -0
  51. package/build/translations/pt-br.js +1 -0
  52. package/build/translations/pt.js +1 -0
  53. package/build/translations/ro.js +1 -0
  54. package/build/translations/ru.js +1 -0
  55. package/build/translations/si.js +1 -0
  56. package/build/translations/sk.js +1 -0
  57. package/build/translations/sl.js +1 -0
  58. package/build/translations/sq.js +1 -0
  59. package/build/translations/sr-latn.js +1 -0
  60. package/build/translations/sr.js +1 -0
  61. package/build/translations/sv.js +1 -0
  62. package/build/translations/th.js +1 -0
  63. package/build/translations/ti.js +1 -0
  64. package/build/translations/tk.js +1 -0
  65. package/build/translations/tr.js +1 -0
  66. package/build/translations/tt.js +1 -0
  67. package/build/translations/ug.js +1 -0
  68. package/build/translations/uk.js +1 -0
  69. package/build/translations/ur.js +1 -0
  70. package/build/translations/uz.js +1 -0
  71. package/build/translations/vi.js +1 -0
  72. package/build/translations/zh-cn.js +1 -0
  73. package/build/translations/zh.js +1 -0
  74. package/build/uploadcare.js +2 -1
  75. package/ckeditor5-metadata.json +1 -1
  76. package/dist/index.js +3 -3
  77. package/dist/translations/af.d.ts +8 -0
  78. package/dist/translations/af.js +23 -0
  79. package/dist/translations/af.umd.js +23 -0
  80. package/dist/translations/ar.d.ts +8 -0
  81. package/dist/translations/ar.js +23 -0
  82. package/dist/translations/ar.umd.js +23 -0
  83. package/dist/translations/ast.d.ts +8 -0
  84. package/dist/translations/ast.js +23 -0
  85. package/dist/translations/ast.umd.js +23 -0
  86. package/dist/translations/az.d.ts +8 -0
  87. package/dist/translations/az.js +23 -0
  88. package/dist/translations/az.umd.js +23 -0
  89. package/dist/translations/bg.d.ts +8 -0
  90. package/dist/translations/bg.js +23 -0
  91. package/dist/translations/bg.umd.js +23 -0
  92. package/dist/translations/bn.d.ts +8 -0
  93. package/dist/translations/bn.js +23 -0
  94. package/dist/translations/bn.umd.js +23 -0
  95. package/dist/translations/bs.d.ts +8 -0
  96. package/dist/translations/bs.js +23 -0
  97. package/dist/translations/bs.umd.js +23 -0
  98. package/dist/translations/ca.d.ts +8 -0
  99. package/dist/translations/ca.js +23 -0
  100. package/dist/translations/ca.umd.js +23 -0
  101. package/dist/translations/cs.d.ts +8 -0
  102. package/dist/translations/cs.js +23 -0
  103. package/dist/translations/cs.umd.js +23 -0
  104. package/dist/translations/da.d.ts +8 -0
  105. package/dist/translations/da.js +23 -0
  106. package/dist/translations/da.umd.js +23 -0
  107. package/dist/translations/de-ch.d.ts +8 -0
  108. package/dist/translations/de-ch.js +23 -0
  109. package/dist/translations/de-ch.umd.js +23 -0
  110. package/dist/translations/de.d.ts +8 -0
  111. package/dist/translations/de.js +23 -0
  112. package/dist/translations/de.umd.js +23 -0
  113. package/dist/translations/el.d.ts +8 -0
  114. package/dist/translations/el.js +23 -0
  115. package/dist/translations/el.umd.js +23 -0
  116. package/dist/translations/en-au.d.ts +8 -0
  117. package/dist/translations/en-au.js +23 -0
  118. package/dist/translations/en-au.umd.js +23 -0
  119. package/dist/translations/en-gb.d.ts +8 -0
  120. package/dist/translations/en-gb.js +23 -0
  121. package/dist/translations/en-gb.umd.js +23 -0
  122. package/dist/translations/en.d.ts +8 -0
  123. package/dist/translations/en.js +23 -0
  124. package/dist/translations/en.umd.js +23 -0
  125. package/dist/translations/eo.d.ts +8 -0
  126. package/dist/translations/eo.js +23 -0
  127. package/dist/translations/eo.umd.js +23 -0
  128. package/dist/translations/es-co.d.ts +8 -0
  129. package/dist/translations/es-co.js +23 -0
  130. package/dist/translations/es-co.umd.js +23 -0
  131. package/dist/translations/es.d.ts +8 -0
  132. package/dist/translations/es.js +23 -0
  133. package/dist/translations/es.umd.js +23 -0
  134. package/dist/translations/et.d.ts +8 -0
  135. package/dist/translations/et.js +23 -0
  136. package/dist/translations/et.umd.js +23 -0
  137. package/dist/translations/eu.d.ts +8 -0
  138. package/dist/translations/eu.js +23 -0
  139. package/dist/translations/eu.umd.js +23 -0
  140. package/dist/translations/fa.d.ts +8 -0
  141. package/dist/translations/fa.js +23 -0
  142. package/dist/translations/fa.umd.js +23 -0
  143. package/dist/translations/fi.d.ts +8 -0
  144. package/dist/translations/fi.js +23 -0
  145. package/dist/translations/fi.umd.js +23 -0
  146. package/dist/translations/fr.d.ts +8 -0
  147. package/dist/translations/fr.js +23 -0
  148. package/dist/translations/fr.umd.js +23 -0
  149. package/dist/translations/gl.d.ts +8 -0
  150. package/dist/translations/gl.js +23 -0
  151. package/dist/translations/gl.umd.js +23 -0
  152. package/dist/translations/gu.d.ts +8 -0
  153. package/dist/translations/gu.js +23 -0
  154. package/dist/translations/gu.umd.js +23 -0
  155. package/dist/translations/he.d.ts +8 -0
  156. package/dist/translations/he.js +23 -0
  157. package/dist/translations/he.umd.js +23 -0
  158. package/dist/translations/hi.d.ts +8 -0
  159. package/dist/translations/hi.js +23 -0
  160. package/dist/translations/hi.umd.js +23 -0
  161. package/dist/translations/hr.d.ts +8 -0
  162. package/dist/translations/hr.js +23 -0
  163. package/dist/translations/hr.umd.js +23 -0
  164. package/dist/translations/hu.d.ts +8 -0
  165. package/dist/translations/hu.js +23 -0
  166. package/dist/translations/hu.umd.js +23 -0
  167. package/dist/translations/hy.d.ts +8 -0
  168. package/dist/translations/hy.js +23 -0
  169. package/dist/translations/hy.umd.js +23 -0
  170. package/dist/translations/id.d.ts +8 -0
  171. package/dist/translations/id.js +23 -0
  172. package/dist/translations/id.umd.js +23 -0
  173. package/dist/translations/it.d.ts +8 -0
  174. package/dist/translations/it.js +23 -0
  175. package/dist/translations/it.umd.js +23 -0
  176. package/dist/translations/ja.d.ts +8 -0
  177. package/dist/translations/ja.js +23 -0
  178. package/dist/translations/ja.umd.js +23 -0
  179. package/dist/translations/jv.d.ts +8 -0
  180. package/dist/translations/jv.js +23 -0
  181. package/dist/translations/jv.umd.js +23 -0
  182. package/dist/translations/kk.d.ts +8 -0
  183. package/dist/translations/kk.js +23 -0
  184. package/dist/translations/kk.umd.js +23 -0
  185. package/dist/translations/km.d.ts +8 -0
  186. package/dist/translations/km.js +23 -0
  187. package/dist/translations/km.umd.js +23 -0
  188. package/dist/translations/kn.d.ts +8 -0
  189. package/dist/translations/kn.js +23 -0
  190. package/dist/translations/kn.umd.js +23 -0
  191. package/dist/translations/ko.d.ts +8 -0
  192. package/dist/translations/ko.js +23 -0
  193. package/dist/translations/ko.umd.js +23 -0
  194. package/dist/translations/ku.d.ts +8 -0
  195. package/dist/translations/ku.js +23 -0
  196. package/dist/translations/ku.umd.js +23 -0
  197. package/dist/translations/lt.d.ts +8 -0
  198. package/dist/translations/lt.js +23 -0
  199. package/dist/translations/lt.umd.js +23 -0
  200. package/dist/translations/lv.d.ts +8 -0
  201. package/dist/translations/lv.js +23 -0
  202. package/dist/translations/lv.umd.js +23 -0
  203. package/dist/translations/ms.d.ts +8 -0
  204. package/dist/translations/ms.js +23 -0
  205. package/dist/translations/ms.umd.js +23 -0
  206. package/dist/translations/nb.d.ts +8 -0
  207. package/dist/translations/nb.js +23 -0
  208. package/dist/translations/nb.umd.js +23 -0
  209. package/dist/translations/ne.d.ts +8 -0
  210. package/dist/translations/ne.js +23 -0
  211. package/dist/translations/ne.umd.js +23 -0
  212. package/dist/translations/nl.d.ts +8 -0
  213. package/dist/translations/nl.js +23 -0
  214. package/dist/translations/nl.umd.js +23 -0
  215. package/dist/translations/no.d.ts +8 -0
  216. package/dist/translations/no.js +23 -0
  217. package/dist/translations/no.umd.js +23 -0
  218. package/dist/translations/oc.d.ts +8 -0
  219. package/dist/translations/oc.js +23 -0
  220. package/dist/translations/oc.umd.js +23 -0
  221. package/dist/translations/pl.d.ts +8 -0
  222. package/dist/translations/pl.js +23 -0
  223. package/dist/translations/pl.umd.js +23 -0
  224. package/dist/translations/pt-br.d.ts +8 -0
  225. package/dist/translations/pt-br.js +23 -0
  226. package/dist/translations/pt-br.umd.js +23 -0
  227. package/dist/translations/pt.d.ts +8 -0
  228. package/dist/translations/pt.js +23 -0
  229. package/dist/translations/pt.umd.js +23 -0
  230. package/dist/translations/ro.d.ts +8 -0
  231. package/dist/translations/ro.js +23 -0
  232. package/dist/translations/ro.umd.js +23 -0
  233. package/dist/translations/ru.d.ts +8 -0
  234. package/dist/translations/ru.js +23 -0
  235. package/dist/translations/ru.umd.js +23 -0
  236. package/dist/translations/si.d.ts +8 -0
  237. package/dist/translations/si.js +23 -0
  238. package/dist/translations/si.umd.js +23 -0
  239. package/dist/translations/sk.d.ts +8 -0
  240. package/dist/translations/sk.js +23 -0
  241. package/dist/translations/sk.umd.js +23 -0
  242. package/dist/translations/sl.d.ts +8 -0
  243. package/dist/translations/sl.js +23 -0
  244. package/dist/translations/sl.umd.js +23 -0
  245. package/dist/translations/sq.d.ts +8 -0
  246. package/dist/translations/sq.js +23 -0
  247. package/dist/translations/sq.umd.js +23 -0
  248. package/dist/translations/sr-latn.d.ts +8 -0
  249. package/dist/translations/sr-latn.js +23 -0
  250. package/dist/translations/sr-latn.umd.js +23 -0
  251. package/dist/translations/sr.d.ts +8 -0
  252. package/dist/translations/sr.js +23 -0
  253. package/dist/translations/sr.umd.js +23 -0
  254. package/dist/translations/sv.d.ts +8 -0
  255. package/dist/translations/sv.js +23 -0
  256. package/dist/translations/sv.umd.js +23 -0
  257. package/dist/translations/th.d.ts +8 -0
  258. package/dist/translations/th.js +23 -0
  259. package/dist/translations/th.umd.js +23 -0
  260. package/dist/translations/ti.d.ts +8 -0
  261. package/dist/translations/ti.js +23 -0
  262. package/dist/translations/ti.umd.js +23 -0
  263. package/dist/translations/tk.d.ts +8 -0
  264. package/dist/translations/tk.js +23 -0
  265. package/dist/translations/tk.umd.js +23 -0
  266. package/dist/translations/tr.d.ts +8 -0
  267. package/dist/translations/tr.js +23 -0
  268. package/dist/translations/tr.umd.js +23 -0
  269. package/dist/translations/tt.d.ts +8 -0
  270. package/dist/translations/tt.js +23 -0
  271. package/dist/translations/tt.umd.js +23 -0
  272. package/dist/translations/ug.d.ts +8 -0
  273. package/dist/translations/ug.js +23 -0
  274. package/dist/translations/ug.umd.js +23 -0
  275. package/dist/translations/uk.d.ts +8 -0
  276. package/dist/translations/uk.js +23 -0
  277. package/dist/translations/uk.umd.js +23 -0
  278. package/dist/translations/ur.d.ts +8 -0
  279. package/dist/translations/ur.js +23 -0
  280. package/dist/translations/ur.umd.js +23 -0
  281. package/dist/translations/uz.d.ts +8 -0
  282. package/dist/translations/uz.js +23 -0
  283. package/dist/translations/uz.umd.js +23 -0
  284. package/dist/translations/vi.d.ts +8 -0
  285. package/dist/translations/vi.js +23 -0
  286. package/dist/translations/vi.umd.js +23 -0
  287. package/dist/translations/zh-cn.d.ts +8 -0
  288. package/dist/translations/zh-cn.js +23 -0
  289. package/dist/translations/zh-cn.umd.js +23 -0
  290. package/dist/translations/zh.d.ts +8 -0
  291. package/dist/translations/zh.js +23 -0
  292. package/dist/translations/zh.umd.js +23 -0
  293. package/lang/contexts.json +0 -3
  294. package/lang/translations/af.po +100 -0
  295. package/lang/translations/ar.po +100 -0
  296. package/lang/translations/ast.po +100 -0
  297. package/lang/translations/az.po +100 -0
  298. package/lang/translations/bg.po +100 -0
  299. package/lang/translations/bn.po +100 -0
  300. package/lang/translations/bs.po +100 -0
  301. package/lang/translations/ca.po +100 -0
  302. package/lang/translations/cs.po +100 -0
  303. package/lang/translations/da.po +100 -0
  304. package/lang/translations/de-ch.po +100 -0
  305. package/lang/translations/de.po +100 -0
  306. package/lang/translations/el.po +100 -0
  307. package/lang/translations/en-au.po +100 -0
  308. package/lang/translations/en-gb.po +100 -0
  309. package/lang/translations/en.po +100 -0
  310. package/lang/translations/eo.po +100 -0
  311. package/lang/translations/es-co.po +100 -0
  312. package/lang/translations/es.po +100 -0
  313. package/lang/translations/et.po +100 -0
  314. package/lang/translations/eu.po +100 -0
  315. package/lang/translations/fa.po +100 -0
  316. package/lang/translations/fi.po +100 -0
  317. package/lang/translations/fr.po +100 -0
  318. package/lang/translations/gl.po +100 -0
  319. package/lang/translations/gu.po +100 -0
  320. package/lang/translations/he.po +100 -0
  321. package/lang/translations/hi.po +100 -0
  322. package/lang/translations/hr.po +100 -0
  323. package/lang/translations/hu.po +100 -0
  324. package/lang/translations/hy.po +100 -0
  325. package/lang/translations/id.po +100 -0
  326. package/lang/translations/it.po +100 -0
  327. package/lang/translations/ja.po +100 -0
  328. package/lang/translations/jv.po +100 -0
  329. package/lang/translations/kk.po +100 -0
  330. package/lang/translations/km.po +100 -0
  331. package/lang/translations/kn.po +100 -0
  332. package/lang/translations/ko.po +100 -0
  333. package/lang/translations/ku.po +100 -0
  334. package/lang/translations/lt.po +100 -0
  335. package/lang/translations/lv.po +100 -0
  336. package/lang/translations/ms.po +100 -0
  337. package/lang/translations/nb.po +100 -0
  338. package/lang/translations/ne.po +100 -0
  339. package/lang/translations/nl.po +100 -0
  340. package/lang/translations/no.po +100 -0
  341. package/lang/translations/oc.po +100 -0
  342. package/lang/translations/pl.po +100 -0
  343. package/lang/translations/pt-br.po +100 -0
  344. package/lang/translations/pt.po +100 -0
  345. package/lang/translations/ro.po +100 -0
  346. package/lang/translations/ru.po +100 -0
  347. package/lang/translations/si.po +100 -0
  348. package/lang/translations/sk.po +100 -0
  349. package/lang/translations/sl.po +100 -0
  350. package/lang/translations/sq.po +100 -0
  351. package/lang/translations/sr-latn.po +100 -0
  352. package/lang/translations/sr.po +100 -0
  353. package/lang/translations/sv.po +100 -0
  354. package/lang/translations/th.po +100 -0
  355. package/lang/translations/ti.po +100 -0
  356. package/lang/translations/tk.po +100 -0
  357. package/lang/translations/tr.po +100 -0
  358. package/lang/translations/tt.po +100 -0
  359. package/lang/translations/ug.po +100 -0
  360. package/lang/translations/uk.po +100 -0
  361. package/lang/translations/ur.po +100 -0
  362. package/lang/translations/uz.po +100 -0
  363. package/lang/translations/vi.po +100 -0
  364. package/lang/translations/zh-cn.po +100 -0
  365. package/lang/translations/zh.po +100 -0
  366. package/package.json +8 -9
  367. package/src/index.js +1 -1
  368. package/src/ui/uploadcarecontroller.d.ts +6 -2
  369. package/src/ui/uploadcarecontroller.js +2 -2
  370. package/src/ui/uploadcareformview.js +1 -1
  371. package/src/uploadcare.js +1 -1
  372. package/src/uploadcarecommand.js +1 -1
  373. package/src/uploadcareconfig.d.ts +9 -8
  374. package/src/uploadcareconfig.js +1 -1
  375. package/src/uploadcareediting.js +1 -1
  376. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  377. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  378. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +4 -1
  379. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  380. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  381. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  382. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  383. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  384. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  385. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  386. package/src/uploadcareimageedit.js +1 -1
  387. package/src/uploadcareui.js +1 -1
  388. package/src/uploadcareuploadadapter.js +1 -1
  389. package/src/utils/common-translations.js +1 -1
  390. package/src/utils/dialogfocusmanagerview.js +1 -1
  391. package/src/utils/editingutils.js +1 -1
  392. package/src/utils/isancestor.js +1 -1
  393. package/src/utils/uploadutils.js +1 -1
  394. package/theme/icons/dropbox.svg +11 -0
  395. package/theme/icons/error.svg +1 -0
  396. package/theme/icons/facebook.svg +11 -0
  397. package/theme/icons/google-drive.svg +11 -0
  398. package/theme/icons/google-photos.svg +11 -0
  399. package/theme/icons/image-upload.svg +11 -0
  400. package/theme/icons/link.svg +11 -0
  401. package/theme/icons/local.svg +11 -0
  402. package/theme/icons/onedrive.svg +11 -0
  403. package/theme/icons/uploadcare-image-edit.svg +11 -0
@@ -0,0 +1,100 @@
1
+ # Copyright (c) 2003-2025, 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: vi\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 "Chèn bằng Dropbox"
17
+
18
+ msgctxt "The label for the replace image with Dropbox dropdown button."
19
+ msgid "Replace with Dropbox"
20
+ msgstr "Thay thế bằng Dropbox"
21
+
22
+ msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
23
+ msgid "With Dropbox"
24
+ msgstr "Bằng Dropbox"
25
+
26
+ msgctxt "The label for the insert image with Facebook dropdown button."
27
+ msgid "Insert with Facebook"
28
+ msgstr "Chèn bằng Facebook"
29
+
30
+ msgctxt "The label for the replace image with Facebook dropdown button."
31
+ msgid "Replace with Facebook"
32
+ msgstr "Thay thế bằng Facebook"
33
+
34
+ msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
35
+ msgid "With Facebook"
36
+ msgstr "Bằng Facebook"
37
+
38
+ msgctxt "The label for the insert image with Google Drive dropdown button."
39
+ msgid "Insert with Google Drive"
40
+ msgstr "Chèn bằng Google Drive"
41
+
42
+ msgctxt "The label for the replace image with Google Drive dropdown button."
43
+ msgid "Replace with Google Drive"
44
+ msgstr "Thay thế bằng Google Drive"
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 "Bằng Google Drive"
49
+
50
+ msgctxt "The label for the insert image with Google Photos dropdown button."
51
+ msgid "Insert with Google Photos"
52
+ msgstr "Chèn bằng Google Photos"
53
+
54
+ msgctxt "The label for the replace image with Google Photos dropdown button."
55
+ msgid "Replace with Google Photos"
56
+ msgstr "Thay thế bằng Google Photos"
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 "Bằng Google Photos"
61
+
62
+ msgctxt "The label for the insert image with OneDrive dropdown button."
63
+ msgid "Insert with OneDrive"
64
+ msgstr "Chèn bằng OneDrive"
65
+
66
+ msgctxt "The label for the replace image with OneDrive dropdown button."
67
+ msgid "Replace with OneDrive"
68
+ msgstr "Thay thế bằng OneDrive"
69
+
70
+ msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
71
+ msgid "With OneDrive"
72
+ msgstr "Bằng OneDrive"
73
+
74
+ msgctxt "The label for the replace image via URL dropdown button."
75
+ msgid "Replace via URL"
76
+ msgstr "Thay thế qua URL"
77
+
78
+ msgctxt "The label for the image edit button and dialog."
79
+ msgid "Edit Image (Uploadcare)"
80
+ msgstr "Chỉnh sửa hình ảnh"
81
+
82
+ msgctxt "The label shown in the image edit dialog when the image is being uploaded."
83
+ msgid "Loading image..."
84
+ msgstr "Đang tải ảnh..."
85
+
86
+ msgctxt "The main text shown in the image edit dialog when the image upload failed."
87
+ msgid "Unable to load"
88
+ msgstr "Không thể tải"
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 "Chúng tôi không thể tải hình ảnh do sự cố kết nối mạng."
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 "Thử lại"
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 "Không tìm thấy hình ảnh. Nguồn của hình ảnh có thể đã bị xóa."
@@ -0,0 +1,100 @@
1
+ # Copyright (c) 2003-2025, 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_CN\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 Drive 插入"
41
+
42
+ msgctxt "The label for the replace image with Google Drive dropdown button."
43
+ msgid "Replace with Google Drive"
44
+ msgstr "通过 Google Drive 替换"
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 Drive"
49
+
50
+ msgctxt "The label for the insert image with Google Photos dropdown button."
51
+ msgid "Insert with Google Photos"
52
+ msgstr "通过 Google Photos 插入"
53
+
54
+ msgctxt "The label for the replace image with Google Photos dropdown button."
55
+ msgid "Replace with Google Photos"
56
+ msgstr "通过 Google Photos 替换"
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 Photos"
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 "未找到图片。其源可能已被删除。"
@@ -0,0 +1,100 @@
1
+ # Copyright (c) 2003-2025, 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 "找不到影像。影像來源可能已移除。"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-uploadcare",
3
- "version": "0.0.0-nightly-next-20250214.0",
3
+ "version": "0.0.0-nightly-20250215.0",
4
4
  "description": "Uploadcare feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -23,14 +23,13 @@
23
23
  "framework"
24
24
  ],
25
25
  "dependencies": {
26
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-next-20250214.0",
27
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-20250214.0",
28
- "@ckeditor/ckeditor5-image": "0.0.0-nightly-next-20250214.0",
29
- "@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-next-20250214.0",
30
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-20250214.0",
31
- "@ckeditor/ckeditor5-upload": "0.0.0-nightly-next-20250214.0",
32
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-20250214.0",
33
- "ckeditor5": "0.0.0-nightly-next-20250214.0",
26
+ "@ckeditor/ckeditor5-core": "0.0.0-nightly-20250215.0",
27
+ "@ckeditor/ckeditor5-image": "0.0.0-nightly-20250215.0",
28
+ "@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-20250215.0",
29
+ "@ckeditor/ckeditor5-ui": "0.0.0-nightly-20250215.0",
30
+ "@ckeditor/ckeditor5-upload": "0.0.0-nightly-20250215.0",
31
+ "@ckeditor/ckeditor5-utils": "0.0.0-nightly-20250215.0",
32
+ "ckeditor5": "0.0.0-nightly-20250215.0",
34
33
  "@uploadcare/file-uploader": "1.12.0",
35
34
  "@uploadcare/upload-client": "6.14.1"
36
35
  },
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x226a68,_0x444151){var _0x3b8216=_0x2738,_0x58c6c6=_0x226a68();while(!![]){try{var _0x2cbfe6=parseInt(_0x3b8216(0xb1))/0x1+-parseInt(_0x3b8216(0xac))/0x2*(parseInt(_0x3b8216(0xa9))/0x3)+parseInt(_0x3b8216(0xa8))/0x4+parseInt(_0x3b8216(0xae))/0x5+parseInt(_0x3b8216(0xb0))/0x6*(parseInt(_0x3b8216(0xb2))/0x7)+-parseInt(_0x3b8216(0xaa))/0x8*(-parseInt(_0x3b8216(0xab))/0x9)+parseInt(_0x3b8216(0xad))/0xa*(-parseInt(_0x3b8216(0xaf))/0xb);if(_0x2cbfe6===_0x444151)break;else _0x58c6c6['push'](_0x58c6c6['shift']());}catch(_0x30400c){_0x58c6c6['push'](_0x58c6c6['shift']());}}}(_0x1f9f,0xe5ab0));export{default as Uploadcare}from'./uploadcare.js';export{default as UploadcareEditing}from'./uploadcareediting.js';export{default as UploadcareUI}from'./uploadcareui.js';export{default as UploadcareImageEdit}from'./uploadcareimageedit.js';export{default as UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x1f9f(){var _0x3a91d9=['2508252ZxShmg','3BKBHTF','144tYgXqL','493866UmNlhK','413628PteABe','30PsKNWN','555140PcjmNI','10570483rjSdyc','6bQSFTx','1677877LfKOdU','4386851xfbsIr'];_0x1f9f=function(){return _0x3a91d9;};return _0x1f9f();}function _0x2738(_0x2465ec,_0x5d23e3){var _0x1f9faf=_0x1f9f();return _0x2738=function(_0x2738a8,_0x1072fb){_0x2738a8=_0x2738a8-0xa8;var _0x24ec56=_0x1f9faf[_0x2738a8];return _0x24ec56;},_0x2738(_0x2465ec,_0x5d23e3);}export{default as UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';import'./augmentation.js';
23
+ function _0x2a70(){var _0x4babe7=['362303fNmtKo','946955rQmdPl','831pmXOaD','6VHxiZN','4571487TCKsnJ','5817912ymAZmJ','2114770DFUTXQ','2377244idRGxq','1294wTXHte'];_0x2a70=function(){return _0x4babe7;};return _0x2a70();}(function(_0x52760d,_0x6f9d6a){var _0x3137a2=_0x1f2d,_0x33f498=_0x52760d();while(!![]){try{var _0x561b99=parseInt(_0x3137a2(0x10c))/0x1+-parseInt(_0x3137a2(0x10b))/0x2*(-parseInt(_0x3137a2(0x105))/0x3)+parseInt(_0x3137a2(0x10a))/0x4+-parseInt(_0x3137a2(0x104))/0x5*(parseInt(_0x3137a2(0x106))/0x6)+-parseInt(_0x3137a2(0x109))/0x7+-parseInt(_0x3137a2(0x108))/0x8+parseInt(_0x3137a2(0x107))/0x9;if(_0x561b99===_0x6f9d6a)break;else _0x33f498['push'](_0x33f498['shift']());}catch(_0x19d89e){_0x33f498['push'](_0x33f498['shift']());}}}(_0x2a70,0x67c4c));export{default as Uploadcare}from'./uploadcare.js';export{default as UploadcareEditing}from'./uploadcareediting.js';export{default as UploadcareUI}from'./uploadcareui.js';export{default as UploadcareImageEdit}from'./uploadcareimageedit.js';export{default as UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x1f2d(_0x28a9d3,_0x196f78){var _0x2a7031=_0x2a70();return _0x1f2d=function(_0x1f2d1f,_0xbb34ba){_0x1f2d1f=_0x1f2d1f-0x104;var _0x3eca6c=_0x2a7031[_0x1f2d1f];return _0x3eca6c;},_0x1f2d(_0x28a9d3,_0x196f78);}export{default as UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';import'./augmentation.js';
@@ -2,12 +2,16 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import type { Editor } from 'ckeditor5/src/core.js';
5
+ import { type Editor } from 'ckeditor5/src/core.js';
6
6
  import { UploadcareSource } from '../uploadcareconfig.js';
7
7
  import type UploadcareEditing from '../uploadcareediting.js';
8
8
  declare const UploadcareController_base: {
9
9
  new (): import("ckeditor5/src/utils.js").Observable;
10
- prototype: import("ckeditor5/src/utils.js").Observable;
10
+ prototype: import("ckeditor5/src/utils.js").Observable; /**
11
+ * Creates the Uploadcare form view and opens a dialog wit it.
12
+ *
13
+ * @internal
14
+ */
11
15
  };
12
16
  /**
13
17
  * The Uploadcare controller. It is used by the {@link module:uploadcare/uploadcarecommand~UploadcareCommand Uploadcare command}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x106699=_0x754b;(function(_0x3ac48a,_0x2472aa){const _0x42cf7f=_0x754b,_0x589a1c=_0x3ac48a();while(!![]){try{const _0x234156=parseInt(_0x42cf7f(0x129))/0x1*(-parseInt(_0x42cf7f(0x152))/0x2)+-parseInt(_0x42cf7f(0x137))/0x3*(-parseInt(_0x42cf7f(0x12f))/0x4)+-parseInt(_0x42cf7f(0x122))/0x5*(parseInt(_0x42cf7f(0x12d))/0x6)+-parseInt(_0x42cf7f(0x160))/0x7*(-parseInt(_0x42cf7f(0x13b))/0x8)+-parseInt(_0x42cf7f(0x13e))/0x9*(parseInt(_0x42cf7f(0x12c))/0xa)+-parseInt(_0x42cf7f(0x15c))/0xb*(parseInt(_0x42cf7f(0x154))/0xc)+-parseInt(_0x42cf7f(0x16a))/0xd*(-parseInt(_0x42cf7f(0x15f))/0xe);if(_0x234156===_0x2472aa)break;else _0x589a1c['push'](_0x589a1c['shift']());}catch(_0x4686ff){_0x589a1c['push'](_0x589a1c['shift']());}}}(_0x3d56,0xb3884));function _0x754b(_0x5298a2,_0x5f2113){const _0x3d5649=_0x3d56();return _0x754b=function(_0x754bc,_0x39960b){_0x754bc=_0x754bc-0x11e;let _0x3c4e6a=_0x3d5649[_0x754bc];return _0x3c4e6a;},_0x754b(_0x5298a2,_0x5f2113);}import{IconUploadcareImageUpload as _0x1a1928}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x4ceebc}from'ckeditor5/src/utils.js';import{Dialog as _0x6860be,DialogViewPosition as _0x24c031}from'ckeditor5/src/ui.js';import _0x151223 from'./uploadcareformview.js';function _0x3d56(){const _0x203286=['source-list','length','configElement','imageBlock','stopDelegating','EDITOR_TOP_CENTER','_insertAsset','17059081PigKcA','allEntries','imageInfo','_dialog','status','90FwFjVb','destroy','insertImage','change','model','_initDialog','_initListeners','37KilBti','hide','_formView','383530VMBCps','319086bfuina','Insert','12CkgeEz','editing','linkHref','doneFlow','detail','view','selection','addEventListener','214116pAtxvX','removeSelectionAttribute','getSelectedElement','removeAllFiles','292296YqYOOL','uuid','ctxElement','234PXXiRd','show','done-click','initFlow','_type','text','_api','Replace','imageInline','isOpen','setAttribute','attributes','_insertImage','setCurrentActivity','setSelection','_editor','get','execute','element','document','5372JrfwNa','getOutputCollectionState','12VTCZXL','width','focus','_editing','idle','stopListening','image','uploadCare','11394977IFoukS','plugins','getLastPosition','28YLCNpw','189CPdGwE','getAPI','Local'];_0x3d56=function(){return _0x203286;};return _0x3d56();}import{UploadcareSource as _0x168601}from'../uploadcareconfig.js';import{getTranslation as _0x9eb1f}from'../utils/common-translations.js';import{getImageUrls as _0x3e0d8a,getImageDimension as _0x19d0ed}from'../utils/editingutils.js';import{isAncestor as _0x5b1a32}from'../utils/isancestor.js';export default class l extends/* #__PURE__ -- @preserve */
24
- _0x4ceebc(){[_0x106699(0x14d)];[_0x106699(0x120)];[_0x106699(0x157)];[_0x106699(0x144)];[_0x106699(0x142)]=null;[_0x106699(0x12b)]=null;constructor(_0x9fe1ac,_0x3647dd,_0x34f80f){const _0x24a11e=_0x106699;super(),this[_0x24a11e(0x14d)]=_0x9fe1ac,this[_0x24a11e(0x157)]=_0x3647dd,this[_0x24a11e(0x120)]=_0x9fe1ac[_0x24a11e(0x15d)][_0x24a11e(0x14e)](_0x6860be),this[_0x24a11e(0x144)]=_0x3647dd[_0x24a11e(0x13d)][_0x24a11e(0x161)](),this[_0x24a11e(0x142)]=_0x34f80f,this[_0x24a11e(0x157)][_0x24a11e(0x165)][_0x24a11e(0x148)](_0x24a11e(0x163),this[_0x24a11e(0x142)]),this[_0x24a11e(0x127)](),this[_0x24a11e(0x128)](),this[_0x24a11e(0x144)][_0x24a11e(0x141)]();}[_0x106699(0x123)](){const _0x138755=_0x106699;this[_0x138755(0x12b)]&&(this[_0x138755(0x12b)][_0x138755(0x123)](),this[_0x138755(0x12b)]=null),this[_0x138755(0x144)]&&this[_0x138755(0x144)][_0x138755(0x132)](),this[_0x138755(0x159)](),this[_0x138755(0x167)]();}[_0x106699(0x127)](){const _0x493b3d=_0x106699,{locale:_0x20eb66,model:_0x6c7547}=this[_0x493b3d(0x14d)],_0x4ae4ac=_0x6c7547[_0x493b3d(0x151)][_0x493b3d(0x135)][_0x493b3d(0x139)](),_0x1e5bf4=_0x4ae4ac&&(_0x4ae4ac['is'](_0x493b3d(0x150),_0x493b3d(0x166))||_0x4ae4ac['is'](_0x493b3d(0x150),_0x493b3d(0x146)));this[_0x493b3d(0x12b)]=new _0x151223(_0x20eb66),this[_0x493b3d(0x120)][_0x493b3d(0x13f)]({'id':_0x493b3d(0x15b),'icon':_0x1a1928,'title':_0x9eb1f(_0x20eb66,this[_0x493b3d(0x142)],_0x1e5bf4?_0x493b3d(0x145):_0x493b3d(0x12e))[_0x493b3d(0x143)],'content':this[_0x493b3d(0x12b)],'position':_0x24c031[_0x493b3d(0x168)],'isModal':!0x0,'onShow':()=>{const _0x2028f0=_0x493b3d;this[_0x2028f0(0x12b)][_0x2028f0(0x156)]();},'onHide':()=>{const _0x24184d=_0x493b3d;this[_0x24184d(0x144)][_0x24184d(0x13a)](),this[_0x24184d(0x14d)][_0x24184d(0x130)][_0x24184d(0x134)][_0x24184d(0x156)](),this[_0x24184d(0x123)]();},'keystrokeHandlerOptions':{'filter':_0x5d64a6=>!_0x5b1a32(_0x5d64a6,this[_0x493b3d(0x12b)][_0x493b3d(0x150)])}});}[_0x106699(0x128)](){const _0x10118e=_0x106699;this[_0x10118e(0x157)][_0x10118e(0x13d)][_0x10118e(0x136)](_0x10118e(0x140),()=>{const _0x4d54de=_0x10118e,{allEntries:_0x3a5dab}=this[_0x4d54de(0x144)][_0x4d54de(0x153)]();this[_0x4d54de(0x14d)][_0x4d54de(0x126)][_0x4d54de(0x125)](_0x57a43e=>{const _0x5d4094=_0x4d54de,_0xd5df47=_0x3a5dab[_0x5d4094(0x164)];for(const _0x5c2232 of _0x3a5dab){const _0x1acb2a=_0x5c2232===_0x3a5dab[_0xd5df47-0x1],{cdnUrl:_0x4c340b,fileInfo:_0x1627bb}=_0x5c2232;if(!_0x4c340b||!_0x1627bb)continue;const {width:_0x26d5f6,height:_0x5b234e}=_0x1627bb[_0x5d4094(0x11f)],_0x5477e5=_0x19d0ed(_0x4c340b,_0x26d5f6,_0x5b234e),_0x47e36d=_0x3e0d8a(_0x4c340b,_0x5477e5[_0x5d4094(0x155)]),_0x30ab50={'id':_0x1627bb[_0x5d4094(0x13c)],'type':_0x5d4094(0x15a),'attributes':{'imageDimension':_0x5477e5,..._0x47e36d}};this[_0x5d4094(0x169)](_0x30ab50,_0x1acb2a,_0x57a43e);}}),this[_0x4d54de(0x120)][_0x4d54de(0x12a)]();}),this[_0x10118e(0x157)][_0x10118e(0x13d)][_0x10118e(0x136)](_0x10118e(0x125),_0x35008d=>{const _0x26294e=_0x10118e;_0x26294e(0x158)===_0x35008d[_0x26294e(0x133)][_0x26294e(0x121)]&&!_0x35008d[_0x26294e(0x133)][_0x26294e(0x11e)][_0x26294e(0x164)]&&this[_0x26294e(0x120)][_0x26294e(0x147)]&&(this[_0x26294e(0x142)]===_0x168601[_0x26294e(0x162)]?this[_0x26294e(0x144)][_0x26294e(0x14b)](_0x168601[_0x26294e(0x162)]):this[_0x26294e(0x144)][_0x26294e(0x141)]());});}[_0x106699(0x169)](_0xa457de,_0x3fac73,_0x40eb11){const _0x105732=_0x106699,_0x537d1e=this[_0x105732(0x14d)][_0x105732(0x126)][_0x105732(0x151)][_0x105732(0x135)],_0x14fbaf=_0x537d1e[_0x105732(0x139)](),_0x3dac48=!(!_0x14fbaf||!_0x14fbaf['is'](_0x105732(0x150),_0x105732(0x146)));_0x40eb11[_0x105732(0x138)](_0x105732(0x131)),this[_0x105732(0x14a)](_0xa457de,_0x3dac48),_0x3fac73||_0x40eb11[_0x105732(0x14c)](_0x537d1e[_0x105732(0x15e)]());}[_0x106699(0x14a)](_0x2cdca7,_0x240736){const _0x4eeb40=_0x106699,_0x27d354=this[_0x4eeb40(0x14d)],{imageDimension:_0x4a7c96,imageFallbackUrl:_0x579339,imageSources:_0xd710f}=_0x2cdca7[_0x4eeb40(0x149)];_0x27d354[_0x4eeb40(0x14f)](_0x4eeb40(0x124),{'imageType':_0x240736?_0x4eeb40(0x146):null,'source':{'uploadcareImageId':_0x2cdca7['id'],'src':_0x579339,'sources':_0xd710f,..._0x4a7c96}});}}
23
+ const _0x47e2af=_0x1175;function _0x5042(){const _0x32f14f=['destroy','imageUpload','219922akyJlU','31054408WzjLuL','getSelectedElement','getAPI','attributes','removeSelectionAttribute','configElement','text','isOpen','_formView','setCurrentActivity','Replace','Insert','imageInfo','152GvDAxl','selection','_dialog','doneFlow','insertImage','editing','source-list','getOutputCollectionState','length','element','Local','get','execute','_editing','imageBlock','allEntries','detail','62986VbdVXL','16755345DcGiTl','status','_type','imageInline','change','_api','getLastPosition','ctxElement','addEventListener','focus','removeAllFiles','stopDelegating','6NvdmAm','_initListeners','_insertImage','_initDialog','setSelection','_editor','show','document','width','uuid','model','linkHref','hide','uploadCare','16765330AhNifh','15924IaCNst','1164reIObj','8kHBzEk','2847740OrevKH','_insertAsset','image','EDITOR_TOP_CENTER','plugins','done-click','idle','setAttribute','stopListening','initFlow','view'];_0x5042=function(){return _0x32f14f;};return _0x5042();}(function(_0x25ed73,_0x234137){const _0x422dbd=_0x1175,_0x312673=_0x25ed73();while(!![]){try{const _0x561079=-parseInt(_0x422dbd(0x151))/0x1*(parseInt(_0x422dbd(0x143))/0x2)+-parseInt(_0x422dbd(0x141))/0x3*(-parseInt(_0x422dbd(0x142))/0x4)+-parseInt(_0x422dbd(0x144))/0x5*(parseInt(_0x422dbd(0x132))/0x6)+parseInt(_0x422dbd(0x125))/0x7*(parseInt(_0x422dbd(0x15f))/0x8)+parseInt(_0x422dbd(0x126))/0x9+parseInt(_0x422dbd(0x140))/0xa+-parseInt(_0x422dbd(0x152))/0xb;if(_0x561079===_0x234137)break;else _0x312673['push'](_0x312673['shift']());}catch(_0x2d0ae1){_0x312673['push'](_0x312673['shift']());}}}(_0x5042,0xef9d8));import{icons as _0xb32b53}from'ckeditor5/src/core.js';import{ObservableMixin as _0x45c946}from'ckeditor5/src/utils.js';import{Dialog as _0x444495,DialogViewPosition as _0x1da54d}from'ckeditor5/src/ui.js';import _0x519f0f from'./uploadcareformview.js';function _0x1175(_0x45ec0c,_0x1542c1){const _0x504214=_0x5042();return _0x1175=function(_0x1175cc,_0x1e28fe){_0x1175cc=_0x1175cc-0x121;let _0x5a8594=_0x504214[_0x1175cc];return _0x5a8594;},_0x1175(_0x45ec0c,_0x1542c1);}import{UploadcareSource as _0x2b4d05}from'../uploadcareconfig.js';import{getTranslation as _0x233a32}from'../utils/common-translations.js';import{getImageUrls as _0x6ea141,getImageDimension as _0x1beebe}from'../utils/editingutils.js';import{isAncestor as _0x394150}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
24
+ _0x45c946(){constructor(_0x309a15,_0x5ecd69,_0x18d1a5){const _0x202da2=_0x1175;super(),this[_0x202da2(0x128)]=null,this[_0x202da2(0x15a)]=null,this[_0x202da2(0x137)]=_0x309a15,this[_0x202da2(0x121)]=_0x5ecd69,this[_0x202da2(0x161)]=_0x309a15[_0x202da2(0x148)][_0x202da2(0x16a)](_0x444495),this[_0x202da2(0x12b)]=_0x5ecd69[_0x202da2(0x12d)][_0x202da2(0x154)](),this[_0x202da2(0x128)]=_0x18d1a5,this[_0x202da2(0x121)][_0x202da2(0x157)][_0x202da2(0x14b)](_0x202da2(0x165),this[_0x202da2(0x128)]),this[_0x202da2(0x135)](),this[_0x202da2(0x133)](),this[_0x202da2(0x12b)][_0x202da2(0x14d)]();}[_0x47e2af(0x14f)](){const _0x24af77=_0x47e2af;this[_0x24af77(0x15a)]&&(this[_0x24af77(0x15a)][_0x24af77(0x14f)](),this[_0x24af77(0x15a)]=null),this[_0x24af77(0x12b)]&&this[_0x24af77(0x12b)][_0x24af77(0x162)](),this[_0x24af77(0x14c)](),this[_0x24af77(0x131)]();}[_0x47e2af(0x135)](){const _0x2b8ae5=_0x47e2af,{locale:_0x3f88db,model:_0x12e2aa}=this[_0x2b8ae5(0x137)],_0x6a26ff=_0x12e2aa[_0x2b8ae5(0x139)][_0x2b8ae5(0x160)][_0x2b8ae5(0x153)](),_0x4e026e=_0x6a26ff&&(_0x6a26ff['is'](_0x2b8ae5(0x168),_0x2b8ae5(0x122))||_0x6a26ff['is'](_0x2b8ae5(0x168),_0x2b8ae5(0x129)));this[_0x2b8ae5(0x15a)]=new _0x519f0f(_0x3f88db),this[_0x2b8ae5(0x161)][_0x2b8ae5(0x138)]({'id':_0x2b8ae5(0x13f),'icon':_0xb32b53[_0x2b8ae5(0x150)],'title':_0x233a32(_0x3f88db,this[_0x2b8ae5(0x128)],_0x4e026e?_0x2b8ae5(0x15c):_0x2b8ae5(0x15d))[_0x2b8ae5(0x158)],'content':this[_0x2b8ae5(0x15a)],'position':_0x1da54d[_0x2b8ae5(0x147)],'isModal':!0x0,'onShow':()=>{const _0x362ba0=_0x2b8ae5;this[_0x362ba0(0x15a)][_0x362ba0(0x12f)]();},'onHide':()=>{const _0x4210e1=_0x2b8ae5;this[_0x4210e1(0x12b)][_0x4210e1(0x130)](),this[_0x4210e1(0x137)][_0x4210e1(0x164)][_0x4210e1(0x14e)][_0x4210e1(0x12f)](),this[_0x4210e1(0x14f)]();},'keystrokeHandlerOptions':{'filter':_0x4997e5=>!_0x394150(_0x4997e5,this[_0x2b8ae5(0x15a)][_0x2b8ae5(0x168)])}});}[_0x47e2af(0x133)](){const _0x1a1fdf=_0x47e2af;this[_0x1a1fdf(0x121)][_0x1a1fdf(0x12d)][_0x1a1fdf(0x12e)](_0x1a1fdf(0x149),()=>{const _0x3b2142=_0x1a1fdf,{allEntries:_0x212db7}=this[_0x3b2142(0x12b)][_0x3b2142(0x166)]();this[_0x3b2142(0x137)][_0x3b2142(0x13c)][_0x3b2142(0x12a)](_0x3ee48d=>{const _0xdc8fbd=_0x3b2142,_0x2b435d=_0x212db7[_0xdc8fbd(0x167)];for(const _0x190c39 of _0x212db7){const _0x2aef8b=_0x190c39===_0x212db7[_0x2b435d-0x1],{cdnUrl:_0x4d9f7c,fileInfo:_0x4ba879}=_0x190c39;if(!_0x4d9f7c||!_0x4ba879)continue;const {width:_0x3103a9,height:_0x21a327}=_0x4ba879[_0xdc8fbd(0x15e)],_0x3f6130=_0x1beebe(_0x4d9f7c,_0x3103a9,_0x21a327),_0x4a0b87=_0x6ea141(_0x4d9f7c,_0x3f6130[_0xdc8fbd(0x13a)]),_0x308e6d={'id':_0x4ba879[_0xdc8fbd(0x13b)],'type':_0xdc8fbd(0x146),'attributes':{'imageDimension':_0x3f6130,..._0x4a0b87}};this[_0xdc8fbd(0x145)](_0x308e6d,_0x2aef8b,_0x3ee48d);}}),this[_0x3b2142(0x161)][_0x3b2142(0x13e)]();}),this[_0x1a1fdf(0x121)][_0x1a1fdf(0x12d)][_0x1a1fdf(0x12e)](_0x1a1fdf(0x12a),_0x1cec90=>{const _0x5edda7=_0x1a1fdf;_0x5edda7(0x14a)===_0x1cec90[_0x5edda7(0x124)][_0x5edda7(0x127)]&&!_0x1cec90[_0x5edda7(0x124)][_0x5edda7(0x123)][_0x5edda7(0x167)]&&this[_0x5edda7(0x161)][_0x5edda7(0x159)]&&(this[_0x5edda7(0x128)]===_0x2b4d05[_0x5edda7(0x169)]?this[_0x5edda7(0x12b)][_0x5edda7(0x15b)](_0x2b4d05[_0x5edda7(0x169)]):this[_0x5edda7(0x12b)][_0x5edda7(0x14d)]());});}[_0x47e2af(0x145)](_0x53cdc9,_0x521f35,_0x340b89){const _0xac2f64=_0x47e2af,_0x44de4e=this[_0xac2f64(0x137)][_0xac2f64(0x13c)][_0xac2f64(0x139)][_0xac2f64(0x160)],_0x33a994=_0x44de4e[_0xac2f64(0x153)](),_0x569e7a=!(!_0x33a994||!_0x33a994['is'](_0xac2f64(0x168),_0xac2f64(0x129)));_0x340b89[_0xac2f64(0x156)](_0xac2f64(0x13d)),this[_0xac2f64(0x134)](_0x53cdc9,_0x569e7a),_0x521f35||_0x340b89[_0xac2f64(0x136)](_0x44de4e[_0xac2f64(0x12c)]());}[_0x47e2af(0x134)](_0x23d911,_0x4c0264){const _0x469334=_0x47e2af,_0x425600=this[_0x469334(0x137)],{imageDimension:_0x42d5e2,imageFallbackUrl:_0x9359c7,imageSources:_0x99343f}=_0x23d911[_0x469334(0x155)];_0x425600[_0x469334(0x16b)](_0x469334(0x163),{'imageType':_0x4c0264?_0x469334(0x129):null,'source':{'uploadcareImageId':_0x23d911['id'],'src':_0x9359c7,'sources':_0x99343f,..._0x42d5e2}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x385241=_0x9079;(function(_0x4784fb,_0x3feb31){var _0x26beec=_0x9079,_0x4d2c86=_0x4784fb();while(!![]){try{var _0x28661f=parseInt(_0x26beec(0xea))/0x1+-parseInt(_0x26beec(0xe2))/0x2+-parseInt(_0x26beec(0xe8))/0x3*(-parseInt(_0x26beec(0xdf))/0x4)+parseInt(_0x26beec(0xdd))/0x5*(parseInt(_0x26beec(0xe9))/0x6)+parseInt(_0x26beec(0xe5))/0x7+-parseInt(_0x26beec(0xe1))/0x8*(parseInt(_0x26beec(0xe7))/0x9)+-parseInt(_0x26beec(0xe6))/0xa;if(_0x28661f===_0x3feb31)break;else _0x4d2c86['push'](_0x4d2c86['shift']());}catch(_0x2af151){_0x4d2c86['push'](_0x4d2c86['shift']());}}}(_0x37ec,0xbdfde));import _0x1f53fb from'../utils/dialogfocusmanagerview.js';function _0x37ec(){var _0x3e5777=['17156zLXCUN','ck-uploadcare-theme','19216ZwPHTb','1134476mEPOZa','getFocusableElement','element','4054036TQzjlD','25895860ooQlMW','216ydZylR','957aVoeZv','12amjIwg','630533gKxhbe','ck-uploadcare-form','uc-light','focus','uploader','uc-file-uploader-inline','ck-reset_all-excluded','setTemplate','3537015hsDGoC','div'];_0x37ec=function(){return _0x3e5777;};return _0x37ec();}import'../../theme/uploadcare-form.css';function _0x9079(_0x188c3e,_0x1cb776){var _0x37ec77=_0x37ec();return _0x9079=function(_0x9079ff,_0x143584){_0x9079ff=_0x9079ff-0xda;var _0x308536=_0x37ec77[_0x9079ff];return _0x308536;},_0x9079(_0x188c3e,_0x1cb776);}export default class S extends _0x1f53fb{constructor(_0x3631d7){var _0x1c2ea9=_0x9079;super(_0x3631d7),this[_0x1c2ea9(0xdc)]({'tag':_0x1c2ea9(0xde),'attributes':{'class':['ck',_0x1c2ea9(0xdb),_0x1c2ea9(0xeb)],'tabindex':'-1'},'children':[{'tag':_0x1c2ea9(0xda),'attributes':{'class':[_0x1c2ea9(0xec),_0x1c2ea9(0xe0)],'ctx-name':_0x1c2ea9(0xee)}},this[_0x1c2ea9(0xe3)]()]});}[_0x385241(0xed)](){var _0xe84618=_0x385241;this[_0xe84618(0xe4)][_0xe84618(0xed)]();}}
23
+ var _0x3c66a6=_0x43df;function _0x43df(_0x160ac4,_0x110303){var _0x5546cc=_0x5546();return _0x43df=function(_0x43dfb1,_0x4650a3){_0x43dfb1=_0x43dfb1-0x197;var _0x25c196=_0x5546cc[_0x43dfb1];return _0x25c196;},_0x43df(_0x160ac4,_0x110303);}(function(_0x3da192,_0x55ced5){var _0x576bae=_0x43df,_0x3acc75=_0x3da192();while(!![]){try{var _0x1f4d80=parseInt(_0x576bae(0x1a6))/0x1+-parseInt(_0x576bae(0x19f))/0x2+parseInt(_0x576bae(0x1a1))/0x3+parseInt(_0x576bae(0x1a9))/0x4*(-parseInt(_0x576bae(0x19a))/0x5)+-parseInt(_0x576bae(0x197))/0x6*(parseInt(_0x576bae(0x1aa))/0x7)+-parseInt(_0x576bae(0x1a4))/0x8+-parseInt(_0x576bae(0x1a0))/0x9*(-parseInt(_0x576bae(0x1a2))/0xa);if(_0x1f4d80===_0x55ced5)break;else _0x3acc75['push'](_0x3acc75['shift']());}catch(_0x3471c8){_0x3acc75['push'](_0x3acc75['shift']());}}}(_0x5546,0xf0434));function _0x5546(){var _0x5a343a=['10262930eMgXcj','div','4666328WPdnZi','ck-uploadcare-theme','393638yYhrBR','ck-uploadcare-form','uploader','7420OkvQRv','226002skAdjp','element','228uSQGqy','focus','setTemplate','275zVuRpy','uc-light','ck-reset_all-excluded','uc-file-uploader-inline','getFocusableElement','3125314pmSKRk','27TYZfoA','2959320sxccEq'];_0x5546=function(){return _0x5a343a;};return _0x5546();}import _0x5cb705 from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export default class S extends _0x5cb705{constructor(_0x34aeab){var _0x352afe=_0x43df;super(_0x34aeab),this[_0x352afe(0x199)]({'tag':_0x352afe(0x1a3),'attributes':{'class':['ck',_0x352afe(0x19c),_0x352afe(0x1a7)],'tabindex':'-1'},'children':[{'tag':_0x352afe(0x19d),'attributes':{'class':[_0x352afe(0x19b),_0x352afe(0x1a5)],'ctx-name':_0x352afe(0x1a8)}},this[_0x352afe(0x19e)]()]});}[_0x3c66a6(0x198)](){var _0x528d60=_0x3c66a6;this[_0x528d60(0x1ab)][_0x528d60(0x198)]();}}
package/src/uploadcare.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5d373b=_0x23a4;(function(_0x4bdee8,_0x5e6e3c){var _0x50b209=_0x23a4,_0x3a455a=_0x4bdee8();while(!![]){try{var _0x2d926c=-parseInt(_0x50b209(0x1ea))/0x1*(parseInt(_0x50b209(0x1f0))/0x2)+-parseInt(_0x50b209(0x1fa))/0x3*(-parseInt(_0x50b209(0x1ec))/0x4)+-parseInt(_0x50b209(0x1fc))/0x5*(parseInt(_0x50b209(0x1e8))/0x6)+-parseInt(_0x50b209(0x1f7))/0x7+parseInt(_0x50b209(0x1f9))/0x8*(parseInt(_0x50b209(0x1f3))/0x9)+-parseInt(_0x50b209(0x1ef))/0xa*(-parseInt(_0x50b209(0x1f2))/0xb)+parseInt(_0x50b209(0x1fb))/0xc;if(_0x2d926c===_0x5e6e3c)break;else _0x3a455a['push'](_0x3a455a['shift']());}catch(_0x7c2b0c){_0x3a455a['push'](_0x3a455a['shift']());}}}(_0x25a2,0x300b1));function _0x25a2(){var _0x2798f0=['define','2564pjDDTi','requires','config','13570noaYWt','110TSTrkj','isPremiumPlugin','1793bGfukA','243yLCqpX','isOfficialPlugin','Uploadcare','pluginName','1787114VtGqnA','defineComponents','50088PfxUPl','642JcYlJP','3384528isxPeV','204290LWHdfI','uploadcare.uploader.sourceList','Local','18RpwJVd','URL','4269CNXZYi'];_0x25a2=function(){return _0x2798f0;};return _0x25a2();}function _0x23a4(_0x480d9c,_0x30a82f){var _0x25a28c=_0x25a2();return _0x23a4=function(_0x23a4c1,_0x489f99){_0x23a4c1=_0x23a4c1-0x1e8;var _0x3eb999=_0x25a28c[_0x23a4c1];return _0x3eb999;},_0x23a4(_0x480d9c,_0x30a82f);}import{Plugin as _0x335c8c}from'ckeditor5/src/core.js';import _0x57437d from'./uploadcareui.js';import _0x5139da from'./uploadcareediting.js';import{UploadcareSource as _0x1e7ecb}from'./uploadcareconfig.js';import*as _0x3ea497 from'@uploadcare/file-uploader';export default class u extends _0x335c8c{static get[_0x5d373b(0x1ed)](){return[_0x5139da,_0x57437d];}static get[_0x5d373b(0x1f6)](){var _0x2f1ba2=_0x5d373b;return _0x2f1ba2(0x1f5);}static get[_0x5d373b(0x1f4)](){return!0x0;}static get[_0x5d373b(0x1f1)](){return!0x0;}constructor(_0x4818c4){var _0x3cb489=_0x5d373b;super(_0x4818c4),_0x4818c4[_0x3cb489(0x1ee)][_0x3cb489(0x1eb)](_0x3cb489(0x1fd),[_0x1e7ecb[_0x3cb489(0x1fe)],_0x1e7ecb[_0x3cb489(0x1e9)]]),_0x3ea497[_0x3cb489(0x1f8)](_0x3ea497);}}
23
+ var _0x487dd5=_0x4303;(function(_0x397392,_0x7ce41e){var _0x56ed36=_0x4303,_0x84d776=_0x397392();while(!![]){try{var _0x49db60=-parseInt(_0x56ed36(0x1bd))/0x1+-parseInt(_0x56ed36(0x1b6))/0x2+parseInt(_0x56ed36(0x1c3))/0x3*(parseInt(_0x56ed36(0x1be))/0x4)+parseInt(_0x56ed36(0x1b5))/0x5+-parseInt(_0x56ed36(0x1bb))/0x6+-parseInt(_0x56ed36(0x1b9))/0x7*(parseInt(_0x56ed36(0x1b8))/0x8)+parseInt(_0x56ed36(0x1bc))/0x9;if(_0x49db60===_0x7ce41e)break;else _0x84d776['push'](_0x84d776['shift']());}catch(_0x2ff854){_0x84d776['push'](_0x84d776['shift']());}}}(_0x5075,0xcec87));import{Plugin as _0x42291a}from'ckeditor5/src/core.js';import _0x49b0a0 from'./uploadcareui.js';function _0x5075(){var _0x4c0d0f=['pluginName','defineComponents','define','isPremiumPlugin','uploadcare.uploader.sourceList','7309445GTgvkp','1726330ohiyzN','Uploadcare','10341848VcDNHQ','7wFasdz','URL','7327830gEZFeP','32481297obddqQ','952898SucCbt','42464KUiUjl','Local','requires','isOfficialPlugin','config','30bvwCmy'];_0x5075=function(){return _0x4c0d0f;};return _0x5075();}function _0x4303(_0x3d72d3,_0x294a74){var _0x50756b=_0x5075();return _0x4303=function(_0x43031d,_0x2fc25a){_0x43031d=_0x43031d-0x1b0;var _0x1ed55c=_0x50756b[_0x43031d];return _0x1ed55c;},_0x4303(_0x3d72d3,_0x294a74);}import _0x45bfe1 from'./uploadcareediting.js';import{UploadcareSource as _0x4fa08b}from'./uploadcareconfig.js';import*as _0xfac536 from'@uploadcare/file-uploader';export default class u extends _0x42291a{static get[_0x487dd5(0x1c0)](){return[_0x45bfe1,_0x49b0a0];}static get[_0x487dd5(0x1b0)](){var _0x4a8fc3=_0x487dd5;return _0x4a8fc3(0x1b7);}static get[_0x487dd5(0x1c1)](){return!0x0;}static get[_0x487dd5(0x1b3)](){return!0x0;}constructor(_0xfd3924){var _0x185fcb=_0x487dd5;super(_0xfd3924),_0xfd3924[_0x185fcb(0x1c2)][_0x185fcb(0x1b2)](_0x185fcb(0x1b4),[_0x4fa08b[_0x185fcb(0x1bf)],_0x4fa08b[_0x185fcb(0x1ba)]]),_0xfac536[_0x185fcb(0x1b1)](_0xfac536);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x326f(_0x310878,_0x157ef0){var _0x4fc2b2=_0x4fc2();return _0x326f=function(_0x326f82,_0x1356f9){_0x326f82=_0x326f82-0x1e7;var _0x91479d=_0x4fc2b2[_0x326f82];return _0x91479d;},_0x326f(_0x310878,_0x157ef0);}var _0x16c368=_0x326f;(function(_0x161824,_0x253348){var _0x3707c4=_0x326f,_0x15e737=_0x161824();while(!![]){try{var _0x4a04fa=parseInt(_0x3707c4(0x1fe))/0x1*(parseInt(_0x3707c4(0x1fa))/0x2)+-parseInt(_0x3707c4(0x1fd))/0x3+-parseInt(_0x3707c4(0x1e7))/0x4*(parseInt(_0x3707c4(0x1f4))/0x5)+-parseInt(_0x3707c4(0x1f5))/0x6*(-parseInt(_0x3707c4(0x1f2))/0x7)+parseInt(_0x3707c4(0x1ef))/0x8+parseInt(_0x3707c4(0x1ea))/0x9*(parseInt(_0x3707c4(0x1e8))/0xa)+-parseInt(_0x3707c4(0x1ec))/0xb;if(_0x4a04fa===_0x253348)break;else _0x15e737['push'](_0x15e737['shift']());}catch(_0x39492e){_0x15e737['push'](_0x15e737['shift']());}}}(_0x4fc2,0x8bf9b));function _0x4fc2(){var _0x54ca02=['2rYevcY','_controller','insertImage','778860wThpOL','1066051cDgmep','284bSxUIn','930gAGqdE','_checkEnabled','66258VerTip','editor','26901853LlOSJc','destroy','plugins','7920392TDKiYF','commands','requires','63fvYLsY','_editing','32685bFTMUY','667962tndliU','get','refresh','execute','isEnabled'];_0x4fc2=function(){return _0x54ca02;};return _0x4fc2();}import{Command as _0x4e09ec}from'ckeditor5/src/core.js';import{Dialog as _0x43a4d6}from'ckeditor5/src/ui.js';import _0x47eee7 from'./uploadcareediting.js';import _0x22aa5b from'./ui/uploadcarecontroller.js';export default class n extends _0x4e09ec{[_0x16c368(0x1f3)];[_0x16c368(0x1fb)]=null;static get[_0x16c368(0x1f1)](){return[_0x43a4d6,_0x47eee7];}constructor(_0x34a4f2){var _0x4fbf82=_0x16c368;super(_0x34a4f2),this[_0x4fbf82(0x1f3)]=_0x34a4f2[_0x4fbf82(0x1ee)][_0x4fbf82(0x1f6)](_0x47eee7);}[_0x16c368(0x1f7)](){var _0x54921e=_0x16c368;this[_0x54921e(0x1f9)]=this[_0x54921e(0x1e9)]();}[_0x16c368(0x1f8)](_0x536c24){var _0x5ebd69=_0x16c368;this[_0x5ebd69(0x1fb)]&&(this[_0x5ebd69(0x1fb)][_0x5ebd69(0x1ed)](),this[_0x5ebd69(0x1fb)]=null),this[_0x5ebd69(0x1fb)]=new _0x22aa5b(this[_0x5ebd69(0x1eb)],this[_0x5ebd69(0x1f3)],_0x536c24);}[_0x16c368(0x1e9)](){var _0x2a159a=_0x16c368;return this[_0x2a159a(0x1eb)][_0x2a159a(0x1f0)][_0x2a159a(0x1f6)](_0x2a159a(0x1fc))[_0x2a159a(0x1f9)];}}
23
+ var _0x5064f1=_0x349a;(function(_0x404c75,_0x1fb209){var _0x51446c=_0x349a,_0x4c9ebb=_0x404c75();while(!![]){try{var _0x14a552=-parseInt(_0x51446c(0x1c4))/0x1+-parseInt(_0x51446c(0x1cd))/0x2+-parseInt(_0x51446c(0x1d7))/0x3+parseInt(_0x51446c(0x1d5))/0x4+-parseInt(_0x51446c(0x1d0))/0x5+-parseInt(_0x51446c(0x1d1))/0x6+parseInt(_0x51446c(0x1d3))/0x7*(parseInt(_0x51446c(0x1cc))/0x8);if(_0x14a552===_0x1fb209)break;else _0x4c9ebb['push'](_0x4c9ebb['shift']());}catch(_0x490b7a){_0x4c9ebb['push'](_0x4c9ebb['shift']());}}}(_0x1fbd,0x736e8));import{Command as _0x1b6b62}from'ckeditor5/src/core.js';import{Dialog as _0x4bc290}from'ckeditor5/src/ui.js';import _0x3fffcd from'./uploadcareediting.js';function _0x349a(_0x2d8f49,_0x26729e){var _0x1fbd39=_0x1fbd();return _0x349a=function(_0x349a4e,_0x9736d1){_0x349a4e=_0x349a4e-0x1c4;var _0x3933ca=_0x1fbd39[_0x349a4e];return _0x3933ca;},_0x349a(_0x2d8f49,_0x26729e);}import _0x3b5b1e from'./ui/uploadcarecontroller.js';export default class l extends _0x1b6b62{static get[_0x5064f1(0x1cb)](){return[_0x4bc290,_0x3fffcd];}constructor(_0x15abba){var _0x3aaa07=_0x5064f1;super(_0x15abba),this[_0x3aaa07(0x1d4)]=null,this[_0x3aaa07(0x1d2)]=_0x15abba[_0x3aaa07(0x1c5)][_0x3aaa07(0x1d8)](_0x3fffcd);}[_0x5064f1(0x1d6)](){var _0x5ac895=_0x5064f1;this[_0x5ac895(0x1c6)]=this[_0x5ac895(0x1cf)]();}[_0x5064f1(0x1c7)](_0x43d713){var _0x34ca00=_0x5064f1;this[_0x34ca00(0x1d4)]&&(this[_0x34ca00(0x1d4)][_0x34ca00(0x1ca)](),this[_0x34ca00(0x1d4)]=null),this[_0x34ca00(0x1d4)]=new _0x3b5b1e(this[_0x34ca00(0x1c9)],this[_0x34ca00(0x1d2)],_0x43d713);}[_0x5064f1(0x1cf)](){var _0x1a16cb=_0x5064f1;return this[_0x1a16cb(0x1c9)][_0x1a16cb(0x1ce)][_0x1a16cb(0x1d8)](_0x1a16cb(0x1c8))[_0x1a16cb(0x1c6)];}}function _0x1fbd(){var _0x4a0dbe=['_editing','749EFSLEy','_controller','2103968vBmHOA','refresh','1253934Ljbkhn','get','613438aOqZSa','plugins','isEnabled','execute','insertImage','editor','destroy','requires','228136brmYgu','1090768RGmOTe','commands','_checkEnabled','3594165PEhieF','4853220nZYrLH'];_0x1fbd=function(){return _0x4a0dbe;};return _0x1fbd();}
@@ -35,7 +35,6 @@ import type { ConfigType } from '@uploadcare/file-uploader';
35
35
  * sourceList: [
36
36
  * 'local',
37
37
  * 'url',
38
- * 'instagram',
39
38
  * 'gdrive'
40
39
  * ],
41
40
  * },
@@ -48,7 +47,7 @@ import type { ConfigType } from '@uploadcare/file-uploader';
48
47
  *
49
48
  * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
50
49
  */
51
- export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourceList'> {
50
+ export interface UploadcareConfig {
52
51
  /**
53
52
  * The public key used for communication with the Uploadcare services.
54
53
  *
@@ -67,7 +66,6 @@ export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourc
67
66
  * * 'gdrive'
68
67
  * * 'facebook'
69
68
  * * 'gphotos'
70
- * * 'instagram'
71
69
  * * 'onedrive'
72
70
  *
73
71
  * Additionally, below options are not supported:
@@ -81,7 +79,7 @@ export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourc
81
79
  *
82
80
  * All other options documented in the Uploadcare documentation are supported.
83
81
  */
84
- uploader: UploadcareUploaderConfig;
82
+ uploader?: UploadcareUploaderConfig;
85
83
  /**
86
84
  * Configuration for the Image Editor component. The component allows editing existing images in the CKEditor.
87
85
  *
@@ -91,7 +89,7 @@ export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourc
91
89
  * Please note that the `cdn-url` and `uuid` attributes are automatically handled by the Uploadcare plugin and
92
90
  * are not supported in the config options.
93
91
  */
94
- editor: UploadcareEditorConfig;
92
+ editor?: UploadcareEditorConfig;
95
93
  /**
96
94
  * Allows editing images that are not hosted in Uploadcare service.
97
95
  *
@@ -116,13 +114,13 @@ export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourc
116
114
  *
117
115
  * You can find detailed information in the [Uploadcare documentation](https://uploadcare.com/docs/file-uploader/options/).
118
116
  */
119
- export interface UploadcareUploaderConfig extends Omit<ConfigType, ExcludedKeys | 'sourceList'> {
117
+ export interface UploadcareUploaderConfig extends Partial<Omit<ConfigType, ExcludedKeys | 'sourceList'>> {
120
118
  /**
121
119
  * Comma-separated list of file sources.
122
120
  *
123
121
  * @default [ 'local', 'url' ]
124
122
  */
125
- sourceList?: Array<UploadcareSource>;
123
+ sourceList?: Array<UploadcareSourceValue>;
126
124
  }
127
125
  /**
128
126
  * Configuration for the Uploadcare Image Editor component.
@@ -148,9 +146,12 @@ export declare enum UploadcareSource {
148
146
  GDrive = "gdrive",
149
147
  Facebook = "facebook",
150
148
  GPhotos = "gphotos",
151
- Instagram = "instagram",
152
149
  OneDrive = "onedrive"
153
150
  }
151
+ /**
152
+ * Values for all available upload sources.
153
+ */
154
+ export type UploadcareSourceValue = `${UploadcareSource}`;
154
155
  /**
155
156
  * Image asset definition.
156
157
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x289f(_0x48f63c,_0x5e3f46){var _0x40c251=_0x40c2();return _0x289f=function(_0x289f2d,_0x3c765b){_0x289f2d=_0x289f2d-0x76;var _0x4c8b6b=_0x40c251[_0x289f2d];return _0x4c8b6b;},_0x289f(_0x48f63c,_0x5e3f46);}(function(_0x3e1048,_0x32fc01){var _0x57dd36=_0x289f,_0x3d727a=_0x3e1048();while(!![]){try{var _0x50982f=-parseInt(_0x57dd36(0x7c))/0x1+-parseInt(_0x57dd36(0x8c))/0x2*(parseInt(_0x57dd36(0x7b))/0x3)+parseInt(_0x57dd36(0x86))/0x4*(-parseInt(_0x57dd36(0x8f))/0x5)+parseInt(_0x57dd36(0x85))/0x6*(parseInt(_0x57dd36(0x78))/0x7)+-parseInt(_0x57dd36(0x8e))/0x8+parseInt(_0x57dd36(0x90))/0x9*(-parseInt(_0x57dd36(0x7e))/0xa)+parseInt(_0x57dd36(0x88))/0xb;if(_0x50982f===_0x32fc01)break;else _0x3d727a['push'](_0x3d727a['shift']());}catch(_0x7ba39a){_0x3d727a['push'](_0x3d727a['shift']());}}}(_0x40c2,0xab281));function _0x40c2(){var _0x5e554e=['50UbamoS','4455OOwwYQ','GPhotos','Dropbox','7EKVAZa','Local','local','65082GicYIt','1188643PLIJec','Facebook','16590raaTBk','OneDrive','URL','onedrive','Instagram','dropbox','GDrive','6882264brOcRa','512516uDHQYt','instagram','43704419flkHyh','url','facebook','gphotos','22jLGsIt','gdrive','7114752jQyYAl'];_0x40c2=function(){return _0x5e554e;};return _0x40c2();}export var UploadcareSource;!function(_0x37f966){var _0x563c49=_0x289f;_0x37f966[_0x563c49(0x79)]=_0x563c49(0x7a),_0x37f966[_0x563c49(0x80)]=_0x563c49(0x89),_0x37f966[_0x563c49(0x77)]=_0x563c49(0x83),_0x37f966[_0x563c49(0x84)]=_0x563c49(0x8d),_0x37f966[_0x563c49(0x7d)]=_0x563c49(0x8a),_0x37f966[_0x563c49(0x76)]=_0x563c49(0x8b),_0x37f966[_0x563c49(0x82)]=_0x563c49(0x87),_0x37f966[_0x563c49(0x7f)]=_0x563c49(0x81);}(UploadcareSource||(UploadcareSource={}));
23
+ function _0x4fc2(_0x4f4089,_0x14605c){var _0x4299d7=_0x4299();return _0x4fc2=function(_0x4fc2af,_0x1da782){_0x4fc2af=_0x4fc2af-0xf2;var _0x276791=_0x4299d7[_0x4fc2af];return _0x276791;},_0x4fc2(_0x4f4089,_0x14605c);}(function(_0x1a9ae2,_0x4a631a){var _0x4d2f70=_0x4fc2,_0xf850e4=_0x1a9ae2();while(!![]){try{var _0x18fedc=parseInt(_0x4d2f70(0x106))/0x1*(parseInt(_0x4d2f70(0x103))/0x2)+parseInt(_0x4d2f70(0xfe))/0x3*(-parseInt(_0x4d2f70(0xf9))/0x4)+-parseInt(_0x4d2f70(0x108))/0x5+parseInt(_0x4d2f70(0xf7))/0x6*(-parseInt(_0x4d2f70(0xf2))/0x7)+parseInt(_0x4d2f70(0xf8))/0x8+-parseInt(_0x4d2f70(0xf6))/0x9*(parseInt(_0x4d2f70(0xf3))/0xa)+parseInt(_0x4d2f70(0x104))/0xb;if(_0x18fedc===_0x4a631a)break;else _0xf850e4['push'](_0xf850e4['shift']());}catch(_0x492455){_0xf850e4['push'](_0xf850e4['shift']());}}}(_0x4299,0x534d9));export var UploadcareSource;function _0x4299(){var _0x4360be=['dropbox','gdrive','Local','25666ADXlac','11899305TWRxLM','GPhotos','10eDEcHh','facebook','1091730UPDNHb','URL','onedrive','1253KQvzXV','190RhKDOB','Facebook','local','47313DaRxpu','22782sASXwh','4077232WNLbQn','4pxQyJS','gphotos','OneDrive','url','GDrive','1141914tNbpVE','Dropbox'];_0x4299=function(){return _0x4360be;};return _0x4299();}!function(_0x4d7187){var _0x705219=_0x4fc2;_0x4d7187[_0x705219(0x102)]=_0x705219(0xf5),_0x4d7187[_0x705219(0x109)]=_0x705219(0xfc),_0x4d7187[_0x705219(0xff)]=_0x705219(0x100),_0x4d7187[_0x705219(0xfd)]=_0x705219(0x101),_0x4d7187[_0x705219(0xf4)]=_0x705219(0x107),_0x4d7187[_0x705219(0x105)]=_0x705219(0xfa),_0x4d7187[_0x705219(0xfb)]=_0x705219(0x10a);}(UploadcareSource||(UploadcareSource={}));