@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260106.0 → 0.0.0-nightly-20260107.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 (272) 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/package.json +33 -23
  223. package/{dist → src}/augmentation.d.ts +0 -4
  224. package/src/augmentation.js +23 -0
  225. package/{dist → src}/index.d.ts +0 -4
  226. package/src/index.js +23 -0
  227. package/{dist → src}/ui/uploadcarecontroller.d.ts +3 -7
  228. package/src/ui/uploadcarecontroller.js +24 -0
  229. package/{dist → src}/ui/uploadcareformview.d.ts +1 -5
  230. package/src/ui/uploadcareformview.js +23 -0
  231. package/{dist → src}/uploadcare.d.ts +1 -5
  232. package/src/uploadcare.js +23 -0
  233. package/{dist → src}/uploadcarecommand.d.ts +2 -6
  234. package/src/uploadcarecommand.js +23 -0
  235. package/{dist → src}/uploadcareconfig.d.ts +1 -5
  236. package/src/uploadcareconfig.js +23 -0
  237. package/{dist → src}/uploadcareediting.d.ts +2 -6
  238. package/src/uploadcareediting.js +23 -0
  239. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditcontroller.d.ts +5 -9
  240. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +24 -0
  241. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformeditingview.d.ts +2 -6
  242. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +23 -0
  243. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +2 -6
  244. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +23 -0
  245. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformloadingview.d.ts +2 -6
  246. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +23 -0
  247. package/{dist → src}/uploadcareimageedit/ui/uploadcareimageeditformview.d.ts +1 -5
  248. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +23 -0
  249. package/{dist → src}/uploadcareimageedit/uploadcareimageeditcommand.d.ts +2 -6
  250. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +23 -0
  251. package/{dist → src}/uploadcareimageedit/uploadcareimageeditediting.d.ts +2 -6
  252. package/src/uploadcareimageedit/uploadcareimageeditediting.js +23 -0
  253. package/{dist → src}/uploadcareimageedit/uploadcareimageeditui.d.ts +1 -5
  254. package/src/uploadcareimageedit/uploadcareimageeditui.js +23 -0
  255. package/{dist → src}/uploadcareimageedit/uploadcareimagereplacecommand.d.ts +1 -5
  256. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +23 -0
  257. package/{dist → src}/uploadcareimageedit.d.ts +1 -5
  258. package/src/uploadcareimageedit.js +23 -0
  259. package/{dist → src}/uploadcareui.d.ts +1 -5
  260. package/src/uploadcareui.js +23 -0
  261. package/{dist → src}/uploadcareuploadadapter.d.ts +2 -6
  262. package/src/uploadcareuploadadapter.js +23 -0
  263. package/{dist → src}/utils/common-translations.d.ts +0 -4
  264. package/src/utils/common-translations.js +23 -0
  265. package/{dist → src}/utils/dialogfocusmanagerview.d.ts +2 -6
  266. package/src/utils/dialogfocusmanagerview.js +23 -0
  267. package/{dist → src}/utils/editingutils.d.ts +0 -4
  268. package/src/utils/editingutils.js +23 -0
  269. package/{dist → src}/utils/isancestor.d.ts +0 -4
  270. package/src/utils/isancestor.js +23 -0
  271. package/{dist → src}/utils/uploadutils.d.ts +0 -4
  272. package/src/utils/uploadutils.js +23 -0
