@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260116.0 → 0.0.0-nightly-20260117.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/build/translations/af.js +1 -0
  2. package/build/translations/ar.js +1 -0
  3. package/build/translations/ast.js +1 -0
  4. package/build/translations/az.js +1 -0
  5. package/build/translations/be.js +1 -0
  6. package/build/translations/bg.js +1 -0
  7. package/build/translations/bn.js +1 -0
  8. package/build/translations/bs.js +1 -0
  9. package/build/translations/ca.js +1 -0
  10. package/build/translations/cs.js +1 -0
  11. package/build/translations/da.js +1 -0
  12. package/build/translations/de-ch.js +1 -0
  13. package/build/translations/de.js +1 -0
  14. package/build/translations/el.js +1 -0
  15. package/build/translations/en-au.js +1 -0
  16. package/build/translations/en-gb.js +1 -0
  17. package/build/translations/eo.js +1 -0
  18. package/build/translations/es-co.js +1 -0
  19. package/build/translations/es.js +1 -0
  20. package/build/translations/et.js +1 -0
  21. package/build/translations/eu.js +1 -0
  22. package/build/translations/fa.js +1 -0
  23. package/build/translations/fi.js +1 -0
  24. package/build/translations/fr.js +1 -0
  25. package/build/translations/gl.js +1 -0
  26. package/build/translations/gu.js +1 -0
  27. package/build/translations/he.js +1 -0
  28. package/build/translations/hi.js +1 -0
  29. package/build/translations/hr.js +1 -0
  30. package/build/translations/hu.js +1 -0
  31. package/build/translations/hy.js +1 -0
  32. package/build/translations/id.js +1 -0
  33. package/build/translations/it.js +1 -0
  34. package/build/translations/ja.js +1 -0
  35. package/build/translations/jv.js +1 -0
  36. package/build/translations/kk.js +1 -0
  37. package/build/translations/km.js +1 -0
  38. package/build/translations/kn.js +1 -0
  39. package/build/translations/ko.js +1 -0
  40. package/build/translations/ku.js +1 -0
  41. package/build/translations/lt.js +1 -0
  42. package/build/translations/lv.js +1 -0
  43. package/build/translations/ms.js +1 -0
  44. package/build/translations/nb.js +1 -0
  45. package/build/translations/ne.js +1 -0
  46. package/build/translations/nl.js +1 -0
  47. package/build/translations/no.js +1 -0
  48. package/build/translations/oc.js +1 -0
  49. package/build/translations/pl.js +1 -0
  50. package/build/translations/pt-br.js +1 -0
  51. package/build/translations/pt.js +1 -0
  52. package/build/translations/ro.js +1 -0
  53. package/build/translations/ru.js +1 -0
  54. package/build/translations/si.js +1 -0
  55. package/build/translations/sk.js +1 -0
  56. package/build/translations/sl.js +1 -0
  57. package/build/translations/sq.js +1 -0
  58. package/build/translations/sr-latn.js +1 -0
  59. package/build/translations/sr.js +1 -0
  60. package/build/translations/sv.js +1 -0
  61. package/build/translations/th.js +1 -0
  62. package/build/translations/ti.js +1 -0
  63. package/build/translations/tk.js +1 -0
  64. package/build/translations/tr.js +1 -0
  65. package/build/translations/tt.js +1 -0
  66. package/build/translations/ug.js +1 -0
  67. package/build/translations/uk.js +1 -0
  68. package/build/translations/ur.js +1 -0
  69. package/build/translations/uz.js +1 -0
  70. package/build/translations/vi.js +1 -0
  71. package/build/translations/zh-cn.js +1 -0
  72. package/build/translations/zh.js +1 -0
  73. package/build/uploadcare.js +5 -0
  74. package/ckeditor5-metadata.json +2 -2
  75. package/dist/index.js +3 -3
  76. package/dist/translations/af.js +1 -1
  77. package/dist/translations/af.umd.js +1 -1
  78. package/dist/translations/ar.js +1 -1
  79. package/dist/translations/ar.umd.js +1 -1
  80. package/dist/translations/ast.js +1 -1
  81. package/dist/translations/ast.umd.js +1 -1
  82. package/dist/translations/az.js +1 -1
  83. package/dist/translations/az.umd.js +1 -1
  84. package/dist/translations/be.js +1 -1
  85. package/dist/translations/be.umd.js +1 -1
  86. package/dist/translations/bg.js +1 -1
  87. package/dist/translations/bg.umd.js +1 -1
  88. package/dist/translations/bn.js +1 -1
  89. package/dist/translations/bn.umd.js +1 -1
  90. package/dist/translations/bs.js +1 -1
  91. package/dist/translations/bs.umd.js +1 -1
  92. package/dist/translations/ca.js +1 -1
  93. package/dist/translations/ca.umd.js +1 -1
  94. package/dist/translations/cs.js +1 -1
  95. package/dist/translations/cs.umd.js +1 -1
  96. package/dist/translations/da.js +1 -1
  97. package/dist/translations/da.umd.js +1 -1
  98. package/dist/translations/de-ch.js +1 -1
  99. package/dist/translations/de-ch.umd.js +1 -1
  100. package/dist/translations/de.js +1 -1
  101. package/dist/translations/de.umd.js +1 -1
  102. package/dist/translations/el.js +1 -1
  103. package/dist/translations/el.umd.js +1 -1
  104. package/dist/translations/en-au.js +1 -1
  105. package/dist/translations/en-au.umd.js +1 -1
  106. package/dist/translations/en-gb.js +1 -1
  107. package/dist/translations/en-gb.umd.js +1 -1
  108. package/dist/translations/en.js +1 -1
  109. package/dist/translations/en.umd.js +1 -1
  110. package/dist/translations/eo.js +1 -1
  111. package/dist/translations/eo.umd.js +1 -1
  112. package/dist/translations/es-co.js +1 -1
  113. package/dist/translations/es-co.umd.js +1 -1
  114. package/dist/translations/es.js +1 -1
  115. package/dist/translations/es.umd.js +1 -1
  116. package/dist/translations/et.js +1 -1
  117. package/dist/translations/et.umd.js +1 -1
  118. package/dist/translations/eu.js +1 -1
  119. package/dist/translations/eu.umd.js +1 -1
  120. package/dist/translations/fa.js +1 -1
  121. package/dist/translations/fa.umd.js +1 -1
  122. package/dist/translations/fi.js +1 -1
  123. package/dist/translations/fi.umd.js +1 -1
  124. package/dist/translations/fr.js +1 -1
  125. package/dist/translations/fr.umd.js +1 -1
  126. package/dist/translations/gl.js +1 -1
  127. package/dist/translations/gl.umd.js +1 -1
  128. package/dist/translations/gu.js +1 -1
  129. package/dist/translations/gu.umd.js +1 -1
  130. package/dist/translations/he.js +1 -1
  131. package/dist/translations/he.umd.js +1 -1
  132. package/dist/translations/hi.js +1 -1
  133. package/dist/translations/hi.umd.js +1 -1
  134. package/dist/translations/hr.js +1 -1
  135. package/dist/translations/hr.umd.js +1 -1
  136. package/dist/translations/hu.js +1 -1
  137. package/dist/translations/hu.umd.js +1 -1
  138. package/dist/translations/hy.js +1 -1
  139. package/dist/translations/hy.umd.js +1 -1
  140. package/dist/translations/id.js +1 -1
  141. package/dist/translations/id.umd.js +1 -1
  142. package/dist/translations/it.js +1 -1
  143. package/dist/translations/it.umd.js +1 -1
  144. package/dist/translations/ja.js +1 -1
  145. package/dist/translations/ja.umd.js +1 -1
  146. package/dist/translations/jv.js +1 -1
  147. package/dist/translations/jv.umd.js +1 -1
  148. package/dist/translations/kk.js +1 -1
  149. package/dist/translations/kk.umd.js +1 -1
  150. package/dist/translations/km.js +1 -1
  151. package/dist/translations/km.umd.js +1 -1
  152. package/dist/translations/kn.js +1 -1
  153. package/dist/translations/kn.umd.js +1 -1
  154. package/dist/translations/ko.js +1 -1
  155. package/dist/translations/ko.umd.js +1 -1
  156. package/dist/translations/ku.js +1 -1
  157. package/dist/translations/ku.umd.js +1 -1
  158. package/dist/translations/lt.js +1 -1
  159. package/dist/translations/lt.umd.js +1 -1
  160. package/dist/translations/lv.js +1 -1
  161. package/dist/translations/lv.umd.js +1 -1
  162. package/dist/translations/ms.js +1 -1
  163. package/dist/translations/ms.umd.js +1 -1
  164. package/dist/translations/nb.js +1 -1
  165. package/dist/translations/nb.umd.js +1 -1
  166. package/dist/translations/ne.js +1 -1
  167. package/dist/translations/ne.umd.js +1 -1
  168. package/dist/translations/nl.js +1 -1
  169. package/dist/translations/nl.umd.js +1 -1
  170. package/dist/translations/no.js +1 -1
  171. package/dist/translations/no.umd.js +1 -1
  172. package/dist/translations/oc.js +1 -1
  173. package/dist/translations/oc.umd.js +1 -1
  174. package/dist/translations/pl.js +1 -1
  175. package/dist/translations/pl.umd.js +1 -1
  176. package/dist/translations/pt-br.js +1 -1
  177. package/dist/translations/pt-br.umd.js +1 -1
  178. package/dist/translations/pt.js +1 -1
  179. package/dist/translations/pt.umd.js +1 -1
  180. package/dist/translations/ro.js +1 -1
  181. package/dist/translations/ro.umd.js +1 -1
  182. package/dist/translations/ru.js +1 -1
  183. package/dist/translations/ru.umd.js +1 -1
  184. package/dist/translations/si.js +1 -1
  185. package/dist/translations/si.umd.js +1 -1
  186. package/dist/translations/sk.js +1 -1
  187. package/dist/translations/sk.umd.js +1 -1
  188. package/dist/translations/sl.js +1 -1
  189. package/dist/translations/sl.umd.js +1 -1
  190. package/dist/translations/sq.js +1 -1
  191. package/dist/translations/sq.umd.js +1 -1
  192. package/dist/translations/sr-latn.js +1 -1
  193. package/dist/translations/sr-latn.umd.js +1 -1
  194. package/dist/translations/sr.js +1 -1
  195. package/dist/translations/sr.umd.js +1 -1
  196. package/dist/translations/sv.js +1 -1
  197. package/dist/translations/sv.umd.js +1 -1
  198. package/dist/translations/th.js +1 -1
  199. package/dist/translations/th.umd.js +1 -1
  200. package/dist/translations/ti.js +1 -1
  201. package/dist/translations/ti.umd.js +1 -1
  202. package/dist/translations/tk.js +1 -1
  203. package/dist/translations/tk.umd.js +1 -1
  204. package/dist/translations/tr.js +1 -1
  205. package/dist/translations/tr.umd.js +1 -1
  206. package/dist/translations/tt.js +1 -1
  207. package/dist/translations/tt.umd.js +1 -1
  208. package/dist/translations/ug.js +1 -1
  209. package/dist/translations/ug.umd.js +1 -1
  210. package/dist/translations/uk.js +1 -1
  211. package/dist/translations/uk.umd.js +1 -1
  212. package/dist/translations/ur.js +1 -1
  213. package/dist/translations/ur.umd.js +1 -1
  214. package/dist/translations/uz.js +1 -1
  215. package/dist/translations/uz.umd.js +1 -1
  216. package/dist/translations/vi.js +1 -1
  217. package/dist/translations/vi.umd.js +1 -1
  218. package/dist/translations/zh-cn.js +1 -1
  219. package/dist/translations/zh-cn.umd.js +1 -1
  220. package/dist/translations/zh.js +1 -1
  221. package/dist/translations/zh.umd.js +1 -1
  222. package/lang/contexts.json +24 -0
  223. package/lang/translations/af.po +100 -0
  224. package/lang/translations/ar.po +100 -0
  225. package/lang/translations/ast.po +100 -0
  226. package/lang/translations/az.po +100 -0
  227. package/lang/translations/be.po +100 -0
  228. package/lang/translations/bg.po +100 -0
  229. package/lang/translations/bn.po +100 -0
  230. package/lang/translations/bs.po +100 -0
  231. package/lang/translations/ca.po +100 -0
  232. package/lang/translations/cs.po +100 -0
  233. package/lang/translations/da.po +100 -0
  234. package/lang/translations/de-ch.po +100 -0
  235. package/lang/translations/de.po +100 -0
  236. package/lang/translations/el.po +100 -0
  237. package/lang/translations/en-au.po +100 -0
  238. package/lang/translations/en-gb.po +100 -0
  239. package/lang/translations/en.po +100 -0
  240. package/lang/translations/eo.po +100 -0
  241. package/lang/translations/es-co.po +100 -0
  242. package/lang/translations/es.po +100 -0
  243. package/lang/translations/et.po +100 -0
  244. package/lang/translations/eu.po +100 -0
  245. package/lang/translations/fa.po +100 -0
  246. package/lang/translations/fi.po +100 -0
  247. package/lang/translations/fr.po +100 -0
  248. package/lang/translations/gl.po +100 -0
  249. package/lang/translations/gu.po +100 -0
  250. package/lang/translations/he.po +100 -0
  251. package/lang/translations/hi.po +100 -0
  252. package/lang/translations/hr.po +100 -0
  253. package/lang/translations/hu.po +100 -0
  254. package/lang/translations/hy.po +100 -0
  255. package/lang/translations/id.po +100 -0
  256. package/lang/translations/it.po +100 -0
  257. package/lang/translations/ja.po +100 -0
  258. package/lang/translations/jv.po +100 -0
  259. package/lang/translations/kk.po +100 -0
  260. package/lang/translations/km.po +100 -0
  261. package/lang/translations/kn.po +100 -0
  262. package/lang/translations/ko.po +100 -0
  263. package/lang/translations/ku.po +100 -0
  264. package/lang/translations/lt.po +100 -0
  265. package/lang/translations/lv.po +100 -0
  266. package/lang/translations/ms.po +100 -0
  267. package/lang/translations/nb.po +100 -0
  268. package/lang/translations/ne.po +100 -0
  269. package/lang/translations/nl.po +100 -0
  270. package/lang/translations/no.po +100 -0
  271. package/lang/translations/oc.po +100 -0
  272. package/lang/translations/pl.po +100 -0
  273. package/lang/translations/pt-br.po +100 -0
  274. package/lang/translations/pt.po +100 -0
  275. package/lang/translations/ro.po +100 -0
  276. package/lang/translations/ru.po +100 -0
  277. package/lang/translations/si.po +100 -0
  278. package/lang/translations/sk.po +100 -0
  279. package/lang/translations/sl.po +100 -0
  280. package/lang/translations/sq.po +100 -0
  281. package/lang/translations/sr-latn.po +100 -0
  282. package/lang/translations/sr.po +100 -0
  283. package/lang/translations/sv.po +100 -0
  284. package/lang/translations/th.po +100 -0
  285. package/lang/translations/ti.po +100 -0
  286. package/lang/translations/tk.po +100 -0
  287. package/lang/translations/tr.po +100 -0
  288. package/lang/translations/tt.po +100 -0
  289. package/lang/translations/ug.po +100 -0
  290. package/lang/translations/uk.po +100 -0
  291. package/lang/translations/ur.po +100 -0
  292. package/lang/translations/uz.po +100 -0
  293. package/lang/translations/vi.po +100 -0
  294. package/lang/translations/zh-cn.po +100 -0
  295. package/lang/translations/zh.po +100 -0
  296. package/package.json +46 -23
  297. package/src/augmentation.js +23 -0
  298. package/src/index.js +23 -0
  299. package/{dist → src}/ui/uploadcarecontroller.d.ts +3 -3
  300. package/src/ui/uploadcarecontroller.js +24 -0
  301. package/{dist → src}/ui/uploadcareformview.d.ts +1 -1
  302. package/src/ui/uploadcareformview.js +23 -0
  303. package/{dist → src}/uploadcare.d.ts +1 -1
  304. package/src/uploadcare.js +23 -0
  305. package/{dist → src}/uploadcarecommand.d.ts +2 -2
  306. package/src/uploadcarecommand.js +23 -0
  307. package/{dist → src}/uploadcareconfig.d.ts +1 -1
  308. package/src/uploadcareconfig.js +23 -0
  309. package/{dist → src}/uploadcareediting.d.ts +2 -2
  310. package/src/uploadcareediting.js +23 -0
  311. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -5
  312. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +24 -0
  313. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -2
  314. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +23 -0
  315. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -2
  316. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +23 -0
  317. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -2
  318. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +23 -0
  319. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -1
  320. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +23 -0
  321. package/{dist → src}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -2
  322. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +23 -0
  323. package/{dist → src}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -2
  324. package/src/uploadcareimageedit/uploadcareimageeditediting.js +23 -0
  325. package/{dist → src}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -1
  326. package/src/uploadcareimageedit/uploadcareimageeditui.js +23 -0
  327. package/{dist → src}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -1
  328. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +23 -0
  329. package/{dist → src}/uploadcareimageedit.d.ts +1 -1
  330. package/src/uploadcareimageedit.js +23 -0
  331. package/{dist → src}/uploadcareui.d.ts +1 -1
  332. package/src/uploadcareui.js +23 -0
  333. package/{dist → src}/uploadcareuploadadapter.d.ts +2 -2
  334. package/src/uploadcareuploadadapter.js +23 -0
  335. package/src/utils/common-translations.js +23 -0
  336. package/{dist → src}/utils/dialogfocusmanagerview.d.ts +2 -2
  337. package/src/utils/dialogfocusmanagerview.js +23 -0
  338. package/src/utils/editingutils.js +23 -0
  339. package/src/utils/isancestor.js +23 -0
  340. package/src/utils/uploadutils.js +23 -0
  341. package/theme/uploadcare-form.css +201 -0
  342. package/theme/uploadcare-theme.css +20 -0
  343. package/theme/uploadcareimageedit.css +64 -0
  344. /package/{dist → src}/augmentation.d.ts +0 -0
  345. /package/{dist → src}/index.d.ts +0 -0
  346. /package/{dist → src}/utils/common-translations.d.ts +0 -0
  347. /package/{dist → src}/utils/editingutils.d.ts +0 -0
  348. /package/{dist → src}/utils/isancestor.d.ts +0 -0
  349. /package/{dist → src}/utils/uploadutils.d.ts +0 -0
