@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260121.0 → 0.0.0-nightly-20260122.0

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