@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20250217.0 → 0.0.0-nightly-20250218.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 (403) hide show
  1. package/LICENSE.md +5 -0
  2. package/README.md +16 -5
  3. package/build/translations/af.js +1 -0
  4. package/build/translations/ar.js +1 -0
  5. package/build/translations/ast.js +1 -0
  6. package/build/translations/az.js +1 -0
  7. package/build/translations/bg.js +1 -0
  8. package/build/translations/bn.js +1 -0
  9. package/build/translations/bs.js +1 -0
  10. package/build/translations/ca.js +1 -0
  11. package/build/translations/cs.js +1 -0
  12. package/build/translations/da.js +1 -0
  13. package/build/translations/de-ch.js +1 -0
  14. package/build/translations/de.js +1 -0
  15. package/build/translations/el.js +1 -0
  16. package/build/translations/en-au.js +1 -0
  17. package/build/translations/en-gb.js +1 -0
  18. package/build/translations/eo.js +1 -0
  19. package/build/translations/es-co.js +1 -0
  20. package/build/translations/es.js +1 -0
  21. package/build/translations/et.js +1 -0
  22. package/build/translations/eu.js +1 -0
  23. package/build/translations/fa.js +1 -0
  24. package/build/translations/fi.js +1 -0
  25. package/build/translations/fr.js +1 -0
  26. package/build/translations/gl.js +1 -0
  27. package/build/translations/gu.js +1 -0
  28. package/build/translations/he.js +1 -0
  29. package/build/translations/hi.js +1 -0
  30. package/build/translations/hr.js +1 -0
  31. package/build/translations/hu.js +1 -0
  32. package/build/translations/hy.js +1 -0
  33. package/build/translations/id.js +1 -0
  34. package/build/translations/it.js +1 -0
  35. package/build/translations/ja.js +1 -0
  36. package/build/translations/jv.js +1 -0
  37. package/build/translations/kk.js +1 -0
  38. package/build/translations/km.js +1 -0
  39. package/build/translations/kn.js +1 -0
  40. package/build/translations/ko.js +1 -0
  41. package/build/translations/ku.js +1 -0
  42. package/build/translations/lt.js +1 -0
  43. package/build/translations/lv.js +1 -0
  44. package/build/translations/ms.js +1 -0
  45. package/build/translations/nb.js +1 -0
  46. package/build/translations/ne.js +1 -0
  47. package/build/translations/nl.js +1 -0
  48. package/build/translations/no.js +1 -0
  49. package/build/translations/oc.js +1 -0
  50. package/build/translations/pl.js +1 -0
  51. package/build/translations/pt-br.js +1 -0
  52. package/build/translations/pt.js +1 -0
  53. package/build/translations/ro.js +1 -0
  54. package/build/translations/ru.js +1 -0
  55. package/build/translations/si.js +1 -0
  56. package/build/translations/sk.js +1 -0
  57. package/build/translations/sl.js +1 -0
  58. package/build/translations/sq.js +1 -0
  59. package/build/translations/sr-latn.js +1 -0
  60. package/build/translations/sr.js +1 -0
  61. package/build/translations/sv.js +1 -0
  62. package/build/translations/th.js +1 -0
  63. package/build/translations/ti.js +1 -0
  64. package/build/translations/tk.js +1 -0
  65. package/build/translations/tr.js +1 -0
  66. package/build/translations/tt.js +1 -0
  67. package/build/translations/ug.js +1 -0
  68. package/build/translations/uk.js +1 -0
  69. package/build/translations/ur.js +1 -0
  70. package/build/translations/uz.js +1 -0
  71. package/build/translations/vi.js +1 -0
  72. package/build/translations/zh-cn.js +1 -0
  73. package/build/translations/zh.js +1 -0
  74. package/build/uploadcare.js +2 -1
  75. package/ckeditor5-metadata.json +1 -1
  76. package/dist/index.js +3 -3
  77. package/dist/translations/af.d.ts +8 -0
  78. package/dist/translations/af.js +23 -0
  79. package/dist/translations/af.umd.js +23 -0
  80. package/dist/translations/ar.d.ts +8 -0
  81. package/dist/translations/ar.js +23 -0
  82. package/dist/translations/ar.umd.js +23 -0
  83. package/dist/translations/ast.d.ts +8 -0
  84. package/dist/translations/ast.js +23 -0
  85. package/dist/translations/ast.umd.js +23 -0
  86. package/dist/translations/az.d.ts +8 -0
  87. package/dist/translations/az.js +23 -0
  88. package/dist/translations/az.umd.js +23 -0
  89. package/dist/translations/bg.d.ts +8 -0
  90. package/dist/translations/bg.js +23 -0
  91. package/dist/translations/bg.umd.js +23 -0
  92. package/dist/translations/bn.d.ts +8 -0
  93. package/dist/translations/bn.js +23 -0
  94. package/dist/translations/bn.umd.js +23 -0
  95. package/dist/translations/bs.d.ts +8 -0
  96. package/dist/translations/bs.js +23 -0
  97. package/dist/translations/bs.umd.js +23 -0
  98. package/dist/translations/ca.d.ts +8 -0
  99. package/dist/translations/ca.js +23 -0
  100. package/dist/translations/ca.umd.js +23 -0
  101. package/dist/translations/cs.d.ts +8 -0
  102. package/dist/translations/cs.js +23 -0
  103. package/dist/translations/cs.umd.js +23 -0
  104. package/dist/translations/da.d.ts +8 -0
  105. package/dist/translations/da.js +23 -0
  106. package/dist/translations/da.umd.js +23 -0
  107. package/dist/translations/de-ch.d.ts +8 -0
  108. package/dist/translations/de-ch.js +23 -0
  109. package/dist/translations/de-ch.umd.js +23 -0
  110. package/dist/translations/de.d.ts +8 -0
  111. package/dist/translations/de.js +23 -0
  112. package/dist/translations/de.umd.js +23 -0
  113. package/dist/translations/el.d.ts +8 -0
  114. package/dist/translations/el.js +23 -0
  115. package/dist/translations/el.umd.js +23 -0
  116. package/dist/translations/en-au.d.ts +8 -0
  117. package/dist/translations/en-au.js +23 -0
  118. package/dist/translations/en-au.umd.js +23 -0
  119. package/dist/translations/en-gb.d.ts +8 -0
  120. package/dist/translations/en-gb.js +23 -0
  121. package/dist/translations/en-gb.umd.js +23 -0
  122. package/dist/translations/en.d.ts +8 -0
  123. package/dist/translations/en.js +23 -0
  124. package/dist/translations/en.umd.js +23 -0
  125. package/dist/translations/eo.d.ts +8 -0
  126. package/dist/translations/eo.js +23 -0
  127. package/dist/translations/eo.umd.js +23 -0
  128. package/dist/translations/es-co.d.ts +8 -0
  129. package/dist/translations/es-co.js +23 -0
  130. package/dist/translations/es-co.umd.js +23 -0
  131. package/dist/translations/es.d.ts +8 -0
  132. package/dist/translations/es.js +23 -0
  133. package/dist/translations/es.umd.js +23 -0
  134. package/dist/translations/et.d.ts +8 -0
  135. package/dist/translations/et.js +23 -0
  136. package/dist/translations/et.umd.js +23 -0
  137. package/dist/translations/eu.d.ts +8 -0
  138. package/dist/translations/eu.js +23 -0
  139. package/dist/translations/eu.umd.js +23 -0
  140. package/dist/translations/fa.d.ts +8 -0
  141. package/dist/translations/fa.js +23 -0
  142. package/dist/translations/fa.umd.js +23 -0
  143. package/dist/translations/fi.d.ts +8 -0
  144. package/dist/translations/fi.js +23 -0
  145. package/dist/translations/fi.umd.js +23 -0
  146. package/dist/translations/fr.d.ts +8 -0
  147. package/dist/translations/fr.js +23 -0
  148. package/dist/translations/fr.umd.js +23 -0
  149. package/dist/translations/gl.d.ts +8 -0
  150. package/dist/translations/gl.js +23 -0
  151. package/dist/translations/gl.umd.js +23 -0
  152. package/dist/translations/gu.d.ts +8 -0
  153. package/dist/translations/gu.js +23 -0
  154. package/dist/translations/gu.umd.js +23 -0
  155. package/dist/translations/he.d.ts +8 -0
  156. package/dist/translations/he.js +23 -0
  157. package/dist/translations/he.umd.js +23 -0
  158. package/dist/translations/hi.d.ts +8 -0
  159. package/dist/translations/hi.js +23 -0
  160. package/dist/translations/hi.umd.js +23 -0
  161. package/dist/translations/hr.d.ts +8 -0
  162. package/dist/translations/hr.js +23 -0
  163. package/dist/translations/hr.umd.js +23 -0
  164. package/dist/translations/hu.d.ts +8 -0
  165. package/dist/translations/hu.js +23 -0
  166. package/dist/translations/hu.umd.js +23 -0
  167. package/dist/translations/hy.d.ts +8 -0
  168. package/dist/translations/hy.js +23 -0
  169. package/dist/translations/hy.umd.js +23 -0
  170. package/dist/translations/id.d.ts +8 -0
  171. package/dist/translations/id.js +23 -0
  172. package/dist/translations/id.umd.js +23 -0
  173. package/dist/translations/it.d.ts +8 -0
  174. package/dist/translations/it.js +23 -0
  175. package/dist/translations/it.umd.js +23 -0
  176. package/dist/translations/ja.d.ts +8 -0
  177. package/dist/translations/ja.js +23 -0
  178. package/dist/translations/ja.umd.js +23 -0
  179. package/dist/translations/jv.d.ts +8 -0
  180. package/dist/translations/jv.js +23 -0
  181. package/dist/translations/jv.umd.js +23 -0
  182. package/dist/translations/kk.d.ts +8 -0
  183. package/dist/translations/kk.js +23 -0
  184. package/dist/translations/kk.umd.js +23 -0
  185. package/dist/translations/km.d.ts +8 -0
  186. package/dist/translations/km.js +23 -0
  187. package/dist/translations/km.umd.js +23 -0
  188. package/dist/translations/kn.d.ts +8 -0
  189. package/dist/translations/kn.js +23 -0
  190. package/dist/translations/kn.umd.js +23 -0
  191. package/dist/translations/ko.d.ts +8 -0
  192. package/dist/translations/ko.js +23 -0
  193. package/dist/translations/ko.umd.js +23 -0
  194. package/dist/translations/ku.d.ts +8 -0
  195. package/dist/translations/ku.js +23 -0
  196. package/dist/translations/ku.umd.js +23 -0
  197. package/dist/translations/lt.d.ts +8 -0
  198. package/dist/translations/lt.js +23 -0
  199. package/dist/translations/lt.umd.js +23 -0
  200. package/dist/translations/lv.d.ts +8 -0
  201. package/dist/translations/lv.js +23 -0
  202. package/dist/translations/lv.umd.js +23 -0
  203. package/dist/translations/ms.d.ts +8 -0
  204. package/dist/translations/ms.js +23 -0
  205. package/dist/translations/ms.umd.js +23 -0
  206. package/dist/translations/nb.d.ts +8 -0
  207. package/dist/translations/nb.js +23 -0
  208. package/dist/translations/nb.umd.js +23 -0
  209. package/dist/translations/ne.d.ts +8 -0
  210. package/dist/translations/ne.js +23 -0
  211. package/dist/translations/ne.umd.js +23 -0
  212. package/dist/translations/nl.d.ts +8 -0
  213. package/dist/translations/nl.js +23 -0
  214. package/dist/translations/nl.umd.js +23 -0
  215. package/dist/translations/no.d.ts +8 -0
  216. package/dist/translations/no.js +23 -0
  217. package/dist/translations/no.umd.js +23 -0
  218. package/dist/translations/oc.d.ts +8 -0
  219. package/dist/translations/oc.js +23 -0
  220. package/dist/translations/oc.umd.js +23 -0
  221. package/dist/translations/pl.d.ts +8 -0
  222. package/dist/translations/pl.js +23 -0
  223. package/dist/translations/pl.umd.js +23 -0
  224. package/dist/translations/pt-br.d.ts +8 -0
  225. package/dist/translations/pt-br.js +23 -0
  226. package/dist/translations/pt-br.umd.js +23 -0
  227. package/dist/translations/pt.d.ts +8 -0
  228. package/dist/translations/pt.js +23 -0
  229. package/dist/translations/pt.umd.js +23 -0
  230. package/dist/translations/ro.d.ts +8 -0
  231. package/dist/translations/ro.js +23 -0
  232. package/dist/translations/ro.umd.js +23 -0
  233. package/dist/translations/ru.d.ts +8 -0
  234. package/dist/translations/ru.js +23 -0
  235. package/dist/translations/ru.umd.js +23 -0
  236. package/dist/translations/si.d.ts +8 -0
  237. package/dist/translations/si.js +23 -0
  238. package/dist/translations/si.umd.js +23 -0
  239. package/dist/translations/sk.d.ts +8 -0
  240. package/dist/translations/sk.js +23 -0
  241. package/dist/translations/sk.umd.js +23 -0
  242. package/dist/translations/sl.d.ts +8 -0
  243. package/dist/translations/sl.js +23 -0
  244. package/dist/translations/sl.umd.js +23 -0
  245. package/dist/translations/sq.d.ts +8 -0
  246. package/dist/translations/sq.js +23 -0
  247. package/dist/translations/sq.umd.js +23 -0
  248. package/dist/translations/sr-latn.d.ts +8 -0
  249. package/dist/translations/sr-latn.js +23 -0
  250. package/dist/translations/sr-latn.umd.js +23 -0
  251. package/dist/translations/sr.d.ts +8 -0
  252. package/dist/translations/sr.js +23 -0
  253. package/dist/translations/sr.umd.js +23 -0
  254. package/dist/translations/sv.d.ts +8 -0
  255. package/dist/translations/sv.js +23 -0
  256. package/dist/translations/sv.umd.js +23 -0
  257. package/dist/translations/th.d.ts +8 -0
  258. package/dist/translations/th.js +23 -0
  259. package/dist/translations/th.umd.js +23 -0
  260. package/dist/translations/ti.d.ts +8 -0
  261. package/dist/translations/ti.js +23 -0
  262. package/dist/translations/ti.umd.js +23 -0
  263. package/dist/translations/tk.d.ts +8 -0
  264. package/dist/translations/tk.js +23 -0
  265. package/dist/translations/tk.umd.js +23 -0
  266. package/dist/translations/tr.d.ts +8 -0
  267. package/dist/translations/tr.js +23 -0
  268. package/dist/translations/tr.umd.js +23 -0
  269. package/dist/translations/tt.d.ts +8 -0
  270. package/dist/translations/tt.js +23 -0
  271. package/dist/translations/tt.umd.js +23 -0
  272. package/dist/translations/ug.d.ts +8 -0
  273. package/dist/translations/ug.js +23 -0
  274. package/dist/translations/ug.umd.js +23 -0
  275. package/dist/translations/uk.d.ts +8 -0
  276. package/dist/translations/uk.js +23 -0
  277. package/dist/translations/uk.umd.js +23 -0
  278. package/dist/translations/ur.d.ts +8 -0
  279. package/dist/translations/ur.js +23 -0
  280. package/dist/translations/ur.umd.js +23 -0
  281. package/dist/translations/uz.d.ts +8 -0
  282. package/dist/translations/uz.js +23 -0
  283. package/dist/translations/uz.umd.js +23 -0
  284. package/dist/translations/vi.d.ts +8 -0
  285. package/dist/translations/vi.js +23 -0
  286. package/dist/translations/vi.umd.js +23 -0
  287. package/dist/translations/zh-cn.d.ts +8 -0
  288. package/dist/translations/zh-cn.js +23 -0
  289. package/dist/translations/zh-cn.umd.js +23 -0
  290. package/dist/translations/zh.d.ts +8 -0
  291. package/dist/translations/zh.js +23 -0
  292. package/dist/translations/zh.umd.js +23 -0
  293. package/lang/contexts.json +0 -3
  294. package/lang/translations/af.po +100 -0
  295. package/lang/translations/ar.po +100 -0
  296. package/lang/translations/ast.po +100 -0
  297. package/lang/translations/az.po +100 -0
  298. package/lang/translations/bg.po +100 -0
  299. package/lang/translations/bn.po +100 -0
  300. package/lang/translations/bs.po +100 -0
  301. package/lang/translations/ca.po +100 -0
  302. package/lang/translations/cs.po +100 -0
  303. package/lang/translations/da.po +100 -0
  304. package/lang/translations/de-ch.po +100 -0
  305. package/lang/translations/de.po +100 -0
  306. package/lang/translations/el.po +100 -0
  307. package/lang/translations/en-au.po +100 -0
  308. package/lang/translations/en-gb.po +100 -0
  309. package/lang/translations/en.po +100 -0
  310. package/lang/translations/eo.po +100 -0
  311. package/lang/translations/es-co.po +100 -0
  312. package/lang/translations/es.po +100 -0
  313. package/lang/translations/et.po +100 -0
  314. package/lang/translations/eu.po +100 -0
  315. package/lang/translations/fa.po +100 -0
  316. package/lang/translations/fi.po +100 -0
  317. package/lang/translations/fr.po +100 -0
  318. package/lang/translations/gl.po +100 -0
  319. package/lang/translations/gu.po +100 -0
  320. package/lang/translations/he.po +100 -0
  321. package/lang/translations/hi.po +100 -0
  322. package/lang/translations/hr.po +100 -0
  323. package/lang/translations/hu.po +100 -0
  324. package/lang/translations/hy.po +100 -0
  325. package/lang/translations/id.po +100 -0
  326. package/lang/translations/it.po +100 -0
  327. package/lang/translations/ja.po +100 -0
  328. package/lang/translations/jv.po +100 -0
  329. package/lang/translations/kk.po +100 -0
  330. package/lang/translations/km.po +100 -0
  331. package/lang/translations/kn.po +100 -0
  332. package/lang/translations/ko.po +100 -0
  333. package/lang/translations/ku.po +100 -0
  334. package/lang/translations/lt.po +100 -0
  335. package/lang/translations/lv.po +100 -0
  336. package/lang/translations/ms.po +100 -0
  337. package/lang/translations/nb.po +100 -0
  338. package/lang/translations/ne.po +100 -0
  339. package/lang/translations/nl.po +100 -0
  340. package/lang/translations/no.po +100 -0
  341. package/lang/translations/oc.po +100 -0
  342. package/lang/translations/pl.po +100 -0
  343. package/lang/translations/pt-br.po +100 -0
  344. package/lang/translations/pt.po +100 -0
  345. package/lang/translations/ro.po +100 -0
  346. package/lang/translations/ru.po +100 -0
  347. package/lang/translations/si.po +100 -0
  348. package/lang/translations/sk.po +100 -0
  349. package/lang/translations/sl.po +100 -0
  350. package/lang/translations/sq.po +100 -0
  351. package/lang/translations/sr-latn.po +100 -0
  352. package/lang/translations/sr.po +100 -0
  353. package/lang/translations/sv.po +100 -0
  354. package/lang/translations/th.po +100 -0
  355. package/lang/translations/ti.po +100 -0
  356. package/lang/translations/tk.po +100 -0
  357. package/lang/translations/tr.po +100 -0
  358. package/lang/translations/tt.po +100 -0
  359. package/lang/translations/ug.po +100 -0
  360. package/lang/translations/uk.po +100 -0
  361. package/lang/translations/ur.po +100 -0
  362. package/lang/translations/uz.po +100 -0
  363. package/lang/translations/vi.po +100 -0
  364. package/lang/translations/zh-cn.po +100 -0
  365. package/lang/translations/zh.po +100 -0
  366. package/package.json +8 -9
  367. package/src/index.js +1 -1
  368. package/src/ui/uploadcarecontroller.d.ts +6 -2
  369. package/src/ui/uploadcarecontroller.js +2 -2
  370. package/src/ui/uploadcareformview.js +1 -1
  371. package/src/uploadcare.js +1 -1
  372. package/src/uploadcarecommand.js +1 -1
  373. package/src/uploadcareconfig.d.ts +9 -8
  374. package/src/uploadcareconfig.js +1 -1
  375. package/src/uploadcareediting.js +1 -1
  376. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  377. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  378. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +4 -1
  379. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  380. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  381. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  382. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  383. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  384. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  385. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  386. package/src/uploadcareimageedit.js +1 -1
  387. package/src/uploadcareui.js +1 -1
  388. package/src/uploadcareuploadadapter.js +1 -1
  389. package/src/utils/common-translations.js +1 -1
  390. package/src/utils/dialogfocusmanagerview.js +1 -1
  391. package/src/utils/editingutils.js +1 -1
  392. package/src/utils/isancestor.js +1 -1
  393. package/src/utils/uploadutils.js +1 -1
  394. package/theme/icons/dropbox.svg +11 -0
  395. package/theme/icons/error.svg +1 -0
  396. package/theme/icons/facebook.svg +11 -0
  397. package/theme/icons/google-drive.svg +11 -0
  398. package/theme/icons/google-photos.svg +11 -0
  399. package/theme/icons/image-upload.svg +11 -0
  400. package/theme/icons/link.svg +11 -0
  401. package/theme/icons/local.svg +11 -0
  402. package/theme/icons/onedrive.svg +11 -0
  403. package/theme/icons/uploadcare-image-edit.svg +11 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36de28=_0x40e0;(function(_0x435f9e,_0x2ce0bd){const _0x413db9=_0x40e0,_0x398199=_0x435f9e();while(!![]){try{const _0x1382df=-parseInt(_0x413db9(0xb8))/0x1+-parseInt(_0x413db9(0xc5))/0x2+-parseInt(_0x413db9(0x8a))/0x3+parseInt(_0x413db9(0xc2))/0x4+parseInt(_0x413db9(0x93))/0x5*(-parseInt(_0x413db9(0x9b))/0x6)+parseInt(_0x413db9(0xa2))/0x7*(parseInt(_0x413db9(0xd5))/0x8)+parseInt(_0x413db9(0xa5))/0x9;if(_0x1382df===_0x2ce0bd)break;else _0x398199['push'](_0x398199['shift']());}catch(_0x5dada0){_0x398199['push'](_0x398199['shift']());}}}(_0x2ff3,0xab76c));function _0x2ff3(){const _0x135181=['once','editing','requires','uc-upload-ctx-provider','model','configElement','\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','replaceImageSource','true','appendChild','downcast','uploadcareImageId','contentLanguage','uploadcare.pubkey','document','_configElement','uploadcareImageReplace','config','681804OAXXbP','insertImage','attributeToAttribute','isOfficialPlugin','removeAttribute','pluginName','conversion','map','add','querySelector','3984944ThGBZe','destroy','getAttribute','2778260olGoCs','fromCharCode','ctxElement','afterInit','init','execute','uploader','_initConfig','extend','schema','body','render','UploadcareEditing','uc-config','imageBlock','iconHrefResolver','16AoDnDw','get','href','editor','view','join','remove','getSelectedElement','3427890CrUZpO','imageInline','locale','listenTo','_initImageProcessingIndicator','data-uc-image-id','selection','_initConversion','#uc-icon-arrow-down','20kqQwfc','isPremiumPlugin','_ctxElement','uploadcare','PictureEditing','cleanupImage','_initCtx','closeMax','1046592aRidCn','for','uploadcare.uploader','elementToAttribute','isRegistered','commands','_initSchema','893445swAifC','upcast','input[uploadcare-file-input]','30258918MRGgao'];_0x2ff3=function(){return _0x135181;};return _0x2ff3();}import{Plugin as _0x3e45ef}from'ckeditor5/src/core.js';function _0x40e0(_0xcc7625,_0x4985e4){const _0x2ff3a6=_0x2ff3();return _0x40e0=function(_0x40e0ca,_0x797ce1){_0x40e0ca=_0x40e0ca-0x85;let _0x42c1c1=_0x2ff3a6[_0x40e0ca];return _0x42c1c1;},_0x40e0(_0xcc7625,_0x4985e4);}import{Dialog as _0x26085c}from'ckeditor5/src/ui.js';import{createElement as _0x1a6e33,global as _0x52aafd,uid as _0x349875}from'ckeditor5/src/utils.js';import _0x340ead from'./uploadcarecommand.js';import _0x5d3b40 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xd066e5}from'./utils/editingutils.js';export default class i extends _0x3e45ef{[_0x36de28(0xb5)]=null;[_0x36de28(0x95)]=null;static get[_0x36de28(0xbd)](){const _0x4e73af=_0x36de28;return _0x4e73af(0xd1);}static get[_0x36de28(0xa8)](){const _0x21e63d=_0x36de28;return[_0x21e63d(0x97),_0x5d3b40,_0x26085c];}static get[_0x36de28(0xbb)](){return!0x0;}static get[_0x36de28(0x94)](){return!0x0;}get[_0x36de28(0xab)](){const _0x386ad4=_0x36de28;return this[_0x386ad4(0xb5)];}get[_0x36de28(0xc7)](){const _0x398a9e=_0x36de28;return this[_0x398a9e(0x95)];}[_0x36de28(0xc9)](){const _0x5392f9=_0x36de28,_0x3843e6=this[_0x5392f9(0x85)];_0x3843e6[_0x5392f9(0xa0)][_0x5392f9(0xc0)](_0x5392f9(0x96),new _0x340ead(_0x3843e6));}[_0x36de28(0xc8)](){const _0x513b6f=_0x36de28;this[_0x513b6f(0xa1)](),this[_0x513b6f(0x91)](),this[_0x513b6f(0xcc)](),this[_0x513b6f(0x99)](),this[_0x513b6f(0x8e)](),this[_0x513b6f(0x8d)](this[_0x513b6f(0x85)],_0x513b6f(0xc3),()=>{const _0x384403=_0x513b6f;this[_0x384403(0xb5)]&&(this[_0x384403(0xb5)][_0x384403(0x88)](),this[_0x384403(0xb5)]=null),this[_0x384403(0x95)]&&(this[_0x384403(0x95)][_0x384403(0x88)](),this[_0x384403(0x95)]=null);const _0x31e28a=_0x52aafd[_0x384403(0xb4)][_0x384403(0xc1)](_0x384403(0xa4));_0x31e28a&&_0x31e28a[_0x384403(0x88)]();}),async function(_0x1beeaf){const _0x49f14c=_0x24ab9e([0x70,0x75,0x79,0x53,0x6f,0x41,0x4f,0x32,0x43,0x76,0x5a,0x55,0x62,0x74,0x71,0x72,0x65,0x46,0x38,0x56,0x39,0x50,0x4a,0x73,0x7a,0x58,0x68,0x6d,0x63,0x64,0x4b,0x59,0x6c,0x78,0x61,0x54,0x44,0x34,0x69,0x33,0x52,0x6a,0x6e,0x77,0x6b,0x35,0x4c,0x49,0x48,0x57,0x31,0x66,0x51,0x36,0x37,0x47,0x30,0x45,0x42,0x4d,0x4e,0x67]),_0x1a20ee=0x2a97ded1,_0x53ae02=0x2a908111^_0x1a20ee,_0x200b45=window[_0x24ab9e([0x44,0x61,0x74,0x65])][_0x24ab9e([0x6e,0x6f,0x77])](),_0x5f5a43=_0x1beeaf[_0x24ab9e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x532651=new window[(_0x24ab9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b9818=>{_0x5f5a43[_0x24ab9e([0x6f,0x6e,0x63,0x65])](_0x24ab9e([0x72,0x65,0x61,0x64,0x79]),_0x2b9818);}),_0x26f4dc={[_0x24ab9e([0x6b,0x74,0x79])]:_0x24ab9e([0x45,0x43]),[_0x24ab9e([0x75,0x73,0x65])]:_0x24ab9e([0x73,0x69,0x67]),[_0x24ab9e([0x63,0x72,0x76])]:_0x24ab9e([0x50,0x2d,0x32,0x35,0x36]),[_0x24ab9e([0x78])]:_0x24ab9e([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]),[_0x24ab9e([0x79])]:_0x24ab9e([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]),[_0x24ab9e([0x61,0x6c,0x67])]:_0x24ab9e([0x45,0x53,0x32,0x35,0x36])},_0x18c00f=_0x5f5a43[_0x24ab9e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x24ab9e([0x67,0x65,0x74])](_0x24ab9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x12e1b9(){let _0x1c378a,_0x413f64=null,_0x768daa=null;try{if(_0x18c00f==_0x24ab9e([0x47,0x50,0x4c]))return _0x24ab9e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c378a=_0x47aab3(),!_0x1c378a)return _0x24ab9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c378a[_0x24ab9e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x768daa=_0x42897a(_0x1c378a[_0x24ab9e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c378a[_0x24ab9e([0x6a,0x74,0x69])])),await _0x1f8772()?_0x362c76()?_0x44245a()?_0x24ab9e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3e9589()?(_0x1c378a[_0x24ab9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24ab9e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x413f64=_0x576241(_0x24ab9e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c378a[_0x24ab9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x24ab9e([0x74,0x72,0x69,0x61,0x6c])&&(_0x413f64=_0x576241(_0x24ab9e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x52f577()):_0x24ab9e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x24ab9e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x24ab9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0xfc54e){return _0x24ab9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x44245a(){const _0x129886=[_0x24ab9e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x24ab9e([0x74,0x72,0x69,0x61,0x6c])][_0x24ab9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c378a[_0x24ab9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x200b45/0x3e8:0xe10*_0x53ae02;return _0x1c378a[_0x24ab9e([0x65,0x78,0x70])]<_0x129886;}function _0x362c76(){const _0x14898d=_0x1c378a[_0x24ab9e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x14898d&&(!!_0x14898d[_0x24ab9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24ab9e([0x2a]))||!!_0x14898d[_0x24ab9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24ab9e([0x55,0x50,0x4c,0x43])));}function _0x3e9589(){const _0x259e27=_0x40e0,_0x59997d=_0x1c378a[_0x24ab9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59997d||0x0==_0x59997d[_0x24ab9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xfa2df0}=new URL(window[_0x24ab9e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x259e27(0xd7)]);if(_0x59997d[_0x24ab9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xfa2df0))return!0x0;const _0x1042a9=_0xfa2df0[_0x24ab9e([0x73,0x70,0x6c,0x69,0x74])](_0x24ab9e([0x2e]));return _0x59997d[_0x24ab9e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a4cb2=>_0x5a4cb2[_0x24ab9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x24ab9e([0x2a])))[_0x24ab9e([0x6d,0x61,0x70])](_0x369afc=>_0x369afc[_0x24ab9e([0x73,0x70,0x6c,0x69,0x74])](_0x24ab9e([0x2e])))[_0x24ab9e([0x73,0x6f,0x6d,0x65])](_0x414a2e=>_0x1042a9[_0x24ab9e([0x65,0x76,0x65,0x72,0x79])]((_0x376669,_0x2afaea)=>_0x414a2e[_0x2afaea]===_0x376669||_0x414a2e[_0x2afaea]===_0x24ab9e([0x2a])));}function _0x52f577(){return _0x413f64&&_0x768daa?new window[(_0x24ab9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x304e5e,_0x4647ad)=>{_0x413f64[_0x24ab9e([0x74,0x68,0x65,0x6e])](_0x304e5e,_0x4647ad),_0x768daa[_0x24ab9e([0x74,0x68,0x65,0x6e])](_0x3ac279=>{_0x3ac279!=_0x24ab9e([0x56,0x61,0x6c,0x69,0x64])&&_0x304e5e(_0x3ac279);},_0x4647ad);}):_0x413f64||_0x768daa||_0x24ab9e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x42897a(_0x6129f5,_0x3c2e23){return new window[(_0x24ab9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x270711=>{if(_0x946b44())return _0x270711(_0x24ab9e([0x56,0x61,0x6c,0x69,0x64]));_0x4b7092(),_0x5f5a43[_0x24ab9e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x24ab9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x363546=!0x1;const _0xb1a37d=_0x349875();function _0x2e1fdd(_0x3cb056){return!!_0x3cb056&&(typeof _0x3cb056===_0x24ab9e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3cb056===_0x24ab9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3cb056[_0x24ab9e([0x74,0x68,0x65,0x6e])]===_0x24ab9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3cb056[_0x24ab9e([0x63,0x61,0x74,0x63,0x68])]===_0x24ab9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x499afd(_0x33f57d){_0x2ec3d5(_0x33f57d)[_0x24ab9e([0x74,0x68,0x65,0x6e])](_0x11d3e1=>{if(!_0x11d3e1||_0x11d3e1[_0x24ab9e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x24ab9e([0x6f,0x6b]))return _0x24ab9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1ec18c(_0xf15712(_0xb1a37d+_0x3c2e23))!=_0x11d3e1[_0x24ab9e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x24ab9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x24ab9e([0x56,0x61,0x6c,0x69,0x64]);})[_0x24ab9e([0x74,0x68,0x65,0x6e])](_0x3de68e=>(_0x841dde(),_0x3de68e),()=>{const _0x21c8be=_0x1e90a3();return null==_0x21c8be?(_0x841dde(),_0x24ab9e([0x56,0x61,0x6c,0x69,0x64])):_0x24ab9e(_0x200b45-_0x21c8be>(0xe9b5ad1^_0x1a20ee)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x24ab9e([0x74,0x68,0x65,0x6e])](_0x270711)[_0x24ab9e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x270711(_0x24ab9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x58b8e0=0x2aa13051^_0x1a20ee;function _0x841dde(){const _0x3d75de=_0x24ab9e([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ec18c(_0xf15712(_0x6129f5)),_0x3ba0e3=_0xaaf5ad(_0x1ec18c(window[_0x24ab9e([0x4d,0x61,0x74,0x68])][_0x24ab9e([0x63,0x65,0x69,0x6c])](_0x200b45/_0x58b8e0)));window[_0x24ab9e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24ab9e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d75de,_0x3ba0e3);}function _0x1e90a3(){const _0x3bcb14=_0x24ab9e([0x6c,0x6c,0x63,0x74,0x2d])+_0x1ec18c(_0xf15712(_0x6129f5)),_0x284658=window[_0x24ab9e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x24ab9e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3bcb14);return _0x284658?window[_0x24ab9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xaaf5ad(_0x284658),0x10)*_0x58b8e0:null;}function _0x2ec3d5(_0x2700ef){return new window[(_0x24ab9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30ead7,_0x1d27ee)=>{_0x2700ef[_0x24ab9e([0x74,0x68,0x65,0x6e])](_0x30ead7,_0x1d27ee),window[_0x24ab9e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d27ee,0x2a960a11^_0x1a20ee);});}}_0x5f5a43[_0x24ab9e([0x6f,0x6e])](_0x24ab9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd337b2,_0x221cf1)=>{if(_0x221cf1[0x0]!=_0x6129f5)return _0x270711(_0x24ab9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x221cf1[0x1]={..._0x221cf1[0x1],[_0x24ab9e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb1a37d};},{[_0x24ab9e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24ab9e([0x68,0x69,0x67,0x68])}),_0x5f5a43[_0x24ab9e([0x6f,0x6e])](_0x24ab9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f8555=>{_0x2e1fdd(_0x4f8555[_0x24ab9e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x363546=!0x0,_0x499afd(_0x4f8555[_0x24ab9e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x24ab9e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x24ab9e([0x6c,0x6f,0x77])}),_0x532651[_0x24ab9e([0x74,0x68,0x65,0x6e])](()=>{_0x363546||_0x270711(_0x24ab9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x946b44(){return _0x5f5a43[_0x24ab9e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24ab9e([0x76,0x69,0x65,0x77])][_0x24ab9e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x24ab9e([0x61,0x75,0x74,0x6f]);}function _0x4b7092(){_0x5f5a43[_0x24ab9e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x24ab9e([0x76,0x69,0x65,0x77])][_0x24ab9e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x24ab9e([0x61,0x75,0x74,0x6f]);}}function _0x576241(_0x231c9a){const _0x135cb1=[new window[(_0x24ab9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20369b=>setTimeout(_0x20369b,0x2a9ee01d^_0x1a20ee)),_0x532651[_0x24ab9e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x24ab9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x304208=>{let _0x2616df=0x0;_0x5f5a43[_0x24ab9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x24ab9e([0x6f,0x6e])](_0x24ab9e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5b2e06,_0x3f4d87)=>{_0x3f4d87[0x0][_0x24ab9e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2616df++,_0x2616df==(0x2a97df29^_0x1a20ee)&&(_0x304208(),_0x5b2e06[_0x24ab9e([0x6f,0x66,0x66])]());});}))];return window[_0x24ab9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x24ab9e([0x72,0x61,0x63,0x65])](_0x135cb1)[_0x24ab9e([0x74,0x68,0x65,0x6e])](()=>_0x231c9a);}async function _0x5d1f6a(){await _0x532651,_0x5f5a43[_0x24ab9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x24ab9e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x141d6a,_0x5f5a43[_0x24ab9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x24ab9e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x141d6a,_0x5f5a43[_0x24ab9e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24ab9e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x30455d(_0x3b575a){const _0x257b1d=_0x15fc11();_0x5f5a43[_0x257b1d]=_0x24ab9e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3b575a,_0x3b575a!=_0x24ab9e([0x56,0x61,0x6c,0x69,0x64])&&_0x5d1f6a();}function _0x15fc11(){const _0x4fcbc4=window[_0x24ab9e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x24ab9e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x24ab9e([0x6e,0x6f,0x77])]())[_0x24ab9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x24ab9e([0x2e]),'');let _0x3ca9bc=_0x24ab9e([0x70]);for(let _0x502cb1=0x0;_0x502cb1<_0x4fcbc4[_0x24ab9e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x502cb1+=0x2){let _0x81982e=window[_0x24ab9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4fcbc4[_0x24ab9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x502cb1,_0x502cb1+0x2));_0x81982e>=_0x49f14c[_0x24ab9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x81982e-=_0x49f14c[_0x24ab9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ca9bc+=_0x49f14c[_0x81982e];}return _0x3ca9bc;}function _0x47aab3(){const _0x3e83b2=_0x18c00f[_0x24ab9e([0x73,0x70,0x6c,0x69,0x74])](_0x24ab9e([0x2e]));if(0x3!=_0x3e83b2[_0x24ab9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x530bda(_0x3e83b2[0x1]);function _0x530bda(_0x2dd851){const _0x18475c=_0x51eee5(_0x2dd851);return _0x18475c&&_0x2983a7()?_0x18475c:null;function _0x2983a7(){const _0x5a1767=_0x18475c[_0x24ab9e([0x6a,0x74,0x69])],_0x5de04f=window[_0x24ab9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a1767[_0x24ab9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a1767[_0x24ab9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3380e5={..._0x18475c,[_0x24ab9e([0x6a,0x74,0x69])]:_0x5a1767[_0x24ab9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a1767[_0x24ab9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3380e5[_0x24ab9e([0x76,0x63])],_0xf15712(_0x3380e5)==_0x5de04f;}}}async function _0x1f8772(){let _0x22bed9=!0x0;try{const _0x4d3cd1=_0x18c00f[_0x24ab9e([0x73,0x70,0x6c,0x69,0x74])](_0x24ab9e([0x2e])),[_0x5791df,_0x245fc8,_0x4de8b9]=_0x4d3cd1;return _0x3a948d(_0x5791df),await _0x3a7ab8(_0x5791df,_0x245fc8,_0x4de8b9),_0x22bed9;}catch(_0x3b69c0){return!0x1;}function _0x3a948d(_0x3671bd){const _0x204e9b=_0x51eee5(_0x3671bd);_0x204e9b&&_0x204e9b[_0x24ab9e([0x61,0x6c,0x67])]==_0x24ab9e([0x45,0x53,0x32,0x35,0x36])||(_0x22bed9=!0x1);}async function _0x3a7ab8(_0x45cb8e,_0x42d73f,_0x4b04b2){const _0xae1886=window[_0x24ab9e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x24ab9e([0x66,0x72,0x6f,0x6d])](_0x39d8f7(_0x4b04b2),_0x2770f1=>_0x2770f1[_0x24ab9e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x26f1d8=new window[(_0x24ab9e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x24ab9e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x45cb8e+_0x24ab9e([0x2e])+_0x42d73f),_0x3633d3=window[_0x24ab9e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x24ab9e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3633d3)return;const _0x587566=await _0x3633d3[_0x24ab9e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x24ab9e([0x6a,0x77,0x6b]),_0x26f4dc,{[_0x24ab9e([0x6e,0x61,0x6d,0x65])]:_0x24ab9e([0x45,0x43,0x44,0x53,0x41]),[_0x24ab9e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x24ab9e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x24ab9e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3633d3[_0x24ab9e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x24ab9e([0x6e,0x61,0x6d,0x65])]:_0x24ab9e([0x45,0x43,0x44,0x53,0x41]),[_0x24ab9e([0x68,0x61,0x73,0x68])]:{[_0x24ab9e([0x6e,0x61,0x6d,0x65])]:_0x24ab9e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x587566,_0xae1886,_0x26f1d8)||(_0x22bed9=!0x1);}}function _0x51eee5(_0x2c98e4){return _0x2c98e4[_0x24ab9e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x24ab9e([0x65,0x79]))?JSON[_0x24ab9e([0x70,0x61,0x72,0x73,0x65])](_0x39d8f7(_0x2c98e4)):null;}function _0x39d8f7(_0x2e1a88){return window[_0x24ab9e([0x61,0x74,0x6f,0x62])](_0x2e1a88[_0x24ab9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x24ab9e([0x2b]))[_0x24ab9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x24ab9e([0x2f])));}function _0xf15712(_0x54fa30){let _0x2d3419=0x1505;function _0x360f24(_0x4c50c0){for(let _0x2d061e=0x0;_0x2d061e<_0x4c50c0[_0x24ab9e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2d061e++){const _0x5747a8=_0x4c50c0[_0x24ab9e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2d061e);_0x2d3419=(_0x2d3419<<0x5)+_0x2d3419+_0x5747a8,_0x2d3419&=_0x2d3419;}}function _0x4b579e(_0x39bbeb){Array[_0x24ab9e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x39bbeb)?_0x39bbeb[_0x24ab9e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b579e):_0x39bbeb&&typeof _0x39bbeb==_0x24ab9e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x24ab9e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x39bbeb)[_0x24ab9e([0x73,0x6f,0x72,0x74])]()[_0x24ab9e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4ad005,_0x10b63a])=>{_0x360f24(_0x4ad005),_0x4b579e(_0x10b63a);}):_0x360f24(window[_0x24ab9e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x39bbeb));}return _0x4b579e(_0x54fa30),_0x2d3419>>>0x0;}function _0x1ec18c(_0x21c2a5){return _0x21c2a5[_0x24ab9e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x24ab9e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x24ab9e([0x30]));}function _0xaaf5ad(_0x285f54){return _0x285f54[_0x24ab9e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x24ab9e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x24ab9e([0x6a,0x6f,0x69,0x6e])]('');}function _0x141d6a(){}function _0x24ab9e(_0x890ffa){const _0x37164f=_0x40e0;return _0x890ffa[_0x37164f(0xbf)](_0x1c0688=>String[_0x37164f(0xc6)](_0x1c0688))[_0x37164f(0x87)]('');}_0x30455d(await _0x12e1b9());}(this);}[_0x36de28(0xa1)](){const _0x41a5bd=_0x36de28,_0x16022e=this[_0x41a5bd(0x85)][_0x41a5bd(0xaa)][_0x41a5bd(0xce)];_0x16022e[_0x41a5bd(0x9f)](_0x41a5bd(0xd3))&&_0x16022e[_0x41a5bd(0xcd)](_0x41a5bd(0xd3),{'allowAttributes':[_0x41a5bd(0xb1)]}),_0x16022e[_0x41a5bd(0x9f)](_0x41a5bd(0x8b))&&_0x16022e[_0x41a5bd(0xcd)](_0x41a5bd(0x8b),{'allowAttributes':[_0x41a5bd(0xb1)]});}[_0x36de28(0x91)](){const _0x5b86d7=_0x36de28,_0x34500a=this[_0x5b86d7(0x85)];_0x34500a[_0x5b86d7(0xbe)][_0x5b86d7(0x9c)](_0x5b86d7(0xb0))[_0x5b86d7(0xba)]({'model':_0x5b86d7(0xb1),'view':_0x5b86d7(0x8f)}),_0x34500a[_0x5b86d7(0xbe)][_0x5b86d7(0x9c)](_0x5b86d7(0xa3))[_0x5b86d7(0x9e)]({'model':{'key':_0x5b86d7(0xb1),'value':_0x4afae5=>_0x4afae5[_0x5b86d7(0xc4)](_0x5b86d7(0x8f))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x244d7c=_0x34500a[_0x5b86d7(0xa0)][_0x5b86d7(0xd6)](_0x5b86d7(0xad));_0x244d7c&&this[_0x5b86d7(0x8d)](_0x244d7c,_0x5b86d7(0x98),(_0x48e38a,[_0x3f2e54,_0x236670])=>{const _0x4a7643=_0x5b86d7;_0x3f2e54[_0x4a7643(0xbc)](_0x4a7643(0xb1),_0x236670);});}[_0x36de28(0xcc)](){const _0x48b22b=_0x36de28,_0xb7076=this[_0x48b22b(0x85)][_0x48b22b(0xb7)][_0x48b22b(0xd6)](_0x48b22b(0x9d))||{},_0x1e30fd=this[_0x48b22b(0x85)][_0x48b22b(0xb7)][_0x48b22b(0xd6)](_0x48b22b(0xb3))||'';this[_0x48b22b(0xb5)]=_0x1a6e33(_0x52aafd[_0x48b22b(0xb4)],_0x48b22b(0xd2),{..._0xb7076,'pubkey':_0x1e30fd,'ctx-name':_0x48b22b(0xcb),'sourceList':'','imgOnly':_0x48b22b(0xae),'removeCopyright':_0x48b22b(0xae),'localeName':this[_0x48b22b(0x85)][_0x48b22b(0x8c)][_0x48b22b(0xb2)],'externalSourcesEmbedCss':_0x48b22b(0xac)}),this[_0x48b22b(0xb5)][_0x48b22b(0xd4)]=_0x35cdea=>{const _0x4e3f92=_0x48b22b;if(_0x4e3f92(0x9a)==_0x35cdea)return _0x4e3f92(0x92);},_0x52aafd[_0x48b22b(0xb4)][_0x48b22b(0xcf)][_0x48b22b(0xaf)](this[_0x48b22b(0xb5)]);}[_0x36de28(0x99)](){const _0x4ba214=_0x36de28;this[_0x4ba214(0x95)]=_0x1a6e33(_0x52aafd[_0x4ba214(0xb4)],_0x4ba214(0xa9),{'ctx-name':_0x4ba214(0xcb)}),_0x52aafd[_0x4ba214(0xb4)][_0x4ba214(0xcf)][_0x4ba214(0xaf)](this[_0x4ba214(0x95)]);}[_0x36de28(0x8e)](){const _0x78bf2b=_0x36de28,_0x84f403=this[_0x78bf2b(0x85)][_0x78bf2b(0xa0)][_0x78bf2b(0xd6)](_0x78bf2b(0xb9));_0x84f403&&this[_0x78bf2b(0x8d)](_0x84f403,_0x78bf2b(0xca),()=>{const _0x5f0e26=_0x78bf2b,_0x362557=this[_0x5f0e26(0x85)][_0x5f0e26(0xaa)][_0x5f0e26(0xb4)][_0x5f0e26(0x90)][_0x5f0e26(0x89)]();_0x362557&&_0x362557[_0x5f0e26(0xc4)](_0x5f0e26(0xb1))&&this[_0x5f0e26(0x85)][_0x5f0e26(0xa7)][_0x5f0e26(0x86)][_0x5f0e26(0xa6)](_0x5f0e26(0xd0),()=>{const _0x52452f=_0x5f0e26;_0xd066e5(this[_0x52452f(0x85)],_0x362557);});});const _0x22dcda=this[_0x78bf2b(0x85)][_0x78bf2b(0xa0)][_0x78bf2b(0xd6)](_0x78bf2b(0xb6));_0x22dcda&&this[_0x78bf2b(0x8d)](_0x22dcda,_0x78bf2b(0xca),()=>{const _0x283323=_0x78bf2b,_0xced04=this[_0x283323(0x85)][_0x283323(0xaa)][_0x283323(0xb4)][_0x283323(0x90)][_0x283323(0x89)]();_0xced04&&_0xced04[_0x283323(0xc4)](_0x283323(0xb1))&&this[_0x283323(0x85)][_0x283323(0xa7)][_0x283323(0x86)][_0x283323(0xa6)](_0x283323(0xd0),()=>{const _0x44c4f0=_0x283323;_0xd066e5(this[_0x44c4f0(0x85)],_0xced04);});});}}
23
+ const _0x2d1635=_0x46ec;(function(_0x3861cc,_0x3eea91){const _0x39e804=_0x46ec,_0x3d9f94=_0x3861cc();while(!![]){try{const _0x545f0d=parseInt(_0x39e804(0x15e))/0x1*(-parseInt(_0x39e804(0x123))/0x2)+-parseInt(_0x39e804(0x132))/0x3+parseInt(_0x39e804(0x135))/0x4*(parseInt(_0x39e804(0x127))/0x5)+-parseInt(_0x39e804(0x137))/0x6+-parseInt(_0x39e804(0x162))/0x7+parseInt(_0x39e804(0x133))/0x8*(-parseInt(_0x39e804(0x168))/0x9)+parseInt(_0x39e804(0x12b))/0xa*(parseInt(_0x39e804(0x160))/0xb);if(_0x545f0d===_0x3eea91)break;else _0x3d9f94['push'](_0x3d9f94['shift']());}catch(_0x101426){_0x3d9f94['push'](_0x3d9f94['shift']());}}}(_0x3a01,0x49cdf));function _0x3a01(){const _0x29fd0a=['uploadcareImageReplace','appendChild','render','insertImage','schema','uploadcare','document','imageInline','uploadcareImageId','cleanupImage','editing','getAttribute','fromCharCode','execute','PictureEditing','2pJcwnb','extend','64185lOpGWT','model','3694621gUXZhb','listenTo','attributeToAttribute','_ctxElement','uc-upload-ctx-provider','_initCtx','12393FKOeZk','view','init','contentLanguage','closeMax','replaceImageSource','_initImageProcessingIndicator','map','upcast','isPremiumPlugin','conversion','href','remove','isOfficialPlugin','body','\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','368472LqaVEv','uploadcare.pubkey','pluginName','querySelector','45XKwOlW','_initConfig','_configElement','uc-config','3260kLIbJt','requires','destroy','getSelectedElement','input[uploadcare-file-input]','#uc-icon-arrow-down','commands','625692czchEL','2008FDctck','locale','98004CSPWCR','uploader','2219700KrcRJi','elementToAttribute','ctxElement','isRegistered','selection','_initSchema','config','get','removeAttribute','configElement','once','iconHrefResolver','afterInit','_initConversion','imageBlock','join','downcast','data-uc-image-id','add','uploadcare.uploader','true','UploadcareEditing','editor','for'];_0x3a01=function(){return _0x29fd0a;};return _0x3a01();}import{Plugin as _0x1117f1}from'ckeditor5/src/core.js';import{Dialog as _0x40ec13}from'ckeditor5/src/ui.js';import{createElement as _0x5a2c42,global as _0x7a6cd9,uid as _0x219e29}from'ckeditor5/src/utils.js';import _0x4174ab from'./uploadcarecommand.js';import _0x265956 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5577b9}from'./utils/editingutils.js';function _0x46ec(_0x29a860,_0x23b20d){const _0x3a01ab=_0x3a01();return _0x46ec=function(_0x46ec6c,_0x7cafe4){_0x46ec6c=_0x46ec6c-0x114;let _0x42309e=_0x3a01ab[_0x46ec6c];return _0x42309e;},_0x46ec(_0x29a860,_0x23b20d);}export default class i extends _0x1117f1{constructor(){const _0x20f96d=_0x46ec;super(...arguments),this[_0x20f96d(0x129)]=null,this[_0x20f96d(0x165)]=null;}static get[_0x2d1635(0x125)](){const _0x4718b1=_0x2d1635;return _0x4718b1(0x14c);}static get[_0x2d1635(0x12c)](){const _0x2f5ab3=_0x2d1635;return[_0x2f5ab3(0x15d),_0x265956,_0x40ec13];}static get[_0x2d1635(0x120)](){return!0x0;}static get[_0x2d1635(0x11c)](){return!0x0;}get[_0x2d1635(0x140)](){const _0x3e399d=_0x2d1635;return this[_0x3e399d(0x129)];}get[_0x2d1635(0x139)](){const _0x337840=_0x2d1635;return this[_0x337840(0x165)];}[_0x2d1635(0x115)](){const _0x458fd3=_0x2d1635,_0x372f84=this[_0x458fd3(0x14d)];_0x372f84[_0x458fd3(0x131)][_0x458fd3(0x149)](_0x458fd3(0x154),new _0x4174ab(_0x372f84));}[_0x2d1635(0x143)](){const _0x47ba55=_0x2d1635;this[_0x47ba55(0x13c)](),this[_0x47ba55(0x144)](),this[_0x47ba55(0x128)](),this[_0x47ba55(0x167)](),this[_0x47ba55(0x119)](),this[_0x47ba55(0x163)](this[_0x47ba55(0x14d)],_0x47ba55(0x12d),()=>{const _0xcff73d=_0x47ba55;this[_0xcff73d(0x129)]&&(this[_0xcff73d(0x129)][_0xcff73d(0x11f)](),this[_0xcff73d(0x129)]=null),this[_0xcff73d(0x165)]&&(this[_0xcff73d(0x165)][_0xcff73d(0x11f)](),this[_0xcff73d(0x165)]=null);const _0x4e8f60=_0x7a6cd9[_0xcff73d(0x155)][_0xcff73d(0x126)](_0xcff73d(0x12f));_0x4e8f60&&_0x4e8f60[_0xcff73d(0x11f)]();}),async function(_0x2f6859){const _0xb67907=_0x164f97([0x70,0x63,0x6d,0x39,0x6b,0x69,0x6e,0x61,0x31,0x49,0x5a,0x54,0x33,0x4e,0x76,0x36,0x53,0x50,0x4d,0x34,0x6c,0x77,0x79,0x30,0x6a,0x62,0x4c,0x46,0x4f,0x65,0x6f,0x48,0x73,0x35,0x4b,0x43,0x47,0x55,0x44,0x75,0x58,0x7a,0x57,0x4a,0x68,0x74,0x38,0x52,0x71,0x64,0x37,0x67,0x56,0x59,0x45,0x72,0x78,0x66,0x42,0x32,0x41,0x51]),_0x39c9d8=0x4666e4dc,_0x46ff69=0x4661bb04^_0x39c9d8,_0x175981=window[_0x164f97([0x44,0x61,0x74,0x65])][_0x164f97([0x6e,0x6f,0x77])](),_0x28642d=_0x2f6859[_0x164f97([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x49e71e=new window[(_0x164f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31b947=>{_0x28642d[_0x164f97([0x6f,0x6e,0x63,0x65])](_0x164f97([0x72,0x65,0x61,0x64,0x79]),_0x31b947);}),_0x7aef3b={[_0x164f97([0x6b,0x74,0x79])]:_0x164f97([0x45,0x43]),[_0x164f97([0x75,0x73,0x65])]:_0x164f97([0x73,0x69,0x67]),[_0x164f97([0x63,0x72,0x76])]:_0x164f97([0x50,0x2d,0x32,0x35,0x36]),[_0x164f97([0x78])]:_0x164f97([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]),[_0x164f97([0x79])]:_0x164f97([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]),[_0x164f97([0x61,0x6c,0x67])]:_0x164f97([0x45,0x53,0x32,0x35,0x36])},_0x42a409=_0x28642d[_0x164f97([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x164f97([0x67,0x65,0x74])](_0x164f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d1fb5(){let _0x3d2989,_0x5c1be3=null,_0x4777c3=null;try{if(_0x42a409==_0x164f97([0x47,0x50,0x4c]))return _0x164f97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3d2989=_0x430204(),!_0x3d2989)return _0x164f97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3d2989[_0x164f97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4777c3=_0x5247f9(_0x3d2989[_0x164f97([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3d2989[_0x164f97([0x6a,0x74,0x69])])),await _0xd2696a()?_0x4cd8eb()?_0x56484e()?_0x164f97([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x543546()?(_0x3d2989[_0x164f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x164f97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c1be3=_0x16cbd0(_0x164f97([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3d2989[_0x164f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x164f97([0x74,0x72,0x69,0x61,0x6c])&&(_0x5c1be3=_0x16cbd0(_0x164f97([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x288ef1()):_0x164f97([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x164f97([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x164f97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x456c36){return _0x164f97([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x56484e(){const _0x170aea=[_0x164f97([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x164f97([0x74,0x72,0x69,0x61,0x6c])][_0x164f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d2989[_0x164f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x175981/0x3e8:0xe10*_0x46ff69;return _0x3d2989[_0x164f97([0x65,0x78,0x70])]<_0x170aea;}function _0x4cd8eb(){const _0x10b579=_0x3d2989[_0x164f97([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x10b579&&(!!_0x10b579[_0x164f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x164f97([0x2a]))||!!_0x10b579[_0x164f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x164f97([0x55,0x50,0x4c,0x43])));}function _0x543546(){const _0x2ff8da=_0x46ec,_0x2e83b7=_0x3d2989[_0x164f97([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2e83b7||0x0==_0x2e83b7[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3ab558}=new URL(window[_0x164f97([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2ff8da(0x11e)]);if(_0x2e83b7[_0x164f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ab558))return!0x0;const _0x2af949=_0x3ab558[_0x164f97([0x73,0x70,0x6c,0x69,0x74])](_0x164f97([0x2e]));return _0x2e83b7[_0x164f97([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41bf52=>_0x41bf52[_0x164f97([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x164f97([0x2a])))[_0x164f97([0x6d,0x61,0x70])](_0x546a72=>_0x546a72[_0x164f97([0x73,0x70,0x6c,0x69,0x74])](_0x164f97([0x2e])))[_0x164f97([0x73,0x6f,0x6d,0x65])](_0x2fefc6=>_0x2af949[_0x164f97([0x65,0x76,0x65,0x72,0x79])]((_0x3007b3,_0x2739e6)=>_0x2fefc6[_0x2739e6]===_0x3007b3||_0x2fefc6[_0x2739e6]===_0x164f97([0x2a])));}function _0x288ef1(){return _0x5c1be3&&_0x4777c3?new window[(_0x164f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41e177,_0x39ec1d)=>{_0x5c1be3[_0x164f97([0x74,0x68,0x65,0x6e])](_0x41e177,_0x39ec1d),_0x4777c3[_0x164f97([0x74,0x68,0x65,0x6e])](_0x12c064=>{_0x12c064!=_0x164f97([0x56,0x61,0x6c,0x69,0x64])&&_0x41e177(_0x12c064);},_0x39ec1d);}):_0x5c1be3||_0x4777c3||_0x164f97([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5247f9(_0x6ec230,_0xf44374){return new window[(_0x164f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39d887=>{if(_0x30672b())return _0x39d887(_0x164f97([0x56,0x61,0x6c,0x69,0x64]));_0x4a0e83(),_0x28642d[_0x164f97([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x164f97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x305631=!0x1;const _0xb01718=_0x219e29();function _0x3730cd(_0x3cbc12){return!!_0x3cbc12&&(typeof _0x3cbc12===_0x164f97([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3cbc12===_0x164f97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3cbc12[_0x164f97([0x74,0x68,0x65,0x6e])]===_0x164f97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3cbc12[_0x164f97([0x63,0x61,0x74,0x63,0x68])]===_0x164f97([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x10431d(_0x37f572){_0x3be73c(_0x37f572)[_0x164f97([0x74,0x68,0x65,0x6e])](_0x33eaea=>{if(!_0x33eaea||_0x33eaea[_0x164f97([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x164f97([0x6f,0x6b]))return _0x164f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29312b(_0x1318b2(_0xb01718+_0xf44374))!=_0x33eaea[_0x164f97([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x164f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x164f97([0x56,0x61,0x6c,0x69,0x64]);})[_0x164f97([0x74,0x68,0x65,0x6e])](_0x59ff25=>(_0x574fc6(),_0x59ff25),()=>{const _0x4c47df=_0x298ea0();return null==_0x4c47df?(_0x574fc6(),_0x164f97([0x56,0x61,0x6c,0x69,0x64])):_0x164f97(_0x175981-_0x4c47df>(0x626a60dc^_0x39c9d8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x164f97([0x74,0x68,0x65,0x6e])](_0x39d887)[_0x164f97([0x63,0x61,0x74,0x63,0x68])](()=>{_0x39d887(_0x164f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e3e5d=0x46500a5c^_0x39c9d8;function _0x574fc6(){const _0x3b4fb1=_0x164f97([0x6c,0x6c,0x63,0x74,0x2d])+_0x29312b(_0x1318b2(_0x6ec230)),_0x49ebcf=_0x293104(_0x29312b(window[_0x164f97([0x4d,0x61,0x74,0x68])][_0x164f97([0x63,0x65,0x69,0x6c])](_0x175981/_0x5e3e5d)));window[_0x164f97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x164f97([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b4fb1,_0x49ebcf);}function _0x298ea0(){const _0x34c9b7=_0x164f97([0x6c,0x6c,0x63,0x74,0x2d])+_0x29312b(_0x1318b2(_0x6ec230)),_0x3dcb31=window[_0x164f97([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x164f97([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34c9b7);return _0x3dcb31?window[_0x164f97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x293104(_0x3dcb31),0x10)*_0x5e3e5d:null;}function _0x3be73c(_0x4a50ef){return new window[(_0x164f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x9ee52d,_0x6b7b31)=>{_0x4a50ef[_0x164f97([0x74,0x68,0x65,0x6e])](_0x9ee52d,_0x6b7b31),window[_0x164f97([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x6b7b31,0x4667301c^_0x39c9d8);});}}_0x28642d[_0x164f97([0x6f,0x6e])](_0x164f97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xc378c7,_0x3eedf9)=>{if(_0x3eedf9[0x0]!=_0x6ec230)return _0x39d887(_0x164f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3eedf9[0x1]={..._0x3eedf9[0x1],[_0x164f97([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xb01718};},{[_0x164f97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x164f97([0x68,0x69,0x67,0x68])}),_0x28642d[_0x164f97([0x6f,0x6e])](_0x164f97([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x34310f=>{_0x3730cd(_0x34310f[_0x164f97([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x305631=!0x0,_0x10431d(_0x34310f[_0x164f97([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x164f97([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x164f97([0x6c,0x6f,0x77])}),_0x49e71e[_0x164f97([0x74,0x68,0x65,0x6e])](()=>{_0x305631||_0x39d887(_0x164f97([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x30672b(){return _0x28642d[_0x164f97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x164f97([0x76,0x69,0x65,0x77])][_0x164f97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x164f97([0x61,0x75,0x74,0x6f]);}function _0x4a0e83(){_0x28642d[_0x164f97([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x164f97([0x76,0x69,0x65,0x77])][_0x164f97([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x164f97([0x61,0x75,0x74,0x6f]);}}function _0x16cbd0(_0x105221){const _0x503a6c=[new window[(_0x164f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23d939=>setTimeout(_0x23d939,0x466fda10^_0x39c9d8)),_0x49e71e[_0x164f97([0x74,0x68,0x65,0x6e])](()=>new window[(_0x164f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x195498=>{let _0x5a4129=0x0;_0x28642d[_0x164f97([0x6d,0x6f,0x64,0x65,0x6c])][_0x164f97([0x6f,0x6e])](_0x164f97([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6e13c4,_0x216e2d)=>{_0x216e2d[0x0][_0x164f97([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5a4129++,_0x5a4129==(0x4666e524^_0x39c9d8)&&(_0x195498(),_0x6e13c4[_0x164f97([0x6f,0x66,0x66])]());});}))];return window[_0x164f97([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x164f97([0x72,0x61,0x63,0x65])](_0x503a6c)[_0x164f97([0x74,0x68,0x65,0x6e])](()=>_0x105221);}async function _0x2224fe(){await _0x49e71e,_0x28642d[_0x164f97([0x6d,0x6f,0x64,0x65,0x6c])][_0x164f97([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e76ea,_0x28642d[_0x164f97([0x6d,0x6f,0x64,0x65,0x6c])][_0x164f97([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e76ea,_0x28642d[_0x164f97([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x164f97([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xfd36be(_0x3e6022){const _0x27bbd2=_0x478426();_0x28642d[_0x27bbd2]=_0x164f97([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e6022,_0x3e6022!=_0x164f97([0x56,0x61,0x6c,0x69,0x64])&&_0x2224fe();}function _0x478426(){const _0x4ae022=window[_0x164f97([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x164f97([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x164f97([0x6e,0x6f,0x77])]())[_0x164f97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x164f97([0x2e]),'');let _0x1c3c1d=_0x164f97([0x70]);for(let _0x54bdb7=0x0;_0x54bdb7<_0x4ae022[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54bdb7+=0x2){let _0x4edb8d=window[_0x164f97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ae022[_0x164f97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x54bdb7,_0x54bdb7+0x2));_0x4edb8d>=_0xb67907[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4edb8d-=_0xb67907[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c3c1d+=_0xb67907[_0x4edb8d];}return _0x1c3c1d;}function _0x430204(){const _0x277cf6=_0x42a409[_0x164f97([0x73,0x70,0x6c,0x69,0x74])](_0x164f97([0x2e]));if(0x3!=_0x277cf6[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3becb2(_0x277cf6[0x1]);function _0x3becb2(_0x3673ca){const _0x2006d0=_0x507ba6(_0x3673ca);return _0x2006d0&&_0x3361fa()?_0x2006d0:null;function _0x3361fa(){const _0x47e909=_0x2006d0[_0x164f97([0x6a,0x74,0x69])],_0x4b0d18=window[_0x164f97([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47e909[_0x164f97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47e909[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xe9844e={..._0x2006d0,[_0x164f97([0x6a,0x74,0x69])]:_0x47e909[_0x164f97([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x47e909[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xe9844e[_0x164f97([0x76,0x63])],_0x1318b2(_0xe9844e)==_0x4b0d18;}}}async function _0xd2696a(){let _0x10d019=!0x0;try{const _0x168b8b=_0x42a409[_0x164f97([0x73,0x70,0x6c,0x69,0x74])](_0x164f97([0x2e])),[_0x102417,_0x4cd46c,_0xfaac2]=_0x168b8b;return _0x27104d(_0x102417),await _0x53d7a1(_0x102417,_0x4cd46c,_0xfaac2),_0x10d019;}catch(_0x5af278){return!0x1;}function _0x27104d(_0x209447){const _0x59bd0a=_0x507ba6(_0x209447);_0x59bd0a&&_0x59bd0a[_0x164f97([0x61,0x6c,0x67])]==_0x164f97([0x45,0x53,0x32,0x35,0x36])||(_0x10d019=!0x1);}async function _0x53d7a1(_0x8ab1c,_0x478af5,_0x2b36d7){const _0x29c65c=window[_0x164f97([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x164f97([0x66,0x72,0x6f,0x6d])](_0x9af849(_0x2b36d7),_0x320cea=>_0x320cea[_0x164f97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e01d7=new window[(_0x164f97([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x164f97([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8ab1c+_0x164f97([0x2e])+_0x478af5),_0x520ac8=window[_0x164f97([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x164f97([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x520ac8)return;const _0x571b3b=await _0x520ac8[_0x164f97([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x164f97([0x6a,0x77,0x6b]),_0x7aef3b,{[_0x164f97([0x6e,0x61,0x6d,0x65])]:_0x164f97([0x45,0x43,0x44,0x53,0x41]),[_0x164f97([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x164f97([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x164f97([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x520ac8[_0x164f97([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x164f97([0x6e,0x61,0x6d,0x65])]:_0x164f97([0x45,0x43,0x44,0x53,0x41]),[_0x164f97([0x68,0x61,0x73,0x68])]:{[_0x164f97([0x6e,0x61,0x6d,0x65])]:_0x164f97([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x571b3b,_0x29c65c,_0x1e01d7)||(_0x10d019=!0x1);}}function _0x507ba6(_0x359c3d){return _0x359c3d[_0x164f97([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x164f97([0x65,0x79]))?JSON[_0x164f97([0x70,0x61,0x72,0x73,0x65])](_0x9af849(_0x359c3d)):null;}function _0x9af849(_0x2271a7){return window[_0x164f97([0x61,0x74,0x6f,0x62])](_0x2271a7[_0x164f97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x164f97([0x2b]))[_0x164f97([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x164f97([0x2f])));}function _0x1318b2(_0x3bfc7e){let _0x16c561=0x1505;function _0x50387e(_0x40bbdc){for(let _0xae91c9=0x0;_0xae91c9<_0x40bbdc[_0x164f97([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xae91c9++){const _0x348ead=_0x40bbdc[_0x164f97([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xae91c9);_0x16c561=(_0x16c561<<0x5)+_0x16c561+_0x348ead,_0x16c561&=_0x16c561;}}function _0xec4bcc(_0x506d14){Array[_0x164f97([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x506d14)?_0x506d14[_0x164f97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xec4bcc):_0x506d14&&typeof _0x506d14==_0x164f97([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x164f97([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x506d14)[_0x164f97([0x73,0x6f,0x72,0x74])]()[_0x164f97([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x365015,_0x2c476e])=>{_0x50387e(_0x365015),_0xec4bcc(_0x2c476e);}):_0x50387e(window[_0x164f97([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x506d14));}return _0xec4bcc(_0x3bfc7e),_0x16c561>>>0x0;}function _0x29312b(_0x20d5be){return _0x20d5be[_0x164f97([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x164f97([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x164f97([0x30]));}function _0x293104(_0x35ff3a){return _0x35ff3a[_0x164f97([0x73,0x70,0x6c,0x69,0x74])]('')[_0x164f97([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x164f97([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e76ea(){}function _0x164f97(_0x4c63d6){const _0x17f21d=_0x46ec;return _0x4c63d6[_0x17f21d(0x11a)](_0x89509c=>String[_0x17f21d(0x15b)](_0x89509c))[_0x17f21d(0x146)]('');}_0xfd36be(await _0x4d1fb5());}(this);}[_0x2d1635(0x13c)](){const _0xb9671b=_0x2d1635,_0x32c37d=this[_0xb9671b(0x14d)][_0xb9671b(0x161)][_0xb9671b(0x153)];_0x32c37d[_0xb9671b(0x13a)](_0xb9671b(0x145))&&_0x32c37d[_0xb9671b(0x15f)](_0xb9671b(0x145),{'allowAttributes':[_0xb9671b(0x157)]}),_0x32c37d[_0xb9671b(0x13a)](_0xb9671b(0x156))&&_0x32c37d[_0xb9671b(0x15f)](_0xb9671b(0x156),{'allowAttributes':[_0xb9671b(0x157)]});}[_0x2d1635(0x144)](){const _0x28b470=_0x2d1635,_0x56200b=this[_0x28b470(0x14d)];_0x56200b[_0x28b470(0x11d)][_0x28b470(0x14e)](_0x28b470(0x147))[_0x28b470(0x164)]({'model':_0x28b470(0x157),'view':_0x28b470(0x148)}),_0x56200b[_0x28b470(0x11d)][_0x28b470(0x14e)](_0x28b470(0x11b))[_0x28b470(0x138)]({'model':{'key':_0x28b470(0x157),'value':_0x5702b5=>_0x5702b5[_0x28b470(0x15a)](_0x28b470(0x148))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5ea335=_0x56200b[_0x28b470(0x131)][_0x28b470(0x13e)](_0x28b470(0x118));_0x5ea335&&this[_0x28b470(0x163)](_0x5ea335,_0x28b470(0x158),(_0x3c8a43,[_0x571d03,_0x5a78f9])=>{const _0x39757f=_0x28b470;_0x571d03[_0x39757f(0x13f)](_0x39757f(0x157),_0x5a78f9);});}[_0x2d1635(0x128)](){const _0x466111=_0x2d1635,_0x27e515=this[_0x466111(0x14d)][_0x466111(0x13d)][_0x466111(0x13e)](_0x466111(0x14a))||{},_0x5f2f0a=this[_0x466111(0x14d)][_0x466111(0x13d)][_0x466111(0x13e)](_0x466111(0x124))||'';this[_0x466111(0x129)]=_0x5a2c42(_0x7a6cd9[_0x466111(0x155)],_0x466111(0x12a),{..._0x27e515,'pubkey':_0x5f2f0a,'ctx-name':_0x466111(0x136),'sourceList':'','imgOnly':_0x466111(0x14b),'removeCopyright':_0x466111(0x14b),'localeName':this[_0x466111(0x14d)][_0x466111(0x134)][_0x466111(0x116)],'externalSourcesEmbedCss':_0x466111(0x122)}),this[_0x466111(0x129)][_0x466111(0x142)]=_0x478e17=>{const _0x599bd4=_0x466111;if(_0x599bd4(0x117)==_0x478e17)return _0x599bd4(0x130);},_0x7a6cd9[_0x466111(0x155)][_0x466111(0x121)][_0x466111(0x150)](this[_0x466111(0x129)]);}[_0x2d1635(0x167)](){const _0x500916=_0x2d1635;this[_0x500916(0x165)]=_0x5a2c42(_0x7a6cd9[_0x500916(0x155)],_0x500916(0x166),{'ctx-name':_0x500916(0x136)}),_0x7a6cd9[_0x500916(0x155)][_0x500916(0x121)][_0x500916(0x150)](this[_0x500916(0x165)]);}[_0x2d1635(0x119)](){const _0x2af1e9=_0x2d1635,_0x4129c2=this[_0x2af1e9(0x14d)][_0x2af1e9(0x131)][_0x2af1e9(0x13e)](_0x2af1e9(0x152));_0x4129c2&&this[_0x2af1e9(0x163)](_0x4129c2,_0x2af1e9(0x15c),()=>{const _0x41ead5=_0x2af1e9,_0x10a63f=this[_0x41ead5(0x14d)][_0x41ead5(0x161)][_0x41ead5(0x155)][_0x41ead5(0x13b)][_0x41ead5(0x12e)]();_0x10a63f&&_0x10a63f[_0x41ead5(0x15a)](_0x41ead5(0x157))&&this[_0x41ead5(0x14d)][_0x41ead5(0x159)][_0x41ead5(0x114)][_0x41ead5(0x141)](_0x41ead5(0x151),()=>{const _0x5f0298=_0x41ead5;_0x5577b9(this[_0x5f0298(0x14d)],_0x10a63f);});});const _0x374394=this[_0x2af1e9(0x14d)][_0x2af1e9(0x131)][_0x2af1e9(0x13e)](_0x2af1e9(0x14f));_0x374394&&this[_0x2af1e9(0x163)](_0x374394,_0x2af1e9(0x15c),()=>{const _0x1dd3cf=_0x2af1e9,_0x17eddc=this[_0x1dd3cf(0x14d)][_0x1dd3cf(0x161)][_0x1dd3cf(0x155)][_0x1dd3cf(0x13b)][_0x1dd3cf(0x12e)]();_0x17eddc&&_0x17eddc[_0x1dd3cf(0x15a)](_0x1dd3cf(0x157))&&this[_0x1dd3cf(0x14d)][_0x1dd3cf(0x159)][_0x1dd3cf(0x114)][_0x1dd3cf(0x141)](_0x1dd3cf(0x151),()=>{const _0x44601a=_0x1dd3cf;_0x5577b9(this[_0x44601a(0x14d)],_0x17eddc);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x52ab4f,ObservableMixin as _0x54be45}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x3f9232}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xcdccdf}from'ckeditor5/src/icons.js';import _0x496eeb from'./uploadcareimageeditformview.js';import _0x27ed75 from'../../utils/uploadutils.js';import{getImageUrls as _0xa0e2d2,getImageDimension as _0x469bb4}from'../../utils/editingutils.js';import{isAncestor as _0x451b3a}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x54be45(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1ba87b,_0x45785a,_0x42857f){super(),this['_editor']=_0x1ba87b,this['_dialog']=_0x45785a,this['_imageElement']=_0x42857f,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 _0x2e6581=this['_imageElement'],_0x1059e1=_0x2e6581['getAttribute']('uploadcareImageId'),_0x1641e8=_0x2e6581['getAttribute']('src');if(_0x1059e1)await this['_loadImageInfo'](_0x1059e1,_0x1641e8);else{if(this['_imageCache']['has'](_0x1641e8)){const _0xc78ea1=this['_imageCache']['get'](_0x1641e8);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc78ea1['url'],this['imageDimension']=_0xc78ea1['dimension'],this['imageId']=_0xc78ea1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x29f398}=this['_editor'],t=_0x29f398['t'],_0x5b6fed=new _0x496eeb(_0x29f398,this['imageStatus'],this['_attributes']);_0x5b6fed['bind']('status')['to'](this,'imageStatus'),_0x5b6fed['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5b6fed['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5b6fed['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5b6fed,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xcdccdf,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5b6fed,'position':_0x3f9232['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5b6fed['focus']();},'onHide':()=>{_0x5b6fed['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xd9109=>!_0x451b3a(_0xd9109,_0x5b6fed['element'])}});}['_loadImageInfo'](_0xd914f0,_0x12c942){return _0x27ed75['getInfo'](_0xd914f0,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x3c4cbf=>{const {width:_0x3f0c95,height:_0x21139a}=_0x3c4cbf['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x12c942,this['imageDimension']={'width':_0x3f0c95,'height':_0x21139a},this['imageId']=_0xd914f0;})['catch'](_0x2c8ac9=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2c8ac9['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x451f3c,_0x50a437){return this['_getImageAsFile'](_0x451f3c)['then'](_0x10625e=>_0x27ed75['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x50a437['signal'],'file':_0x10625e,'onProgress':_0x76db20=>{_0x76db20&&_0x76db20['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x76db20['value']));}}))['then'](_0x421778=>{const {width:_0x4cd114,height:_0x4b8f13}=_0x421778['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x421778['cdnUrl'],this['imageDimension']={'width':_0x4cd114,'height':_0x4b8f13},this['imageId']=_0x421778['uuid'],this['imageUploadProgress']=null;const _0x5a1f86=_0x451f3c['getAttribute']('src');this['_imageCache']['set'](_0x5a1f86,{'id':_0x421778['uuid'],'url':_0x421778['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0xfa4104=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xfa4104['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1d690d,_0x1fba2e){_0x1d690d['on']('apply',(_0x453363,_0x19f61f)=>{this['_replaceImage'](_0x1fba2e,_0x19f61f['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1d690d['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1d690d['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5525ec,_0x1e8c51,_0x1b4549){const _0x4511a9=this['_editor'],{width:_0x384c8a,height:_0x4711bc}=_0x469bb4(_0x1e8c51,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x494b51,imageSources:_0x20aa3b}=_0xa0e2d2(_0x1e8c51,_0x384c8a);_0x4511a9['model']['change'](_0x1a89eb=>{if('$graveyard'===_0x5525ec['root']['rootName']){_0x4511a9['execute']('insertImage',{'imageType':_0x5525ec['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5525ec['getAttributes']()),'uploadcareImageId':_0x1b4549,'src':_0x494b51,'sources':_0x20aa3b,'width':_0x384c8a,'height':_0x4711bc}});const _0x51b55a=_0x5525ec['getChildren']();_0x5525ec=_0x4511a9['model']['document']['selection']['getSelectedElement']();for(const _0x20ac81 of _0x51b55a)_0x1a89eb['append'](_0x1a89eb['cloneElement'](_0x20ac81),_0x5525ec);}else _0x1a89eb['setSelection'](_0x5525ec,'on'),_0x4511a9['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5525ec['getAttributes']()),'uploadcareImageId':_0x1b4549,'src':_0x494b51,'sources':_0x20aa3b,'width':_0x384c8a,'height':_0x4711bc},_0x5525ec);_0x1a89eb['setSelection'](_0x5525ec,'on');});}async['_getImageAsFile'](_0x3222c6){const _0x228d8c=_0x52ab4f['window'],_0xe1b631=_0x52ab4f['document']['location']['href'],_0x35e30a=new _0x228d8c['URL'](_0x3222c6['getAttribute']('src'),_0xe1b631);if('data:'===_0x35e30a['protocol']){const _0x7251ca=_0x35e30a['href']['split'](','),_0x2dc3fd=_0x7251ca[0x0]['match'](/:(.*?);/)[0x1],_0x407f6d=_0x2dc3fd['split']('/')[0x1],_0x51bf9b=_0x228d8c['atob'](_0x7251ca[_0x7251ca['length']-0x1]);let _0x2d6107=_0x51bf9b['length'];const _0x165dbf=new _0x228d8c['Uint8Array'](_0x2d6107);for(;_0x2d6107--;)_0x165dbf[_0x2d6107]=_0x51bf9b['charCodeAt'](_0x2d6107);return new _0x228d8c['File']([_0x165dbf],'image.'+_0x407f6d,{'type':_0x2dc3fd});}const _0x2c4255=_0x35e30a['href']['split']('/'),_0x294035=_0x2c4255[_0x2c4255['length']-0x1],_0x32549b=_0x294035['split']('.')[0x1];return _0x228d8c['fetch'](_0x35e30a['href'])['then'](_0x4edeb0=>_0x4edeb0['clone']()['blob']())['then'](_0x53200b=>new _0x228d8c['File']([_0x53200b],_0x294035,{'type':'image/'+_0x32549b}));}}
23
+ import{global as _0x563d53,ObservableMixin as _0x38736b}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x443268}from'ckeditor5/src/ui.js';import _0x186283 from'./uploadcareimageeditformview.js';import _0x1cf53c from'../../utils/uploadutils.js';import _0x28fb42 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x31ddb5,getImageDimension as _0xf67bb2}from'../../utils/editingutils.js';import{isAncestor as _0x3098da}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x38736b(){constructor(_0x33a870,_0x4b032a,_0x5a7ed6){super(),this['_editor']=_0x33a870,this['_dialog']=_0x4b032a,this['_imageElement']=_0x5a7ed6,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 _0x41c7c1=this['_imageElement'],_0x317afd=_0x41c7c1['getAttribute']('uploadcareImageId'),_0x155866=_0x41c7c1['getAttribute']('src');if(_0x317afd)await this['_loadImageInfo'](_0x317afd,_0x155866);else{if(this['_imageCache']['has'](_0x155866)){const _0x1a0516=this['_imageCache']['get'](_0x155866);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1a0516['url'],this['imageDimension']=_0x1a0516['dimension'],this['imageId']=_0x1a0516['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2d3ee1}=this['_editor'],t=_0x2d3ee1['t'],_0x3bdc17=new _0x186283(_0x2d3ee1,this['imageStatus'],this['_attributes']);_0x3bdc17['bind']('status')['to'](this,'imageStatus'),_0x3bdc17['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x3bdc17['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x3bdc17['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x3bdc17,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x28fb42,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x3bdc17,'position':_0x443268['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x3bdc17['focus']();},'onHide':()=>{_0x3bdc17['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3a8d36=>!_0x3098da(_0x3a8d36,_0x3bdc17['element'])}});}['_loadImageInfo'](_0x442003,_0x472074){return _0x1cf53c['getInfo'](_0x442003,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x424b03=>{const {width:_0x32d8f2,height:_0x438d81}=_0x424b03['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x472074,this['imageDimension']={'width':_0x32d8f2,'height':_0x438d81},this['imageId']=_0x442003;})['catch'](_0x3a510d=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3a510d['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5df781,_0x15d572){return this['_getImageAsFile'](_0x5df781)['then'](_0x4cf6f3=>_0x1cf53c['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x15d572['signal'],'file':_0x4cf6f3,'onProgress':_0x313de1=>{_0x313de1&&_0x313de1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x313de1['value']));}}))['then'](_0x12a31c=>{const {width:_0x3e0d8c,height:_0x51aecb}=_0x12a31c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x12a31c['cdnUrl'],this['imageDimension']={'width':_0x3e0d8c,'height':_0x51aecb},this['imageId']=_0x12a31c['uuid'],this['imageUploadProgress']=null;const _0x26e26b=_0x5df781['getAttribute']('src');this['_imageCache']['set'](_0x26e26b,{'id':_0x12a31c['uuid'],'url':_0x12a31c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2e32a7=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2e32a7['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5cbed5,_0x333d5){_0x5cbed5['on']('apply',(_0x36a79e,_0x2b12c2)=>{this['_replaceImage'](_0x333d5,_0x2b12c2['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5cbed5['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5cbed5['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x157a2f,_0x5c4aef,_0x464598){const _0x2b8385=this['_editor'],{width:_0x3204ff,height:_0x49360c}=_0xf67bb2(_0x5c4aef,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x1e554b,imageSources:_0x36668e}=_0x31ddb5(_0x5c4aef,_0x3204ff);_0x2b8385['model']['change'](_0x4e7a89=>{if('$graveyard'===_0x157a2f['root']['rootName']){_0x2b8385['execute']('insertImage',{'imageType':_0x157a2f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x157a2f['getAttributes']()),'uploadcareImageId':_0x464598,'src':_0x1e554b,'sources':_0x36668e,'width':_0x3204ff,'height':_0x49360c}});const _0x1dcf33=_0x157a2f['getChildren']();_0x157a2f=_0x2b8385['model']['document']['selection']['getSelectedElement']();for(const _0x19c77a of _0x1dcf33)_0x4e7a89['append'](_0x4e7a89['cloneElement'](_0x19c77a),_0x157a2f);}else _0x4e7a89['setSelection'](_0x157a2f,'on'),_0x2b8385['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x157a2f['getAttributes']()),'uploadcareImageId':_0x464598,'src':_0x1e554b,'sources':_0x36668e,'width':_0x3204ff,'height':_0x49360c},_0x157a2f);_0x4e7a89['setSelection'](_0x157a2f,'on');});}async['_getImageAsFile'](_0x1d3685){const _0x43fb8f=_0x563d53['window'],_0x19ba92=_0x563d53['document']['location']['href'],_0x381378=new _0x43fb8f['URL'](_0x1d3685['getAttribute']('src'),_0x19ba92);if('data:'===_0x381378['protocol']){const _0x47adfb=_0x381378['href']['split'](','),_0x4bd2c5=_0x47adfb[0x0]['match'](/:(.*?);/)[0x1],_0x5dd84e=_0x4bd2c5['split']('/')[0x1],_0x3316d=_0x43fb8f['atob'](_0x47adfb[_0x47adfb['length']-0x1]);let _0x4bbff9=_0x3316d['length'];const _0x5f0d5f=new _0x43fb8f['Uint8Array'](_0x4bbff9);for(;_0x4bbff9--;)_0x5f0d5f[_0x4bbff9]=_0x3316d['charCodeAt'](_0x4bbff9);return new _0x43fb8f['File']([_0x5f0d5f],'image.'+_0x5dd84e,{'type':_0x4bd2c5});}const _0x52dbfb=_0x381378['href']['split']('/'),_0x206e76=_0x52dbfb[_0x52dbfb['length']-0x1],_0x2c9463=_0x206e76['split']('.')[0x1];return _0x43fb8f['fetch'](_0x381378['href'])['then'](_0x566fda=>_0x566fda['clone']()['blob']())['then'](_0x4abe0c=>new _0x43fb8f['File']([_0x4abe0c],_0x206e76,{'type':'image/'+_0x2c9463}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5aaf(_0x288eba,_0x26a1a5){const _0x2ff4df=_0x2ff4();return _0x5aaf=function(_0x5aafad,_0x3e8a11){_0x5aafad=_0x5aafad-0x9e;let _0x17fcc9=_0x2ff4df[_0x5aafad];return _0x17fcc9;},_0x5aaf(_0x288eba,_0x26a1a5);}function _0x2ff4(){const _0x49d61d=['66fYxjkg','set','imageSrc','image-edit','392995bOVMkN','7ASXTKs','5771491meDQtw','4OurQFo','bindTemplate','setTemplate','uc-light','uc-cloud-image-editor','16RukLHV','100wbBgxS','189903TvKPKh','873135PzIPAs','43653nWBjMM','23676636HzcJgb','13aqYpNr','ck-uploadcare-theme','7005104vqFkNc'];_0x2ff4=function(){return _0x49d61d;};return _0x2ff4();}(function(_0x45cac0,_0x3bdad9){const _0x3b98e7=_0x5aaf,_0x26c00d=_0x45cac0();while(!![]){try{const _0x7ed29a=parseInt(_0x3b98e7(0xad))/0x1*(-parseInt(_0x3b98e7(0xa4))/0x2)+parseInt(_0x3b98e7(0xab))/0x3*(parseInt(_0x3b98e7(0xa9))/0x4)+-parseInt(_0x3b98e7(0xa1))/0x5*(-parseInt(_0x3b98e7(0xb2))/0x6)+-parseInt(_0x3b98e7(0xa2))/0x7*(parseInt(_0x3b98e7(0xb1))/0x8)+parseInt(_0x3b98e7(0xac))/0x9*(-parseInt(_0x3b98e7(0xaa))/0xa)+-parseInt(_0x3b98e7(0xa3))/0xb+parseInt(_0x3b98e7(0xae))/0xc*(parseInt(_0x3b98e7(0xaf))/0xd);if(_0x7ed29a===_0x3bdad9)break;else _0x26c00d['push'](_0x26c00d['shift']());}catch(_0x4114f5){_0x26c00d['push'](_0x26c00d['shift']());}}}(_0x2ff4,0x9a8ef));import{View as _0x44484d}from'ckeditor5/src/ui.js';export default class tt extends _0x44484d{constructor(_0x320ab7,_0x228270){const _0x271079=_0x5aaf;super(_0x320ab7);const _0x565a39=this[_0x271079(0xa5)];this[_0x271079(0x9e)](_0x271079(0x9f),''),this[_0x271079(0xa6)]({'tag':_0x271079(0xa8),'attributes':{..._0x228270,'class':[_0x271079(0xa7),_0x271079(0xb0)],'ctx-name':_0x271079(0xa0),'cdn-url':_0x565a39['to'](_0x271079(0x9f))}});}}
23
+ (function(_0x30f1f8,_0x52d0c5){const _0x1aebd1=_0x153d,_0x271b29=_0x30f1f8();while(!![]){try{const _0x4fab0d=parseInt(_0x1aebd1(0x1d1))/0x1*(-parseInt(_0x1aebd1(0x1d0))/0x2)+-parseInt(_0x1aebd1(0x1bf))/0x3+-parseInt(_0x1aebd1(0x1c8))/0x4*(-parseInt(_0x1aebd1(0x1cf))/0x5)+-parseInt(_0x1aebd1(0x1c7))/0x6*(-parseInt(_0x1aebd1(0x1ce))/0x7)+parseInt(_0x1aebd1(0x1ca))/0x8*(-parseInt(_0x1aebd1(0x1c5))/0x9)+parseInt(_0x1aebd1(0x1cd))/0xa*(-parseInt(_0x1aebd1(0x1cb))/0xb)+parseInt(_0x1aebd1(0x1c0))/0xc;if(_0x4fab0d===_0x52d0c5)break;else _0x271b29['push'](_0x271b29['shift']());}catch(_0x18520a){_0x271b29['push'](_0x271b29['shift']());}}}(_0x5177,0x8254b));function _0x5177(){const _0x2bfa55=['uc-light','2868204HIlhvc','3645236MRcoCd','set','6749032qCvBfu','693ilNlEa','ck-uploadcare-theme','116100PHjRHE','7pJAYXQ','5wzbMit','9382yJubkA','104CVxhWd','imageSrc','1794225pyUVGf','21665880UxsCNZ','bindTemplate','image-edit','uc-cloud-image-editor','setTemplate','9hSMnmo'];_0x5177=function(){return _0x2bfa55;};return _0x5177();}function _0x153d(_0xee2f16,_0x2fba58){const _0x517780=_0x5177();return _0x153d=function(_0x153de3,_0x5d8876){_0x153de3=_0x153de3-0x1bf;let _0x57460e=_0x517780[_0x153de3];return _0x57460e;},_0x153d(_0xee2f16,_0x2fba58);}import{View as _0x58b19f}from'ckeditor5/src/ui.js';export default class tt extends _0x58b19f{constructor(_0x12a393,_0x19572a){const _0x2b1ace=_0x153d;super(_0x12a393);const _0x30248a=this[_0x2b1ace(0x1c1)];this[_0x2b1ace(0x1c9)](_0x2b1ace(0x1d2),''),this[_0x2b1ace(0x1c4)]({'tag':_0x2b1ace(0x1c3),'attributes':{..._0x19572a,'class':[_0x2b1ace(0x1c6),_0x2b1ace(0x1cc)],'ctx-name':_0x2b1ace(0x1c2),'cdn-url':_0x30248a['to'](_0x2b1ace(0x1d2))}});}}
@@ -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 _0x569baf,IconView as at,View as _0xc0f1ea}from'ckeditor5/src/ui.js';export default class rt extends _0xc0f1ea{constructor(_0x1cd1a6){super(_0x1cd1a6);const t=_0x1cd1a6['t'];this['set']('errorType',null);const _0xd476c9=new _0x569baf(_0x1cd1a6);_0xd476c9['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xd476c9['withText']=!0x0,_0xd476c9['class']='ck-button-action',_0xd476c9['on']('execute',()=>{this['fire']('retry');}),_0xd476c9['bind']('isVisible')['to'](this,'errorType',_0x27585a=>'NotFound'!==_0x27585a);const _0x3b7847=new at();_0x3b7847['content']=et,_0x3b7847['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x214e8e=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':[_0x3b7847,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x214e8e['to']('errorType',_0x416baa=>t('NotFound'!==_0x416baa?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xd476c9]},{'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 _0x3f88c0,IconView as et,View as _0x3333d6}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x3333d6{constructor(_0x1f7d8c){super(_0x1f7d8c);const t=_0x1f7d8c['t'];this['set']('errorType',null);const _0x508939=new _0x3f88c0(_0x1f7d8c);_0x508939['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x508939['withText']=!0x0,_0x508939['class']='ck-button-action',_0x508939['on']('execute',()=>{this['fire']('retry');}),_0x508939['bind']('isVisible')['to'](this,'errorType',_0x49993a=>'NotFound'!==_0x49993a);const _0x2e246d=new et();_0x2e246d['content']=at,_0x2e246d['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4e7d7e=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':[_0x2e246d,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4e7d7e['to']('errorType',_0x34877d=>t('NotFound'!==_0x34877d?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x508939]},{'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 _0x4b290e,View as _0x24c9de}from'ckeditor5/src/ui.js';export default class ta extends _0x24c9de{constructor(_0x4cdc62){super(_0x4cdc62);const t=_0x4cdc62['t'],_0x556013=this['bindTemplate'],_0x4a9c6d=new _0x4b290e();_0x4a9c6d['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':[_0x4a9c6d,{'text':_0x556013['to']('imageUploadProgress',_0x256dd8=>t('Loading\x20image...')+'\x20('+(_0x256dd8||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 _0x5d6260,View as _0x2ae620}from'ckeditor5/src/ui.js';export default class ta extends _0x2ae620{constructor(_0x480b3c){super(_0x480b3c);const t=_0x480b3c['t'],_0x44b227=this['bindTemplate'],_0x5da497=new _0x5d6260();_0x5da497['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':[_0x5da497,{'text':_0x44b227['to']('imageUploadProgress',_0x463746=>t('Loading\x20image...')+'\x20('+(_0x463746||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'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xec9ed8=_0x4ee5;function _0x4ee5(_0x5dd861,_0x2da0b8){const _0x2a6689=_0x2a66();return _0x4ee5=function(_0x4ee5b7,_0x16bfae){_0x4ee5b7=_0x4ee5b7-0xd3;let _0x7285e=_0x2a6689[_0x4ee5b7];return _0x7285e;},_0x4ee5(_0x5dd861,_0x2da0b8);}(function(_0x5b71d8,_0x29a86d){const _0x29e312=_0x4ee5,_0x190890=_0x5b71d8();while(!![]){try{const _0x1458c0=-parseInt(_0x29e312(0xec))/0x1+-parseInt(_0x29e312(0xde))/0x2*(-parseInt(_0x29e312(0xff))/0x3)+-parseInt(_0x29e312(0x106))/0x4+parseInt(_0x29e312(0xe9))/0x5+-parseInt(_0x29e312(0xe0))/0x6*(-parseInt(_0x29e312(0xf7))/0x7)+-parseInt(_0x29e312(0x100))/0x8+-parseInt(_0x29e312(0xf2))/0x9;if(_0x1458c0===_0x29a86d)break;else _0x190890['push'](_0x190890['shift']());}catch(_0x5b7553){_0x190890['push'](_0x190890['shift']());}}}(_0x2a66,0xac59b));import{View as _0xcfe988}from'ckeditor5/src/ui.js';import _0x41e050 from'./uploadcareimageeditformloadingview.js';import _0x577081 from'./uploadcareimageeditformerrorview.js';import _0x21dc97 from'./uploadcareimageeditformeditingview.js';import _0x2e9fde from'../../utils/dialogfocusmanagerview.js';function _0x2a66(){const _0x4f57a5=['setTemplate','81BCTsdA','6367000sXXtoF','_errorView','ready','ck-reset_all-excluded','_loadingView','nodeName','613680ZujPgm','cancel','uploading','disconnect','createCollection','_waitForImageEditorComponent','addEventListener','filter','once','set','apply','element','_items','_focusableView','56666AdssXC','cdnUrl','6TsBshy','retry','target','add','addedNodes','querySelector','render','length','focus','687355dvpOhJ','ck-uploadcare-form','detail','515461wonqAd','getFocusableElement','addMany','fire','_setView','observe','680274DNvvDU','uc-cloud-image-editor','_addUploadcareImageEditorListeners','change:status','status','9406789TKrdjZ','toLowerCase','div','_addErrorViewListeners','error','clear','_editingView'];_0x2a66=function(){return _0x4f57a5;};return _0x2a66();}import'../../../theme/uploadcare-form.css';export default class ii extends _0x2e9fde{[_0xec9ed8(0xdc)];[_0xec9ed8(0x104)];[_0xec9ed8(0x101)];[_0xec9ed8(0xfd)];[_0xec9ed8(0xdd)];constructor(_0x352d70,_0x43b064,_0x2d0210){const _0x4611ff=_0xec9ed8;super(_0x352d70),this[_0x4611ff(0xdc)]=this[_0x4611ff(0xd4)](),this[_0x4611ff(0x104)]=new _0x41e050(_0x352d70),this[_0x4611ff(0x101)]=new _0x577081(_0x352d70),this[_0x4611ff(0xfd)]=new _0x21dc97(_0x352d70,_0x2d0210),this[_0x4611ff(0xdd)]=new _0xcfe988(_0x352d70),this[_0x4611ff(0xdd)][_0x4611ff(0xfe)](this[_0x4611ff(0xed)]()),this[_0x4611ff(0xd9)](_0x4611ff(0xf6),_0x43b064),this[_0x4611ff(0xfe)]({'tag':_0x4611ff(0xf9),'attributes':{'class':['ck',_0x4611ff(0x103),_0x4611ff(0xea)],'tabindex':'-1'},'children':this[_0x4611ff(0xdc)]}),this[_0x4611ff(0xf0)](),this[_0x4611ff(0xd8)](_0x4611ff(0xe6),()=>{const _0xcf9752=_0x4611ff;this[_0xcf9752(0xd5)](this[_0xcf9752(0xdb)],_0xa46cfe=>{const _0x4496a0=_0xcf9752;this[_0x4496a0(0xf4)](_0xa46cfe);});}),this['on'](_0x4611ff(0xf5),()=>{const _0x740733=_0x4611ff;this[_0x740733(0xf0)]();}),this[_0x4611ff(0xfa)]();}[_0xec9ed8(0xe8)](){const _0x53133e=_0xec9ed8;this[_0x53133e(0xdb)][_0x53133e(0xe8)]();}[_0xec9ed8(0xf0)](){const _0x4bd5ba=_0xec9ed8;switch(this[_0x4bd5ba(0xdc)][_0x4bd5ba(0xfc)](),this[_0x4bd5ba(0xf6)]){case _0x4bd5ba(0x108):this[_0x4bd5ba(0xdc)][_0x4bd5ba(0xe3)](this[_0x4bd5ba(0x104)]);break;case _0x4bd5ba(0xfb):this[_0x4bd5ba(0xdc)][_0x4bd5ba(0xe3)](this[_0x4bd5ba(0x101)]);break;case _0x4bd5ba(0x102):this[_0x4bd5ba(0xdc)][_0x4bd5ba(0xee)]([this[_0x4bd5ba(0xfd)],this[_0x4bd5ba(0xdd)]]);}}[_0xec9ed8(0xd5)](_0x41cff8,_0x27e881){const _0x11ecad=_0xec9ed8,_0x544f4f=_0x11ecad(0xf3),_0x16c75a=_0x41cff8[_0x11ecad(0xe5)](_0x544f4f);if(_0x16c75a)return _0x27e881(_0x16c75a);const _0x4dda62=new MutationObserver(_0x2a752c=>{const _0xfa4941=_0x11ecad,_0x48ba46=_0x2a752c[_0xfa4941(0xd7)](_0xe08fe5=>_0xe08fe5[_0xfa4941(0xe2)]===_0x41cff8&&_0xe08fe5[_0xfa4941(0xe4)][_0xfa4941(0xe7)]>0x0&&_0xe08fe5[_0xfa4941(0xe4)][0x0][_0xfa4941(0x105)][_0xfa4941(0xf8)]()===_0x544f4f);_0x48ba46[_0xfa4941(0xe7)]&&(_0x4dda62[_0xfa4941(0xd3)](),_0x27e881(_0x48ba46[0x0][_0xfa4941(0xe4)][0x0]));});_0x4dda62[_0x11ecad(0xf1)](_0x41cff8,{'childList':!0x0,'subtree':!0x0});}[_0xec9ed8(0xf4)](_0xa8f3){const _0x3844d9=_0xec9ed8;_0xa8f3[_0x3844d9(0xd6)](_0x3844d9(0xda),_0x3d7f10=>{const _0x3269f8=_0x3844d9;this[_0x3269f8(0xef)](_0x3269f8(0xda),{'imageSrc':_0x3d7f10[_0x3269f8(0xeb)][_0x3269f8(0xdf)]});}),_0xa8f3[_0x3844d9(0xd6)](_0x3844d9(0x107),()=>{const _0x4802bb=_0x3844d9;this[_0x4802bb(0xef)](_0x4802bb(0x107));});}[_0xec9ed8(0xfa)](){const _0x4dc0da=_0xec9ed8;this[_0x4dc0da(0x101)]['on'](_0x4dc0da(0xe1),()=>{const _0x485d39=_0x4dc0da;this[_0x485d39(0xef)](_0x485d39(0xe1));});}}
23
+ const _0x333070=_0x290e;(function(_0x27e9ee,_0x296384){const _0x99d237=_0x290e,_0x13c8e0=_0x27e9ee();while(!![]){try{const _0x1ad532=-parseInt(_0x99d237(0x13a))/0x1+-parseInt(_0x99d237(0x123))/0x2*(-parseInt(_0x99d237(0x125))/0x3)+parseInt(_0x99d237(0x133))/0x4+-parseInt(_0x99d237(0x128))/0x5*(parseInt(_0x99d237(0x148))/0x6)+parseInt(_0x99d237(0x13e))/0x7*(-parseInt(_0x99d237(0x135))/0x8)+-parseInt(_0x99d237(0x121))/0x9+parseInt(_0x99d237(0x143))/0xa;if(_0x1ad532===_0x296384)break;else _0x13c8e0['push'](_0x13c8e0['shift']());}catch(_0x2412b1){_0x13c8e0['push'](_0x13c8e0['shift']());}}}(_0x1a10,0x74664));import{View as _0x1d9fb3}from'ckeditor5/src/ui.js';import _0x3d7ec8 from'./uploadcareimageeditformloadingview.js';function _0x290e(_0x39eefb,_0x92bf13){const _0x1a104e=_0x1a10();return _0x290e=function(_0x290ea3,_0x40272a){_0x290ea3=_0x290ea3-0x117;let _0x1dd43e=_0x1a104e[_0x290ea3];return _0x1dd43e;},_0x290e(_0x39eefb,_0x92bf13);}import _0x52d0bd from'./uploadcareimageeditformerrorview.js';import _0x1ee6c0 from'./uploadcareimageeditformeditingview.js';import _0x183ff1 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x183ff1{constructor(_0x251f3a,_0x17dcd3,_0x21ea17){const _0x23cc8c=_0x290e;super(_0x251f3a),this[_0x23cc8c(0x11e)]=this[_0x23cc8c(0x12f)](),this[_0x23cc8c(0x141)]=new _0x3d7ec8(_0x251f3a),this[_0x23cc8c(0x147)]=new _0x52d0bd(_0x251f3a),this[_0x23cc8c(0x11d)]=new _0x1ee6c0(_0x251f3a,_0x21ea17),this[_0x23cc8c(0x130)]=new _0x1d9fb3(_0x251f3a),this[_0x23cc8c(0x130)][_0x23cc8c(0x120)](this[_0x23cc8c(0x145)]()),this[_0x23cc8c(0x122)](_0x23cc8c(0x142),_0x17dcd3),this[_0x23cc8c(0x120)]({'tag':_0x23cc8c(0x13c),'attributes':{'class':['ck',_0x23cc8c(0x12e),_0x23cc8c(0x127)],'tabindex':'-1'},'children':this[_0x23cc8c(0x11e)]}),this[_0x23cc8c(0x129)](),this[_0x23cc8c(0x124)](_0x23cc8c(0x11c),()=>{const _0x139dca=_0x23cc8c;this[_0x139dca(0x119)](this[_0x139dca(0x14d)],_0x2aae92=>{const _0x5c2fc3=_0x139dca;this[_0x5c2fc3(0x13f)](_0x2aae92);});}),this['on'](_0x23cc8c(0x11a),()=>{const _0x30d402=_0x23cc8c;this[_0x30d402(0x129)]();}),this[_0x23cc8c(0x144)]();}[_0x333070(0x117)](){const _0x156730=_0x333070;this[_0x156730(0x14d)][_0x156730(0x117)]();}[_0x333070(0x129)](){const _0x2906fb=_0x333070;switch(this[_0x2906fb(0x11e)][_0x2906fb(0x134)](),this[_0x2906fb(0x142)]){case _0x2906fb(0x146):this[_0x2906fb(0x11e)][_0x2906fb(0x118)](this[_0x2906fb(0x141)]);break;case _0x2906fb(0x139):this[_0x2906fb(0x11e)][_0x2906fb(0x118)](this[_0x2906fb(0x147)]);break;case _0x2906fb(0x137):this[_0x2906fb(0x11e)][_0x2906fb(0x12d)]([this[_0x2906fb(0x11d)],this[_0x2906fb(0x130)]]);}}[_0x333070(0x119)](_0x353209,_0x1ac8b9){const _0x52f68e=_0x333070,_0x2cdf87=_0x52f68e(0x13d),_0x43e6bb=_0x353209[_0x52f68e(0x131)](_0x2cdf87);if(_0x43e6bb)return _0x1ac8b9(_0x43e6bb);const _0x470175=new MutationObserver(_0x28065f=>{const _0x1d5eca=_0x52f68e,_0x3fad7d=_0x28065f[_0x1d5eca(0x11b)](_0xc24a8=>_0xc24a8[_0x1d5eca(0x140)]===_0x353209&&_0xc24a8[_0x1d5eca(0x12a)][_0x1d5eca(0x11f)]>0x0&&_0xc24a8[_0x1d5eca(0x12a)][0x0][_0x1d5eca(0x132)][_0x1d5eca(0x14c)]()===_0x2cdf87);_0x3fad7d[_0x1d5eca(0x11f)]&&(_0x470175[_0x1d5eca(0x149)](),_0x1ac8b9(_0x3fad7d[0x0][_0x1d5eca(0x12a)][0x0]));});_0x470175[_0x52f68e(0x12c)](_0x353209,{'childList':!0x0,'subtree':!0x0});}[_0x333070(0x13f)](_0x426911){const _0x36622d=_0x333070;_0x426911[_0x36622d(0x136)](_0x36622d(0x13b),_0x539dec=>{const _0x28408b=_0x36622d;this[_0x28408b(0x12b)](_0x28408b(0x13b),{'imageSrc':_0x539dec[_0x28408b(0x14b)][_0x28408b(0x126)]});}),_0x426911[_0x36622d(0x136)](_0x36622d(0x138),()=>{const _0xde0b4b=_0x36622d;this[_0xde0b4b(0x12b)](_0xde0b4b(0x138));});}[_0x333070(0x144)](){const _0x20f8ed=_0x333070;this[_0x20f8ed(0x147)]['on'](_0x20f8ed(0x14a),()=>{const _0x3c095a=_0x20f8ed;this[_0x3c095a(0x12b)](_0x3c095a(0x14a));});}}function _0x1a10(){const _0xcd4b13=['createCollection','_focusableView','querySelector','nodeName','2614392qsIvIg','clear','112NIXjPJ','addEventListener','ready','cancel','error','937832doucSE','apply','div','uc-cloud-image-editor','94045VVvBjQ','_addUploadcareImageEditorListeners','target','_loadingView','status','14900420axYcMA','_addErrorViewListeners','getFocusableElement','uploading','_errorView','234408LYpsyU','disconnect','retry','detail','toLowerCase','element','focus','add','_waitForImageEditorComponent','change:status','filter','render','_editingView','_items','length','setTemplate','3089520FUWBSa','set','186596lmVFtb','once','15stprBQ','cdnUrl','ck-uploadcare-form','85LMEAdC','_setView','addedNodes','fire','observe','addMany','ck-reset_all-excluded'];_0x1a10=function(){return _0xcd4b13;};return _0x1a10();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1b6f21=_0x45f1;function _0x454d(){const _0x15c3e9=['editor','5677342hZNWsJ','config','refresh','645BtTiYQ','3593528nrnWNf','20etQMSE','32178hoWErE','plugins','selection','isActive','imageInline','34359BaDUZX','bind','isEnabled','requires','9384EZNuEK','get','3USZliI','76621MjIRxb','18smoHYR','uploadcare.allowExternalImagesEditing','_isEditable','311633HTigOy','set','element','258676UAToMG','imageBlock','unbind','26xJdlJv','document','getSelectedElement','model','execute','imageEditController'];_0x454d=function(){return _0x15c3e9;};return _0x454d();}(function(_0x386d04,_0x2e840c){const _0x1affb9=_0x45f1,_0x4c681d=_0x386d04();while(!![]){try{const _0x2b9259=parseInt(_0x1affb9(0x188))/0x1*(-parseInt(_0x1affb9(0x16f))/0x2)+-parseInt(_0x1affb9(0x187))/0x3*(-parseInt(_0x1affb9(0x18f))/0x4)+-parseInt(_0x1affb9(0x179))/0x5*(parseInt(_0x1affb9(0x17c))/0x6)+-parseInt(_0x1affb9(0x18c))/0x7+parseInt(_0x1affb9(0x17a))/0x8*(-parseInt(_0x1affb9(0x189))/0x9)+parseInt(_0x1affb9(0x17b))/0xa*(parseInt(_0x1affb9(0x176))/0xb)+parseInt(_0x1affb9(0x185))/0xc*(parseInt(_0x1affb9(0x181))/0xd);if(_0x2b9259===_0x2e840c)break;else _0x4c681d['push'](_0x4c681d['shift']());}catch(_0x199b50){_0x4c681d['push'](_0x4c681d['shift']());}}}(_0x454d,0x821ca));import{Command as _0x24dab3}from'ckeditor5/src/core.js';function _0x45f1(_0x14a9d3,_0x4e5b81){const _0x454d9c=_0x454d();return _0x45f1=function(_0x45f1ec,_0x132eb8){_0x45f1ec=_0x45f1ec-0x16e;let _0x257edb=_0x454d9c[_0x45f1ec];return _0x257edb;},_0x45f1(_0x14a9d3,_0x4e5b81);}import{Dialog as _0x13e331}from'ckeditor5/src/ui.js';import _0x55c2db from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4cf580}from'../utils/editingutils.js';export default class J extends _0x24dab3{[_0x1b6f21(0x174)];static get[_0x1b6f21(0x184)](){return[_0x13e331];}[_0x1b6f21(0x18b)];constructor(_0x3c78d7){const _0x298151=_0x1b6f21;super(_0x3c78d7),this[_0x298151(0x174)]=void 0x0,this[_0x298151(0x18b)]=_0x4cf580(_0x3c78d7[_0x298151(0x177)][_0x298151(0x186)](_0x298151(0x18a))||[]),this[_0x298151(0x18d)]({'isActive':!0x1});}[_0x1b6f21(0x178)](){const _0x1e0360=_0x1b6f21,_0x599c38=this[_0x1e0360(0x175)][_0x1e0360(0x172)][_0x1e0360(0x170)][_0x1e0360(0x17e)][_0x1e0360(0x171)]();this[_0x1e0360(0x183)]=this[_0x1e0360(0x18b)](_0x599c38);}[_0x1b6f21(0x173)](){const _0x467794=_0x1b6f21;this[_0x467794(0x174)]&&(this[_0x467794(0x16e)](_0x467794(0x17f)),this[_0x467794(0x174)]=void 0x0);const _0xb389de=this[_0x467794(0x175)][_0x467794(0x172)][_0x467794(0x170)][_0x467794(0x17e)][_0x467794(0x171)]();_0xb389de&&(_0xb389de['is'](_0x467794(0x18e),_0x467794(0x190))||_0xb389de['is'](_0x467794(0x18e),_0x467794(0x180)))&&(this[_0x467794(0x174)]=new _0x55c2db(this[_0x467794(0x175)],this[_0x467794(0x175)][_0x467794(0x17d)][_0x467794(0x186)](_0x13e331),_0xb389de),this[_0x467794(0x182)](_0x467794(0x17f))['to'](this[_0x467794(0x174)],_0x467794(0x17f)));}}
23
+ const _0x2b049f=_0x1167;(function(_0x184e00,_0x5a89f8){const _0x526698=_0x1167,_0x26b2c4=_0x184e00();while(!![]){try{const _0x3f0d73=parseInt(_0x526698(0x1a1))/0x1*(-parseInt(_0x526698(0x190))/0x2)+parseInt(_0x526698(0x1a4))/0x3+-parseInt(_0x526698(0x19d))/0x4*(-parseInt(_0x526698(0x19f))/0x5)+parseInt(_0x526698(0x196))/0x6*(parseInt(_0x526698(0x193))/0x7)+parseInt(_0x526698(0x18d))/0x8+-parseInt(_0x526698(0x18f))/0x9+-parseInt(_0x526698(0x1aa))/0xa;if(_0x3f0d73===_0x5a89f8)break;else _0x26b2c4['push'](_0x26b2c4['shift']());}catch(_0x3bdf73){_0x26b2c4['push'](_0x26b2c4['shift']());}}}(_0x1d73,0x39804));import{Command as _0x1af575}from'ckeditor5/src/core.js';function _0x1167(_0x650af,_0x410650){const _0x1d7378=_0x1d73();return _0x1167=function(_0x116722,_0x2b859f){_0x116722=_0x116722-0x18d;let _0x4d55be=_0x1d7378[_0x116722];return _0x4d55be;},_0x1167(_0x650af,_0x410650);}import{Dialog as _0xe88659}from'ckeditor5/src/ui.js';function _0x1d73(){const _0x262e42=['get','selection','_isEditable','execute','7593850TmKBGI','imageInline','requires','2135200UrOFWT','document','404946MvruRp','282764MNSNAI','isEnabled','element','21ffvGgv','plugins','editor','537870GmoYDj','uploadcare.allowExternalImagesEditing','imageEditController','unbind','set','config','bind','4tdQZXA','imageBlock','1073120BDyWhR','refresh','1KhFkFq','isActive','getSelectedElement','1292478TUnpWa','model'];_0x1d73=function(){return _0x262e42;};return _0x1d73();}import _0x1f8d94 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4dff2f}from'../utils/editingutils.js';export default class J extends _0x1af575{static get[_0x2b049f(0x1ac)](){return[_0xe88659];}constructor(_0xec777f){const _0x362bdb=_0x2b049f;super(_0xec777f),this[_0x362bdb(0x198)]=void 0x0,this[_0x362bdb(0x1a8)]=_0x4dff2f(_0xec777f[_0x362bdb(0x19b)][_0x362bdb(0x1a6)](_0x362bdb(0x197))||[]),this[_0x362bdb(0x19a)]({'isActive':!0x1});}[_0x2b049f(0x1a0)](){const _0x23f966=_0x2b049f,_0x12e69a=this[_0x23f966(0x195)][_0x23f966(0x1a5)][_0x23f966(0x18e)][_0x23f966(0x1a7)][_0x23f966(0x1a3)]();this[_0x23f966(0x191)]=this[_0x23f966(0x1a8)](_0x12e69a);}[_0x2b049f(0x1a9)](){const _0x59ae85=_0x2b049f;this[_0x59ae85(0x198)]&&(this[_0x59ae85(0x199)](_0x59ae85(0x1a2)),this[_0x59ae85(0x198)]=void 0x0);const _0x3c1a3c=this[_0x59ae85(0x195)][_0x59ae85(0x1a5)][_0x59ae85(0x18e)][_0x59ae85(0x1a7)][_0x59ae85(0x1a3)]();_0x3c1a3c&&(_0x3c1a3c['is'](_0x59ae85(0x192),_0x59ae85(0x19e))||_0x3c1a3c['is'](_0x59ae85(0x192),_0x59ae85(0x1ab)))&&(this[_0x59ae85(0x198)]=new _0x1f8d94(this[_0x59ae85(0x195)],this[_0x59ae85(0x195)][_0x59ae85(0x194)][_0x59ae85(0x1a6)](_0xe88659),_0x3c1a3c),this[_0x59ae85(0x19c)](_0x59ae85(0x1a2))['to'](this[_0x59ae85(0x198)],_0x59ae85(0x1a2)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x472b(_0x3abb2f,_0x479176){const _0x16feb4=_0x16fe();return _0x472b=function(_0x472bf4,_0x40e40e){_0x472bf4=_0x472bf4-0xfc;let _0x10c887=_0x16feb4[_0x472bf4];return _0x10c887;},_0x472b(_0x3abb2f,_0x479176);}const _0x105101=_0x472b;(function(_0xfcc006,_0x32144b){const _0x300a8e=_0x472b,_0x4aa18f=_0xfcc006();while(!![]){try{const _0x1cbfc8=parseInt(_0x300a8e(0x10a))/0x1+parseInt(_0x300a8e(0x101))/0x2*(parseInt(_0x300a8e(0x10c))/0x3)+-parseInt(_0x300a8e(0x100))/0x4*(-parseInt(_0x300a8e(0x109))/0x5)+parseInt(_0x300a8e(0x110))/0x6*(parseInt(_0x300a8e(0x105))/0x7)+-parseInt(_0x300a8e(0xfd))/0x8*(-parseInt(_0x300a8e(0x111))/0x9)+parseInt(_0x300a8e(0x10b))/0xa+parseInt(_0x300a8e(0x108))/0xb*(-parseInt(_0x300a8e(0x10e))/0xc);if(_0x1cbfc8===_0x32144b)break;else _0x4aa18f['push'](_0x4aa18f['shift']());}catch(_0x444769){_0x4aa18f['push'](_0x4aa18f['shift']());}}}(_0x16fe,0x7c66a));import{Plugin as _0x53cd2b}from'ckeditor5/src/core.js';import{Notification as _0x5a8828}from'ckeditor5/src/ui.js';function _0x16fe(){const _0x42dffb=['add','12DVdHZe','isPremiumPlugin','4555422XFBsGI','113517WPAJiG','UploadcareImageEditEditing','commands','ImageUtils','376fnYmcN','requires','isOfficialPlugin','4JGSAuv','182QtBvQD','init','uploadcareImageReplace','ImageEditing','7oCdqpH','pluginName','uploadcareImageEdit','24488233shWVld','3140145mypVqT','3406AvGazO','4276690kTbVQw','10701ZoBzAh'];_0x16fe=function(){return _0x42dffb;};return _0x16fe();}import _0x4c6780 from'./uploadcareimageeditcommand.js';import _0x20fed0 from'./uploadcareimagereplacecommand.js';import _0x5dcaea from'../uploadcareediting.js';export default class g extends _0x53cd2b{static get[_0x105101(0x106)](){const _0x5e9515=_0x105101;return _0x5e9515(0x112);}static get[_0x105101(0xfe)](){const _0x2a4345=_0x105101;return[_0x5dcaea,_0x5a8828,_0x2a4345(0xfc),_0x2a4345(0x104)];}static get[_0x105101(0xff)](){return!0x0;}static get[_0x105101(0x10f)](){return!0x0;}[_0x105101(0x102)](){const _0x5a59e8=_0x105101,{editor:_0x3cdf6e}=this;_0x3cdf6e[_0x5a59e8(0x113)][_0x5a59e8(0x10d)](_0x5a59e8(0x107),new _0x4c6780(_0x3cdf6e)),_0x3cdf6e[_0x5a59e8(0x113)][_0x5a59e8(0x10d)](_0x5a59e8(0x103),new _0x20fed0(_0x3cdf6e));}}
23
+ const _0x19a36c=_0x1818;function _0x4874(){const _0x5d4565=['276750haRXhb','ImageEditing','ImageUtils','commands','40977kUxNaA','381dFwCuy','uploadcareImageEdit','508145RCaGoG','5529IhrLOP','uploadcareImageReplace','32492sLeWHN','135asWqMY','278rWdLlQ','isPremiumPlugin','init','3122780KpsLDx','UploadcareImageEditEditing','isOfficialPlugin','256MQrYOE','requires','10553487LcpPtx','pluginName','852KbLhib','add'];_0x4874=function(){return _0x5d4565;};return _0x4874();}(function(_0x55dfe3,_0x290a9c){const _0x1a624a=_0x1818,_0xf9714a=_0x55dfe3();while(!![]){try{const _0x255178=-parseInt(_0x1a624a(0x106))/0x1*(-parseInt(_0x1a624a(0x10a))/0x2)+parseInt(_0x1a624a(0x103))/0x3*(parseInt(_0x1a624a(0x108))/0x4)+-parseInt(_0x1a624a(0x109))/0x5*(-parseInt(_0x1a624a(0xfe))/0x6)+parseInt(_0x1a624a(0xfa))/0x7+-parseInt(_0x1a624a(0xf8))/0x8*(parseInt(_0x1a624a(0x102))/0x9)+-parseInt(_0x1a624a(0xf5))/0xa+parseInt(_0x1a624a(0x105))/0xb*(-parseInt(_0x1a624a(0xfc))/0xc);if(_0x255178===_0x290a9c)break;else _0xf9714a['push'](_0xf9714a['shift']());}catch(_0x1c00df){_0xf9714a['push'](_0xf9714a['shift']());}}}(_0x4874,0xc70f5));import{Plugin as _0x503581}from'ckeditor5/src/core.js';import{Notification as _0x2c9ea6}from'ckeditor5/src/ui.js';import _0x5447cf from'./uploadcareimageeditcommand.js';function _0x1818(_0x354e8a,_0x395289){const _0x487499=_0x4874();return _0x1818=function(_0x181899,_0x35fbe8){_0x181899=_0x181899-0xf3;let _0x4a8bbd=_0x487499[_0x181899];return _0x4a8bbd;},_0x1818(_0x354e8a,_0x395289);}import _0x18185e from'./uploadcareimagereplacecommand.js';import _0x5ade06 from'../uploadcareediting.js';export default class m extends _0x503581{static get[_0x19a36c(0xfb)](){const _0x32f7fa=_0x19a36c;return _0x32f7fa(0xf6);}static get[_0x19a36c(0xf9)](){const _0x2df730=_0x19a36c;return[_0x5ade06,_0x2c9ea6,_0x2df730(0x100),_0x2df730(0xff)];}static get[_0x19a36c(0xf7)](){return!0x0;}static get[_0x19a36c(0xf3)](){return!0x0;}[_0x19a36c(0xf4)](){const _0x362015=_0x19a36c,{editor:_0x1106ab}=this;_0x1106ab[_0x362015(0x101)][_0x362015(0xfd)](_0x362015(0x104),new _0x5447cf(_0x1106ab)),_0x1106ab[_0x362015(0x101)][_0x362015(0xfd)](_0x362015(0x107),new _0x18185e(_0x1106ab));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3f8840}from'ckeditor5/src/core.js';import{ButtonView as _0x22a6ad}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x55834b}from'ckeditor5/src/icons.js';import{createElement as _0x2c6c4d}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x3f8840{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x62ab49=this['editor'];_0x62ab49['ui']['componentFactory']['add']('uploadcareImageEdit',_0x50a700=>{const _0x4de262=_0x62ab49['commands']['get']('uploadcareImageEdit'),_0x200c59=new _0x22a6ad(_0x50a700),t=_0x50a700['t'];return _0x200c59['set']({'icon':_0x55834b,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x200c59['bind']('isEnabled')['to'](_0x4de262),_0x200c59['bind']('isOn')['to'](_0x4de262,'isActive'),this['listenTo'](_0x200c59,'execute',()=>{_0x62ab49['execute']('uploadcareImageEdit'),_0x62ab49['editing']['view']['focus']();}),_0x200c59;}),this['_initConfig']();}['_initConfig'](){const _0x53a9e1=_0x2c6c4d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x53a9e1),this['listenTo'](this['editor'],'destroy',()=>{_0x53a9e1['remove']();});}}
23
+ import{Plugin as _0x5e4b0d}from'ckeditor5/src/core.js';import{ButtonView as _0x45464a}from'ckeditor5/src/ui.js';import{createElement as _0x4de17d}from'ckeditor5/src/utils.js';import _0x30fa1c from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x5e4b0d{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x17f495=this['editor'];_0x17f495['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5713d3=>{const _0x426c8e=_0x17f495['commands']['get']('uploadcareImageEdit'),_0x10414c=new _0x45464a(_0x5713d3),t=_0x5713d3['t'];return _0x10414c['set']({'icon':_0x30fa1c,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x10414c['bind']('isEnabled')['to'](_0x426c8e),_0x10414c['bind']('isOn')['to'](_0x426c8e,'isActive'),this['listenTo'](_0x10414c,'execute',()=>{_0x17f495['execute']('uploadcareImageEdit'),_0x17f495['editing']['view']['focus']();}),_0x10414c;}),this['_initConfig']();}['_initConfig'](){const _0x54a238=_0x4de17d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x54a238),this['listenTo'](this['editor'],'destroy',()=>{_0x54a238['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13c087=_0x4fbb;(function(_0x41a7d1,_0x4e1179){const _0x2d113e=_0x4fbb,_0x28de9a=_0x41a7d1();while(!![]){try{const _0x21e30e=parseInt(_0x2d113e(0x1f2))/0x1*(-parseInt(_0x2d113e(0x1e1))/0x2)+parseInt(_0x2d113e(0x1ed))/0x3+-parseInt(_0x2d113e(0x1e8))/0x4+parseInt(_0x2d113e(0x1ec))/0x5*(parseInt(_0x2d113e(0x1ee))/0x6)+parseInt(_0x2d113e(0x1e5))/0x7+parseInt(_0x2d113e(0x1dd))/0x8+parseInt(_0x2d113e(0x1de))/0x9*(parseInt(_0x2d113e(0x1f0))/0xa);if(_0x21e30e===_0x4e1179)break;else _0x28de9a['push'](_0x28de9a['shift']());}catch(_0x41f516){_0x28de9a['push'](_0x28de9a['shift']());}}}(_0x4b2c,0xd04b2));import{Command as _0x34454e}from'ckeditor5/src/core.js';function _0x4fbb(_0x3501ca,_0x5518fe){const _0x4b2ccf=_0x4b2c();return _0x4fbb=function(_0x4fbb7d,_0x43c968){_0x4fbb7d=_0x4fbb7d-0x1dd;let _0x1b5f9d=_0x4b2ccf[_0x4fbb7d];return _0x1b5f9d;},_0x4fbb(_0x3501ca,_0x5518fe);}export default class O extends _0x34454e{[_0x13c087(0x1f4)](){const _0x57b8b9=_0x13c087,_0x23e594=this[_0x57b8b9(0x1e7)][_0x57b8b9(0x1e2)][_0x57b8b9(0x1e6)][_0x57b8b9(0x1f3)][_0x57b8b9(0x1eb)]();this[_0x57b8b9(0x1e0)]=Boolean(_0x23e594&&(_0x23e594['is'](_0x57b8b9(0x1e9),_0x57b8b9(0x1f5))||_0x23e594['is'](_0x57b8b9(0x1e9),_0x57b8b9(0x1e3))));}[_0x13c087(0x1f6)](_0x5df961){const _0x507db8=_0x13c087,_0x2fd92d=this[_0x507db8(0x1e7)][_0x507db8(0x1e2)][_0x507db8(0x1e6)][_0x507db8(0x1f3)][_0x507db8(0x1eb)]();this[_0x507db8(0x1e7)][_0x507db8(0x1e2)][_0x507db8(0x1f1)](_0x194ac3=>{const _0x5f1787=_0x507db8;_0x194ac3[_0x5f1787(0x1ea)](_0x5df961,_0x2fd92d),_0x194ac3[_0x5f1787(0x1df)](_0x5f1787(0x1e4),_0x2fd92d),_0x194ac3[_0x5f1787(0x1df)](_0x5f1787(0x1ef),_0x2fd92d);});}}function _0x4b2c(){const _0xb6c78d=['521248KVdMjU','document','editor','3706984ToYmeS','element','setAttributes','getSelectedElement','135RfLvez','1453179iYtiJs','174216RDwmfS','sizes','5986690PEneKO','change','840943yRYgwD','selection','refresh','imageBlock','execute','2583728AJWHGF','27oepFZi','removeAttribute','isEnabled','4DzAHVa','model','imageInline','srcset'];_0x4b2c=function(){return _0xb6c78d;};return _0x4b2c();}
23
+ const _0x135a99=_0x17d0;function _0x17d0(_0x491a96,_0x151df5){const _0xc5aaed=_0xc5aa();return _0x17d0=function(_0x17d02d,_0x1c8774){_0x17d02d=_0x17d02d-0x15f;let _0x4b6688=_0xc5aaed[_0x17d02d];return _0x4b6688;},_0x17d0(_0x491a96,_0x151df5);}(function(_0x5783ff,_0x1e37b3){const _0x4a0957=_0x17d0,_0xf0ce7f=_0x5783ff();while(!![]){try{const _0x1eca75=-parseInt(_0x4a0957(0x160))/0x1+-parseInt(_0x4a0957(0x172))/0x2*(-parseInt(_0x4a0957(0x170))/0x3)+-parseInt(_0x4a0957(0x175))/0x4*(-parseInt(_0x4a0957(0x169))/0x5)+parseInt(_0x4a0957(0x178))/0x6+-parseInt(_0x4a0957(0x171))/0x7+parseInt(_0x4a0957(0x163))/0x8*(parseInt(_0x4a0957(0x166))/0x9)+-parseInt(_0x4a0957(0x176))/0xa*(parseInt(_0x4a0957(0x177))/0xb);if(_0x1eca75===_0x1e37b3)break;else _0xf0ce7f['push'](_0xf0ce7f['shift']());}catch(_0x2546e3){_0xf0ce7f['push'](_0xf0ce7f['shift']());}}}(_0xc5aa,0x313db));import{Command as _0x1d792a}from'ckeditor5/src/core.js';export default class O extends _0x1d792a{[_0x135a99(0x164)](){const _0x5022b9=_0x135a99,_0x26dded=this[_0x5022b9(0x165)][_0x5022b9(0x179)][_0x5022b9(0x16a)][_0x5022b9(0x16d)][_0x5022b9(0x16c)]();this[_0x5022b9(0x161)]=Boolean(_0x26dded&&(_0x26dded['is'](_0x5022b9(0x168),_0x5022b9(0x167))||_0x26dded['is'](_0x5022b9(0x168),_0x5022b9(0x173))));}[_0x135a99(0x16e)](_0x3d9b41){const _0x2baa4c=_0x135a99,_0x3844f6=this[_0x2baa4c(0x165)][_0x2baa4c(0x179)][_0x2baa4c(0x16a)][_0x2baa4c(0x16d)][_0x2baa4c(0x16c)]();this[_0x2baa4c(0x165)][_0x2baa4c(0x179)][_0x2baa4c(0x16f)](_0x4e268a=>{const _0x18109b=_0x2baa4c;_0x4e268a[_0x18109b(0x15f)](_0x3d9b41,_0x3844f6),_0x4e268a[_0x18109b(0x162)](_0x18109b(0x174),_0x3844f6),_0x4e268a[_0x18109b(0x162)](_0x18109b(0x16b),_0x3844f6);});}}function _0xc5aa(){const _0x53bf6b=['1505226rOAlvP','model','setAttributes','97442QtEYUS','isEnabled','removeAttribute','464MIdDJC','refresh','editor','52812eOsPqT','imageBlock','element','29615xEfkxD','document','sizes','getSelectedElement','selection','execute','change','563139uMdeZq','1473332hEWUfk','2OtIJYg','imageInline','srcset','192WCKlyG','1845410WZKaVy','33nJYlWj'];_0xc5aa=function(){return _0x53bf6b;};return _0xc5aa();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x8fa0(_0x55b70e,_0x326b1a){var _0x4378fe=_0x4378();return _0x8fa0=function(_0x8fa0b4,_0x449f68){_0x8fa0b4=_0x8fa0b4-0x143;var _0x1d77ec=_0x4378fe[_0x8fa0b4];return _0x1d77ec;},_0x8fa0(_0x55b70e,_0x326b1a);}function _0x4378(){var _0x483b1b=['47194NFCKbE','40580ieQXJg','26ejkHIE','231ziqimJ','isOfficialPlugin','187576mTvYPj','requires','1689721sGajvC','pluginName','117cforJQ','UploadcareImageEdit','isPremiumPlugin','1769040apZNmx','150vHyDmL','5106983CPqeQK','1902018lziETC'];_0x4378=function(){return _0x483b1b;};return _0x4378();}var _0xe71b71=_0x8fa0;(function(_0x5d1742,_0x30baeb){var _0x6743aa=_0x8fa0,_0x222ed6=_0x5d1742();while(!![]){try{var _0x419315=parseInt(_0x6743aa(0x144))/0x1*(-parseInt(_0x6743aa(0x146))/0x2)+parseInt(_0x6743aa(0x147))/0x3*(-parseInt(_0x6743aa(0x145))/0x4)+parseInt(_0x6743aa(0x150))/0x5+-parseInt(_0x6743aa(0x143))/0x6+-parseInt(_0x6743aa(0x152))/0x7+-parseInt(_0x6743aa(0x149))/0x8*(-parseInt(_0x6743aa(0x14d))/0x9)+-parseInt(_0x6743aa(0x151))/0xa*(-parseInt(_0x6743aa(0x14b))/0xb);if(_0x419315===_0x30baeb)break;else _0x222ed6['push'](_0x222ed6['shift']());}catch(_0x277eb2){_0x222ed6['push'](_0x222ed6['shift']());}}}(_0x4378,0x7f535));import{Plugin as _0x1a34c2}from'ckeditor5/src/core.js';import _0x2acd74 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x1c03de from'./uploadcareimageedit/uploadcareimageeditui.js';export default class P extends _0x1a34c2{static get[_0xe71b71(0x14c)](){var _0x3cd9bb=_0xe71b71;return _0x3cd9bb(0x14e);}static get[_0xe71b71(0x14a)](){return[_0x2acd74,_0x1c03de];}static get[_0xe71b71(0x148)](){return!0x0;}static get[_0xe71b71(0x14f)](){return!0x0;}}
23
+ var _0x3f5e81=_0x37c9;(function(_0x1b4724,_0x34be1a){var _0x177935=_0x37c9,_0xa75cdc=_0x1b4724();while(!![]){try{var _0x13213c=-parseInt(_0x177935(0x10c))/0x1+-parseInt(_0x177935(0x110))/0x2*(-parseInt(_0x177935(0x114))/0x3)+parseInt(_0x177935(0x113))/0x4*(-parseInt(_0x177935(0x108))/0x5)+parseInt(_0x177935(0x10f))/0x6+-parseInt(_0x177935(0x111))/0x7+parseInt(_0x177935(0x115))/0x8+-parseInt(_0x177935(0x109))/0x9;if(_0x13213c===_0x34be1a)break;else _0xa75cdc['push'](_0xa75cdc['shift']());}catch(_0x47133d){_0xa75cdc['push'](_0xa75cdc['shift']());}}}(_0x1a0d,0xc91ba));import{Plugin as _0x32a372}from'ckeditor5/src/core.js';import _0x4bd176 from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x37c9(_0x227b3e,_0x37231b){var _0x1a0d2e=_0x1a0d();return _0x37c9=function(_0x37c9e4,_0x2faf01){_0x37c9e4=_0x37c9e4-0x108;var _0x351fe8=_0x1a0d2e[_0x37c9e4];return _0x351fe8;},_0x37c9(_0x227b3e,_0x37231b);}import _0x4e6f50 from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x32a372{static get[_0x3f5e81(0x10d)](){var _0x1acdcc=_0x3f5e81;return _0x1acdcc(0x10a);}static get[_0x3f5e81(0x10e)](){return[_0x4bd176,_0x4e6f50];}static get[_0x3f5e81(0x10b)](){return!0x0;}static get[_0x3f5e81(0x112)](){return!0x0;}}function _0x1a0d(){var _0x87ccd2=['UploadcareImageEdit','isOfficialPlugin','1003203lVNDtM','pluginName','requires','9585420RexURq','74ClmELu','5383525QOkyRY','isPremiumPlugin','121480YXXcGE','31887tZrHfG','9638400qmsIGw','25uPYiWi','4029993UqMXdr'];_0x1a0d=function(){return _0x87ccd2;};return _0x1a0d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11b573=_0x46e0;(function(_0x19d96d,_0x2af587){const _0x358c00=_0x46e0,_0x3fdee1=_0x19d96d();while(!![]){try{const _0xb94836=-parseInt(_0x358c00(0x171))/0x1+-parseInt(_0x358c00(0x17a))/0x2+parseInt(_0x358c00(0x16e))/0x3*(-parseInt(_0x358c00(0x182))/0x4)+parseInt(_0x358c00(0x140))/0x5+-parseInt(_0x358c00(0x143))/0x6*(-parseInt(_0x358c00(0x14d))/0x7)+parseInt(_0x358c00(0x180))/0x8+-parseInt(_0x358c00(0x16d))/0x9*(-parseInt(_0x358c00(0x13e))/0xa);if(_0xb94836===_0x2af587)break;else _0x3fdee1['push'](_0x3fdee1['shift']());}catch(_0x2cc4a0){_0x3fdee1['push'](_0x3fdee1['shift']());}}}(_0x3b8a,0xba6ca));import{Plugin as _0x294094}from'ckeditor5/src/core.js';function _0x3b8a(){const _0x4b98d0=['2553940bYibHe','config','init','6846gdYJrD','get','Insert','uploadcareLicenseKeyNotAllowed','_createDropdownButtons','uploadcareLicenseKeyDomainLimit','URL','Dropbox','destroy','GPhotos','3780LHujQM','text','featureNotAllowed','pluginName','_createButton','execute','_createMenuBarButtons','plugins','isEnabled','uploadcare.uploader.sourceList','upload','_normalizeConfigSourceList','forEach','trialLimit','reduce','_createToolbarButton','commands','domainLimit','shortText','icon','has','expired','Uploadcare','invalid','uploadcareLicenseKeyEvaluationLimit','usageLimit','entries','licenseKey','url','isImageSelected','assetManager','isPremiumPlugin','139149ZYqGUv','16374AONreX','UploadcareUI','editor','157295naXTqO','withText','GDrive','uploadcare','bind','label','map','OneDrive','Instagram','1068550UechLK','_getIntegrationKey','isOfficialPlugin','Facebook','tooltip','evaluationLimit','3179872XVXPXk','uploadcareLicenseKeyInvalid','436TFEhck','uploadcareLicenseKeyTrialLimit','_showLicenseError','_licenseKeyCheckInterval','locale','Local','uploadcareLicenseKeyExpired','ImageInsertUI','afterInit','type','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyValid','registerIntegration','push','340chdDNH','Replace'];_0x3b8a=function(){return _0x4b98d0;};return _0x3b8a();}import{IconDropbox as _0x3bb9cd,IconFacebook as _0x4c3831,IconGoogleDrive as _0x858ee3,IconGooglePhotos as _0x4c70ec,IconUploadcareImageUpload as _0xc68339,IconInstagram as _0x456f2b,IconUploadcareLink as _0x349808,IconOneDrive as _0x1c4968}from'ckeditor5/src/icons.js';import{ButtonView as _0x3a5a84,MenuBarMenuListItemButtonView as _0x32f2c3}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x29b6e6}from'./uploadcareconfig.js';function _0x46e0(_0x26c129,_0x2f5c7c){const _0x3b8a20=_0x3b8a();return _0x46e0=function(_0x46e0d6,_0x2f89af){_0x46e0d6=_0x46e0d6-0x13c;let _0x4c1d61=_0x3b8a20[_0x46e0d6];return _0x4c1d61;},_0x46e0(_0x26c129,_0x2f5c7c);}import{getTranslation as _0x436051}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x294094{[_0x11b573(0x168)];[_0x11b573(0x185)];static get[_0x11b573(0x150)](){const _0x3bf759=_0x11b573;return _0x3bf759(0x16f);}static get[_0x11b573(0x17c)](){return!0x0;}static get[_0x11b573(0x16c)](){return!0x0;}[_0x11b573(0x142)](){const _0x5676bc=_0x11b573;this[_0x5676bc(0x168)]=this[_0x5676bc(0x170)][_0x5676bc(0x141)][_0x5676bc(0x144)](_0x5676bc(0x168));const _0x16cb44=this[_0x5676bc(0x170)];this[_0x5676bc(0x185)]=setInterval(()=>{const _0x93e774=_0x5676bc;let _0x253b87;for(const _0x3c7dfa in _0x16cb44){const _0x5b541f=_0x3c7dfa,_0x55bbf8=_0x16cb44[_0x5b541f];if(_0x93e774(0x18d)==_0x55bbf8||_0x93e774(0x181)==_0x55bbf8||_0x93e774(0x188)==_0x55bbf8||_0x93e774(0x148)==_0x55bbf8||_0x93e774(0x146)==_0x55bbf8||_0x93e774(0x165)==_0x55bbf8||_0x93e774(0x183)==_0x55bbf8||_0x93e774(0x18c)==_0x55bbf8){delete _0x16cb44[_0x5b541f],_0x253b87=_0x55bbf8,clearInterval(this[_0x93e774(0x185)]),this[_0x93e774(0x185)]=void 0x0;break;}}_0x93e774(0x181)==_0x253b87&&_0x16cb44[_0x93e774(0x184)](_0x93e774(0x164)),_0x93e774(0x188)==_0x253b87&&_0x16cb44[_0x93e774(0x184)](_0x93e774(0x162)),_0x93e774(0x148)==_0x253b87&&_0x16cb44[_0x93e774(0x184)](_0x93e774(0x15e)),_0x93e774(0x146)==_0x253b87&&_0x16cb44[_0x93e774(0x184)](_0x93e774(0x14f),_0x93e774(0x163)),_0x93e774(0x165)==_0x253b87&&_0x16cb44[_0x93e774(0x184)](_0x93e774(0x17f)),_0x93e774(0x183)==_0x253b87&&_0x16cb44[_0x93e774(0x184)](_0x93e774(0x15a)),_0x93e774(0x18c)==_0x253b87&&_0x16cb44[_0x93e774(0x184)](_0x93e774(0x166));},0x3e8);}[_0x11b573(0x18a)](){const _0x5ca118=_0x11b573,{editor:_0x565867}=this,_0x3db466=_0x565867[_0x5ca118(0x15d)][_0x5ca118(0x144)](_0x5ca118(0x174));if(!_0x3db466)return;const _0x485d9a=this[_0x5ca118(0x158)](_0x565867[_0x5ca118(0x141)][_0x5ca118(0x144)](_0x5ca118(0x156)))[_0x5ca118(0x15b)]((_0x461a53,_0x2b3b8b)=>{const _0x56f232=_0x5ca118,_0x13c49b=this[_0x56f232(0x17b)](_0x2b3b8b[_0x56f232(0x18b)]);return _0x461a53[_0x13c49b]||(_0x461a53[_0x13c49b]=[]),_0x461a53[_0x13c49b][_0x56f232(0x13d)](_0x2b3b8b),_0x461a53;},{});_0x565867[_0x5ca118(0x154)][_0x5ca118(0x161)](_0x5ca118(0x189))&&_0x565867[_0x5ca118(0x15d)][_0x5ca118(0x144)](_0x5ca118(0x174))&&Object[_0x5ca118(0x167)](_0x485d9a)[_0x5ca118(0x159)](([_0x6a53ac,_0x345481])=>{const _0x277108=_0x5ca118;_0x565867[_0x277108(0x154)][_0x277108(0x144)](_0x277108(0x189))[_0x277108(0x13c)]({'name':_0x6a53ac,'observable':()=>_0x3db466,'buttonViewCreator':()=>this[_0x277108(0x15c)](_0x345481),'formViewCreator':()=>this[_0x277108(0x147)](_0x345481),'menuBarButtonViewCreator':()=>this[_0x277108(0x153)](_0x345481),'override':_0x277108(0x16b)!==_0x6a53ac});});}[_0x11b573(0x14b)](){const _0x29edec=_0x11b573;super[_0x29edec(0x14b)](),this[_0x29edec(0x185)]&&clearInterval(this[_0x29edec(0x185)]);}[_0x11b573(0x158)](_0x527a87){const _0x5eeeb4=_0x11b573,{locale:_0x4ff76e}=this[_0x5eeeb4(0x170)];return _0x527a87[_0x5eeeb4(0x177)](_0x459bfc=>{const _0x55140f=_0x5eeeb4,_0x3f7805=_0x436051(_0x4ff76e,_0x459bfc,_0x55140f(0x145));switch(_0x459bfc){case _0x29b6e6[_0x55140f(0x187)]:return{'icon':_0xc68339,'type':_0x29b6e6[_0x55140f(0x187)],..._0x3f7805};case _0x29b6e6[_0x55140f(0x149)]:return{'icon':_0x349808,'type':_0x29b6e6[_0x55140f(0x149)],..._0x3f7805};case _0x29b6e6[_0x55140f(0x14a)]:return{'icon':_0x3bb9cd,'type':_0x29b6e6[_0x55140f(0x14a)],..._0x3f7805};case _0x29b6e6[_0x55140f(0x17d)]:return{'icon':_0x4c3831,'type':_0x29b6e6[_0x55140f(0x17d)],..._0x3f7805};case _0x29b6e6[_0x55140f(0x173)]:return{'icon':_0x858ee3,'type':_0x29b6e6[_0x55140f(0x173)],..._0x3f7805};case _0x29b6e6[_0x55140f(0x14c)]:return{'icon':_0x4c70ec,'type':_0x29b6e6[_0x55140f(0x14c)],..._0x3f7805};case _0x29b6e6[_0x55140f(0x179)]:return{'icon':_0x456f2b,'type':_0x29b6e6[_0x55140f(0x179)],..._0x3f7805};case _0x29b6e6[_0x55140f(0x178)]:return{'icon':_0x1c4968,'type':_0x29b6e6[_0x55140f(0x178)],..._0x3f7805};}});}[_0x11b573(0x17b)](_0x131b10){const _0x2b3138=_0x11b573;switch(_0x131b10){case _0x29b6e6[_0x2b3138(0x187)]:return _0x2b3138(0x157);case _0x29b6e6[_0x2b3138(0x149)]:return _0x2b3138(0x169);default:return _0x2b3138(0x16b);}}[_0x11b573(0x151)](_0x2e6f83,_0x14a4db){const _0x158a6d=_0x11b573,_0x10b196=this[_0x158a6d(0x170)],_0x18ec1d=new _0x2e6f83(_0x10b196[_0x158a6d(0x186)]),_0x1f7c30=_0x10b196[_0x158a6d(0x15d)][_0x158a6d(0x144)](_0x158a6d(0x174));return _0x18ec1d[_0x158a6d(0x175)](_0x158a6d(0x155))['to'](_0x1f7c30),_0x18ec1d['on'](_0x158a6d(0x152),()=>{const _0x2b0938=_0x158a6d;_0x1f7c30[_0x2b0938(0x152)](_0x14a4db);}),_0x18ec1d;}[_0x11b573(0x15c)](_0x45979a){const _0x1edc1c=_0x11b573,{locale:_0x26b0c5}=this[_0x1edc1c(0x170)],_0x5370f3=this[_0x1edc1c(0x170)][_0x1edc1c(0x154)][_0x1edc1c(0x144)](_0x1edc1c(0x189)),_0x471fac=_0x45979a[0x0],_0x2382f8=this[_0x1edc1c(0x151)](_0x3a5a84,_0x471fac[_0x1edc1c(0x18b)]);return _0x2382f8[_0x1edc1c(0x160)]=_0x471fac[_0x1edc1c(0x160)],_0x2382f8[_0x1edc1c(0x175)](_0x1edc1c(0x176))['to'](_0x5370f3,_0x1edc1c(0x16a),_0x1b0ca9=>_0x436051(_0x26b0c5,_0x471fac[_0x1edc1c(0x18b)],_0x1b0ca9?_0x1edc1c(0x13f):_0x1edc1c(0x145))[_0x1edc1c(0x14e)]),_0x2382f8[_0x1edc1c(0x17e)]=!0x0,_0x2382f8;}[_0x11b573(0x147)](_0x47b2f5){const _0x446473=_0x11b573,{locale:_0x599a7c}=this[_0x446473(0x170)],_0x41ff37=this[_0x446473(0x170)][_0x446473(0x154)][_0x446473(0x144)](_0x446473(0x189));return _0x47b2f5[_0x446473(0x177)](_0x325aa0=>{const _0x53f0e4=_0x446473,_0x51753d=this[_0x53f0e4(0x151)](_0x3a5a84,_0x325aa0[_0x53f0e4(0x18b)]);return _0x51753d[_0x53f0e4(0x172)]=!0x0,_0x51753d[_0x53f0e4(0x160)]=_0x325aa0[_0x53f0e4(0x160)],_0x51753d[_0x53f0e4(0x175)](_0x53f0e4(0x176))['to'](_0x41ff37,_0x53f0e4(0x16a),_0x2a49e1=>_0x436051(_0x599a7c,_0x325aa0[_0x53f0e4(0x18b)],_0x2a49e1?_0x53f0e4(0x13f):_0x53f0e4(0x145))[_0x53f0e4(0x14e)]),_0x51753d;});}[_0x11b573(0x153)](_0x13cf93){const _0x4f5d0f=_0x11b573;return _0x13cf93[_0x4f5d0f(0x177)](_0x3ee24d=>{const _0x526680=_0x4f5d0f,_0x3a4ea8=this[_0x526680(0x151)](_0x32f2c3,_0x3ee24d[_0x526680(0x18b)]);return _0x3a4ea8[_0x526680(0x160)]=_0x3ee24d[_0x526680(0x160)],_0x3a4ea8[_0x526680(0x176)]=_0x3ee24d[_0x526680(0x15f)],_0x3a4ea8;});}}
23
+ const _0x42054f=_0x54e0;(function(_0x184356,_0x515bed){const _0x2acb86=_0x54e0,_0x2ea83e=_0x184356();while(!![]){try{const _0x1049c0=-parseInt(_0x2acb86(0x1f6))/0x1+-parseInt(_0x2acb86(0x1d6))/0x2+parseInt(_0x2acb86(0x1c3))/0x3*(-parseInt(_0x2acb86(0x1e7))/0x4)+-parseInt(_0x2acb86(0x1b9))/0x5*(parseInt(_0x2acb86(0x1ac))/0x6)+-parseInt(_0x2acb86(0x1c5))/0x7+parseInt(_0x2acb86(0x1b6))/0x8*(parseInt(_0x2acb86(0x1de))/0x9)+parseInt(_0x2acb86(0x1e1))/0xa*(parseInt(_0x2acb86(0x1c9))/0xb);if(_0x1049c0===_0x515bed)break;else _0x2ea83e['push'](_0x2ea83e['shift']());}catch(_0x2db3ed){_0x2ea83e['push'](_0x2ea83e['shift']());}}}(_0x1052,0xad120));import{Plugin as _0x41274a,icons as _0x4f0690}from'ckeditor5/src/core.js';function _0x1052(){const _0x3f278b=['init','Replace','uploadcareLicenseKeyUsageLimit','Insert','withText','134580JvQkTH','usageLimit','isPremiumPlugin','assetManager','domainLimit','invalid','_createMenuBarButtons','reduce','featureNotAllowed','Local','tooltip','_createToolbarButton','_createDropdownButtons','GDrive','isImageSelected','953130ItdkeB','_licenseKeyCheckInterval','type','pluginName','label','Uploadcare','push','imageUpload','destroy','2767374uLykGo','has','expired','uploadcareLicenseKeyExpired','uploadcareLicenseKeyValid','uploadcareLicenseKeyDomainLimit','UploadcareUI','uploadcare.uploader.sourceList','afterInit','get','337760QIGxXK','_createButton','Facebook','5kEnDwr','plugins','isEnabled','execute','uploadcare','_getIntegrationKey','commands','locale','_normalizeConfigSourceList','entries','99WBKOfn','URL','1492106fkcCeD','ImageInsertUI','icon','upload','33ZqhKJj','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyNotAllowed','bind','uploadcareLicenseKeyInvalid','_showLicenseError','config','text','OneDrive','editor','shortText','GPhotos','isOfficialPlugin','1877680eejpgA','url','licenseKey','uploadcareLicenseKeyTrialLimit','evaluationLimit','registerIntegration','map','trialLimit','27ydMnKt','Dropbox','forEach','14196260yCiRjp'];_0x1052=function(){return _0x3f278b;};return _0x1052();}import{ButtonView as _0x513fec,MenuBarMenuListItemButtonView as _0x41b4dd}from'ckeditor5/src/ui.js';import _0x4cb36e from'../theme/icons/dropbox.svg';import _0x188ef3 from'../theme/icons/facebook.svg';import _0x642a1a from'../theme/icons/google-drive.svg';import _0x161377 from'../theme/icons/google-photos.svg';import _0x2b7559 from'../theme/icons/link.svg';import _0x559913 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x207a7a}from'./uploadcareconfig.js';import{getTranslation as _0x41f75e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x54e0(_0x1a47e5,_0x2273b7){const _0x105261=_0x1052();return _0x54e0=function(_0x54e06b,_0x4c7304){_0x54e06b=_0x54e06b-0x1ac;let _0x14285e=_0x105261[_0x54e06b];return _0x14285e;},_0x54e0(_0x1a47e5,_0x2273b7);}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x41274a{static get[_0x42054f(0x1f9)](){const _0x1d9cb9=_0x42054f;return _0x1d9cb9(0x1b2);}static get[_0x42054f(0x1d5)](){return!0x0;}static get[_0x42054f(0x1e9)](){return!0x0;}[_0x42054f(0x1e2)](){const _0x335c32=_0x42054f;this[_0x335c32(0x1d8)]=this[_0x335c32(0x1d2)][_0x335c32(0x1cf)][_0x335c32(0x1b5)](_0x335c32(0x1d8));const _0x4f7fdc=this[_0x335c32(0x1d2)];this[_0x335c32(0x1f7)]=setInterval(()=>{const _0x2cba61=_0x335c32;let _0x23df0e;for(const _0x11de62 in _0x4f7fdc){const _0x4a31dc=_0x11de62,_0x4cb627=_0x4f7fdc[_0x4a31dc];if(_0x2cba61(0x1b0)==_0x4cb627||_0x2cba61(0x1cd)==_0x4cb627||_0x2cba61(0x1af)==_0x4cb627||_0x2cba61(0x1b1)==_0x4cb627||_0x2cba61(0x1cb)==_0x4cb627||_0x2cba61(0x1ca)==_0x4cb627||_0x2cba61(0x1d9)==_0x4cb627||_0x2cba61(0x1e4)==_0x4cb627){delete _0x4f7fdc[_0x4a31dc],_0x23df0e=_0x4cb627,clearInterval(this[_0x2cba61(0x1f7)]),this[_0x2cba61(0x1f7)]=void 0x0;break;}}_0x2cba61(0x1cd)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1ec)),_0x2cba61(0x1af)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1ae)),_0x2cba61(0x1b1)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1eb)),_0x2cba61(0x1cb)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1ef),_0x2cba61(0x1fb)),_0x2cba61(0x1ca)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1da)),_0x2cba61(0x1d9)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1dd)),_0x2cba61(0x1e4)==_0x23df0e&&_0x4f7fdc[_0x2cba61(0x1ce)](_0x2cba61(0x1e8));},0x3e8);}[_0x42054f(0x1b4)](){const _0x45c1bc=_0x42054f,{editor:_0xf0ef03}=this,_0x36f2d7=_0xf0ef03[_0x45c1bc(0x1bf)][_0x45c1bc(0x1b5)](_0x45c1bc(0x1bd));if(!_0x36f2d7)return;const _0x2bf670=this[_0x45c1bc(0x1c1)](_0xf0ef03[_0x45c1bc(0x1cf)][_0x45c1bc(0x1b5)](_0x45c1bc(0x1b3)))[_0x45c1bc(0x1ee)]((_0x426396,_0x535012)=>{const _0x4ab686=_0x45c1bc,_0x205b11=this[_0x4ab686(0x1be)](_0x535012[_0x4ab686(0x1f8)]);return _0x426396[_0x205b11]||(_0x426396[_0x205b11]=[]),_0x426396[_0x205b11][_0x4ab686(0x1fc)](_0x535012),_0x426396;},{});_0xf0ef03[_0x45c1bc(0x1ba)][_0x45c1bc(0x1ad)](_0x45c1bc(0x1c6))&&_0xf0ef03[_0x45c1bc(0x1bf)][_0x45c1bc(0x1b5)](_0x45c1bc(0x1bd))&&Object[_0x45c1bc(0x1c2)](_0x2bf670)[_0x45c1bc(0x1e0)](([_0x8c8f91,_0x456dfe])=>{const _0x46bd7d=_0x45c1bc;_0xf0ef03[_0x46bd7d(0x1ba)][_0x46bd7d(0x1b5)](_0x46bd7d(0x1c6))[_0x46bd7d(0x1db)]({'name':_0x8c8f91,'observable':()=>_0x36f2d7,'buttonViewCreator':()=>this[_0x46bd7d(0x1f2)](_0x456dfe),'formViewCreator':()=>this[_0x46bd7d(0x1f3)](_0x456dfe),'menuBarButtonViewCreator':()=>this[_0x46bd7d(0x1ed)](_0x456dfe),'override':_0x46bd7d(0x1ea)!==_0x8c8f91});});}[_0x42054f(0x1fe)](){const _0x1b5b97=_0x42054f;super[_0x1b5b97(0x1fe)](),this[_0x1b5b97(0x1f7)]&&clearInterval(this[_0x1b5b97(0x1f7)]);}[_0x42054f(0x1c1)](_0x33f197){const _0xa3a16a=_0x42054f,{locale:_0x70a88d}=this[_0xa3a16a(0x1d2)];return _0x33f197[_0xa3a16a(0x1dc)](_0x66b19f=>{const _0x5edb4c=_0xa3a16a,_0x36e191=_0x41f75e(_0x70a88d,_0x66b19f,_0x5edb4c(0x1e5));switch(_0x66b19f){case _0x207a7a[_0x5edb4c(0x1f0)]:return{'icon':_0x4f0690[_0x5edb4c(0x1fd)],'type':_0x207a7a[_0x5edb4c(0x1f0)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1c4)]:return{'icon':_0x2b7559,'type':_0x207a7a[_0x5edb4c(0x1c4)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1df)]:return{'icon':_0x4cb36e,'type':_0x207a7a[_0x5edb4c(0x1df)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1b8)]:return{'icon':_0x188ef3,'type':_0x207a7a[_0x5edb4c(0x1b8)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1f4)]:return{'icon':_0x642a1a,'type':_0x207a7a[_0x5edb4c(0x1f4)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1d4)]:return{'icon':_0x161377,'type':_0x207a7a[_0x5edb4c(0x1d4)],..._0x36e191};case _0x207a7a[_0x5edb4c(0x1d1)]:return{'icon':_0x559913,'type':_0x207a7a[_0x5edb4c(0x1d1)],..._0x36e191};}});}[_0x42054f(0x1be)](_0x18fa05){const _0x10e1a9=_0x42054f;switch(_0x18fa05){case _0x207a7a[_0x10e1a9(0x1f0)]:return _0x10e1a9(0x1c8);case _0x207a7a[_0x10e1a9(0x1c4)]:return _0x10e1a9(0x1d7);default:return _0x10e1a9(0x1ea);}}[_0x42054f(0x1b7)](_0x3eed0a,_0x2035a4){const _0x50d989=_0x42054f,_0xc42ffb=this[_0x50d989(0x1d2)],_0x3f44f6=new _0x3eed0a(_0xc42ffb[_0x50d989(0x1c0)]),_0x7cf4ed=_0xc42ffb[_0x50d989(0x1bf)][_0x50d989(0x1b5)](_0x50d989(0x1bd));return _0x3f44f6[_0x50d989(0x1cc)](_0x50d989(0x1bb))['to'](_0x7cf4ed),_0x3f44f6['on'](_0x50d989(0x1bc),()=>{const _0x4ea8aa=_0x50d989;_0x7cf4ed[_0x4ea8aa(0x1bc)](_0x2035a4);}),_0x3f44f6;}[_0x42054f(0x1f2)](_0x41841c){const _0x574156=_0x42054f,{locale:_0x3c736c}=this[_0x574156(0x1d2)],_0x3fe9e2=this[_0x574156(0x1d2)][_0x574156(0x1ba)][_0x574156(0x1b5)](_0x574156(0x1c6)),_0x46b754=_0x41841c[0x0],_0x311563=this[_0x574156(0x1b7)](_0x513fec,_0x46b754[_0x574156(0x1f8)]);return _0x311563[_0x574156(0x1c7)]=_0x46b754[_0x574156(0x1c7)],_0x311563[_0x574156(0x1cc)](_0x574156(0x1fa))['to'](_0x3fe9e2,_0x574156(0x1f5),_0x2fc7ff=>_0x41f75e(_0x3c736c,_0x46b754[_0x574156(0x1f8)],_0x2fc7ff?_0x574156(0x1e3):_0x574156(0x1e5))[_0x574156(0x1d0)]),_0x311563[_0x574156(0x1f1)]=!0x0,_0x311563;}[_0x42054f(0x1f3)](_0x11bb65){const _0x3e6dce=_0x42054f,{locale:_0x567b99}=this[_0x3e6dce(0x1d2)],_0x57fa8a=this[_0x3e6dce(0x1d2)][_0x3e6dce(0x1ba)][_0x3e6dce(0x1b5)](_0x3e6dce(0x1c6));return _0x11bb65[_0x3e6dce(0x1dc)](_0x41e0e9=>{const _0x2178be=_0x3e6dce,_0x2bd139=this[_0x2178be(0x1b7)](_0x513fec,_0x41e0e9[_0x2178be(0x1f8)]);return _0x2bd139[_0x2178be(0x1e6)]=!0x0,_0x2bd139[_0x2178be(0x1c7)]=_0x41e0e9[_0x2178be(0x1c7)],_0x2bd139[_0x2178be(0x1cc)](_0x2178be(0x1fa))['to'](_0x57fa8a,_0x2178be(0x1f5),_0x31f6a9=>_0x41f75e(_0x567b99,_0x41e0e9[_0x2178be(0x1f8)],_0x31f6a9?_0x2178be(0x1e3):_0x2178be(0x1e5))[_0x2178be(0x1d0)]),_0x2bd139;});}[_0x42054f(0x1ed)](_0x580e20){const _0x23c325=_0x42054f;return _0x580e20[_0x23c325(0x1dc)](_0x24fd3a=>{const _0x553250=_0x23c325,_0x2ab8c4=this[_0x553250(0x1b7)](_0x41b4dd,_0x24fd3a[_0x553250(0x1f8)]);return _0x2ab8c4[_0x553250(0x1c7)]=_0x24fd3a[_0x553250(0x1c7)],_0x2ab8c4[_0x553250(0x1fa)]=_0x24fd3a[_0x553250(0x1d3)],_0x2ab8c4;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4f4d60}from'ckeditor5/src/core.js';import{FileRepository as _0x27dd10}from'ckeditor5/src/upload.js';import _0x59b544 from'./uploadcareediting.js';import _0x2a6d3c from'./utils/uploadutils.js';import{getImageUrls as _0x2d48a8}from'./utils/editingutils.js';export default class p extends _0x4f4d60{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x27dd10,_0x59b544];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0xea18ea=this['editor'];if(!!!_0xea18ea['config']['get']('uploadcare'))return;_0xea18ea['plugins']['get'](_0x27dd10)['createUploadAdapter']=_0x734dc7=>new A(_0x734dc7,_0xea18ea),_0xea18ea['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x55ac5a,{imageElement:_0x3813b0,data:_0x2e1f4c})=>{_0xea18ea['model']['change'](_0x4cb712=>{_0x4cb712['setAttribute']('uploadcareImageId',_0x2e1f4c['uploadcareImageId'],_0x3813b0);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x3a80d6,_0x6b136d){this['loader']=_0x3a80d6,this['editor']=_0x6b136d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4c4637=this['editor']['config']['get']('uploadcare.pubkey'),_0x506f3a=await this['loader']['file'];return _0x2a6d3c['upload']({'file':_0x506f3a,'publicKey':_0x4c4637,'signal':this['controller']['signal'],'onProgress':_0x142fc7=>{_0x142fc7&&_0x142fc7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x142fc7['value']);}})['then'](async _0xe3cab2=>{const {imageFallbackUrl:_0x592c00,imageSources:_0x368f97}=_0x2d48a8(_0xe3cab2['cdnUrl'],_0xe3cab2['imageInfo']['width']);return{'uploadcareImageId':_0xe3cab2['uuid'],'default':_0x592c00,'sources':_0x368f97};})['catch'](()=>{const _0x53e97d=t('Cannot\x20upload\x20file:')+('\x20'+_0x506f3a['name']+'.');return Promise['reject'](_0x53e97d);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x1fc120}from'ckeditor5/src/core.js';import{FileRepository as _0x6f6b1b}from'ckeditor5/src/upload.js';import _0x17422c from'./uploadcareediting.js';import _0x2d4575 from'./utils/uploadutils.js';import{getImageUrls as _0x5535f8}from'./utils/editingutils.js';export default class f extends _0x1fc120{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x6f6b1b,_0x17422c];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x428584=this['editor'];if(!!!_0x428584['config']['get']('uploadcare'))return;_0x428584['plugins']['get'](_0x6f6b1b)['createUploadAdapter']=_0x21bdd7=>new E(_0x21bdd7,_0x428584),_0x428584['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2171e2,{imageElement:_0x2c4dd1,data:_0xc913e4})=>{_0x428584['model']['change'](_0x5e156c=>{_0x5e156c['setAttribute']('uploadcareImageId',_0xc913e4['uploadcareImageId'],_0x2c4dd1);});});}}class E{constructor(_0x5f3248,_0x4b5d6c){this['loader']=_0x5f3248,this['editor']=_0x4b5d6c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x22bd94=this['editor']['config']['get']('uploadcare.pubkey'),_0x2f8196=await this['loader']['file'];return _0x2d4575['upload']({'file':_0x2f8196,'publicKey':_0x22bd94,'signal':this['controller']['signal'],'onProgress':_0x1ba55f=>{_0x1ba55f&&_0x1ba55f['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1ba55f['value']);}})['then'](async _0x40063c=>{const {imageFallbackUrl:_0x1dba40,imageSources:_0x441ce6}=_0x5535f8(_0x40063c['cdnUrl'],_0x40063c['imageInfo']['width']);return{'uploadcareImageId':_0x40063c['uuid'],'default':_0x1dba40,'sources':_0x441ce6};})['catch'](()=>{const _0x3047fa=t('Cannot\x20upload\x20file:')+('\x20'+_0x2f8196['name']+'.');return Promise['reject'](_0x3047fa);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x32a9c1}from'../uploadcareconfig.js';export function getTranslation(_0x1f4598,_0x110178,_0x3bb9b0){const t=_0x1f4598['t'],_0x440b0e=_0x1f4598['t'];switch(_0x110178){case _0x32a9c1['Local']:return{'text':_0x440b0e('Insert'===_0x3bb9b0?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x440b0e('From\x20computer')};case _0x32a9c1['URL']:return{'text':'Insert'===_0x3bb9b0?_0x440b0e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x440b0e('Via\x20URL')};case _0x32a9c1['Dropbox']:return{'text':t('Insert'===_0x3bb9b0?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x32a9c1['Facebook']:return{'text':t('Insert'===_0x3bb9b0?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x32a9c1['GDrive']:return{'text':t('Insert'===_0x3bb9b0?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x32a9c1['GPhotos']:return{'text':t('Insert'===_0x3bb9b0?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x32a9c1['Instagram']:return{'text':t('Insert'===_0x3bb9b0?'Insert\x20with\x20Instagram':'Replace\x20with\x20Instagram'),'shortText':t('With\x20Instagram')};case _0x32a9c1['OneDrive']:return{'text':t('Insert'===_0x3bb9b0?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x110178;}}
23
+ import{UploadcareSource as _0x7db9b3}from'../uploadcareconfig.js';export function getTranslation(_0x5459ff,_0x49e857,_0x35785e){const t=_0x5459ff['t'],_0x108b1a=_0x5459ff['t'];switch(_0x49e857){case _0x7db9b3['Local']:return{'text':_0x108b1a('Insert'===_0x35785e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x108b1a('From\x20computer')};case _0x7db9b3['URL']:return{'text':'Insert'===_0x35785e?_0x108b1a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x108b1a('Via\x20URL')};case _0x7db9b3['Dropbox']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x7db9b3['Facebook']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x7db9b3['GDrive']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x7db9b3['GPhotos']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x7db9b3['OneDrive']:return{'text':t('Insert'===_0x35785e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x49e857;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1b00c6=_0x4f12;function _0x4d71(){var _0x15d225=['bindTemplate','createCollection','17lCnrji','6CIDWNl','26341qzQAJI','true','focusCycler','getFocusableElement','forwardCycle','div','59404yHHory','3399273opPwJr','75KveMBT','202378oEFchh','focusTracker','708cGULwC','10989950FjmuIP','175822AEBcuI','2824WcCtlM','fire','3830835VdDSgN'];_0x4d71=function(){return _0x15d225;};return _0x4d71();}(function(_0x501b7c,_0x590d3e){var _0x460065=_0x4f12,_0x5c73f2=_0x501b7c();while(!![]){try{var _0x10ad90=-parseInt(_0x460065(0x72))/0x1*(-parseInt(_0x460065(0x6c))/0x2)+parseInt(_0x460065(0x7c))/0x3*(-parseInt(_0x460065(0x7a))/0x4)+-parseInt(_0x460065(0x6f))/0x5*(-parseInt(_0x460065(0x73))/0x6)+-parseInt(_0x460065(0x74))/0x7*(parseInt(_0x460065(0x6d))/0x8)+parseInt(_0x460065(0x7b))/0x9+-parseInt(_0x460065(0x6b))/0xa+-parseInt(_0x460065(0x68))/0xb*(-parseInt(_0x460065(0x6a))/0xc);if(_0x10ad90===_0x590d3e)break;else _0x5c73f2['push'](_0x5c73f2['shift']());}catch(_0x1888bc){_0x5c73f2['push'](_0x5c73f2['shift']());}}}(_0x4d71,0xe1e28));import{FocusTracker as _0x5197bb}from'ckeditor5/src/utils.js';function _0x4f12(_0x1bde81,_0x3a37c5){var _0x4d7178=_0x4d71();return _0x4f12=function(_0x4f12e9,_0x3e80e8){_0x4f12e9=_0x4f12e9-0x68;var _0x673125=_0x4d7178[_0x4f12e9];return _0x673125;},_0x4f12(_0x1bde81,_0x3a37c5);}import{View as _0x4c4987,FocusCycler as _0x215f5e}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x4c4987{[_0x1b00c6(0x69)];[_0x1b00c6(0x76)];constructor(_0x405ade){var _0xdaf2c5=_0x1b00c6;super(_0x405ade),this[_0xdaf2c5(0x69)]=new _0x5197bb(),this[_0xdaf2c5(0x76)]=new _0x215f5e({'focusables':this[_0xdaf2c5(0x71)](),'focusTracker':this[_0xdaf2c5(0x69)]});}[_0x1b00c6(0x77)](){var _0x9ce76d=_0x1b00c6;return{'tag':_0x9ce76d(0x79),'attributes':{'aria-hidden':_0x9ce76d(0x75),'tabindex':'0'},'on':{'focus':this[_0x9ce76d(0x70)]['to'](()=>{var _0x185d11=_0x9ce76d;this[_0x185d11(0x76)][_0x185d11(0x6e)](_0x185d11(0x78));})}};}}
23
+ var _0x50d52d=_0x77fd;(function(_0x5d81d9,_0x1bda05){var _0x4bf23f=_0x77fd,_0x36aa4f=_0x5d81d9();while(!![]){try{var _0x1b6e2d=-parseInt(_0x4bf23f(0xbc))/0x1+-parseInt(_0x4bf23f(0xc6))/0x2+-parseInt(_0x4bf23f(0xc5))/0x3+parseInt(_0x4bf23f(0xc4))/0x4*(-parseInt(_0x4bf23f(0xbb))/0x5)+-parseInt(_0x4bf23f(0xb8))/0x6+parseInt(_0x4bf23f(0xbd))/0x7*(parseInt(_0x4bf23f(0xc0))/0x8)+parseInt(_0x4bf23f(0xba))/0x9;if(_0x1b6e2d===_0x1bda05)break;else _0x36aa4f['push'](_0x36aa4f['shift']());}catch(_0x3dd148){_0x36aa4f['push'](_0x36aa4f['shift']());}}}(_0x52cf,0xd90d0));import{FocusTracker as _0x3fb146}from'ckeditor5/src/utils.js';function _0x52cf(){var _0x2a94a0=['6135606csmOFg','getFocusableElement','39656196luLWli','85795DJmotq','410494INfdaW','1589MfDFfj','true','div','49296TCcuzc','bindTemplate','createCollection','focusTracker','124MFWcuT','5115936jbmNVP','2491284NCvnyR','focusCycler','fire','forwardCycle'];_0x52cf=function(){return _0x2a94a0;};return _0x52cf();}import{View as _0xec1bb0,FocusCycler as _0x16f4dc}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x77fd(_0x37e67e,_0x3a6056){var _0x52cfca=_0x52cf();return _0x77fd=function(_0x77fd0f,_0x15ba92){_0x77fd0f=_0x77fd0f-0xb6;var _0x52a8e3=_0x52cfca[_0x77fd0f];return _0x52a8e3;},_0x77fd(_0x37e67e,_0x3a6056);}export default class q extends _0xec1bb0{constructor(_0x3022df){var _0xb924b0=_0x77fd;super(_0x3022df),this[_0xb924b0(0xc3)]=new _0x3fb146(),this[_0xb924b0(0xc7)]=new _0x16f4dc({'focusables':this[_0xb924b0(0xc2)](),'focusTracker':this[_0xb924b0(0xc3)]});}[_0x50d52d(0xb9)](){var _0x3794e5=_0x50d52d;return{'tag':_0x3794e5(0xbf),'attributes':{'aria-hidden':_0x3794e5(0xbe),'tabindex':'0'},'on':{'focus':this[_0x3794e5(0xc1)]['to'](()=>{var _0x2ae9c5=_0x3794e5;this[_0x2ae9c5(0xc7)][_0x2ae9c5(0xb6)](_0x2ae9c5(0xb7));})}};}}