@@ -0,0 +1,24 @@
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 _0x1ab0bc=_0x180b;(function(_0x149af7,_0x5119dd){const _0x33b9d6=_0x180b,_0x54118d=_0x149af7();while(!![]){try{const _0x33edb0=parseInt(_0x33b9d6(0xf2))/0x1+parseInt(_0x33b9d6(0x118))/0x2+parseInt(_0x33b9d6(0x111))/0x3*(-parseInt(_0x33b9d6(0xfe))/0x4)+-parseInt(_0x33b9d6(0xf9))/0x5*(-parseInt(_0x33b9d6(0x112))/0x6)+-parseInt(_0x33b9d6(0xf6))/0x7+parseInt(_0x33b9d6(0x117))/0x8+parseInt(_0x33b9d6(0x119))/0x9*(-parseInt(_0x33b9d6(0x104))/0xa);if(_0x33edb0===_0x5119dd)break;else _0x54118d['push'](_0x54118d['shift']());}catch(_0x26cc4d){_0x54118d['push'](_0x54118d['shift']());}}}(_0x434e,0x9865e));import{IconUploadcareImageUpload as _0x578ba1}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x12b030}from'ckeditor5/src/utils.js';import{Dialog as _0x3e57f6,DialogViewPosition as _0xd2b406}from'ckeditor5/src/ui.js';import{UploadcareFormView as _0x4da923}from'./uploadcareformview.js';import{UploadcareSource as _0x2b0c03}from'../uploadcareconfig.js';import{getTranslation as _0x12c5f1}from'../utils/common-translations.js';import{getImageUrls as _0x5a51be,getImageDimension as _0x197442}from'../utils/editingutils.js';function _0x180b(_0x3d4a52,_0xef53ae){const _0x434e2e=_0x434e();return _0x180b=function(_0x180b55,_0x355fb9){_0x180b55=_0x180b55-0xe9;let _0x4d3916=_0x434e2e[_0x180b55];return _0x4d3916;},_0x180b(_0x3d4a52,_0xef53ae);}function _0x434e(){const _0x37e2b2=['setAttribute','setSelection','view','_initListeners','2005860pQsoCY','getLastPosition','length','linkHref','selection','getOutputCollectionState','status','addEventListener','initFlow','isOpen','getSelectedElement','done-click','configElement','18lVRywA','22812uhrzpK','insertImage','stopDelegating','hide','uuid','983560ZesuJY','1887878peVaoG','36IKCDJe','_insertImage','setCurrentActivity','get','uploadCare','Local','_initDialog','allEntries','_insertAsset','_dialog','imageBlock','EDITOR_TOP_CENTER','_editing','ucContextId','editing','ctxElement','getAPI','removeSelectionAttribute','imageInfo','plugins','Insert','source-list','attributes','_api','focus','text','destroy','model','imageInline','Replace','execute','stopListening','show','detail','width','889966NgNvVV','idle','doneFlow','document','3506216YSqUyP','removeAllFiles','_type','815YViaDH','image','change','_editor','_formView','432748OWybaQ','element'];_0x434e=function(){return _0x37e2b2;};return _0x434e();}import{isAncestor as _0x4aef28}from'../utils/isancestor.js';export class UploadcareController extends/* #__PURE__ -- @preserve */
24
+ _0x12b030(){[_0x1ab0bc(0xfc)];[_0x1ab0bc(0x122)];[_0x1ab0bc(0x125)];[_0x1ab0bc(0x130)];[_0x1ab0bc(0xf8)]=null;[_0x1ab0bc(0xfd)]=null;constructor(_0x51f592,_0x1a994f,_0x779c67){const _0x4c4ef3=_0x1ab0bc;super(),this[_0x4c4ef3(0xfc)]=_0x51f592,this[_0x4c4ef3(0x125)]=_0x1a994f,this[_0x4c4ef3(0x122)]=_0x51f592[_0x4c4ef3(0x12c)][_0x4c4ef3(0x11c)](_0x3e57f6),this[_0x4c4ef3(0x130)]=_0x1a994f[_0x4c4ef3(0x128)][_0x4c4ef3(0x129)](),this[_0x4c4ef3(0xf8)]=_0x779c67,this[_0x4c4ef3(0x125)][_0x4c4ef3(0x110)][_0x4c4ef3(0x100)](_0x4c4ef3(0x12e),this[_0x4c4ef3(0xf8)]),this[_0x4c4ef3(0x11f)](),this[_0x4c4ef3(0x103)](),this[_0x4c4ef3(0x130)][_0x4c4ef3(0x10c)]();}[_0x1ab0bc(0xe9)](){const _0x59d4df=_0x1ab0bc;this[_0x59d4df(0xfd)]&&(this[_0x59d4df(0xfd)][_0x59d4df(0xe9)](),this[_0x59d4df(0xfd)]=null),this[_0x59d4df(0x130)]&&this[_0x59d4df(0x130)][_0x59d4df(0xf4)](),this[_0x59d4df(0xee)](),this[_0x59d4df(0x114)]();}[_0x1ab0bc(0x11f)](){const _0x1446d0=_0x1ab0bc,{locale:_0x52f874,model:_0x18181e}=this[_0x1446d0(0xfc)],_0x1f79ea=_0x18181e[_0x1446d0(0xf5)][_0x1446d0(0x108)][_0x1446d0(0x10e)](),_0x3d033e=_0x1f79ea&&(_0x1f79ea['is'](_0x1446d0(0xff),_0x1446d0(0x123))||_0x1f79ea['is'](_0x1446d0(0xff),_0x1446d0(0xeb)));this[_0x1446d0(0xfd)]=new _0x4da923(_0x52f874,this[_0x1446d0(0x125)][_0x1446d0(0x126)]),this[_0x1446d0(0x122)][_0x1446d0(0xef)]({'id':_0x1446d0(0x11d),'icon':_0x578ba1,'title':_0x12c5f1(_0x52f874,this[_0x1446d0(0xf8)],_0x3d033e?_0x1446d0(0xec):_0x1446d0(0x12d))[_0x1446d0(0x132)],'content':this[_0x1446d0(0xfd)],'position':_0xd2b406[_0x1446d0(0x124)],'isModal':!0x0,'onShow':()=>{const _0x57a51b=_0x1446d0;this[_0x57a51b(0xfd)][_0x57a51b(0x131)]();},'onHide':()=>{const _0x52d106=_0x1446d0;this[_0x52d106(0x130)][_0x52d106(0xf7)](),this[_0x52d106(0xfc)][_0x52d106(0x127)][_0x52d106(0x102)][_0x52d106(0x131)](),this[_0x52d106(0xe9)]();},'keystrokeHandlerOptions':{'filter':_0x472a9c=>!_0x4aef28(_0x472a9c,this[_0x1446d0(0xfd)][_0x1446d0(0xff)])}});}[_0x1ab0bc(0x103)](){const _0x3ddfa4=_0x1ab0bc;this[_0x3ddfa4(0x125)][_0x3ddfa4(0x128)][_0x3ddfa4(0x10b)](_0x3ddfa4(0x10f),()=>{const _0xcae7e7=_0x3ddfa4,{allEntries:_0x5d3ffe}=this[_0xcae7e7(0x130)][_0xcae7e7(0x109)]();this[_0xcae7e7(0xfc)][_0xcae7e7(0xea)][_0xcae7e7(0xfb)](_0x3a0ebd=>{const _0x3d7b7b=_0xcae7e7,_0x520791=_0x5d3ffe[_0x3d7b7b(0x106)];for(const _0x369af1 of _0x5d3ffe){const _0x41daf4=_0x369af1===_0x5d3ffe[_0x520791-0x1],{cdnUrl:_0x263214,fileInfo:_0x5468f6}=_0x369af1;if(!_0x263214||!_0x5468f6)continue;const {width:_0x4a615d,height:_0x34b1b1}=_0x5468f6[_0x3d7b7b(0x12b)],_0x5be21f=_0x197442(_0x263214,_0x4a615d,_0x34b1b1),_0x18ae94=_0x5a51be(_0x263214,_0x5be21f[_0x3d7b7b(0xf1)]),_0x1d74b6={'id':_0x5468f6[_0x3d7b7b(0x116)],'type':_0x3d7b7b(0xfa),'attributes':{'imageDimension':_0x5be21f,..._0x18ae94}};this[_0x3d7b7b(0x121)](_0x1d74b6,_0x41daf4,_0x3a0ebd);}}),this[_0xcae7e7(0x122)][_0xcae7e7(0x115)]();}),this[_0x3ddfa4(0x125)][_0x3ddfa4(0x128)][_0x3ddfa4(0x10b)](_0x3ddfa4(0xfb),_0x12c225=>{const _0x496fb0=_0x3ddfa4;_0x496fb0(0xf3)===_0x12c225[_0x496fb0(0xf0)][_0x496fb0(0x10a)]&&!_0x12c225[_0x496fb0(0xf0)][_0x496fb0(0x120)][_0x496fb0(0x106)]&&this[_0x496fb0(0x122)][_0x496fb0(0x10d)]&&(this[_0x496fb0(0xf8)]===_0x2b0c03[_0x496fb0(0x11e)]?this[_0x496fb0(0x130)][_0x496fb0(0x11b)](_0x2b0c03[_0x496fb0(0x11e)]):this[_0x496fb0(0x130)][_0x496fb0(0x10c)]());});}[_0x1ab0bc(0x121)](_0x55720b,_0x5387e2,_0x4a60cc){const _0x4c8a30=_0x1ab0bc,_0xb75cf=this[_0x4c8a30(0xfc)][_0x4c8a30(0xea)][_0x4c8a30(0xf5)][_0x4c8a30(0x108)],_0x3decbe=_0xb75cf[_0x4c8a30(0x10e)](),_0x24c1d3=!(!_0x3decbe||!_0x3decbe['is'](_0x4c8a30(0xff),_0x4c8a30(0xeb)));_0x4a60cc[_0x4c8a30(0x12a)](_0x4c8a30(0x107)),this[_0x4c8a30(0x11a)](_0x55720b,_0x24c1d3),_0x5387e2||_0x4a60cc[_0x4c8a30(0x101)](_0xb75cf[_0x4c8a30(0x105)]());}[_0x1ab0bc(0x11a)](_0x15e29b,_0x25ae8c){const _0x185bd4=_0x1ab0bc,_0xa33991=this[_0x185bd4(0xfc)],{imageDimension:_0x4a3a8f,imageFallbackUrl:_0x42eefe,imageSources:_0x59e763}=_0x15e29b[_0x185bd4(0x12f)];_0xa33991[_0x185bd4(0xed)](_0x185bd4(0x113),{'imageType':_0x25ae8c?_0x185bd4(0xeb):null,'source':{'uploadcareImageId':_0x15e29b['id'],'src':_0x42eefe,'sources':_0x59e763,..._0x4a3a8f}});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module uploadcare/ui/uploadcareformview
7
7
  */
8
- import { type Locale } from '@ckeditor/ckeditor5-utils';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  import { DialogFocusManagerView } from '../utils/dialogfocusmanagerview.js';
10
10
  import '../../theme/uploadcare-form.css';
11
11
  /**
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x4608(_0x558440,_0x13dbac){var _0x258c0a=_0x258c();return _0x4608=function(_0x46086f,_0x29ca41){_0x46086f=_0x46086f-0x14a;var _0x29ad36=_0x258c0a[_0x46086f];return _0x29ad36;},_0x4608(_0x558440,_0x13dbac);}function _0x258c(){var _0x37f2ea=['2180376JDaUxx','uc-file-uploader-inline','ck-uploadcare-form','102016BQlAoP','element','getFocusableElement','2028614slFAly','div','2469ACvlUr','624030agESlI','1222528NEiYTv','940oNYkXV','focus','27205ySVGvA','2CicPVf','ck-uploadcare-theme','setTemplate','uploader-','198jXeRNR','uc-light','ck-reset_all-excluded'];_0x258c=function(){return _0x37f2ea;};return _0x258c();}var _0x335788=_0x4608;(function(_0x3756b9,_0x37c290){var _0x5e20ff=_0x4608,_0xe133ff=_0x3756b9();while(!![]){try{var _0x1c16b0=-parseInt(_0x5e20ff(0x159))/0x1*(parseInt(_0x5e20ff(0x14f))/0x2)+-parseInt(_0x5e20ff(0x15e))/0x3*(-parseInt(_0x5e20ff(0x14c))/0x4)+-parseInt(_0x5e20ff(0x14e))/0x5*(parseInt(_0x5e20ff(0x153))/0x6)+parseInt(_0x5e20ff(0x15c))/0x7+parseInt(_0x5e20ff(0x14b))/0x8+-parseInt(_0x5e20ff(0x156))/0x9+parseInt(_0x5e20ff(0x14a))/0xa;if(_0x1c16b0===_0x37c290)break;else _0xe133ff['push'](_0xe133ff['shift']());}catch(_0x657390){_0xe133ff['push'](_0xe133ff['shift']());}}}(_0x258c,0x2aa01));import{DialogFocusManagerView as _0x299486}from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x299486{constructor(_0x59e154,_0x26d12d){var _0x47cfaa=_0x4608;super(_0x59e154),this[_0x47cfaa(0x151)]({'tag':_0x47cfaa(0x15d),'attributes':{'class':['ck',_0x47cfaa(0x155),_0x47cfaa(0x158)],'tabindex':'-1'},'children':[{'tag':_0x47cfaa(0x157),'attributes':{'class':[_0x47cfaa(0x154),_0x47cfaa(0x150)],'ctx-name':_0x47cfaa(0x152)+_0x26d12d}},this[_0x47cfaa(0x15b)]()]});}[_0x335788(0x14d)](){var _0x584211=_0x335788;this[_0x584211(0x15a)][_0x584211(0x14d)]();}}
@@ -6,7 +6,7 @@
6
6
  * @module uploadcare/uploadcare
7
7
  * @publicApi
8
8
  */
9
- import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
9
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
10
  import { UploadcareUI } from './uploadcareui.js';
11
11
  import { UploadcareEditing } from './uploadcareediting.js';
12
12
  import * as UC from '@uploadcare/file-uploader';
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _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);}}
@@ -6,8 +6,8 @@
6
6
  * @module uploadcare/uploadcarecommand
