@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
+ var _0x10ad34=_0x4058;(function(_0x554488,_0x282e3b){var _0x3a8390=_0x4058,_0x241b66=_0x554488();while(!![]){try{var _0x14cec9=parseInt(_0x3a8390(0xc2))/0x1*(parseInt(_0x3a8390(0xc6))/0x2)+-parseInt(_0x3a8390(0xb2))/0x3*(parseInt(_0x3a8390(0xb3))/0x4)+-parseInt(_0x3a8390(0xb1))/0x5*(-parseInt(_0x3a8390(0xba))/0x6)+parseInt(_0x3a8390(0xb5))/0x7*(-parseInt(_0x3a8390(0xc5))/0x8)+parseInt(_0x3a8390(0xc4))/0x9+parseInt(_0x3a8390(0xb9))/0xa*(parseInt(_0x3a8390(0xb7))/0xb)+-parseInt(_0x3a8390(0xc7))/0xc;if(_0x14cec9===_0x282e3b)break;else _0x241b66['push'](_0x241b66['shift']());}catch(_0x57f18e){_0x241b66['push'](_0x241b66['shift']());}}}(_0x303e,0xb620a));import{DialogFocusManagerView as _0x5a72b4}from'../utils/dialogfocusmanagerview.js';function _0x4058(_0x3ecec1,_0x5ce56d){var _0x303ecd=_0x303e();return _0x4058=function(_0x405802,_0x4a0783){_0x405802=_0x405802-0xb1;var _0x5b0a90=_0x303ecd[_0x405802];return _0x5b0a90;},_0x4058(_0x3ecec1,_0x5ce56d);}import'../../theme/uploadcare-form.css';export class UploadcareFormView extends _0x5a72b4{constructor(_0x4b2577,_0x3c6cf9){var _0x1313b0=_0x4058;super(_0x4b2577),this[_0x1313b0(0xb4)]({'tag':_0x1313b0(0xbf),'attributes':{'class':['ck',_0x1313b0(0xc0),_0x1313b0(0xc1)],'tabindex':'-1'},'children':[{'tag':_0x1313b0(0xc3),'attributes':{'class':[_0x1313b0(0xbd),_0x1313b0(0xb6)],'ctx-name':_0x1313b0(0xbc)+_0x3c6cf9}},this[_0x1313b0(0xbe)]()]});}[_0x10ad34(0xb8)](){var _0xfa3bc3=_0x10ad34;this[_0xfa3bc3(0xbb)][_0xfa3bc3(0xb8)]();}}function _0x303e(){var _0x4ad440=['554YPjnKL','3113172UrAmhB','40LjarLi','123wlWxxo','109316aSaWpg','setTemplate','371xucnxe','ck-uploadcare-theme','29942rRhASx','focus','900sneWCa','297876KdblZc','element','uploader-','uc-light','getFocusableElement','div','ck-reset_all-excluded','ck-uploadcare-form','3202koeKYX','uc-file-uploader-inline','13312881ACCBaO','133192VHcsgI'];_0x303e=function(){return _0x4ad440;};return _0x303e();}
@@ -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/uploadcare
11
7
  * @publicApi
12
8
  */
13
- import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
9
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
14
10
  import { UploadcareUI } from './uploadcareui.js';
15
11
  import { UploadcareEditing } from './uploadcareediting.js';
16
12
  import * as UC from '@uploadcare/file-uploader';
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x3b85e8=_0x2ab5;function _0x4920(){const _0x2aa0fe=['pluginName','Local','config','2586Tkuqra','294645iGoPOC','18660EbjiTt','isPremiumPlugin','requires','41951uRwEZJ','get','define','uploadcare.uploader.sourceList','Uploadcare','uploadcare.locale','defineLocale','URL','513292LRPWKO','defineComponents','88sGGqYb','2023566DPhpjk','editor','8wlqLRM','contentLanguage','locale','_defineLocale','isOfficialPlugin','188807vtmbVQ','2736zyLIJi'];_0x4920=function(){return _0x2aa0fe;};return _0x4920();}(function(_0x182b2a,_0x30ff7f){const _0x174bb5=_0x2ab5,_0x149a8c=_0x182b2a();while(!![]){try{const _0x388951=parseInt(_0x174bb5(0x1f5))/0x1+-parseInt(_0x174bb5(0x1eb))/0x2+-parseInt(_0x174bb5(0x1de))/0x3*(-parseInt(_0x174bb5(0x1f0))/0x4)+-parseInt(_0x174bb5(0x1df))/0x5+-parseInt(_0x174bb5(0x1ee))/0x6+-parseInt(_0x174bb5(0x1e3))/0x7*(-parseInt(_0x174bb5(0x1ed))/0x8)+parseInt(_0x174bb5(0x1f6))/0x9*(parseInt(_0x174bb5(0x1e0))/0xa);if(_0x388951===_0x30ff7f)break;else _0x149a8c['push'](_0x149a8c['shift']());}catch(_0x519654){_0x149a8c['push'](_0x149a8c['shift']());}}}(_0x4920,0x29b82));import{Plugin as _0x28cba6}from'ckeditor5/src/core.js';import{UploadcareUI as _0xfd1a11}from'./uploadcareui.js';import{UploadcareEditing as _0x58248c}from'./uploadcareediting.js';function _0x2ab5(_0x2824cb,_0x242cdb){const _0x492043=_0x4920();return _0x2ab5=function(_0x2ab5f4,_0x427a8c){_0x2ab5f4=_0x2ab5f4-0x1dc;let _0x2c6225=_0x492043[_0x2ab5f4];return _0x2c6225;},_0x2ab5(_0x2824cb,_0x242cdb);}import{UploadcareSource as _0x4f7eb3}from'./uploadcareconfig.js';import*as _0x487ac0 from'@uploadcare/file-uploader';export class Uploadcare extends _0x28cba6{static get[_0x3b85e8(0x1e2)](){return[_0x58248c,_0xfd1a11];}static get[_0x3b85e8(0x1f7)](){const _0x5a818d=_0x3b85e8;return _0x5a818d(0x1e7);}static get[_0x3b85e8(0x1f4)](){return!0x0;}static get[_0x3b85e8(0x1e1)](){return!0x0;}constructor(_0x5d79fa){const _0x192d26=_0x3b85e8;super(_0x5d79fa),_0x5d79fa[_0x192d26(0x1dd)][_0x192d26(0x1e5)](_0x192d26(0x1e6),[_0x4f7eb3[_0x192d26(0x1dc)],_0x4f7eb3[_0x192d26(0x1ea)]]),_0x487ac0[_0x192d26(0x1ec)](_0x487ac0),this[_0x192d26(0x1f3)]();}[_0x3b85e8(0x1f3)](){const _0x4a2cf2=_0x3b85e8,_0x1ecf34=this[_0x4a2cf2(0x1ef)][_0x4a2cf2(0x1dd)][_0x4a2cf2(0x1e4)](_0x4a2cf2(0x1e8)),_0x1c4140=this[_0x4a2cf2(0x1ef)][_0x4a2cf2(0x1f2)][_0x4a2cf2(0x1f1)];_0x1ecf34&&_0x487ac0[_0x4a2cf2(0x1e9)](_0x1c4140,_0x1ecf34);}}
@@ -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/uploadcarecommand
11
7
  * @publicApi
12
8
  */
13
- import { Command, type Editor } from '@ckeditor/ckeditor5-core';
14
- import { Dialog } from '@ckeditor/ckeditor5-ui';
9
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
10
+ import { Dialog } from 'ckeditor5/src/ui.js';
15
11
  import { UploadcareEditing } from './uploadcareediting.js';
16
12
  import type { UploadcareSource } from './uploadcareconfig.js';
