@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20250216.0 → 44.2.0-alpha.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 (400) 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/bg.js +1 -0
  6. package/build/translations/bn.js +1 -0
  7. package/build/translations/bs.js +1 -0
  8. package/build/translations/ca.js +1 -0
  9. package/build/translations/cs.js +1 -0
  10. package/build/translations/da.js +1 -0
  11. package/build/translations/de-ch.js +1 -0
  12. package/build/translations/de.js +1 -0
  13. package/build/translations/el.js +1 -0
  14. package/build/translations/en-au.js +1 -0
  15. package/build/translations/en-gb.js +1 -0
  16. package/build/translations/eo.js +1 -0
  17. package/build/translations/es-co.js +1 -0
  18. package/build/translations/es.js +1 -0
  19. package/build/translations/et.js +1 -0
  20. package/build/translations/eu.js +1 -0
  21. package/build/translations/fa.js +1 -0
  22. package/build/translations/fi.js +1 -0
  23. package/build/translations/fr.js +1 -0
  24. package/build/translations/gl.js +1 -0
  25. package/build/translations/gu.js +1 -0
  26. package/build/translations/he.js +1 -0
  27. package/build/translations/hi.js +1 -0
  28. package/build/translations/hr.js +1 -0
  29. package/build/translations/hu.js +1 -0
  30. package/build/translations/hy.js +1 -0
  31. package/build/translations/id.js +1 -0
  32. package/build/translations/it.js +1 -0
  33. package/build/translations/ja.js +1 -0
  34. package/build/translations/jv.js +1 -0
  35. package/build/translations/kk.js +1 -0
  36. package/build/translations/km.js +1 -0
  37. package/build/translations/kn.js +1 -0
  38. package/build/translations/ko.js +1 -0
  39. package/build/translations/ku.js +1 -0
  40. package/build/translations/lt.js +1 -0
  41. package/build/translations/lv.js +1 -0
  42. package/build/translations/ms.js +1 -0
  43. package/build/translations/nb.js +1 -0
  44. package/build/translations/ne.js +1 -0
  45. package/build/translations/nl.js +1 -0
  46. package/build/translations/no.js +1 -0
  47. package/build/translations/oc.js +1 -0
  48. package/build/translations/pl.js +1 -0
  49. package/build/translations/pt-br.js +1 -0
  50. package/build/translations/pt.js +1 -0
  51. package/build/translations/ro.js +1 -0
  52. package/build/translations/ru.js +1 -0
  53. package/build/translations/si.js +1 -0
  54. package/build/translations/sk.js +1 -0
  55. package/build/translations/sl.js +1 -0
  56. package/build/translations/sq.js +1 -0
  57. package/build/translations/sr-latn.js +1 -0
  58. package/build/translations/sr.js +1 -0
  59. package/build/translations/sv.js +1 -0
  60. package/build/translations/th.js +1 -0
  61. package/build/translations/ti.js +1 -0
  62. package/build/translations/tk.js +1 -0
  63. package/build/translations/tr.js +1 -0
  64. package/build/translations/tt.js +1 -0
  65. package/build/translations/ug.js +1 -0
  66. package/build/translations/uk.js +1 -0
  67. package/build/translations/ur.js +1 -0
  68. package/build/translations/uz.js +1 -0
  69. package/build/translations/vi.js +1 -0
  70. package/build/translations/zh-cn.js +1 -0
  71. package/build/translations/zh.js +1 -0
  72. package/build/uploadcare.js +2 -1
  73. package/ckeditor5-metadata.json +1 -1
  74. package/dist/index.js +3 -3
  75. package/dist/translations/af.d.ts +8 -0
  76. package/dist/translations/af.js +23 -0
  77. package/dist/translations/af.umd.js +23 -0
  78. package/dist/translations/ar.d.ts +8 -0
  79. package/dist/translations/ar.js +23 -0
  80. package/dist/translations/ar.umd.js +23 -0
  81. package/dist/translations/ast.d.ts +8 -0
  82. package/dist/translations/ast.js +23 -0
  83. package/dist/translations/ast.umd.js +23 -0
  84. package/dist/translations/az.d.ts +8 -0
  85. package/dist/translations/az.js +23 -0
  86. package/dist/translations/az.umd.js +23 -0
  87. package/dist/translations/bg.d.ts +8 -0
  88. package/dist/translations/bg.js +23 -0
  89. package/dist/translations/bg.umd.js +23 -0
  90. package/dist/translations/bn.d.ts +8 -0
  91. package/dist/translations/bn.js +23 -0
  92. package/dist/translations/bn.umd.js +23 -0
  93. package/dist/translations/bs.d.ts +8 -0
  94. package/dist/translations/bs.js +23 -0
  95. package/dist/translations/bs.umd.js +23 -0
  96. package/dist/translations/ca.d.ts +8 -0
  97. package/dist/translations/ca.js +23 -0
  98. package/dist/translations/ca.umd.js +23 -0
  99. package/dist/translations/cs.d.ts +8 -0
  100. package/dist/translations/cs.js +23 -0
  101. package/dist/translations/cs.umd.js +23 -0
  102. package/dist/translations/da.d.ts +8 -0
  103. package/dist/translations/da.js +23 -0
  104. package/dist/translations/da.umd.js +23 -0
  105. package/dist/translations/de-ch.d.ts +8 -0
  106. package/dist/translations/de-ch.js +23 -0
  107. package/dist/translations/de-ch.umd.js +23 -0
  108. package/dist/translations/de.d.ts +8 -0
  109. package/dist/translations/de.js +23 -0
  110. package/dist/translations/de.umd.js +23 -0
  111. package/dist/translations/el.d.ts +8 -0
  112. package/dist/translations/el.js +23 -0
  113. package/dist/translations/el.umd.js +23 -0
  114. package/dist/translations/en-au.d.ts +8 -0
  115. package/dist/translations/en-au.js +23 -0
  116. package/dist/translations/en-au.umd.js +23 -0
  117. package/dist/translations/en-gb.d.ts +8 -0
  118. package/dist/translations/en-gb.js +23 -0
  119. package/dist/translations/en-gb.umd.js +23 -0
  120. package/dist/translations/en.d.ts +8 -0
  121. package/dist/translations/en.js +23 -0
  122. package/dist/translations/en.umd.js +23 -0
  123. package/dist/translations/eo.d.ts +8 -0
  124. package/dist/translations/eo.js +23 -0
  125. package/dist/translations/eo.umd.js +23 -0
  126. package/dist/translations/es-co.d.ts +8 -0
  127. package/dist/translations/es-co.js +23 -0
  128. package/dist/translations/es-co.umd.js +23 -0
  129. package/dist/translations/es.d.ts +8 -0
  130. package/dist/translations/es.js +23 -0
  131. package/dist/translations/es.umd.js +23 -0
  132. package/dist/translations/et.d.ts +8 -0
  133. package/dist/translations/et.js +23 -0
  134. package/dist/translations/et.umd.js +23 -0
  135. package/dist/translations/eu.d.ts +8 -0
  136. package/dist/translations/eu.js +23 -0
  137. package/dist/translations/eu.umd.js +23 -0
  138. package/dist/translations/fa.d.ts +8 -0
  139. package/dist/translations/fa.js +23 -0
  140. package/dist/translations/fa.umd.js +23 -0
  141. package/dist/translations/fi.d.ts +8 -0
  142. package/dist/translations/fi.js +23 -0
  143. package/dist/translations/fi.umd.js +23 -0
  144. package/dist/translations/fr.d.ts +8 -0
  145. package/dist/translations/fr.js +23 -0
  146. package/dist/translations/fr.umd.js +23 -0
  147. package/dist/translations/gl.d.ts +8 -0
  148. package/dist/translations/gl.js +23 -0
  149. package/dist/translations/gl.umd.js +23 -0
  150. package/dist/translations/gu.d.ts +8 -0
  151. package/dist/translations/gu.js +23 -0
  152. package/dist/translations/gu.umd.js +23 -0
  153. package/dist/translations/he.d.ts +8 -0
  154. package/dist/translations/he.js +23 -0
  155. package/dist/translations/he.umd.js +23 -0
  156. package/dist/translations/hi.d.ts +8 -0
  157. package/dist/translations/hi.js +23 -0
  158. package/dist/translations/hi.umd.js +23 -0
  159. package/dist/translations/hr.d.ts +8 -0
  160. package/dist/translations/hr.js +23 -0
  161. package/dist/translations/hr.umd.js +23 -0
  162. package/dist/translations/hu.d.ts +8 -0
  163. package/dist/translations/hu.js +23 -0
  164. package/dist/translations/hu.umd.js +23 -0
  165. package/dist/translations/hy.d.ts +8 -0
  166. package/dist/translations/hy.js +23 -0
  167. package/dist/translations/hy.umd.js +23 -0
  168. package/dist/translations/id.d.ts +8 -0
  169. package/dist/translations/id.js +23 -0
  170. package/dist/translations/id.umd.js +23 -0
  171. package/dist/translations/it.d.ts +8 -0
  172. package/dist/translations/it.js +23 -0
  173. package/dist/translations/it.umd.js +23 -0
  174. package/dist/translations/ja.d.ts +8 -0
  175. package/dist/translations/ja.js +23 -0
  176. package/dist/translations/ja.umd.js +23 -0
  177. package/dist/translations/jv.d.ts +8 -0
  178. package/dist/translations/jv.js +23 -0
  179. package/dist/translations/jv.umd.js +23 -0
  180. package/dist/translations/kk.d.ts +8 -0
  181. package/dist/translations/kk.js +23 -0
  182. package/dist/translations/kk.umd.js +23 -0
  183. package/dist/translations/km.d.ts +8 -0
  184. package/dist/translations/km.js +23 -0
  185. package/dist/translations/km.umd.js +23 -0
  186. package/dist/translations/kn.d.ts +8 -0
  187. package/dist/translations/kn.js +23 -0
  188. package/dist/translations/kn.umd.js +23 -0
  189. package/dist/translations/ko.d.ts +8 -0
  190. package/dist/translations/ko.js +23 -0
  191. package/dist/translations/ko.umd.js +23 -0
  192. package/dist/translations/ku.d.ts +8 -0
  193. package/dist/translations/ku.js +23 -0
  194. package/dist/translations/ku.umd.js +23 -0
  195. package/dist/translations/lt.d.ts +8 -0
  196. package/dist/translations/lt.js +23 -0
  197. package/dist/translations/lt.umd.js +23 -0
  198. package/dist/translations/lv.d.ts +8 -0
  199. package/dist/translations/lv.js +23 -0
  200. package/dist/translations/lv.umd.js +23 -0
  201. package/dist/translations/ms.d.ts +8 -0
  202. package/dist/translations/ms.js +23 -0
  203. package/dist/translations/ms.umd.js +23 -0
  204. package/dist/translations/nb.d.ts +8 -0
  205. package/dist/translations/nb.js +23 -0
  206. package/dist/translations/nb.umd.js +23 -0
  207. package/dist/translations/ne.d.ts +8 -0
  208. package/dist/translations/ne.js +23 -0
  209. package/dist/translations/ne.umd.js +23 -0
  210. package/dist/translations/nl.d.ts +8 -0
  211. package/dist/translations/nl.js +23 -0
  212. package/dist/translations/nl.umd.js +23 -0
  213. package/dist/translations/no.d.ts +8 -0
  214. package/dist/translations/no.js +23 -0
  215. package/dist/translations/no.umd.js +23 -0
  216. package/dist/translations/oc.d.ts +8 -0
  217. package/dist/translations/oc.js +23 -0
  218. package/dist/translations/oc.umd.js +23 -0
  219. package/dist/translations/pl.d.ts +8 -0
  220. package/dist/translations/pl.js +23 -0
  221. package/dist/translations/pl.umd.js +23 -0
  222. package/dist/translations/pt-br.d.ts +8 -0
  223. package/dist/translations/pt-br.js +23 -0
  224. package/dist/translations/pt-br.umd.js +23 -0
  225. package/dist/translations/pt.d.ts +8 -0
  226. package/dist/translations/pt.js +23 -0
  227. package/dist/translations/pt.umd.js +23 -0
  228. package/dist/translations/ro.d.ts +8 -0
  229. package/dist/translations/ro.js +23 -0
  230. package/dist/translations/ro.umd.js +23 -0
  231. package/dist/translations/ru.d.ts +8 -0
  232. package/dist/translations/ru.js +23 -0
  233. package/dist/translations/ru.umd.js +23 -0
  234. package/dist/translations/si.d.ts +8 -0
  235. package/dist/translations/si.js +23 -0
  236. package/dist/translations/si.umd.js +23 -0
  237. package/dist/translations/sk.d.ts +8 -0
  238. package/dist/translations/sk.js +23 -0
  239. package/dist/translations/sk.umd.js +23 -0
  240. package/dist/translations/sl.d.ts +8 -0
  241. package/dist/translations/sl.js +23 -0
  242. package/dist/translations/sl.umd.js +23 -0
  243. package/dist/translations/sq.d.ts +8 -0
  244. package/dist/translations/sq.js +23 -0
  245. package/dist/translations/sq.umd.js +23 -0
  246. package/dist/translations/sr-latn.d.ts +8 -0
  247. package/dist/translations/sr-latn.js +23 -0
  248. package/dist/translations/sr-latn.umd.js +23 -0
  249. package/dist/translations/sr.d.ts +8 -0
  250. package/dist/translations/sr.js +23 -0
  251. package/dist/translations/sr.umd.js +23 -0
  252. package/dist/translations/sv.d.ts +8 -0
  253. package/dist/translations/sv.js +23 -0
  254. package/dist/translations/sv.umd.js +23 -0
  255. package/dist/translations/th.d.ts +8 -0
  256. package/dist/translations/th.js +23 -0
  257. package/dist/translations/th.umd.js +23 -0
  258. package/dist/translations/ti.d.ts +8 -0
  259. package/dist/translations/ti.js +23 -0
  260. package/dist/translations/ti.umd.js +23 -0
  261. package/dist/translations/tk.d.ts +8 -0
  262. package/dist/translations/tk.js +23 -0
  263. package/dist/translations/tk.umd.js +23 -0
  264. package/dist/translations/tr.d.ts +8 -0
  265. package/dist/translations/tr.js +23 -0
  266. package/dist/translations/tr.umd.js +23 -0
  267. package/dist/translations/tt.d.ts +8 -0
  268. package/dist/translations/tt.js +23 -0
  269. package/dist/translations/tt.umd.js +23 -0
  270. package/dist/translations/ug.d.ts +8 -0
  271. package/dist/translations/ug.js +23 -0
  272. package/dist/translations/ug.umd.js +23 -0
  273. package/dist/translations/uk.d.ts +8 -0
  274. package/dist/translations/uk.js +23 -0
  275. package/dist/translations/uk.umd.js +23 -0
  276. package/dist/translations/ur.d.ts +8 -0
  277. package/dist/translations/ur.js +23 -0
  278. package/dist/translations/ur.umd.js +23 -0
  279. package/dist/translations/uz.d.ts +8 -0
  280. package/dist/translations/uz.js +23 -0
  281. package/dist/translations/uz.umd.js +23 -0
  282. package/dist/translations/vi.d.ts +8 -0
  283. package/dist/translations/vi.js +23 -0
  284. package/dist/translations/vi.umd.js +23 -0
  285. package/dist/translations/zh-cn.d.ts +8 -0
  286. package/dist/translations/zh-cn.js +23 -0
  287. package/dist/translations/zh-cn.umd.js +23 -0
  288. package/dist/translations/zh.d.ts +8 -0
  289. package/dist/translations/zh.js +23 -0
  290. package/dist/translations/zh.umd.js +23 -0
  291. package/lang/translations/af.po +112 -0
  292. package/lang/translations/ar.po +112 -0
  293. package/lang/translations/ast.po +112 -0
  294. package/lang/translations/az.po +112 -0
  295. package/lang/translations/bg.po +112 -0
  296. package/lang/translations/bn.po +112 -0
  297. package/lang/translations/bs.po +112 -0
  298. package/lang/translations/ca.po +112 -0
  299. package/lang/translations/cs.po +112 -0
  300. package/lang/translations/da.po +112 -0
  301. package/lang/translations/de-ch.po +112 -0
  302. package/lang/translations/de.po +112 -0
  303. package/lang/translations/el.po +112 -0
  304. package/lang/translations/en-au.po +112 -0
  305. package/lang/translations/en-gb.po +112 -0
  306. package/lang/translations/en.po +112 -0
  307. package/lang/translations/eo.po +112 -0
  308. package/lang/translations/es-co.po +112 -0
  309. package/lang/translations/es.po +112 -0
  310. package/lang/translations/et.po +112 -0
  311. package/lang/translations/eu.po +112 -0
  312. package/lang/translations/fa.po +112 -0
  313. package/lang/translations/fi.po +112 -0
  314. package/lang/translations/fr.po +112 -0
  315. package/lang/translations/gl.po +112 -0
  316. package/lang/translations/gu.po +112 -0
  317. package/lang/translations/he.po +112 -0
  318. package/lang/translations/hi.po +112 -0
  319. package/lang/translations/hr.po +112 -0
  320. package/lang/translations/hu.po +112 -0
  321. package/lang/translations/hy.po +112 -0
  322. package/lang/translations/id.po +112 -0
  323. package/lang/translations/it.po +112 -0
  324. package/lang/translations/ja.po +112 -0
  325. package/lang/translations/jv.po +112 -0
  326. package/lang/translations/kk.po +112 -0
  327. package/lang/translations/km.po +112 -0
  328. package/lang/translations/kn.po +112 -0
  329. package/lang/translations/ko.po +112 -0
  330. package/lang/translations/ku.po +112 -0
  331. package/lang/translations/lt.po +112 -0
  332. package/lang/translations/lv.po +112 -0
  333. package/lang/translations/ms.po +112 -0
  334. package/lang/translations/nb.po +112 -0
  335. package/lang/translations/ne.po +112 -0
  336. package/lang/translations/nl.po +112 -0
  337. package/lang/translations/no.po +112 -0
  338. package/lang/translations/oc.po +112 -0
  339. package/lang/translations/pl.po +112 -0
  340. package/lang/translations/pt-br.po +112 -0
  341. package/lang/translations/pt.po +112 -0
  342. package/lang/translations/ro.po +112 -0
  343. package/lang/translations/ru.po +112 -0
  344. package/lang/translations/si.po +112 -0
  345. package/lang/translations/sk.po +112 -0
  346. package/lang/translations/sl.po +112 -0
  347. package/lang/translations/sq.po +112 -0
  348. package/lang/translations/sr-latn.po +112 -0
  349. package/lang/translations/sr.po +112 -0
  350. package/lang/translations/sv.po +112 -0
  351. package/lang/translations/th.po +112 -0
  352. package/lang/translations/ti.po +112 -0
  353. package/lang/translations/tk.po +112 -0
  354. package/lang/translations/tr.po +112 -0
  355. package/lang/translations/tt.po +112 -0
  356. package/lang/translations/ug.po +112 -0
  357. package/lang/translations/uk.po +112 -0
  358. package/lang/translations/ur.po +112 -0
  359. package/lang/translations/uz.po +112 -0
  360. package/lang/translations/vi.po +112 -0
  361. package/lang/translations/zh-cn.po +112 -0
  362. package/lang/translations/zh.po +112 -0
  363. package/package.json +8 -9
  364. package/src/index.js +1 -1
  365. package/src/ui/uploadcarecontroller.d.ts +6 -2
  366. package/src/ui/uploadcarecontroller.js +2 -2
  367. package/src/ui/uploadcareformview.js +1 -1
  368. package/src/uploadcare.js +1 -1
  369. package/src/uploadcarecommand.js +1 -1
  370. package/src/uploadcareconfig.js +1 -1
  371. package/src/uploadcareediting.js +1 -1
  372. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  373. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  374. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +4 -1
  375. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  376. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  377. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  378. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  379. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  380. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  381. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  382. package/src/uploadcareimageedit.js +1 -1
  383. package/src/uploadcareui.js +1 -1
  384. package/src/uploadcareuploadadapter.js +1 -1
  385. package/src/utils/common-translations.js +1 -1
  386. package/src/utils/dialogfocusmanagerview.js +1 -1
  387. package/src/utils/editingutils.js +1 -1
  388. package/src/utils/isancestor.js +1 -1
  389. package/src/utils/uploadutils.js +1 -1
  390. package/theme/icons/dropbox.svg +11 -0
  391. package/theme/icons/error.svg +1 -0
  392. package/theme/icons/facebook.svg +11 -0
  393. package/theme/icons/google-drive.svg +11 -0
  394. package/theme/icons/google-photos.svg +11 -0
  395. package/theme/icons/image-upload.svg +11 -0
  396. package/theme/icons/instagram.svg +11 -0
  397. package/theme/icons/link.svg +11 -0
  398. package/theme/icons/local.svg +11 -0
  399. package/theme/icons/onedrive.svg +11 -0
  400. package/theme/icons/uploadcare-image-edit.svg +11 -0