@@ -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 _0x5060(_0x3b91d5,_0x3d8173){const _0x269384=_0x2693();return _0x5060=function(_0x506043,_0x66fd5c){_0x506043=_0x506043-0x1cb;let _0x42e5de=_0x269384[_0x506043];return _0x42e5de;},_0x5060(_0x3b91d5,_0x3d8173);}const _0xd0107e=_0x5060;(function(_0x4b4ca0,_0x372599){const _0x82125a=_0x5060,_0x2885bb=_0x4b4ca0();while(!![]){try{const _0x13ff28=parseInt(_0x82125a(0x1e0))/0x1*(-parseInt(_0x82125a(0x1d4))/0x2)+parseInt(_0x82125a(0x1db))/0x3+parseInt(_0x82125a(0x1cc))/0x4*(parseInt(_0x82125a(0x1da))/0x5)+-parseInt(_0x82125a(0x1ce))/0x6+parseInt(_0x82125a(0x1de))/0x7*(-parseInt(_0x82125a(0x1dc))/0x8)+-parseInt(_0x82125a(0x1e1))/0x9*(parseInt(_0x82125a(0x1d6))/0xa)+parseInt(_0x82125a(0x1df))/0xb;if(_0x13ff28===_0x372599)break;else _0x2885bb['push'](_0x2885bb['shift']());}catch(_0x116598){_0x2885bb['push'](_0x2885bb['shift']());}}}(_0x2693,0xb82c7));import{Plugin as _0x3c4b8a}from'ckeditor5/src/core.js';function _0x2693(){const _0x415f84=['ImageEditing','UploadcareImageEditEditing','commands','16202WxAKRI','isOfficialPlugin','27930mMOfOY','isPremiumPlugin','add','init','2451615DZYzSZ','58938LfrMHd','2792qWVxUL','requires','1652BGXRHl','18033037zsooEb','154DFofem','1134whueej','ImageUtils','12xliyhg','uploadcareImageEdit','4162626iOOzqt','uploadcareImageReplace','pluginName'];_0x2693=function(){return _0x415f84;};return _0x2693();}import{Notification as _0x2394c2}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x59dadd}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x1ec2ee}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x1c0d7c}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3c4b8a{static get[_0xd0107e(0x1d0)](){const _0x1159ad=_0xd0107e;return _0x1159ad(0x1d2);}static get[_0xd0107e(0x1dd)](){const _0x1d18f8=_0xd0107e;return[_0x1c0d7c,_0x2394c2,_0x1d18f8(0x1cb),_0x1d18f8(0x1d1)];}static get[_0xd0107e(0x1d5)](){return!0x0;}static get[_0xd0107e(0x1d7)](){return!0x0;}[_0xd0107e(0x1d9)](){const _0x397795=_0xd0107e,{editor:_0x1aca45}=this;_0x1aca45[_0x397795(0x1d3)][_0x397795(0x1d8)](_0x397795(0x1cd),new _0x59dadd(_0x1aca45)),_0x1aca45[_0x397795(0x1d3)][_0x397795(0x1d8)](_0x397795(0x1cf),new _0x1ec2ee(_0x1aca45));}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -10,7 +6,7 @@
10
6
  * @module uploadcare/uploadcareimageedit/uploadcareimageeditui
11
7
  * @publicApi
12
8
  */
13
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
14
10
  import '@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';
15
11
  import '../../theme/uploadcare-theme.css';
16
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{Plugin as _0x4411bc}from'ckeditor5/src/core.js';import{ButtonView as _0x1ff5c1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xe75ae5}from'ckeditor5/src/icons.js';import{createElement as _0x43c600}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x4411bc{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x4753d1=this['editor'];_0x4753d1['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3b7e4e=>{const _0x43e3d3=_0x4753d1['commands']['get']('uploadcareImageEdit'),_0x52cacd=new _0x1ff5c1(_0x3b7e4e),t=_0x3b7e4e['t'];return _0x52cacd['set']({'icon':_0xe75ae5,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x52cacd['bind']('isEnabled')['to'](_0x43e3d3),_0x52cacd['bind']('isOn')['to'](_0x43e3d3,'isActive'),this['listenTo'](_0x52cacd,'execute',()=>{_0x4753d1['execute']('uploadcareImageEdit'),_0x4753d1['editing']['view']['focus']();}),_0x52cacd;}),this['_initConfig']();}['_initConfig'](){const _0x3960e4=_0x43c600(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3960e4),this['listenTo'](this['editor'],'destroy',()=>{_0x3960e4['remove']();});}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -9,7 +5,7 @@
9
5
  /**
10
6
  * @module uploadcare/uploadcareimageedit/uploadcareimagereplacecommand
11
7
  */
12
- import { Command } from '@ckeditor/ckeditor5-core';
8
+ import { Command } from 'ckeditor5/src/core.js';
13
9
  /**
14
10
  * The Uploadcare replace image command.
15
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
+ const _0x3813d3=_0x5076;(function(_0x2d9021,_0x326602){const _0x3f50b6=_0x5076,_0x2cf00b=_0x2d9021();while(!![]){try{const _0x1ac9df=parseInt(_0x3f50b6(0x11a))/0x1*(-parseInt(_0x3f50b6(0x122))/0x2)+parseInt(_0x3f50b6(0x11e))/0x3+-parseInt(_0x3f50b6(0x123))/0x4*(parseInt(_0x3f50b6(0x12f))/0x5)+parseInt(_0x3f50b6(0x125))/0x6*(-parseInt(_0x3f50b6(0x120))/0x7)+-parseInt(_0x3f50b6(0x126))/0x8*(-parseInt(_0x3f50b6(0x129))/0x9)+-parseInt(_0x3f50b6(0x11c))/0xa*(parseInt(_0x3f50b6(0x128))/0xb)+parseInt(_0x3f50b6(0x12e))/0xc;if(_0x1ac9df===_0x326602)break;else _0x2cf00b['push'](_0x2cf00b['shift']());}catch(_0x59f1bf){_0x2cf00b['push'](_0x2cf00b['shift']());}}}(_0x57a0,0x5fd21));function _0x5076(_0x57c10,_0x5d67b6){const _0x57a07c=_0x57a0();return _0x5076=function(_0x50769e,_0x3ad9ce){_0x50769e=_0x50769e-0x116;let _0x3b6c46=_0x57a07c[_0x50769e];return _0x3b6c46;},_0x5076(_0x57c10,_0x5d67b6);}import{Command as _0x3a80a1}from'ckeditor5/src/core.js';function _0x57a0(){const _0x392f69=['1979964rFcVEC','document','3993222wVMdCg','24oSggxk','isEnabled','28347yywEAF','1457838vonMDL','removeAttribute','setAttributes','change','refresh','20618484zNjCtQ','5DpadaP','execute','imageBlock','imageInline','getSelectedElement','model','editor','234631zxYynS','selection','390oKQxlx','sizes','459756oukHdS','srcset','7BmpvXd','element','6GQjIZG'];_0x57a0=function(){return _0x392f69;};return _0x57a0();}export class UploadcareImageReplaceCommand extends _0x3a80a1{[_0x3813d3(0x12d)](){const _0x110221=_0x3813d3,_0x34fd81=this[_0x110221(0x119)][_0x110221(0x118)][_0x110221(0x124)][_0x110221(0x11b)][_0x110221(0x117)]();this[_0x110221(0x127)]=Boolean(_0x34fd81&&(_0x34fd81['is'](_0x110221(0x121),_0x110221(0x131))||_0x34fd81['is'](_0x110221(0x121),_0x110221(0x116))));}[_0x3813d3(0x130)](_0x267fd0){const _0x42a8eb=_0x3813d3,_0xc5fe1a=this[_0x42a8eb(0x119)][_0x42a8eb(0x118)][_0x42a8eb(0x124)][_0x42a8eb(0x11b)][_0x42a8eb(0x117)]();this[_0x42a8eb(0x119)][_0x42a8eb(0x118)][_0x42a8eb(0x12c)](_0x3f0d9b=>{const _0x26a3d6=_0x42a8eb;_0x3f0d9b[_0x26a3d6(0x12b)](_0x267fd0,_0xc5fe1a),_0x3f0d9b[_0x26a3d6(0x12a)](_0x26a3d6(0x11f),_0xc5fe1a),_0x3f0d9b[_0x26a3d6(0x12a)](_0x26a3d6(0x11d),_0xc5fe1a);});}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -10,7 +6,7 @@
10
6
  * @module uploadcare/uploadcareimageedit
11
7
  * @publicApi
12
8
  */
13
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
14
10
  import { UploadcareImageEditEditing } from './uploadcareimageedit/uploadcareimageeditediting.js';
15
11
  import { UploadcareImageEditUI } from './uploadcareimageedit/uploadcareimageeditui.js';
16
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
+ function _0x5790(_0x5a45eb,_0x362a25){var _0x27dddf=_0x27dd();return _0x5790=function(_0x5790f8,_0x563c71){_0x5790f8=_0x5790f8-0x1d3;var _0x2603c5=_0x27dddf[_0x5790f8];return _0x2603c5;},_0x5790(_0x5a45eb,_0x362a25);}var _0x4864db=_0x5790;(function(_0x47f349,_0xd44852){var _0x593cd2=_0x5790,_0x219672=_0x47f349();while(!![]){try{var _0x35df3f=-parseInt(_0x593cd2(0x1db))/0x1*(parseInt(_0x593cd2(0x1e0))/0x2)+parseInt(_0x593cd2(0x1de))/0x3*(-parseInt(_0x593cd2(0x1dc))/0x4)+parseInt(_0x593cd2(0x1d5))/0x5+parseInt(_0x593cd2(0x1df))/0x6+-parseInt(_0x593cd2(0x1d4))/0x7*(-parseInt(_0x593cd2(0x1e1))/0x8)+parseInt(_0x593cd2(0x1d7))/0x9+-parseInt(_0x593cd2(0x1dd))/0xa;if(_0x35df3f===_0xd44852)break;else _0x219672['push'](_0x219672['shift']());}catch(_0x12c3c6){_0x219672['push'](_0x219672['shift']());}}}(_0x27dd,0x3af06));import{Plugin as _0xcf02f0}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1dab3b}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x3f4352}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x27dd(){var _0xac925a=['requires','69fdsOug','11136sdByPD','4134510AlUBtp','177WCbYGX','1232322IpIDcl','4578OuEJSd','24ncDGiG','isPremiumPlugin','601923CFxyXH','1008175CZESQa','pluginName','2808657DOmjhl','isOfficialPlugin','UploadcareImageEdit'];_0x27dd=function(){return _0xac925a;};return _0x27dd();}export class UploadcareImageEdit extends _0xcf02f0{static get[_0x4864db(0x1d6)](){var _0x14b182=_0x4864db;return _0x14b182(0x1d9);}static get[_0x4864db(0x1da)](){return[_0x1dab3b,_0x3f4352];}static get[_0x4864db(0x1d8)](){return!0x0;}static get[_0x4864db(0x1d3)](){return!0x0;}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -10,7 +6,7 @@
10
6
  * @module uploadcare/uploadcareui
11
7
  * @publicApi
12
8
  */
13
- import { Plugin } from '@ckeditor/ckeditor5-core';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
14
10
  import '@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';
15
11
  import '../theme/uploadcare-theme.css';
16
12
  import '../theme/uploadcareimageedit.css';
@@ -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 _0x4837(){const _0x1cab2b=['uploadcareLicenseKeyUsageLimit','_showLicenseError','plugins','isOfficialPlugin','uploadcareLicenseKeyNotAllowed','_createMenuBarButtons','_getIntegrationKey','262758rUVSNr','Uploadcare','uploadcareLicenseKeyTrialLimit','pluginName','uploadcareLicenseKeyValid','icon','expired','execute','config','type','Facebook','reduce','label','_createToolbarButton','shortText','evaluationLimit','map','usageLimit','isImageSelected','Local','uploadcare','211608MMwNuN','isPremiumPlugin','Replace','11073861VWXHrK','trialLimit','Dropbox','assetManager','OneDrive','withText','tooltip','3516331XkolhI','uploadcareLicenseKeyDomainLimit','locale','1455972tllvnq','UploadcareUI','licenseKey','text','has','Insert','8peKWxm','bind','isEnabled','registerIntegration','afterInit','destroy','invalid','featureNotAllowed','url','5yJrfPY','push','30768brSZsm','commands','GPhotos','uploadcareLicenseKeyInvalid','ImageInsertUI','init','upload','uploadcareLicenseKeyExpired','GDrive','domainLimit','_licenseKeyCheckInterval','forEach','uploadcareLicenseKeyEvaluationLimit','_createButton','_createDropdownButtons','uploadcare.uploader.sourceList','get','2435805jeMazz','URL','_normalizeConfigSourceList','entries','editor'];_0x4837=function(){return _0x1cab2b;};return _0x4837();}const _0x362b74=_0x1a84;function _0x1a84(_0x2e113e,_0x575f0e){const _0x4837b6=_0x4837();return _0x1a84=function(_0x1a84b7,_0x2797ee){_0x1a84b7=_0x1a84b7-0x1e3;let _0x554f05=_0x4837b6[_0x1a84b7];return _0x554f05;},_0x1a84(_0x2e113e,_0x575f0e);}(function(_0x294403,_0x51774f){const _0x16923e=_0x1a84,_0x4f4545=_0x294403();while(!![]){try{const _0x1f2e64=parseInt(_0x16923e(0x1eb))/0x1+parseInt(_0x16923e(0x226))/0x2+-parseInt(_0x16923e(0x21a))/0x3+-parseInt(_0x16923e(0x1f8))/0x4*(-parseInt(_0x16923e(0x207))/0x5)+parseInt(_0x16923e(0x209))/0x6+-parseInt(_0x16923e(0x1f5))/0x7+parseInt(_0x16923e(0x1fe))/0x8*(parseInt(_0x16923e(0x1ee))/0x9);if(_0x1f2e64===_0x51774f)break;else _0x4f4545['push'](_0x4f4545['shift']());}catch(_0x3cb092){_0x4f4545['push'](_0x4f4545['shift']());}}}(_0x4837,0x9962d));import{Plugin as _0x11ca68}from'ckeditor5/src/core.js';import{IconDropbox as _0x498922,IconFacebook as _0x112678,IconGoogleDrive as _0x5eeae4,IconGooglePhotos as _0x2a0cf6,IconUploadcareImageUpload as _0x576f1e,IconUploadcareLink as _0x33c98d,IconOneDrive as _0x671eb8}from'ckeditor5/src/icons.js';import{ButtonView as _0x3c4cb8,MenuBarMenuListItemButtonView as _0x50729f}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3114ec}from'./uploadcareconfig.js';import{getTranslation as _0x394a7e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x11ca68{[_0x362b74(0x1fa)];[_0x362b74(0x213)];static get[_0x362b74(0x229)](){const _0x18d9f9=_0x362b74;return _0x18d9f9(0x1f9);}static get[_0x362b74(0x222)](){return!0x0;}static get[_0x362b74(0x1ec)](){return!0x0;}[_0x362b74(0x20e)](){const _0x55f0a4=_0x362b74;this[_0x55f0a4(0x1fa)]=this[_0x55f0a4(0x21e)][_0x55f0a4(0x22e)][_0x55f0a4(0x219)](_0x55f0a4(0x1fa));const _0x5bc573=this[_0x55f0a4(0x21e)];this[_0x55f0a4(0x213)]=setInterval(()=>{const _0x14fd3a=_0x55f0a4;let _0x5a3dd8;for(const _0x26b3cd in _0x5bc573){const _0xdd1e72=_0x26b3cd,_0x5eb10f=_0x5bc573[_0xdd1e72];if(_0x14fd3a(0x22a)==_0x5eb10f||_0x14fd3a(0x20c)==_0x5eb10f||_0x14fd3a(0x210)==_0x5eb10f||_0x14fd3a(0x1f6)==_0x5eb10f||_0x14fd3a(0x223)==_0x5eb10f||_0x14fd3a(0x215)==_0x5eb10f||_0x14fd3a(0x228)==_0x5eb10f||_0x14fd3a(0x21f)==_0x5eb10f){delete _0x5bc573[_0xdd1e72],_0x5a3dd8=_0x5eb10f,clearInterval(this[_0x14fd3a(0x213)]),this[_0x14fd3a(0x213)]=void 0x0;break;}}_0x14fd3a(0x20c)==_0x5a3dd8&&_0x5bc573[_0x14fd3a(0x220)](_0x14fd3a(0x204)),_0x14fd3a(0x210)==_0x5a3dd8&&_0x5bc573[_0x14fd3a(0x220)](_0x14fd3a(0x22c)),_0x14fd3a(0x1f6)==_0x5a3dd8&&_0x5bc573[_0x14fd3a(0x220)](_0x14fd3a(0x212)),_0x14fd3a(0x223)==_0x5a3dd8&&_0x5bc573[_0x14fd3a(0x220)](_0x14fd3a(0x205),_0x14fd3a(0x227)),_0x14fd3a(0x215)==_0x5a3dd8&&_0x5bc573[_0x14fd3a(0x220)](_0x14fd3a(0x1e5)),_0x14fd3a(0x228)==_0x5a3dd8&&_0x5bc573[_0x14fd3a(0x220)](_0x14fd3a(0x1ef)),_0x14fd3a(0x21f)==_0x5a3dd8&&_0x5bc573[_0x14fd3a(0x220)](_0x14fd3a(0x1e7));},0x3e8);}[_0x362b74(0x202)](){const _0x26ce5e=_0x362b74,{editor:_0x42af71}=this,_0x58208a=_0x42af71[_0x26ce5e(0x20a)][_0x26ce5e(0x219)](_0x26ce5e(0x1ea));if(!_0x58208a)return;const _0x38b4f2=this[_0x26ce5e(0x21c)](_0x42af71[_0x26ce5e(0x22e)][_0x26ce5e(0x219)](_0x26ce5e(0x218)))[_0x26ce5e(0x231)]((_0x503ddb,_0x4dc4e7)=>{const _0x30aa04=_0x26ce5e,_0x4fc664=this[_0x30aa04(0x225)](_0x4dc4e7[_0x30aa04(0x22f)]);return _0x503ddb[_0x4fc664]||(_0x503ddb[_0x4fc664]=[]),_0x503ddb[_0x4fc664][_0x30aa04(0x208)](_0x4dc4e7),_0x503ddb;},{});_0x42af71[_0x26ce5e(0x221)][_0x26ce5e(0x1fc)](_0x26ce5e(0x20d))&&_0x42af71[_0x26ce5e(0x20a)][_0x26ce5e(0x219)](_0x26ce5e(0x1ea))&&Object[_0x26ce5e(0x21d)](_0x38b4f2)[_0x26ce5e(0x214)](([_0x900891,_0x1067f8])=>{const _0x3b2576=_0x26ce5e;_0x42af71[_0x3b2576(0x221)][_0x3b2576(0x219)](_0x3b2576(0x20d))[_0x3b2576(0x201)]({'name':_0x900891,'observable':()=>_0x58208a,'buttonViewCreator':()=>this[_0x3b2576(0x1e3)](_0x1067f8),'formViewCreator':()=>this[_0x3b2576(0x217)](_0x1067f8),'menuBarButtonViewCreator':()=>this[_0x3b2576(0x224)](_0x1067f8),'override':_0x3b2576(0x1f1)!==_0x900891});});}[_0x362b74(0x203)](){const _0xb30847=_0x362b74;super[_0xb30847(0x203)](),this[_0xb30847(0x213)]&&clearInterval(this[_0xb30847(0x213)]);}[_0x362b74(0x21c)](_0x2bf27d){const _0x2d866c=_0x362b74,{locale:_0x115745}=this[_0x2d866c(0x21e)];return _0x2bf27d[_0x2d866c(0x1e6)](_0x132e93=>{const _0x53124d=_0x2d866c,_0x44e23c=_0x394a7e(_0x115745,_0x132e93,_0x53124d(0x1fd));switch(_0x132e93){case _0x3114ec[_0x53124d(0x1e9)]:return{'icon':_0x576f1e,'type':_0x3114ec[_0x53124d(0x1e9)],..._0x44e23c};case _0x3114ec[_0x53124d(0x21b)]:return{'icon':_0x33c98d,'type':_0x3114ec[_0x53124d(0x21b)],..._0x44e23c};case _0x3114ec[_0x53124d(0x1f0)]:return{'icon':_0x498922,'type':_0x3114ec[_0x53124d(0x1f0)],..._0x44e23c};case _0x3114ec[_0x53124d(0x230)]:return{'icon':_0x112678,'type':_0x3114ec[_0x53124d(0x230)],..._0x44e23c};case _0x3114ec[_0x53124d(0x211)]:return{'icon':_0x5eeae4,'type':_0x3114ec[_0x53124d(0x211)],..._0x44e23c};case _0x3114ec[_0x53124d(0x20b)]:return{'icon':_0x2a0cf6,'type':_0x3114ec[_0x53124d(0x20b)],..._0x44e23c};case _0x3114ec[_0x53124d(0x1f2)]:return{'icon':_0x671eb8,'type':_0x3114ec[_0x53124d(0x1f2)],..._0x44e23c};}});}[_0x362b74(0x225)](_0x4e1af7){const _0x479c0a=_0x362b74;switch(_0x4e1af7){case _0x3114ec[_0x479c0a(0x1e9)]:return _0x479c0a(0x20f);case _0x3114ec[_0x479c0a(0x21b)]:return _0x479c0a(0x206);default:return _0x479c0a(0x1f1);}}[_0x362b74(0x216)](_0x3c0cc2,_0x1cbe3f){const _0x5af9e8=_0x362b74,_0x4a1f7d=this[_0x5af9e8(0x21e)],_0x3deff0=new _0x3c0cc2(_0x4a1f7d[_0x5af9e8(0x1f7)]),_0x510e08=_0x4a1f7d[_0x5af9e8(0x20a)][_0x5af9e8(0x219)](_0x5af9e8(0x1ea));return _0x3deff0[_0x5af9e8(0x1ff)](_0x5af9e8(0x200))['to'](_0x510e08),_0x3deff0['on'](_0x5af9e8(0x22d),()=>{const _0x3f95a6=_0x5af9e8;_0x510e08[_0x3f95a6(0x22d)](_0x1cbe3f);}),_0x3deff0;}[_0x362b74(0x1e3)](_0x344328){const _0x242c65=_0x362b74,{locale:_0x4dd66d}=this[_0x242c65(0x21e)],_0xac8835=this[_0x242c65(0x21e)][_0x242c65(0x221)][_0x242c65(0x219)](_0x242c65(0x20d)),_0x4336e2=_0x344328[0x0],_0x4608b2=this[_0x242c65(0x216)](_0x3c4cb8,_0x4336e2[_0x242c65(0x22f)]);return _0x4608b2[_0x242c65(0x22b)]=_0x4336e2[_0x242c65(0x22b)],_0x4608b2[_0x242c65(0x1ff)](_0x242c65(0x232))['to'](_0xac8835,_0x242c65(0x1e8),_0x41f859=>_0x394a7e(_0x4dd66d,_0x4336e2[_0x242c65(0x22f)],_0x41f859?_0x242c65(0x1ed):_0x242c65(0x1fd))[_0x242c65(0x1fb)]),_0x4608b2[_0x242c65(0x1f4)]=!0x0,_0x4608b2;}[_0x362b74(0x217)](_0x193ef4){const _0x2ccda1=_0x362b74,{locale:_0x574982}=this[_0x2ccda1(0x21e)],_0x304204=this[_0x2ccda1(0x21e)][_0x2ccda1(0x221)][_0x2ccda1(0x219)](_0x2ccda1(0x20d));return _0x193ef4[_0x2ccda1(0x1e6)](_0x8e25a1=>{const _0x2567c6=_0x2ccda1,_0x2456fd=this[_0x2567c6(0x216)](_0x3c4cb8,_0x8e25a1[_0x2567c6(0x22f)]);return _0x2456fd[_0x2567c6(0x1f3)]=!0x0,_0x2456fd[_0x2567c6(0x22b)]=_0x8e25a1[_0x2567c6(0x22b)],_0x2456fd[_0x2567c6(0x1ff)](_0x2567c6(0x232))['to'](_0x304204,_0x2567c6(0x1e8),_0xd27373=>_0x394a7e(_0x574982,_0x8e25a1[_0x2567c6(0x22f)],_0xd27373?_0x2567c6(0x1ed):_0x2567c6(0x1fd))[_0x2567c6(0x1fb)]),_0x2456fd;});}[_0x362b74(0x224)](_0x201ab2){const _0x2e6e5e=_0x362b74;return _0x201ab2[_0x2e6e5e(0x1e6)](_0x1b26e7=>{const _0x451cc6=_0x2e6e5e,_0x3be5ff=this[_0x451cc6(0x216)](_0x50729f,_0x1b26e7[_0x451cc6(0x22f)]);return _0x3be5ff[_0x451cc6(0x22b)]=_0x1b26e7[_0x451cc6(0x22b)],_0x3be5ff[_0x451cc6(0x232)]=_0x1b26e7[_0x451cc6(0x1e4)],_0x3be5ff;});}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -10,8 +6,8 @@
10
6
  * @module uploadcare/uploadcareuploadadapter
11
7
  * @publicApi
12
8
  */
13
- import { Plugin } from '@ckeditor/ckeditor5-core';
14
- import { FileRepository } from '@ckeditor/ckeditor5-upload';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import { FileRepository } from 'ckeditor5/src/upload.js';
15
11
  import { UploadcareEditing } from './uploadcareediting.js';
16
12
  /**
17
13
  * A plugin that enables file uploads in CKEditor 5 using the Uploadcare server–side connector.
@@ -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{Plugin as _0x2e28d1}from'ckeditor5/src/core.js';import{FileRepository as _0x28ab0f}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x26566a}from'./uploadcareediting.js';import{UploadUtils as _0x1fa32c}from'./utils/uploadutils.js';import{getImageUrls as _0x5b8a2d}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x2e28d1{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x28ab0f,_0x26566a];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1f7271=this['editor'];if(!!!_0x1f7271['config']['get']('uploadcare'))return;_0x1f7271['plugins']['get'](_0x28ab0f)['createUploadAdapter']=_0x5877af=>new k(_0x5877af,_0x1f7271),_0x1f7271['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x4b02f2,{imageElement:_0x121688,data:_0x470c67})=>{_0x1f7271['model']['change'](_0x2e90c6=>{_0x2e90c6['setAttribute']('uploadcareImageId',_0x470c67['uploadcareImageId'],_0x121688);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x274b03,_0x28013d){this['loader']=_0x274b03,this['editor']=_0x28013d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3e5061=await this['loader']['file'];return _0x1fa32c['upload']({'file':_0x3e5061,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x16c7f3=>{_0x16c7f3&&_0x16c7f3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x16c7f3['value']);}})['then'](async _0x1be806=>{const {imageFallbackUrl:_0x8bb689,imageSources:_0x58a174}=_0x5b8a2d(_0x1be806['cdnUrl'],_0x1be806['imageInfo']['width']);return{'uploadcareImageId':_0x1be806['uuid'],'default':_0x8bb689,'sources':_0x58a174};})['catch'](()=>{const _0x46a979=t('Cannot\x20upload\x20file:')+('\x20'+_0x3e5061['name']+'.');return Promise['reject'](_0x46a979);});}['abort'](){this['controller']['abort']();}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -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{UploadcareSource as _0xb6f6af}from'../uploadcareconfig.js';export function getTranslation(_0x4a7469,_0x55d022,_0x257d84){const t=_0x4a7469['t'],_0x464174=_0x4a7469['t'];switch(_0x55d022){case _0xb6f6af['Local']:return{'text':_0x464174('Insert'===_0x257d84?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x464174('From\x20computer')};case _0xb6f6af['URL']:return{'text':'Insert'===_0x257d84?_0x464174('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x464174('Via\x20URL')};case _0xb6f6af['Dropbox']:return{'text':t('Insert'===_0x257d84?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xb6f6af['Facebook']:return{'text':t('Insert'===_0x257d84?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xb6f6af['GDrive']:return{'text':t('Insert'===_0x257d84?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xb6f6af['GPhotos']:return{'text':t('Insert'===_0x257d84?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xb6f6af['OneDrive']:return{'text':t('Insert'===_0x257d84?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x55d022;}}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -9,8 +5,8 @@
9
5
  /**
10
6
  * @module uploadcare/utils/dialogfocusmanagerview
11
7
  */
12
- import { type Locale } from '@ckeditor/ckeditor5-utils';
13
- import { View, type TemplateDefinition } from '@ckeditor/ckeditor5-ui';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { View, type TemplateDefinition } from 'ckeditor5/src/ui.js';
14
10
  import '../../theme/uploadcare-form.css';
15
11
  /**
16
12
  * A helper class that facilitates managing focus within a dialog form. It provides a mechanism
@@ -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 _0xae2d38=_0x1899;(function(_0x7623c4,_0xa675b4){var _0x2b7228=_0x1899,_0x13af78=_0x7623c4();while(!![]){try{var _0x25a2c3=-parseInt(_0x2b7228(0x1f2))/0x1*(parseInt(_0x2b7228(0x1ed))/0x2)+parseInt(_0x2b7228(0x1f4))/0x3*(parseInt(_0x2b7228(0x1f5))/0x4)+parseInt(_0x2b7228(0x1fa))/0x5*(-parseInt(_0x2b7228(0x1fb))/0x6)+parseInt(_0x2b7228(0x1f8))/0x7+parseInt(_0x2b7228(0x1f0))/0x8*(-parseInt(_0x2b7228(0x1fc))/0x9)+-parseInt(_0x2b7228(0x1ff))/0xa*(parseInt(_0x2b7228(0x1ef))/0xb)+parseInt(_0x2b7228(0x1f9))/0xc;if(_0x25a2c3===_0xa675b4)break;else _0x13af78['push'](_0x13af78['shift']());}catch(_0x106e44){_0x13af78['push'](_0x13af78['shift']());}}}(_0x1219,0x4c118));import{FocusTracker as _0x45d7fd}from'ckeditor5/src/utils.js';import{View as _0x4657c1,FocusCycler as _0x11ce3e}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x4657c1{[_0xae2d38(0x1ee)];[_0xae2d38(0x1f3)];constructor(_0x23c96f){var _0x3e0f74=_0xae2d38;super(_0x23c96f),this[_0x3e0f74(0x1ee)]=new _0x45d7fd(),this[_0x3e0f74(0x1f3)]=new _0x11ce3e({'focusables':this[_0x3e0f74(0x200)](),'focusTracker':this[_0x3e0f74(0x1ee)]});}[_0xae2d38(0x1f6)](){var _0x1d82dd=_0xae2d38;return{'tag':_0x1d82dd(0x1f7),'attributes':{'aria-hidden':_0x1d82dd(0x1f1),'tabindex':'0'},'on':{'focus':this[_0x1d82dd(0x1ec)]['to'](()=>{var _0x1f5744=_0x1d82dd;this[_0x1f5744(0x1f3)][_0x1f5744(0x1fd)](_0x1f5744(0x1fe));})}};}}function _0x1899(_0x2849e3,_0x1d2a05){var _0x121943=_0x1219();return _0x1899=function(_0x189960,_0x37556f){_0x189960=_0x189960-0x1ec;var _0x3eea27=_0x121943[_0x189960];return _0x3eea27;},_0x1899(_0x2849e3,_0x1d2a05);}function _0x1219(){var _0x1b8ce1=['112543QGiZHf','focusCycler','21spADDO','62332rJsRPA','getFocusableElement','div','4226320ZdseTz','13450392aEXoLY','5UAyeTA','3062706TLgJje','1262763ytFWBU','fire','forwardCycle','10nsYyPr','createCollection','bindTemplate','6cpJouH','focusTracker','2784430lvZXfm','24kViLBn','true'];_0x1219=function(){return _0x1b8ce1;};return _0x1219();}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -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(_0x2cb7ca,_0x4b1c9c){const _0x200f09=_0x40d1,_0xfc1572=_0x2cb7ca();while(!![]){try{const _0x2c0cdc=-parseInt(_0x200f09(0x113))/0x1+-parseInt(_0x200f09(0x10f))/0x2+-parseInt(_0x200f09(0x120))/0x3*(-parseInt(_0x200f09(0xed))/0x4)+-parseInt(_0x200f09(0xf5))/0x5+parseInt(_0x200f09(0x116))/0x6+parseInt(_0x200f09(0xf0))/0x7*(parseInt(_0x200f09(0x115))/0x8)+parseInt(_0x200f09(0x100))/0x9;if(_0x2c0cdc===_0x4b1c9c)break;else _0xfc1572['push'](_0xfc1572['shift']());}catch(_0x19d7b0){_0xfc1572['push'](_0xfc1572['shift']());}}}(_0x1150,0x68fbc));import{global as _0x1c2a21,DomEmitterMixin as _0x3d4654}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x2d3528){const _0x4ff8b6=_0x40d1,_0x2ded10=G(_0x2d3528);return _0x5f1beb=>!(!_0x5f1beb||!_0x5f1beb['is'](_0x4ff8b6(0x11d),_0x4ff8b6(0x11b))&&!_0x5f1beb['is'](_0x4ff8b6(0x11d),_0x4ff8b6(0xef)))&&(!!_0x5f1beb[_0x4ff8b6(0x110)](_0x4ff8b6(0x10b))||!!_0x5f1beb[_0x4ff8b6(0x110)](_0x4ff8b6(0xfc))&&_0x2ded10(_0x5f1beb[_0x4ff8b6(0x10e)](_0x4ff8b6(0xfc))));}export function getImageUrls(_0x4239af,_0x36838a){const _0x1f6f44=_0x40d1,_0x573af0=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x1f6f44(0x103)](_0x40d21d=>_0x40d21d<=_0x36838a)[_0x1f6f44(0x106)](_0x45bd39=>_0x4239af[_0x1f6f44(0x122)](/\/$/,'')+_0x1f6f44(0x11c)+_0x45bd39+_0x1f6f44(0xf3)+_0x45bd39+'w');return{'imageFallbackUrl':_0x4239af,'imageSources':[{'srcset':_0x573af0[_0x1f6f44(0x104)](',\x20'),'sizes':_0x1f6f44(0x10a)+_0x36838a+_0x1f6f44(0xff)+_0x36838a+'px','type':_0x1f6f44(0xfe)}]};}function _0x1150(){const _0x322438=['/-/resize/','element','setStyle','mapper','3AUFIjV','aspect-ratio','replace','plugins','view','2873588hZKRWQ','domConverter','imageInline','28ztmoxf','match','image-processing','x/\x20','listenTo','1099865ejvohv','ImageUtils','baseURI','document','change','origin','findViewImgElement','src','isArray','image/webp','px)\x20100vw,\x20','3142215XZHcWs','window','addClass','filter','join','get','map','function','toViewElement','viewToDom','(max-width:\x20','uploadcareImageId','load','stopListening','getAttribute','1362968mfeeTm','hasAttribute','editing','width','508904eakNuR','location','1467096BrtMpf','235758WAsbny','height','removeClass','some','removeStyle','imageBlock'];_0x1150=function(){return _0x322438;};return _0x1150();}function _0x40d1(_0x24ce58,_0x268909){const _0x1150db=_0x1150();return _0x40d1=function(_0x40d1ef,_0x56c90d){_0x40d1ef=_0x40d1ef-0xec;let _0x597987=_0x1150db[_0x40d1ef];return _0x597987;},_0x40d1(_0x24ce58,_0x268909);}export function getImageDimension(_0x206c69,_0x2ad769,_0x1a35ba){const _0x1cf51e=_0x40d1,_0x46e3ff=_0x206c69[_0x1cf51e(0xf1)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x46e3ff?parseInt(_0x46e3ff[0x1],0xa):_0x2ad769,'height':_0x46e3ff?parseInt(_0x46e3ff[0x2],0xa):_0x1a35ba};}export function showImageProcessingIndicator(_0x7eb6df,_0x341253){const _0x1eb0bb=_0x40d1,_0x216672=new(_0x3d4654())(),_0x424847=_0x7eb6df[_0x1eb0bb(0x123)][_0x1eb0bb(0x105)](_0x1eb0bb(0xf6)),_0x1bf4aa=_0x7eb6df[_0x1eb0bb(0x111)][_0x1eb0bb(0x11f)][_0x1eb0bb(0x108)](_0x341253),_0x5cc3a8=_0x424847[_0x1eb0bb(0xfb)](_0x1bf4aa),_0x3e5563=_0x7eb6df[_0x1eb0bb(0x111)][_0x1eb0bb(0xec)][_0x1eb0bb(0xee)][_0x1eb0bb(0x109)](_0x5cc3a8),_0x13cfee=_0x341253[_0x1eb0bb(0x10e)](_0x1eb0bb(0x112)),_0x556a32=_0x341253[_0x1eb0bb(0x10e)](_0x1eb0bb(0x117)),_0x20caec=_0x1eb0bb(0xf2);_0x7eb6df[_0x1eb0bb(0x111)][_0x1eb0bb(0xec)][_0x1eb0bb(0xf9)](_0x4df448=>{const _0x516088=_0x1eb0bb;_0x4df448[_0x516088(0x102)](_0x20caec,_0x1bf4aa),_0x4df448[_0x516088(0x11e)](_0x516088(0x121),_0x13cfee+'/'+_0x556a32,_0x5cc3a8);}),_0x216672[_0x1eb0bb(0xf4)](_0x3e5563,_0x1eb0bb(0x10c),()=>{const _0x23fae5=_0x1eb0bb;_0x216672[_0x23fae5(0x10d)](_0x3e5563,_0x23fae5(0x10c)),_0x7eb6df[_0x23fae5(0x111)][_0x23fae5(0xec)][_0x23fae5(0xf9)](_0x106625=>{const _0x2072fe=_0x23fae5;_0x106625[_0x2072fe(0x118)](_0x20caec,_0x1bf4aa),_0x106625[_0x2072fe(0x11a)](_0x2072fe(0x121),_0x5cc3a8);});});}function G(_0x32c6d2){const _0x13104f=_0x40d1;if(Array[_0x13104f(0xfd)](_0x32c6d2)){const _0x2d8421=_0x32c6d2[_0x13104f(0x106)](G);return _0x1ba774=>_0x2d8421[_0x13104f(0x119)](_0x334b98=>_0x334b98(_0x1ba774));}if(_0x13104f(0xfa)==_0x32c6d2){const _0x10e0b7=_0x1c2a21[_0x13104f(0x101)][_0x13104f(0x114)][_0x13104f(0xfa)];return _0xc8269d=>new URL(_0xc8269d,_0x1c2a21[_0x13104f(0xf8)][_0x13104f(0xf7)])[_0x13104f(0xfa)]==_0x10e0b7;}return _0x13104f(0x107)==typeof _0x32c6d2?_0x32c6d2:_0x32c6d2 instanceof RegExp?_0x35216e=>!(!_0x35216e[_0x13104f(0xf1)](_0x32c6d2)&&!_0x35216e[_0x13104f(0x122)](/^https?:\/\//,'')[_0x13104f(0xf1)](_0x32c6d2)):()=>!0x1;}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -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(_0x516eeb,_0x303e20){var _0x40052f=_0x40b1,_0x2e9039=_0x516eeb();while(!![]){try{var _0x23894f=parseInt(_0x40052f(0x84))/0x1*(parseInt(_0x40052f(0x80))/0x2)+-parseInt(_0x40052f(0x82))/0x3+-parseInt(_0x40052f(0x81))/0x4+-parseInt(_0x40052f(0x7b))/0x5*(-parseInt(_0x40052f(0x7c))/0x6)+parseInt(_0x40052f(0x85))/0x7*(parseInt(_0x40052f(0x83))/0x8)+parseInt(_0x40052f(0x86))/0x9*(parseInt(_0x40052f(0x7d))/0xa)+-parseInt(_0x40052f(0x7a))/0xb*(-parseInt(_0x40052f(0x87))/0xc);if(_0x23894f===_0x303e20)break;else _0x2e9039['push'](_0x2e9039['shift']());}catch(_0x3aeb8c){_0x2e9039['push'](_0x2e9039['shift']());}}}(_0xdb01,0x40d0c));function _0xdb01(){var _0x1b2562=['6840SjUXZF','2959PXdWft','15UasicX','493548wQpVHq','20pVGFva','includes','target','6pqzAFA','1294724ayMHPd','774888bFqBQr','48oiwFVD','59377qLOcvA','17906jeBihM','1142451cIjWZI'];_0xdb01=function(){return _0x1b2562;};return _0xdb01();}function _0x40b1(_0xafcad,_0x2fa769){var _0xdb0117=_0xdb01();return _0x40b1=function(_0x40b1a9,_0xdd139f){_0x40b1a9=_0x40b1a9-0x7a;var _0x17a706=_0xdb0117[_0x40b1a9];return _0x17a706;},_0x40b1(_0xafcad,_0x2fa769);}import{getAncestors as _0x590ce0}from'ckeditor5/src/utils.js';export function isAncestor(_0x14473f,_0x557979){var _0x3f4429=_0x40b1;return _0x590ce0(_0x14473f[_0x3f4429(0x7f)])[_0x3f4429(0x7e)](_0x557979);}
@@ -1,7 +1,3 @@
1
- /**
2
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
1
  /**
6
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
7
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -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 _0x52b067=_0x1784;function _0x3c72(){var _0x5cb3df=['4366233eWwPmj','372wBvUXv','upload','129869GvxvNd','167748NFzzzn','getInfo','29918YyvzHH','20fIYxuV','3nTCgWD','9335400iaKxBk','155lqixiR','13165570izOhOr','2265122HQmRBS'];_0x3c72=function(){return _0x5cb3df;};return _0x3c72();}(function(_0x5b39bb,_0x1fe6b6){var _0x38bcb8=_0x1784,_0x6308c=_0x5b39bb();while(!![]){try{var _0x1cc152=-parseInt(_0x38bcb8(0x1bc))/0x1+parseInt(_0x38bcb8(0x1b8))/0x2*(parseInt(_0x38bcb8(0x1b4))/0x3)+parseInt(_0x38bcb8(0x1bd))/0x4*(-parseInt(_0x38bcb8(0x1b6))/0x5)+-parseInt(_0x38bcb8(0x1ba))/0x6*(-parseInt(_0x38bcb8(0x1bf))/0x7)+parseInt(_0x38bcb8(0x1b5))/0x8+-parseInt(_0x38bcb8(0x1b9))/0x9*(-parseInt(_0x38bcb8(0x1b3))/0xa)+-parseInt(_0x38bcb8(0x1b7))/0xb;if(_0x1cc152===_0x1fe6b6)break;else _0x6308c['push'](_0x6308c['shift']());}catch(_0x20c29c){_0x6308c['push'](_0x6308c['shift']());}}}(_0x3c72,0xddaba));function _0x1784(_0x277054,_0x41f425){var _0x3c722f=_0x3c72();return _0x1784=function(_0x17847b,_0xf8bcd0){_0x17847b=_0x17847b-0x1b3;var _0x2b622b=_0x3c722f[_0x17847b];return _0x2b622b;},_0x1784(_0x277054,_0x41f425);}import{uploadFile as _0x467d1c,info as _0xdc2c7b}from'@uploadcare/upload-client';export class UploadUtils{static[_0x52b067(0x1bb)]({file:_0x44fc82,..._0x27578f}){return _0x467d1c(_0x44fc82,_0x27578f);}static[_0x52b067(0x1be)](_0x307e0f,_0x2864f4){return _0xdc2c7b(_0x307e0f,_0x2864f4);}}