17
13
  /**
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ var _0x5a90b4=_0x42bc;function _0x1f97(){var _0xd6434a=['requires','2233725kwXIeW','99kVVoBW','editor','12813616bdzXfy','insertImage','plugins','317871VOROcw','1exKzAm','isEnabled','_editing','1840406MwETNG','260JRqQlT','commands','_controller','45076tOGDhI','refresh','2338KfXsKu','445BoGnJp','38748NuVtFs','14622PgKrtS','destroy','get','_checkEnabled','execute'];_0x1f97=function(){return _0xd6434a;};return _0x1f97();}(function(_0x5be0cc,_0x2f7fb8){var _0xc48118=_0x42bc,_0x189642=_0x5be0cc();while(!![]){try{var _0x4623a8=parseInt(_0xc48118(0x1c5))/0x1*(-parseInt(_0xc48118(0x1c8))/0x2)+-parseInt(_0xc48118(0x1d7))/0x3+-parseInt(_0xc48118(0x1cc))/0x4*(-parseInt(_0xc48118(0x1cf))/0x5)+-parseInt(_0xc48118(0x1d1))/0x6*(-parseInt(_0xc48118(0x1ce))/0x7)+parseInt(_0xc48118(0x1c1))/0x8+parseInt(_0xc48118(0x1c4))/0x9*(-parseInt(_0xc48118(0x1c9))/0xa)+parseInt(_0xc48118(0x1d8))/0xb*(parseInt(_0xc48118(0x1d0))/0xc);if(_0x4623a8===_0x2f7fb8)break;else _0x189642['push'](_0x189642['shift']());}catch(_0x2e5a01){_0x189642['push'](_0x189642['shift']());}}}(_0x1f97,0xd314e));import{Command as _0x50f307}from'ckeditor5/src/core.js';function _0x42bc(_0x334f93,_0x384ddd){var _0x1f9716=_0x1f97();return _0x42bc=function(_0x42bc4a,_0xbe850b){_0x42bc4a=_0x42bc4a-0x1c0;var _0x26bf70=_0x1f9716[_0x42bc4a];return _0x26bf70;},_0x42bc(_0x334f93,_0x384ddd);}import{Dialog as _0x8d5d39}from'ckeditor5/src/ui.js';import{UploadcareEditing as _0x56a697}from'./uploadcareediting.js';import{UploadcareController as _0x57ea5f}from'./ui/uploadcarecontroller.js';export class UploadcareCommand extends _0x50f307{[_0x5a90b4(0x1c7)];[_0x5a90b4(0x1cb)]=null;static get[_0x5a90b4(0x1d6)](){return[_0x8d5d39,_0x56a697];}constructor(_0x2ebb79){var _0x16050e=_0x5a90b4;super(_0x2ebb79),this[_0x16050e(0x1c7)]=_0x2ebb79[_0x16050e(0x1c3)][_0x16050e(0x1d3)](_0x56a697);}[_0x5a90b4(0x1cd)](){var _0x5b89f5=_0x5a90b4;this[_0x5b89f5(0x1c6)]=this[_0x5b89f5(0x1d4)]();}[_0x5a90b4(0x1d5)](_0x28fe2c){var _0x5174c2=_0x5a90b4;this[_0x5174c2(0x1cb)]&&(this[_0x5174c2(0x1cb)][_0x5174c2(0x1d2)](),this[_0x5174c2(0x1cb)]=null),this[_0x5174c2(0x1cb)]=new _0x57ea5f(this[_0x5174c2(0x1c0)],this[_0x5174c2(0x1c7)],_0x28fe2c);}[_0x5a90b4(0x1d4)](){var _0x205f3f=_0x5a90b4;return this[_0x205f3f(0x1c0)][_0x205f3f(0x1ca)][_0x205f3f(0x1d3)](_0x205f3f(0x1c2))[_0x205f3f(0x1c6)];}}
@@ -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/uploadcareconfig
11
7
  * @publicApi
12
8
  */
13
- import type { ArrayOrItem } from '@ckeditor/ckeditor5-utils';
9
+ import type { ArrayOrItem } from 'ckeditor5/src/utils.js';
14
10
  import type { ConfigType } from '@uploadcare/file-uploader';
15
11
  /**
16
12
  * Locale definition type matching Uploadcare `LocaleDefinition` type.
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x33b9(){var _0x2ea54f=['gdrive','url','URL','GPhotos','1079824yHUnPS','Facebook','gphotos','9OTRyVm','OneDrive','967072QBIXnS','onedrive','32jYavtC','Local','Dropbox','523012pGgvJv','25274ZjEWdH','GDrive','facebook','650727vfKqTN','819300LWiGiq','dropbox','12FdhVCj','5GnUalk','179135UENglk','492nmScUT','local'];_0x33b9=function(){return _0x2ea54f;};return _0x33b9();}(function(_0x3f1bf9,_0x3bfd79){var _0x3cb0f6=_0xb4ab,_0x59f49d=_0x3f1bf9();while(!![]){try{var _0x11f57d=-parseInt(_0x3cb0f6(0x107))/0x1*(-parseInt(_0x3cb0f6(0xf1))/0x2)+-parseInt(_0x3cb0f6(0xf4))/0x3+parseInt(_0x3cb0f6(0x105))/0x4*(-parseInt(_0x3cb0f6(0xf8))/0x5)+parseInt(_0x3cb0f6(0xf7))/0x6*(-parseInt(_0x3cb0f6(0xf0))/0x7)+-parseInt(_0x3cb0f6(0x100))/0x8*(parseInt(_0x3cb0f6(0x103))/0x9)+-parseInt(_0x3cb0f6(0xf5))/0xa+-parseInt(_0x3cb0f6(0xf9))/0xb*(-parseInt(_0x3cb0f6(0xfa))/0xc);if(_0x11f57d===_0x3bfd79)break;else _0x59f49d['push'](_0x59f49d['shift']());}catch(_0x34647f){_0x59f49d['push'](_0x59f49d['shift']());}}}(_0x33b9,0x3c50c));function _0xb4ab(_0x56dc69,_0x42d76b){var _0x33b94a=_0x33b9();return _0xb4ab=function(_0xb4ab33,_0x5dc7f9){_0xb4ab33=_0xb4ab33-0xef;var _0x1d8554=_0x33b94a[_0xb4ab33];return _0x1d8554;},_0xb4ab(_0x56dc69,_0x42d76b);}export var UploadcareSource;!function(_0x39b29c){var _0x5724f2=_0xb4ab;_0x39b29c[_0x5724f2(0x108)]=_0x5724f2(0xfb),_0x39b29c[_0x5724f2(0xfe)]=_0x5724f2(0xfd),_0x39b29c[_0x5724f2(0xef)]=_0x5724f2(0xf6),_0x39b29c[_0x5724f2(0xf2)]=_0x5724f2(0xfc),_0x39b29c[_0x5724f2(0x101)]=_0x5724f2(0xf3),_0x39b29c[_0x5724f2(0xff)]=_0x5724f2(0x102),_0x39b29c[_0x5724f2(0x104)]=_0x5724f2(0x106);}(UploadcareSource||(UploadcareSource={}));
@@ -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/uploadcareediting
11
7
  * @publicApi
12
8
  */
13
- import { Plugin, type Editor } from '@ckeditor/ckeditor5-core';
14
- import { Dialog } from '@ckeditor/ckeditor5-ui';
9
+ import { Plugin, type Editor } from 'ckeditor5/src/core.js';
10
+ import { Dialog } from 'ckeditor5/src/ui.js';
15
11
  import { UploadcareUploadAdapter } from './uploadcareuploadadapter.js';
16
12
  import type { UploaderBlock } from '@uploadcare/file-uploader';
