@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20260112.0 → 0.0.0-nightly-20260113.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 _0x2976(){const _0x27e342=['uploadcareImageEdit','UploadcareImageEditEditing','pluginName','init','commands','isPremiumPlugin','52TKkJgd','16134crlaJK','ImageUtils','uploadcareImageReplace','add','2180vGdCYO','43836590hQquZl','1151865URDItQ','1986996aafgSO','4161896gQMpnF','requires','7LBYGtR','ImageEditing','3669741CYOAzd','isOfficialPlugin','90786HJfPfJ'];_0x2976=function(){return _0x27e342;};return _0x2976();}const _0x331d5f=_0xc4c4;(function(_0x496fd1,_0x51ce7d){const _0x301ad3=_0xc4c4,_0x48df6e=_0x496fd1();while(!![]){try{const _0x2072be=-parseInt(_0x301ad3(0x208))/0x1+parseInt(_0x301ad3(0x201))/0x2*(-parseInt(_0x301ad3(0x1fa))/0x3)+parseInt(_0x301ad3(0x1f3))/0x4+parseInt(_0x301ad3(0x206))/0x5*(-parseInt(_0x301ad3(0x202))/0x6)+-parseInt(_0x301ad3(0x1f6))/0x7*(parseInt(_0x301ad3(0x1f4))/0x8)+-parseInt(_0x301ad3(0x1f8))/0x9+parseInt(_0x301ad3(0x207))/0xa;if(_0x2072be===_0x51ce7d)break;else _0x48df6e['push'](_0x48df6e['shift']());}catch(_0x399401){_0x48df6e['push'](_0x48df6e['shift']());}}}(_0x2976,0xcd67d));import{Plugin as _0x137e48}from'ckeditor5/src/core.js';import{Notification as _0x527ae2}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1a784f}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x347c38}from'./uploadcareimagereplacecommand.js';function _0xc4c4(_0x4eaf98,_0x3e5f15){const _0x2976b4=_0x2976();return _0xc4c4=function(_0xc4c42,_0x4ec7ad){_0xc4c42=_0xc4c42-0x1f3;let _0x8f39a1=_0x2976b4[_0xc4c42];return _0x8f39a1;},_0xc4c4(_0x4eaf98,_0x3e5f15);}import{UploadcareEditing as _0x3ec9e6}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x137e48{static get[_0x331d5f(0x1fd)](){const _0x5b5813=_0x331d5f;return _0x5b5813(0x1fc);}static get[_0x331d5f(0x1f5)](){const _0x3c8497=_0x331d5f;return[_0x3ec9e6,_0x527ae2,_0x3c8497(0x203),_0x3c8497(0x1f7)];}static get[_0x331d5f(0x1f9)](){return!0x0;}static get[_0x331d5f(0x200)](){return!0x0;}[_0x331d5f(0x1fe)](){const _0x320c75=_0x331d5f,{editor:_0x48e091}=this;_0x48e091[_0x320c75(0x1ff)][_0x320c75(0x205)](_0x320c75(0x1fb),new _0x1a784f(_0x48e091)),_0x48e091[_0x320c75(0x1ff)][_0x320c75(0x205)](_0x320c75(0x204),new _0x347c38(_0x48e091));}}
@@ -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-2026, 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 _0x26a264}from'ckeditor5/src/core.js';import{ButtonView as _0x3e2bf5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4dc162}from'ckeditor5/src/icons.js';import{createElement as _0x376d4b}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 _0x26a264{['_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 _0x35487b=this['editor'];_0x35487b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x395152=>{const _0xa6cdf3=_0x35487b['commands']['get']('uploadcareImageEdit'),_0x435a72=new _0x3e2bf5(_0x395152),t=_0x395152['t'];return _0x435a72['set']({'icon':_0x4dc162,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x435a72['bind']('isEnabled')['to'](_0xa6cdf3),_0x435a72['bind']('isOn')['to'](_0xa6cdf3,'isActive'),this['listenTo'](_0x435a72,'execute',()=>{_0x35487b['execute']('uploadcareImageEdit'),_0x35487b['editing']['view']['focus']();}),_0x435a72;}),this['_initConfig']();}['_initConfig'](){const _0x5195f8=_0x376d4b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5195f8),this['listenTo'](this['editor'],'destroy',()=>{_0x5195f8['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-2026, 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 _0x1a155=_0x18e5;(function(_0x1d3d69,_0x5180ca){const _0x334e2a=_0x18e5,_0x181a43=_0x1d3d69();while(!![]){try{const _0x1a8641=parseInt(_0x334e2a(0x136))/0x1+parseInt(_0x334e2a(0x139))/0x2+-parseInt(_0x334e2a(0x13e))/0x3*(parseInt(_0x334e2a(0x140))/0x4)+-parseInt(_0x334e2a(0x142))/0x5+-parseInt(_0x334e2a(0x135))/0x6+parseInt(_0x334e2a(0x132))/0x7+-parseInt(_0x334e2a(0x12f))/0x8*(-parseInt(_0x334e2a(0x13c))/0x9);if(_0x1a8641===_0x5180ca)break;else _0x181a43['push'](_0x181a43['shift']());}catch(_0x486ee1){_0x181a43['push'](_0x181a43['shift']());}}}(_0xb913,0xa94f5));import{Command as _0x5a67e4}from'ckeditor5/src/core.js';function _0x18e5(_0x243865,_0x12fa39){const _0xb913ee=_0xb913();return _0x18e5=function(_0x18e50f,_0xbf2dd5){_0x18e50f=_0x18e50f-0x12f;let _0x2051ef=_0xb913ee[_0x18e50f];return _0x2051ef;},_0x18e5(_0x243865,_0x12fa39);}function _0xb913(){const _0x89d0c6=['78koZiMN','getSelectedElement','12660JHDUfo','imageBlock','2232220LZYwiu','imageInline','srcset','setAttributes','change','execute','1632oHwfNJ','sizes','editor','3118178LjvHUt','model','refresh','3259134JpssZa','152133CNaIGD','document','isEnabled','778322gfIPls','selection','element','34353ZsAyIG','removeAttribute'];_0xb913=function(){return _0x89d0c6;};return _0xb913();}export class UploadcareImageReplaceCommand extends _0x5a67e4{[_0x1a155(0x134)](){const _0x363dd4=_0x1a155,_0x110e58=this[_0x363dd4(0x131)][_0x363dd4(0x133)][_0x363dd4(0x137)][_0x363dd4(0x13a)][_0x363dd4(0x13f)]();this[_0x363dd4(0x138)]=Boolean(_0x110e58&&(_0x110e58['is'](_0x363dd4(0x13b),_0x363dd4(0x141))||_0x110e58['is'](_0x363dd4(0x13b),_0x363dd4(0x143))));}[_0x1a155(0x147)](_0x576af4){const _0x1e155f=_0x1a155,_0x4c8c8c=this[_0x1e155f(0x131)][_0x1e155f(0x133)][_0x1e155f(0x137)][_0x1e155f(0x13a)][_0x1e155f(0x13f)]();this[_0x1e155f(0x131)][_0x1e155f(0x133)][_0x1e155f(0x146)](_0x643f3a=>{const _0x19328f=_0x1e155f;_0x643f3a[_0x19328f(0x145)](_0x576af4,_0x4c8c8c),_0x643f3a[_0x19328f(0x13d)](_0x19328f(0x144),_0x4c8c8c),_0x643f3a[_0x19328f(0x13d)](_0x19328f(0x130),_0x4c8c8c);});}}
@@ -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-2026, 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
+ var _0x4e2051=_0x15de;(function(_0x5d1eb6,_0x4090b7){var _0x279d06=_0x15de,_0x2e6248=_0x5d1eb6();while(!![]){try{var _0x31ef63=parseInt(_0x279d06(0x147))/0x1*(-parseInt(_0x279d06(0x13f))/0x2)+parseInt(_0x279d06(0x148))/0x3+parseInt(_0x279d06(0x13e))/0x4*(-parseInt(_0x279d06(0x146))/0x5)+parseInt(_0x279d06(0x145))/0x6*(parseInt(_0x279d06(0x143))/0x7)+parseInt(_0x279d06(0x13d))/0x8*(-parseInt(_0x279d06(0x141))/0x9)+parseInt(_0x279d06(0x142))/0xa+-parseInt(_0x279d06(0x140))/0xb;if(_0x31ef63===_0x4090b7)break;else _0x2e6248['push'](_0x2e6248['shift']());}catch(_0x305251){_0x2e6248['push'](_0x2e6248['shift']());}}}(_0x2c41,0x5079e));import{Plugin as _0xab373e}from'ckeditor5/src/core.js';function _0x15de(_0x2756ea,_0x4cc046){var _0x2c41b8=_0x2c41();return _0x15de=function(_0x15de24,_0x401a68){_0x15de24=_0x15de24-0x139;var _0x2cc2d1=_0x2c41b8[_0x15de24];return _0x2cc2d1;},_0x15de(_0x2756ea,_0x4cc046);}import{UploadcareImageEditEditing as _0x314141}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x2c41(){var _0xcd2ff3=['157400AcpgIp','4ZBrMNJ','54202CJEEpr','972059RcbYsK','72MEDfVk','3215220TfDWsT','40453dItCEf','UploadcareImageEdit','282JQDlis','851110bXCahv','1RwpfyZ','538761QTaaiS','pluginName','isPremiumPlugin','requires','isOfficialPlugin'];_0x2c41=function(){return _0xcd2ff3;};return _0x2c41();}import{UploadcareImageEditUI as _0x2647dd}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0xab373e{static get[_0x4e2051(0x139)](){var _0x5b467f=_0x4e2051;return _0x5b467f(0x144);}static get[_0x4e2051(0x13b)](){return[_0x314141,_0x2647dd];}static get[_0x4e2051(0x13c)](){return!0x0;}static get[_0x4e2051(0x13a)](){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-2026, 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
+ const _0x4e0077=_0x550f;(function(_0x20bbe3,_0x849f52){const _0x41909a=_0x550f,_0x5479f2=_0x20bbe3();while(!![]){try{const _0x2bd611=parseInt(_0x41909a(0x9c))/0x1*(-parseInt(_0x41909a(0x91))/0x2)+parseInt(_0x41909a(0xa0))/0x3*(-parseInt(_0x41909a(0xc9))/0x4)+parseInt(_0x41909a(0x95))/0x5*(parseInt(_0x41909a(0xc1))/0x6)+parseInt(_0x41909a(0xd0))/0x7*(parseInt(_0x41909a(0xc6))/0x8)+parseInt(_0x41909a(0xb5))/0x9+-parseInt(_0x41909a(0xc7))/0xa*(-parseInt(_0x41909a(0xa4))/0xb)+-parseInt(_0x41909a(0x9e))/0xc*(parseInt(_0x41909a(0xd3))/0xd);if(_0x2bd611===_0x849f52)break;else _0x5479f2['push'](_0x5479f2['shift']());}catch(_0x119be0){_0x5479f2['push'](_0x5479f2['shift']());}}}(_0x4cb8,0xd08bc));import{Plugin as _0x290525}from'ckeditor5/src/core.js';import{IconDropbox as _0x13e9a9,IconFacebook as _0x5a35c7,IconGoogleDrive as _0x3155a1,IconGooglePhotos as _0x337966,IconUploadcareImageUpload as _0x29df2b,IconUploadcareLink as _0x1028a1,IconOneDrive as _0x1656aa}from'ckeditor5/src/icons.js';import{ButtonView as _0x446506,MenuBarMenuListItemButtonView as _0x4b2b0a}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x27a846}from'./uploadcareconfig.js';function _0x550f(_0x1d3158,_0x35f024){const _0x4cb851=_0x4cb8();return _0x550f=function(_0x550ffd,_0x2b88cc){_0x550ffd=_0x550ffd-0x85;let _0x765a9b=_0x4cb851[_0x550ffd];return _0x765a9b;},_0x550f(_0x1d3158,_0x35f024);}import{getTranslation as _0x1bf483}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x4cb8(){const _0x530c0e=['get','OneDrive','_normalizeConfigSourceList','uploadcare','85982slwKNM','label','invalid','registerIntegration','1565XBaKnO','upload','uploadcareLicenseKeyUsageLimit','Replace','editor','pluginName','ImageInsertUI','5hNuWbZ','destroy','76836mndcgs','licenseKey','317973kHVYxw','push','uploadcareLicenseKeyValid','_getIntegrationKey','1639RBSaxm','_createToolbarButton','execute','uploadcareLicenseKeyInvalid','withText','isEnabled','Facebook','url','Insert','commands','URL','_createButton','Local','uploadcareLicenseKeyExpired','init','reduce','uploadcare.uploader.sourceList','9310599FHnEjp','shortText','uploadcareLicenseKeyEvaluationLimit','_showLicenseError','UploadcareUI','has','featureNotAllowed','locale','config','assetManager','text','_createDropdownButtons','22122oZbjwy','isPremiumPlugin','type','expired','icon','481808ymzTBi','4870qHapcy','entries','16pFWhSU','afterInit','usageLimit','GPhotos','isOfficialPlugin','GDrive','map','70SRGEGr','Uploadcare','Dropbox','2782RNqNLG','evaluationLimit','isImageSelected','uploadcareLicenseKeyDomainLimit','domainLimit','plugins','bind','tooltip','uploadcareLicenseKeyNotAllowed','_createMenuBarButtons','forEach','_licenseKeyCheckInterval'];_0x4cb8=function(){return _0x530c0e;};return _0x4cb8();}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x290525{[_0x4e0077(0x9f)];[_0x4e0077(0x8c)];static get[_0x4e0077(0x9a)](){const _0x1166e4=_0x4e0077;return _0x1166e4(0xb9);}static get[_0x4e0077(0xcd)](){return!0x0;}static get[_0x4e0077(0xc2)](){return!0x0;}[_0x4e0077(0xb2)](){const _0x53f277=_0x4e0077;this[_0x53f277(0x9f)]=this[_0x53f277(0x99)][_0x53f277(0xbd)][_0x53f277(0x8d)](_0x53f277(0x9f));const _0x34ff9b=this[_0x53f277(0x99)];this[_0x53f277(0x8c)]=setInterval(()=>{const _0x4db841=_0x53f277;let _0xdef016;for(const _0xedb70d in _0x34ff9b){const _0x3e45c3=_0xedb70d,_0x537368=_0x34ff9b[_0x3e45c3];if(_0x4db841(0xa2)==_0x537368||_0x4db841(0xa7)==_0x537368||_0x4db841(0xb1)==_0x537368||_0x4db841(0xd6)==_0x537368||_0x4db841(0x89)==_0x537368||_0x4db841(0xb7)==_0x537368||_0x4db841(0x97)==_0x537368){delete _0x34ff9b[_0x3e45c3],_0xdef016=_0x537368,clearInterval(this[_0x4db841(0x8c)]),this[_0x4db841(0x8c)]=void 0x0;break;}}_0x4db841(0xa7)==_0xdef016&&_0x34ff9b[_0x4db841(0xb8)](_0x4db841(0x93)),_0x4db841(0xb1)==_0xdef016&&_0x34ff9b[_0x4db841(0xb8)](_0x4db841(0xc4)),_0x4db841(0xd6)==_0xdef016&&_0x34ff9b[_0x4db841(0xb8)](_0x4db841(0x85)),_0x4db841(0x89)==_0xdef016&&_0x34ff9b[_0x4db841(0xb8)](_0x4db841(0xbb),_0x4db841(0xd1)),_0x4db841(0xb7)==_0xdef016&&_0x34ff9b[_0x4db841(0xb8)](_0x4db841(0xd4)),_0x4db841(0x97)==_0xdef016&&_0x34ff9b[_0x4db841(0xb8)](_0x4db841(0xcb));},0x3e8);}[_0x4e0077(0xca)](){const _0x17d597=_0x4e0077,{editor:_0x531325}=this,_0x4aa681=_0x531325[_0x17d597(0xad)][_0x17d597(0x8d)](_0x17d597(0x90));if(!_0x4aa681)return;const _0x337dbd=this[_0x17d597(0x8f)](_0x531325[_0x17d597(0xbd)][_0x17d597(0x8d)](_0x17d597(0xb4)))[_0x17d597(0xb3)]((_0x697eec,_0x1a7829)=>{const _0x3650bc=_0x17d597,_0x49ecc4=this[_0x3650bc(0xa3)](_0x1a7829[_0x3650bc(0xc3)]);return _0x697eec[_0x49ecc4]||(_0x697eec[_0x49ecc4]=[]),_0x697eec[_0x49ecc4][_0x3650bc(0xa1)](_0x1a7829),_0x697eec;},{});_0x531325[_0x17d597(0x86)][_0x17d597(0xba)](_0x17d597(0x9b))&&_0x531325[_0x17d597(0xad)][_0x17d597(0x8d)](_0x17d597(0x90))&&Object[_0x17d597(0xc8)](_0x337dbd)[_0x17d597(0x8b)](([_0x278a0c,_0x2ea1c0])=>{const _0x433878=_0x17d597;_0x531325[_0x433878(0x86)][_0x433878(0x8d)](_0x433878(0x9b))[_0x433878(0x94)]({'name':_0x278a0c,'observable':()=>_0x4aa681,'buttonViewCreator':()=>this[_0x433878(0xa5)](_0x2ea1c0),'formViewCreator':()=>this[_0x433878(0xc0)](_0x2ea1c0),'menuBarButtonViewCreator':()=>this[_0x433878(0x8a)](_0x2ea1c0),'override':_0x433878(0xbe)!==_0x278a0c});});}[_0x4e0077(0x9d)](){const _0x45ebd5=_0x4e0077;super[_0x45ebd5(0x9d)](),this[_0x45ebd5(0x8c)]&&clearInterval(this[_0x45ebd5(0x8c)]);}[_0x4e0077(0x8f)](_0x4033b3){const _0x2f9634=_0x4e0077,{locale:_0x1c58c9}=this[_0x2f9634(0x99)];return _0x4033b3[_0x2f9634(0xcf)](_0x4de075=>{const _0xb5cbe9=_0x2f9634,_0x5ad000=_0x1bf483(_0x1c58c9,_0x4de075,_0xb5cbe9(0xac));switch(_0x4de075){case _0x27a846[_0xb5cbe9(0xb0)]:return{'icon':_0x29df2b,'type':_0x27a846[_0xb5cbe9(0xb0)],..._0x5ad000};case _0x27a846[_0xb5cbe9(0xae)]:return{'icon':_0x1028a1,'type':_0x27a846[_0xb5cbe9(0xae)],..._0x5ad000};case _0x27a846[_0xb5cbe9(0xd2)]:return{'icon':_0x13e9a9,'type':_0x27a846[_0xb5cbe9(0xd2)],..._0x5ad000};case _0x27a846[_0xb5cbe9(0xaa)]:return{'icon':_0x5a35c7,'type':_0x27a846[_0xb5cbe9(0xaa)],..._0x5ad000};case _0x27a846[_0xb5cbe9(0xce)]:return{'icon':_0x3155a1,'type':_0x27a846[_0xb5cbe9(0xce)],..._0x5ad000};case _0x27a846[_0xb5cbe9(0xcc)]:return{'icon':_0x337966,'type':_0x27a846[_0xb5cbe9(0xcc)],..._0x5ad000};case _0x27a846[_0xb5cbe9(0x8e)]:return{'icon':_0x1656aa,'type':_0x27a846[_0xb5cbe9(0x8e)],..._0x5ad000};}});}[_0x4e0077(0xa3)](_0x3d16fc){const _0x3e60aa=_0x4e0077;switch(_0x3d16fc){case _0x27a846[_0x3e60aa(0xb0)]:return _0x3e60aa(0x96);case _0x27a846[_0x3e60aa(0xae)]:return _0x3e60aa(0xab);default:return _0x3e60aa(0xbe);}}[_0x4e0077(0xaf)](_0x14655b,_0x455be4){const _0xe16a64=_0x4e0077,_0x29d119=this[_0xe16a64(0x99)],_0x1226fe=new _0x14655b(_0x29d119[_0xe16a64(0xbc)]),_0x5e2feb=_0x29d119[_0xe16a64(0xad)][_0xe16a64(0x8d)](_0xe16a64(0x90));return _0x1226fe[_0xe16a64(0x87)](_0xe16a64(0xa9))['to'](_0x5e2feb),_0x1226fe['on'](_0xe16a64(0xa6),()=>{const _0x2cff19=_0xe16a64;_0x5e2feb[_0x2cff19(0xa6)](_0x455be4);}),_0x1226fe;}[_0x4e0077(0xa5)](_0x47e6a0){const _0x20e701=_0x4e0077,{locale:_0x3b90bf}=this[_0x20e701(0x99)],_0x16725d=this[_0x20e701(0x99)][_0x20e701(0x86)][_0x20e701(0x8d)](_0x20e701(0x9b)),_0x4e8327=_0x47e6a0[0x0],_0x391296=this[_0x20e701(0xaf)](_0x446506,_0x4e8327[_0x20e701(0xc3)]);return _0x391296[_0x20e701(0xc5)]=_0x4e8327[_0x20e701(0xc5)],_0x391296[_0x20e701(0x87)](_0x20e701(0x92))['to'](_0x16725d,_0x20e701(0xd5),_0x3b63c4=>_0x1bf483(_0x3b90bf,_0x4e8327[_0x20e701(0xc3)],_0x3b63c4?_0x20e701(0x98):_0x20e701(0xac))[_0x20e701(0xbf)]),_0x391296[_0x20e701(0x88)]=!0x0,_0x391296;}[_0x4e0077(0xc0)](_0x524e9f){const _0x3bd5ac=_0x4e0077,{locale:_0x4a1c5a}=this[_0x3bd5ac(0x99)],_0x1559b2=this[_0x3bd5ac(0x99)][_0x3bd5ac(0x86)][_0x3bd5ac(0x8d)](_0x3bd5ac(0x9b));return _0x524e9f[_0x3bd5ac(0xcf)](_0x2f21cf=>{const _0x488110=_0x3bd5ac,_0x24e824=this[_0x488110(0xaf)](_0x446506,_0x2f21cf[_0x488110(0xc3)]);return _0x24e824[_0x488110(0xa8)]=!0x0,_0x24e824[_0x488110(0xc5)]=_0x2f21cf[_0x488110(0xc5)],_0x24e824[_0x488110(0x87)](_0x488110(0x92))['to'](_0x1559b2,_0x488110(0xd5),_0x131b74=>_0x1bf483(_0x4a1c5a,_0x2f21cf[_0x488110(0xc3)],_0x131b74?_0x488110(0x98):_0x488110(0xac))[_0x488110(0xbf)]),_0x24e824;});}[_0x4e0077(0x8a)](_0x4a0b0b){const _0x1f345b=_0x4e0077;return _0x4a0b0b[_0x1f345b(0xcf)](_0x18a744=>{const _0x4b08eb=_0x1f345b,_0x40f977=this[_0x4b08eb(0xaf)](_0x4b2b0a,_0x18a744[_0x4b08eb(0xc3)]);return _0x40f977[_0x4b08eb(0xc5)]=_0x18a744[_0x4b08eb(0xc5)],_0x40f977[_0x4b08eb(0x92)]=_0x18a744[_0x4b08eb(0xb6)],_0x40f977;});}}
@@ -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-2026, 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 _0x9713d6}from'ckeditor5/src/core.js';import{FileRepository as _0x44cbc7}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x1fbf09}from'./uploadcareediting.js';import{UploadUtils as _0x1f331a}from'./utils/uploadutils.js';import{getImageUrls as _0x3017fd}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x9713d6{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x44cbc7,_0x1fbf09];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1737b3=this['editor'];if(!!!_0x1737b3['config']['get']('uploadcare'))return;_0x1737b3['plugins']['get'](_0x44cbc7)['createUploadAdapter']=_0x54172e=>new k(_0x54172e,_0x1737b3),_0x1737b3['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x15b556,{imageElement:_0x42d047,data:_0x51a7fc})=>{_0x1737b3['model']['change'](_0x59ca69=>{_0x59ca69['setAttribute']('uploadcareImageId',_0x51a7fc['uploadcareImageId'],_0x42d047);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x9395f8,_0xe25dfd){this['loader']=_0x9395f8,this['editor']=_0xe25dfd,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5970ee=await this['loader']['file'];return _0x1f331a['upload']({'file':_0x5970ee,'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':_0x402329=>{_0x402329&&_0x402329['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x402329['value']);}})['then'](async _0x1d0921=>{const {imageFallbackUrl:_0x596248,imageSources:_0x37d5a5}=_0x3017fd(_0x1d0921['cdnUrl'],_0x1d0921['imageInfo']['width']);return{'uploadcareImageId':_0x1d0921['uuid'],'default':_0x596248,'sources':_0x37d5a5};})['catch'](()=>{const _0x23a93a=t('Cannot\x20upload\x20file:')+('\x20'+_0x5970ee['name']+'.');return Promise['reject'](_0x23a93a);});}['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-2026, 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 _0x41849b}from'../uploadcareconfig.js';export function getTranslation(_0x377e51,_0x4e341a,_0x2b6e60){const t=_0x377e51['t'],_0x138363=_0x377e51['t'];switch(_0x4e341a){case _0x41849b['Local']:return{'text':_0x138363('Insert'===_0x2b6e60?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x138363('From\x20computer')};case _0x41849b['URL']:return{'text':'Insert'===_0x2b6e60?_0x138363('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x138363('Via\x20URL')};case _0x41849b['Dropbox']:return{'text':t('Insert'===_0x2b6e60?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x41849b['Facebook']:return{'text':t('Insert'===_0x2b6e60?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x41849b['GDrive']:return{'text':t('Insert'===_0x2b6e60?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x41849b['GPhotos']:return{'text':t('Insert'===_0x2b6e60?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x41849b['OneDrive']:return{'text':t('Insert'===_0x2b6e60?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4e341a;}}
@@ -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-2026, 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 _0x415d82=_0x4b7e;(function(_0x242416,_0x2a0b98){var _0xf29318=_0x4b7e,_0x519256=_0x242416();while(!![]){try{var _0x1edfcd=-parseInt(_0xf29318(0x195))/0x1*(-parseInt(_0xf29318(0x192))/0x2)+-parseInt(_0xf29318(0x1a2))/0x3*(-parseInt(_0xf29318(0x199))/0x4)+-parseInt(_0xf29318(0x196))/0x5*(parseInt(_0xf29318(0x194))/0x6)+-parseInt(_0xf29318(0x19c))/0x7*(parseInt(_0xf29318(0x190))/0x8)+-parseInt(_0xf29318(0x193))/0x9*(-parseInt(_0xf29318(0x191))/0xa)+parseInt(_0xf29318(0x19e))/0xb+-parseInt(_0xf29318(0x1a4))/0xc;if(_0x1edfcd===_0x2a0b98)break;else _0x519256['push'](_0x519256['shift']());}catch(_0x11c875){_0x519256['push'](_0x519256['shift']());}}}(_0x36d3,0x55e08));function _0x4b7e(_0x4ba948,_0x4922fd){var _0x36d381=_0x36d3();return _0x4b7e=function(_0x4b7e08,_0x544dc7){_0x4b7e08=_0x4b7e08-0x190;var _0x4b5f1c=_0x36d381[_0x4b7e08];return _0x4b5f1c;},_0x4b7e(_0x4ba948,_0x4922fd);}function _0x36d3(){var _0x39a11c=['15579WjHpUc','30pihQxJ','13pZaLBY','562255utsRyX','focusCycler','forwardCycle','4144LgRgVp','getFocusableElement','div','7ivHylp','createCollection','7497182UzZXQI','fire','focusTracker','true','393uKGKZB','bindTemplate','2830944BJpOan','4675592PynrvE','3470cdnpMs','48682YaEoJW'];_0x36d3=function(){return _0x39a11c;};return _0x36d3();}import{FocusTracker as _0x2a9e9d}from'ckeditor5/src/utils.js';import{View as _0x74bdf,FocusCycler as _0xa535c3}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x74bdf{[_0x415d82(0x1a0)];[_0x415d82(0x197)];constructor(_0x1eeed9){var _0x14a717=_0x415d82;super(_0x1eeed9),this[_0x14a717(0x1a0)]=new _0x2a9e9d(),this[_0x14a717(0x197)]=new _0xa535c3({'focusables':this[_0x14a717(0x19d)](),'focusTracker':this[_0x14a717(0x1a0)]});}[_0x415d82(0x19a)](){var _0x8a677c=_0x415d82;return{'tag':_0x8a677c(0x19b),'attributes':{'aria-hidden':_0x8a677c(0x1a1),'tabindex':'0'},'on':{'focus':this[_0x8a677c(0x1a3)]['to'](()=>{var _0x5b052c=_0x8a677c;this[_0x5b052c(0x197)][_0x5b052c(0x19f)](_0x5b052c(0x198));})}};}}
@@ -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-2026, 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(_0x10f8a9,_0x33941f){const _0x4b0755=_0xd735,_0x330a9d=_0x10f8a9();while(!![]){try{const _0x377f64=parseInt(_0x4b0755(0x184))/0x1+-parseInt(_0x4b0755(0x1a5))/0x2*(-parseInt(_0x4b0755(0x191))/0x3)+-parseInt(_0x4b0755(0x180))/0x4+parseInt(_0x4b0755(0x1a7))/0x5*(parseInt(_0x4b0755(0x175))/0x6)+-parseInt(_0x4b0755(0x1a6))/0x7+parseInt(_0x4b0755(0x199))/0x8+-parseInt(_0x4b0755(0x177))/0x9;if(_0x377f64===_0x33941f)break;else _0x330a9d['push'](_0x330a9d['shift']());}catch(_0x4f6df0){_0x330a9d['push'](_0x330a9d['shift']());}}}(_0x3ecc,0x8a4c2));import{global as _0x6bc760,DomEmitterMixin as _0x5cdb67}from'ckeditor5/src/utils.js';export function createEditabilityChecker(_0x380c1c){const _0x29cdbe=_0xd735,_0x58a6d3=G(_0x380c1c);return _0x58f448=>!(!_0x58f448||!_0x58f448['is'](_0x29cdbe(0x198),_0x29cdbe(0x173))&&!_0x58f448['is'](_0x29cdbe(0x198),_0x29cdbe(0x18b)))&&(!!_0x58f448[_0x29cdbe(0x174)](_0x29cdbe(0x19d))||!!_0x58f448[_0x29cdbe(0x174)](_0x29cdbe(0x189))&&_0x58a6d3(_0x58f448[_0x29cdbe(0x197)](_0x29cdbe(0x189))));}function _0x3ecc(){const _0x50c129=['location','viewToDom','x/\x20','uploadcareImageId','filter','origin','replace','plugins','editing','(max-width:\x20','aspect-ratio','2fNhVfK','821632FhSXCQ','65RrLuPX','/-/resize/','removeStyle','setStyle','imageBlock','hasAttribute','300738JZmjNk','document','2739942hKYUSB','view','removeClass','height','px)\x20100vw,\x20','mapper','some','width','image/webp','3507848XLjUWX','ImageUtils','domConverter','listenTo','300605mjAfdh','get','join','match','isArray','src','change','imageInline','findViewImgElement','map','window','toViewElement','image-processing','2074689FhCyFa','load','baseURI','stopListening','addClass','function','getAttribute','element','1771800mZVfdB'];_0x3ecc=function(){return _0x50c129;};return _0x3ecc();}function _0xd735(_0x46d66f,_0x8f00c5){const _0x3ecc6b=_0x3ecc();return _0xd735=function(_0xd7351b,_0x3cf5e3){_0xd7351b=_0xd7351b-0x170;let _0x4a872e=_0x3ecc6b[_0xd7351b];return _0x4a872e;},_0xd735(_0x46d66f,_0x8f00c5);}export function getImageUrls(_0x18e1e5,_0x37f111){const _0x6e6a65=_0xd735,_0x2a4259=[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960][_0x6e6a65(0x19e)](_0x50f4d5=>_0x50f4d5<=_0x37f111)[_0x6e6a65(0x18d)](_0x79ffe3=>_0x18e1e5[_0x6e6a65(0x1a0)](/\/$/,'')+_0x6e6a65(0x170)+_0x79ffe3+_0x6e6a65(0x19c)+_0x79ffe3+'w');return{'imageFallbackUrl':_0x18e1e5,'imageSources':[{'srcset':_0x2a4259[_0x6e6a65(0x186)](',\x20'),'sizes':_0x6e6a65(0x1a3)+_0x37f111+_0x6e6a65(0x17b)+_0x37f111+'px','type':_0x6e6a65(0x17f)}]};}export function getImageDimension(_0x16b50e,_0x478a12,_0x484ae2){const _0x3d7e7a=_0xd735,_0xf56075=_0x16b50e[_0x3d7e7a(0x187)](/\/crop\/(\d+)x(\d+)\//);return{'width':_0xf56075?parseInt(_0xf56075[0x1],0xa):_0x478a12,'height':_0xf56075?parseInt(_0xf56075[0x2],0xa):_0x484ae2};}export function showImageProcessingIndicator(_0x41cea1,_0x1f1ecb){const _0x10f937=_0xd735,_0x31c2e8=new(_0x5cdb67())(),_0x197f43=_0x41cea1[_0x10f937(0x1a1)][_0x10f937(0x185)](_0x10f937(0x181)),_0x292bb7=_0x41cea1[_0x10f937(0x1a2)][_0x10f937(0x17c)][_0x10f937(0x18f)](_0x1f1ecb),_0x48ef69=_0x197f43[_0x10f937(0x18c)](_0x292bb7),_0x44554a=_0x41cea1[_0x10f937(0x1a2)][_0x10f937(0x178)][_0x10f937(0x182)][_0x10f937(0x19b)](_0x48ef69),_0x152e4b=_0x1f1ecb[_0x10f937(0x197)](_0x10f937(0x17e)),_0xc7b7c1=_0x1f1ecb[_0x10f937(0x197)](_0x10f937(0x17a)),_0x2080f0=_0x10f937(0x190);_0x41cea1[_0x10f937(0x1a2)][_0x10f937(0x178)][_0x10f937(0x18a)](_0x1dc951=>{const _0x41496b=_0x10f937;_0x1dc951[_0x41496b(0x195)](_0x2080f0,_0x292bb7),_0x1dc951[_0x41496b(0x172)](_0x41496b(0x1a4),_0x152e4b+'/'+_0xc7b7c1,_0x48ef69);}),_0x31c2e8[_0x10f937(0x183)](_0x44554a,_0x10f937(0x192),()=>{const _0x2e423e=_0x10f937;_0x31c2e8[_0x2e423e(0x194)](_0x44554a,_0x2e423e(0x192)),_0x41cea1[_0x2e423e(0x1a2)][_0x2e423e(0x178)][_0x2e423e(0x18a)](_0x4a204b=>{const _0x58adaa=_0x2e423e;_0x4a204b[_0x58adaa(0x179)](_0x2080f0,_0x292bb7),_0x4a204b[_0x58adaa(0x171)](_0x58adaa(0x1a4),_0x48ef69);});});}function G(_0x318d3c){const _0x2452f3=_0xd735;if(Array[_0x2452f3(0x188)](_0x318d3c)){const _0x46ea67=_0x318d3c[_0x2452f3(0x18d)](G);return _0x332c2b=>_0x46ea67[_0x2452f3(0x17d)](_0x21f82d=>_0x21f82d(_0x332c2b));}if(_0x2452f3(0x19f)==_0x318d3c){const _0x400bcd=_0x6bc760[_0x2452f3(0x18e)][_0x2452f3(0x19a)][_0x2452f3(0x19f)];return _0x3d7a11=>new URL(_0x3d7a11,_0x6bc760[_0x2452f3(0x176)][_0x2452f3(0x193)])[_0x2452f3(0x19f)]==_0x400bcd;}return _0x2452f3(0x196)==typeof _0x318d3c?_0x318d3c:_0x318d3c instanceof RegExp?_0xe45f35=>!(!_0xe45f35[_0x2452f3(0x187)](_0x318d3c)&&!_0xe45f35[_0x2452f3(0x1a0)](/^https?:\/\//,'')[_0x2452f3(0x187)](_0x318d3c)):()=>!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-2026, 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 _0x8dc8(_0x8f6632,_0x12f485){var _0x1c7715=_0x1c77();return _0x8dc8=function(_0x8dc843,_0x2fb1ea){_0x8dc843=_0x8dc843-0x8c;var _0x817363=_0x1c7715[_0x8dc843];return _0x817363;},_0x8dc8(_0x8f6632,_0x12f485);}(function(_0x5bebaa,_0x3a1dd3){var _0x3fa1c6=_0x8dc8,_0x52c93e=_0x5bebaa();while(!![]){try{var _0xc2c0ae=parseInt(_0x3fa1c6(0x8d))/0x1*(-parseInt(_0x3fa1c6(0x95))/0x2)+-parseInt(_0x3fa1c6(0x94))/0x3+parseInt(_0x3fa1c6(0x93))/0x4+parseInt(_0x3fa1c6(0x8e))/0x5+-parseInt(_0x3fa1c6(0x97))/0x6*(-parseInt(_0x3fa1c6(0x91))/0x7)+parseInt(_0x3fa1c6(0x8f))/0x8+parseInt(_0x3fa1c6(0x90))/0x9*(-parseInt(_0x3fa1c6(0x92))/0xa);if(_0xc2c0ae===_0x3a1dd3)break;else _0x52c93e['push'](_0x52c93e['shift']());}catch(_0x17af74){_0x52c93e['push'](_0x52c93e['shift']());}}}(_0x1c77,0x85d41));import{getAncestors as _0x4ef26a}from'ckeditor5/src/utils.js';export function isAncestor(_0x2404a9,_0x338031){var _0x4ce3e8=_0x8dc8;return _0x4ef26a(_0x2404a9[_0x4ce3e8(0x96)])[_0x4ce3e8(0x8c)](_0x338031);}function _0x1c77(){var _0x5464b2=['644835PFuhuu','4496480fTEWqQ','303777RQLNcP','3127929GeNRKj','110YPeygy','1901776rAFqJD','1484166JJogro','1291998IiYUgF','target','12QpGarB','includes','1kUTekR'];_0x1c77=function(){return _0x5464b2;};return _0x1c77();}
@@ -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-2026, 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 _0x2bbf59=_0x11b3;(function(_0x138c39,_0x31079b){var _0x2f28ab=_0x11b3,_0x74ff2d=_0x138c39();while(!![]){try{var _0x290685=parseInt(_0x2f28ab(0x188))/0x1+-parseInt(_0x2f28ab(0x18e))/0x2+parseInt(_0x2f28ab(0x18a))/0x3+parseInt(_0x2f28ab(0x18b))/0x4*(parseInt(_0x2f28ab(0x18d))/0x5)+parseInt(_0x2f28ab(0x18c))/0x6+-parseInt(_0x2f28ab(0x187))/0x7*(parseInt(_0x2f28ab(0x18f))/0x8)+parseInt(_0x2f28ab(0x186))/0x9;if(_0x290685===_0x31079b)break;else _0x74ff2d['push'](_0x74ff2d['shift']());}catch(_0x1bcec9){_0x74ff2d['push'](_0x74ff2d['shift']());}}}(_0x1244,0xcd88f));import{uploadFile as _0x59deac,info as _0x1afcdb}from'@uploadcare/upload-client';function _0x11b3(_0x151494,_0x353cbc){var _0x1244aa=_0x1244();return _0x11b3=function(_0x11b388,_0x2e780d){_0x11b388=_0x11b388-0x186;var _0x111426=_0x1244aa[_0x11b388];return _0x111426;},_0x11b3(_0x151494,_0x353cbc);}export class UploadUtils{static[_0x2bbf59(0x190)]({file:_0x76006b,..._0x25e7bc}){return _0x59deac(_0x76006b,_0x25e7bc);}static[_0x2bbf59(0x189)](_0x479b1e,_0x3c4dac){return _0x1afcdb(_0x479b1e,_0x3c4dac);}}function _0x1244(){var _0x235415=['4dXNmbN','5586798IygWpL','442945wyGnLW','3343558ggESFj','3159320MinRAm','upload','12337020jPmdsL','14AIPOnr','140792QQNjjj','getInfo','2316558GINQPv'];_0x1244=function(){return _0x235415;};return _0x1244();}