7
7
  * @publicApi
8
8
  */
9
- import { Command, type Editor } from '@ckeditor/ckeditor5-core';
10
- import { Dialog } from '@ckeditor/ckeditor5-ui';
9
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
10
+ import { Dialog } from 'ckeditor5/src/ui.js';
11
11
  import { UploadcareEditing } from './uploadcareediting.js';
12
12
  import type { UploadcareSource } from './uploadcareconfig.js';
13
13
  /**
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _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)];}}
@@ -6,7 +6,7 @@
6
6
  * @module uploadcare/uploadcareconfig
7
7
  * @publicApi
8
8
  */
9
- import type { ArrayOrItem } from '@ckeditor/ckeditor5-utils';
9
+ import type { ArrayOrItem } from 'ckeditor5/src/utils.js';
10
10
  import type { ConfigType } from '@uploadcare/file-uploader';
11
11
  /**
12
12
  * Locale definition type matching Uploadcare `LocaleDefinition` type.
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ (function(_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();}
@@ -6,8 +6,8 @@
6
6
  * @module uploadcare/uploadcareediting
7
7
  * @publicApi
8
8
  */
9
- import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
10
- import { Dialog } from '@ckeditor/ckeditor5-ui';
9
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
+ import { Dialog } from 'ckeditor5/src/ui.js';
11
11
  import { UploadcareUploadAdapter } from './uploadcareuploadadapter.js';