17
13
  /**
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0xa0f4d0=_0xc805;(function(_0x542eca,_0x1ab77c){const _0x51c892=_0xc805,_0x8cec86=_0x542eca();while(!![]){try{const _0x17f768=-parseInt(_0x51c892(0x20d))/0x1*(parseInt(_0x51c892(0x204))/0x2)+parseInt(_0x51c892(0x1cb))/0x3*(-parseInt(_0x51c892(0x208))/0x4)+-parseInt(_0x51c892(0x1e5))/0x5*(parseInt(_0x51c892(0x1bd))/0x6)+parseInt(_0x51c892(0x1ca))/0x7+parseInt(_0x51c892(0x1e3))/0x8*(-parseInt(_0x51c892(0x1fa))/0x9)+parseInt(_0x51c892(0x1d8))/0xa+parseInt(_0x51c892(0x1f7))/0xb*(parseInt(_0x51c892(0x1c1))/0xc);if(_0x17f768===_0x1ab77c)break;else _0x8cec86['push'](_0x8cec86['shift']());}catch(_0x4df08a){_0x8cec86['push'](_0x8cec86['shift']());}}}(_0x1d4f,0x65b75));import{Plugin as _0x5ec774}from'ckeditor5/src/core.js';function _0x1d4f(){const _0x569649=['imageBlock','model','upcast','configElement','PictureEditing','imageInline','ctxElement','ucContextId','isOfficialPlugin','editing','true','uploadcareImageId','220Aujqjw','uc-upload-ctx-provider','cleanupImage','1341UdYlIv','input[uploadcare-file-input]','_initSchema','appendChild','data-uc-image-id','_initImageProcessingIndicator','uploadcare','uploader-','_initConfig','href','929622hsqrzN','_initCtx','pluginName','closeMax','565844EmeRHp','conversion','view','attributeToAttribute','_ctxElement','1vhzHGn','destroy','uploadcare.pubkey','init','fromCharCode','locale','for','17436WTYLib','get','getSelectedElement','join','426552DbGidx','removeAttribute','getAttribute','requires','insertImage','editor','config','extend','commands','1253959OnSIWq','3RUpCyV','downcast','contentLanguage','isPremiumPlugin','_configElement','elementToAttribute','map','add','body','once','schema','isRegistered','render','7916530SgYjBW','afterInit','iconHrefResolver','selection','uploadcareImageReplace','remove','querySelector','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','uploadcare.uploader','#uc-icon-arrow-down','_initConversion','33656lXWxma','replaceImageSource','55BnSsff','execute','listenTo','uc-config','UploadcareEditing','document'];_0x1d4f=function(){return _0x569649;};return _0x1d4f();}function _0xc805(_0x3acf61,_0x22efee){const _0x1d4f2f=_0x1d4f();return _0xc805=function(_0xc8057d,_0x39d748){_0xc8057d=_0xc8057d-0x1b7;let _0x44c679=_0x1d4f2f[_0xc8057d];return _0x44c679;},_0xc805(_0x3acf61,_0x22efee);}import{Dialog as _0x36ffb7}from'ckeditor5/src/ui.js';import{createElement as _0x25cdc9,global as _0x10f359,uid as _0x45c37e}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x45d0c8}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x39a543}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x11f39d}from'./utils/editingutils.js';export class UploadcareEditing extends _0x5ec774{[_0xa0f4d0(0x1cf)]=null;[_0xa0f4d0(0x20c)]=null;static get[_0xa0f4d0(0x206)](){const _0x40fdde=_0xa0f4d0;return _0x40fdde(0x1e9);}static get[_0xa0f4d0(0x1c4)](){const _0x4ca0fa=_0xa0f4d0;return[_0x4ca0fa(0x1ef),_0x39a543,_0x36ffb7];}static get[_0xa0f4d0(0x1f3)](){return!0x0;}static get[_0xa0f4d0(0x1ce)](){return!0x0;}[_0xa0f4d0(0x1f2)];get[_0xa0f4d0(0x1ee)](){const _0x42d1e0=_0xa0f4d0;return this[_0x42d1e0(0x1cf)];}get[_0xa0f4d0(0x1f1)](){const _0x3a5c72=_0xa0f4d0;return this[_0x3a5c72(0x20c)];}constructor(_0x3393f3){const _0x4c29be=_0xa0f4d0;super(_0x3393f3),this[_0x4c29be(0x1f2)]=_0x45c37e();}[_0xa0f4d0(0x1b9)](){const _0x5c822b=_0xa0f4d0,_0x4468e0=this[_0x5c822b(0x1c6)];_0x4468e0[_0x5c822b(0x1c9)][_0x5c822b(0x1d2)](_0x5c822b(0x200),new _0x45d0c8(_0x4468e0));}[_0xa0f4d0(0x1d9)](){const _0x3e3c4f=_0xa0f4d0;this[_0x3e3c4f(0x1fc)](),this[_0x3e3c4f(0x1e2)](),this[_0x3e3c4f(0x202)](),this[_0x3e3c4f(0x205)](),this[_0x3e3c4f(0x1ff)](),this[_0x3e3c4f(0x1e7)](this[_0x3e3c4f(0x1c6)],_0x3e3c4f(0x1b7),()=>{const _0xe1274d=_0x3e3c4f;this[_0xe1274d(0x1cf)]&&(this[_0xe1274d(0x1cf)][_0xe1274d(0x1dd)](),this[_0xe1274d(0x1cf)]=null),this[_0xe1274d(0x20c)]&&(this[_0xe1274d(0x20c)][_0xe1274d(0x1dd)](),this[_0xe1274d(0x20c)]=null);const _0x573046=_0x10f359[_0xe1274d(0x1ea)][_0xe1274d(0x1de)](_0xe1274d(0x1fb));_0x573046&&_0x573046[_0xe1274d(0x1dd)]();}),async function(_0x4c70ba){const _0xc3a25c=_0x263899([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x286b4f=0x535f8c3a,_0x273399=0x5358f28a^_0x286b4f,_0x14f040=window[_0x263899([0x44,0x61,0x74,0x65])][_0x263899([0x6e,0x6f,0x77])](),_0x337455=_0x4c70ba[_0x263899([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4ff387=new window[(_0x263899([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28bc9a=>{_0x337455[_0x263899([0x6f,0x6e,0x63,0x65])](_0x263899([0x72,0x65,0x61,0x64,0x79]),_0x28bc9a);}),_0x144188={[_0x263899([0x6b,0x74,0x79])]:_0x263899([0x45,0x43]),[_0x263899([0x75,0x73,0x65])]:_0x263899([0x73,0x69,0x67]),[_0x263899([0x63,0x72,0x76])]:_0x263899([0x50,0x2d,0x32,0x35,0x36]),[_0x263899([0x78])]:_0x263899([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x263899([0x79])]:_0x263899([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x263899([0x61,0x6c,0x67])]:_0x263899([0x45,0x53,0x32,0x35,0x36])},_0x176f05=_0x337455[_0x263899([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x263899([0x67,0x65,0x74])](_0x263899([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x22b6a2(){let _0x51400a,_0x520dde=null,_0x250d2a=null;try{if(_0x176f05==_0x263899([0x47,0x50,0x4c]))return _0x263899([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51400a=_0xf80954(),!_0x51400a)return _0x263899([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x51400a[_0x263899([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x250d2a=_0x4d0eb4(_0x51400a[_0x263899([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51400a[_0x263899([0x6a,0x74,0x69])])),await _0x2d1c28()?_0x2de9dd()?_0x2d341d()?_0x263899([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x39077e()?(_0x51400a[_0x263899([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x263899([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x520dde=_0x5e413e(_0x263899([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x20ddd6()):_0x263899([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x263899([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x263899([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x263899([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2d341d(){const _0x149284=[_0x263899([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x263899([0x74,0x72,0x69,0x61,0x6c])][_0x263899([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51400a[_0x263899([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x14f040/0x3e8:0xe10*_0x273399;return _0x51400a[_0x263899([0x65,0x78,0x70])]<_0x149284;}function _0x2de9dd(){const _0x380366=_0x51400a[_0x263899([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x380366&&(!!_0x380366[_0x263899([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x263899([0x2a]))||!!_0x380366[_0x263899([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x263899([0x55,0x50,0x4c,0x43])));}function _0x39077e(){const _0x31caa2=_0xc805,_0x4f8d9d=_0x51400a[_0x263899([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4f8d9d||0x0==_0x4f8d9d[_0x263899([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x308c38}=new URL(window[_0x263899([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x31caa2(0x203)]);if(_0x4f8d9d[_0x263899([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x308c38))return!0x0;const _0x235c3f=_0x308c38[_0x263899([0x73,0x70,0x6c,0x69,0x74])](_0x263899([0x2e]));return _0x4f8d9d[_0x263899([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x57a6ec=>_0x57a6ec[_0x263899([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x263899([0x2a])))[_0x263899([0x6d,0x61,0x70])](_0x4119d3=>_0x4119d3[_0x263899([0x73,0x70,0x6c,0x69,0x74])](_0x263899([0x2e])))[_0x263899([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x197a79=>_0x197a79[_0x263899([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x235c3f[_0x263899([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x263899([0x6d,0x61,0x70])](_0x235fb4=>Array(_0x235c3f[_0x263899([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x235fb4[_0x263899([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x263899([0x66,0x69,0x6c,0x6c])](_0x235fb4[0x0]===_0x263899([0x2a])?_0x263899([0x2a]):'')[_0x263899([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x235fb4))[_0x263899([0x73,0x6f,0x6d,0x65])](_0xb7ba90=>_0x235c3f[_0x263899([0x65,0x76,0x65,0x72,0x79])]((_0x3fadba,_0x36aab1)=>_0xb7ba90[_0x36aab1]===_0x3fadba||_0xb7ba90[_0x36aab1]===_0x263899([0x2a])));}function _0x20ddd6(){return _0x520dde&&_0x250d2a?new window[(_0x263899([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a5d5f,_0x4dd415)=>{_0x520dde[_0x263899([0x74,0x68,0x65,0x6e])](_0x5a5d5f,_0x4dd415),_0x250d2a[_0x263899([0x74,0x68,0x65,0x6e])](_0x507149=>{_0x507149!=_0x263899([0x56,0x61,0x6c,0x69,0x64])&&_0x5a5d5f(_0x507149);},_0x4dd415);}):_0x520dde||_0x250d2a||_0x263899([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d0eb4(_0x32975a,_0xa6883b){return new window[(_0x263899([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x266355=>{if(_0x1e787b())return _0x266355(_0x263899([0x56,0x61,0x6c,0x69,0x64]));_0x115d25(),_0x337455[_0x263899([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x263899([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4a933f=!0x1;const _0x1141ce=_0x45c37e();function _0x5a926f(_0x528b40){return!!_0x528b40&&(typeof _0x528b40===_0x263899([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x528b40===_0x263899([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x528b40[_0x263899([0x74,0x68,0x65,0x6e])]===_0x263899([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x528b40[_0x263899([0x63,0x61,0x74,0x63,0x68])]===_0x263899([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x9fe5dc(_0xf10f0d){_0x51a11e(_0xf10f0d)[_0x263899([0x74,0x68,0x65,0x6e])](_0x17c67d=>{if(!_0x17c67d||_0x17c67d[_0x263899([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x263899([0x6f,0x6b]))return _0x263899([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x39aac9(_0x144ace(_0x1141ce+_0xa6883b))!=_0x17c67d[_0x263899([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x263899([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x263899([0x56,0x61,0x6c,0x69,0x64]);})[_0x263899([0x74,0x68,0x65,0x6e])](_0x59b38a=>(_0x2e6944(),_0x59b38a),()=>{const _0x448bbd=_0x573844();return null==_0x448bbd?(_0x2e6944(),_0x263899([0x56,0x61,0x6c,0x69,0x64])):_0x263899(_0x14f040-_0x448bbd>(0x7753083a^_0x286b4f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x263899([0x74,0x68,0x65,0x6e])](_0x266355)[_0x263899([0x63,0x61,0x74,0x63,0x68])](()=>{_0x266355(_0x263899([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x33d048=0x536962ba^_0x286b4f;function _0x2e6944(){const _0x24cd5a=_0x263899([0x6c,0x6c,0x63,0x74,0x2d])+_0x39aac9(_0x144ace(_0x32975a)),_0x346415=_0x3e0b54(_0x39aac9(window[_0x263899([0x4d,0x61,0x74,0x68])][_0x263899([0x63,0x65,0x69,0x6c])](_0x14f040/_0x33d048)));window[_0x263899([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x263899([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x24cd5a,_0x346415);}function _0x573844(){const _0x57c393=_0x263899([0x6c,0x6c,0x63,0x74,0x2d])+_0x39aac9(_0x144ace(_0x32975a)),_0x4ac19b=window[_0x263899([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x263899([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57c393);return _0x4ac19b?window[_0x263899([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e0b54(_0x4ac19b),0x10)*_0x33d048:null;}function _0x51a11e(_0x1b8aa6){return new window[(_0x263899([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31ed7c,_0x5f8520)=>{_0x1b8aa6[_0x263899([0x74,0x68,0x65,0x6e])](_0x31ed7c,_0x5f8520),window[_0x263899([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5f8520,0x535e58fa^_0x286b4f);});}}_0x337455[_0x263899([0x6f,0x6e])](_0x263899([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x441a6b,_0x487c8b)=>{if(_0x487c8b[0x0]!=_0x32975a)return _0x266355(_0x263899([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x487c8b[0x1]={..._0x487c8b[0x1],[_0x263899([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1141ce};},{[_0x263899([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x263899([0x68,0x69,0x67,0x68])}),_0x337455[_0x263899([0x6f,0x6e])](_0x263899([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1e6ac0=>{_0x5a926f(_0x1e6ac0[_0x263899([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4a933f=!0x0,_0x9fe5dc(_0x1e6ac0[_0x263899([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x263899([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x263899([0x6c,0x6f,0x77])}),_0x4ff387[_0x263899([0x74,0x68,0x65,0x6e])](()=>{_0x4a933f||_0x266355(_0x263899([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1e787b(){return _0x337455[_0x263899([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x263899([0x76,0x69,0x65,0x77])][_0x263899([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x263899([0x61,0x75,0x74,0x6f]);}function _0x115d25(){_0x337455[_0x263899([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x263899([0x76,0x69,0x65,0x77])][_0x263899([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x263899([0x61,0x75,0x74,0x6f]);}}function _0x5e413e(_0x22c584){const _0xd21eab=[new window[(_0x263899([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x285b63=>setTimeout(_0x285b63,0x5356b2f6^_0x286b4f)),_0x4ff387[_0x263899([0x74,0x68,0x65,0x6e])](()=>new window[(_0x263899([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa84ed5=>{let _0x2566d7=0x0;_0x337455[_0x263899([0x6d,0x6f,0x64,0x65,0x6c])][_0x263899([0x6f,0x6e])](_0x263899([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x460f1d,_0x47ed6e)=>{_0x47ed6e[0x0][_0x263899([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2566d7++,_0x2566d7==(0x535f89d2^_0x286b4f)&&(_0xa84ed5(),_0x460f1d[_0x263899([0x6f,0x66,0x66])]());});}))];return window[_0x263899([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x263899([0x72,0x61,0x63,0x65])](_0xd21eab)[_0x263899([0x74,0x68,0x65,0x6e])](()=>_0x22c584);}async function _0x1047b4(){await _0x4ff387,_0x337455[_0x263899([0x6d,0x6f,0x64,0x65,0x6c])][_0x263899([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1f6358,_0x337455[_0x263899([0x6d,0x6f,0x64,0x65,0x6c])][_0x263899([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1f6358,_0x337455[_0x263899([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x263899([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x15e10b(_0x2177ec){const _0x10f03d=_0x2157aa();_0x337455[_0x10f03d]=_0x263899([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2177ec,_0x2177ec!=_0x263899([0x56,0x61,0x6c,0x69,0x64])&&_0x1047b4();}function _0x2157aa(){const _0x49cbaf=window[_0x263899([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x263899([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x263899([0x6e,0x6f,0x77])]())[_0x263899([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x263899([0x2e]),'');let _0x55f385=_0x263899([0x68]);for(let _0x4f5937=0x0;_0x4f5937<_0x49cbaf[_0x263899([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f5937+=0x2){let _0x101537=window[_0x263899([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49cbaf[_0x263899([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f5937,_0x4f5937+0x2));_0x101537>=_0xc3a25c[_0x263899([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x101537-=_0xc3a25c[_0x263899([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x55f385+=_0xc3a25c[_0x101537];}return _0x55f385;}function _0xf80954(){const _0x5bb706=_0x176f05[_0x263899([0x73,0x70,0x6c,0x69,0x74])](_0x263899([0x2e]));if(0x3!=_0x5bb706[_0x263899([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5d05b7(_0x5bb706[0x1]);function _0x5d05b7(_0x3175dd){const _0x3902fe=_0x4d9b17(_0x3175dd);return _0x3902fe&&_0x2ac515()?_0x3902fe:null;function _0x2ac515(){const _0x569d32=_0x3902fe[_0x263899([0x6a,0x74,0x69])],_0x5a289c=window[_0x263899([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x569d32[_0x263899([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x569d32[_0x263899([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1422bd={..._0x3902fe,[_0x263899([0x6a,0x74,0x69])]:_0x569d32[_0x263899([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x569d32[_0x263899([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1422bd[_0x263899([0x76,0x63])],_0x144ace(_0x1422bd)==_0x5a289c;}}}async function _0x2d1c28(){let _0x5466b9=!0x0;try{const _0x170bfc=_0x176f05[_0x263899([0x73,0x70,0x6c,0x69,0x74])](_0x263899([0x2e])),[_0x2e323f,_0x12423e,_0x16bbbf]=_0x170bfc;return _0x2474a1(_0x2e323f),await _0x2320ec(_0x2e323f,_0x12423e,_0x16bbbf),_0x5466b9;}catch{return!0x1;}function _0x2474a1(_0x329544){const _0xd72c83=_0x4d9b17(_0x329544);_0xd72c83&&_0xd72c83[_0x263899([0x61,0x6c,0x67])]==_0x263899([0x45,0x53,0x32,0x35,0x36])||(_0x5466b9=!0x1);}async function _0x2320ec(_0x19daf3,_0x190704,_0x3abab5){const _0x116c70=window[_0x263899([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x263899([0x66,0x72,0x6f,0x6d])](_0x47e631(_0x3abab5),_0x525f53=>_0x525f53[_0x263899([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3aad11=new window[(_0x263899([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x263899([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x19daf3+_0x263899([0x2e])+_0x190704),_0x57dcfd=window[_0x263899([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x263899([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x57dcfd)return;const _0x5d9832=await _0x57dcfd[_0x263899([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x263899([0x6a,0x77,0x6b]),_0x144188,{[_0x263899([0x6e,0x61,0x6d,0x65])]:_0x263899([0x45,0x43,0x44,0x53,0x41]),[_0x263899([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x263899([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x263899([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x57dcfd[_0x263899([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x263899([0x6e,0x61,0x6d,0x65])]:_0x263899([0x45,0x43,0x44,0x53,0x41]),[_0x263899([0x68,0x61,0x73,0x68])]:{[_0x263899([0x6e,0x61,0x6d,0x65])]:_0x263899([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5d9832,_0x116c70,_0x3aad11)||(_0x5466b9=!0x1);}}function _0x4d9b17(_0x5ec330){return _0x5ec330[_0x263899([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x263899([0x65,0x79]))?JSON[_0x263899([0x70,0x61,0x72,0x73,0x65])](_0x47e631(_0x5ec330)):null;}function _0x47e631(_0x44ac27){return window[_0x263899([0x61,0x74,0x6f,0x62])](_0x44ac27[_0x263899([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x263899([0x2b]))[_0x263899([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x263899([0x2f])));}function _0x144ace(_0x3bbca4){let _0x8a1260=0x1505;function _0xc9692c(_0x1afec5){for(let _0x369373=0x0;_0x369373<_0x1afec5[_0x263899([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x369373++){const _0x12fbc8=_0x1afec5[_0x263899([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x369373);_0x8a1260=(_0x8a1260<<0x5)+_0x8a1260+_0x12fbc8,_0x8a1260&=_0x8a1260;}}function _0x24fe8f(_0x13aa30){Array[_0x263899([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13aa30)?_0x13aa30[_0x263899([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x24fe8f):_0x13aa30&&typeof _0x13aa30==_0x263899([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x263899([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13aa30)[_0x263899([0x73,0x6f,0x72,0x74])]()[_0x263899([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x323ef5,_0x42b0a1])=>{_0xc9692c(_0x323ef5),_0x24fe8f(_0x42b0a1);}):_0xc9692c(window[_0x263899([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13aa30));}return _0x24fe8f(_0x3bbca4),_0x8a1260>>>0x0;}function _0x39aac9(_0x34b988){return _0x34b988[_0x263899([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x263899([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x263899([0x30]));}function _0x3e0b54(_0x2f4916){return _0x2f4916[_0x263899([0x73,0x70,0x6c,0x69,0x74])]('')[_0x263899([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x263899([0x6a,0x6f,0x69,0x6e])]('');}function _0x1f6358(){}function _0x263899(_0x49457c){const _0x11cc86=_0xc805;return _0x49457c[_0x11cc86(0x1d1)](_0x33dfa3=>String[_0x11cc86(0x1ba)](_0x33dfa3))[_0x11cc86(0x1c0)]('');}_0x15e10b(await _0x22b6a2());}(this);}[_0xa0f4d0(0x1fc)](){const _0x436a60=_0xa0f4d0,_0x5cb2a4=this[_0x436a60(0x1c6)][_0x436a60(0x1ec)][_0x436a60(0x1d5)];_0x5cb2a4[_0x436a60(0x1d6)](_0x436a60(0x1eb))&&_0x5cb2a4[_0x436a60(0x1c8)](_0x436a60(0x1eb),{'allowAttributes':[_0x436a60(0x1f6)]}),_0x5cb2a4[_0x436a60(0x1d6)](_0x436a60(0x1f0))&&_0x5cb2a4[_0x436a60(0x1c8)](_0x436a60(0x1f0),{'allowAttributes':[_0x436a60(0x1f6)]});}[_0xa0f4d0(0x1e2)](){const _0x343f5e=_0xa0f4d0,_0x24d91c=this[_0x343f5e(0x1c6)];_0x24d91c[_0x343f5e(0x209)][_0x343f5e(0x1bc)](_0x343f5e(0x1cc))[_0x343f5e(0x20b)]({'model':_0x343f5e(0x1f6),'view':_0x343f5e(0x1fe)}),_0x24d91c[_0x343f5e(0x209)][_0x343f5e(0x1bc)](_0x343f5e(0x1ed))[_0x343f5e(0x1d0)]({'model':{'key':_0x343f5e(0x1f6),'value':_0x3d917a=>_0x3d917a[_0x343f5e(0x1c3)](_0x343f5e(0x1fe))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x4c82ba=_0x24d91c[_0x343f5e(0x1c9)][_0x343f5e(0x1be)](_0x343f5e(0x1e4));_0x4c82ba&&this[_0x343f5e(0x1e7)](_0x4c82ba,_0x343f5e(0x1f9),(_0x227da4,[_0x48a4ef,_0x49dec7])=>{const _0x1177ab=_0x343f5e;_0x48a4ef[_0x1177ab(0x1c2)](_0x1177ab(0x1f6),_0x49dec7);});}[_0xa0f4d0(0x202)](){const _0x5f04fe=_0xa0f4d0,_0xb347ee=this[_0x5f04fe(0x1c6)][_0x5f04fe(0x1c7)][_0x5f04fe(0x1be)](_0x5f04fe(0x1e0))||{},_0x7dc27b=this[_0x5f04fe(0x1c6)][_0x5f04fe(0x1c7)][_0x5f04fe(0x1be)](_0x5f04fe(0x1b8))||'';this[_0x5f04fe(0x1cf)]=_0x25cdc9(_0x10f359[_0x5f04fe(0x1ea)],_0x5f04fe(0x1e8),{..._0xb347ee,'pubkey':_0x7dc27b,'ctx-name':_0x5f04fe(0x201)+this[_0x5f04fe(0x1f2)],'sourceList':'','imgOnly':_0x5f04fe(0x1f5),'removeCopyright':_0x5f04fe(0x1f5),'localeName':this[_0x5f04fe(0x1c6)][_0x5f04fe(0x1bb)][_0x5f04fe(0x1cd)],'externalSourcesEmbedCss':_0x5f04fe(0x1df)}),this[_0x5f04fe(0x1cf)][_0x5f04fe(0x1da)]=_0x110c86=>{const _0x335e06=_0x5f04fe;if(_0x335e06(0x207)==_0x110c86)return _0x335e06(0x1e1);},_0x10f359[_0x5f04fe(0x1ea)][_0x5f04fe(0x1d3)][_0x5f04fe(0x1fd)](this[_0x5f04fe(0x1cf)]);}[_0xa0f4d0(0x205)](){const _0x4b169c=_0xa0f4d0;this[_0x4b169c(0x20c)]=_0x25cdc9(_0x10f359[_0x4b169c(0x1ea)],_0x4b169c(0x1f8),{'ctx-name':_0x4b169c(0x201)+this[_0x4b169c(0x1f2)]}),_0x10f359[_0x4b169c(0x1ea)][_0x4b169c(0x1d3)][_0x4b169c(0x1fd)](this[_0x4b169c(0x20c)]);}[_0xa0f4d0(0x1ff)](){const _0x157742=_0xa0f4d0,_0x2b300d=this[_0x157742(0x1c6)][_0x157742(0x1c9)][_0x157742(0x1be)](_0x157742(0x1c5));_0x2b300d&&this[_0x157742(0x1e7)](_0x2b300d,_0x157742(0x1e6),()=>{const _0x56d409=_0x157742,_0x208445=this[_0x56d409(0x1c6)][_0x56d409(0x1ec)][_0x56d409(0x1ea)][_0x56d409(0x1db)][_0x56d409(0x1bf)]();_0x208445&&_0x208445[_0x56d409(0x1c3)](_0x56d409(0x1f6))&&this[_0x56d409(0x1c6)][_0x56d409(0x1f4)][_0x56d409(0x20a)][_0x56d409(0x1d4)](_0x56d409(0x1d7),()=>{const _0x4766b6=_0x56d409;_0x11f39d(this[_0x4766b6(0x1c6)],_0x208445);});});const _0x4105bc=this[_0x157742(0x1c6)][_0x157742(0x1c9)][_0x157742(0x1be)](_0x157742(0x1dc));_0x4105bc&&this[_0x157742(0x1e7)](_0x4105bc,_0x157742(0x1e6),()=>{const _0x9fbb8d=_0x157742,_0x31b792=this[_0x9fbb8d(0x1c6)][_0x9fbb8d(0x1ec)][_0x9fbb8d(0x1ea)][_0x9fbb8d(0x1db)][_0x9fbb8d(0x1bf)]();_0x31b792&&_0x31b792[_0x9fbb8d(0x1c3)](_0x9fbb8d(0x1f6))&&this[_0x9fbb8d(0x1c6)][_0x9fbb8d(0x1f4)][_0x9fbb8d(0x20a)][_0x9fbb8d(0x1d4)](_0x9fbb8d(0x1d7),()=>{const _0x27acc0=_0x9fbb8d;_0x11f39d(this[_0x27acc0(0x1c6)],_0x31b792);});});}}
@@ -2,16 +2,12 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import { type Dialog } from '@ckeditor/ckeditor5-ui';
10
- import type { Editor } from '@ckeditor/ckeditor5-core';
11
- import type { ModelElement } from '@ckeditor/ckeditor5-engine';
5
+ import { type Dialog } from 'ckeditor5/src/ui.js';
6
+ import type { Editor } from 'ckeditor5/src/core.js';
7
+ import type { ModelElement } from 'ckeditor5/src/engine.js';
12
8
  declare const UploadcareImageEditController_base: {
13
- new (): import("@ckeditor/ckeditor5-utils").Observable;
14
- prototype: import("@ckeditor/ckeditor5-utils").Observable;
9
+ new (): import("ckeditor5/src/utils.js").Observable;
10
+ prototype: import("ckeditor5/src/utils.js").Observable;
15
11
  };
16
12
  /**
17
13
  * Controller for the Image Edit Dialog.
@@ -0,0 +1,24 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{global as _0x52bae7,ObservableMixin as _0x5c6902}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1ff6d3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xd3a443}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x3d5955}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x8a9701}from'../../utils/uploadutils.js';import{getImageUrls as _0x2509b6,getImageDimension as _0x27b7b3}from'../../utils/editingutils.js';import{isAncestor as _0x56f6ad}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x5c6902(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x219bb4,_0x8ef0a5,_0x24c86c){super(),this['_editor']=_0x219bb4,this['_dialog']=_0x8ef0a5,this['_imageElement']=_0x24c86c,this['_imageCache']=this['_editor']['plugins']['get']('UploadcareImageEditUI')['imageCache'],this['_attributes']=this['_editor']['config']['get']('uploadcare.editor')||{},this['set']({'isActive':!0x0,'imageStatus':'ready','imageErrorType':null,'imageId':null,'imageSrc':null,'imageDimension':null,'imageUploadProgress':null}),this['_prepareImage'](),this['_showDialog']();}['destroy'](){this['isActive']=!0x1,this['stopListening'](),this['stopDelegating'](),'uploading'===this['imageStatus']&&this['_controller']&&this['_controller']['abort']();}async['_prepareImage'](){const _0x17f427=this['_imageElement'],_0x2c11b6=_0x17f427['getAttribute']('uploadcareImageId'),_0x21b27d=_0x17f427['getAttribute']('src');if(_0x2c11b6)await this['_loadImageInfo'](_0x2c11b6,_0x21b27d);else{if(this['_imageCache']['has'](_0x21b27d)){const _0xbd7ef4=this['_imageCache']['get'](_0x21b27d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xbd7ef4['url'],this['imageDimension']=_0xbd7ef4['dimension'],this['imageId']=_0xbd7ef4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1b2f2c}=this['_editor'],t=_0x1b2f2c['t'],_0x310eba=new _0x3d5955(_0x1b2f2c,this['imageStatus'],this['_attributes']);_0x310eba['bind']('status')['to'](this,'imageStatus'),_0x310eba['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x310eba['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x310eba['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x310eba,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xd3a443,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x310eba,'position':_0x1ff6d3['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x310eba['focus']();},'onHide':()=>{_0x310eba['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x51a2db=>!_0x56f6ad(_0x51a2db,_0x310eba['element'])}});}['_loadImageInfo'](_0x4bce02,_0x1d9c88){return _0x8a9701['getInfo'](_0x4bce02,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x215b49=>{const {width:_0x545a79,height:_0x432fa0}=_0x215b49['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1d9c88,this['imageDimension']={'width':_0x545a79,'height':_0x432fa0},this['imageId']=_0x4bce02;})['catch'](_0x42826e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x42826e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x3989bf,_0x3b04a9){return this['_getImageAsFile'](_0x3989bf)['then'](_0x285377=>_0x8a9701['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x3b04a9['signal'],'file':_0x285377,'onProgress':_0x3aa55e=>{_0x3aa55e&&_0x3aa55e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3aa55e['value']));}}))['then'](_0x3d08fe=>{const {width:_0x1f40bb,height:_0x266b96}=_0x3d08fe['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3d08fe['cdnUrl'],this['imageDimension']={'width':_0x1f40bb,'height':_0x266b96},this['imageId']=_0x3d08fe['uuid'],this['imageUploadProgress']=null;const _0x47b2a8=_0x3989bf['getAttribute']('src');this['_imageCache']['set'](_0x47b2a8,{'id':_0x3d08fe['uuid'],'url':_0x3d08fe['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x54915a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x54915a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3b5151,_0x52abbd){_0x3b5151['on']('apply',(_0x33d7b6,_0x129621)=>{this['_replaceImage'](_0x52abbd,_0x129621['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3b5151['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3b5151['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x179109,_0x4f5da0,_0x5a3961){const _0x57917c=this['_editor'],{width:_0x11ad22,height:_0x55dabc}=_0x27b7b3(_0x4f5da0,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x57aede,imageSources:_0x1d1564}=_0x2509b6(_0x4f5da0,_0x11ad22);_0x57917c['model']['change'](_0x2a8a74=>{if('$graveyard'===_0x179109['root']['rootName']){_0x57917c['execute']('insertImage',{'imageType':_0x179109['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x179109['getAttributes']()),'uploadcareImageId':_0x5a3961,'src':_0x57aede,'sources':_0x1d1564,'width':_0x11ad22,'height':_0x55dabc}});const _0x1b3907=_0x179109['getChildren']();_0x179109=_0x57917c['model']['document']['selection']['getSelectedElement']();for(const _0x4dc8cb of _0x1b3907)_0x2a8a74['append'](_0x2a8a74['cloneElement'](_0x4dc8cb),_0x179109);}else _0x2a8a74['setSelection'](_0x179109,'on'),_0x57917c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x179109['getAttributes']()),'uploadcareImageId':_0x5a3961,'src':_0x57aede,'sources':_0x1d1564,'width':_0x11ad22,'height':_0x55dabc},_0x179109);_0x2a8a74['setSelection'](_0x179109,'on');});}async['_getImageAsFile'](_0x46aa43){const _0x31d879=_0x52bae7['window'],_0x504eb6=_0x52bae7['document']['location']['href'],_0x515fe6=new _0x31d879['URL'](_0x46aa43['getAttribute']('src'),_0x504eb6);if('data:'===_0x515fe6['protocol']){const _0x3089aa=_0x515fe6['href']['split'](','),_0x2b347f=_0x3089aa[0x0]['match'](/:(.*?);/)[0x1],_0x37674c=_0x2b347f['split']('/')[0x1],_0xac5dcb=_0x31d879['atob'](_0x3089aa[_0x3089aa['length']-0x1]);let _0x1f5a8b=_0xac5dcb['length'];const _0x246bf1=new _0x31d879['Uint8Array'](_0x1f5a8b);for(;_0x1f5a8b--;)_0x246bf1[_0x1f5a8b]=_0xac5dcb['charCodeAt'](_0x1f5a8b);return new _0x31d879['File']([_0x246bf1],'image.'+_0x37674c,{'type':_0x2b347f});}const _0x561628=_0x515fe6['href']['split']('/'),_0x7c4f48=_0x561628[_0x561628['length']-0x1],_0x4137df=_0x7c4f48['split']('.')[0x1];return _0x31d879['fetch'](_0x515fe6['href'])['then'](_0x28e698=>_0x28e698['clone']()['blob']())['then'](_0xfadd1d=>new _0x31d879['File']([_0xfadd1d],_0x7c4f48,{'type':'image/'+_0x4137df}));}}
@@ -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/uploadcareimageedit/ui/uploadcareimageeditformeditingview
11
7
  */