@@ -0,0 +1,112 @@
1
+ # Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2
+ #
3
+ # Want to contribute to this file? Submit your changes via a GitHub Pull Request.
4
+ #
5
+ # Check out the official contributor's guide:
6
+ # https://ckeditor.com/docs/ckeditor5/latest/framework/guides/contributing/contributing.html
7
+ #
8
+ msgid ""
9
+ msgstr ""
10
+ "Language: zh_TW\n"
11
+ "Plural-Forms: nplurals=1; plural=0;\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+
14
+ msgctxt "The label for the insert image with Dropbox dropdown button."
15
+ msgid "Insert with Dropbox"
16
+ msgstr ""
17
+
18
+ msgctxt "The label for the replace image with Dropbox dropdown button."
19
+ msgid "Replace with Dropbox"
20
+ msgstr ""
21
+
22
+ msgctxt "The label for the insert image with Dropbox menu bar button (inside 'Image' menu)."
23
+ msgid "With Dropbox"
24
+ msgstr ""
25
+
26
+ msgctxt "The label for the insert image with Facebook dropdown button."
27
+ msgid "Insert with Facebook"
28
+ msgstr ""
29
+
30
+ msgctxt "The label for the replace image with Facebook dropdown button."
31
+ msgid "Replace with Facebook"
32
+ msgstr ""
33
+
34
+ msgctxt "The label for the insert image with Facebook menu bar button (inside 'Image' menu)."
35
+ msgid "With Facebook"
36
+ msgstr ""
37
+
38
+ msgctxt "The label for the insert image with Google Drive dropdown button."
39
+ msgid "Insert with Google Drive"
40
+ msgstr ""
41
+
42
+ msgctxt "The label for the replace image with Google Drive dropdown button."
43
+ msgid "Replace with Google Drive"
44
+ msgstr ""
45
+
46
+ msgctxt "The label for the insert image with Google Drive menu bar button (inside 'Image' menu)."
47
+ msgid "With Google Drive"
48
+ msgstr ""
49
+
50
+ msgctxt "The label for the insert image with Google Photos dropdown button."
51
+ msgid "Insert with Google Photos"
52
+ msgstr ""
53
+
54
+ msgctxt "The label for the replace image with Google Photos dropdown button."
55
+ msgid "Replace with Google Photos"
56
+ msgstr ""
57
+
58
+ msgctxt "The label for the insert image with Google Photos menu bar button (inside 'Image' menu)."
59
+ msgid "With Google Photos"
60
+ msgstr ""
61
+
62
+ msgctxt "The label for the insert image with Instagram dropdown button."
63
+ msgid "Insert with Instagram"
64
+ msgstr ""
65
+
66
+ msgctxt "The label for the replace image with Instagram dropdown button."
67
+ msgid "Replace with Instagram"
68
+ msgstr ""
69
+
70
+ msgctxt "The label for the insert image with Instagram menu bar button (inside 'Image' menu)."
71
+ msgid "With Instagram"
72
+ msgstr ""
73
+
74
+ msgctxt "The label for the insert image with OneDrive dropdown button."
75
+ msgid "Insert with OneDrive"
76
+ msgstr ""
77
+
78
+ msgctxt "The label for the replace image with OneDrive dropdown button."
79
+ msgid "Replace with OneDrive"
80
+ msgstr ""
81
+
82
+ msgctxt "The label for the insert image with OneDrive menu bar button (inside 'Image' menu)."
83
+ msgid "With OneDrive"
84
+ msgstr ""
85
+
86
+ msgctxt "The label for the replace image via URL dropdown button."
87
+ msgid "Replace via URL"
88
+ msgstr ""
89
+
90
+ msgctxt "The label for the image edit button and dialog."
91
+ msgid "Edit Image (Uploadcare)"
92
+ msgstr ""
93
+
94
+ msgctxt "The label shown in the image edit dialog when the image is being uploaded."
95
+ msgid "Loading image..."
96
+ msgstr ""
97
+
98
+ msgctxt "The main text shown in the image edit dialog when the image upload failed."
99
+ msgid "Unable to load"
100
+ msgstr ""
101
+
102
+ msgctxt "The detailed information shown in the image edit dialog when the image upload failed."
103
+ msgid "We were unable to load the image due to network connection issues."
104
+ msgstr ""
105
+
106
+ msgctxt "The label of a button shown in the image edit dialog when the image upload fails."
107
+ msgid "Try again (Uploadcare)"
108
+ msgstr ""
109
+
110
+ msgctxt "The detailed information shown in the image edit dialog when the image upload fails due to 'NotFound' error."
111
+ msgid "The image was not found. Its source may have been removed."
112
+ msgstr ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-uploadcare",
3
- "version": "0.0.0-nightly-next-20250216.0",
3
+ "version": "44.2.0-alpha.0",
4
4
  "description": "Uploadcare feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -23,14 +23,13 @@
23
23
  "framework"
24
24
  ],