12
12
  import type { UploaderBlock } from '@uploadcare/file-uploader';
13
13
  /**
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x4bb6(){const _0x21ec5a=['cleanupImage','fromCharCode','querySelector','uploadcare.pubkey','model','2601582PCXGNh','listenTo','uploadcareImageId','_initConfig','upcast','for','editor','editing','conversion','\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','imageInline','5360712WygRZx','extend','ctxElement','render','isRegistered','uploader-','data-uc-image-id','3951NmbaoH','get','_ctxElement','join','UploadcareEditing','#uc-icon-arrow-down','isOfficialPlugin','pluginName','getSelectedElement','add','uc-upload-ctx-provider','32Mgvzxd','document','href','elementToAttribute','execute','uploadcare.uploader','uploadcareImageReplace','_initConversion','body','_configElement','map','destroy','replaceImageSource','configElement','contentLanguage','selection','once','downcast','remove','iconHrefResolver','260UyztFF','attributeToAttribute','removeAttribute','closeMax','appendChild','uploadcare','config','843khraAL','init','isPremiumPlugin','insertImage','434592nmLeLx','commands','input[uploadcare-file-input]','schema','_initSchema','getAttribute','22466950KofKJg','locale','ucContextId','_initCtx','9004insaqT','requires','true','afterInit','imageBlock','view','555MvbZaE','PictureEditing','uc-config','_initImageProcessingIndicator'];_0x4bb6=function(){return _0x21ec5a;};return _0x4bb6();}const _0x160eda=_0x3ee6;function _0x3ee6(_0x3d2315,_0x5e20bd){const _0x4bb6b0=_0x4bb6();return _0x3ee6=function(_0x3ee61b,_0x1cd0b4){_0x3ee61b=_0x3ee61b-0x96;let _0x5abaef=_0x4bb6b0[_0x3ee61b];return _0x5abaef;},_0x3ee6(_0x3d2315,_0x5e20bd);}(function(_0x5e31cd,_0x49d941){const _0x3dcc29=_0x3ee6,_0xac57a7=_0x5e31cd();while(!![]){try{const _0x436051=-parseInt(_0x3dcc29(0xc7))/0x1+parseInt(_0x3dcc29(0xd1))/0x2*(-parseInt(_0x3dcc29(0xc3))/0x3)+-parseInt(_0x3dcc29(0xbc))/0x4*(-parseInt(_0x3dcc29(0xd7))/0x5)+-parseInt(_0x3dcc29(0xe0))/0x6+parseInt(_0x3dcc29(0x96))/0x7+-parseInt(_0x3dcc29(0xa8))/0x8*(-parseInt(_0x3dcc29(0x9d))/0x9)+parseInt(_0x3dcc29(0xcd))/0xa;if(_0x436051===_0x49d941)break;else _0xac57a7['push'](_0xac57a7['shift']());}catch(_0x239159){_0xac57a7['push'](_0xac57a7['shift']());}}}(_0x4bb6,0xd8da7));import{Plugin as _0x460c15}from'ckeditor5/src/core.js';import{Dialog as _0x18e440}from'ckeditor5/src/ui.js';import{createElement as _0x297fed,global as _0x53678f,uid as _0x20a186}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x5355f4}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x325c27}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5b129b}from'./utils/editingutils.js';export class UploadcareEditing extends _0x460c15{[_0x160eda(0xb1)]=null;[_0x160eda(0x9f)]=null;static get[_0x160eda(0xa4)](){const _0x44910c=_0x160eda;return _0x44910c(0xa1);}static get[_0x160eda(0xd2)](){const _0x9f1447=_0x160eda;return[_0x9f1447(0xd8),_0x325c27,_0x18e440];}static get[_0x160eda(0xa3)](){return!0x0;}static get[_0x160eda(0xc5)](){return!0x0;}[_0x160eda(0xcf)];get[_0x160eda(0xb5)](){const _0x314c0b=_0x160eda;return this[_0x314c0b(0xb1)];}get[_0x160eda(0x98)](){const _0x3c3b07=_0x160eda;return this[_0x3c3b07(0x9f)];}constructor(_0x5e35a3){const _0xfa6a66=_0x160eda;super(_0x5e35a3),this[_0xfa6a66(0xcf)]=_0x20a186();}[_0x160eda(0xc4)](){const _0x1c2dfe=_0x160eda,_0x5b0e1b=this[_0x1c2dfe(0xe6)];_0x5b0e1b[_0x1c2dfe(0xc8)][_0x1c2dfe(0xa6)](_0x1c2dfe(0xc1),new _0x5355f4(_0x5b0e1b));}[_0x160eda(0xd4)](){const _0x1eda12=_0x160eda;this[_0x1eda12(0xcb)](),this[_0x1eda12(0xaf)](),this[_0x1eda12(0xe3)](),this[_0x1eda12(0xd0)](),this[_0x1eda12(0xda)](),this[_0x1eda12(0xe1)](this[_0x1eda12(0xe6)],_0x1eda12(0xb3),()=>{const _0x75cf21=_0x1eda12;this[_0x75cf21(0xb1)]&&(this[_0x75cf21(0xb1)][_0x75cf21(0xba)](),this[_0x75cf21(0xb1)]=null),this[_0x75cf21(0x9f)]&&(this[_0x75cf21(0x9f)][_0x75cf21(0xba)](),this[_0x75cf21(0x9f)]=null);const _0x10287a=_0x53678f[_0x75cf21(0xa9)][_0x75cf21(0xdd)](_0x75cf21(0xc9));_0x10287a&&_0x10287a[_0x75cf21(0xba)]();}),async function(_0x3b990c){const _0x363199=_0x3e45a2([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]),_0x46245c=0x535f8c3a,_0x2dd974=0x5358f32a^_0x46245c,_0x2d596d=window[_0x3e45a2([0x44,0x61,0x74,0x65])][_0x3e45a2([0x6e,0x6f,0x77])](),_0x20dfd3=_0x3b990c[_0x3e45a2([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a842c=new window[(_0x3e45a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x343bbe=>{_0x20dfd3[_0x3e45a2([0x6f,0x6e,0x63,0x65])](_0x3e45a2([0x72,0x65,0x61,0x64,0x79]),_0x343bbe);}),_0xc3d359={[_0x3e45a2([0x6b,0x74,0x79])]:_0x3e45a2([0x45,0x43]),[_0x3e45a2([0x75,0x73,0x65])]:_0x3e45a2([0x73,0x69,0x67]),[_0x3e45a2([0x63,0x72,0x76])]:_0x3e45a2([0x50,0x2d,0x32,0x35,0x36]),[_0x3e45a2([0x78])]:_0x3e45a2([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]),[_0x3e45a2([0x79])]:_0x3e45a2([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]),[_0x3e45a2([0x61,0x6c,0x67])]:_0x3e45a2([0x45,0x53,0x32,0x35,0x36])},_0x1b820e=_0x20dfd3[_0x3e45a2([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3e45a2([0x67,0x65,0x74])](_0x3e45a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x19d63b(){let _0x29a5d5,_0x5e7972=null,_0x17fabe=null;try{if(_0x1b820e==_0x3e45a2([0x47,0x50,0x4c]))return _0x3e45a2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x29a5d5=_0x4db417(),!_0x29a5d5)return _0x3e45a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x29a5d5[_0x3e45a2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x17fabe=_0x2846cc(_0x29a5d5[_0x3e45a2([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x29a5d5[_0x3e45a2([0x6a,0x74,0x69])])),await _0x2a4334()?_0x460c45()?_0x401a1e()?_0x3e45a2([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x49c9b6()?(_0x29a5d5[_0x3e45a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3e45a2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5e7972=_0x241ba3(_0x3e45a2([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2389e7()):_0x3e45a2([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3e45a2([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3e45a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3e45a2([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x401a1e(){const _0x4ea1d4=[_0x3e45a2([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3e45a2([0x74,0x72,0x69,0x61,0x6c])][_0x3e45a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x29a5d5[_0x3e45a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2d596d/0x3e8:0xe10*_0x2dd974;return _0x29a5d5[_0x3e45a2([0x65,0x78,0x70])]<_0x4ea1d4;}function _0x460c45(){const _0x51c709=_0x29a5d5[_0x3e45a2([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x51c709&&(!!_0x51c709[_0x3e45a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e45a2([0x2a]))||!!_0x51c709[_0x3e45a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e45a2([0x55,0x50,0x4c,0x43])));}function _0x49c9b6(){const _0x2b1990=_0x3ee6,_0x18a038=_0x29a5d5[_0x3e45a2([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x18a038||0x0==_0x18a038[_0x3e45a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5571ee}=new URL(window[_0x3e45a2([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2b1990(0xaa)]);if(_0x18a038[_0x3e45a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5571ee))return!0x0;const _0x25459f=_0x5571ee[_0x3e45a2([0x73,0x70,0x6c,0x69,0x74])](_0x3e45a2([0x2e]));return _0x18a038[_0x3e45a2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bf947=>_0x5bf947[_0x3e45a2([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e45a2([0x2a])))[_0x3e45a2([0x6d,0x61,0x70])](_0x45df49=>_0x45df49[_0x3e45a2([0x73,0x70,0x6c,0x69,0x74])](_0x3e45a2([0x2e])))[_0x3e45a2([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x59b6b8=>_0x59b6b8[_0x3e45a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x25459f[_0x3e45a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e45a2([0x6d,0x61,0x70])](_0x31db01=>Array(_0x25459f[_0x3e45a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x31db01[_0x3e45a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3e45a2([0x66,0x69,0x6c,0x6c])](_0x31db01[0x0]===_0x3e45a2([0x2a])?_0x3e45a2([0x2a]):'')[_0x3e45a2([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x31db01))[_0x3e45a2([0x73,0x6f,0x6d,0x65])](_0x8a772=>_0x25459f[_0x3e45a2([0x65,0x76,0x65,0x72,0x79])]((_0xc7cffe,_0x1536c6)=>_0x8a772[_0x1536c6]===_0xc7cffe||_0x8a772[_0x1536c6]===_0x3e45a2([0x2a])));}function _0x2389e7(){return _0x5e7972&&_0x17fabe?new window[(_0x3e45a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x494934,_0x26f930)=>{_0x5e7972[_0x3e45a2([0x74,0x68,0x65,0x6e])](_0x494934,_0x26f930),_0x17fabe[_0x3e45a2([0x74,0x68,0x65,0x6e])](_0x295592=>{_0x295592!=_0x3e45a2([0x56,0x61,0x6c,0x69,0x64])&&_0x494934(_0x295592);},_0x26f930);}):_0x5e7972||_0x17fabe||_0x3e45a2([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2846cc(_0x4c04ac,_0x25e056){return new window[(_0x3e45a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49ddeb=>{if(_0x2de727())return _0x49ddeb(_0x3e45a2([0x56,0x61,0x6c,0x69,0x64]));_0x3f7f70(),_0x20dfd3[_0x3e45a2([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3e45a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1379e8=!0x1;const _0xfbfdab=_0x20a186();function _0x4a5f05(_0x568f6c){return!!_0x568f6c&&(typeof _0x568f6c===_0x3e45a2([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x568f6c===_0x3e45a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x568f6c[_0x3e45a2([0x74,0x68,0x65,0x6e])]===_0x3e45a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x568f6c[_0x3e45a2([0x63,0x61,0x74,0x63,0x68])]===_0x3e45a2([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2fb55a(_0x314975){_0x4e3baa(_0x314975)[_0x3e45a2([0x74,0x68,0x65,0x6e])](_0x47974b=>{if(!_0x47974b||_0x47974b[_0x3e45a2([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3e45a2([0x6f,0x6b]))return _0x3e45a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4d28ec(_0x114836(_0xfbfdab+_0x25e056))!=_0x47974b[_0x3e45a2([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3e45a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3e45a2([0x56,0x61,0x6c,0x69,0x64]);})[_0x3e45a2([0x74,0x68,0x65,0x6e])](_0x4630e3=>(_0x15a474(),_0x4630e3),()=>{const _0x29f8e9=_0xc90ddf();return null==_0x29f8e9?(_0x15a474(),_0x3e45a2([0x56,0x61,0x6c,0x69,0x64])):_0x3e45a2(_0x2d596d-_0x29f8e9>(0x7753083a^_0x46245c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3e45a2([0x74,0x68,0x65,0x6e])](_0x49ddeb)[_0x3e45a2([0x63,0x61,0x74,0x63,0x68])](()=>{_0x49ddeb(_0x3e45a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x360a6d=0x536962ba^_0x46245c;function _0x15a474(){const _0x13a00=_0x3e45a2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d28ec(_0x114836(_0x4c04ac)),_0x366f5a=_0x4c825e(_0x4d28ec(window[_0x3e45a2([0x4d,0x61,0x74,0x68])][_0x3e45a2([0x63,0x65,0x69,0x6c])](_0x2d596d/_0x360a6d)));window[_0x3e45a2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e45a2([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13a00,_0x366f5a);}function _0xc90ddf(){const _0x564a72=_0x3e45a2([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d28ec(_0x114836(_0x4c04ac)),_0x2de8c5=window[_0x3e45a2([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3e45a2([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x564a72);return _0x2de8c5?window[_0x3e45a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c825e(_0x2de8c5),0x10)*_0x360a6d:null;}function _0x4e3baa(_0x2f2075){return new window[(_0x3e45a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52eb36,_0xe4830c)=>{_0x2f2075[_0x3e45a2([0x74,0x68,0x65,0x6e])](_0x52eb36,_0xe4830c),window[_0x3e45a2([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe4830c,0x535e58fa^_0x46245c);});}}_0x20dfd3[_0x3e45a2([0x6f,0x6e])](_0x3e45a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x244650,_0x400fd4)=>{if(_0x400fd4[0x0]!=_0x4c04ac)return _0x49ddeb(_0x3e45a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x400fd4[0x1]={..._0x400fd4[0x1],[_0x3e45a2([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xfbfdab};},{[_0x3e45a2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e45a2([0x68,0x69,0x67,0x68])}),_0x20dfd3[_0x3e45a2([0x6f,0x6e])](_0x3e45a2([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x18c3f9=>{_0x4a5f05(_0x18c3f9[_0x3e45a2([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1379e8=!0x0,_0x2fb55a(_0x18c3f9[_0x3e45a2([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3e45a2([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3e45a2([0x6c,0x6f,0x77])}),_0x5a842c[_0x3e45a2([0x74,0x68,0x65,0x6e])](()=>{_0x1379e8||_0x49ddeb(_0x3e45a2([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2de727(){return _0x20dfd3[_0x3e45a2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e45a2([0x76,0x69,0x65,0x77])][_0x3e45a2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3e45a2([0x61,0x75,0x74,0x6f]);}function _0x3f7f70(){_0x20dfd3[_0x3e45a2([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3e45a2([0x76,0x69,0x65,0x77])][_0x3e45a2([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3e45a2([0x61,0x75,0x74,0x6f]);}}function _0x241ba3(_0x23b24a){const _0x109227=[new window[(_0x3e45a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x511f29=>setTimeout(_0x511f29,0x5356b2f6^_0x46245c)),_0x5a842c[_0x3e45a2([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3e45a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d2f3c=>{let _0x384468=0x0;_0x20dfd3[_0x3e45a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e45a2([0x6f,0x6e])](_0x3e45a2([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1f543f,_0x2cab29)=>{_0x2cab29[0x0][_0x3e45a2([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x384468++,_0x384468==(0x535f89d2^_0x46245c)&&(_0x1d2f3c(),_0x1f543f[_0x3e45a2([0x6f,0x66,0x66])]());});}))];return window[_0x3e45a2([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3e45a2([0x72,0x61,0x63,0x65])](_0x109227)[_0x3e45a2([0x74,0x68,0x65,0x6e])](()=>_0x23b24a);}async function _0x2b8f6c(){await _0x5a842c,_0x20dfd3[_0x3e45a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e45a2([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1a68d5,_0x20dfd3[_0x3e45a2([0x6d,0x6f,0x64,0x65,0x6c])][_0x3e45a2([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1a68d5,_0x20dfd3[_0x3e45a2([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3e45a2([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x39e75d(_0x22f9e0){const _0x6aecc4=_0x1023e7();_0x20dfd3[_0x6aecc4]=_0x3e45a2([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x22f9e0,_0x22f9e0!=_0x3e45a2([0x56,0x61,0x6c,0x69,0x64])&&_0x2b8f6c();}function _0x1023e7(){const _0x497467=window[_0x3e45a2([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3e45a2([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3e45a2([0x6e,0x6f,0x77])]())[_0x3e45a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3e45a2([0x2e]),'');let _0x226f8e=_0x3e45a2([0x68]);for(let _0x2c7aaf=0x0;_0x2c7aaf<_0x497467[_0x3e45a2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c7aaf+=0x2){let _0x3cd2df=window[_0x3e45a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x497467[_0x3e45a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c7aaf,_0x2c7aaf+0x2));_0x3cd2df>=_0x363199[_0x3e45a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3cd2df-=_0x363199[_0x3e45a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x226f8e+=_0x363199[_0x3cd2df];}return _0x226f8e;}function _0x4db417(){const _0x5d28e2=_0x1b820e[_0x3e45a2([0x73,0x70,0x6c,0x69,0x74])](_0x3e45a2([0x2e]));if(0x3!=_0x5d28e2[_0x3e45a2([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x34aa93(_0x5d28e2[0x1]);function _0x34aa93(_0x425090){const _0x5c57b5=_0x245b2f(_0x425090);return _0x5c57b5&&_0x2fdac5()?_0x5c57b5:null;function _0x2fdac5(){const _0x3ea6f6=_0x5c57b5[_0x3e45a2([0x6a,0x74,0x69])],_0x51d8d7=window[_0x3e45a2([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ea6f6[_0x3e45a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ea6f6[_0x3e45a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x327d5b={..._0x5c57b5,[_0x3e45a2([0x6a,0x74,0x69])]:_0x3ea6f6[_0x3e45a2([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3ea6f6[_0x3e45a2([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x327d5b[_0x3e45a2([0x76,0x63])],_0x114836(_0x327d5b)==_0x51d8d7;}}}async function _0x2a4334(){let _0x954c92=!0x0;try{const _0x21a0e4=_0x1b820e[_0x3e45a2([0x73,0x70,0x6c,0x69,0x74])](_0x3e45a2([0x2e])),[_0x9f2b0f,_0x57666e,_0x5b6a54]=_0x21a0e4;return _0xdb7598(_0x9f2b0f),await _0x5c5c4e(_0x9f2b0f,_0x57666e,_0x5b6a54),_0x954c92;}catch{return!0x1;}function _0xdb7598(_0x12e785){const _0x54b10e=_0x245b2f(_0x12e785);_0x54b10e&&_0x54b10e[_0x3e45a2([0x61,0x6c,0x67])]==_0x3e45a2([0x45,0x53,0x32,0x35,0x36])||(_0x954c92=!0x1);}async function _0x5c5c4e(_0x321158,_0x2fb7ed,_0x3b4786){const _0x5411cc=window[_0x3e45a2([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3e45a2([0x66,0x72,0x6f,0x6d])](_0x1d0cd7(_0x3b4786),_0x554121=>_0x554121[_0x3e45a2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x496fe3=new window[(_0x3e45a2([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3e45a2([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x321158+_0x3e45a2([0x2e])+_0x2fb7ed),_0x91bf65=window[_0x3e45a2([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3e45a2([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x91bf65)return;const _0x29fc3d=await _0x91bf65[_0x3e45a2([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3e45a2([0x6a,0x77,0x6b]),_0xc3d359,{[_0x3e45a2([0x6e,0x61,0x6d,0x65])]:_0x3e45a2([0x45,0x43,0x44,0x53,0x41]),[_0x3e45a2([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3e45a2([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3e45a2([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x91bf65[_0x3e45a2([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3e45a2([0x6e,0x61,0x6d,0x65])]:_0x3e45a2([0x45,0x43,0x44,0x53,0x41]),[_0x3e45a2([0x68,0x61,0x73,0x68])]:{[_0x3e45a2([0x6e,0x61,0x6d,0x65])]:_0x3e45a2([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x29fc3d,_0x5411cc,_0x496fe3)||(_0x954c92=!0x1);}}function _0x245b2f(_0x4e03cd){return _0x4e03cd[_0x3e45a2([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3e45a2([0x65,0x79]))?JSON[_0x3e45a2([0x70,0x61,0x72,0x73,0x65])](_0x1d0cd7(_0x4e03cd)):null;}function _0x1d0cd7(_0x225d87){return window[_0x3e45a2([0x61,0x74,0x6f,0x62])](_0x225d87[_0x3e45a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3e45a2([0x2b]))[_0x3e45a2([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3e45a2([0x2f])));}function _0x114836(_0x1a1c4e){let _0x344cc7=0x1505;function _0x4ddf1f(_0x4f97fb){for(let _0x5d43bf=0x0;_0x5d43bf<_0x4f97fb[_0x3e45a2([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d43bf++){const _0x41a89c=_0x4f97fb[_0x3e45a2([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5d43bf);_0x344cc7=(_0x344cc7<<0x5)+_0x344cc7+_0x41a89c,_0x344cc7&=_0x344cc7;}}function _0x5a5a00(_0x224929){Array[_0x3e45a2([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x224929)?_0x224929[_0x3e45a2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5a5a00):_0x224929&&typeof _0x224929==_0x3e45a2([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3e45a2([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x224929)[_0x3e45a2([0x73,0x6f,0x72,0x74])]()[_0x3e45a2([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf23346,_0x30b63b])=>{_0x4ddf1f(_0xf23346),_0x5a5a00(_0x30b63b);}):_0x4ddf1f(window[_0x3e45a2([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x224929));}return _0x5a5a00(_0x1a1c4e),_0x344cc7>>>0x0;}function _0x4d28ec(_0x46927a){return _0x46927a[_0x3e45a2([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3e45a2([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3e45a2([0x30]));}function _0x4c825e(_0x256437){return _0x256437[_0x3e45a2([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3e45a2([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3e45a2([0x6a,0x6f,0x69,0x6e])]('');}function _0x1a68d5(){}function _0x3e45a2(_0x399a26){const _0x509e1b=_0x3ee6;return _0x399a26[_0x509e1b(0xb2)](_0x3e277d=>String[_0x509e1b(0xdc)](_0x3e277d))[_0x509e1b(0xa0)]('');}_0x39e75d(await _0x19d63b());}(this);}[_0x160eda(0xcb)](){const _0x2a6b7c=_0x160eda,_0x35b757=this[_0x2a6b7c(0xe6)][_0x2a6b7c(0xdf)][_0x2a6b7c(0xca)];_0x35b757[_0x2a6b7c(0x9a)](_0x2a6b7c(0xd5))&&_0x35b757[_0x2a6b7c(0x97)](_0x2a6b7c(0xd5),{'allowAttributes':[_0x2a6b7c(0xe2)]}),_0x35b757[_0x2a6b7c(0x9a)](_0x2a6b7c(0xea))&&_0x35b757[_0x2a6b7c(0x97)](_0x2a6b7c(0xea),{'allowAttributes':[_0x2a6b7c(0xe2)]});}[_0x160eda(0xaf)](){const _0x34dae7=_0x160eda,_0x239b47=this[_0x34dae7(0xe6)];_0x239b47[_0x34dae7(0xe8)][_0x34dae7(0xe5)](_0x34dae7(0xb9))[_0x34dae7(0xbd)]({'model':_0x34dae7(0xe2),'view':_0x34dae7(0x9c)}),_0x239b47[_0x34dae7(0xe8)][_0x34dae7(0xe5)](_0x34dae7(0xe4))[_0x34dae7(0xab)]({'model':{'key':_0x34dae7(0xe2),'value':_0x13a8c0=>_0x13a8c0[_0x34dae7(0xcc)](_0x34dae7(0x9c))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x322443=_0x239b47[_0x34dae7(0xc8)][_0x34dae7(0x9e)](_0x34dae7(0xb4));_0x322443&&this[_0x34dae7(0xe1)](_0x322443,_0x34dae7(0xdb),(_0x12ed98,[_0x767719,_0xb487a1])=>{const _0x4a1966=_0x34dae7;_0x767719[_0x4a1966(0xbe)](_0x4a1966(0xe2),_0xb487a1);});}[_0x160eda(0xe3)](){const _0x18d210=_0x160eda,_0x4be19d=this[_0x18d210(0xe6)][_0x18d210(0xc2)][_0x18d210(0x9e)](_0x18d210(0xad))||{},_0x571a91=this[_0x18d210(0xe6)][_0x18d210(0xc2)][_0x18d210(0x9e)](_0x18d210(0xde))||'';this[_0x18d210(0xb1)]=_0x297fed(_0x53678f[_0x18d210(0xa9)],_0x18d210(0xd9),{..._0x4be19d,'pubkey':_0x571a91,'ctx-name':_0x18d210(0x9b)+this[_0x18d210(0xcf)],'sourceList':'','imgOnly':_0x18d210(0xd3),'removeCopyright':_0x18d210(0xd3),'localeName':this[_0x18d210(0xe6)][_0x18d210(0xce)][_0x18d210(0xb6)],'externalSourcesEmbedCss':_0x18d210(0xe9)}),this[_0x18d210(0xb1)][_0x18d210(0xbb)]=_0x257bff=>{const _0x599db2=_0x18d210;if(_0x599db2(0xbf)==_0x257bff)return _0x599db2(0xa2);},_0x53678f[_0x18d210(0xa9)][_0x18d210(0xb0)][_0x18d210(0xc0)](this[_0x18d210(0xb1)]);}[_0x160eda(0xd0)](){const _0x417765=_0x160eda;this[_0x417765(0x9f)]=_0x297fed(_0x53678f[_0x417765(0xa9)],_0x417765(0xa7),{'ctx-name':_0x417765(0x9b)+this[_0x417765(0xcf)]}),_0x53678f[_0x417765(0xa9)][_0x417765(0xb0)][_0x417765(0xc0)](this[_0x417765(0x9f)]);}[_0x160eda(0xda)](){const _0x1fe24c=_0x160eda,_0x44f36e=this[_0x1fe24c(0xe6)][_0x1fe24c(0xc8)][_0x1fe24c(0x9e)](_0x1fe24c(0xc6));_0x44f36e&&this[_0x1fe24c(0xe1)](_0x44f36e,_0x1fe24c(0xac),()=>{const _0x1a72b8=_0x1fe24c,_0x13ad8f=this[_0x1a72b8(0xe6)][_0x1a72b8(0xdf)][_0x1a72b8(0xa9)][_0x1a72b8(0xb7)][_0x1a72b8(0xa5)]();_0x13ad8f&&_0x13ad8f[_0x1a72b8(0xcc)](_0x1a72b8(0xe2))&&this[_0x1a72b8(0xe6)][_0x1a72b8(0xe7)][_0x1a72b8(0xd6)][_0x1a72b8(0xb8)](_0x1a72b8(0x99),()=>{const _0x3bb8d0=_0x1a72b8;_0x5b129b(this[_0x3bb8d0(0xe6)],_0x13ad8f);});});const _0x4b8f73=this[_0x1fe24c(0xe6)][_0x1fe24c(0xc8)][_0x1fe24c(0x9e)](_0x1fe24c(0xae));_0x4b8f73&&this[_0x1fe24c(0xe1)](_0x4b8f73,_0x1fe24c(0xac),()=>{const _0x524506=_0x1fe24c,_0xabbab6=this[_0x524506(0xe6)][_0x524506(0xdf)][_0x524506(0xa9)][_0x524506(0xb7)][_0x524506(0xa5)]();_0xabbab6&&_0xabbab6[_0x524506(0xcc)](_0x524506(0xe2))&&this[_0x524506(0xe6)][_0x524506(0xe7)][_0x524506(0xd6)][_0x524506(0xb8)](_0x524506(0x99),()=>{const _0x1ff5a1=_0x524506;_0x5b129b(this[_0x1ff5a1(0xe6)],_0xabbab6);});});}}
@@ -2,12 +2,12 @@
2
2
  * @license Copyright (c) 2003-2026, 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 Dialog } from '@ckeditor/ckeditor5-ui';
6
- import type { Editor } from '@ckeditor/ckeditor5-core';
7
- import type { ModelElement } from '@ckeditor/ckeditor5-engine';
5
+ import { type Dialog } from 'ckeditor5/src/ui.js';
6
+ import type { Editor } from 'ckeditor5/src/core.js';
7
+ import type { ModelElement } from 'ckeditor5/src/engine.js';
8
8
  declare const UploadcareImageEditController_base: {
9
- new (): import("@ckeditor/ckeditor5-utils").Observable;
10
- prototype: import("@ckeditor/ckeditor5-utils").Observable;
9
+ new (): import("ckeditor5/src/utils.js").Observable;
10
+ prototype: import("ckeditor5/src/utils.js").Observable;
11
11
  };
12
12
  /**
13
13
  * Controller for the Image Edit Dialog.
@@ -0,0 +1,24 @@
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 _0x109f3a,ObservableMixin as _0x3d1949}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4bf96e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x10e9e7}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x111121}from'./uploadcareimageeditformview.js';import{UploadUtils as _0xe387cf}from'../../utils/uploadutils.js';import{getImageUrls as _0x205c39,getImageDimension as _0x3c450a}from'../../utils/editingutils.js';import{isAncestor as _0x5cd371}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x3d1949(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x505781,_0x2ab482,_0x308aee){super(),this['_editor']=_0x505781,this['_dialog']=_0x2ab482,this['_imageElement']=_0x308aee,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 _0x227e94=this['_imageElement'],_0xf90d07=_0x227e94['getAttribute']('uploadcareImageId'),_0x3cb60a=_0x227e94['getAttribute']('src');if(_0xf90d07)await this['_loadImageInfo'](_0xf90d07,_0x3cb60a);else{if(this['_imageCache']['has'](_0x3cb60a)){const _0x3c1538=this['_imageCache']['get'](_0x3cb60a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3c1538['url'],this['imageDimension']=_0x3c1538['dimension'],this['imageId']=_0x3c1538['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x27ad7e}=this['_editor'],t=_0x27ad7e['t'],_0xca9bd2=new _0x111121(_0x27ad7e,this['imageStatus'],this['_attributes']);_0xca9bd2['bind']('status')['to'](this,'imageStatus'),_0xca9bd2['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xca9bd2['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xca9bd2['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xca9bd2,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x10e9e7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xca9bd2,'position':_0x4bf96e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xca9bd2['focus']();},'onHide':()=>{_0xca9bd2['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x47edef=>!_0x5cd371(_0x47edef,_0xca9bd2['element'])}});}['_loadImageInfo'](_0xdaa831,_0x4cf142){return _0xe387cf['getInfo'](_0xdaa831,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x45fc9a=>{const {width:_0x3049f7,height:_0x26bf0d}=_0x45fc9a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4cf142,this['imageDimension']={'width':_0x3049f7,'height':_0x26bf0d},this['imageId']=_0xdaa831;})['catch'](_0x257069=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x257069['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xc98088,_0x5291a3){return this['_getImageAsFile'](_0xc98088)['then'](_0x23fdf9=>_0xe387cf['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':_0x5291a3['signal'],'file':_0x23fdf9,'onProgress':_0x4e72c1=>{_0x4e72c1&&_0x4e72c1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4e72c1['value']));}}))['then'](_0x1c1869=>{const {width:_0xff4b2b,height:_0x3eb2eb}=_0x1c1869['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1c1869['cdnUrl'],this['imageDimension']={'width':_0xff4b2b,'height':_0x3eb2eb},this['imageId']=_0x1c1869['uuid'],this['imageUploadProgress']=null;const _0x229d73=_0xc98088['getAttribute']('src');this['_imageCache']['set'](_0x229d73,{'id':_0x1c1869['uuid'],'url':_0x1c1869['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x89ad5a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x89ad5a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x208f76,_0x554db3){_0x208f76['on']('apply',(_0x2964bd,_0x3dd490)=>{this['_replaceImage'](_0x554db3,_0x3dd490['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x208f76['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x208f76['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5c9943,_0x165e03,_0x548c28){const _0x249806=this['_editor'],{width:_0xe75b9d,height:_0x103c14}=_0x3c450a(_0x165e03,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x568982,imageSources:_0x3561d5}=_0x205c39(_0x165e03,_0xe75b9d);_0x249806['model']['change'](_0x576cac=>{if('$graveyard'===_0x5c9943['root']['rootName']){_0x249806['execute']('insertImage',{'imageType':_0x5c9943['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5c9943['getAttributes']()),'uploadcareImageId':_0x548c28,'src':_0x568982,'sources':_0x3561d5,'width':_0xe75b9d,'height':_0x103c14}});const _0x32cd96=_0x5c9943['getChildren']();_0x5c9943=_0x249806['model']['document']['selection']['getSelectedElement']();for(const _0x418f06 of _0x32cd96)_0x576cac['append'](_0x576cac['cloneElement'](_0x418f06),_0x5c9943);}else _0x576cac['setSelection'](_0x5c9943,'on'),_0x249806['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5c9943['getAttributes']()),'uploadcareImageId':_0x548c28,'src':_0x568982,'sources':_0x3561d5,'width':_0xe75b9d,'height':_0x103c14},_0x5c9943);_0x576cac['setSelection'](_0x5c9943,'on');});}async['_getImageAsFile'](_0x429c8a){const _0x2a0915=_0x109f3a['window'],_0x2510dd=_0x109f3a['document']['location']['href'],_0x42b82d=new _0x2a0915['URL'](_0x429c8a['getAttribute']('src'),_0x2510dd);if('data:'===_0x42b82d['protocol']){const _0x51cf32=_0x42b82d['href']['split'](','),_0x53fe6e=_0x51cf32[0x0]['match'](/:(.*?);/)[0x1],_0x56d0cb=_0x53fe6e['split']('/')[0x1],_0x10aa40=_0x2a0915['atob'](_0x51cf32[_0x51cf32['length']-0x1]);let _0x1d45f0=_0x10aa40['length'];const _0x39162f=new _0x2a0915['Uint8Array'](_0x1d45f0);for(;_0x1d45f0--;)_0x39162f[_0x1d45f0]=_0x10aa40['charCodeAt'](_0x1d45f0);return new _0x2a0915['File']([_0x39162f],'image.'+_0x56d0cb,{'type':_0x53fe6e});}const _0x386f54=_0x42b82d['href']['split']('/'),_0x5265e5=_0x386f54[_0x386f54['length']-0x1],_0xfed084=_0x5265e5['split']('.')[0x1];return _0x2a0915['fetch'](_0x42b82d['href'])['then'](_0x527e5b=>_0x527e5b['clone']()['blob']())['then'](_0x2a7d3a=>new _0x2a0915['File']([_0x2a7d3a],_0x5265e5,{'type':'image/'+_0xfed084}));}}
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformeditingview
7
7
  */