12
- import { type Locale } from '@ckeditor/ckeditor5-utils';
13
- import { View } from '@ckeditor/ckeditor5-ui';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { View } from 'ckeditor5/src/ui.js';
14
10
  import type { UploadcareEditorConfig } from '../../uploadcareconfig.js';
15
11
  /**
16
12
  * A class representing the form editing view of the Uploadcare image edit feature.
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ function _0x4fa7(){const _0x25682b=['set','setTemplate','249161gEZFsV','30NaIqhh','12pqRNUx','68LbclXn','imageSrc','bindTemplate','46632jTfqoC','128646ebSdES','152PoihQC','uc-cloud-image-editor','40626911pQTohw','2334114XakQes','image-edit','608713kuBPLQ','102VhzOPq','uc-light','24PIiolK','ck-uploadcare-theme','1118955EUMycB'];_0x4fa7=function(){return _0x25682b;};return _0x4fa7();}(function(_0x5078e9,_0x56ef7b){const _0x3bc659=_0xa610,_0x3dd3f8=_0x5078e9();while(!![]){try{const _0x42f88e=-parseInt(_0x3bc659(0xd9))/0x1*(parseInt(_0x3bc659(0xd6))/0x2)+-parseInt(_0x3bc659(0xde))/0x3+parseInt(_0x3bc659(0xce))/0x4*(parseInt(_0x3bc659(0xd0))/0x5)+parseInt(_0x3bc659(0xcc))/0x6*(-parseInt(_0x3bc659(0xcb))/0x7)+-parseInt(_0x3bc659(0xdb))/0x8*(-parseInt(_0x3bc659(0xda))/0x9)+parseInt(_0x3bc659(0xd4))/0xa*(parseInt(_0x3bc659(0xd3))/0xb)+-parseInt(_0x3bc659(0xd5))/0xc*(-parseInt(_0x3bc659(0xdd))/0xd);if(_0x42f88e===_0x56ef7b)break;else _0x3dd3f8['push'](_0x3dd3f8['shift']());}catch(_0x17d771){_0x3dd3f8['push'](_0x3dd3f8['shift']());}}}(_0x4fa7,0xebbe3));import{View as _0x17d2c8}from'ckeditor5/src/ui.js';function _0xa610(_0x2faeb2,_0x55a75e){const _0x4fa786=_0x4fa7();return _0xa610=function(_0xa610df,_0x3693aa){_0xa610df=_0xa610df-0xca;let _0x127e79=_0x4fa786[_0xa610df];return _0x127e79;},_0xa610(_0x2faeb2,_0x55a75e);}export class UploadcareImageEditFormEditingView extends _0x17d2c8{constructor(_0x21013f,_0xd254ef){const _0x5b30d7=_0xa610;super(_0x21013f);const _0x16996f=this[_0x5b30d7(0xd8)];this[_0x5b30d7(0xd1)](_0x5b30d7(0xd7),''),this[_0x5b30d7(0xd2)]({'tag':_0x5b30d7(0xdc),'attributes':{..._0xd254ef,'class':[_0x5b30d7(0xcd),_0x5b30d7(0xcf)],'ctx-name':_0x5b30d7(0xca),'cdn-url':_0x16996f['to'](_0x5b30d7(0xd7))}});}}
@@ -2,12 +2,8 @@
2
2
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- /**
6
- * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
7
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
8
- */
9
- import { View } from '@ckeditor/ckeditor5-ui';
10
- import type { Locale } from '@ckeditor/ckeditor5-utils';
5
+ import { View } from 'ckeditor5/src/ui.js';
6
+ import type { Locale } from 'ckeditor5/src/utils.js';
11
7
  import { type UploadcareImageEditController } from './uploadcareimageeditcontroller.js';