25
25
  "dependencies": {
26
- "@ckeditor/ckeditor5-core": "0.0.0-nightly-next-20250216.0",
27
- "@ckeditor/ckeditor5-icons": "0.0.0-nightly-next-20250216.0",
28
- "@ckeditor/ckeditor5-image": "0.0.0-nightly-next-20250216.0",
29
- "@ckeditor/ckeditor5-theme-lark": "0.0.0-nightly-next-20250216.0",
30
- "@ckeditor/ckeditor5-ui": "0.0.0-nightly-next-20250216.0",
31
- "@ckeditor/ckeditor5-upload": "0.0.0-nightly-next-20250216.0",
32
- "@ckeditor/ckeditor5-utils": "0.0.0-nightly-next-20250216.0",
33
- "ckeditor5": "0.0.0-nightly-next-20250216.0",
26
+ "@ckeditor/ckeditor5-core": "44.2.0-alpha.0",
27
+ "@ckeditor/ckeditor5-image": "44.2.0-alpha.0",
28
+ "@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.0",
29
+ "@ckeditor/ckeditor5-ui": "44.2.0-alpha.0",
30
+ "@ckeditor/ckeditor5-upload": "44.2.0-alpha.0",
31
+ "@ckeditor/ckeditor5-utils": "44.2.0-alpha.0",
32
+ "ckeditor5": "44.2.0-alpha.0",
34
33
  "@uploadcare/file-uploader": "1.12.0",
35
34
  "@uploadcare/upload-client": "6.14.1"
36
35
  },
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3c1916,_0x4cbcb6){var _0x3ac1ab=_0x37fc,_0xf3ea54=_0x3c1916();while(!![]){try{var _0x2b1ce4=-parseInt(_0x3ac1ab(0x154))/0x1+-parseInt(_0x3ac1ab(0x153))/0x2+parseInt(_0x3ac1ab(0x157))/0x3+-parseInt(_0x3ac1ab(0x156))/0x4+-parseInt(_0x3ac1ab(0x158))/0x5*(parseInt(_0x3ac1ab(0x155))/0x6)+parseInt(_0x3ac1ab(0x159))/0x7*(parseInt(_0x3ac1ab(0x152))/0x8)+parseInt(_0x3ac1ab(0x15a))/0x9;if(_0x2b1ce4===_0x4cbcb6)break;else _0xf3ea54['push'](_0xf3ea54['shift']());}catch(_0x3b18bc){_0xf3ea54['push'](_0xf3ea54['shift']());}}}(_0x1a9f,0x24717));export{default as Uploadcare}from'./uploadcare.js';function _0x37fc(_0x5d4484,_0x5cabb1){var _0x1a9f32=_0x1a9f();return _0x37fc=function(_0x37fca1,_0x697d34){_0x37fca1=_0x37fca1-0x152;var _0x2ccce1=_0x1a9f32[_0x37fca1];return _0x2ccce1;},_0x37fc(_0x5d4484,_0x5cabb1);}export{default as UploadcareEditing}from'./uploadcareediting.js';export{default as UploadcareUI}from'./uploadcareui.js';export{default as UploadcareImageEdit}from'./uploadcareimageedit.js';export{default as UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';export{default as UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';import'./augmentation.js';function _0x1a9f(){var _0x39102a=['5tOuPjk','44303uBRRgg','1129059pyytyW','304JrEaES','313186jNIUPL','136962gkmEIu','240582lDkWMk','219108ygCBrA','515241MBnxka'];_0x1a9f=function(){return _0x39102a;};return _0x1a9f();}
23
+ (function(_0x1aec71,_0x107044){var _0x521cc3=_0x1147,_0xdf06f8=_0x1aec71();while(!![]){try{var _0x229df1=parseInt(_0x521cc3(0xe8))/0x1+-parseInt(_0x521cc3(0xe7))/0x2*(parseInt(_0x521cc3(0xe5))/0x3)+-parseInt(_0x521cc3(0xe6))/0x4+parseInt(_0x521cc3(0xe3))/0x5+parseInt(_0x521cc3(0xe9))/0x6+parseInt(_0x521cc3(0xea))/0x7*(-parseInt(_0x521cc3(0xe4))/0x8)+parseInt(_0x521cc3(0xeb))/0x9*(parseInt(_0x521cc3(0xe2))/0xa);if(_0x229df1===_0x107044)break;else _0xdf06f8['push'](_0xdf06f8['shift']());}catch(_0x2065cb){_0xdf06f8['push'](_0xdf06f8['shift']());}}}(_0x5076,0x49bec));function _0x1147(_0x2c8f69,_0x4515da){var _0x50766b=_0x5076();return _0x1147=function(_0x11475f,_0x363a35){_0x11475f=_0x11475f-0xe2;var _0x21b656=_0x50766b[_0x11475f];return _0x21b656;},_0x1147(_0x2c8f69,_0x4515da);}export{default as Uploadcare}from'./uploadcare.js';export{default as UploadcareEditing}from'./uploadcareediting.js';export{default as UploadcareUI}from'./uploadcareui.js';export{default as UploadcareImageEdit}from'./uploadcareimageedit.js';export{default as UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';export{default as UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x5076(){var _0x357d3b=['38TbtWbh','143985fTANRh','3455148JZVTEk','574TkmQYm','118863vEecXt','40vNUCfl','1193860yMXioP','44152lfzjWI','35958yofuuS','116364qqvrVS'];_0x5076=function(){return _0x357d3b;};return _0x5076();}import'./augmentation.js';
@@ -2,12 +2,16 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import type { Editor } from 'ckeditor5/src/core.js';
5
+ import { type Editor } from 'ckeditor5/src/core.js';
6
6
  import { UploadcareSource } from '../uploadcareconfig.js';
7
7
  import type UploadcareEditing from '../uploadcareediting.js';
8
8
  declare const UploadcareController_base: {
9
9
  new (): import("ckeditor5/src/utils.js").Observable;
10
- prototype: import("ckeditor5/src/utils.js").Observable;
10
+ prototype: import("ckeditor5/src/utils.js").Observable; /**
11
+ * Creates the Uploadcare form view and opens a dialog wit it.
12
+ *
13
+ * @internal
14
+ */
11
15
  };
12
16
  /**
13
17
  * The Uploadcare controller. It is used by the {@link module:uploadcare/uploadcarecommand~UploadcareCommand Uploadcare command}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5de9b4=_0x4e4b;(function(_0x316c88,_0xf994c8){const _0x1beed5=_0x4e4b,_0x1d554d=_0x316c88();while(!![]){try{const _0x250757=-parseInt(_0x1beed5(0x146))/0x1+-parseInt(_0x1beed5(0x114))/0x2*(-parseInt(_0x1beed5(0x13e))/0x3)+parseInt(_0x1beed5(0x14b))/0x4+-parseInt(_0x1beed5(0x14a))/0x5+-parseInt(_0x1beed5(0x134))/0x6+-parseInt(_0x1beed5(0x144))/0x7+parseInt(_0x1beed5(0x14e))/0x8*(parseInt(_0x1beed5(0x12c))/0x9);if(_0x250757===_0xf994c8)break;else _0x1d554d['push'](_0x1d554d['shift']());}catch(_0x55151a){_0x1d554d['push'](_0x1d554d['shift']());}}}(_0x2dae,0xd0817));import{IconUploadcareImageUpload as _0x4ab539}from'ckeditor5/src/icons.js';import{ObservableMixin as _0x559ceb}from'ckeditor5/src/utils.js';import{Dialog as _0x4f7966,DialogViewPosition as _0x5a6620}from'ckeditor5/src/ui.js';import _0x3ee8a7 from'./uploadcareformview.js';import{UploadcareSource as _0x2b5fc7}from'../uploadcareconfig.js';import{getTranslation as _0x1d3768}from'../utils/common-translations.js';import{getImageUrls as _0x1046dd,getImageDimension as _0x4e91c1}from'../utils/editingutils.js';function _0x4e4b(_0x4f8510,_0x1e03b7){const _0x2dae25=_0x2dae();return _0x4e4b=function(_0x4e4b46,_0x4f4ddd){_0x4e4b46=_0x4e4b46-0x10b;let _0x13a980=_0x2dae25[_0x4e4b46];return _0x13a980;},_0x4e4b(_0x4f8510,_0x1e03b7);}function _0x2dae(){const _0x1b427d=['removeSelectionAttribute','insertImage','_initDialog','addEventListener','_insertImage','document','477BpsDDa','removeAllFiles','plugins','hide','_insertAsset','status','Replace','_editing','6529248MCmWcs','getAPI','_api','change','done-click','uploadCare','element','Local','configElement','setCurrentActivity','3ySjOKd','get','initFlow','_dialog','Insert','_initListeners','7944699iqFleg','allEntries','1647434PRXkcL','linkHref','focus','idle','3085800qHRjsy','402304psyRzE','editing','getLastPosition','616696QUAcsx','view','image','show','getSelectedElement','attributes','selection','isOpen','imageInfo','stopListening','destroy','text','_editor','imageBlock','2311222yOFCxP','doneFlow','source-list','execute','getOutputCollectionState','EDITOR_TOP_CENTER','_formView','ctxElement','imageInline','uuid','width','stopDelegating','setAttribute','setSelection','_type','length','detail','model'];_0x2dae=function(){return _0x1b427d;};return _0x2dae();}import{isAncestor as _0x11145a}from'../utils/isancestor.js';export default class l extends/* #__PURE__ -- @preserve */
24
- _0x559ceb(){[_0x5de9b4(0x112)];[_0x5de9b4(0x141)];[_0x5de9b4(0x133)];[_0x5de9b4(0x136)];[_0x5de9b4(0x122)]=null;[_0x5de9b4(0x11a)]=null;constructor(_0x38d557,_0x1da4ec,_0x3653ff){const _0x5324ae=_0x5de9b4;super(),this[_0x5324ae(0x112)]=_0x38d557,this[_0x5324ae(0x133)]=_0x1da4ec,this[_0x5324ae(0x141)]=_0x38d557[_0x5324ae(0x12e)][_0x5324ae(0x13f)](_0x4f7966),this[_0x5324ae(0x136)]=_0x1da4ec[_0x5324ae(0x11b)][_0x5324ae(0x135)](),this[_0x5324ae(0x122)]=_0x3653ff,this[_0x5324ae(0x133)][_0x5324ae(0x13c)][_0x5324ae(0x120)](_0x5324ae(0x116),this[_0x5324ae(0x122)]),this[_0x5324ae(0x128)](),this[_0x5324ae(0x143)](),this[_0x5324ae(0x136)][_0x5324ae(0x140)]();}[_0x5de9b4(0x110)](){const _0x23c521=_0x5de9b4;this[_0x23c521(0x11a)]&&(this[_0x23c521(0x11a)][_0x23c521(0x110)](),this[_0x23c521(0x11a)]=null),this[_0x23c521(0x136)]&&this[_0x23c521(0x136)][_0x23c521(0x115)](),this[_0x23c521(0x10f)](),this[_0x23c521(0x11f)]();}[_0x5de9b4(0x128)](){const _0x3dc113=_0x5de9b4,{locale:_0x4ff111,model:_0xec5621}=this[_0x3dc113(0x112)],_0x298438=_0xec5621[_0x3dc113(0x12b)][_0x3dc113(0x10c)][_0x3dc113(0x152)](),_0xcba42e=_0x298438&&(_0x298438['is'](_0x3dc113(0x13a),_0x3dc113(0x113))||_0x298438['is'](_0x3dc113(0x13a),_0x3dc113(0x11c)));this[_0x3dc113(0x11a)]=new _0x3ee8a7(_0x4ff111),this[_0x3dc113(0x141)][_0x3dc113(0x151)]({'id':_0x3dc113(0x139),'icon':_0x4ab539,'title':_0x1d3768(_0x4ff111,this[_0x3dc113(0x122)],_0xcba42e?_0x3dc113(0x132):_0x3dc113(0x142))[_0x3dc113(0x111)],'content':this[_0x3dc113(0x11a)],'position':_0x5a6620[_0x3dc113(0x119)],'isModal':!0x0,'onShow':()=>{const _0x4afe58=_0x3dc113;this[_0x4afe58(0x11a)][_0x4afe58(0x148)]();},'onHide':()=>{const _0x57d923=_0x3dc113;this[_0x57d923(0x136)][_0x57d923(0x12d)](),this[_0x57d923(0x112)][_0x57d923(0x14c)][_0x57d923(0x14f)][_0x57d923(0x148)](),this[_0x57d923(0x110)]();},'keystrokeHandlerOptions':{'filter':_0x389d02=>!_0x11145a(_0x389d02,this[_0x3dc113(0x11a)][_0x3dc113(0x13a)])}});}[_0x5de9b4(0x143)](){const _0x1547a9=_0x5de9b4;this[_0x1547a9(0x133)][_0x1547a9(0x11b)][_0x1547a9(0x129)](_0x1547a9(0x138),()=>{const _0x27ccde=_0x1547a9,{allEntries:_0x21adb1}=this[_0x27ccde(0x136)][_0x27ccde(0x118)]();this[_0x27ccde(0x112)][_0x27ccde(0x125)][_0x27ccde(0x137)](_0x40e977=>{const _0x566331=_0x27ccde,_0x484fd7=_0x21adb1[_0x566331(0x123)];for(const _0x39ed3d of _0x21adb1){const _0x4af42d=_0x39ed3d===_0x21adb1[_0x484fd7-0x1],{cdnUrl:_0xb88f73,fileInfo:_0x8f0446}=_0x39ed3d;if(!_0xb88f73||!_0x8f0446)continue;const {width:_0x393882,height:_0x154c2b}=_0x8f0446[_0x566331(0x10e)],_0x578f57=_0x4e91c1(_0xb88f73,_0x393882,_0x154c2b),_0x38f570=_0x1046dd(_0xb88f73,_0x578f57[_0x566331(0x11e)]),_0x703740={'id':_0x8f0446[_0x566331(0x11d)],'type':_0x566331(0x150),'attributes':{'imageDimension':_0x578f57,..._0x38f570}};this[_0x566331(0x130)](_0x703740,_0x4af42d,_0x40e977);}}),this[_0x27ccde(0x141)][_0x27ccde(0x12f)]();}),this[_0x1547a9(0x133)][_0x1547a9(0x11b)][_0x1547a9(0x129)](_0x1547a9(0x137),_0x1f1370=>{const _0x2d2995=_0x1547a9;_0x2d2995(0x149)===_0x1f1370[_0x2d2995(0x124)][_0x2d2995(0x131)]&&!_0x1f1370[_0x2d2995(0x124)][_0x2d2995(0x145)][_0x2d2995(0x123)]&&this[_0x2d2995(0x141)][_0x2d2995(0x10d)]&&(this[_0x2d2995(0x122)]===_0x2b5fc7[_0x2d2995(0x13b)]?this[_0x2d2995(0x136)][_0x2d2995(0x13d)](_0x2b5fc7[_0x2d2995(0x13b)]):this[_0x2d2995(0x136)][_0x2d2995(0x140)]());});}[_0x5de9b4(0x130)](_0x6284c5,_0x277726,_0x233122){const _0xa47e65=_0x5de9b4,_0xd0c108=this[_0xa47e65(0x112)][_0xa47e65(0x125)][_0xa47e65(0x12b)][_0xa47e65(0x10c)],_0xc8737a=_0xd0c108[_0xa47e65(0x152)](),_0xbc5993=!(!_0xc8737a||!_0xc8737a['is'](_0xa47e65(0x13a),_0xa47e65(0x11c)));_0x233122[_0xa47e65(0x126)](_0xa47e65(0x147)),this[_0xa47e65(0x12a)](_0x6284c5,_0xbc5993),_0x277726||_0x233122[_0xa47e65(0x121)](_0xd0c108[_0xa47e65(0x14d)]());}[_0x5de9b4(0x12a)](_0x62f1d5,_0x146a7f){const _0x297c35=_0x5de9b4,_0x541621=this[_0x297c35(0x112)],{imageDimension:_0x372cb9,imageFallbackUrl:_0x12d8c2,imageSources:_0x559698}=_0x62f1d5[_0x297c35(0x10b)];_0x541621[_0x297c35(0x117)](_0x297c35(0x127),{'imageType':_0x146a7f?_0x297c35(0x11c):null,'source':{'uploadcareImageId':_0x62f1d5['id'],'src':_0x12d8c2,'sources':_0x559698,..._0x372cb9}});}}
23
+ const _0x24cb1a=_0x4ec6;(function(_0x1ae193,_0x30247b){const _0x596316=_0x4ec6,_0x14e85f=_0x1ae193();while(!![]){try{const _0x4f9397=-parseInt(_0x596316(0xea))/0x1+-parseInt(_0x596316(0x103))/0x2+parseInt(_0x596316(0xe3))/0x3+-parseInt(_0x596316(0xe2))/0x4+parseInt(_0x596316(0x11d))/0x5*(-parseInt(_0x596316(0x102))/0x6)+-parseInt(_0x596316(0xe8))/0x7*(parseInt(_0x596316(0x106))/0x8)+parseInt(_0x596316(0x10c))/0x9;if(_0x4f9397===_0x30247b)break;else _0x14e85f['push'](_0x14e85f['shift']());}catch(_0x4461b7){_0x14e85f['push'](_0x14e85f['shift']());}}}(_0x3b0d,0xea8e0));function _0x4ec6(_0x24e69f,_0xfae002){const _0x3b0d7d=_0x3b0d();return _0x4ec6=function(_0x4ec6d0,_0xc09dfc){_0x4ec6d0=_0x4ec6d0-0xe0;let _0x68232f=_0x3b0d7d[_0x4ec6d0];return _0x68232f;},_0x4ec6(_0x24e69f,_0xfae002);}import{icons as _0x29e8ff}from'ckeditor5/src/core.js';import{ObservableMixin as _0x46d8b7}from'ckeditor5/src/utils.js';import{Dialog as _0x92bbdc,DialogViewPosition as _0x37951c}from'ckeditor5/src/ui.js';import _0x13020b from'./uploadcareformview.js';import{UploadcareSource as _0x4bd164}from'../uploadcareconfig.js';import{getTranslation as _0x41834b}from'../utils/common-translations.js';function _0x3b0d(){const _0x3f18f7=['doneFlow','change','14QUZqVq','destroy','580862LvSymz','allEntries','done-click','width','focus','_initDialog','Insert','attributes','image','_editor','Local','_formView','ctxElement','selection','setCurrentActivity','setAttribute','removeAllFiles','Replace','linkHref','_dialog','model','element','hide','configElement','60qfJxLz','2512752iiUiPu','length','editing','7422064JqOZkY','imageBlock','get','text','execute','status','51648939wZtSiu','plugins','document','stopDelegating','isOpen','uuid','uploadCare','initFlow','EDITOR_TOP_CENTER','addEventListener','_insertAsset','getSelectedElement','detail','_editing','getAPI','show','_api','4615VNrJQe','stopListening','_type','_initListeners','insertImage','setSelection','view','source-list','_insertImage','imageInline','idle','imageUpload','getOutputCollectionState','imageInfo','6629804XzpsLm','1744200XKUjIQ','getLastPosition','removeSelectionAttribute'];_0x3b0d=function(){return _0x3f18f7;};return _0x3b0d();}import{getImageUrls as _0x3cd251,getImageDimension as _0x9cba0c}from'../utils/editingutils.js';import{isAncestor as _0x4494fd}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
24
+ _0x46d8b7(){constructor(_0x3b4080,_0x5599c3,_0x21c313){const _0x134b6b=_0x4ec6;super(),this[_0x134b6b(0x11f)]=null,this[_0x134b6b(0xf5)]=null,this[_0x134b6b(0xf3)]=_0x3b4080,this[_0x134b6b(0x119)]=_0x5599c3,this[_0x134b6b(0xfd)]=_0x3b4080[_0x134b6b(0x10d)][_0x134b6b(0x108)](_0x92bbdc),this[_0x134b6b(0x11c)]=_0x5599c3[_0x134b6b(0xf6)][_0x134b6b(0x11a)](),this[_0x134b6b(0x11f)]=_0x21c313,this[_0x134b6b(0x119)][_0x134b6b(0x101)][_0x134b6b(0xf9)](_0x134b6b(0x124),this[_0x134b6b(0x11f)]),this[_0x134b6b(0xef)](),this[_0x134b6b(0x120)](),this[_0x134b6b(0x11c)][_0x134b6b(0x113)]();}[_0x24cb1a(0xe9)](){const _0x146029=_0x24cb1a;this[_0x146029(0xf5)]&&(this[_0x146029(0xf5)][_0x146029(0xe9)](),this[_0x146029(0xf5)]=null),this[_0x146029(0x11c)]&&this[_0x146029(0x11c)][_0x146029(0xe6)](),this[_0x146029(0x11e)](),this[_0x146029(0x10f)]();}[_0x24cb1a(0xef)](){const _0x1ba7e9=_0x24cb1a,{locale:_0x26de2e,model:_0x51d637}=this[_0x1ba7e9(0xf3)],_0x1c232=_0x51d637[_0x1ba7e9(0x10e)][_0x1ba7e9(0xf7)][_0x1ba7e9(0x117)](),_0x7338e5=_0x1c232&&(_0x1c232['is'](_0x1ba7e9(0xff),_0x1ba7e9(0x107))||_0x1c232['is'](_0x1ba7e9(0xff),_0x1ba7e9(0x126)));this[_0x1ba7e9(0xf5)]=new _0x13020b(_0x26de2e),this[_0x1ba7e9(0xfd)][_0x1ba7e9(0x11b)]({'id':_0x1ba7e9(0x112),'icon':_0x29e8ff[_0x1ba7e9(0x128)],'title':_0x41834b(_0x26de2e,this[_0x1ba7e9(0x11f)],_0x7338e5?_0x1ba7e9(0xfb):_0x1ba7e9(0xf0))[_0x1ba7e9(0x109)],'content':this[_0x1ba7e9(0xf5)],'position':_0x37951c[_0x1ba7e9(0x114)],'isModal':!0x0,'onShow':()=>{const _0x4d5773=_0x1ba7e9;this[_0x4d5773(0xf5)][_0x4d5773(0xee)]();},'onHide':()=>{const _0x3c101e=_0x1ba7e9;this[_0x3c101e(0x11c)][_0x3c101e(0xfa)](),this[_0x3c101e(0xf3)][_0x3c101e(0x105)][_0x3c101e(0x123)][_0x3c101e(0xee)](),this[_0x3c101e(0xe9)]();},'keystrokeHandlerOptions':{'filter':_0xd65055=>!_0x4494fd(_0xd65055,this[_0x1ba7e9(0xf5)][_0x1ba7e9(0xff)])}});}[_0x24cb1a(0x120)](){const _0x5668ec=_0x24cb1a;this[_0x5668ec(0x119)][_0x5668ec(0xf6)][_0x5668ec(0x115)](_0x5668ec(0xec),()=>{const _0x2bdae8=_0x5668ec,{allEntries:_0x1a967f}=this[_0x2bdae8(0x11c)][_0x2bdae8(0xe0)]();this[_0x2bdae8(0xf3)][_0x2bdae8(0xfe)][_0x2bdae8(0xe7)](_0x3587f0=>{const _0x235c7b=_0x2bdae8,_0x423801=_0x1a967f[_0x235c7b(0x104)];for(const _0x13f57c of _0x1a967f){const _0x3ecedd=_0x13f57c===_0x1a967f[_0x423801-0x1],{cdnUrl:_0x44bf02,fileInfo:_0x56d139}=_0x13f57c;if(!_0x44bf02||!_0x56d139)continue;const {width:_0x35b9d6,height:_0x2c6d0b}=_0x56d139[_0x235c7b(0xe1)],_0x4337e7=_0x9cba0c(_0x44bf02,_0x35b9d6,_0x2c6d0b),_0xb48557=_0x3cd251(_0x44bf02,_0x4337e7[_0x235c7b(0xed)]),_0x183698={'id':_0x56d139[_0x235c7b(0x111)],'type':_0x235c7b(0xf2),'attributes':{'imageDimension':_0x4337e7,..._0xb48557}};this[_0x235c7b(0x116)](_0x183698,_0x3ecedd,_0x3587f0);}}),this[_0x2bdae8(0xfd)][_0x2bdae8(0x100)]();}),this[_0x5668ec(0x119)][_0x5668ec(0xf6)][_0x5668ec(0x115)](_0x5668ec(0xe7),_0x1aca5f=>{const _0x310b99=_0x5668ec;_0x310b99(0x127)===_0x1aca5f[_0x310b99(0x118)][_0x310b99(0x10b)]&&!_0x1aca5f[_0x310b99(0x118)][_0x310b99(0xeb)][_0x310b99(0x104)]&&this[_0x310b99(0xfd)][_0x310b99(0x110)]&&(this[_0x310b99(0x11f)]===_0x4bd164[_0x310b99(0xf4)]?this[_0x310b99(0x11c)][_0x310b99(0xf8)](_0x4bd164[_0x310b99(0xf4)]):this[_0x310b99(0x11c)][_0x310b99(0x113)]());});}[_0x24cb1a(0x116)](_0x44ad7b,_0x2c37e9,_0x2ede66){const _0x771a61=_0x24cb1a,_0x170273=this[_0x771a61(0xf3)][_0x771a61(0xfe)][_0x771a61(0x10e)][_0x771a61(0xf7)],_0x1d6e6b=_0x170273[_0x771a61(0x117)](),_0x3954cd=!(!_0x1d6e6b||!_0x1d6e6b['is'](_0x771a61(0xff),_0x771a61(0x126)));_0x2ede66[_0x771a61(0xe5)](_0x771a61(0xfc)),this[_0x771a61(0x125)](_0x44ad7b,_0x3954cd),_0x2c37e9||_0x2ede66[_0x771a61(0x122)](_0x170273[_0x771a61(0xe4)]());}[_0x24cb1a(0x125)](_0x18de84,_0x3d7f70){const _0x2c6c8e=_0x24cb1a,_0x110fa7=this[_0x2c6c8e(0xf3)],{imageDimension:_0x3c3358,imageFallbackUrl:_0x26eb58,imageSources:_0x301551}=_0x18de84[_0x2c6c8e(0xf1)];_0x110fa7[_0x2c6c8e(0x10a)](_0x2c6c8e(0x121),{'imageType':_0x3d7f70?_0x2c6c8e(0x126):null,'source':{'uploadcareImageId':_0x18de84['id'],'src':_0x26eb58,'sources':_0x301551,..._0x3c3358}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xb3e975=_0x3cae;(function(_0xf57bfb,_0x4e9de3){var _0x2e0fa3=_0x3cae,_0x432571=_0xf57bfb();while(!![]){try{var _0x2533d4=parseInt(_0x2e0fa3(0x1ec))/0x1*(parseInt(_0x2e0fa3(0x1f6))/0x2)+parseInt(_0x2e0fa3(0x1ed))/0x3+parseInt(_0x2e0fa3(0x1f3))/0x4*(parseInt(_0x2e0fa3(0x1e8))/0x5)+-parseInt(_0x2e0fa3(0x1e9))/0x6*(-parseInt(_0x2e0fa3(0x1ea))/0x7)+-parseInt(_0x2e0fa3(0x1e7))/0x8*(-parseInt(_0x2e0fa3(0x1eb))/0x9)+-parseInt(_0x2e0fa3(0x1ef))/0xa+-parseInt(_0x2e0fa3(0x1f9))/0xb;if(_0x2533d4===_0x4e9de3)break;else _0x432571['push'](_0x432571['shift']());}catch(_0x178032){_0x432571['push'](_0x432571['shift']());}}}(_0x4574,0x9c017));function _0x3cae(_0x30d5b8,_0x550fcd){var _0x4574e9=_0x4574();return _0x3cae=function(_0x3caeea,_0x4333af){_0x3caeea=_0x3caeea-0x1e4;var _0x1d73e4=_0x4574e9[_0x3caeea];return _0x1d73e4;},_0x3cae(_0x30d5b8,_0x550fcd);}function _0x4574(){var _0x2740af=['382011Xsxpvq','4302TspaOW','58771YwXrEZ','3367611SNQfed','element','3133180mvVqEV','ck-uploadcare-form','uploader','div','2624HNAeVK','ck-reset_all-excluded','uc-file-uploader-inline','14IvirBW','getFocusableElement','setTemplate','16812576pWDzjk','focus','uc-light','ck-uploadcare-theme','6152qWIXta','2335OhZkjg','30jFbJBt'];_0x4574=function(){return _0x2740af;};return _0x4574();}import _0x47a339 from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export default class F extends _0x47a339{constructor(_0x31738f){var _0xc77d4b=_0x3cae;super(_0x31738f),this[_0xc77d4b(0x1f8)]({'tag':_0xc77d4b(0x1f2),'attributes':{'class':['ck',_0xc77d4b(0x1f4),_0xc77d4b(0x1f0)],'tabindex':'-1'},'children':[{'tag':_0xc77d4b(0x1f5),'attributes':{'class':[_0xc77d4b(0x1e5),_0xc77d4b(0x1e6)],'ctx-name':_0xc77d4b(0x1f1)}},this[_0xc77d4b(0x1f7)]()]});}[_0xb3e975(0x1e4)](){var _0x4f1d2e=_0xb3e975;this[_0x4f1d2e(0x1ee)][_0x4f1d2e(0x1e4)]();}}
23
+ var _0x534ab3=_0x329f;function _0x329f(_0x38cecf,_0x12184a){var _0x1ec8e6=_0x1ec8();return _0x329f=function(_0x329f0f,_0x4dc44b){_0x329f0f=_0x329f0f-0x14e;var _0xe6f582=_0x1ec8e6[_0x329f0f];return _0xe6f582;},_0x329f(_0x38cecf,_0x12184a);}function _0x1ec8(){var _0xb9a60c=['div','1011790yIaPJa','200575KKrfdm','uploader','4563152wrMYGt','element','39880eJEnzd','focus','uc-light','uc-file-uploader-inline','16749pvLVrV','25akiylI','1183vIMtxI','979977zKKIcf','48yfQSFK','1215822LWHiuY','ck-reset_all-excluded','setTemplate','ck-uploadcare-theme','8WmBoID','ck-uploadcare-form','5890ghKZkz','getFocusableElement'];_0x1ec8=function(){return _0xb9a60c;};return _0x1ec8();}(function(_0x373018,_0x5861e2){var _0x14ba3a=_0x329f,_0x164b65=_0x373018();while(!![]){try{var _0x530c9e=-parseInt(_0x14ba3a(0x157))/0x1+parseInt(_0x14ba3a(0x156))/0x2+-parseInt(_0x14ba3a(0x162))/0x3*(parseInt(_0x14ba3a(0x151))/0x4)+-parseInt(_0x14ba3a(0x160))/0x5*(parseInt(_0x14ba3a(0x164))/0x6)+-parseInt(_0x14ba3a(0x161))/0x7*(parseInt(_0x14ba3a(0x15b))/0x8)+parseInt(_0x14ba3a(0x15f))/0x9*(parseInt(_0x14ba3a(0x153))/0xa)+parseInt(_0x14ba3a(0x159))/0xb*(parseInt(_0x14ba3a(0x163))/0xc);if(_0x530c9e===_0x5861e2)break;else _0x164b65['push'](_0x164b65['shift']());}catch(_0x20f980){_0x164b65['push'](_0x164b65['shift']());}}}(_0x1ec8,0x86b81));import _0xfe4316 from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export default class S extends _0xfe4316{constructor(_0x5c1386){var _0x3882c8=_0x329f;super(_0x5c1386),this[_0x3882c8(0x14f)]({'tag':_0x3882c8(0x155),'attributes':{'class':['ck',_0x3882c8(0x14e),_0x3882c8(0x152)],'tabindex':'-1'},'children':[{'tag':_0x3882c8(0x15e),'attributes':{'class':[_0x3882c8(0x15d),_0x3882c8(0x150)],'ctx-name':_0x3882c8(0x158)}},this[_0x3882c8(0x154)]()]});}[_0x534ab3(0x15c)](){var _0x21489d=_0x534ab3;this[_0x21489d(0x15a)][_0x21489d(0x15c)]();}}
package/src/uploadcare.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x49d007=_0x510c;(function(_0x1bca22,_0x2d8689){var _0x287689=_0x510c,_0x17c0e7=_0x1bca22();while(!![]){try{var _0x265938=-parseInt(_0x287689(0x18e))/0x1+-parseInt(_0x287689(0x198))/0x2+parseInt(_0x287689(0x18b))/0x3+parseInt(_0x287689(0x191))/0x4+parseInt(_0x287689(0x18a))/0x5*(parseInt(_0x287689(0x187))/0x6)+parseInt(_0x287689(0x196))/0x7+parseInt(_0x287689(0x185))/0x8*(-parseInt(_0x287689(0x194))/0x9);if(_0x265938===_0x2d8689)break;else _0x17c0e7['push'](_0x17c0e7['shift']());}catch(_0x4c5051){_0x17c0e7['push'](_0x17c0e7['shift']());}}}(_0x30f3,0xec5e9));function _0x30f3(){var _0x5f331f=['define','63jXRXBs','requires','10929184FRbyNK','isPremiumPlugin','98894FIjBZH','4612040PHmjMz','uploadcare.uploader.sourceList','108bbFiMI','config','isOfficialPlugin','412095qmkTGi','4675356yZDsnJ','Local','defineComponents','196211JxSHWe','Uploadcare','URL','2584224FoIFDY','pluginName'];_0x30f3=function(){return _0x5f331f;};return _0x30f3();}import{Plugin as _0x399c4c}from'ckeditor5/src/core.js';import _0x57e4d0 from'./uploadcareui.js';import _0x30e9fc from'./uploadcareediting.js';import{UploadcareSource as _0x18c8f9}from'./uploadcareconfig.js';function _0x510c(_0x5a58cd,_0x5ec27c){var _0x30f3d2=_0x30f3();return _0x510c=function(_0x510cb9,_0x1b24e2){_0x510cb9=_0x510cb9-0x185;var _0x43267e=_0x30f3d2[_0x510cb9];return _0x43267e;},_0x510c(_0x5a58cd,_0x5ec27c);}import*as _0x39ba26 from'@uploadcare/file-uploader';export default class u extends _0x399c4c{static get[_0x49d007(0x195)](){return[_0x30e9fc,_0x57e4d0];}static get[_0x49d007(0x192)](){var _0x5dea0d=_0x49d007;return _0x5dea0d(0x18f);}static get[_0x49d007(0x189)](){return!0x0;}static get[_0x49d007(0x197)](){return!0x0;}constructor(_0xfadc6d){var _0x106986=_0x49d007;super(_0xfadc6d),_0xfadc6d[_0x106986(0x188)][_0x106986(0x193)](_0x106986(0x186),[_0x18c8f9[_0x106986(0x18c)],_0x18c8f9[_0x106986(0x190)]]),_0x39ba26[_0x106986(0x18d)](_0x39ba26);}}
23
+ var _0x219dcc=_0x485a;(function(_0x3a84d6,_0x16bfcc){var _0x2151f9=_0x485a,_0x1b95dc=_0x3a84d6();while(!![]){try{var _0x3645df=-parseInt(_0x2151f9(0xb1))/0x1+-parseInt(_0x2151f9(0xad))/0x2+parseInt(_0x2151f9(0xbb))/0x3+parseInt(_0x2151f9(0xaf))/0x4*(parseInt(_0x2151f9(0xb4))/0x5)+parseInt(_0x2151f9(0xae))/0x6+-parseInt(_0x2151f9(0xac))/0x7+parseInt(_0x2151f9(0xb0))/0x8;if(_0x3645df===_0x16bfcc)break;else _0x1b95dc['push'](_0x1b95dc['shift']());}catch(_0x1a97fc){_0x1b95dc['push'](_0x1b95dc['shift']());}}}(_0x424d,0xc2be7));import{Plugin as _0x5f272b}from'ckeditor5/src/core.js';function _0x485a(_0x534eb7,_0x4c6afa){var _0x424d61=_0x424d();return _0x485a=function(_0x485a68,_0x5e0e34){_0x485a68=_0x485a68-0xaa;var _0x2380ac=_0x424d61[_0x485a68];return _0x2380ac;},_0x485a(_0x534eb7,_0x4c6afa);}function _0x424d(){var _0x18ce50=['define','Uploadcare','2500257IAYGnQ','isPremiumPlugin','isOfficialPlugin','uploadcare.uploader.sourceList','3163762zmTWEC','1630616ufOGfy','1925628GKNlAL','12mMvHvC','7187936omvyit','799578pWndau','requires','Local','1352790tTozQA','defineComponents','config','URL','pluginName'];_0x424d=function(){return _0x18ce50;};return _0x424d();}import _0x386113 from'./uploadcareui.js';import _0x2b911f from'./uploadcareediting.js';import{UploadcareSource as _0x50afed}from'./uploadcareconfig.js';import*as _0x35c770 from'@uploadcare/file-uploader';export default class u extends _0x5f272b{static get[_0x219dcc(0xb2)](){return[_0x2b911f,_0x386113];}static get[_0x219dcc(0xb8)](){var _0x3a0dde=_0x219dcc;return _0x3a0dde(0xba);}static get[_0x219dcc(0xaa)](){return!0x0;}static get[_0x219dcc(0xbc)](){return!0x0;}constructor(_0x22f00d){var _0x421d64=_0x219dcc;super(_0x22f00d),_0x22f00d[_0x421d64(0xb6)][_0x421d64(0xb9)](_0x421d64(0xab),[_0x50afed[_0x421d64(0xb3)],_0x50afed[_0x421d64(0xb7)]]),_0x35c770[_0x421d64(0xb5)](_0x35c770);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4be543=_0x5994;(function(_0x5a957b,_0x10171c){var _0x2653a3=_0x5994,_0x37100e=_0x5a957b();while(!![]){try{var _0x2e0d06=parseInt(_0x2653a3(0x146))/0x1+-parseInt(_0x2653a3(0x134))/0x2*(-parseInt(_0x2653a3(0x13a))/0x3)+parseInt(_0x2653a3(0x138))/0x4*(parseInt(_0x2653a3(0x142))/0x5)+-parseInt(_0x2653a3(0x13e))/0x6+parseInt(_0x2653a3(0x135))/0x7*(-parseInt(_0x2653a3(0x133))/0x8)+parseInt(_0x2653a3(0x143))/0x9*(-parseInt(_0x2653a3(0x144))/0xa)+parseInt(_0x2653a3(0x149))/0xb;if(_0x2e0d06===_0x10171c)break;else _0x37100e['push'](_0x37100e['shift']());}catch(_0x9ca7a5){_0x37100e['push'](_0x37100e['shift']());}}}(_0x5a44,0x2b508));function _0x5a44(){var _0x10a836=['refresh','destroy','441648bXHQNJ','editor','_controller','execute','5XWiLMT','9QpLSWV','3258890wvIJMZ','isEnabled','314399LtXWHA','insertImage','_editing','1123661CIJrdS','plugins','8mNkgqb','88850JlLcFn','2245495FSjUuO','commands','get','680692jxApxz','_checkEnabled','21EBjeGa','requires'];_0x5a44=function(){return _0x10a836;};return _0x5a44();}import{Command as _0x1c176e}from'ckeditor5/src/core.js';function _0x5994(_0x2ed0ff,_0x57a9b0){var _0x5a449a=_0x5a44();return _0x5994=function(_0x599457,_0x37697a){_0x599457=_0x599457-0x132;var _0x3d8d39=_0x5a449a[_0x599457];return _0x3d8d39;},_0x5994(_0x2ed0ff,_0x57a9b0);}import{Dialog as _0x30c7f6}from'ckeditor5/src/ui.js';import _0xf3e3cd from'./uploadcareediting.js';import _0x130161 from'./ui/uploadcarecontroller.js';export default class n extends _0x1c176e{[_0x4be543(0x148)];[_0x4be543(0x140)]=null;static get[_0x4be543(0x13b)](){return[_0x30c7f6,_0xf3e3cd];}constructor(_0x2a37b3){var _0x1eedfd=_0x4be543;super(_0x2a37b3),this[_0x1eedfd(0x148)]=_0x2a37b3[_0x1eedfd(0x132)][_0x1eedfd(0x137)](_0xf3e3cd);}[_0x4be543(0x13c)](){var _0x5864ca=_0x4be543;this[_0x5864ca(0x145)]=this[_0x5864ca(0x139)]();}[_0x4be543(0x141)](_0x49e811){var _0x421c60=_0x4be543;this[_0x421c60(0x140)]&&(this[_0x421c60(0x140)][_0x421c60(0x13d)](),this[_0x421c60(0x140)]=null),this[_0x421c60(0x140)]=new _0x130161(this[_0x421c60(0x13f)],this[_0x421c60(0x148)],_0x49e811);}[_0x4be543(0x139)](){var _0x23804d=_0x4be543;return this[_0x23804d(0x13f)][_0x23804d(0x136)][_0x23804d(0x137)](_0x23804d(0x147))[_0x23804d(0x145)];}}
23
+ var _0x1287b6=_0x486e;(function(_0x1a545d,_0x3fa815){var _0x7a0c3d=_0x486e,_0x2abea3=_0x1a545d();while(!![]){try{var _0x57a56c=parseInt(_0x7a0c3d(0xeb))/0x1*(parseInt(_0x7a0c3d(0xe1))/0x2)+-parseInt(_0x7a0c3d(0xea))/0x3*(parseInt(_0x7a0c3d(0xda))/0x4)+parseInt(_0x7a0c3d(0xe4))/0x5*(-parseInt(_0x7a0c3d(0xee))/0x6)+parseInt(_0x7a0c3d(0xef))/0x7*(-parseInt(_0x7a0c3d(0xe0))/0x8)+parseInt(_0x7a0c3d(0xdf))/0x9*(parseInt(_0x7a0c3d(0xdc))/0xa)+parseInt(_0x7a0c3d(0xe5))/0xb+parseInt(_0x7a0c3d(0xf1))/0xc*(-parseInt(_0x7a0c3d(0xdb))/0xd);if(_0x57a56c===_0x3fa815)break;else _0x2abea3['push'](_0x2abea3['shift']());}catch(_0x240f2b){_0x2abea3['push'](_0x2abea3['shift']());}}}(_0x199e,0x97fa9));function _0x486e(_0x2a06ee,_0x3cf866){var _0x199e30=_0x199e();return _0x486e=function(_0x486eb3,_0x3cce95){_0x486eb3=_0x486eb3-0xd9;var _0x3a3a20=_0x199e30[_0x486eb3];return _0x3a3a20;},_0x486e(_0x2a06ee,_0x3cf866);}import{Command as _0x1ac256}from'ckeditor5/src/core.js';function _0x199e(){var _0xc64fed=['commands','insertImage','_controller','destroy','3jXieSU','6xVAqcX','get','_checkEnabled','30ctfFgN','14OgJZiS','_editing','3872472AZMIeX','refresh','editor','1696544cjSCRL','26WFhiOx','90yWJKam','plugins','isEnabled','1037583MCBzvJ','1486744JkocMJ','5730FxvgCc','execute','requires','63425RuHGOA','11796301HKMKeh'];_0x199e=function(){return _0xc64fed;};return _0x199e();}import{Dialog as _0x2228bb}from'ckeditor5/src/ui.js';import _0x541d86 from'./uploadcareediting.js';import _0x12c695 from'./ui/uploadcarecontroller.js';export default class l extends _0x1ac256{static get[_0x1287b6(0xe3)](){return[_0x2228bb,_0x541d86];}constructor(_0x2ea3f4){var _0x39afc1=_0x1287b6;super(_0x2ea3f4),this[_0x39afc1(0xe8)]=null,this[_0x39afc1(0xf0)]=_0x2ea3f4[_0x39afc1(0xdd)][_0x39afc1(0xec)](_0x541d86);}[_0x1287b6(0xf2)](){var _0x1ce7f6=_0x1287b6;this[_0x1ce7f6(0xde)]=this[_0x1ce7f6(0xed)]();}[_0x1287b6(0xe2)](_0x1259e4){var _0x114236=_0x1287b6;this[_0x114236(0xe8)]&&(this[_0x114236(0xe8)][_0x114236(0xe9)](),this[_0x114236(0xe8)]=null),this[_0x114236(0xe8)]=new _0x12c695(this[_0x114236(0xd9)],this[_0x114236(0xf0)],_0x1259e4);}[_0x1287b6(0xed)](){var _0xd3adeb=_0x1287b6;return this[_0xd3adeb(0xd9)][_0xd3adeb(0xe6)][_0xd3adeb(0xec)](_0xd3adeb(0xe7))[_0xd3adeb(0xde)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x50cb(_0x81720f,_0x1a862d){var _0x1b677c=_0x1b67();return _0x50cb=function(_0x50cb79,_0x2dec76){_0x50cb79=_0x50cb79-0xb2;var _0x2cec6b=_0x1b677c[_0x50cb79];return _0x2cec6b;},_0x50cb(_0x81720f,_0x1a862d);}(function(_0x3c94fe,_0x83e7b4){var _0x46a013=_0x50cb,_0x4b33f8=_0x3c94fe();while(!![]){try{var _0x2b04bc=parseInt(_0x46a013(0xba))/0x1*(-parseInt(_0x46a013(0xc4))/0x2)+-parseInt(_0x46a013(0xbe))/0x3+parseInt(_0x46a013(0xbb))/0x4+-parseInt(_0x46a013(0xb3))/0x5+-parseInt(_0x46a013(0xb4))/0x6+parseInt(_0x46a013(0xbf))/0x7+-parseInt(_0x46a013(0xca))/0x8*(-parseInt(_0x46a013(0xb6))/0x9);if(_0x2b04bc===_0x83e7b4)break;else _0x4b33f8['push'](_0x4b33f8['shift']());}catch(_0x11fca0){_0x4b33f8['push'](_0x4b33f8['shift']());}}}(_0x1b67,0x19c0c));export var UploadcareSource;!function(_0x1cd89c){var _0xa6749c=_0x50cb;_0x1cd89c[_0xa6749c(0xc6)]=_0xa6749c(0xc5),_0x1cd89c[_0xa6749c(0xb2)]=_0xa6749c(0xc3),_0x1cd89c[_0xa6749c(0xc8)]=_0xa6749c(0xbc),_0x1cd89c[_0xa6749c(0xc7)]=_0xa6749c(0xb9),_0x1cd89c[_0xa6749c(0xc2)]=_0xa6749c(0xb5),_0x1cd89c[_0xa6749c(0xb7)]=_0xa6749c(0xb8),_0x1cd89c[_0xa6749c(0xc0)]=_0xa6749c(0xc9),_0x1cd89c[_0xa6749c(0xbd)]=_0xa6749c(0xc1);}(UploadcareSource||(UploadcareSource={}));function _0x1b67(){var _0x37b0d1=['10xjIfiu','local','Local','GDrive','Dropbox','instagram','224tSaOIf','URL','764385NkXEbW','251694ASFDiu','facebook','150543MvmyHe','GPhotos','gphotos','gdrive','3989jXowmZ','75832flozIF','dropbox','OneDrive','555324FUPEwQ','126343udghYb','Instagram','onedrive','Facebook','url'];_0x1b67=function(){return _0x37b0d1;};return _0x1b67();}
23
+ function _0x4bcc(){var _0x4fe68b=['local','1685708hPorNL','7CZogym','onedrive','Local','gphotos','4659032IWNiRb','6EJaPgc','6892056ERYCXr','40hUSfqk','Dropbox','1088676yZevuq','dropbox','facebook','3492110iAExlx','Facebook','gdrive','url','GDrive','URL','242494kVHuEM','OneDrive','556899JpGUVX','GPhotos','Instagram','instagram'];_0x4bcc=function(){return _0x4fe68b;};return _0x4bcc();}(function(_0x339218,_0x1dff9d){var _0x416413=_0x49fb,_0x25fa6a=_0x339218();while(!![]){try{var _0x523550=-parseInt(_0x416413(0x1e6))/0x1+-parseInt(_0x416413(0x1f3))/0x2*(parseInt(_0x416413(0x1e8))/0x3)+-parseInt(_0x416413(0x1ed))/0x4+-parseInt(_0x416413(0x1fa))/0x5+parseInt(_0x416413(0x1f7))/0x6*(-parseInt(_0x416413(0x1ee))/0x7)+-parseInt(_0x416413(0x1f2))/0x8+parseInt(_0x416413(0x1f4))/0x9*(parseInt(_0x416413(0x1f5))/0xa);if(_0x523550===_0x1dff9d)break;else _0x25fa6a['push'](_0x25fa6a['shift']());}catch(_0x492e0d){_0x25fa6a['push'](_0x25fa6a['shift']());}}}(_0x4bcc,0x5cca5));function _0x49fb(_0x2696a8,_0x19a1b0){var _0x4bcc8f=_0x4bcc();return _0x49fb=function(_0x49fb3a,_0x15be0e){_0x49fb3a=_0x49fb3a-0x1e4;var _0x7829e2=_0x4bcc8f[_0x49fb3a];return _0x7829e2;},_0x49fb(_0x2696a8,_0x19a1b0);}export var UploadcareSource;!function(_0x97d34d){var _0x453499=_0x49fb;_0x97d34d[_0x453499(0x1f0)]=_0x453499(0x1ec),_0x97d34d[_0x453499(0x1e5)]=_0x453499(0x1fd),_0x97d34d[_0x453499(0x1f6)]=_0x453499(0x1f8),_0x97d34d[_0x453499(0x1e4)]=_0x453499(0x1fc),_0x97d34d[_0x453499(0x1fb)]=_0x453499(0x1f9),_0x97d34d[_0x453499(0x1e9)]=_0x453499(0x1f1),_0x97d34d[_0x453499(0x1ea)]=_0x453499(0x1eb),_0x97d34d[_0x453499(0x1e7)]=_0x453499(0x1ef);}(UploadcareSource||(UploadcareSource={}));
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b94(){const _0x28b40a=['154164UolvPp','uploadcareImageId','querySelector','config','257018UmDrVU','2255510PZQFFN','input[uploadcare-file-input]','fromCharCode','getAttribute','cleanupImage','uploadcareImageReplace','body','add','schema','map','6484QnHwUw','for','data-uc-image-id','_configElement','href','isOfficialPlugin','configElement','listenTo','_initCtx','imageInline','attributeToAttribute','pluginName','6019064SlsbdH','commands','join','document','1503FKqpBd','requires','execute','uploader','_initSchema','init','editor','remove','2508ZFspkj','2696226yDoDSt','#uc-icon-arrow-down','\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','render','view','extend','downcast','uploadcare.pubkey','get','upcast','editing','replaceImageSource','true','iconHrefResolver','insertImage','conversion','298590GiOeSo','selection','isRegistered','_ctxElement','model','uploadcare','afterInit','uc-upload-ctx-provider','3LukVuy','7KmuPGl','UploadcareEditing','_initConfig','contentLanguage','removeAttribute','uploadcare.uploader','isPremiumPlugin','imageBlock','_initImageProcessingIndicator','getSelectedElement','ctxElement','closeMax','36Sbkxba','uc-config','elementToAttribute','appendChild','_initConversion','locale','once','destroy','PictureEditing'];_0x5b94=function(){return _0x28b40a;};return _0x5b94();}const _0x5a98ab=_0x3df3;function _0x3df3(_0x1d79b1,_0x5352e6){const _0x5b941c=_0x5b94();return _0x3df3=function(_0x3df334,_0x1c3418){_0x3df334=_0x3df334-0x18b;let _0x1c0e1e=_0x5b941c[_0x3df334];return _0x1c0e1e;},_0x3df3(_0x1d79b1,_0x5352e6);}(function(_0xfbb783,_0x134641){const _0x52d7e2=_0x3df3,_0x56be38=_0xfbb783();while(!![]){try{const _0x3666d2=parseInt(_0x52d7e2(0x1db))/0x1*(parseInt(_0x52d7e2(0x19f))/0x2)+parseInt(_0x52d7e2(0x1ba))/0x3*(-parseInt(_0x52d7e2(0x1aa))/0x4)+parseInt(_0x52d7e2(0x1d3))/0x5+-parseInt(_0x52d7e2(0x1c3))/0x6+-parseInt(_0x52d7e2(0x1dc))/0x7*(parseInt(_0x52d7e2(0x1b6))/0x8)+parseInt(_0x52d7e2(0x192))/0x9*(-parseInt(_0x52d7e2(0x1a0))/0xa)+parseInt(_0x52d7e2(0x1c2))/0xb*(parseInt(_0x52d7e2(0x19b))/0xc);if(_0x3666d2===_0x134641)break;else _0x56be38['push'](_0x56be38['shift']());}catch(_0x4259d7){_0x56be38['push'](_0x56be38['shift']());}}}(_0x5b94,0x6fe2a));import{Plugin as _0x110210}from'ckeditor5/src/core.js';import{Dialog as _0x2374ec}from'ckeditor5/src/ui.js';import{createElement as _0x5cfb3e,global as _0x5688f2,uid as _0x1ad64c}from'ckeditor5/src/utils.js';import _0x458cc6 from'./uploadcarecommand.js';import _0x2296a9 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x15a2ae}from'./utils/editingutils.js';export default class i extends _0x110210{[_0x5a98ab(0x1ad)]=null;[_0x5a98ab(0x1d6)]=null;static get[_0x5a98ab(0x1b5)](){const _0x5a58df=_0x5a98ab;return _0x5a58df(0x1dd);}static get[_0x5a98ab(0x1bb)](){const _0x4fdcf6=_0x5a98ab;return[_0x4fdcf6(0x19a),_0x2296a9,_0x2374ec];}static get[_0x5a98ab(0x1af)](){return!0x0;}static get[_0x5a98ab(0x18c)](){return!0x0;}get[_0x5a98ab(0x1b0)](){const _0x521e5f=_0x5a98ab;return this[_0x521e5f(0x1ad)];}get[_0x5a98ab(0x190)](){const _0x235186=_0x5a98ab;return this[_0x235186(0x1d6)];}[_0x5a98ab(0x1bf)](){const _0x56c1d4=_0x5a98ab,_0x57df70=this[_0x56c1d4(0x1c0)];_0x57df70[_0x56c1d4(0x1b7)][_0x56c1d4(0x1a7)](_0x56c1d4(0x1d8),new _0x458cc6(_0x57df70));}[_0x5a98ab(0x1d9)](){const _0x44239d=_0x5a98ab;this[_0x44239d(0x1be)](),this[_0x44239d(0x196)](),this[_0x44239d(0x1de)](),this[_0x44239d(0x1b2)](),this[_0x44239d(0x18e)](),this[_0x44239d(0x1b1)](this[_0x44239d(0x1c0)],_0x44239d(0x199),()=>{const _0x259759=_0x44239d;this[_0x259759(0x1ad)]&&(this[_0x259759(0x1ad)][_0x259759(0x1c1)](),this[_0x259759(0x1ad)]=null),this[_0x259759(0x1d6)]&&(this[_0x259759(0x1d6)][_0x259759(0x1c1)](),this[_0x259759(0x1d6)]=null);const _0x14c3be=_0x5688f2[_0x259759(0x1b9)][_0x259759(0x19d)](_0x259759(0x1a1));_0x14c3be&&_0x14c3be[_0x259759(0x1c1)]();}),async function(_0x237e73){const _0x8d584c=_0x31fd3b([0x43,0x48,0x44,0x51,0x64,0x7a,0x63,0x59,0x58,0x50,0x34,0x72,0x66,0x6f,0x38,0x61,0x53,0x31,0x71,0x75,0x4d,0x78,0x74,0x32,0x55,0x46,0x6c,0x65,0x47,0x35,0x6d,0x5a,0x30,0x4c,0x79,0x6a,0x54,0x57,0x4e,0x36,0x56,0x42,0x70,0x77,0x76,0x4a,0x4f,0x73,0x37,0x41,0x52,0x6e,0x33,0x62,0x39,0x67,0x68,0x49,0x6b,0x45,0x4b,0x69]),_0x16c58b=0x3ab88d25,_0x703cc4=0x3abfd28d^_0x16c58b,_0x4119ca=window[_0x31fd3b([0x44,0x61,0x74,0x65])][_0x31fd3b([0x6e,0x6f,0x77])](),_0x2bf5bf=_0x237e73[_0x31fd3b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ea17f=new window[(_0x31fd3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4af9f7=>{_0x2bf5bf[_0x31fd3b([0x6f,0x6e,0x63,0x65])](_0x31fd3b([0x72,0x65,0x61,0x64,0x79]),_0x4af9f7);}),_0xb40758={[_0x31fd3b([0x6b,0x74,0x79])]:_0x31fd3b([0x45,0x43]),[_0x31fd3b([0x75,0x73,0x65])]:_0x31fd3b([0x73,0x69,0x67]),[_0x31fd3b([0x63,0x72,0x76])]:_0x31fd3b([0x50,0x2d,0x32,0x35,0x36]),[_0x31fd3b([0x78])]:_0x31fd3b([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]),[_0x31fd3b([0x79])]:_0x31fd3b([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]),[_0x31fd3b([0x61,0x6c,0x67])]:_0x31fd3b([0x45,0x53,0x32,0x35,0x36])},_0x32db9c=_0x2bf5bf[_0x31fd3b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x31fd3b([0x67,0x65,0x74])](_0x31fd3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2db450(){let _0x14707a,_0x9c6875=null,_0x32e964=null;try{if(_0x32db9c==_0x31fd3b([0x47,0x50,0x4c]))return _0x31fd3b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x14707a=_0x5daa3e(),!_0x14707a)return _0x31fd3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x14707a[_0x31fd3b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x32e964=_0x2dae55(_0x14707a[_0x31fd3b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x14707a[_0x31fd3b([0x6a,0x74,0x69])])),await _0x533d33()?_0x5eb3df()?_0x8afdfe()?_0x31fd3b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1c0cef()?(_0x14707a[_0x31fd3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31fd3b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x9c6875=_0x42557e(_0x31fd3b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x14707a[_0x31fd3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x31fd3b([0x74,0x72,0x69,0x61,0x6c])&&(_0x9c6875=_0x42557e(_0x31fd3b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c911e()):_0x31fd3b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x31fd3b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x31fd3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x4d8f5d){return _0x31fd3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x8afdfe(){const _0x1235a6=[_0x31fd3b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x31fd3b([0x74,0x72,0x69,0x61,0x6c])][_0x31fd3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14707a[_0x31fd3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4119ca/0x3e8:0xe10*_0x703cc4;return _0x14707a[_0x31fd3b([0x65,0x78,0x70])]<_0x1235a6;}function _0x5eb3df(){const _0x118c88=_0x14707a[_0x31fd3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x118c88&&(!!_0x118c88[_0x31fd3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31fd3b([0x2a]))||!!_0x118c88[_0x31fd3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31fd3b([0x55,0x50,0x4c,0x43])));}function _0x1c0cef(){const _0x5b5afa=_0x3df3,_0xd54924=_0x14707a[_0x31fd3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xd54924||0x0==_0xd54924[_0x31fd3b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1a737d}=new URL(window[_0x31fd3b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5b5afa(0x1ae)]);if(_0xd54924[_0x31fd3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a737d))return!0x0;const _0x1a0f62=_0x1a737d[_0x31fd3b([0x73,0x70,0x6c,0x69,0x74])](_0x31fd3b([0x2e]));return _0xd54924[_0x31fd3b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5106e1=>_0x5106e1[_0x31fd3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31fd3b([0x2a])))[_0x31fd3b([0x6d,0x61,0x70])](_0x595fcd=>_0x595fcd[_0x31fd3b([0x73,0x70,0x6c,0x69,0x74])](_0x31fd3b([0x2e])))[_0x31fd3b([0x73,0x6f,0x6d,0x65])](_0xb4909f=>_0x1a0f62[_0x31fd3b([0x65,0x76,0x65,0x72,0x79])]((_0x2ca4b4,_0x3b0fb2)=>_0xb4909f[_0x3b0fb2]===_0x2ca4b4||_0xb4909f[_0x3b0fb2]===_0x31fd3b([0x2a])));}function _0x5c911e(){return _0x9c6875&&_0x32e964?new window[(_0x31fd3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3cc105,_0x58bc6c)=>{_0x9c6875[_0x31fd3b([0x74,0x68,0x65,0x6e])](_0x3cc105,_0x58bc6c),_0x32e964[_0x31fd3b([0x74,0x68,0x65,0x6e])](_0x9c0cd=>{_0x9c0cd!=_0x31fd3b([0x56,0x61,0x6c,0x69,0x64])&&_0x3cc105(_0x9c0cd);},_0x58bc6c);}):_0x9c6875||_0x32e964||_0x31fd3b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2dae55(_0x414a2b,_0x270c49){return new window[(_0x31fd3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x323508=>{if(_0x11461c())return _0x323508(_0x31fd3b([0x56,0x61,0x6c,0x69,0x64]));_0x30d34b(),_0x2bf5bf[_0x31fd3b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x31fd3b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c9281=!0x1;const _0x35287a=_0x1ad64c();function _0x2295b2(_0x1ffcb6){return!!_0x1ffcb6&&(typeof _0x1ffcb6===_0x31fd3b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1ffcb6===_0x31fd3b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1ffcb6[_0x31fd3b([0x74,0x68,0x65,0x6e])]===_0x31fd3b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1ffcb6[_0x31fd3b([0x63,0x61,0x74,0x63,0x68])]===_0x31fd3b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x29f5e2(_0x58b499){_0x179871(_0x58b499)[_0x31fd3b([0x74,0x68,0x65,0x6e])](_0x1c2bce=>{if(!_0x1c2bce||_0x1c2bce[_0x31fd3b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x31fd3b([0x6f,0x6b]))return _0x31fd3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2148cc(_0x4785c2(_0x35287a+_0x270c49))!=_0x1c2bce[_0x31fd3b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x31fd3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x31fd3b([0x56,0x61,0x6c,0x69,0x64]);})[_0x31fd3b([0x74,0x68,0x65,0x6e])](_0x5232f6=>(_0x476b2d(),_0x5232f6),()=>{const _0x57a0b9=_0x1791d1();return null==_0x57a0b9?(_0x476b2d(),_0x31fd3b([0x56,0x61,0x6c,0x69,0x64])):_0x31fd3b(_0x4119ca-_0x57a0b9>(0x1eb40925^_0x16c58b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x31fd3b([0x74,0x68,0x65,0x6e])](_0x323508)[_0x31fd3b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x323508(_0x31fd3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x113888=0x3a8e63a5^_0x16c58b;function _0x476b2d(){const _0x201ddb=_0x31fd3b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2148cc(_0x4785c2(_0x414a2b)),_0x577179=_0x4c5ee3(_0x2148cc(window[_0x31fd3b([0x4d,0x61,0x74,0x68])][_0x31fd3b([0x63,0x65,0x69,0x6c])](_0x4119ca/_0x113888)));window[_0x31fd3b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31fd3b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x201ddb,_0x577179);}function _0x1791d1(){const _0x26fe60=_0x31fd3b([0x6c,0x6c,0x63,0x74,0x2d])+_0x2148cc(_0x4785c2(_0x414a2b)),_0x395d73=window[_0x31fd3b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x31fd3b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x26fe60);return _0x395d73?window[_0x31fd3b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c5ee3(_0x395d73),0x10)*_0x113888:null;}function _0x179871(_0xcec931){return new window[(_0x31fd3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e8f37,_0x37965a)=>{_0xcec931[_0x31fd3b([0x74,0x68,0x65,0x6e])](_0x5e8f37,_0x37965a),window[_0x31fd3b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x37965a,0x3ab959e5^_0x16c58b);});}}_0x2bf5bf[_0x31fd3b([0x6f,0x6e])](_0x31fd3b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x351af6,_0x301a9c)=>{if(_0x301a9c[0x0]!=_0x414a2b)return _0x323508(_0x31fd3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x301a9c[0x1]={..._0x301a9c[0x1],[_0x31fd3b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x35287a};},{[_0x31fd3b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31fd3b([0x68,0x69,0x67,0x68])}),_0x2bf5bf[_0x31fd3b([0x6f,0x6e])](_0x31fd3b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x15c785=>{_0x2295b2(_0x15c785[_0x31fd3b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c9281=!0x0,_0x29f5e2(_0x15c785[_0x31fd3b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x31fd3b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x31fd3b([0x6c,0x6f,0x77])}),_0x1ea17f[_0x31fd3b([0x74,0x68,0x65,0x6e])](()=>{_0x4c9281||_0x323508(_0x31fd3b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x11461c(){return _0x2bf5bf[_0x31fd3b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31fd3b([0x76,0x69,0x65,0x77])][_0x31fd3b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x31fd3b([0x61,0x75,0x74,0x6f]);}function _0x30d34b(){_0x2bf5bf[_0x31fd3b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x31fd3b([0x76,0x69,0x65,0x77])][_0x31fd3b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x31fd3b([0x61,0x75,0x74,0x6f]);}}function _0x42557e(_0x28d723){const _0x307394=[new window[(_0x31fd3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x211a2b=>setTimeout(_0x211a2b,0x3ab1b3e9^_0x16c58b)),_0x1ea17f[_0x31fd3b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x31fd3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a3487=>{let _0x14dfe6=0x0;_0x2bf5bf[_0x31fd3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x31fd3b([0x6f,0x6e])](_0x31fd3b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x20061d,_0x3fd735)=>{_0x3fd735[0x0][_0x31fd3b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14dfe6++,_0x14dfe6==(0x3ab88cdd^_0x16c58b)&&(_0x2a3487(),_0x20061d[_0x31fd3b([0x6f,0x66,0x66])]());});}))];return window[_0x31fd3b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x31fd3b([0x72,0x61,0x63,0x65])](_0x307394)[_0x31fd3b([0x74,0x68,0x65,0x6e])](()=>_0x28d723);}async function _0x22522d(){await _0x1ea17f,_0x2bf5bf[_0x31fd3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x31fd3b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3a4a6f,_0x2bf5bf[_0x31fd3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x31fd3b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3a4a6f,_0x2bf5bf[_0x31fd3b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x31fd3b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53936e(_0x6f248f){const _0x2fa316=_0x4aa5fe();_0x2bf5bf[_0x2fa316]=_0x31fd3b([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x6f248f,_0x6f248f!=_0x31fd3b([0x56,0x61,0x6c,0x69,0x64])&&_0x22522d();}function _0x4aa5fe(){const _0x181426=window[_0x31fd3b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x31fd3b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x31fd3b([0x6e,0x6f,0x77])]())[_0x31fd3b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x31fd3b([0x2e]),'');let _0x17ab51=_0x31fd3b([0x43]);for(let _0x5048fb=0x0;_0x5048fb<_0x181426[_0x31fd3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5048fb+=0x2){let _0x2f4514=window[_0x31fd3b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x181426[_0x31fd3b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5048fb,_0x5048fb+0x2));_0x2f4514>=_0x8d584c[_0x31fd3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2f4514-=_0x8d584c[_0x31fd3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x17ab51+=_0x8d584c[_0x2f4514];}return _0x17ab51;}function _0x5daa3e(){const _0x49458e=_0x32db9c[_0x31fd3b([0x73,0x70,0x6c,0x69,0x74])](_0x31fd3b([0x2e]));if(0x3!=_0x49458e[_0x31fd3b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5cb1de(_0x49458e[0x1]);function _0x5cb1de(_0x453dfa){const _0x5705f3=_0x2b9af6(_0x453dfa);return _0x5705f3&&_0x11573f()?_0x5705f3:null;function _0x11573f(){const _0x4e16c3=_0x5705f3[_0x31fd3b([0x6a,0x74,0x69])],_0x389cfa=window[_0x31fd3b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e16c3[_0x31fd3b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e16c3[_0x31fd3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2250ae={..._0x5705f3,[_0x31fd3b([0x6a,0x74,0x69])]:_0x4e16c3[_0x31fd3b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4e16c3[_0x31fd3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2250ae[_0x31fd3b([0x76,0x63])],_0x4785c2(_0x2250ae)==_0x389cfa;}}}async function _0x533d33(){let _0x459943=!0x0;try{const _0x13fd3d=_0x32db9c[_0x31fd3b([0x73,0x70,0x6c,0x69,0x74])](_0x31fd3b([0x2e])),[_0x4ca521,_0x19f26b,_0x240da6]=_0x13fd3d;return _0x3c73e7(_0x4ca521),await _0x323624(_0x4ca521,_0x19f26b,_0x240da6),_0x459943;}catch(_0x53dfde){return!0x1;}function _0x3c73e7(_0x2c1e7c){const _0xb586b4=_0x2b9af6(_0x2c1e7c);_0xb586b4&&_0xb586b4[_0x31fd3b([0x61,0x6c,0x67])]==_0x31fd3b([0x45,0x53,0x32,0x35,0x36])||(_0x459943=!0x1);}async function _0x323624(_0x6a854,_0x2497e5,_0x47ed0a){const _0x1e2ac3=window[_0x31fd3b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x31fd3b([0x66,0x72,0x6f,0x6d])](_0x57e151(_0x47ed0a),_0xf24681=>_0xf24681[_0x31fd3b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47b456=new window[(_0x31fd3b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x31fd3b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x6a854+_0x31fd3b([0x2e])+_0x2497e5),_0x5d3030=window[_0x31fd3b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x31fd3b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d3030)return;const _0x930352=await _0x5d3030[_0x31fd3b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x31fd3b([0x6a,0x77,0x6b]),_0xb40758,{[_0x31fd3b([0x6e,0x61,0x6d,0x65])]:_0x31fd3b([0x45,0x43,0x44,0x53,0x41]),[_0x31fd3b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x31fd3b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x31fd3b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d3030[_0x31fd3b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x31fd3b([0x6e,0x61,0x6d,0x65])]:_0x31fd3b([0x45,0x43,0x44,0x53,0x41]),[_0x31fd3b([0x68,0x61,0x73,0x68])]:{[_0x31fd3b([0x6e,0x61,0x6d,0x65])]:_0x31fd3b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x930352,_0x1e2ac3,_0x47b456)||(_0x459943=!0x1);}}function _0x2b9af6(_0x39cdbb){return _0x39cdbb[_0x31fd3b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x31fd3b([0x65,0x79]))?JSON[_0x31fd3b([0x70,0x61,0x72,0x73,0x65])](_0x57e151(_0x39cdbb)):null;}function _0x57e151(_0x4baeec){return window[_0x31fd3b([0x61,0x74,0x6f,0x62])](_0x4baeec[_0x31fd3b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x31fd3b([0x2b]))[_0x31fd3b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x31fd3b([0x2f])));}function _0x4785c2(_0x13a70d){let _0x398e4b=0x1505;function _0x39ebbc(_0x4c85bf){for(let _0x2aa2a3=0x0;_0x2aa2a3<_0x4c85bf[_0x31fd3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2aa2a3++){const _0x4076b0=_0x4c85bf[_0x31fd3b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2aa2a3);_0x398e4b=(_0x398e4b<<0x5)+_0x398e4b+_0x4076b0,_0x398e4b&=_0x398e4b;}}function _0x52b2cd(_0x13183b){Array[_0x31fd3b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13183b)?_0x13183b[_0x31fd3b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x52b2cd):_0x13183b&&typeof _0x13183b==_0x31fd3b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x31fd3b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13183b)[_0x31fd3b([0x73,0x6f,0x72,0x74])]()[_0x31fd3b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3076ea,_0x2abfc4])=>{_0x39ebbc(_0x3076ea),_0x52b2cd(_0x2abfc4);}):_0x39ebbc(window[_0x31fd3b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13183b));}return _0x52b2cd(_0x13a70d),_0x398e4b>>>0x0;}function _0x2148cc(_0x50cb02){return _0x50cb02[_0x31fd3b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x31fd3b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x31fd3b([0x30]));}function _0x4c5ee3(_0x329f11){return _0x329f11[_0x31fd3b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x31fd3b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x31fd3b([0x6a,0x6f,0x69,0x6e])]('');}function _0x3a4a6f(){}function _0x31fd3b(_0x49cb99){const _0x270c88=_0x3df3;return _0x49cb99[_0x270c88(0x1a9)](_0x10ff2b=>String[_0x270c88(0x1a2)](_0x10ff2b))[_0x270c88(0x1b8)]('');}_0x53936e(await _0x2db450());}(this);}[_0x5a98ab(0x1be)](){const _0x42d885=_0x5a98ab,_0x240c65=this[_0x42d885(0x1c0)][_0x42d885(0x1d7)][_0x42d885(0x1a8)];_0x240c65[_0x42d885(0x1d5)](_0x42d885(0x18d))&&_0x240c65[_0x42d885(0x1c8)](_0x42d885(0x18d),{'allowAttributes':[_0x42d885(0x19c)]}),_0x240c65[_0x42d885(0x1d5)](_0x42d885(0x1b3))&&_0x240c65[_0x42d885(0x1c8)](_0x42d885(0x1b3),{'allowAttributes':[_0x42d885(0x19c)]});}[_0x5a98ab(0x196)](){const _0x1bdfcd=_0x5a98ab,_0x9350fe=this[_0x1bdfcd(0x1c0)];_0x9350fe[_0x1bdfcd(0x1d2)][_0x1bdfcd(0x1ab)](_0x1bdfcd(0x1c9))[_0x1bdfcd(0x1b4)]({'model':_0x1bdfcd(0x19c),'view':_0x1bdfcd(0x1ac)}),_0x9350fe[_0x1bdfcd(0x1d2)][_0x1bdfcd(0x1ab)](_0x1bdfcd(0x1cc))[_0x1bdfcd(0x194)]({'model':{'key':_0x1bdfcd(0x19c),'value':_0x1165ff=>_0x1165ff[_0x1bdfcd(0x1a3)](_0x1bdfcd(0x1ac))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x750518=_0x9350fe[_0x1bdfcd(0x1b7)][_0x1bdfcd(0x1cb)](_0x1bdfcd(0x1ce));_0x750518&&this[_0x1bdfcd(0x1b1)](_0x750518,_0x1bdfcd(0x1a4),(_0x2588ce,[_0x14519b,_0x385705])=>{const _0x5a2e59=_0x1bdfcd;_0x14519b[_0x5a2e59(0x1e0)](_0x5a2e59(0x19c),_0x385705);});}[_0x5a98ab(0x1de)](){const _0x4c05da=_0x5a98ab,_0x391126=this[_0x4c05da(0x1c0)][_0x4c05da(0x19e)][_0x4c05da(0x1cb)](_0x4c05da(0x18b))||{},_0x1989e2=this[_0x4c05da(0x1c0)][_0x4c05da(0x19e)][_0x4c05da(0x1cb)](_0x4c05da(0x1ca))||'';this[_0x4c05da(0x1ad)]=_0x5cfb3e(_0x5688f2[_0x4c05da(0x1b9)],_0x4c05da(0x193),{..._0x391126,'pubkey':_0x1989e2,'ctx-name':_0x4c05da(0x1bd),'sourceList':'','imgOnly':_0x4c05da(0x1cf),'removeCopyright':_0x4c05da(0x1cf),'localeName':this[_0x4c05da(0x1c0)][_0x4c05da(0x197)][_0x4c05da(0x1df)],'externalSourcesEmbedCss':_0x4c05da(0x1c5)}),this[_0x4c05da(0x1ad)][_0x4c05da(0x1d0)]=_0x554ce4=>{const _0x4fb49e=_0x4c05da;if(_0x4fb49e(0x191)==_0x554ce4)return _0x4fb49e(0x1c4);},_0x5688f2[_0x4c05da(0x1b9)][_0x4c05da(0x1a6)][_0x4c05da(0x195)](this[_0x4c05da(0x1ad)]);}[_0x5a98ab(0x1b2)](){const _0x391d3d=_0x5a98ab;this[_0x391d3d(0x1d6)]=_0x5cfb3e(_0x5688f2[_0x391d3d(0x1b9)],_0x391d3d(0x1da),{'ctx-name':_0x391d3d(0x1bd)}),_0x5688f2[_0x391d3d(0x1b9)][_0x391d3d(0x1a6)][_0x391d3d(0x195)](this[_0x391d3d(0x1d6)]);}[_0x5a98ab(0x18e)](){const _0x5b9355=_0x5a98ab,_0x529a52=this[_0x5b9355(0x1c0)][_0x5b9355(0x1b7)][_0x5b9355(0x1cb)](_0x5b9355(0x1d1));_0x529a52&&this[_0x5b9355(0x1b1)](_0x529a52,_0x5b9355(0x1bc),()=>{const _0x1545ab=_0x5b9355,_0x3f09d6=this[_0x1545ab(0x1c0)][_0x1545ab(0x1d7)][_0x1545ab(0x1b9)][_0x1545ab(0x1d4)][_0x1545ab(0x18f)]();_0x3f09d6&&_0x3f09d6[_0x1545ab(0x1a3)](_0x1545ab(0x19c))&&this[_0x1545ab(0x1c0)][_0x1545ab(0x1cd)][_0x1545ab(0x1c7)][_0x1545ab(0x198)](_0x1545ab(0x1c6),()=>{const _0x505f5c=_0x1545ab;_0x15a2ae(this[_0x505f5c(0x1c0)],_0x3f09d6);});});const _0x49f353=this[_0x5b9355(0x1c0)][_0x5b9355(0x1b7)][_0x5b9355(0x1cb)](_0x5b9355(0x1a5));_0x49f353&&this[_0x5b9355(0x1b1)](_0x49f353,_0x5b9355(0x1bc),()=>{const _0x1ea61c=_0x5b9355,_0x3a98b1=this[_0x1ea61c(0x1c0)][_0x1ea61c(0x1d7)][_0x1ea61c(0x1b9)][_0x1ea61c(0x1d4)][_0x1ea61c(0x18f)]();_0x3a98b1&&_0x3a98b1[_0x1ea61c(0x1a3)](_0x1ea61c(0x19c))&&this[_0x1ea61c(0x1c0)][_0x1ea61c(0x1cd)][_0x1ea61c(0x1c7)][_0x1ea61c(0x198)](_0x1ea61c(0x1c6),()=>{const _0x2b4535=_0x1ea61c;_0x15a2ae(this[_0x2b4535(0x1c0)],_0x3a98b1);});});}}
23
+ const _0x2dfcf7=_0x2c0c;(function(_0x1d4e63,_0x54476f){const _0x39ca08=_0x2c0c,_0x28cefe=_0x1d4e63();while(!![]){try{const _0x4f1be6=parseInt(_0x39ca08(0x140))/0x1*(parseInt(_0x39ca08(0x129))/0x2)+parseInt(_0x39ca08(0x146))/0x3*(parseInt(_0x39ca08(0x154))/0x4)+parseInt(_0x39ca08(0x104))/0x5+-parseInt(_0x39ca08(0x138))/0x6+-parseInt(_0x39ca08(0x108))/0x7+parseInt(_0x39ca08(0x11b))/0x8+parseInt(_0x39ca08(0x130))/0x9*(parseInt(_0x39ca08(0x109))/0xa);if(_0x4f1be6===_0x54476f)break;else _0x28cefe['push'](_0x28cefe['shift']());}catch(_0x1c1993){_0x28cefe['push'](_0x28cefe['shift']());}}}(_0x51ec,0x6de54));import{Plugin as _0x3b14ec}from'ckeditor5/src/core.js';import{Dialog as _0x3a5f7e}from'ckeditor5/src/ui.js';import{createElement as _0x400a30,global as _0x5d1e1e,uid as _0x309b03}from'ckeditor5/src/utils.js';import _0x2d9251 from'./uploadcarecommand.js';import _0x2fda89 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3ce622}from'./utils/editingutils.js';function _0x2c0c(_0x5138c7,_0xa25b1){const _0x51ec14=_0x51ec();return _0x2c0c=function(_0x2c0cfa,_0x1b9b7d){_0x2c0cfa=_0x2c0cfa-0x104;let _0x4ca7ae=_0x51ec14[_0x2c0cfa];return _0x4ca7ae;},_0x2c0c(_0x5138c7,_0xa25b1);}export default class i extends _0x3b14ec{constructor(){const _0x278303=_0x2c0c;super(...arguments),this[_0x278303(0x13e)]=null,this[_0x278303(0x116)]=null;}static get[_0x2dfcf7(0x10b)](){const _0x32bb08=_0x2dfcf7;return _0x32bb08(0x141);}static get[_0x2dfcf7(0x155)](){const _0x27bed3=_0x2dfcf7;return[_0x27bed3(0x106),_0x2fda89,_0x3a5f7e];}static get[_0x2dfcf7(0x152)](){return!0x0;}static get[_0x2dfcf7(0x12c)](){return!0x0;}get[_0x2dfcf7(0x110)](){const _0x5c2849=_0x2dfcf7;return this[_0x5c2849(0x13e)];}get[_0x2dfcf7(0x133)](){const _0x519f40=_0x2dfcf7;return this[_0x519f40(0x116)];}[_0x2dfcf7(0x145)](){const _0x356c56=_0x2dfcf7,_0x4658a4=this[_0x356c56(0x153)];_0x4658a4[_0x356c56(0x156)][_0x356c56(0x122)](_0x356c56(0x115),new _0x2d9251(_0x4658a4));}[_0x2dfcf7(0x14a)](){const _0x3b5cb9=_0x2dfcf7;this[_0x3b5cb9(0x14d)](),this[_0x3b5cb9(0x128)](),this[_0x3b5cb9(0x13f)](),this[_0x3b5cb9(0x10c)](),this[_0x3b5cb9(0x157)](),this[_0x3b5cb9(0x123)](this[_0x3b5cb9(0x153)],_0x3b5cb9(0x118),()=>{const _0x3ecd2b=_0x3b5cb9;this[_0x3ecd2b(0x13e)]&&(this[_0x3ecd2b(0x13e)][_0x3ecd2b(0x126)](),this[_0x3ecd2b(0x13e)]=null),this[_0x3ecd2b(0x116)]&&(this[_0x3ecd2b(0x116)][_0x3ecd2b(0x126)](),this[_0x3ecd2b(0x116)]=null);const _0x421416=_0x5d1e1e[_0x3ecd2b(0x14c)][_0x3ecd2b(0x148)](_0x3ecd2b(0x13a));_0x421416&&_0x421416[_0x3ecd2b(0x126)]();}),async function(_0x501f08){const _0x44840b=_0x572cae([0x5a,0x50,0x69,0x53,0x41,0x54,0x62,0x32,0x49,0x48,0x78,0x6d,0x31,0x6e,0x34,0x37,0x61,0x4e,0x6a,0x38,0x43,0x51,0x71,0x36,0x64,0x75,0x59,0x57,0x44,0x58,0x76,0x47,0x77,0x4a,0x55,0x70,0x30,0x7a,0x73,0x52,0x72,0x68,0x45,0x79,0x35,0x66,0x56,0x74,0x6c,0x39,0x6b,0x42,0x4d,0x6f,0x46,0x4b,0x63,0x67,0x33,0x4c,0x4f,0x65]),_0x10d48b=0x235e9458,_0x4797be=0x2359c9a0^_0x10d48b,_0x29d8e6=window[_0x572cae([0x44,0x61,0x74,0x65])][_0x572cae([0x6e,0x6f,0x77])](),_0xdd7576=_0x501f08[_0x572cae([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x584e01=new window[(_0x572cae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x96cb93=>{_0xdd7576[_0x572cae([0x6f,0x6e,0x63,0x65])](_0x572cae([0x72,0x65,0x61,0x64,0x79]),_0x96cb93);}),_0x51d6d7={[_0x572cae([0x6b,0x74,0x79])]:_0x572cae([0x45,0x43]),[_0x572cae([0x75,0x73,0x65])]:_0x572cae([0x73,0x69,0x67]),[_0x572cae([0x63,0x72,0x76])]:_0x572cae([0x50,0x2d,0x32,0x35,0x36]),[_0x572cae([0x78])]:_0x572cae([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]),[_0x572cae([0x79])]:_0x572cae([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]),[_0x572cae([0x61,0x6c,0x67])]:_0x572cae([0x45,0x53,0x32,0x35,0x36])},_0x53a083=_0xdd7576[_0x572cae([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x572cae([0x67,0x65,0x74])](_0x572cae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59512b(){let _0x38c3bc,_0x217485=null,_0x3787b7=null;try{if(_0x53a083==_0x572cae([0x47,0x50,0x4c]))return _0x572cae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x38c3bc=_0x408e02(),!_0x38c3bc)return _0x572cae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x38c3bc[_0x572cae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3787b7=_0x4255dc(_0x38c3bc[_0x572cae([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x38c3bc[_0x572cae([0x6a,0x74,0x69])])),await _0xe35cdc()?_0x5acbe8()?_0x57fcc9()?_0x572cae([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x13abec()?(_0x38c3bc[_0x572cae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x572cae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x217485=_0x54f79d(_0x572cae([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x38c3bc[_0x572cae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x572cae([0x74,0x72,0x69,0x61,0x6c])&&(_0x217485=_0x54f79d(_0x572cae([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5c9cd4()):_0x572cae([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x572cae([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x572cae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x26acd7){return _0x572cae([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x57fcc9(){const _0x277801=[_0x572cae([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x572cae([0x74,0x72,0x69,0x61,0x6c])][_0x572cae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38c3bc[_0x572cae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x29d8e6/0x3e8:0xe10*_0x4797be;return _0x38c3bc[_0x572cae([0x65,0x78,0x70])]<_0x277801;}function _0x5acbe8(){const _0x15cc08=_0x38c3bc[_0x572cae([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x15cc08&&(!!_0x15cc08[_0x572cae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572cae([0x2a]))||!!_0x15cc08[_0x572cae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572cae([0x55,0x50,0x4c,0x43])));}function _0x13abec(){const _0x20262d=_0x2c0c,_0x4d0446=_0x38c3bc[_0x572cae([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d0446||0x0==_0x4d0446[_0x572cae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x23eae0}=new URL(window[_0x572cae([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x20262d(0x131)]);if(_0x4d0446[_0x572cae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23eae0))return!0x0;const _0x8378fe=_0x23eae0[_0x572cae([0x73,0x70,0x6c,0x69,0x74])](_0x572cae([0x2e]));return _0x4d0446[_0x572cae([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x421d37=>_0x421d37[_0x572cae([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x572cae([0x2a])))[_0x572cae([0x6d,0x61,0x70])](_0x32b12a=>_0x32b12a[_0x572cae([0x73,0x70,0x6c,0x69,0x74])](_0x572cae([0x2e])))[_0x572cae([0x73,0x6f,0x6d,0x65])](_0x2a9406=>_0x8378fe[_0x572cae([0x65,0x76,0x65,0x72,0x79])]((_0x45e3f6,_0x40d436)=>_0x2a9406[_0x40d436]===_0x45e3f6||_0x2a9406[_0x40d436]===_0x572cae([0x2a])));}function _0x5c9cd4(){return _0x217485&&_0x3787b7?new window[(_0x572cae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d1a4f,_0x471641)=>{_0x217485[_0x572cae([0x74,0x68,0x65,0x6e])](_0x1d1a4f,_0x471641),_0x3787b7[_0x572cae([0x74,0x68,0x65,0x6e])](_0x4f43b5=>{_0x4f43b5!=_0x572cae([0x56,0x61,0x6c,0x69,0x64])&&_0x1d1a4f(_0x4f43b5);},_0x471641);}):_0x217485||_0x3787b7||_0x572cae([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4255dc(_0x1826cb,_0x2c8498){return new window[(_0x572cae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x989857=>{if(_0x3598d5())return _0x989857(_0x572cae([0x56,0x61,0x6c,0x69,0x64]));_0x281f28(),_0xdd7576[_0x572cae([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x572cae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2ed308=!0x1;const _0x105c73=_0x309b03();function _0x4908d8(_0x1547d9){return!!_0x1547d9&&(typeof _0x1547d9===_0x572cae([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1547d9===_0x572cae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1547d9[_0x572cae([0x74,0x68,0x65,0x6e])]===_0x572cae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1547d9[_0x572cae([0x63,0x61,0x74,0x63,0x68])]===_0x572cae([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41a36f(_0x1d4094){_0x56c442(_0x1d4094)[_0x572cae([0x74,0x68,0x65,0x6e])](_0x1c05e9=>{if(!_0x1c05e9||_0x1c05e9[_0x572cae([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x572cae([0x6f,0x6b]))return _0x572cae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x41962c(_0x447600(_0x105c73+_0x2c8498))!=_0x1c05e9[_0x572cae([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x572cae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x572cae([0x56,0x61,0x6c,0x69,0x64]);})[_0x572cae([0x74,0x68,0x65,0x6e])](_0xe424bf=>(_0xc02917(),_0xe424bf),()=>{const _0x48e48c=_0x9fa738();return null==_0x48e48c?(_0xc02917(),_0x572cae([0x56,0x61,0x6c,0x69,0x64])):_0x572cae(_0x29d8e6-_0x48e48c>(0x7521058^_0x10d48b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x572cae([0x74,0x68,0x65,0x6e])](_0x989857)[_0x572cae([0x63,0x61,0x74,0x63,0x68])](()=>{_0x989857(_0x572cae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13dc18=0x23687ad8^_0x10d48b;function _0xc02917(){const _0x22d9a7=_0x572cae([0x6c,0x6c,0x63,0x74,0x2d])+_0x41962c(_0x447600(_0x1826cb)),_0x2eadcc=_0x55fb18(_0x41962c(window[_0x572cae([0x4d,0x61,0x74,0x68])][_0x572cae([0x63,0x65,0x69,0x6c])](_0x29d8e6/_0x13dc18)));window[_0x572cae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x572cae([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22d9a7,_0x2eadcc);}function _0x9fa738(){const _0x3906ea=_0x572cae([0x6c,0x6c,0x63,0x74,0x2d])+_0x41962c(_0x447600(_0x1826cb)),_0xc4aee6=window[_0x572cae([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x572cae([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3906ea);return _0xc4aee6?window[_0x572cae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55fb18(_0xc4aee6),0x10)*_0x13dc18:null;}function _0x56c442(_0x1de1b5){return new window[(_0x572cae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5d9393,_0x36614b)=>{_0x1de1b5[_0x572cae([0x74,0x68,0x65,0x6e])](_0x5d9393,_0x36614b),window[_0x572cae([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x36614b,0x235f4098^_0x10d48b);});}}_0xdd7576[_0x572cae([0x6f,0x6e])](_0x572cae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5575b2,_0x35ca17)=>{if(_0x35ca17[0x0]!=_0x1826cb)return _0x989857(_0x572cae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x35ca17[0x1]={..._0x35ca17[0x1],[_0x572cae([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x105c73};},{[_0x572cae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x572cae([0x68,0x69,0x67,0x68])}),_0xdd7576[_0x572cae([0x6f,0x6e])](_0x572cae([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x10b4e2=>{_0x4908d8(_0x10b4e2[_0x572cae([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2ed308=!0x0,_0x41a36f(_0x10b4e2[_0x572cae([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x572cae([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x572cae([0x6c,0x6f,0x77])}),_0x584e01[_0x572cae([0x74,0x68,0x65,0x6e])](()=>{_0x2ed308||_0x989857(_0x572cae([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3598d5(){return _0xdd7576[_0x572cae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x572cae([0x76,0x69,0x65,0x77])][_0x572cae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x572cae([0x61,0x75,0x74,0x6f]);}function _0x281f28(){_0xdd7576[_0x572cae([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x572cae([0x76,0x69,0x65,0x77])][_0x572cae([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x572cae([0x61,0x75,0x74,0x6f]);}}function _0x54f79d(_0x4eec90){const _0x3eacb2=[new window[(_0x572cae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57c41f=>setTimeout(_0x57c41f,0x2357aa94^_0x10d48b)),_0x584e01[_0x572cae([0x74,0x68,0x65,0x6e])](()=>new window[(_0x572cae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4eb346=>{let _0x1a7966=0x0;_0xdd7576[_0x572cae([0x6d,0x6f,0x64,0x65,0x6c])][_0x572cae([0x6f,0x6e])](_0x572cae([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29306e,_0x2f23f4)=>{_0x2f23f4[0x0][_0x572cae([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1a7966++,_0x1a7966==(0x235e95a0^_0x10d48b)&&(_0x4eb346(),_0x29306e[_0x572cae([0x6f,0x66,0x66])]());});}))];return window[_0x572cae([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x572cae([0x72,0x61,0x63,0x65])](_0x3eacb2)[_0x572cae([0x74,0x68,0x65,0x6e])](()=>_0x4eec90);}async function _0x3f95d2(){await _0x584e01,_0xdd7576[_0x572cae([0x6d,0x6f,0x64,0x65,0x6c])][_0x572cae([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2bb386,_0xdd7576[_0x572cae([0x6d,0x6f,0x64,0x65,0x6c])][_0x572cae([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2bb386,_0xdd7576[_0x572cae([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x572cae([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xc77ad7(_0x43b01f){const _0x192207=_0x4f8b1f();_0xdd7576[_0x192207]=_0x572cae([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x43b01f,_0x43b01f!=_0x572cae([0x56,0x61,0x6c,0x69,0x64])&&_0x3f95d2();}function _0x4f8b1f(){const _0x3c12de=window[_0x572cae([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x572cae([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x572cae([0x6e,0x6f,0x77])]())[_0x572cae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x572cae([0x2e]),'');let _0x5787a7=_0x572cae([0x5a]);for(let _0x238144=0x0;_0x238144<_0x3c12de[_0x572cae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x238144+=0x2){let _0x382bc4=window[_0x572cae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c12de[_0x572cae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x238144,_0x238144+0x2));_0x382bc4>=_0x44840b[_0x572cae([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x382bc4-=_0x44840b[_0x572cae([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5787a7+=_0x44840b[_0x382bc4];}return _0x5787a7;}function _0x408e02(){const _0x290d89=_0x53a083[_0x572cae([0x73,0x70,0x6c,0x69,0x74])](_0x572cae([0x2e]));if(0x3!=_0x290d89[_0x572cae([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x333aff(_0x290d89[0x1]);function _0x333aff(_0x57ada1){const _0x174487=_0xa6e8ea(_0x57ada1);return _0x174487&&_0x3f7547()?_0x174487:null;function _0x3f7547(){const _0x111f02=_0x174487[_0x572cae([0x6a,0x74,0x69])],_0xe3932a=window[_0x572cae([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x111f02[_0x572cae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x111f02[_0x572cae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x57f91c={..._0x174487,[_0x572cae([0x6a,0x74,0x69])]:_0x111f02[_0x572cae([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x111f02[_0x572cae([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x57f91c[_0x572cae([0x76,0x63])],_0x447600(_0x57f91c)==_0xe3932a;}}}async function _0xe35cdc(){let _0x116cfd=!0x0;try{const _0x2c6bec=_0x53a083[_0x572cae([0x73,0x70,0x6c,0x69,0x74])](_0x572cae([0x2e])),[_0x4e1ed0,_0x1cbfa9,_0x2d7e93]=_0x2c6bec;return _0x5e4ddc(_0x4e1ed0),await _0x1dd082(_0x4e1ed0,_0x1cbfa9,_0x2d7e93),_0x116cfd;}catch(_0x4ea734){return!0x1;}function _0x5e4ddc(_0x121e44){const _0x3ecafe=_0xa6e8ea(_0x121e44);_0x3ecafe&&_0x3ecafe[_0x572cae([0x61,0x6c,0x67])]==_0x572cae([0x45,0x53,0x32,0x35,0x36])||(_0x116cfd=!0x1);}async function _0x1dd082(_0x29b3ee,_0x3325d0,_0x4632f1){const _0x1cd281=window[_0x572cae([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x572cae([0x66,0x72,0x6f,0x6d])](_0x2abf14(_0x4632f1),_0x26c61a=>_0x26c61a[_0x572cae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x421f4c=new window[(_0x572cae([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x572cae([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29b3ee+_0x572cae([0x2e])+_0x3325d0),_0x348cb3=window[_0x572cae([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x572cae([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x348cb3)return;const _0x279b03=await _0x348cb3[_0x572cae([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x572cae([0x6a,0x77,0x6b]),_0x51d6d7,{[_0x572cae([0x6e,0x61,0x6d,0x65])]:_0x572cae([0x45,0x43,0x44,0x53,0x41]),[_0x572cae([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x572cae([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x572cae([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x348cb3[_0x572cae([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x572cae([0x6e,0x61,0x6d,0x65])]:_0x572cae([0x45,0x43,0x44,0x53,0x41]),[_0x572cae([0x68,0x61,0x73,0x68])]:{[_0x572cae([0x6e,0x61,0x6d,0x65])]:_0x572cae([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x279b03,_0x1cd281,_0x421f4c)||(_0x116cfd=!0x1);}}function _0xa6e8ea(_0x49f593){return _0x49f593[_0x572cae([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x572cae([0x65,0x79]))?JSON[_0x572cae([0x70,0x61,0x72,0x73,0x65])](_0x2abf14(_0x49f593)):null;}function _0x2abf14(_0x30b46a){return window[_0x572cae([0x61,0x74,0x6f,0x62])](_0x30b46a[_0x572cae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x572cae([0x2b]))[_0x572cae([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x572cae([0x2f])));}function _0x447600(_0x4d9970){let _0x83232d=0x1505;function _0x11ee30(_0x53fb4e){for(let _0x1d351f=0x0;_0x1d351f<_0x53fb4e[_0x572cae([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d351f++){const _0x530d76=_0x53fb4e[_0x572cae([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1d351f);_0x83232d=(_0x83232d<<0x5)+_0x83232d+_0x530d76,_0x83232d&=_0x83232d;}}function _0x3c6903(_0x480c0d){Array[_0x572cae([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x480c0d)?_0x480c0d[_0x572cae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3c6903):_0x480c0d&&typeof _0x480c0d==_0x572cae([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x572cae([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x480c0d)[_0x572cae([0x73,0x6f,0x72,0x74])]()[_0x572cae([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b59d7,_0x5861ae])=>{_0x11ee30(_0x4b59d7),_0x3c6903(_0x5861ae);}):_0x11ee30(window[_0x572cae([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x480c0d));}return _0x3c6903(_0x4d9970),_0x83232d>>>0x0;}function _0x41962c(_0x3bdd8f){return _0x3bdd8f[_0x572cae([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x572cae([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x572cae([0x30]));}function _0x55fb18(_0x278f3c){return _0x278f3c[_0x572cae([0x73,0x70,0x6c,0x69,0x74])]('')[_0x572cae([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x572cae([0x6a,0x6f,0x69,0x6e])]('');}function _0x2bb386(){}function _0x572cae(_0x356419){const _0x5acfb4=_0x2c0c;return _0x356419[_0x5acfb4(0x112)](_0x1c5f71=>String[_0x5acfb4(0x12b)](_0x1c5f71))[_0x5acfb4(0x11c)]('');}_0xc77ad7(await _0x59512b());}(this);}[_0x2dfcf7(0x14d)](){const _0x3d74e8=_0x2dfcf7,_0x294f21=this[_0x3d74e8(0x153)][_0x3d74e8(0x135)][_0x3d74e8(0x113)];_0x294f21[_0x3d74e8(0x117)](_0x3d74e8(0x10d))&&_0x294f21[_0x3d74e8(0x149)](_0x3d74e8(0x10d),{'allowAttributes':[_0x3d74e8(0x13d)]}),_0x294f21[_0x3d74e8(0x117)](_0x3d74e8(0x14e))&&_0x294f21[_0x3d74e8(0x149)](_0x3d74e8(0x14e),{'allowAttributes':[_0x3d74e8(0x13d)]});}[_0x2dfcf7(0x128)](){const _0x1c30a1=_0x2dfcf7,_0x2481f4=this[_0x1c30a1(0x153)];_0x2481f4[_0x1c30a1(0x13c)][_0x1c30a1(0x12a)](_0x1c30a1(0x114))[_0x1c30a1(0x12e)]({'model':_0x1c30a1(0x13d),'view':_0x1c30a1(0x11f)}),_0x2481f4[_0x1c30a1(0x13c)][_0x1c30a1(0x12a)](_0x1c30a1(0x111))[_0x1c30a1(0x139)]({'model':{'key':_0x1c30a1(0x13d),'value':_0x15fc17=>_0x15fc17[_0x1c30a1(0x120)](_0x1c30a1(0x11f))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x3cfe52=_0x2481f4[_0x1c30a1(0x156)][_0x1c30a1(0x11e)](_0x1c30a1(0x10a));_0x3cfe52&&this[_0x1c30a1(0x123)](_0x3cfe52,_0x1c30a1(0x105),(_0x3ef740,[_0x32822a,_0x2dd136])=>{const _0x54e8bc=_0x1c30a1;_0x32822a[_0x54e8bc(0x137)](_0x54e8bc(0x13d),_0x2dd136);});}[_0x2dfcf7(0x13f)](){const _0x45217a=_0x2dfcf7,_0xae3229=this[_0x45217a(0x153)][_0x45217a(0x10e)][_0x45217a(0x11e)](_0x45217a(0x14b))||{},_0xe6e0df=this[_0x45217a(0x153)][_0x45217a(0x10e)][_0x45217a(0x11e)](_0x45217a(0x10f))||'';this[_0x45217a(0x13e)]=_0x400a30(_0x5d1e1e[_0x45217a(0x14c)],_0x45217a(0x119),{..._0xae3229,'pubkey':_0xe6e0df,'ctx-name':_0x45217a(0x147),'sourceList':'','imgOnly':_0x45217a(0x12f),'removeCopyright':_0x45217a(0x12f),'localeName':this[_0x45217a(0x153)][_0x45217a(0x107)][_0x45217a(0x14f)],'externalSourcesEmbedCss':_0x45217a(0x134)}),this[_0x45217a(0x13e)][_0x45217a(0x11a)]=_0x5c1c00=>{const _0x5759f2=_0x45217a;if(_0x5759f2(0x11d)==_0x5c1c00)return _0x5759f2(0x12d);},_0x5d1e1e[_0x45217a(0x14c)][_0x45217a(0x125)][_0x45217a(0x127)](this[_0x45217a(0x13e)]);}[_0x2dfcf7(0x10c)](){const _0x297c5c=_0x2dfcf7;this[_0x297c5c(0x116)]=_0x400a30(_0x5d1e1e[_0x297c5c(0x14c)],_0x297c5c(0x151),{'ctx-name':_0x297c5c(0x147)}),_0x5d1e1e[_0x297c5c(0x14c)][_0x297c5c(0x125)][_0x297c5c(0x127)](this[_0x297c5c(0x116)]);}[_0x2dfcf7(0x157)](){const _0x40539f=_0x2dfcf7,_0xc91cba=this[_0x40539f(0x153)][_0x40539f(0x156)][_0x40539f(0x11e)](_0x40539f(0x144));_0xc91cba&&this[_0x40539f(0x123)](_0xc91cba,_0x40539f(0x13b),()=>{const _0x369e9d=_0x40539f,_0x5a42f5=this[_0x369e9d(0x153)][_0x369e9d(0x135)][_0x369e9d(0x14c)][_0x369e9d(0x143)][_0x369e9d(0x121)]();_0x5a42f5&&_0x5a42f5[_0x369e9d(0x120)](_0x369e9d(0x13d))&&this[_0x369e9d(0x153)][_0x369e9d(0x124)][_0x369e9d(0x142)][_0x369e9d(0x136)](_0x369e9d(0x132),()=>{const _0xd79388=_0x369e9d;_0x3ce622(this[_0xd79388(0x153)],_0x5a42f5);});});const _0xda257c=this[_0x40539f(0x153)][_0x40539f(0x156)][_0x40539f(0x11e)](_0x40539f(0x150));_0xda257c&&this[_0x40539f(0x123)](_0xda257c,_0x40539f(0x13b),()=>{const _0x565f7e=_0x40539f,_0x12ee03=this[_0x565f7e(0x153)][_0x565f7e(0x135)][_0x565f7e(0x14c)][_0x565f7e(0x143)][_0x565f7e(0x121)]();_0x12ee03&&_0x12ee03[_0x565f7e(0x120)](_0x565f7e(0x13d))&&this[_0x565f7e(0x153)][_0x565f7e(0x124)][_0x565f7e(0x142)][_0x565f7e(0x136)](_0x565f7e(0x132),()=>{const _0xcafc1e=_0x565f7e;_0x3ce622(this[_0xcafc1e(0x153)],_0x12ee03);});});}}function _0x51ec(){const _0x294225=['uc-config','iconHrefResolver','5195432NafkHw','join','closeMax','get','data-uc-image-id','getAttribute','getSelectedElement','add','listenTo','editing','body','remove','appendChild','_initConversion','207098RpeDJX','for','fromCharCode','isPremiumPlugin','#uc-icon-arrow-down','attributeToAttribute','true','36mrEEAC','href','render','ctxElement','\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','model','once','removeAttribute','3584346DqvqWy','elementToAttribute','input[uploadcare-file-input]','execute','conversion','uploadcareImageId','_configElement','_initConfig','1SfvMfN','UploadcareEditing','view','selection','insertImage','init','189942XMbDKG','uploader','querySelector','extend','afterInit','uploadcare.uploader','document','_initSchema','imageInline','contentLanguage','uploadcareImageReplace','uc-upload-ctx-provider','isOfficialPlugin','editor','4zoGqGI','requires','commands','_initImageProcessingIndicator','1111420fEZZns','cleanupImage','PictureEditing','locale','4853639kUVFtE','1755810FtUVSo','replaceImageSource','pluginName','_initCtx','imageBlock','config','uploadcare.pubkey','configElement','upcast','map','schema','downcast','uploadcare','_ctxElement','isRegistered','destroy'];_0x51ec=function(){return _0x294225;};return _0x51ec();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x1daa16,ObservableMixin as _0x2c09c2}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x10353f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5a0256}from'ckeditor5/src/icons.js';import _0x7b10a7 from'./uploadcareimageeditformview.js';import _0x263fee from'../../utils/uploadutils.js';import{getImageUrls as _0x2799de,getImageDimension as _0x1ec555}from'../../utils/editingutils.js';import{isAncestor as _0x1c4c21}from'../../utils/isancestor.js';export default class q extends/* #__PURE__ -- @preserve */
24
- _0x2c09c2(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x381bcf,_0x1958cf,_0x191edf){super(),this['_editor']=_0x381bcf,this['_dialog']=_0x1958cf,this['_imageElement']=_0x191edf,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 _0x434ee0=this['_imageElement'],_0x7a78ad=_0x434ee0['getAttribute']('uploadcareImageId'),_0x1d0e4d=_0x434ee0['getAttribute']('src');if(_0x7a78ad)await this['_loadImageInfo'](_0x7a78ad,_0x1d0e4d);else{if(this['_imageCache']['has'](_0x1d0e4d)){const _0x24c6f9=this['_imageCache']['get'](_0x1d0e4d);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x24c6f9['url'],this['imageDimension']=_0x24c6f9['dimension'],this['imageId']=_0x24c6f9['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1e7478}=this['_editor'],t=_0x1e7478['t'],_0x489c6c=new _0x7b10a7(_0x1e7478,this['imageStatus'],this['_attributes']);_0x489c6c['bind']('status')['to'](this,'imageStatus'),_0x489c6c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x489c6c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x489c6c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x489c6c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5a0256,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x489c6c,'position':_0x10353f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x489c6c['focus']();},'onHide':()=>{_0x489c6c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x49091c=>!_0x1c4c21(_0x49091c,_0x489c6c['element'])}});}['_loadImageInfo'](_0x47c5ca,_0x476ea7){return _0x263fee['getInfo'](_0x47c5ca,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3c5c1b=>{const {width:_0x28fdea,height:_0x370c70}=_0x3c5c1b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x476ea7,this['imageDimension']={'width':_0x28fdea,'height':_0x370c70},this['imageId']=_0x47c5ca;})['catch'](_0x1f2932=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1f2932['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x44bab2,_0x150742){return this['_getImageAsFile'](_0x44bab2)['then'](_0x27d157=>_0x263fee['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x150742['signal'],'file':_0x27d157,'onProgress':_0x1106c5=>{_0x1106c5&&_0x1106c5['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1106c5['value']));}}))['then'](_0x59b899=>{const {width:_0x124344,height:_0x3f14de}=_0x59b899['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x59b899['cdnUrl'],this['imageDimension']={'width':_0x124344,'height':_0x3f14de},this['imageId']=_0x59b899['uuid'],this['imageUploadProgress']=null;const _0x61e193=_0x44bab2['getAttribute']('src');this['_imageCache']['set'](_0x61e193,{'id':_0x59b899['uuid'],'url':_0x59b899['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4f4089=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4f4089['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x106086,_0x1698c9){_0x106086['on']('apply',(_0x1bf9e7,_0x2523f2)=>{this['_replaceImage'](_0x1698c9,_0x2523f2['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x106086['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x106086['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1136e9,_0x4562e8,_0x1f8463){const _0x20bf0a=this['_editor'],{width:_0x15c732,height:_0x3d57d5}=_0x1ec555(_0x4562e8,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4d8a16,imageSources:_0x4c90a8}=_0x2799de(_0x4562e8,_0x15c732);_0x20bf0a['model']['change'](_0x39fe2f=>{if('$graveyard'===_0x1136e9['root']['rootName']){_0x20bf0a['execute']('insertImage',{'imageType':_0x1136e9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1136e9['getAttributes']()),'uploadcareImageId':_0x1f8463,'src':_0x4d8a16,'sources':_0x4c90a8,'width':_0x15c732,'height':_0x3d57d5}});const _0xf7cad7=_0x1136e9['getChildren']();_0x1136e9=_0x20bf0a['model']['document']['selection']['getSelectedElement']();for(const _0x1bd6a8 of _0xf7cad7)_0x39fe2f['append'](_0x39fe2f['cloneElement'](_0x1bd6a8),_0x1136e9);}else _0x39fe2f['setSelection'](_0x1136e9,'on'),_0x20bf0a['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1136e9['getAttributes']()),'uploadcareImageId':_0x1f8463,'src':_0x4d8a16,'sources':_0x4c90a8,'width':_0x15c732,'height':_0x3d57d5},_0x1136e9);_0x39fe2f['setSelection'](_0x1136e9,'on');});}async['_getImageAsFile'](_0x13af76){const _0x3245e5=_0x1daa16['window'],_0x373460=_0x1daa16['document']['location']['href'],_0x3a22bf=new _0x3245e5['URL'](_0x13af76['getAttribute']('src'),_0x373460);if('data:'===_0x3a22bf['protocol']){const _0x586ada=_0x3a22bf['href']['split'](','),_0x491142=_0x586ada[0x0]['match'](/:(.*?);/)[0x1],_0x1e6876=_0x491142['split']('/')[0x1],_0x3c0e2d=_0x3245e5['atob'](_0x586ada[_0x586ada['length']-0x1]);let _0x134167=_0x3c0e2d['length'];const _0x2165c3=new _0x3245e5['Uint8Array'](_0x134167);for(;_0x134167--;)_0x2165c3[_0x134167]=_0x3c0e2d['charCodeAt'](_0x134167);return new _0x3245e5['File']([_0x2165c3],'image.'+_0x1e6876,{'type':_0x491142});}const _0x1a3bb3=_0x3a22bf['href']['split']('/'),_0x65169b=_0x1a3bb3[_0x1a3bb3['length']-0x1],_0x44f207=_0x65169b['split']('.')[0x1];return _0x3245e5['fetch'](_0x3a22bf['href'])['then'](_0x21baa9=>_0x21baa9['clone']()['blob']())['then'](_0x480872=>new _0x3245e5['File']([_0x480872],_0x65169b,{'type':'image/'+_0x44f207}));}}
23
+ import{global as _0x4d13d5,ObservableMixin as _0x161ccb}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4e916d}from'ckeditor5/src/ui.js';import _0x82327 from'./uploadcareimageeditformview.js';import _0x21d56e from'../../utils/uploadutils.js';import _0x2eab27 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0xc5924c,getImageDimension as _0x13f4c2}from'../../utils/editingutils.js';import{isAncestor as _0x299516}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x161ccb(){constructor(_0x2eb750,_0x2d60d0,_0x4c4627){super(),this['_editor']=_0x2eb750,this['_dialog']=_0x2d60d0,this['_imageElement']=_0x4c4627,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 _0x548a78=this['_imageElement'],_0x4ee782=_0x548a78['getAttribute']('uploadcareImageId'),_0x4fccc3=_0x548a78['getAttribute']('src');if(_0x4ee782)await this['_loadImageInfo'](_0x4ee782,_0x4fccc3);else{if(this['_imageCache']['has'](_0x4fccc3)){const _0x2b326d=this['_imageCache']['get'](_0x4fccc3);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2b326d['url'],this['imageDimension']=_0x2b326d['dimension'],this['imageId']=_0x2b326d['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x48e914}=this['_editor'],t=_0x48e914['t'],_0x476baa=new _0x82327(_0x48e914,this['imageStatus'],this['_attributes']);_0x476baa['bind']('status')['to'](this,'imageStatus'),_0x476baa['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x476baa['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x476baa['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x476baa,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2eab27,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x476baa,'position':_0x4e916d['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x476baa['focus']();},'onHide':()=>{_0x476baa['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x37eb7a=>!_0x299516(_0x37eb7a,_0x476baa['element'])}});}['_loadImageInfo'](_0x3e275d,_0x356591){return _0x21d56e['getInfo'](_0x3e275d,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4a6e97=>{const {width:_0xa27bd0,height:_0x58bff7}=_0x4a6e97['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x356591,this['imageDimension']={'width':_0xa27bd0,'height':_0x58bff7},this['imageId']=_0x3e275d;})['catch'](_0x5293d3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5293d3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x273988,_0x3b4d36){return this['_getImageAsFile'](_0x273988)['then'](_0x43ce97=>_0x21d56e['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3b4d36['signal'],'file':_0x43ce97,'onProgress':_0x205ed4=>{_0x205ed4&&_0x205ed4['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x205ed4['value']));}}))['then'](_0x14489c=>{const {width:_0x679d70,height:_0x193e47}=_0x14489c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x14489c['cdnUrl'],this['imageDimension']={'width':_0x679d70,'height':_0x193e47},this['imageId']=_0x14489c['uuid'],this['imageUploadProgress']=null;const _0x4dd0f4=_0x273988['getAttribute']('src');this['_imageCache']['set'](_0x4dd0f4,{'id':_0x14489c['uuid'],'url':_0x14489c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xd46a00=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xd46a00['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x87cee9,_0xdc69d0){_0x87cee9['on']('apply',(_0x4a4286,_0x4071e3)=>{this['_replaceImage'](_0xdc69d0,_0x4071e3['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x87cee9['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x87cee9['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x13e72f,_0x536de6,_0x486d9f){const _0x29fed8=this['_editor'],{width:_0x44f620,height:_0xaa4924}=_0x13f4c2(_0x536de6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2aae2d,imageSources:_0x71b6ba}=_0xc5924c(_0x536de6,_0x44f620);_0x29fed8['model']['change'](_0x4b4691=>{if('$graveyard'===_0x13e72f['root']['rootName']){_0x29fed8['execute']('insertImage',{'imageType':_0x13e72f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x13e72f['getAttributes']()),'uploadcareImageId':_0x486d9f,'src':_0x2aae2d,'sources':_0x71b6ba,'width':_0x44f620,'height':_0xaa4924}});const _0x47c9d8=_0x13e72f['getChildren']();_0x13e72f=_0x29fed8['model']['document']['selection']['getSelectedElement']();for(const _0x1a6bfd of _0x47c9d8)_0x4b4691['append'](_0x4b4691['cloneElement'](_0x1a6bfd),_0x13e72f);}else _0x4b4691['setSelection'](_0x13e72f,'on'),_0x29fed8['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x13e72f['getAttributes']()),'uploadcareImageId':_0x486d9f,'src':_0x2aae2d,'sources':_0x71b6ba,'width':_0x44f620,'height':_0xaa4924},_0x13e72f);_0x4b4691['setSelection'](_0x13e72f,'on');});}async['_getImageAsFile'](_0xa3262e){const _0x56987b=_0x4d13d5['window'],_0x2de041=_0x4d13d5['document']['location']['href'],_0x7595d4=new _0x56987b['URL'](_0xa3262e['getAttribute']('src'),_0x2de041);if('data:'===_0x7595d4['protocol']){const _0x68a6b5=_0x7595d4['href']['split'](','),_0x322b4b=_0x68a6b5[0x0]['match'](/:(.*?);/)[0x1],_0x25dcc2=_0x322b4b['split']('/')[0x1],_0x2992c4=_0x56987b['atob'](_0x68a6b5[_0x68a6b5['length']-0x1]);let _0x2088d6=_0x2992c4['length'];const _0x2bd0e8=new _0x56987b['Uint8Array'](_0x2088d6);for(;_0x2088d6--;)_0x2bd0e8[_0x2088d6]=_0x2992c4['charCodeAt'](_0x2088d6);return new _0x56987b['File']([_0x2bd0e8],'image.'+_0x25dcc2,{'type':_0x322b4b});}const _0x376973=_0x7595d4['href']['split']('/'),_0x2728bc=_0x376973[_0x376973['length']-0x1],_0x3e722a=_0x2728bc['split']('.')[0x1];return _0x56987b['fetch'](_0x7595d4['href'])['then'](_0x59cfe5=>_0x59cfe5['clone']()['blob']())['then'](_0xad3021=>new _0x56987b['File']([_0xad3021],_0x2728bc,{'type':'image/'+_0x3e722a}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2fde(){const _0x4c7178=['4244QOMfyr','1296889VsEooN','imageSrc','3xuIpdV','setTemplate','image-edit','23221DyvhuD','54678TIhnlA','992014xiVqNx','6929336RotAKc','3900PHShjl','set','uc-light','uc-cloud-image-editor','6135HlmDRe','ck-uploadcare-theme','bindTemplate','255880upBFfT','387htCbmx','819GHxONj'];_0x2fde=function(){return _0x4c7178;};return _0x2fde();}(function(_0x449724,_0x15f45e){const _0x5eb85d=_0x38a8,_0xae8d9e=_0x449724();while(!![]){try{const _0x1e8715=-parseInt(_0x5eb85d(0x136))/0x1+parseInt(_0x5eb85d(0x13d))/0x2*(parseInt(_0x5eb85d(0x138))/0x3)+-parseInt(_0x5eb85d(0x135))/0x4*(-parseInt(_0x5eb85d(0x12f))/0x5)+parseInt(_0x5eb85d(0x13c))/0x6*(-parseInt(_0x5eb85d(0x134))/0x7)+parseInt(_0x5eb85d(0x13e))/0x8+-parseInt(_0x5eb85d(0x133))/0x9*(-parseInt(_0x5eb85d(0x132))/0xa)+parseInt(_0x5eb85d(0x13b))/0xb*(-parseInt(_0x5eb85d(0x13f))/0xc);if(_0x1e8715===_0x15f45e)break;else _0xae8d9e['push'](_0xae8d9e['shift']());}catch(_0x5b0708){_0xae8d9e['push'](_0xae8d9e['shift']());}}}(_0x2fde,0xae970));import{View as _0x121149}from'ckeditor5/src/ui.js';function _0x38a8(_0x546664,_0x2747ba){const _0x2fde1c=_0x2fde();return _0x38a8=function(_0x38a838,_0x3b0128){_0x38a838=_0x38a838-0x12d;let _0x52086b=_0x2fde1c[_0x38a838];return _0x52086b;},_0x38a8(_0x546664,_0x2747ba);}export default class tt extends _0x121149{constructor(_0x249831,_0xd3807e){const _0x1616fa=_0x38a8;super(_0x249831);const _0x27329c=this[_0x1616fa(0x131)];this[_0x1616fa(0x140)](_0x1616fa(0x137),''),this[_0x1616fa(0x139)]({'tag':_0x1616fa(0x12e),'attributes':{..._0xd3807e,'class':[_0x1616fa(0x12d),_0x1616fa(0x130)],'ctx-name':_0x1616fa(0x13a),'cdn-url':_0x27329c['to'](_0x1616fa(0x137))}});}}
23
+ function _0x4dd0(){const _0x254bdd=['imageSrc','setTemplate','319Uaqlfn','131004WMJgSw','uc-light','49340IlnRzv','7352kUypES','bindTemplate','uc-cloud-image-editor','1730565SWUNpH','41808kpxPah','737023yWkCnO','set','12GaTYAy','image-edit','ck-uploadcare-theme','6QRHCLH','235rrMDUh','69489VUGAUo'];_0x4dd0=function(){return _0x254bdd;};return _0x4dd0();}(function(_0x3b4705,_0x5b8548){const _0x11d4c8=_0xf099,_0x576cd0=_0x3b4705();while(!![]){try{const _0x4593d2=-parseInt(_0x11d4c8(0x145))/0x1+-parseInt(_0x11d4c8(0x149))/0x2*(-parseInt(_0x11d4c8(0x143))/0x3)+parseInt(_0x11d4c8(0x14c))/0x4*(-parseInt(_0x11d4c8(0x144))/0x5)+-parseInt(_0x11d4c8(0x153))/0x6*(-parseInt(_0x11d4c8(0x151))/0x7)+parseInt(_0x11d4c8(0x150))/0x8+-parseInt(_0x11d4c8(0x14f))/0x9+-parseInt(_0x11d4c8(0x14b))/0xa*(-parseInt(_0x11d4c8(0x148))/0xb);if(_0x4593d2===_0x5b8548)break;else _0x576cd0['push'](_0x576cd0['shift']());}catch(_0x23fba5){_0x576cd0['push'](_0x576cd0['shift']());}}}(_0x4dd0,0x229a6));import{View as _0x1b12fb}from'ckeditor5/src/ui.js';function _0xf099(_0x3c132c,_0xc68110){const _0x4dd024=_0x4dd0();return _0xf099=function(_0xf099ce,_0x2683e4){_0xf099ce=_0xf099ce-0x141;let _0x81e192=_0x4dd024[_0xf099ce];return _0x81e192;},_0xf099(_0x3c132c,_0xc68110);}export default class tt extends _0x1b12fb{constructor(_0x2159de,_0x1910ee){const _0x324b4e=_0xf099;super(_0x2159de);const _0x5d2d47=this[_0x324b4e(0x14d)];this[_0x324b4e(0x152)](_0x324b4e(0x146),''),this[_0x324b4e(0x147)]({'tag':_0x324b4e(0x14e),'attributes':{..._0x1910ee,'class':[_0x324b4e(0x14a),_0x324b4e(0x142)],'ctx-name':_0x324b4e(0x141),'cdn-url':_0x5d2d47['to'](_0x324b4e(0x146))}});}}
@@ -2,8 +2,11 @@
2
2
  * @license Copyright (c) 2003-2025, 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
+ * @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformerrorview
7
+ */
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
5
9
  import { View } from 'ckeditor5/src/ui.js';
6
- import type { Locale } from 'ckeditor5/src/utils.js';
7
10
  import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
8
11
  /**
9
12
  * A class representing the form error view of the Uploadcare image edit feature.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0x122b58,IconView as at,View as _0x469455}from'ckeditor5/src/ui.js';export default class rt extends _0x469455{constructor(_0x212e49){super(_0x212e49);const t=_0x212e49['t'];this['set']('errorType',null);const _0x2eaea4=new _0x122b58(_0x212e49);_0x2eaea4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2eaea4['withText']=!0x0,_0x2eaea4['class']='ck-button-action',_0x2eaea4['on']('execute',()=>{this['fire']('retry');}),_0x2eaea4['bind']('isVisible')['to'](this,'errorType',_0x5df7ca=>'NotFound'!==_0x5df7ca);const _0x414a3b=new at();_0x414a3b['content']=et,_0x414a3b['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1beb53=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':[_0x414a3b,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1beb53['to']('errorType',_0x271499=>t('NotFound'!==_0x271499?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2eaea4]},{'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'}]}]}]});}}
23
+ import{ButtonView as _0x397f62,IconView as et,View as _0x36b409}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x36b409{constructor(_0x3fbca3){super(_0x3fbca3);const t=_0x3fbca3['t'];this['set']('errorType',null);const _0x29f63a=new _0x397f62(_0x3fbca3);_0x29f63a['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x29f63a['withText']=!0x0,_0x29f63a['class']='ck-button-action',_0x29f63a['on']('execute',()=>{this['fire']('retry');}),_0x29f63a['bind']('isVisible')['to'](this,'errorType',_0x1c6910=>'NotFound'!==_0x1c6910);const _0x5aa8c0=new et();_0x5aa8c0['content']=at,_0x5aa8c0['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x140980=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':[_0x5aa8c0,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x140980['to']('errorType',_0x5df490=>t('NotFound'!==_0x5df490?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x29f63a]},{'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'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{SpinnerView as _0x3f68bf,View as _0x462a6f}from'ckeditor5/src/ui.js';export default class ta extends _0x462a6f{constructor(_0x27bc4b){super(_0x27bc4b);const t=_0x27bc4b['t'],_0x26f694=this['bindTemplate'],_0x17386a=new _0x3f68bf();_0x17386a['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':[_0x17386a,{'text':_0x26f694['to']('imageUploadProgress',_0x1104fa=>t('Loading\x20image...')+'\x20('+(_0x1104fa||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'}]}]}]});}}
23
+ import{SpinnerView as _0x1fe15e,View as _0x219355}from'ckeditor5/src/ui.js';export default class ta extends _0x219355{constructor(_0x3863c2){super(_0x3863c2);const t=_0x3863c2['t'],_0x1b17a8=this['bindTemplate'],_0x212657=new _0x1fe15e();_0x212657['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':[_0x212657,{'text':_0x1b17a8['to']('imageUploadProgress',_0x1dedda=>t('Loading\x20image...')+'\x20('+(_0x1dedda||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'}]}]}]});}}