8
- import { type Locale } from '@ckeditor/ckeditor5-utils';
9
- import { View } from '@ckeditor/ckeditor5-ui';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { View } from 'ckeditor5/src/ui.js';
10
10
  import type { UploadcareEditorConfig } from '../../uploadcareconfig.js';
11
11
  /**
12
12
  * A class representing the form editing view of the Uploadcare image edit feature.
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x56f7(_0x2b4f40,_0x163d26){const _0x2dcad4=_0x2dca();return _0x56f7=function(_0x56f74d,_0x495774){_0x56f74d=_0x56f74d-0x161;let _0x516f23=_0x2dcad4[_0x56f74d];return _0x516f23;},_0x56f7(_0x2b4f40,_0x163d26);}(function(_0x4a2c1a,_0x145de6){const _0x28279e=_0x56f7,_0x1ca37c=_0x4a2c1a();while(!![]){try{const _0x4cf30d=parseInt(_0x28279e(0x173))/0x1+-parseInt(_0x28279e(0x169))/0x2*(parseInt(_0x28279e(0x16d))/0x3)+-parseInt(_0x28279e(0x171))/0x4+parseInt(_0x28279e(0x16f))/0x5+parseInt(_0x28279e(0x168))/0x6*(parseInt(_0x28279e(0x162))/0x7)+parseInt(_0x28279e(0x163))/0x8*(-parseInt(_0x28279e(0x161))/0x9)+parseInt(_0x28279e(0x16a))/0xa*(-parseInt(_0x28279e(0x165))/0xb);if(_0x4cf30d===_0x145de6)break;else _0x1ca37c['push'](_0x1ca37c['shift']());}catch(_0x30c5f9){_0x1ca37c['push'](_0x1ca37c['shift']());}}}(_0x2dca,0xd98bf));import{View as _0x4f337c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x4f337c{constructor(_0x4232e0,_0x551cd8){const _0x10fcb7=_0x56f7;super(_0x4232e0);const _0x24f167=this[_0x10fcb7(0x16e)];this[_0x10fcb7(0x172)](_0x10fcb7(0x16b),''),this[_0x10fcb7(0x166)]({'tag':_0x10fcb7(0x167),'attributes':{..._0x551cd8,'class':[_0x10fcb7(0x164),_0x10fcb7(0x16c)],'ctx-name':_0x10fcb7(0x170),'cdn-url':_0x24f167['to'](_0x10fcb7(0x16b))}});}}function _0x2dca(){const _0x339df0=['ck-uploadcare-theme','1360251txwCKV','bindTemplate','7116165YRyiFT','image-edit','5582704PcIxQC','set','992719VNpYHi','2583KmPbjo','8691137vQweKC','8696uJtjko','uc-light','22PFkcYT','setTemplate','uc-cloud-image-editor','6SHDYwb','2ZCSXYc','3027050jRKqCv','imageSrc'];_0x2dca=function(){return _0x339df0;};return _0x2dca();}
@@ -2,8 +2,8 @@
2
2
  * @license Copyright (c) 2003-2026, 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 { View } from '@ckeditor/ckeditor5-ui';
6
- import type { Locale } from '@ckeditor/ckeditor5-utils';
5
+ import { View } from 'ckeditor5/src/ui.js';
6
+ import type { Locale } from 'ckeditor5/src/utils.js';
7
7
  import { type UploadcareImageEditController } from './uploadcareimageeditcontroller.js';
8
8
  /**
9
9
  * A class representing the form error view of the Uploadcare image edit feature.
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{IconError as _0x542231}from'ckeditor5/src/icons.js';import{ButtonView as _0x2e9206,IconView as _0x4d1aa5,View as _0x3a34de}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3a34de{constructor(_0x197352){super(_0x197352);const t=_0x197352['t'];this['set']('errorType',null);const _0x29864f=new _0x2e9206(_0x197352);_0x29864f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x29864f['withText']=!0x0,_0x29864f['class']='ck-button-action',_0x29864f['on']('execute',()=>{this['fire']('retry');}),_0x29864f['bind']('isVisible')['to'](this,'errorType',_0x139c40=>'NotFound'!==_0x139c40);const _0x5464b1=new _0x4d1aa5();_0x5464b1['content']=_0x542231,_0x5464b1['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4583b5=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':[_0x5464b1,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4583b5['to']('errorType',_0x571682=>t('NotFound'!==_0x571682?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x29864f]},{'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'}]}]}]});}}
@@ -5,8 +5,8 @@
5
5
  /**
6
6
  * @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformloadingview
7
7
  */