12
8
  /**
13
9
  * A class representing the form error view of the Uploadcare image edit feature.
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ import{IconError as _0x1909fc}from'ckeditor5/src/icons.js';import{ButtonView as _0x8e058a,IconView as _0x36fc5f,View as _0x1fee39}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1fee39{constructor(_0x214f18){super(_0x214f18);const t=_0x214f18['t'];this['set']('errorType',null);const _0xd0590a=new _0x8e058a(_0x214f18);_0xd0590a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xd0590a['withText']=!0x0,_0xd0590a['class']='ck-button-action',_0xd0590a['on']('execute',()=>{this['fire']('retry');}),_0xd0590a['bind']('isVisible')['to'](this,'errorType',_0x21f6b1=>'NotFound'!==_0x21f6b1);const _0x580a18=new _0x36fc5f();_0x580a18['content']=_0x1909fc,_0x580a18['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4ea410=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__error'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__error-contents']},'children':[_0x580a18,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4ea410['to']('errorType',_0x1c91c9=>t('NotFound'!==_0x1c91c9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xd0590a]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -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/uploadcareimageedit/ui/uploadcareimageeditformloadingview
11
7
  */
12
- import { type Locale } from '@ckeditor/ckeditor5-utils';
13
- import { View } from '@ckeditor/ckeditor5-ui';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
+ import { View } from 'ckeditor5/src/ui.js';
14
10
  /**
15
11
  * A class representing the form loading view of the Uploadcare image edit feature.
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{SpinnerView as _0x2fa2fa,View as _0x32cc43}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x32cc43{constructor(_0x1c61db){super(_0x1c61db);const t=_0x1c61db['t'],_0x101183=this['bindTemplate'],_0x5c1fa2=new _0x2fa2fa();_0x5c1fa2['isVisible']=!0x0,this['setTemplate']({'tag':'div','attributes':{'class':['ck-uploadcare-form__loading'],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck-uploadcare-form__loading-spinner']},'children':[_0x5c1fa2,{'text':_0x101183['to']('imageUploadProgress',_0x339b07=>t('Loading\x20image...')+'\x20('+(_0x339b07||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -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/ui/uploadcareimageeditformview
11
7
  */
12
- import { type Locale } from '@ckeditor/ckeditor5-utils';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
13
9
  import { type UploadcareImageEditController } from './uploadcareimageeditcontroller.js';
14
10
  import { DialogFocusManagerView } from '../../utils/dialogfocusmanagerview.js';
15
11
  import type { UploadcareEditorConfig } from '../../uploadcareconfig.js';
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x24c843=_0x374c;(function(_0x5ae9e6,_0xc35900){const _0x465647=_0x374c,_0x365801=_0x5ae9e6();while(!![]){try{const _0x27c07d=parseInt(_0x465647(0x14d))/0x1*(parseInt(_0x465647(0x167))/0x2)+-parseInt(_0x465647(0x154))/0x3*(parseInt(_0x465647(0x15e))/0x4)+-parseInt(_0x465647(0x157))/0x5*(-parseInt(_0x465647(0x171))/0x6)+-parseInt(_0x465647(0x168))/0x7+-parseInt(_0x465647(0x142))/0x8+-parseInt(_0x465647(0x173))/0x9+-parseInt(_0x465647(0x14c))/0xa*(-parseInt(_0x465647(0x14a))/0xb);if(_0x27c07d===_0xc35900)break;else _0x365801['push'](_0x365801['shift']());}catch(_0x26bd6b){_0x365801['push'](_0x365801['shift']());}}}(_0x5c2d,0xf418d));import{View as _0x57333e}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x133747}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x48714c}from'./uploadcareimageeditformerrorview.js';function _0x5c2d(){const _0x37a7a8=['clear','_setView','2Cvhrtz','9910495yiysKR','length','status','ck-reset_all-excluded','_loadingView','set','element','focus','addedNodes','13422SsrPHk','apply','12206088DTfIEg','once','render','ready','retry','observe','toLowerCase','15492696ScxIbP','createCollection','getFocusableElement','_waitForImageEditorComponent','uploading','addMany','add','_addUploadcareImageEditorListeners','3454NyjflX','_focusableView','122510ufCtLr','1262231gItwtS','detail','querySelector','disconnect','_errorView','change:status','cdnUrl','132051uCEpnD','ck-uploadcare-form','cancel','1930SVKShE','error','_items','nodeName','_addErrorViewListeners','fire','_editingView','24amqkFz','addEventListener','filter','target','setTemplate','div','uc-cloud-image-editor'];_0x5c2d=function(){return _0x37a7a8;};return _0x5c2d();}function _0x374c(_0x5407cf,_0x2e7d00){const _0x5c2de7=_0x5c2d();return _0x374c=function(_0x374cd9,_0x3223b7){_0x374cd9=_0x374cd9-0x13c;let _0x342ada=_0x5c2de7[_0x374cd9];return _0x342ada;},_0x374c(_0x5407cf,_0x2e7d00);}import{UploadcareImageEditFormEditingView as _0x4ce3be}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x38222a}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x38222a{[_0x24c843(0x159)];[_0x24c843(0x16c)];[_0x24c843(0x151)];[_0x24c843(0x15d)];[_0x24c843(0x14b)];constructor(_0x3ae8be,_0x64bc11,_0x2ca530){const _0x5b5ce3=_0x24c843;super(_0x3ae8be),this[_0x5b5ce3(0x159)]=this[_0x5b5ce3(0x143)](),this[_0x5b5ce3(0x16c)]=new _0x133747(_0x3ae8be),this[_0x5b5ce3(0x151)]=new _0x48714c(_0x3ae8be),this[_0x5b5ce3(0x15d)]=new _0x4ce3be(_0x3ae8be,_0x2ca530),this[_0x5b5ce3(0x14b)]=new _0x57333e(_0x3ae8be),this[_0x5b5ce3(0x14b)][_0x5b5ce3(0x162)](this[_0x5b5ce3(0x144)]()),this[_0x5b5ce3(0x16d)](_0x5b5ce3(0x16a),_0x64bc11),this[_0x5b5ce3(0x162)]({'tag':_0x5b5ce3(0x163),'attributes':{'class':['ck',_0x5b5ce3(0x16b),_0x5b5ce3(0x155)],'tabindex':'-1'},'children':this[_0x5b5ce3(0x159)]}),this[_0x5b5ce3(0x166)](),this[_0x5b5ce3(0x13c)](_0x5b5ce3(0x13d),()=>{const _0x4179f2=_0x5b5ce3;this[_0x4179f2(0x145)](this[_0x4179f2(0x16e)],_0x31260e=>{const _0x51ac64=_0x4179f2;this[_0x51ac64(0x149)](_0x31260e);});}),this['on'](_0x5b5ce3(0x152),()=>{const _0x30814a=_0x5b5ce3;this[_0x30814a(0x166)]();}),this[_0x5b5ce3(0x15b)]();}[_0x24c843(0x16f)](){const _0x4e0c78=_0x24c843;this[_0x4e0c78(0x16e)][_0x4e0c78(0x16f)]();}[_0x24c843(0x166)](){const _0x3a7a89=_0x24c843;switch(this[_0x3a7a89(0x159)][_0x3a7a89(0x165)](),this[_0x3a7a89(0x16a)]){case _0x3a7a89(0x146):this[_0x3a7a89(0x159)][_0x3a7a89(0x148)](this[_0x3a7a89(0x16c)]);break;case _0x3a7a89(0x158):this[_0x3a7a89(0x159)][_0x3a7a89(0x148)](this[_0x3a7a89(0x151)]);break;case _0x3a7a89(0x13e):this[_0x3a7a89(0x159)][_0x3a7a89(0x147)]([this[_0x3a7a89(0x15d)],this[_0x3a7a89(0x14b)]]);}}[_0x24c843(0x145)](_0x5f12fe,_0x361557){const _0x5cfb0e=_0x24c843,_0x1dde56=_0x5cfb0e(0x164),_0x246a81=_0x5f12fe[_0x5cfb0e(0x14f)](_0x1dde56);if(_0x246a81)return _0x361557(_0x246a81);const _0x2f0486=new MutationObserver(_0x5514d8=>{const _0x4aa18f=_0x5cfb0e,_0x4f1738=_0x5514d8[_0x4aa18f(0x160)](_0x132331=>_0x132331[_0x4aa18f(0x161)]===_0x5f12fe&&_0x132331[_0x4aa18f(0x170)][_0x4aa18f(0x169)]>0x0&&_0x132331[_0x4aa18f(0x170)][0x0][_0x4aa18f(0x15a)][_0x4aa18f(0x141)]()===_0x1dde56);_0x4f1738[_0x4aa18f(0x169)]&&(_0x2f0486[_0x4aa18f(0x150)](),_0x361557(_0x4f1738[0x0][_0x4aa18f(0x170)][0x0]));});_0x2f0486[_0x5cfb0e(0x140)](_0x5f12fe,{'childList':!0x0,'subtree':!0x0});}[_0x24c843(0x149)](_0x373c73){const _0x44617d=_0x24c843;_0x373c73[_0x44617d(0x15f)](_0x44617d(0x172),_0x62df85=>{const _0x3e565f=_0x44617d;this[_0x3e565f(0x15c)](_0x3e565f(0x172),{'imageSrc':_0x62df85[_0x3e565f(0x14e)][_0x3e565f(0x153)]});}),_0x373c73[_0x44617d(0x15f)](_0x44617d(0x156),()=>{const _0x292074=_0x44617d;this[_0x292074(0x15c)](_0x292074(0x156));});}[_0x24c843(0x15b)](){const _0x424078=_0x24c843;this[_0x424078(0x151)]['on'](_0x424078(0x13f),()=>{const _0xf0054c=_0x424078;this[_0xf0054c(0x15c)](_0xf0054c(0x13f));});}}
@@ -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/uploadcareimageedit/uploadcareimageeditcommand
11
7
  * @publicApi