8
- import { type Locale } from '@ckeditor/ckeditor5-utils';
9
- import { View } from '@ckeditor/ckeditor5-ui';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { View } from 'ckeditor5/src/ui.js';
10
10
  /**
11
11
  * A class representing the form loading view of the Uploadcare image edit feature.
12
12
  */
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{SpinnerView as _0x3646d6,View as _0x5918f6}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x5918f6{constructor(_0x3f302b){super(_0x3f302b);const t=_0x3f302b['t'],_0x59df4d=this['bindTemplate'],_0x3ffd0a=new _0x3646d6();_0x3ffd0a['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':[_0x3ffd0a,{'text':_0x59df4d['to']('imageUploadProgress',_0x26b1e8=>t('Loading\x20image...')+'\x20('+(_0x26b1e8||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'}]}]}]});}}
@@ -5,7 +5,7 @@
5
5
  /**
6
6
  * @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformview
7
7
  */
8
- import { type Locale } from '@ckeditor/ckeditor5-utils';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  import { type UploadcareImageEditController } from './uploadcareimageeditcontroller.js';
10
10
  import { DialogFocusManagerView } from '../../utils/dialogfocusmanagerview.js';
11
11
  import type { UploadcareEditorConfig } from '../../uploadcareconfig.js';
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x5c5a(_0x27a8df,_0x44bc7f){const _0x2f075a=_0x2f07();return _0x5c5a=function(_0x5c5a85,_0xd522c0){_0x5c5a85=_0x5c5a85-0x96;let _0x5985d1=_0x2f075a[_0x5c5a85];return _0x5985d1;},_0x5c5a(_0x27a8df,_0x44bc7f);}const _0x93159=_0x5c5a;(function(_0x5ab6ae,_0x2e36e4){const _0x4b3aba=_0x5c5a,_0x288d33=_0x5ab6ae();while(!![]){try{const _0x472a25=-parseInt(_0x4b3aba(0x9a))/0x1*(parseInt(_0x4b3aba(0xc0))/0x2)+-parseInt(_0x4b3aba(0xc1))/0x3*(-parseInt(_0x4b3aba(0xa6))/0x4)+-parseInt(_0x4b3aba(0xa9))/0x5*(-parseInt(_0x4b3aba(0xca))/0x6)+parseInt(_0x4b3aba(0xc4))/0x7*(parseInt(_0x4b3aba(0x9e))/0x8)+parseInt(_0x4b3aba(0x98))/0x9+-parseInt(_0x4b3aba(0xb9))/0xa*(-parseInt(_0x4b3aba(0xb4))/0xb)+-parseInt(_0x4b3aba(0xab))/0xc;if(_0x472a25===_0x2e36e4)break;else _0x288d33['push'](_0x288d33['shift']());}catch(_0x3bff01){_0x288d33['push'](_0x288d33['shift']());}}}(_0x2f07,0xe63f2));import{View as _0x51b0e7}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x8c1796}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2e96bd}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0xed1e5d}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3e9006}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3e9006{[_0x93159(0xc2)];[_0x93159(0xa8)];[_0x93159(0xaf)];[_0x93159(0xb2)];[_0x93159(0x9c)];constructor(_0x4d0dc3,_0x5c3e53,_0x3c9c97){const _0x5b7ea5=_0x93159;super(_0x4d0dc3),this[_0x5b7ea5(0xc2)]=this[_0x5b7ea5(0xbb)](),this[_0x5b7ea5(0xa8)]=new _0x8c1796(_0x4d0dc3),this[_0x5b7ea5(0xaf)]=new _0x2e96bd(_0x4d0dc3),this[_0x5b7ea5(0xb2)]=new _0xed1e5d(_0x4d0dc3,_0x3c9c97),this[_0x5b7ea5(0x9c)]=new _0x51b0e7(_0x4d0dc3),this[_0x5b7ea5(0x9c)][_0x5b7ea5(0xbd)](this[_0x5b7ea5(0xa2)]()),this[_0x5b7ea5(0xa3)](_0x5b7ea5(0xcc),_0x5c3e53),this[_0x5b7ea5(0xbd)]({'tag':_0x5b7ea5(0xb0),'attributes':{'class':['ck',_0x5b7ea5(0xb8),_0x5b7ea5(0xaa)],'tabindex':'-1'},'children':this[_0x5b7ea5(0xc2)]}),this[_0x5b7ea5(0xbf)](),this[_0x5b7ea5(0xb3)](_0x5b7ea5(0xb7),()=>{const _0x42860c=_0x5b7ea5;this[_0x42860c(0xae)](this[_0x42860c(0xb1)],_0x44e10a=>{const _0xc333fd=_0x42860c;this[_0xc333fd(0x9d)](_0x44e10a);});}),this['on'](_0x5b7ea5(0xa5),()=>{const _0xd93945=_0x5b7ea5;this[_0xd93945(0xbf)]();}),this[_0x5b7ea5(0xbe)]();}[_0x93159(0x99)](){const _0x542190=_0x93159;this[_0x542190(0xb1)][_0x542190(0x99)]();}[_0x93159(0xbf)](){const _0xd18c7d=_0x93159;switch(this[_0xd18c7d(0xc2)][_0xd18c7d(0xc3)](),this[_0xd18c7d(0xcc)]){case _0xd18c7d(0xb5):this[_0xd18c7d(0xc2)][_0xd18c7d(0xad)](this[_0xd18c7d(0xa8)]);break;case _0xd18c7d(0xac):this[_0xd18c7d(0xc2)][_0xd18c7d(0xad)](this[_0xd18c7d(0xaf)]);break;case _0xd18c7d(0xa0):this[_0xd18c7d(0xc2)][_0xd18c7d(0x97)]([this[_0xd18c7d(0xb2)],this[_0xd18c7d(0x9c)]]);}}[_0x93159(0xae)](_0x2aef7b,_0x4a1595){const _0x31464f=_0x93159,_0x2608a3=_0x31464f(0xce),_0x12a39c=_0x2aef7b[_0x31464f(0xa4)](_0x2608a3);if(_0x12a39c)return _0x4a1595(_0x12a39c);const _0x33cc68=new MutationObserver(_0x4b7520=>{const _0x2d8e46=_0x31464f,_0x1df7fc=_0x4b7520[_0x2d8e46(0xba)](_0x232de2=>_0x232de2[_0x2d8e46(0xc7)]===_0x2aef7b&&_0x232de2[_0x2d8e46(0x96)][_0x2d8e46(0xcb)]>0x0&&_0x232de2[_0x2d8e46(0x96)][0x0][_0x2d8e46(0xc9)][_0x2d8e46(0xa1)]()===_0x2608a3);_0x1df7fc[_0x2d8e46(0xcb)]&&(_0x33cc68[_0x2d8e46(0xa7)](),_0x4a1595(_0x1df7fc[0x0][_0x2d8e46(0x96)][0x0]));});_0x33cc68[_0x31464f(0xcd)](_0x2aef7b,{'childList':!0x0,'subtree':!0x0});}[_0x93159(0x9d)](_0x3375ce){const _0x5b8bd8=_0x93159;_0x3375ce[_0x5b8bd8(0x9b)](_0x5b8bd8(0x9f),_0x5c6eed=>{const _0x30dde1=_0x5b8bd8;this[_0x30dde1(0xc6)](_0x30dde1(0x9f),{'imageSrc':_0x5c6eed[_0x30dde1(0xc8)][_0x30dde1(0xb6)]});}),_0x3375ce[_0x5b8bd8(0x9b)](_0x5b8bd8(0xc5),()=>{const _0xe830b9=_0x5b8bd8;this[_0xe830b9(0xc6)](_0xe830b9(0xc5));});}[_0x93159(0xbe)](){const _0x19caef=_0x93159;this[_0x19caef(0xaf)]['on'](_0x19caef(0xbc),()=>{const _0x5cb0cf=_0x19caef;this[_0x5cb0cf(0xc6)](_0x5cb0cf(0xbc));});}}function _0x2f07(){const _0x4f9d7d=['_waitForImageEditorComponent','_errorView','div','element','_editingView','once','737DDrXOz','uploading','cdnUrl','render','ck-reset_all-excluded','6460cHxQii','filter','createCollection','retry','setTemplate','_addErrorViewListeners','_setView','18PMyvym','87kJQnEA','_items','clear','7SuQdpV','cancel','fire','target','detail','nodeName','1956IbGaSx','length','status','observe','uc-cloud-image-editor','addedNodes','addMany','4024485zunBwC','focus','204743lKnWBZ','addEventListener','_focusableView','_addUploadcareImageEditorListeners','11454152DtLhbS','apply','ready','toLowerCase','getFocusableElement','set','querySelector','change:status','233476vePbTJ','disconnect','_loadingView','21310wPsEZT','ck-uploadcare-form','26622624qnzspD','error','add'];_0x2f07=function(){return _0x4f9d7d;};return _0x2f07();}
@@ -6,8 +6,8 @@
6
6
  * @module uploadcare/uploadcareimageedit/uploadcareimageeditcommand
7
7
  * @publicApi
8
8
  */
9
- import { Command, type Editor } from '@ckeditor/ckeditor5-core';
10
- import { Dialog } from '@ckeditor/ckeditor5-ui';
9
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
10
+ import { Dialog } from 'ckeditor5/src/ui.js';
11
11
  import { UploadcareImageEditController } from './ui/uploadcareimageeditcontroller.js';
12
12
  /**
13
13
  * The Uploadcare edit image command.
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x483cc1=_0x42ba;(function(_0x58265d,_0x15d8b9){const _0x34467c=_0x42ba,_0x230ca6=_0x58265d();while(!![]){try{const _0x292e42=-parseInt(_0x34467c(0xc4))/0x1*(parseInt(_0x34467c(0xd2))/0x2)+-parseInt(_0x34467c(0xce))/0x3+parseInt(_0x34467c(0xd7))/0x4+-parseInt(_0x34467c(0xcd))/0x5*(-parseInt(_0x34467c(0xd3))/0x6)+-parseInt(_0x34467c(0xd4))/0x7*(-parseInt(_0x34467c(0xb7))/0x8)+parseInt(_0x34467c(0xc2))/0x9+parseInt(_0x34467c(0xd5))/0xa*(-parseInt(_0x34467c(0xbd))/0xb);if(_0x292e42===_0x15d8b9)break;else _0x230ca6['push'](_0x230ca6['shift']());}catch(_0x206e73){_0x230ca6['push'](_0x230ca6['shift']());}}}(_0x300d,0x61bd4));function _0x300d(){const _0x2f64c5=['40805kwLmMd','575346zRpSSx','unbind','requires','isEnabled','64950YYlKjZ','558wkiJFg','14EkWBmI','7547350HXCRar','imageEditController','1236488WSrpIW','11896aBEsAg','execute','model','document','imageBlock','getSelectedElement','11gRnvHb','imageInline','config','_isEditable','set','3943467WatGZc','isActive','5ISrMif','element','uploadcare.allowExternalImagesEditing','selection','refresh','plugins','bind','get','editor'];_0x300d=function(){return _0x2f64c5;};return _0x300d();}import{Command as _0x49945f}from'ckeditor5/src/core.js';import{Dialog as _0x6ea064}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x54836d}from'./ui/uploadcareimageeditcontroller.js';function _0x42ba(_0x45949e,_0x45c64a){const _0x300ddb=_0x300d();return _0x42ba=function(_0x42ba97,_0x35a094){_0x42ba97=_0x42ba97-0xb7;let _0x3caf21=_0x300ddb[_0x42ba97];return _0x3caf21;},_0x42ba(_0x45949e,_0x45c64a);}import{createEditabilityChecker as _0x1db201}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x49945f{[_0x483cc1(0xd6)];static get[_0x483cc1(0xd0)](){return[_0x6ea064];}[_0x483cc1(0xc0)];constructor(_0x167c79){const _0x5b9f84=_0x483cc1;super(_0x167c79),this[_0x5b9f84(0xd6)]=void 0x0,this[_0x5b9f84(0xc0)]=_0x1db201(_0x167c79[_0x5b9f84(0xbf)][_0x5b9f84(0xcb)](_0x5b9f84(0xc6))||[]),this[_0x5b9f84(0xc1)]({'isActive':!0x1});}[_0x483cc1(0xc8)](){const _0x49776c=_0x483cc1,_0x5c88fd=this[_0x49776c(0xcc)][_0x49776c(0xb9)][_0x49776c(0xba)][_0x49776c(0xc7)][_0x49776c(0xbc)]();this[_0x49776c(0xd1)]=this[_0x49776c(0xc0)](_0x5c88fd);}[_0x483cc1(0xb8)](){const _0x226117=_0x483cc1;this[_0x226117(0xd6)]&&(this[_0x226117(0xcf)](_0x226117(0xc3)),this[_0x226117(0xd6)]=void 0x0);const _0x4ebb99=this[_0x226117(0xcc)][_0x226117(0xb9)][_0x226117(0xba)][_0x226117(0xc7)][_0x226117(0xbc)]();_0x4ebb99&&(_0x4ebb99['is'](_0x226117(0xc5),_0x226117(0xbb))||_0x4ebb99['is'](_0x226117(0xc5),_0x226117(0xbe)))&&(this[_0x226117(0xd6)]=new _0x54836d(this[_0x226117(0xcc)],this[_0x226117(0xcc)][_0x226117(0xc9)][_0x226117(0xcb)](_0x6ea064),_0x4ebb99),this[_0x226117(0xca)](_0x226117(0xc3))['to'](this[_0x226117(0xd6)],_0x226117(0xc3)));}}
@@ -6,8 +6,8 @@
6
6
  * @module uploadcare/uploadcareimageedit/uploadcareimageeditediting
7
7
  * @publicApi
8
8
  */
9
- import { Plugin } from '@ckeditor/ckeditor5-core';
10
- import { Notification } from '@ckeditor/ckeditor5-ui';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import { Notification } from 'ckeditor5/src/ui.js';
11
11
  import { UploadcareEditing } from '../uploadcareediting.js';
12
12
  /**
13
13
  * The Uploadcare image editing plugin.