12
8
  */
13
- import { Command, type Editor } from '@ckeditor/ckeditor5-core';
14
- import { Dialog } from '@ckeditor/ckeditor5-ui';
9
+ import { Command, type Editor } from 'ckeditor5/src/core.js';
10
+ import { Dialog } from 'ckeditor5/src/ui.js';
15
11
  import { UploadcareImageEditController } from './ui/uploadcareimageeditcontroller.js';
16
12
  /**
17
13
  * The Uploadcare edit image command.
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x56592e=_0x30e6;(function(_0x2ef2d2,_0x1e848c){const _0x34d360=_0x30e6,_0x4348a2=_0x2ef2d2();while(!![]){try{const _0x5b2a45=parseInt(_0x34d360(0x14a))/0x1*(parseInt(_0x34d360(0x15c))/0x2)+-parseInt(_0x34d360(0x152))/0x3+-parseInt(_0x34d360(0x143))/0x4*(-parseInt(_0x34d360(0x140))/0x5)+parseInt(_0x34d360(0x157))/0x6*(parseInt(_0x34d360(0x156))/0x7)+-parseInt(_0x34d360(0x159))/0x8*(parseInt(_0x34d360(0x160))/0x9)+-parseInt(_0x34d360(0x149))/0xa+parseInt(_0x34d360(0x15d))/0xb;if(_0x5b2a45===_0x1e848c)break;else _0x4348a2['push'](_0x4348a2['shift']());}catch(_0x19f22f){_0x4348a2['push'](_0x4348a2['shift']());}}}(_0x4597,0xbca7e));import{Command as _0x25aedd}from'ckeditor5/src/core.js';function _0x4597(){const _0x5ac737=['set','bind','5841lGVdyW','176015YjGCEy','document','imageEditController','156rcLQoR','get','getSelectedElement','unbind','isEnabled','refresh','11042630JwhSRr','458mVvlUk','uploadcare.allowExternalImagesEditing','_isEditable','requires','isActive','element','plugins','config','560178mKQSyG','imageBlock','selection','model','28RsUspk','106512AVwKgp','imageInline','6304epoNlX','editor','execute','1982KiWtpK','7450652tMSwJS'];_0x4597=function(){return _0x5ac737;};return _0x4597();}import{Dialog as _0x5043b7}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3d58cd}from'./ui/uploadcareimageeditcontroller.js';function _0x30e6(_0x30b757,_0x4d2a37){const _0x4597fd=_0x4597();return _0x30e6=function(_0x30e696,_0x55d8ac){_0x30e696=_0x30e696-0x140;let _0x4075bc=_0x4597fd[_0x30e696];return _0x4075bc;},_0x30e6(_0x30b757,_0x4d2a37);}import{createEditabilityChecker as _0x14d9b0}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x25aedd{[_0x56592e(0x142)];static get[_0x56592e(0x14d)](){return[_0x5043b7];}[_0x56592e(0x14c)];constructor(_0x32d6b9){const _0x866c77=_0x56592e;super(_0x32d6b9),this[_0x866c77(0x142)]=void 0x0,this[_0x866c77(0x14c)]=_0x14d9b0(_0x32d6b9[_0x866c77(0x151)][_0x866c77(0x144)](_0x866c77(0x14b))||[]),this[_0x866c77(0x15e)]({'isActive':!0x1});}[_0x56592e(0x148)](){const _0xbc8b28=_0x56592e,_0x12078d=this[_0xbc8b28(0x15a)][_0xbc8b28(0x155)][_0xbc8b28(0x141)][_0xbc8b28(0x154)][_0xbc8b28(0x145)]();this[_0xbc8b28(0x147)]=this[_0xbc8b28(0x14c)](_0x12078d);}[_0x56592e(0x15b)](){const _0x110c9b=_0x56592e;this[_0x110c9b(0x142)]&&(this[_0x110c9b(0x146)](_0x110c9b(0x14e)),this[_0x110c9b(0x142)]=void 0x0);const _0x28ad1c=this[_0x110c9b(0x15a)][_0x110c9b(0x155)][_0x110c9b(0x141)][_0x110c9b(0x154)][_0x110c9b(0x145)]();_0x28ad1c&&(_0x28ad1c['is'](_0x110c9b(0x14f),_0x110c9b(0x153))||_0x28ad1c['is'](_0x110c9b(0x14f),_0x110c9b(0x158)))&&(this[_0x110c9b(0x142)]=new _0x3d58cd(this[_0x110c9b(0x15a)],this[_0x110c9b(0x15a)][_0x110c9b(0x150)][_0x110c9b(0x144)](_0x5043b7),_0x28ad1c),this[_0x110c9b(0x15f)](_0x110c9b(0x14e))['to'](this[_0x110c9b(0x142)],_0x110c9b(0x14e)));}}
@@ -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/uploadcareimageedit/uploadcareimageeditediting
11
7
  * @publicApi
12
8
  */
13
- import { Plugin } from '@ckeditor/ckeditor5-core';
14
- import { Notification } from '@ckeditor/ckeditor5-ui';
9
+ import { Plugin } from 'ckeditor5/src/core.js';
10
+ import { Notification } from 'ckeditor5/src/ui.js';
15
11
  import { UploadcareEditing } from '../uploadcareediting.js';
16
12
  /**
17
13
  * The Uploadcare image editing plugin.