@ckeditor/ckeditor5-uploadcare 44.2.0-alpha.16 → 44.2.0-alpha.3

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 (318) hide show
  1. package/README.md +1 -1
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/bg.js +1 -1
  7. package/build/translations/bn.js +1 -1
  8. package/build/translations/bs.js +1 -1
  9. package/build/translations/ca.js +1 -1
  10. package/build/translations/cs.js +1 -1
  11. package/build/translations/da.js +1 -1
  12. package/build/translations/de-ch.js +1 -1
  13. package/build/translations/de.js +1 -1
  14. package/build/translations/el.js +1 -1
  15. package/build/translations/en-au.js +1 -1
  16. package/build/translations/en-gb.js +1 -1
  17. package/build/translations/eo.js +1 -1
  18. package/build/translations/es-co.js +1 -1
  19. package/build/translations/es.js +1 -1
  20. package/build/translations/et.js +1 -1
  21. package/build/translations/eu.js +1 -1
  22. package/build/translations/fa.js +1 -1
  23. package/build/translations/fi.js +1 -1
  24. package/build/translations/fr.js +1 -1
  25. package/build/translations/gl.js +1 -1
  26. package/build/translations/gu.js +1 -1
  27. package/build/translations/he.js +1 -1
  28. package/build/translations/hi.js +1 -1
  29. package/build/translations/hr.js +1 -1
  30. package/build/translations/hu.js +1 -1
  31. package/build/translations/hy.js +1 -1
  32. package/build/translations/id.js +1 -1
  33. package/build/translations/it.js +1 -1
  34. package/build/translations/ja.js +1 -1
  35. package/build/translations/jv.js +1 -1
  36. package/build/translations/kk.js +1 -1
  37. package/build/translations/km.js +1 -1
  38. package/build/translations/kn.js +1 -1
  39. package/build/translations/ko.js +1 -1
  40. package/build/translations/ku.js +1 -1
  41. package/build/translations/lt.js +1 -1
  42. package/build/translations/lv.js +1 -1
  43. package/build/translations/ms.js +1 -1
  44. package/build/translations/nb.js +1 -1
  45. package/build/translations/ne.js +1 -1
  46. package/build/translations/nl.js +1 -1
  47. package/build/translations/no.js +1 -1
  48. package/build/translations/oc.js +1 -1
  49. package/build/translations/pl.js +1 -1
  50. package/build/translations/pt-br.js +1 -1
  51. package/build/translations/pt.js +1 -1
  52. package/build/translations/ro.js +1 -1
  53. package/build/translations/ru.js +1 -1
  54. package/build/translations/si.js +1 -1
  55. package/build/translations/sk.js +1 -1
  56. package/build/translations/sl.js +1 -1
  57. package/build/translations/sq.js +1 -1
  58. package/build/translations/sr-latn.js +1 -1
  59. package/build/translations/sr.js +1 -1
  60. package/build/translations/sv.js +1 -1
  61. package/build/translations/th.js +1 -1
  62. package/build/translations/ti.js +1 -1
  63. package/build/translations/tk.js +1 -1
  64. package/build/translations/tr.js +1 -1
  65. package/build/translations/tt.js +1 -1
  66. package/build/translations/ug.js +1 -1
  67. package/build/translations/uk.js +1 -1
  68. package/build/translations/ur.js +1 -1
  69. package/build/translations/uz.js +1 -1
  70. package/build/translations/vi.js +1 -1
  71. package/build/translations/zh-cn.js +1 -1
  72. package/build/translations/zh.js +1 -1
  73. package/build/uploadcare.js +2 -2
  74. package/dist/index.js +3 -3
  75. package/dist/translations/af.js +1 -1
  76. package/dist/translations/af.umd.js +1 -1
  77. package/dist/translations/ar.js +1 -1
  78. package/dist/translations/ar.umd.js +1 -1
  79. package/dist/translations/ast.js +1 -1
  80. package/dist/translations/ast.umd.js +1 -1
  81. package/dist/translations/az.js +1 -1
  82. package/dist/translations/az.umd.js +1 -1
  83. package/dist/translations/bg.js +1 -1
  84. package/dist/translations/bg.umd.js +1 -1
  85. package/dist/translations/bn.js +1 -1
  86. package/dist/translations/bn.umd.js +1 -1
  87. package/dist/translations/bs.js +1 -1
  88. package/dist/translations/bs.umd.js +1 -1
  89. package/dist/translations/ca.js +1 -1
  90. package/dist/translations/ca.umd.js +1 -1
  91. package/dist/translations/cs.js +1 -1
  92. package/dist/translations/cs.umd.js +1 -1
  93. package/dist/translations/da.js +1 -1
  94. package/dist/translations/da.umd.js +1 -1
  95. package/dist/translations/de-ch.js +1 -1
  96. package/dist/translations/de-ch.umd.js +1 -1
  97. package/dist/translations/de.js +1 -1
  98. package/dist/translations/de.umd.js +1 -1
  99. package/dist/translations/el.js +1 -1
  100. package/dist/translations/el.umd.js +1 -1
  101. package/dist/translations/en-au.js +1 -1
  102. package/dist/translations/en-au.umd.js +1 -1
  103. package/dist/translations/en-gb.js +1 -1
  104. package/dist/translations/en-gb.umd.js +1 -1
  105. package/dist/translations/en.js +1 -1
  106. package/dist/translations/en.umd.js +1 -1
  107. package/dist/translations/eo.js +1 -1
  108. package/dist/translations/eo.umd.js +1 -1
  109. package/dist/translations/es-co.js +1 -1
  110. package/dist/translations/es-co.umd.js +1 -1
  111. package/dist/translations/es.js +1 -1
  112. package/dist/translations/es.umd.js +1 -1
  113. package/dist/translations/et.js +1 -1
  114. package/dist/translations/et.umd.js +1 -1
  115. package/dist/translations/eu.js +1 -1
  116. package/dist/translations/eu.umd.js +1 -1
  117. package/dist/translations/fa.js +1 -1
  118. package/dist/translations/fa.umd.js +1 -1
  119. package/dist/translations/fi.js +1 -1
  120. package/dist/translations/fi.umd.js +1 -1
  121. package/dist/translations/fr.js +1 -1
  122. package/dist/translations/fr.umd.js +1 -1
  123. package/dist/translations/gl.js +1 -1
  124. package/dist/translations/gl.umd.js +1 -1
  125. package/dist/translations/gu.js +1 -1
  126. package/dist/translations/gu.umd.js +1 -1
  127. package/dist/translations/he.js +1 -1
  128. package/dist/translations/he.umd.js +1 -1
  129. package/dist/translations/hi.js +1 -1
  130. package/dist/translations/hi.umd.js +1 -1
  131. package/dist/translations/hr.js +1 -1
  132. package/dist/translations/hr.umd.js +1 -1
  133. package/dist/translations/hu.js +1 -1
  134. package/dist/translations/hu.umd.js +1 -1
  135. package/dist/translations/hy.js +1 -1
  136. package/dist/translations/hy.umd.js +1 -1
  137. package/dist/translations/id.js +1 -1
  138. package/dist/translations/id.umd.js +1 -1
  139. package/dist/translations/it.js +1 -1
  140. package/dist/translations/it.umd.js +1 -1
  141. package/dist/translations/ja.js +1 -1
  142. package/dist/translations/ja.umd.js +1 -1
  143. package/dist/translations/jv.js +1 -1
  144. package/dist/translations/jv.umd.js +1 -1
  145. package/dist/translations/kk.js +1 -1
  146. package/dist/translations/kk.umd.js +1 -1
  147. package/dist/translations/km.js +1 -1
  148. package/dist/translations/km.umd.js +1 -1
  149. package/dist/translations/kn.js +1 -1
  150. package/dist/translations/kn.umd.js +1 -1
  151. package/dist/translations/ko.js +1 -1
  152. package/dist/translations/ko.umd.js +1 -1
  153. package/dist/translations/ku.js +1 -1
  154. package/dist/translations/ku.umd.js +1 -1
  155. package/dist/translations/lt.js +1 -1
  156. package/dist/translations/lt.umd.js +1 -1
  157. package/dist/translations/lv.js +1 -1
  158. package/dist/translations/lv.umd.js +1 -1
  159. package/dist/translations/ms.js +1 -1
  160. package/dist/translations/ms.umd.js +1 -1
  161. package/dist/translations/nb.js +1 -1
  162. package/dist/translations/nb.umd.js +1 -1
  163. package/dist/translations/ne.js +1 -1
  164. package/dist/translations/ne.umd.js +1 -1
  165. package/dist/translations/nl.js +1 -1
  166. package/dist/translations/nl.umd.js +1 -1
  167. package/dist/translations/no.js +1 -1
  168. package/dist/translations/no.umd.js +1 -1
  169. package/dist/translations/oc.js +1 -1
  170. package/dist/translations/oc.umd.js +1 -1
  171. package/dist/translations/pl.js +1 -1
  172. package/dist/translations/pl.umd.js +1 -1
  173. package/dist/translations/pt-br.js +1 -1
  174. package/dist/translations/pt-br.umd.js +1 -1
  175. package/dist/translations/pt.js +1 -1
  176. package/dist/translations/pt.umd.js +1 -1
  177. package/dist/translations/ro.js +1 -1
  178. package/dist/translations/ro.umd.js +1 -1
  179. package/dist/translations/ru.js +1 -1
  180. package/dist/translations/ru.umd.js +1 -1
  181. package/dist/translations/si.js +1 -1
  182. package/dist/translations/si.umd.js +1 -1
  183. package/dist/translations/sk.js +1 -1
  184. package/dist/translations/sk.umd.js +1 -1
  185. package/dist/translations/sl.js +1 -1
  186. package/dist/translations/sl.umd.js +1 -1
  187. package/dist/translations/sq.js +1 -1
  188. package/dist/translations/sq.umd.js +1 -1
  189. package/dist/translations/sr-latn.js +1 -1
  190. package/dist/translations/sr-latn.umd.js +1 -1
  191. package/dist/translations/sr.js +1 -1
  192. package/dist/translations/sr.umd.js +1 -1
  193. package/dist/translations/sv.js +1 -1
  194. package/dist/translations/sv.umd.js +1 -1
  195. package/dist/translations/th.js +1 -1
  196. package/dist/translations/th.umd.js +1 -1
  197. package/dist/translations/ti.js +1 -1
  198. package/dist/translations/ti.umd.js +1 -1
  199. package/dist/translations/tk.js +1 -1
  200. package/dist/translations/tk.umd.js +1 -1
  201. package/dist/translations/tr.js +1 -1
  202. package/dist/translations/tr.umd.js +1 -1
  203. package/dist/translations/tt.js +1 -1
  204. package/dist/translations/tt.umd.js +1 -1
  205. package/dist/translations/ug.js +1 -1
  206. package/dist/translations/ug.umd.js +1 -1
  207. package/dist/translations/uk.js +1 -1
  208. package/dist/translations/uk.umd.js +1 -1
  209. package/dist/translations/ur.js +1 -1
  210. package/dist/translations/ur.umd.js +1 -1
  211. package/dist/translations/uz.js +1 -1
  212. package/dist/translations/uz.umd.js +1 -1
  213. package/dist/translations/vi.js +1 -1
  214. package/dist/translations/vi.umd.js +1 -1
  215. package/dist/translations/zh-cn.js +1 -1
  216. package/dist/translations/zh-cn.umd.js +1 -1
  217. package/dist/translations/zh.js +1 -1
  218. package/dist/translations/zh.umd.js +1 -1
  219. package/lang/contexts.json +3 -0
  220. package/lang/translations/af.po +12 -0
  221. package/lang/translations/ar.po +12 -0
  222. package/lang/translations/ast.po +12 -0
  223. package/lang/translations/az.po +12 -0
  224. package/lang/translations/bg.po +12 -0
  225. package/lang/translations/bn.po +12 -0
  226. package/lang/translations/bs.po +12 -0
  227. package/lang/translations/ca.po +12 -0
  228. package/lang/translations/cs.po +12 -0
  229. package/lang/translations/da.po +12 -0
  230. package/lang/translations/de-ch.po +12 -0
  231. package/lang/translations/de.po +12 -0
  232. package/lang/translations/el.po +12 -0
  233. package/lang/translations/en-au.po +12 -0
  234. package/lang/translations/en-gb.po +12 -0
  235. package/lang/translations/en.po +12 -0
  236. package/lang/translations/eo.po +12 -0
  237. package/lang/translations/es-co.po +12 -0
  238. package/lang/translations/es.po +12 -0
  239. package/lang/translations/et.po +12 -0
  240. package/lang/translations/eu.po +12 -0
  241. package/lang/translations/fa.po +12 -0
  242. package/lang/translations/fi.po +12 -0
  243. package/lang/translations/fr.po +12 -0
  244. package/lang/translations/gl.po +12 -0
  245. package/lang/translations/gu.po +12 -0
  246. package/lang/translations/he.po +12 -0
  247. package/lang/translations/hi.po +12 -0
  248. package/lang/translations/hr.po +12 -0
  249. package/lang/translations/hu.po +12 -0
  250. package/lang/translations/hy.po +12 -0
  251. package/lang/translations/id.po +12 -0
  252. package/lang/translations/it.po +12 -0
  253. package/lang/translations/ja.po +12 -0
  254. package/lang/translations/jv.po +12 -0
  255. package/lang/translations/kk.po +12 -0
  256. package/lang/translations/km.po +12 -0
  257. package/lang/translations/kn.po +12 -0
  258. package/lang/translations/ko.po +12 -0
  259. package/lang/translations/ku.po +12 -0
  260. package/lang/translations/lt.po +12 -0
  261. package/lang/translations/lv.po +12 -0
  262. package/lang/translations/ms.po +12 -0
  263. package/lang/translations/nb.po +12 -0
  264. package/lang/translations/ne.po +12 -0
  265. package/lang/translations/nl.po +12 -0
  266. package/lang/translations/no.po +12 -0
  267. package/lang/translations/oc.po +12 -0
  268. package/lang/translations/pl.po +12 -0
  269. package/lang/translations/pt-br.po +12 -0
  270. package/lang/translations/pt.po +12 -0
  271. package/lang/translations/ro.po +12 -0
  272. package/lang/translations/ru.po +12 -0
  273. package/lang/translations/si.po +12 -0
  274. package/lang/translations/sk.po +12 -0
  275. package/lang/translations/sl.po +12 -0
  276. package/lang/translations/sq.po +12 -0
  277. package/lang/translations/sr-latn.po +12 -0
  278. package/lang/translations/sr.po +12 -0
  279. package/lang/translations/sv.po +12 -0
  280. package/lang/translations/th.po +12 -0
  281. package/lang/translations/ti.po +12 -0
  282. package/lang/translations/tk.po +12 -0
  283. package/lang/translations/tr.po +12 -0
  284. package/lang/translations/tt.po +12 -0
  285. package/lang/translations/ug.po +12 -0
  286. package/lang/translations/uk.po +12 -0
  287. package/lang/translations/ur.po +12 -0
  288. package/lang/translations/uz.po +12 -0
  289. package/lang/translations/vi.po +12 -0
  290. package/lang/translations/zh-cn.po +12 -0
  291. package/lang/translations/zh.po +12 -0
  292. package/package.json +8 -8
  293. package/src/index.js +1 -1
  294. package/src/ui/uploadcarecontroller.js +2 -2
  295. package/src/ui/uploadcareformview.js +1 -1
  296. package/src/uploadcare.js +1 -1
  297. package/src/uploadcarecommand.js +1 -1
  298. package/src/uploadcareconfig.d.ts +8 -9
  299. package/src/uploadcareconfig.js +1 -1
  300. package/src/uploadcareediting.js +1 -1
  301. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  302. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  303. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  304. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  305. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  306. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  307. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  308. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  309. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  310. package/src/uploadcareimageedit.js +1 -1
  311. package/src/uploadcareui.js +1 -1
  312. package/src/uploadcareuploadadapter.js +1 -1
  313. package/src/utils/common-translations.js +1 -1
  314. package/src/utils/dialogfocusmanagerview.js +1 -1
  315. package/src/utils/editingutils.js +1 -1
  316. package/src/utils/isancestor.js +1 -1
  317. package/src/utils/uploadutils.js +1 -1
  318. package/theme/icons/instagram.svg +11 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-uploadcare",
3
- "version": "44.2.0-alpha.16",
3
+ "version": "44.2.0-alpha.3",
4
4
  "description": "Uploadcare feature for CKEditor 5.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -23,13 +23,13 @@
23
23
  "framework"
24
24
  ],
25
25
  "dependencies": {
26
- "@ckeditor/ckeditor5-core": "44.2.0-alpha.16",
27
- "@ckeditor/ckeditor5-image": "44.2.0-alpha.16",
28
- "@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.16",
29
- "@ckeditor/ckeditor5-ui": "44.2.0-alpha.16",
30
- "@ckeditor/ckeditor5-upload": "44.2.0-alpha.16",
31
- "@ckeditor/ckeditor5-utils": "44.2.0-alpha.16",
32
- "ckeditor5": "44.2.0-alpha.16",
26
+ "@ckeditor/ckeditor5-core": "44.2.0-alpha.3",
27
+ "@ckeditor/ckeditor5-image": "44.2.0-alpha.3",
28
+ "@ckeditor/ckeditor5-theme-lark": "44.2.0-alpha.3",
29
+ "@ckeditor/ckeditor5-ui": "44.2.0-alpha.3",
30
+ "@ckeditor/ckeditor5-upload": "44.2.0-alpha.3",
31
+ "@ckeditor/ckeditor5-utils": "44.2.0-alpha.3",
32
+ "ckeditor5": "44.2.0-alpha.3",
33
33
  "@uploadcare/file-uploader": "1.12.0",
34
34
  "@uploadcare/upload-client": "6.14.1"
35
35
  },
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4617f2,_0x4bb91e){var _0x5f4ab9=_0x22a1,_0x326d0b=_0x4617f2();while(!![]){try{var _0x2a4c82=parseInt(_0x5f4ab9(0x1b8))/0x1+parseInt(_0x5f4ab9(0x1b9))/0x2*(parseInt(_0x5f4ab9(0x1b2))/0x3)+-parseInt(_0x5f4ab9(0x1b3))/0x4+parseInt(_0x5f4ab9(0x1b7))/0x5+parseInt(_0x5f4ab9(0x1b1))/0x6*(parseInt(_0x5f4ab9(0x1b5))/0x7)+-parseInt(_0x5f4ab9(0x1b4))/0x8+parseInt(_0x5f4ab9(0x1ba))/0x9*(parseInt(_0x5f4ab9(0x1b6))/0xa);if(_0x2a4c82===_0x4bb91e)break;else _0x326d0b['push'](_0x326d0b['shift']());}catch(_0x54b150){_0x326d0b['push'](_0x326d0b['shift']());}}}(_0x33d8,0x36a0e));export{default as Uploadcare}from'./uploadcare.js';export{default as UploadcareEditing}from'./uploadcareediting.js';export{default as UploadcareUI}from'./uploadcareui.js';export{default as UploadcareImageEdit}from'./uploadcareimageedit.js';function _0x22a1(_0x2e7a82,_0x13bec5){var _0x33d844=_0x33d8();return _0x22a1=function(_0x22a1e2,_0x3227b8){_0x22a1e2=_0x22a1e2-0x1b1;var _0x9326fe=_0x33d844[_0x22a1e2];return _0x9326fe;},_0x22a1(_0x2e7a82,_0x13bec5);}export{default as UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';export{default as UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x33d8(){var _0x31e1ca=['4Ycvinv','27wsdRGH','90wfnhwB','291342XZnsqx','1387660FySDEE','2534624bxgbVH','46039IHSSrF','1086430GAWfsG','1026080QXXerC','63473lcOgaP'];_0x33d8=function(){return _0x31e1ca;};return _0x33d8();}import'./augmentation.js';
23
+ (function(_0x4122bc,_0x5a7c80){var _0x2b96dd=_0x53dd,_0x5f2a1c=_0x4122bc();while(!![]){try{var _0x1b3413=parseInt(_0x2b96dd(0x103))/0x1*(-parseInt(_0x2b96dd(0x101))/0x2)+-parseInt(_0x2b96dd(0xfd))/0x3+-parseInt(_0x2b96dd(0xfe))/0x4*(parseInt(_0x2b96dd(0x104))/0x5)+-parseInt(_0x2b96dd(0x102))/0x6+-parseInt(_0x2b96dd(0x105))/0x7+-parseInt(_0x2b96dd(0xff))/0x8+parseInt(_0x2b96dd(0x100))/0x9;if(_0x1b3413===_0x5a7c80)break;else _0x5f2a1c['push'](_0x5f2a1c['shift']());}catch(_0x53f887){_0x5f2a1c['push'](_0x5f2a1c['shift']());}}}(_0x504f,0xb0e83));function _0x504f(){var _0x499d66=['8404536QbqHdK','3ajGoQX','179515DoJUSE','817593PgihZk','2658117fXNQKr','36NMbvDD','3908984qtmMtm','40628232AAPhzt','382862SwNgiA'];_0x504f=function(){return _0x499d66;};return _0x504f();}export{default as Uploadcare}from'./uploadcare.js';function _0x53dd(_0x3403ac,_0x52a11a){var _0x504f35=_0x504f();return _0x53dd=function(_0x53dd30,_0x592c42){_0x53dd30=_0x53dd30-0xfd;var _0x2093fc=_0x504f35[_0x53dd30];return _0x2093fc;},_0x53dd(_0x3403ac,_0x52a11a);}export{default as UploadcareEditing}from'./uploadcareediting.js';export{default as UploadcareUI}from'./uploadcareui.js';export{default as UploadcareImageEdit}from'./uploadcareimageedit.js';export{default as UploadcareImageEditUI}from'./uploadcareimageedit/uploadcareimageeditui.js';export{default as UploadcareImageEditEditing}from'./uploadcareimageedit/uploadcareimageeditediting.js';import'./augmentation.js';
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53083c=_0x2029;(function(_0x50233d,_0x39f92d){const _0x4750f4=_0x2029,_0x797b80=_0x50233d();while(!![]){try{const _0x5bc2bf=parseInt(_0x4750f4(0x177))/0x1+parseInt(_0x4750f4(0x197))/0x2*(-parseInt(_0x4750f4(0x179))/0x3)+-parseInt(_0x4750f4(0x17a))/0x4*(parseInt(_0x4750f4(0x169))/0x5)+parseInt(_0x4750f4(0x192))/0x6*(parseInt(_0x4750f4(0x174))/0x7)+-parseInt(_0x4750f4(0x155))/0x8+parseInt(_0x4750f4(0x15f))/0x9+parseInt(_0x4750f4(0x19e))/0xa*(parseInt(_0x4750f4(0x15d))/0xb);if(_0x5bc2bf===_0x39f92d)break;else _0x797b80['push'](_0x797b80['shift']());}catch(_0x59c8f7){_0x797b80['push'](_0x797b80['shift']());}}}(_0x390d,0xb5d91));import{icons as _0x28151c}from'ckeditor5/src/core.js';function _0x2029(_0x200cd4,_0x4e3371){const _0x390da1=_0x390d();return _0x2029=function(_0x2029a9,_0x312fac){_0x2029a9=_0x2029a9-0x155;let _0x35f589=_0x390da1[_0x2029a9];return _0x35f589;},_0x2029(_0x200cd4,_0x4e3371);}import{ObservableMixin as _0x620f5f}from'ckeditor5/src/utils.js';import{Dialog as _0xa5b94e,DialogViewPosition as _0x21cb77}from'ckeditor5/src/ui.js';import _0x2fbd4a from'./uploadcareformview.js';import{UploadcareSource as _0x2d9165}from'../uploadcareconfig.js';import{getTranslation as _0x57d791}from'../utils/common-translations.js';import{getImageUrls as _0x8ca3af,getImageDimension as _0x442de9}from'../utils/editingutils.js';function _0x390d(){const _0x51c4df=['_formView','done-click','_initListeners','addEventListener','hide','uuid','getLastPosition','attributes','get','isOpen','length','_editing','_dialog','width','stopListening','configElement','imageInline','1030794olgpFi','allEntries','getAPI','text','imageUpload','2750052DLhnqG','idle','removeSelectionAttribute','removeAllFiles','_api','focus','element','10mXTgqi','change','5751304jZnIpO','Insert','Local','_initDialog','uploadCare','_insertImage','linkHref','insertImage','18654207IlLPuM','_editor','1702710OarPcv','imageInfo','stopDelegating','_insertAsset','getOutputCollectionState','editing','setCurrentActivity','execute','ctxElement','selection','5GEElOK','setAttribute','EDITOR_TOP_CENTER','destroy','plugins','_type','document','source-list','Replace','doneFlow','view','28GFmYJh','model','imageBlock','1268945auImrI','show','3JmIFdy','4009520CMKsLA','status','detail','initFlow','setSelection','image','getSelectedElement'];_0x390d=function(){return _0x51c4df;};return _0x390d();}import{isAncestor as _0x5c8e11}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
24
- _0x620f5f(){constructor(_0x2345e0,_0x3cca03,_0x3f48f8){const _0x40cdda=_0x2029;super(),this[_0x40cdda(0x16e)]=null,this[_0x40cdda(0x181)]=null,this[_0x40cdda(0x15e)]=_0x2345e0,this[_0x40cdda(0x18c)]=_0x3cca03,this[_0x40cdda(0x18d)]=_0x2345e0[_0x40cdda(0x16d)][_0x40cdda(0x189)](_0xa5b94e),this[_0x40cdda(0x19b)]=_0x3cca03[_0x40cdda(0x167)][_0x40cdda(0x194)](),this[_0x40cdda(0x16e)]=_0x3f48f8,this[_0x40cdda(0x18c)][_0x40cdda(0x190)][_0x40cdda(0x16a)](_0x40cdda(0x170),this[_0x40cdda(0x16e)]),this[_0x40cdda(0x158)](),this[_0x40cdda(0x183)](),this[_0x40cdda(0x19b)][_0x40cdda(0x17d)]();}[_0x53083c(0x16c)](){const _0x35b8ab=_0x53083c;this[_0x35b8ab(0x181)]&&(this[_0x35b8ab(0x181)][_0x35b8ab(0x16c)](),this[_0x35b8ab(0x181)]=null),this[_0x35b8ab(0x19b)]&&this[_0x35b8ab(0x19b)][_0x35b8ab(0x172)](),this[_0x35b8ab(0x18f)](),this[_0x35b8ab(0x161)]();}[_0x53083c(0x158)](){const _0x51e4e9=_0x53083c,{locale:_0x4f4ddb,model:_0x52c379}=this[_0x51e4e9(0x15e)],_0x5f3c9b=_0x52c379[_0x51e4e9(0x16f)][_0x51e4e9(0x168)][_0x51e4e9(0x180)](),_0x315fc0=_0x5f3c9b&&(_0x5f3c9b['is'](_0x51e4e9(0x19d),_0x51e4e9(0x176))||_0x5f3c9b['is'](_0x51e4e9(0x19d),_0x51e4e9(0x191)));this[_0x51e4e9(0x181)]=new _0x2fbd4a(_0x4f4ddb),this[_0x51e4e9(0x18d)][_0x51e4e9(0x178)]({'id':_0x51e4e9(0x159),'icon':_0x28151c[_0x51e4e9(0x196)],'title':_0x57d791(_0x4f4ddb,this[_0x51e4e9(0x16e)],_0x315fc0?_0x51e4e9(0x171):_0x51e4e9(0x156))[_0x51e4e9(0x195)],'content':this[_0x51e4e9(0x181)],'position':_0x21cb77[_0x51e4e9(0x16b)],'isModal':!0x0,'onShow':()=>{const _0x4fcb8d=_0x51e4e9;this[_0x4fcb8d(0x181)][_0x4fcb8d(0x19c)]();},'onHide':()=>{const _0x168259=_0x51e4e9;this[_0x168259(0x19b)][_0x168259(0x19a)](),this[_0x168259(0x15e)][_0x168259(0x164)][_0x168259(0x173)][_0x168259(0x19c)](),this[_0x168259(0x16c)]();},'keystrokeHandlerOptions':{'filter':_0x47186b=>!_0x5c8e11(_0x47186b,this[_0x51e4e9(0x181)][_0x51e4e9(0x19d)])}});}[_0x53083c(0x183)](){const _0x3a50ec=_0x53083c;this[_0x3a50ec(0x18c)][_0x3a50ec(0x167)][_0x3a50ec(0x184)](_0x3a50ec(0x182),()=>{const _0x11ecbf=_0x3a50ec,{allEntries:_0x2dab41}=this[_0x11ecbf(0x19b)][_0x11ecbf(0x163)]();this[_0x11ecbf(0x15e)][_0x11ecbf(0x175)][_0x11ecbf(0x19f)](_0x525ec5=>{const _0x38f8dc=_0x11ecbf,_0x2e42c6=_0x2dab41[_0x38f8dc(0x18b)];for(const _0x4cefaf of _0x2dab41){const _0x4d2262=_0x4cefaf===_0x2dab41[_0x2e42c6-0x1],{cdnUrl:_0x685cdb,fileInfo:_0x43681d}=_0x4cefaf;if(!_0x685cdb||!_0x43681d)continue;const {width:_0x12da3e,height:_0x2fc785}=_0x43681d[_0x38f8dc(0x160)],_0x37c676=_0x442de9(_0x685cdb,_0x12da3e,_0x2fc785),_0x429e70=_0x8ca3af(_0x685cdb,_0x37c676[_0x38f8dc(0x18e)]),_0x29c09d={'id':_0x43681d[_0x38f8dc(0x186)],'type':_0x38f8dc(0x17f),'attributes':{'imageDimension':_0x37c676,..._0x429e70}};this[_0x38f8dc(0x162)](_0x29c09d,_0x4d2262,_0x525ec5);}}),this[_0x11ecbf(0x18d)][_0x11ecbf(0x185)]();}),this[_0x3a50ec(0x18c)][_0x3a50ec(0x167)][_0x3a50ec(0x184)](_0x3a50ec(0x19f),_0x3d7376=>{const _0x569272=_0x3a50ec;_0x569272(0x198)===_0x3d7376[_0x569272(0x17c)][_0x569272(0x17b)]&&!_0x3d7376[_0x569272(0x17c)][_0x569272(0x193)][_0x569272(0x18b)]&&this[_0x569272(0x18d)][_0x569272(0x18a)]&&(this[_0x569272(0x16e)]===_0x2d9165[_0x569272(0x157)]?this[_0x569272(0x19b)][_0x569272(0x165)](_0x2d9165[_0x569272(0x157)]):this[_0x569272(0x19b)][_0x569272(0x17d)]());});}[_0x53083c(0x162)](_0x52841b,_0x59d6ed,_0x57e30f){const _0x4cdbb1=_0x53083c,_0x263610=this[_0x4cdbb1(0x15e)][_0x4cdbb1(0x175)][_0x4cdbb1(0x16f)][_0x4cdbb1(0x168)],_0x3dcce5=_0x263610[_0x4cdbb1(0x180)](),_0x497fd8=!(!_0x3dcce5||!_0x3dcce5['is'](_0x4cdbb1(0x19d),_0x4cdbb1(0x191)));_0x57e30f[_0x4cdbb1(0x199)](_0x4cdbb1(0x15b)),this[_0x4cdbb1(0x15a)](_0x52841b,_0x497fd8),_0x59d6ed||_0x57e30f[_0x4cdbb1(0x17e)](_0x263610[_0x4cdbb1(0x187)]());}[_0x53083c(0x15a)](_0x150885,_0x14d9bd){const _0x4ab573=_0x53083c,_0x2203a4=this[_0x4ab573(0x15e)],{imageDimension:_0x86a18f,imageFallbackUrl:_0x3fc63a,imageSources:_0x35bd12}=_0x150885[_0x4ab573(0x188)];_0x2203a4[_0x4ab573(0x166)](_0x4ab573(0x15c),{'imageType':_0x14d9bd?_0x4ab573(0x191):null,'source':{'uploadcareImageId':_0x150885['id'],'src':_0x3fc63a,'sources':_0x35bd12,..._0x86a18f}});}}
23
+ const _0x28c06b=_0x5c33;(function(_0x1fb4fc,_0x1e7462){const _0x57afd1=_0x5c33,_0x20e258=_0x1fb4fc();while(!![]){try{const _0x58438a=-parseInt(_0x57afd1(0x1df))/0x1+parseInt(_0x57afd1(0x1c1))/0x2*(parseInt(_0x57afd1(0x1d5))/0x3)+parseInt(_0x57afd1(0x1b5))/0x4+parseInt(_0x57afd1(0x1f1))/0x5+parseInt(_0x57afd1(0x1bd))/0x6*(parseInt(_0x57afd1(0x1b4))/0x7)+-parseInt(_0x57afd1(0x1cc))/0x8*(-parseInt(_0x57afd1(0x1d0))/0x9)+parseInt(_0x57afd1(0x1db))/0xa*(-parseInt(_0x57afd1(0x1cd))/0xb);if(_0x58438a===_0x1e7462)break;else _0x20e258['push'](_0x20e258['shift']());}catch(_0x373458){_0x20e258['push'](_0x20e258['shift']());}}}(_0x6be3,0x5f72e));function _0x5c33(_0x436730,_0x168f72){const _0x6be3ec=_0x6be3();return _0x5c33=function(_0x5c3320,_0x11e395){_0x5c3320=_0x5c3320-0x1ae;let _0x14fd82=_0x6be3ec[_0x5c3320];return _0x14fd82;},_0x5c33(_0x436730,_0x168f72);}import{icons as _0x137449}from'ckeditor5/src/core.js';import{ObservableMixin as _0x20d28b}from'ckeditor5/src/utils.js';import{Dialog as _0x46b03c,DialogViewPosition as _0x5a8b9b}from'ckeditor5/src/ui.js';import _0x348135 from'./uploadcareformview.js';function _0x6be3(){const _0x52dce0=['insertImage','uploadCare','hide','setAttribute','idle','plugins','EDITOR_TOP_CENTER','_dialog','_editor','model','view','2443pFqqXE','496672LpCtMw','stopDelegating','imageUpload','_insertImage','width','attributes','_type','_editing','174dhnzvc','show','removeAllFiles','removeSelectionAttribute','2nTvWuS','allEntries','ctxElement','doneFlow','uuid','addEventListener','Insert','getAPI','isOpen','document','getSelectedElement','924456iRclhE','192665XkEYkI','length','change','36XWgvpS','configElement','text','detail','imageInfo','2043567LYIYdY','execute','done-click','image','_initDialog','Replace','470VGIWNj','_api','destroy','element','541983ixaHSq','status','imageBlock','_initListeners','selection','setSelection','linkHref','get','imageInline','initFlow','stopListening','focus','getLastPosition','source-list','editing','_formView','_insertAsset','setCurrentActivity','2392200utSyBl','getOutputCollectionState','Local'];_0x6be3=function(){return _0x52dce0;};return _0x6be3();}import{UploadcareSource as _0x1c6ca4}from'../uploadcareconfig.js';import{getTranslation as _0x1c03d2}from'../utils/common-translations.js';import{getImageUrls as _0x594eb7,getImageDimension as _0x50818d}from'../utils/editingutils.js';import{isAncestor as _0x1491a2}from'../utils/isancestor.js';export default class h extends/* #__PURE__ -- @preserve */
24
+ _0x20d28b(){constructor(_0xd20b2c,_0x3af000,_0x4843de){const _0x180bf9=_0x5c33;super(),this[_0x180bf9(0x1bb)]=null,this[_0x180bf9(0x1ee)]=null,this[_0x180bf9(0x1b1)]=_0xd20b2c,this[_0x180bf9(0x1bc)]=_0x3af000,this[_0x180bf9(0x1b0)]=_0xd20b2c[_0x180bf9(0x1ae)][_0x180bf9(0x1e6)](_0x46b03c),this[_0x180bf9(0x1dc)]=_0x3af000[_0x180bf9(0x1c3)][_0x180bf9(0x1c8)](),this[_0x180bf9(0x1bb)]=_0x4843de,this[_0x180bf9(0x1bc)][_0x180bf9(0x1d1)][_0x180bf9(0x1f7)](_0x180bf9(0x1ec),this[_0x180bf9(0x1bb)]),this[_0x180bf9(0x1d9)](),this[_0x180bf9(0x1e2)](),this[_0x180bf9(0x1dc)][_0x180bf9(0x1e8)]();}[_0x28c06b(0x1dd)](){const _0x1f1652=_0x28c06b;this[_0x1f1652(0x1ee)]&&(this[_0x1f1652(0x1ee)][_0x1f1652(0x1dd)](),this[_0x1f1652(0x1ee)]=null),this[_0x1f1652(0x1dc)]&&this[_0x1f1652(0x1dc)][_0x1f1652(0x1c4)](),this[_0x1f1652(0x1e9)](),this[_0x1f1652(0x1b6)]();}[_0x28c06b(0x1d9)](){const _0x17bc5e=_0x28c06b,{locale:_0x25e5b6,model:_0x386b64}=this[_0x17bc5e(0x1b1)],_0x56c044=_0x386b64[_0x17bc5e(0x1ca)][_0x17bc5e(0x1e3)][_0x17bc5e(0x1cb)](),_0x5e5913=_0x56c044&&(_0x56c044['is'](_0x17bc5e(0x1de),_0x17bc5e(0x1e1))||_0x56c044['is'](_0x17bc5e(0x1de),_0x17bc5e(0x1e7)));this[_0x17bc5e(0x1ee)]=new _0x348135(_0x25e5b6),this[_0x17bc5e(0x1b0)][_0x17bc5e(0x1be)]({'id':_0x17bc5e(0x1f5),'icon':_0x137449[_0x17bc5e(0x1b7)],'title':_0x1c03d2(_0x25e5b6,this[_0x17bc5e(0x1bb)],_0x5e5913?_0x17bc5e(0x1da):_0x17bc5e(0x1c7))[_0x17bc5e(0x1d2)],'content':this[_0x17bc5e(0x1ee)],'position':_0x5a8b9b[_0x17bc5e(0x1af)],'isModal':!0x0,'onShow':()=>{const _0x28bb34=_0x17bc5e;this[_0x28bb34(0x1ee)][_0x28bb34(0x1ea)]();},'onHide':()=>{const _0x4e756b=_0x17bc5e;this[_0x4e756b(0x1dc)][_0x4e756b(0x1bf)](),this[_0x4e756b(0x1b1)][_0x4e756b(0x1ed)][_0x4e756b(0x1b3)][_0x4e756b(0x1ea)](),this[_0x4e756b(0x1dd)]();},'keystrokeHandlerOptions':{'filter':_0x47f049=>!_0x1491a2(_0x47f049,this[_0x17bc5e(0x1ee)][_0x17bc5e(0x1de)])}});}[_0x28c06b(0x1e2)](){const _0x2b31f9=_0x28c06b;this[_0x2b31f9(0x1bc)][_0x2b31f9(0x1c3)][_0x2b31f9(0x1c6)](_0x2b31f9(0x1d7),()=>{const _0x5a4ac6=_0x2b31f9,{allEntries:_0x2656ea}=this[_0x5a4ac6(0x1dc)][_0x5a4ac6(0x1f2)]();this[_0x5a4ac6(0x1b1)][_0x5a4ac6(0x1b2)][_0x5a4ac6(0x1cf)](_0x5f44ca=>{const _0x286b37=_0x5a4ac6,_0x1b0250=_0x2656ea[_0x286b37(0x1ce)];for(const _0x1a1bef of _0x2656ea){const _0x1593ef=_0x1a1bef===_0x2656ea[_0x1b0250-0x1],{cdnUrl:_0x475db0,fileInfo:_0x5d5da2}=_0x1a1bef;if(!_0x475db0||!_0x5d5da2)continue;const {width:_0xcf8f0d,height:_0x28f778}=_0x5d5da2[_0x286b37(0x1d4)],_0x54cbd2=_0x50818d(_0x475db0,_0xcf8f0d,_0x28f778),_0x2d176c=_0x594eb7(_0x475db0,_0x54cbd2[_0x286b37(0x1b9)]),_0x305510={'id':_0x5d5da2[_0x286b37(0x1c5)],'type':_0x286b37(0x1d8),'attributes':{'imageDimension':_0x54cbd2,..._0x2d176c}};this[_0x286b37(0x1ef)](_0x305510,_0x1593ef,_0x5f44ca);}}),this[_0x5a4ac6(0x1b0)][_0x5a4ac6(0x1f6)]();}),this[_0x2b31f9(0x1bc)][_0x2b31f9(0x1c3)][_0x2b31f9(0x1c6)](_0x2b31f9(0x1cf),_0x48edd5=>{const _0x3a3afd=_0x2b31f9;_0x3a3afd(0x1f8)===_0x48edd5[_0x3a3afd(0x1d3)][_0x3a3afd(0x1e0)]&&!_0x48edd5[_0x3a3afd(0x1d3)][_0x3a3afd(0x1c2)][_0x3a3afd(0x1ce)]&&this[_0x3a3afd(0x1b0)][_0x3a3afd(0x1c9)]&&(this[_0x3a3afd(0x1bb)]===_0x1c6ca4[_0x3a3afd(0x1f3)]?this[_0x3a3afd(0x1dc)][_0x3a3afd(0x1f0)](_0x1c6ca4[_0x3a3afd(0x1f3)]):this[_0x3a3afd(0x1dc)][_0x3a3afd(0x1e8)]());});}[_0x28c06b(0x1ef)](_0x42b457,_0x390d0a,_0x291741){const _0x2cd7e1=_0x28c06b,_0x11a709=this[_0x2cd7e1(0x1b1)][_0x2cd7e1(0x1b2)][_0x2cd7e1(0x1ca)][_0x2cd7e1(0x1e3)],_0xaa6c8b=_0x11a709[_0x2cd7e1(0x1cb)](),_0xd237d3=!(!_0xaa6c8b||!_0xaa6c8b['is'](_0x2cd7e1(0x1de),_0x2cd7e1(0x1e7)));_0x291741[_0x2cd7e1(0x1c0)](_0x2cd7e1(0x1e5)),this[_0x2cd7e1(0x1b8)](_0x42b457,_0xd237d3),_0x390d0a||_0x291741[_0x2cd7e1(0x1e4)](_0x11a709[_0x2cd7e1(0x1eb)]());}[_0x28c06b(0x1b8)](_0x3e7a24,_0x182a0a){const _0x5c0573=_0x28c06b,_0xfc127b=this[_0x5c0573(0x1b1)],{imageDimension:_0x523c19,imageFallbackUrl:_0x21e92e,imageSources:_0x4de99d}=_0x3e7a24[_0x5c0573(0x1ba)];_0xfc127b[_0x5c0573(0x1d6)](_0x5c0573(0x1f4),{'imageType':_0x182a0a?_0x5c0573(0x1e7):null,'source':{'uploadcareImageId':_0x3e7a24['id'],'src':_0x21e92e,'sources':_0x4de99d,..._0x523c19}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3def(_0x151230,_0x2e1183){var _0x52852d=_0x5285();return _0x3def=function(_0x3def91,_0x29cf44){_0x3def91=_0x3def91-0x12f;var _0x5a3a6c=_0x52852d[_0x3def91];return _0x5a3a6c;},_0x3def(_0x151230,_0x2e1183);}var _0x1765c7=_0x3def;(function(_0x13cc44,_0x306be7){var _0x3cb126=_0x3def,_0x2bff0c=_0x13cc44();while(!![]){try{var _0x142935=-parseInt(_0x3cb126(0x133))/0x1*(parseInt(_0x3cb126(0x13e))/0x2)+parseInt(_0x3cb126(0x13c))/0x3+-parseInt(_0x3cb126(0x132))/0x4*(-parseInt(_0x3cb126(0x12f))/0x5)+-parseInt(_0x3cb126(0x134))/0x6+parseInt(_0x3cb126(0x130))/0x7+parseInt(_0x3cb126(0x13a))/0x8*(parseInt(_0x3cb126(0x13d))/0x9)+-parseInt(_0x3cb126(0x137))/0xa;if(_0x142935===_0x306be7)break;else _0x2bff0c['push'](_0x2bff0c['shift']());}catch(_0x38cada){_0x2bff0c['push'](_0x2bff0c['shift']());}}}(_0x5285,0x3304a));import _0x34cd2a from'../utils/dialogfocusmanagerview.js';function _0x5285(){var _0x196a0d=['ck-uploadcare-form','ck-reset_all-excluded','2670120GRHJfc','focus','ck-uploadcare-theme','80rHJzVi','getFocusableElement','1215201eEmoff','183231AVQwVA','587742SpcwEH','element','uploader','setTemplate','uc-file-uploader-inline','div','100TQxBYU','2155832hByshv','uc-light','41764Lmbjic','1IiqEZU','2133600AhWgkP'];_0x5285=function(){return _0x196a0d;};return _0x5285();}import'../../theme/uploadcare-form.css';export default class S extends _0x34cd2a{constructor(_0x4aed65){var _0x4fadfc=_0x3def;super(_0x4aed65),this[_0x4fadfc(0x141)]({'tag':_0x4fadfc(0x143),'attributes':{'class':['ck',_0x4fadfc(0x136),_0x4fadfc(0x135)],'tabindex':'-1'},'children':[{'tag':_0x4fadfc(0x142),'attributes':{'class':[_0x4fadfc(0x131),_0x4fadfc(0x139)],'ctx-name':_0x4fadfc(0x140)}},this[_0x4fadfc(0x13b)]()]});}[_0x1765c7(0x138)](){var _0x56b174=_0x1765c7;this[_0x56b174(0x13f)][_0x56b174(0x138)]();}}
23
+ var _0x3fcbb2=_0x2886;function _0x5238(){var _0x21edbf=['983697FnXIPb','75296gaFPnC','6881YVpFgw','ck-reset_all-excluded','ck-uploadcare-theme','div','setTemplate','286690TjmlwN','68cwhEcj','element','1572816XzWQdl','395042LVJjLy','ck-uploadcare-form','539WfjPBN','focus','3594vvqMTj','uploader','477LaGBBq','uc-light','getFocusableElement','243995qNcAnB','uc-file-uploader-inline'];_0x5238=function(){return _0x21edbf;};return _0x5238();}(function(_0x394d0c,_0x2bc88f){var _0x2c59fa=_0x2886,_0x2c6a95=_0x394d0c();while(!![]){try{var _0x255faf=parseInt(_0x2c59fa(0x19d))/0x1+-parseInt(_0x2c59fa(0x19c))/0x2+parseInt(_0x2c59fa(0x192))/0x3+-parseInt(_0x2c59fa(0x19a))/0x4*(parseInt(_0x2c59fa(0x190))/0x5)+-parseInt(_0x2c59fa(0x1a1))/0x6*(parseInt(_0x2c59fa(0x194))/0x7)+parseInt(_0x2c59fa(0x193))/0x8*(parseInt(_0x2c59fa(0x18d))/0x9)+parseInt(_0x2c59fa(0x199))/0xa*(parseInt(_0x2c59fa(0x19f))/0xb);if(_0x255faf===_0x2bc88f)break;else _0x2c6a95['push'](_0x2c6a95['shift']());}catch(_0x2c991d){_0x2c6a95['push'](_0x2c6a95['shift']());}}}(_0x5238,0x66f76));function _0x2886(_0x53967c,_0x36ef12){var _0x523852=_0x5238();return _0x2886=function(_0x2886ba,_0x1970b2){_0x2886ba=_0x2886ba-0x18c;var _0x1dd34f=_0x523852[_0x2886ba];return _0x1dd34f;},_0x2886(_0x53967c,_0x36ef12);}import _0x5657f9 from'../utils/dialogfocusmanagerview.js';import'../../theme/uploadcare-form.css';export default class F extends _0x5657f9{constructor(_0x1b35a4){var _0x3d3107=_0x2886;super(_0x1b35a4),this[_0x3d3107(0x198)]({'tag':_0x3d3107(0x197),'attributes':{'class':['ck',_0x3d3107(0x195),_0x3d3107(0x19e)],'tabindex':'-1'},'children':[{'tag':_0x3d3107(0x191),'attributes':{'class':[_0x3d3107(0x18e),_0x3d3107(0x196)],'ctx-name':_0x3d3107(0x18c)}},this[_0x3d3107(0x18f)]()]});}[_0x3fcbb2(0x1a0)](){var _0x47abf0=_0x3fcbb2;this[_0x47abf0(0x19b)][_0x47abf0(0x1a0)]();}}
package/src/uploadcare.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1abed6=_0x3b4f;(function(_0x21e437,_0x2f3896){var _0x3d4e34=_0x3b4f,_0x26ad92=_0x21e437();while(!![]){try{var _0x4b1318=-parseInt(_0x3d4e34(0x18b))/0x1*(-parseInt(_0x3d4e34(0x197))/0x2)+-parseInt(_0x3d4e34(0x188))/0x3+-parseInt(_0x3d4e34(0x185))/0x4+parseInt(_0x3d4e34(0x192))/0x5*(parseInt(_0x3d4e34(0x18a))/0x6)+parseInt(_0x3d4e34(0x190))/0x7+-parseInt(_0x3d4e34(0x198))/0x8+parseInt(_0x3d4e34(0x18f))/0x9;if(_0x4b1318===_0x2f3896)break;else _0x26ad92['push'](_0x26ad92['shift']());}catch(_0x367bdb){_0x26ad92['push'](_0x26ad92['shift']());}}}(_0x380e,0xc8375));import{Plugin as _0x3e54e4}from'ckeditor5/src/core.js';import _0x2792d6 from'./uploadcareui.js';import _0x38092b from'./uploadcareediting.js';function _0x380e(){var _0x2387a0=['defineComponents','Local','isOfficialPlugin','3751785anttMU','9627163pAeqcC','uploadcare.uploader.sourceList','5NapJYB','isPremiumPlugin','Uploadcare','URL','pluginName','2534244UtsSsM','3673360VIcUSl','6441292ZRfnwA','requires','config','2218311QjGxTK','define','3418314kaACNB','1ohXggc'];_0x380e=function(){return _0x2387a0;};return _0x380e();}function _0x3b4f(_0x286bb9,_0x4e5709){var _0x380e4e=_0x380e();return _0x3b4f=function(_0x3b4f1a,_0x421926){_0x3b4f1a=_0x3b4f1a-0x185;var _0x13612c=_0x380e4e[_0x3b4f1a];return _0x13612c;},_0x3b4f(_0x286bb9,_0x4e5709);}import{UploadcareSource as _0xc01670}from'./uploadcareconfig.js';import*as _0x43ab3e from'@uploadcare/file-uploader';export default class u extends _0x3e54e4{static get[_0x1abed6(0x186)](){return[_0x38092b,_0x2792d6];}static get[_0x1abed6(0x196)](){var _0x387adb=_0x1abed6;return _0x387adb(0x194);}static get[_0x1abed6(0x18e)](){return!0x0;}static get[_0x1abed6(0x193)](){return!0x0;}constructor(_0x4f723c){var _0x2131f1=_0x1abed6;super(_0x4f723c),_0x4f723c[_0x2131f1(0x187)][_0x2131f1(0x189)](_0x2131f1(0x191),[_0xc01670[_0x2131f1(0x18d)],_0xc01670[_0x2131f1(0x195)]]),_0x43ab3e[_0x2131f1(0x18c)](_0x43ab3e);}}
23
+ var _0x381505=_0x412f;(function(_0x24577b,_0x75a246){var _0x1c2762=_0x412f,_0x4946fc=_0x24577b();while(!![]){try{var _0x56c766=-parseInt(_0x1c2762(0x1fc))/0x1*(-parseInt(_0x1c2762(0x1fe))/0x2)+-parseInt(_0x1c2762(0x1f2))/0x3*(-parseInt(_0x1c2762(0x1f7))/0x4)+parseInt(_0x1c2762(0x1f5))/0x5+-parseInt(_0x1c2762(0x1ee))/0x6+parseInt(_0x1c2762(0x1ed))/0x7*(parseInt(_0x1c2762(0x1f6))/0x8)+-parseInt(_0x1c2762(0x1fd))/0x9+-parseInt(_0x1c2762(0x1fa))/0xa;if(_0x56c766===_0x75a246)break;else _0x4946fc['push'](_0x4946fc['shift']());}catch(_0x5abcdd){_0x4946fc['push'](_0x4946fc['shift']());}}}(_0xe0a3,0xc6f32));function _0x412f(_0x594173,_0x5885d4){var _0xe0a3d0=_0xe0a3();return _0x412f=function(_0x412feb,_0x5a57e3){_0x412feb=_0x412feb-0x1eb;var _0x4f723d=_0xe0a3d0[_0x412feb];return _0x4f723d;},_0x412f(_0x594173,_0x5885d4);}import{Plugin as _0x4370e4}from'ckeditor5/src/core.js';import _0x5a3004 from'./uploadcareui.js';import _0x11ffc6 from'./uploadcareediting.js';import{UploadcareSource as _0xd974c7}from'./uploadcareconfig.js';import*as _0x4e0566 from'@uploadcare/file-uploader';function _0xe0a3(){var _0x3b0ed8=['config','uploadcare.uploader.sourceList','22488700uduECT','isOfficialPlugin','601763uuwBUy','12767274MWTZJy','2OjFpuc','defineComponents','pluginName','isPremiumPlugin','105wamkmM','1614102SlQBxi','requires','define','Local','345sbIkAS','Uploadcare','URL','7424340BnQQfO','667960ZUoWMt','49124ePYJXw'];_0xe0a3=function(){return _0x3b0ed8;};return _0xe0a3();}export default class u extends _0x4370e4{static get[_0x381505(0x1ef)](){return[_0x11ffc6,_0x5a3004];}static get[_0x381505(0x1eb)](){var _0x3ed9ab=_0x381505;return _0x3ed9ab(0x1f3);}static get[_0x381505(0x1fb)](){return!0x0;}static get[_0x381505(0x1ec)](){return!0x0;}constructor(_0x40548e){var _0x561945=_0x381505;super(_0x40548e),_0x40548e[_0x561945(0x1f8)][_0x561945(0x1f0)](_0x561945(0x1f9),[_0xd974c7[_0x561945(0x1f1)],_0xd974c7[_0x561945(0x1f4)]]),_0x4e0566[_0x561945(0x1ff)](_0x4e0566);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x339915=_0x4bac;(function(_0x432447,_0x176271){var _0x51afd9=_0x4bac,_0x5bec31=_0x432447();while(!![]){try{var _0x1881e0=parseInt(_0x51afd9(0xb2))/0x1*(parseInt(_0x51afd9(0xa7))/0x2)+parseInt(_0x51afd9(0xa8))/0x3+-parseInt(_0x51afd9(0xa5))/0x4*(-parseInt(_0x51afd9(0xad))/0x5)+parseInt(_0x51afd9(0xa4))/0x6+-parseInt(_0x51afd9(0xae))/0x7+-parseInt(_0x51afd9(0xb3))/0x8+parseInt(_0x51afd9(0xa2))/0x9;if(_0x1881e0===_0x176271)break;else _0x5bec31['push'](_0x5bec31['shift']());}catch(_0x427e5c){_0x5bec31['push'](_0x5bec31['shift']());}}}(_0xd014,0x5ce20));import{Command as _0x4ba49c}from'ckeditor5/src/core.js';function _0x4bac(_0x5da7eb,_0x369f13){var _0xd01496=_0xd014();return _0x4bac=function(_0x4bac53,_0x4d00af){_0x4bac53=_0x4bac53-0xa0;var _0x502096=_0xd01496[_0x4bac53];return _0x502096;},_0x4bac(_0x5da7eb,_0x369f13);}import{Dialog as _0x5db7ef}from'ckeditor5/src/ui.js';import _0x16f665 from'./uploadcareediting.js';import _0x27ea46 from'./ui/uploadcarecontroller.js';export default class l extends _0x4ba49c{static get[_0x339915(0xab)](){return[_0x5db7ef,_0x16f665];}constructor(_0x417dca){var _0x317c21=_0x339915;super(_0x417dca),this[_0x317c21(0xb1)]=null,this[_0x317c21(0xa9)]=_0x417dca[_0x317c21(0xaa)][_0x317c21(0xaf)](_0x16f665);}[_0x339915(0xa1)](){var _0x39475f=_0x339915;this[_0x39475f(0xb4)]=this[_0x39475f(0xa3)]();}[_0x339915(0xb5)](_0x16b12f){var _0x1c21b2=_0x339915;this[_0x1c21b2(0xb1)]&&(this[_0x1c21b2(0xb1)][_0x1c21b2(0xa0)](),this[_0x1c21b2(0xb1)]=null),this[_0x1c21b2(0xb1)]=new _0x27ea46(this[_0x1c21b2(0xac)],this[_0x1c21b2(0xa9)],_0x16b12f);}[_0x339915(0xa3)](){var _0xbb288e=_0x339915;return this[_0xbb288e(0xac)][_0xbb288e(0xb0)][_0xbb288e(0xaf)](_0xbb288e(0xa6))[_0xbb288e(0xb4)];}}function _0xd014(){var _0x2c3a4b=['4568515sONntR','get','commands','_controller','1zppGiq','2896000pAAOCS','isEnabled','execute','destroy','refresh','6429123IuFGuJ','_checkEnabled','242082jKTgoB','52hUqPUj','insertImage','375836sNQZvy','1331664glyMxC','_editing','plugins','requires','editor','3305MPtPrK'];_0xd014=function(){return _0x2c3a4b;};return _0xd014();}
23
+ var _0x12b4c2=_0x4976;function _0x473a(){var _0x355047=['880596ULHCdF','destroy','80kOCgvg','get','insertImage','isEnabled','308896iKTypF','3208710QPnkfF','1690604qAGFis','requires','editor','60314OCpcvQ','_checkEnabled','refresh','commands','9iWxEMi','3636155vMxcMy','execute','_controller','3FnLMzZ','312504KvMGlZ','_editing','plugins'];_0x473a=function(){return _0x355047;};return _0x473a();}(function(_0x12e355,_0x55343f){var _0x314cd9=_0x4976,_0x4885c5=_0x12e355();while(!![]){try{var _0x4a370a=-parseInt(_0x314cd9(0x198))/0x1+-parseInt(_0x314cd9(0x18f))/0x2+-parseInt(_0x314cd9(0x197))/0x3*(parseInt(_0x314cd9(0x18c))/0x4)+parseInt(_0x314cd9(0x194))/0x5+-parseInt(_0x314cd9(0x19b))/0x6+parseInt(_0x314cd9(0x18a))/0x7*(parseInt(_0x314cd9(0x19d))/0x8)+-parseInt(_0x314cd9(0x193))/0x9*(-parseInt(_0x314cd9(0x18b))/0xa);if(_0x4a370a===_0x55343f)break;else _0x4885c5['push'](_0x4885c5['shift']());}catch(_0x39936b){_0x4885c5['push'](_0x4885c5['shift']());}}}(_0x473a,0x8cf18));function _0x4976(_0x5b9a05,_0x35df78){var _0x473a5e=_0x473a();return _0x4976=function(_0x497692,_0x1d8771){_0x497692=_0x497692-0x18a;var _0x9017fa=_0x473a5e[_0x497692];return _0x9017fa;},_0x4976(_0x5b9a05,_0x35df78);}import{Command as _0x473816}from'ckeditor5/src/core.js';import{Dialog as _0x19d135}from'ckeditor5/src/ui.js';import _0x35c12a from'./uploadcareediting.js';import _0x3cbf76 from'./ui/uploadcarecontroller.js';export default class l extends _0x473816{static get[_0x12b4c2(0x18d)](){return[_0x19d135,_0x35c12a];}constructor(_0x270b30){var _0x123651=_0x12b4c2;super(_0x270b30),this[_0x123651(0x196)]=null,this[_0x123651(0x199)]=_0x270b30[_0x123651(0x19a)][_0x123651(0x19e)](_0x35c12a);}[_0x12b4c2(0x191)](){var _0x1a4ca3=_0x12b4c2;this[_0x1a4ca3(0x1a0)]=this[_0x1a4ca3(0x190)]();}[_0x12b4c2(0x195)](_0x50cab6){var _0x5aaa49=_0x12b4c2;this[_0x5aaa49(0x196)]&&(this[_0x5aaa49(0x196)][_0x5aaa49(0x19c)](),this[_0x5aaa49(0x196)]=null),this[_0x5aaa49(0x196)]=new _0x3cbf76(this[_0x5aaa49(0x18e)],this[_0x5aaa49(0x199)],_0x50cab6);}[_0x12b4c2(0x190)](){var _0x36dca7=_0x12b4c2;return this[_0x36dca7(0x18e)][_0x36dca7(0x192)][_0x36dca7(0x19e)](_0x36dca7(0x19f))[_0x36dca7(0x1a0)];}}
@@ -35,6 +35,7 @@ import type { ConfigType } from '@uploadcare/file-uploader';
35
35
  * sourceList: [
36
36
  * 'local',
37
37
  * 'url',
38
+ * 'instagram',
38
39
  * 'gdrive'
39
40
  * ],
40
41
  * },
@@ -47,7 +48,7 @@ import type { ConfigType } from '@uploadcare/file-uploader';
47
48
  *
48
49
  * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
49
50
  */
50
- export interface UploadcareConfig {
51
+ export interface UploadcareConfig extends Omit<ConfigType, ExcludedKeys | 'sourceList'> {
51
52
  /**
52
53
  * The public key used for communication with the Uploadcare services.
53
54
  *
@@ -66,6 +67,7 @@ export interface UploadcareConfig {
66
67
  * * 'gdrive'
67
68
  * * 'facebook'
68
69
  * * 'gphotos'
70
+ * * 'instagram'
69
71
  * * 'onedrive'
70
72
  *
71
73
  * Additionally, below options are not supported:
@@ -79,7 +81,7 @@ export interface UploadcareConfig {
79
81
  *
80
82
  * All other options documented in the Uploadcare documentation are supported.
81
83
  */
82
- uploader?: UploadcareUploaderConfig;
84
+ uploader: UploadcareUploaderConfig;
83
85
  /**
84
86
  * Configuration for the Image Editor component. The component allows editing existing images in the CKEditor.
85
87
  *
@@ -89,7 +91,7 @@ export interface UploadcareConfig {
89
91
  * Please note that the `cdn-url` and `uuid` attributes are automatically handled by the Uploadcare plugin and
90
92
  * are not supported in the config options.
91
93
  */
92
- editor?: UploadcareEditorConfig;
94
+ editor: UploadcareEditorConfig;
93
95
  /**
94
96
  * Allows editing images that are not hosted in Uploadcare service.
95
97
  *
@@ -114,13 +116,13 @@ export interface UploadcareConfig {
114
116
  *
115
117
  * You can find detailed information in the [Uploadcare documentation](https://uploadcare.com/docs/file-uploader/options/).
116
118
  */
117
- export interface UploadcareUploaderConfig extends Partial<Omit<ConfigType, ExcludedKeys | 'sourceList'>> {
119
+ export interface UploadcareUploaderConfig extends Omit<ConfigType, ExcludedKeys | 'sourceList'> {
118
120
  /**
119
121
  * Comma-separated list of file sources.
120
122
  *
121
123
  * @default [ 'local', 'url' ]
122
124
  */
123
- sourceList?: Array<UploadcareSourceValue>;
125
+ sourceList?: Array<UploadcareSource>;
124
126
  }
125
127
  /**
126
128
  * Configuration for the Uploadcare Image Editor component.
@@ -146,12 +148,9 @@ export declare enum UploadcareSource {
146
148
  GDrive = "gdrive",
147
149
  Facebook = "facebook",
148
150
  GPhotos = "gphotos",
151
+ Instagram = "instagram",
149
152
  OneDrive = "onedrive"
150
153
  }
151
- /**
152
- * Values for all available upload sources.
153
- */
154
- export type UploadcareSourceValue = `${UploadcareSource}`;
155
154
  /**
156
155
  * Image asset definition.
157
156
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x439d(_0x3a90d6,_0x7c2276){var _0x234205=_0x2342();return _0x439d=function(_0x439d58,_0x34f79e){_0x439d58=_0x439d58-0x1a2;var _0x19f4b8=_0x234205[_0x439d58];return _0x19f4b8;},_0x439d(_0x3a90d6,_0x7c2276);}(function(_0x4b6695,_0x5f3fa9){var _0x7e647d=_0x439d,_0x460bb0=_0x4b6695();while(!![]){try{var _0x3af905=parseInt(_0x7e647d(0x1b1))/0x1+-parseInt(_0x7e647d(0x1b4))/0x2*(parseInt(_0x7e647d(0x1aa))/0x3)+parseInt(_0x7e647d(0x1b5))/0x4+-parseInt(_0x7e647d(0x1ac))/0x5*(-parseInt(_0x7e647d(0x1ba))/0x6)+parseInt(_0x7e647d(0x1a2))/0x7*(parseInt(_0x7e647d(0x1b3))/0x8)+-parseInt(_0x7e647d(0x1a6))/0x9+-parseInt(_0x7e647d(0x1a7))/0xa*(-parseInt(_0x7e647d(0x1a3))/0xb);if(_0x3af905===_0x5f3fa9)break;else _0x460bb0['push'](_0x460bb0['shift']());}catch(_0x1f4265){_0x460bb0['push'](_0x460bb0['shift']());}}}(_0x2342,0xeff01));function _0x2342(){var _0x16f0b9=['Facebook','5seAkOy','local','OneDrive','GDrive','gphotos','892724xZJjeT','GPhotos','8lKnmtC','3535366IUPNIr','3009964SxoXIv','Local','dropbox','url','URL','5264418YhFYdH','3714991NxlIbA','308JdqBjc','onedrive','facebook','9669123duuobC','275530KtjAWu','gdrive','Dropbox','3QenbQP'];_0x2342=function(){return _0x16f0b9;};return _0x2342();}export var UploadcareSource;!function(_0xeed606){var _0x14a568=_0x439d;_0xeed606[_0x14a568(0x1b6)]=_0x14a568(0x1ad),_0xeed606[_0x14a568(0x1b9)]=_0x14a568(0x1b8),_0xeed606[_0x14a568(0x1a9)]=_0x14a568(0x1b7),_0xeed606[_0x14a568(0x1af)]=_0x14a568(0x1a8),_0xeed606[_0x14a568(0x1ab)]=_0x14a568(0x1a5),_0xeed606[_0x14a568(0x1b2)]=_0x14a568(0x1b0),_0xeed606[_0x14a568(0x1ae)]=_0x14a568(0x1a4);}(UploadcareSource||(UploadcareSource={}));
23
+ function _0xc8b8(_0x3ff55f,_0x16da8e){var _0x564464=_0x5644();return _0xc8b8=function(_0xc8b87c,_0x458a7d){_0xc8b87c=_0xc8b87c-0x8e;var _0x5cd032=_0x564464[_0xc8b87c];return _0x5cd032;},_0xc8b8(_0x3ff55f,_0x16da8e);}function _0x5644(){var _0x57533d=['instagram','OneDrive','gphotos','4JhCjeg','1454280SAoKkd','url','8254888gPizCV','URL','78530ksxRga','Instagram','Dropbox','4323042dxuAAk','5478MMyIBG','Local','GPhotos','Facebook','onedrive','dropbox','781096UjzWTx','1407KwRjfv','GDrive','local','gdrive','25hqLjBO','facebook','3751yMVhwq','659972nZiVGu'];_0x5644=function(){return _0x57533d;};return _0x5644();}(function(_0x13e0d9,_0x2a9912){var _0x3584a1=_0xc8b8,_0x4c2d8a=_0x13e0d9();while(!![]){try{var _0x1be9c6=parseInt(_0x3584a1(0x8e))/0x1*(parseInt(_0x3584a1(0x92))/0x2)+parseInt(_0x3584a1(0x93))/0x3+parseInt(_0x3584a1(0xa1))/0x4*(parseInt(_0x3584a1(0xa6))/0x5)+parseInt(_0x3584a1(0x9b))/0x6*(parseInt(_0x3584a1(0xa2))/0x7)+parseInt(_0x3584a1(0x95))/0x8+-parseInt(_0x3584a1(0x9a))/0x9+parseInt(_0x3584a1(0x97))/0xa*(-parseInt(_0x3584a1(0xa8))/0xb);if(_0x1be9c6===_0x2a9912)break;else _0x4c2d8a['push'](_0x4c2d8a['shift']());}catch(_0x28ca8f){_0x4c2d8a['push'](_0x4c2d8a['shift']());}}}(_0x5644,0xcca5d));export var UploadcareSource;!function(_0x13501b){var _0x1b254c=_0xc8b8;_0x13501b[_0x1b254c(0x9c)]=_0x1b254c(0xa4),_0x13501b[_0x1b254c(0x96)]=_0x1b254c(0x94),_0x13501b[_0x1b254c(0x99)]=_0x1b254c(0xa0),_0x13501b[_0x1b254c(0xa3)]=_0x1b254c(0xa5),_0x13501b[_0x1b254c(0x9e)]=_0x1b254c(0xa7),_0x13501b[_0x1b254c(0x9d)]=_0x1b254c(0x91),_0x13501b[_0x1b254c(0x98)]=_0x1b254c(0x8f),_0x13501b[_0x1b254c(0x90)]=_0x1b254c(0x9f);}(UploadcareSource||(UploadcareSource={}));
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x15ae9b=_0x563a;(function(_0x26a8cc,_0x3dc0b8){const _0x17646d=_0x563a,_0x207cd4=_0x26a8cc();while(!![]){try{const _0x6a2a61=parseInt(_0x17646d(0x1cf))/0x1*(-parseInt(_0x17646d(0x1fa))/0x2)+parseInt(_0x17646d(0x1d3))/0x3*(parseInt(_0x17646d(0x1de))/0x4)+parseInt(_0x17646d(0x1f8))/0x5+-parseInt(_0x17646d(0x1fd))/0x6*(-parseInt(_0x17646d(0x1f9))/0x7)+-parseInt(_0x17646d(0x1ea))/0x8*(parseInt(_0x17646d(0x1ce))/0x9)+-parseInt(_0x17646d(0x1e5))/0xa*(-parseInt(_0x17646d(0x1c4))/0xb)+-parseInt(_0x17646d(0x1dd))/0xc;if(_0x6a2a61===_0x3dc0b8)break;else _0x207cd4['push'](_0x207cd4['shift']());}catch(_0x2e00cc){_0x207cd4['push'](_0x207cd4['shift']());}}}(_0x5893,0x7da2f));function _0x563a(_0x5ad413,_0x339afe){const _0x5893da=_0x5893();return _0x563a=function(_0x563a86,_0x3f3c84){_0x563a86=_0x563a86-0x1b6;let _0x321c0a=_0x5893da[_0x563a86];return _0x321c0a;},_0x563a(_0x5ad413,_0x339afe);}function _0x5893(){const _0x2fb138=['3124212LXIKwm','77972IrkXEk','contentLanguage','remove','listenTo','commands','requires','_initConfig','1077770xAsIVC','upcast','replaceImageSource','\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','removeAttribute','8bsIOqs','PictureEditing','uc-upload-ctx-provider','uploadcare.uploader','_initImageProcessingIndicator','document','map','editor','downcast','_initCtx','isRegistered','imageBlock','destroy','uploadcareImageReplace','2703065HaXEeR','77pAoezg','18438itHLtf','render','UploadcareEditing','19410XCYIIG','getAttribute','iconHrefResolver','isOfficialPlugin','cleanupImage','data-uc-image-id','elementToAttribute','conversion','uploadcare','uploadcareImageId','imageInline','editing','locale','input[uploadcare-file-input]','attributeToAttribute','_ctxElement','getSelectedElement','closeMax','uc-config','init','href','isPremiumPlugin','add','_configElement','uploader','for','uploadcare.pubkey','schema','#uc-icon-arrow-down','33ZQnMwV','afterInit','fromCharCode','join','_initConversion','execute','once','extend','configElement','_initSchema','5424093EYAWrp','1RLjwDB','ctxElement','model','view','75ESCOmW','get','config','appendChild','selection','querySelector','pluginName','true','body','insertImage'];_0x5893=function(){return _0x2fb138;};return _0x5893();}import{Plugin as _0x30b717}from'ckeditor5/src/core.js';import{Dialog as _0x172430}from'ckeditor5/src/ui.js';import{createElement as _0x22f86c,global as _0xab8f92,uid as _0x4bed9a}from'ckeditor5/src/utils.js';import _0x564c85 from'./uploadcarecommand.js';import _0x4b3689 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x56d6e6}from'./utils/editingutils.js';export default class i extends _0x30b717{constructor(){const _0x2b65ff=_0x563a;super(...arguments),this[_0x2b65ff(0x1be)]=null,this[_0x2b65ff(0x1b6)]=null;}static get[_0x15ae9b(0x1d9)](){const _0x2012a8=_0x15ae9b;return _0x2012a8(0x1fc);}static get[_0x15ae9b(0x1e3)](){const _0x373da5=_0x15ae9b;return[_0x373da5(0x1eb),_0x4b3689,_0x172430];}static get[_0x15ae9b(0x200)](){return!0x0;}static get[_0x15ae9b(0x1bc)](){return!0x0;}get[_0x15ae9b(0x1cc)](){const _0x4308ee=_0x15ae9b;return this[_0x4308ee(0x1be)];}get[_0x15ae9b(0x1d0)](){const _0x51216d=_0x15ae9b;return this[_0x51216d(0x1b6)];}[_0x15ae9b(0x1ba)](){const _0x450adf=_0x15ae9b,_0x29ea52=this[_0x450adf(0x1f1)];_0x29ea52[_0x450adf(0x1e2)][_0x450adf(0x1bd)](_0x450adf(0x205),new _0x564c85(_0x29ea52));}[_0x15ae9b(0x1c5)](){const _0x46da1d=_0x15ae9b;this[_0x46da1d(0x1cd)](),this[_0x46da1d(0x1c8)](),this[_0x46da1d(0x1e4)](),this[_0x46da1d(0x1f3)](),this[_0x46da1d(0x1ee)](),this[_0x46da1d(0x1e1)](this[_0x46da1d(0x1f1)],_0x46da1d(0x1f6),()=>{const _0x368a72=_0x46da1d;this[_0x368a72(0x1be)]&&(this[_0x368a72(0x1be)][_0x368a72(0x1e0)](),this[_0x368a72(0x1be)]=null),this[_0x368a72(0x1b6)]&&(this[_0x368a72(0x1b6)][_0x368a72(0x1e0)](),this[_0x368a72(0x1b6)]=null);const _0x84e44=_0xab8f92[_0x368a72(0x1ef)][_0x368a72(0x1d8)](_0x368a72(0x20a));_0x84e44&&_0x84e44[_0x368a72(0x1e0)]();}),async function(_0xeb0ebc){const _0x46d0a0=_0x1cb041([0x39,0x48,0x62,0x69,0x36,0x47,0x6e,0x56,0x31,0x41,0x4b,0x4f,0x51,0x75,0x70,0x33,0x64,0x50,0x76,0x77,0x68,0x32,0x6a,0x43,0x35,0x61,0x67,0x54,0x5a,0x73,0x65,0x45,0x72,0x6b,0x44,0x7a,0x6f,0x4d,0x38,0x57,0x37,0x30,0x4e,0x78,0x4a,0x55,0x59,0x6c,0x74,0x42,0x79,0x63,0x58,0x6d,0x34,0x66,0x46,0x53,0x71,0x4c,0x49,0x52]),_0x280d66=0x728798b7,_0x4f6a1b=0x7280c7ff^_0x280d66,_0x3c8300=window[_0x1cb041([0x44,0x61,0x74,0x65])][_0x1cb041([0x6e,0x6f,0x77])](),_0x235f5d=_0xeb0ebc[_0x1cb041([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2f5a53=new window[(_0x1cb041([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40c7d1=>{_0x235f5d[_0x1cb041([0x6f,0x6e,0x63,0x65])](_0x1cb041([0x72,0x65,0x61,0x64,0x79]),_0x40c7d1);}),_0x5c2938={[_0x1cb041([0x6b,0x74,0x79])]:_0x1cb041([0x45,0x43]),[_0x1cb041([0x75,0x73,0x65])]:_0x1cb041([0x73,0x69,0x67]),[_0x1cb041([0x63,0x72,0x76])]:_0x1cb041([0x50,0x2d,0x32,0x35,0x36]),[_0x1cb041([0x78])]:_0x1cb041([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]),[_0x1cb041([0x79])]:_0x1cb041([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]),[_0x1cb041([0x61,0x6c,0x67])]:_0x1cb041([0x45,0x53,0x32,0x35,0x36])},_0x3ea09a=_0x235f5d[_0x1cb041([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1cb041([0x67,0x65,0x74])](_0x1cb041([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x583543(){let _0x3df960,_0x59b3c2=null,_0x1e9a8e=null;try{if(_0x3ea09a==_0x1cb041([0x47,0x50,0x4c]))return _0x1cb041([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3df960=_0x27c941(),!_0x3df960)return _0x1cb041([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3df960[_0x1cb041([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e9a8e=_0x2da505(_0x3df960[_0x1cb041([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3df960[_0x1cb041([0x6a,0x74,0x69])])),await _0x5b36b8()?_0x149ba0()?_0x32786e()?_0x1cb041([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x27bfbd()?(_0x3df960[_0x1cb041([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cb041([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59b3c2=_0x5886f0(_0x1cb041([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3df960[_0x1cb041([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1cb041([0x74,0x72,0x69,0x61,0x6c])&&(_0x59b3c2=_0x5886f0(_0x1cb041([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4848f9()):_0x1cb041([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1cb041([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1cb041([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x35f8b1){return _0x1cb041([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x32786e(){const _0x55a459=[_0x1cb041([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1cb041([0x74,0x72,0x69,0x61,0x6c])][_0x1cb041([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3df960[_0x1cb041([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c8300/0x3e8:0xe10*_0x4f6a1b;return _0x3df960[_0x1cb041([0x65,0x78,0x70])]<_0x55a459;}function _0x149ba0(){const _0x5bad8a=_0x3df960[_0x1cb041([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5bad8a&&(!!_0x5bad8a[_0x1cb041([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cb041([0x2a]))||!!_0x5bad8a[_0x1cb041([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cb041([0x55,0x50,0x4c,0x43])));}function _0x27bfbd(){const _0x3414f0=_0x563a,_0x2fe1fd=_0x3df960[_0x1cb041([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2fe1fd||0x0==_0x2fe1fd[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3eae36}=new URL(window[_0x1cb041([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3414f0(0x1bb)]);if(_0x2fe1fd[_0x1cb041([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3eae36))return!0x0;const _0x3b2e4f=_0x3eae36[_0x1cb041([0x73,0x70,0x6c,0x69,0x74])](_0x1cb041([0x2e]));return _0x2fe1fd[_0x1cb041([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x204aa5=>_0x204aa5[_0x1cb041([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cb041([0x2a])))[_0x1cb041([0x6d,0x61,0x70])](_0xcdfacd=>_0xcdfacd[_0x1cb041([0x73,0x70,0x6c,0x69,0x74])](_0x1cb041([0x2e])))[_0x1cb041([0x73,0x6f,0x6d,0x65])](_0x5b2d7d=>_0x3b2e4f[_0x1cb041([0x65,0x76,0x65,0x72,0x79])]((_0x5a3ab7,_0x1a856e)=>_0x5b2d7d[_0x1a856e]===_0x5a3ab7||_0x5b2d7d[_0x1a856e]===_0x1cb041([0x2a])));}function _0x4848f9(){return _0x59b3c2&&_0x1e9a8e?new window[(_0x1cb041([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2a79ea,_0x48703c)=>{_0x59b3c2[_0x1cb041([0x74,0x68,0x65,0x6e])](_0x2a79ea,_0x48703c),_0x1e9a8e[_0x1cb041([0x74,0x68,0x65,0x6e])](_0x59204d=>{_0x59204d!=_0x1cb041([0x56,0x61,0x6c,0x69,0x64])&&_0x2a79ea(_0x59204d);},_0x48703c);}):_0x59b3c2||_0x1e9a8e||_0x1cb041([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2da505(_0x4e5b7c,_0xe03c89){return new window[(_0x1cb041([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc42547=>{if(_0x4f8f24())return _0xc42547(_0x1cb041([0x56,0x61,0x6c,0x69,0x64]));_0x644d65(),_0x235f5d[_0x1cb041([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1cb041([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x54f760=!0x1;const _0xec23b6=_0x4bed9a();function _0x2b94e5(_0x303ac0){return!!_0x303ac0&&(typeof _0x303ac0===_0x1cb041([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x303ac0===_0x1cb041([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x303ac0[_0x1cb041([0x74,0x68,0x65,0x6e])]===_0x1cb041([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x303ac0[_0x1cb041([0x63,0x61,0x74,0x63,0x68])]===_0x1cb041([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x368feb(_0x535d51){_0x2cb5f0(_0x535d51)[_0x1cb041([0x74,0x68,0x65,0x6e])](_0x41a7e7=>{if(!_0x41a7e7||_0x41a7e7[_0x1cb041([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1cb041([0x6f,0x6b]))return _0x1cb041([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x586ee1(_0x2047ac(_0xec23b6+_0xe03c89))!=_0x41a7e7[_0x1cb041([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1cb041([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1cb041([0x56,0x61,0x6c,0x69,0x64]);})[_0x1cb041([0x74,0x68,0x65,0x6e])](_0x1d2841=>(_0x59148f(),_0x1d2841),()=>{const _0x31f495=_0x540d6b();return null==_0x31f495?(_0x59148f(),_0x1cb041([0x56,0x61,0x6c,0x69,0x64])):_0x1cb041(_0x3c8300-_0x31f495>(0x568b1cb7^_0x280d66)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1cb041([0x74,0x68,0x65,0x6e])](_0xc42547)[_0x1cb041([0x63,0x61,0x74,0x63,0x68])](()=>{_0xc42547(_0x1cb041([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3fe1c5=0x72b17637^_0x280d66;function _0x59148f(){const _0x75bb1a=_0x1cb041([0x6c,0x6c,0x63,0x74,0x2d])+_0x586ee1(_0x2047ac(_0x4e5b7c)),_0x456525=_0x4207aa(_0x586ee1(window[_0x1cb041([0x4d,0x61,0x74,0x68])][_0x1cb041([0x63,0x65,0x69,0x6c])](_0x3c8300/_0x3fe1c5)));window[_0x1cb041([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cb041([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x75bb1a,_0x456525);}function _0x540d6b(){const _0x2f7aea=_0x1cb041([0x6c,0x6c,0x63,0x74,0x2d])+_0x586ee1(_0x2047ac(_0x4e5b7c)),_0x37ccc9=window[_0x1cb041([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1cb041([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f7aea);return _0x37ccc9?window[_0x1cb041([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4207aa(_0x37ccc9),0x10)*_0x3fe1c5:null;}function _0x2cb5f0(_0x500343){return new window[(_0x1cb041([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x283777,_0x2abf14)=>{_0x500343[_0x1cb041([0x74,0x68,0x65,0x6e])](_0x283777,_0x2abf14),window[_0x1cb041([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2abf14,0x72864c77^_0x280d66);});}}_0x235f5d[_0x1cb041([0x6f,0x6e])](_0x1cb041([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1d5ab3,_0x317cc0)=>{if(_0x317cc0[0x0]!=_0x4e5b7c)return _0xc42547(_0x1cb041([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x317cc0[0x1]={..._0x317cc0[0x1],[_0x1cb041([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xec23b6};},{[_0x1cb041([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cb041([0x68,0x69,0x67,0x68])}),_0x235f5d[_0x1cb041([0x6f,0x6e])](_0x1cb041([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1b5f87=>{_0x2b94e5(_0x1b5f87[_0x1cb041([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x54f760=!0x0,_0x368feb(_0x1b5f87[_0x1cb041([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1cb041([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1cb041([0x6c,0x6f,0x77])}),_0x2f5a53[_0x1cb041([0x74,0x68,0x65,0x6e])](()=>{_0x54f760||_0xc42547(_0x1cb041([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4f8f24(){return _0x235f5d[_0x1cb041([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cb041([0x76,0x69,0x65,0x77])][_0x1cb041([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1cb041([0x61,0x75,0x74,0x6f]);}function _0x644d65(){_0x235f5d[_0x1cb041([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1cb041([0x76,0x69,0x65,0x77])][_0x1cb041([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1cb041([0x61,0x75,0x74,0x6f]);}}function _0x5886f0(_0x3d000){const _0x39ebbb=[new window[(_0x1cb041([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x768ddc=>setTimeout(_0x768ddc,0x728ea67b^_0x280d66)),_0x2f5a53[_0x1cb041([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1cb041([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15239e=>{let _0x10ac78=0x0;_0x235f5d[_0x1cb041([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cb041([0x6f,0x6e])](_0x1cb041([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3cc2bc,_0x41bf6a)=>{_0x41bf6a[0x0][_0x1cb041([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x10ac78++,_0x10ac78==(0x7287994f^_0x280d66)&&(_0x15239e(),_0x3cc2bc[_0x1cb041([0x6f,0x66,0x66])]());});}))];return window[_0x1cb041([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1cb041([0x72,0x61,0x63,0x65])](_0x39ebbb)[_0x1cb041([0x74,0x68,0x65,0x6e])](()=>_0x3d000);}async function _0x2d670a(){await _0x2f5a53,_0x235f5d[_0x1cb041([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cb041([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xdad34b,_0x235f5d[_0x1cb041([0x6d,0x6f,0x64,0x65,0x6c])][_0x1cb041([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xdad34b,_0x235f5d[_0x1cb041([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1cb041([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2cc404(_0x140110){const _0x216c13=_0x3d0f3f();_0x235f5d[_0x216c13]=_0x1cb041([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x140110,_0x140110!=_0x1cb041([0x56,0x61,0x6c,0x69,0x64])&&_0x2d670a();}function _0x3d0f3f(){const _0x37604d=window[_0x1cb041([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1cb041([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1cb041([0x6e,0x6f,0x77])]())[_0x1cb041([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1cb041([0x2e]),'');let _0x51e39e=_0x1cb041([0x48]);for(let _0x4c782b=0x0;_0x4c782b<_0x37604d[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c782b+=0x2){let _0x3a529d=window[_0x1cb041([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x37604d[_0x1cb041([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c782b,_0x4c782b+0x2));_0x3a529d>=_0x46d0a0[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a529d-=_0x46d0a0[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x51e39e+=_0x46d0a0[_0x3a529d];}return _0x51e39e;}function _0x27c941(){const _0x2194b0=_0x3ea09a[_0x1cb041([0x73,0x70,0x6c,0x69,0x74])](_0x1cb041([0x2e]));if(0x3!=_0x2194b0[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x387571(_0x2194b0[0x1]);function _0x387571(_0x5bc141){const _0xc52d00=_0x6eef5a(_0x5bc141);return _0xc52d00&&_0x9b5a8c()?_0xc52d00:null;function _0x9b5a8c(){const _0x25aa75=_0xc52d00[_0x1cb041([0x6a,0x74,0x69])],_0x29e2b5=window[_0x1cb041([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25aa75[_0x1cb041([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25aa75[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40c938={..._0xc52d00,[_0x1cb041([0x6a,0x74,0x69])]:_0x25aa75[_0x1cb041([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x25aa75[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40c938[_0x1cb041([0x76,0x63])],_0x2047ac(_0x40c938)==_0x29e2b5;}}}async function _0x5b36b8(){let _0x3ce6bb=!0x0;try{const _0x1da194=_0x3ea09a[_0x1cb041([0x73,0x70,0x6c,0x69,0x74])](_0x1cb041([0x2e])),[_0x432e58,_0x34b908,_0x38f85a]=_0x1da194;return _0x5444b0(_0x432e58),await _0x1d9ef5(_0x432e58,_0x34b908,_0x38f85a),_0x3ce6bb;}catch(_0x70d151){return!0x1;}function _0x5444b0(_0x341509){const _0x483b41=_0x6eef5a(_0x341509);_0x483b41&&_0x483b41[_0x1cb041([0x61,0x6c,0x67])]==_0x1cb041([0x45,0x53,0x32,0x35,0x36])||(_0x3ce6bb=!0x1);}async function _0x1d9ef5(_0x11fde6,_0x9f045d,_0x58253d){const _0x18ac81=window[_0x1cb041([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1cb041([0x66,0x72,0x6f,0x6d])](_0x3881af(_0x58253d),_0x4f996b=>_0x4f996b[_0x1cb041([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3011b8=new window[(_0x1cb041([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1cb041([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x11fde6+_0x1cb041([0x2e])+_0x9f045d),_0x355e13=window[_0x1cb041([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1cb041([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x355e13)return;const _0x2fcbed=await _0x355e13[_0x1cb041([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1cb041([0x6a,0x77,0x6b]),_0x5c2938,{[_0x1cb041([0x6e,0x61,0x6d,0x65])]:_0x1cb041([0x45,0x43,0x44,0x53,0x41]),[_0x1cb041([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1cb041([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1cb041([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x355e13[_0x1cb041([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1cb041([0x6e,0x61,0x6d,0x65])]:_0x1cb041([0x45,0x43,0x44,0x53,0x41]),[_0x1cb041([0x68,0x61,0x73,0x68])]:{[_0x1cb041([0x6e,0x61,0x6d,0x65])]:_0x1cb041([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2fcbed,_0x18ac81,_0x3011b8)||(_0x3ce6bb=!0x1);}}function _0x6eef5a(_0x21f382){return _0x21f382[_0x1cb041([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1cb041([0x65,0x79]))?JSON[_0x1cb041([0x70,0x61,0x72,0x73,0x65])](_0x3881af(_0x21f382)):null;}function _0x3881af(_0x570afe){return window[_0x1cb041([0x61,0x74,0x6f,0x62])](_0x570afe[_0x1cb041([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1cb041([0x2b]))[_0x1cb041([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1cb041([0x2f])));}function _0x2047ac(_0x5495e1){let _0x337a08=0x1505;function _0x9c577c(_0xbbbed6){for(let _0xb37dc5=0x0;_0xb37dc5<_0xbbbed6[_0x1cb041([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb37dc5++){const _0x3e057c=_0xbbbed6[_0x1cb041([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xb37dc5);_0x337a08=(_0x337a08<<0x5)+_0x337a08+_0x3e057c,_0x337a08&=_0x337a08;}}function _0x13de96(_0x134263){Array[_0x1cb041([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x134263)?_0x134263[_0x1cb041([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x13de96):_0x134263&&typeof _0x134263==_0x1cb041([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1cb041([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x134263)[_0x1cb041([0x73,0x6f,0x72,0x74])]()[_0x1cb041([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4103ff,_0x43567b])=>{_0x9c577c(_0x4103ff),_0x13de96(_0x43567b);}):_0x9c577c(window[_0x1cb041([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x134263));}return _0x13de96(_0x5495e1),_0x337a08>>>0x0;}function _0x586ee1(_0x48a449){return _0x48a449[_0x1cb041([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1cb041([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1cb041([0x30]));}function _0x4207aa(_0x227bd2){return _0x227bd2[_0x1cb041([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1cb041([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1cb041([0x6a,0x6f,0x69,0x6e])]('');}function _0xdad34b(){}function _0x1cb041(_0x51c114){const _0xcea48c=_0x563a;return _0x51c114[_0xcea48c(0x1f0)](_0x2f4a63=>String[_0xcea48c(0x1c6)](_0x2f4a63))[_0xcea48c(0x1c7)]('');}_0x2cc404(await _0x583543());}(this);}[_0x15ae9b(0x1cd)](){const _0xea7c9a=_0x15ae9b,_0x3347f1=this[_0xea7c9a(0x1f1)][_0xea7c9a(0x1d1)][_0xea7c9a(0x1c2)];_0x3347f1[_0xea7c9a(0x1f4)](_0xea7c9a(0x1f5))&&_0x3347f1[_0xea7c9a(0x1cb)](_0xea7c9a(0x1f5),{'allowAttributes':[_0xea7c9a(0x206)]}),_0x3347f1[_0xea7c9a(0x1f4)](_0xea7c9a(0x207))&&_0x3347f1[_0xea7c9a(0x1cb)](_0xea7c9a(0x207),{'allowAttributes':[_0xea7c9a(0x206)]});}[_0x15ae9b(0x1c8)](){const _0xf644aa=_0x15ae9b,_0x4b8928=this[_0xf644aa(0x1f1)];_0x4b8928[_0xf644aa(0x204)][_0xf644aa(0x1c0)](_0xf644aa(0x1f2))[_0xf644aa(0x20b)]({'model':_0xf644aa(0x206),'view':_0xf644aa(0x202)}),_0x4b8928[_0xf644aa(0x204)][_0xf644aa(0x1c0)](_0xf644aa(0x1e6))[_0xf644aa(0x203)]({'model':{'key':_0xf644aa(0x206),'value':_0x14ef2d=>_0x14ef2d[_0xf644aa(0x1fe)](_0xf644aa(0x202))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xeefb91=_0x4b8928[_0xf644aa(0x1e2)][_0xf644aa(0x1d4)](_0xf644aa(0x1e7));_0xeefb91&&this[_0xf644aa(0x1e1)](_0xeefb91,_0xf644aa(0x201),(_0x5a54bd,[_0x4a723a,_0x3061f0])=>{const _0x161bfe=_0xf644aa;_0x4a723a[_0x161bfe(0x1e9)](_0x161bfe(0x206),_0x3061f0);});}[_0x15ae9b(0x1e4)](){const _0x1f36b7=_0x15ae9b,_0x49793c=this[_0x1f36b7(0x1f1)][_0x1f36b7(0x1d5)][_0x1f36b7(0x1d4)](_0x1f36b7(0x1ed))||{},_0x279d75=this[_0x1f36b7(0x1f1)][_0x1f36b7(0x1d5)][_0x1f36b7(0x1d4)](_0x1f36b7(0x1c1))||'';this[_0x1f36b7(0x1be)]=_0x22f86c(_0xab8f92[_0x1f36b7(0x1ef)],_0x1f36b7(0x1b9),{..._0x49793c,'pubkey':_0x279d75,'ctx-name':_0x1f36b7(0x1bf),'sourceList':'','imgOnly':_0x1f36b7(0x1da),'removeCopyright':_0x1f36b7(0x1da),'localeName':this[_0x1f36b7(0x1f1)][_0x1f36b7(0x209)][_0x1f36b7(0x1df)],'externalSourcesEmbedCss':_0x1f36b7(0x1e8)}),this[_0x1f36b7(0x1be)][_0x1f36b7(0x1ff)]=_0x376c6a=>{const _0x31da53=_0x1f36b7;if(_0x31da53(0x1b8)==_0x376c6a)return _0x31da53(0x1c3);},_0xab8f92[_0x1f36b7(0x1ef)][_0x1f36b7(0x1db)][_0x1f36b7(0x1d6)](this[_0x1f36b7(0x1be)]);}[_0x15ae9b(0x1f3)](){const _0xbb634d=_0x15ae9b;this[_0xbb634d(0x1b6)]=_0x22f86c(_0xab8f92[_0xbb634d(0x1ef)],_0xbb634d(0x1ec),{'ctx-name':_0xbb634d(0x1bf)}),_0xab8f92[_0xbb634d(0x1ef)][_0xbb634d(0x1db)][_0xbb634d(0x1d6)](this[_0xbb634d(0x1b6)]);}[_0x15ae9b(0x1ee)](){const _0x5e6f73=_0x15ae9b,_0x4d8702=this[_0x5e6f73(0x1f1)][_0x5e6f73(0x1e2)][_0x5e6f73(0x1d4)](_0x5e6f73(0x1dc));_0x4d8702&&this[_0x5e6f73(0x1e1)](_0x4d8702,_0x5e6f73(0x1c9),()=>{const _0x4aaaf4=_0x5e6f73,_0x361d99=this[_0x4aaaf4(0x1f1)][_0x4aaaf4(0x1d1)][_0x4aaaf4(0x1ef)][_0x4aaaf4(0x1d7)][_0x4aaaf4(0x1b7)]();_0x361d99&&_0x361d99[_0x4aaaf4(0x1fe)](_0x4aaaf4(0x206))&&this[_0x4aaaf4(0x1f1)][_0x4aaaf4(0x208)][_0x4aaaf4(0x1d2)][_0x4aaaf4(0x1ca)](_0x4aaaf4(0x1fb),()=>{const _0x54e4d3=_0x4aaaf4;_0x56d6e6(this[_0x54e4d3(0x1f1)],_0x361d99);});});const _0x5b3790=this[_0x5e6f73(0x1f1)][_0x5e6f73(0x1e2)][_0x5e6f73(0x1d4)](_0x5e6f73(0x1f7));_0x5b3790&&this[_0x5e6f73(0x1e1)](_0x5b3790,_0x5e6f73(0x1c9),()=>{const _0xd614bb=_0x5e6f73,_0x5bde8f=this[_0xd614bb(0x1f1)][_0xd614bb(0x1d1)][_0xd614bb(0x1ef)][_0xd614bb(0x1d7)][_0xd614bb(0x1b7)]();_0x5bde8f&&_0x5bde8f[_0xd614bb(0x1fe)](_0xd614bb(0x206))&&this[_0xd614bb(0x1f1)][_0xd614bb(0x208)][_0xd614bb(0x1d2)][_0xd614bb(0x1ca)](_0xd614bb(0x1fb),()=>{const _0x34a8b0=_0xd614bb;_0x56d6e6(this[_0x34a8b0(0x1f1)],_0x5bde8f);});});}}
23
+ const _0x53053b=_0x1a11;(function(_0x48dd86,_0x30100d){const _0x1023aa=_0x1a11,_0x242561=_0x48dd86();while(!![]){try{const _0x2bb4b8=parseInt(_0x1023aa(0x12f))/0x1*(-parseInt(_0x1023aa(0x158))/0x2)+parseInt(_0x1023aa(0x16e))/0x3*(parseInt(_0x1023aa(0x157))/0x4)+-parseInt(_0x1023aa(0x14f))/0x5+-parseInt(_0x1023aa(0x12a))/0x6*(parseInt(_0x1023aa(0x134))/0x7)+parseInt(_0x1023aa(0x164))/0x8*(-parseInt(_0x1023aa(0x119))/0x9)+parseInt(_0x1023aa(0x159))/0xa*(parseInt(_0x1023aa(0x129))/0xb)+parseInt(_0x1023aa(0x168))/0xc;if(_0x2bb4b8===_0x30100d)break;else _0x242561['push'](_0x242561['shift']());}catch(_0x5edd5b){_0x242561['push'](_0x242561['shift']());}}}(_0x21c6,0x3c819));import{Plugin as _0x309980}from'ckeditor5/src/core.js';import{Dialog as _0x3ce3a3}from'ckeditor5/src/ui.js';import{createElement as _0x1f2205,global as _0x6f94b3,uid as _0x2d0466}from'ckeditor5/src/utils.js';import _0x56b08a from'./uploadcarecommand.js';function _0x1a11(_0xf06f31,_0x43a843){const _0x21c6ea=_0x21c6();return _0x1a11=function(_0x1a1128,_0x3565d8){_0x1a1128=_0x1a1128-0x119;let _0x5f3e10=_0x21c6ea[_0x1a1128];return _0x5f3e10;},_0x1a11(_0xf06f31,_0x43a843);}function _0x21c6(){const _0x41c48a=['querySelector','extend','insertImage','_configElement','#uc-icon-arrow-down','attributeToAttribute','configElement','join','uc-upload-ctx-provider','2703448RUKRuD','10326flWdMQ','document','pluginName','isRegistered','conversion','319297CEDUFH','_initCtx','getSelectedElement','commands','downcast','483kgZpmW','uc-config','closeMax','editing','data-uc-image-id','elementToAttribute','contentLanguage','isPremiumPlugin','locale','selection','destroy','for','_initConversion','uploadcare','isOfficialPlugin','upcast','PictureEditing','uploadcareImageReplace','model','iconHrefResolver','remove','add','_initSchema','fromCharCode','_ctxElement','input[uploadcare-file-input]','uploadcare.uploader','1304175vxvsXI','init','_initImageProcessingIndicator','UploadcareEditing','imageInline','replaceImageSource','editor','\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','43136OYwGNt','2cezWcq','10OXzIzc','body','view','afterInit','config','schema','get','true','once','appendChild','cleanupImage','2848RjwkoH','map','removeAttribute','ctxElement','10500696igUUxl','uploadcareImageId','uploadcare.pubkey','href','execute','render','30RchlbU','7128eqcbeK','imageBlock','getAttribute','listenTo','_initConfig','requires','uploader'];_0x21c6=function(){return _0x41c48a;};return _0x21c6();}import _0x156c96 from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2f9f4f}from'./utils/editingutils.js';export default class i extends _0x309980{constructor(){const _0x48f9a4=_0x1a11;super(...arguments),this[_0x48f9a4(0x123)]=null,this[_0x48f9a4(0x14c)]=null;}static get[_0x53053b(0x12c)](){const _0x363750=_0x53053b;return _0x363750(0x152);}static get[_0x53053b(0x11e)](){const _0x5bb3ff=_0x53053b;return[_0x5bb3ff(0x144),_0x156c96,_0x3ce3a3];}static get[_0x53053b(0x142)](){return!0x0;}static get[_0x53053b(0x13b)](){return!0x0;}get[_0x53053b(0x126)](){const _0x496c41=_0x53053b;return this[_0x496c41(0x123)];}get[_0x53053b(0x167)](){const _0x354f47=_0x53053b;return this[_0x354f47(0x14c)];}[_0x53053b(0x150)](){const _0x2454ff=_0x53053b,_0x389d3e=this[_0x2454ff(0x155)];_0x389d3e[_0x2454ff(0x132)][_0x2454ff(0x149)](_0x2454ff(0x141),new _0x56b08a(_0x389d3e));}[_0x53053b(0x15c)](){const _0x22e0e4=_0x53053b;this[_0x22e0e4(0x14a)](),this[_0x22e0e4(0x140)](),this[_0x22e0e4(0x11d)](),this[_0x22e0e4(0x130)](),this[_0x22e0e4(0x151)](),this[_0x22e0e4(0x11c)](this[_0x22e0e4(0x155)],_0x22e0e4(0x13e),()=>{const _0xa90d1=_0x22e0e4;this[_0xa90d1(0x123)]&&(this[_0xa90d1(0x123)][_0xa90d1(0x148)](),this[_0xa90d1(0x123)]=null),this[_0xa90d1(0x14c)]&&(this[_0xa90d1(0x14c)][_0xa90d1(0x148)](),this[_0xa90d1(0x14c)]=null);const _0xe242dd=_0x6f94b3[_0xa90d1(0x12b)][_0xa90d1(0x120)](_0xa90d1(0x14d));_0xe242dd&&_0xe242dd[_0xa90d1(0x148)]();}),async function(_0x5ea118){const _0x57d89c=_0x15f7be([0x31,0x62,0x33,0x45,0x41,0x4b,0x6f,0x5a,0x38,0x67,0x4e,0x69,0x6c,0x6a,0x4d,0x6b,0x36,0x52,0x46,0x66,0x6d,0x35,0x44,0x65,0x30,0x53,0x56,0x4a,0x61,0x43,0x32,0x4c,0x70,0x63,0x51,0x4f,0x58,0x54,0x75,0x48,0x77,0x64,0x6e,0x50,0x74,0x37,0x76,0x49,0x78,0x72,0x34,0x47,0x57,0x68,0x55,0x7a,0x42,0x71,0x39,0x79,0x73,0x59]),_0x4526da=0x5146f76c,_0x8de389=0x5141a944^_0x4526da,_0x33c492=window[_0x15f7be([0x44,0x61,0x74,0x65])][_0x15f7be([0x6e,0x6f,0x77])](),_0x1df33d=_0x5ea118[_0x15f7be([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x556c7d=new window[(_0x15f7be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9d0ea5=>{_0x1df33d[_0x15f7be([0x6f,0x6e,0x63,0x65])](_0x15f7be([0x72,0x65,0x61,0x64,0x79]),_0x9d0ea5);}),_0x3e30a3={[_0x15f7be([0x6b,0x74,0x79])]:_0x15f7be([0x45,0x43]),[_0x15f7be([0x75,0x73,0x65])]:_0x15f7be([0x73,0x69,0x67]),[_0x15f7be([0x63,0x72,0x76])]:_0x15f7be([0x50,0x2d,0x32,0x35,0x36]),[_0x15f7be([0x78])]:_0x15f7be([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]),[_0x15f7be([0x79])]:_0x15f7be([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]),[_0x15f7be([0x61,0x6c,0x67])]:_0x15f7be([0x45,0x53,0x32,0x35,0x36])},_0x4eb4ab=_0x1df33d[_0x15f7be([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x15f7be([0x67,0x65,0x74])](_0x15f7be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2460a4(){let _0xa7665f,_0x34427e=null,_0x16284a=null;try{if(_0x4eb4ab==_0x15f7be([0x47,0x50,0x4c]))return _0x15f7be([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xa7665f=_0x566292(),!_0xa7665f)return _0x15f7be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xa7665f[_0x15f7be([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x16284a=_0x29c326(_0xa7665f[_0x15f7be([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xa7665f[_0x15f7be([0x6a,0x74,0x69])])),await _0x3f1dd7()?_0x567cb7()?_0x1798a3()?_0x15f7be([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x567728()?(_0xa7665f[_0x15f7be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15f7be([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x34427e=_0x4b8df9(_0x15f7be([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xa7665f[_0x15f7be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x15f7be([0x74,0x72,0x69,0x61,0x6c])&&(_0x34427e=_0x4b8df9(_0x15f7be([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x54b4d0()):_0x15f7be([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x15f7be([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x15f7be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x36aa21){return _0x15f7be([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1798a3(){const _0x5b5dce=[_0x15f7be([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x15f7be([0x74,0x72,0x69,0x61,0x6c])][_0x15f7be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa7665f[_0x15f7be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x33c492/0x3e8:0xe10*_0x8de389;return _0xa7665f[_0x15f7be([0x65,0x78,0x70])]<_0x5b5dce;}function _0x567cb7(){const _0x4a253c=_0xa7665f[_0x15f7be([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4a253c&&(!!_0x4a253c[_0x15f7be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15f7be([0x2a]))||!!_0x4a253c[_0x15f7be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15f7be([0x55,0x50,0x4c,0x43])));}function _0x567728(){const _0x342e62=_0x1a11,_0x12c48e=_0xa7665f[_0x15f7be([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x12c48e||0x0==_0x12c48e[_0x15f7be([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x426dc1}=new URL(window[_0x15f7be([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x342e62(0x16b)]);if(_0x12c48e[_0x15f7be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x426dc1))return!0x0;const _0x1ade97=_0x426dc1[_0x15f7be([0x73,0x70,0x6c,0x69,0x74])](_0x15f7be([0x2e]));return _0x12c48e[_0x15f7be([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51edfb=>_0x51edfb[_0x15f7be([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15f7be([0x2a])))[_0x15f7be([0x6d,0x61,0x70])](_0x431aba=>_0x431aba[_0x15f7be([0x73,0x70,0x6c,0x69,0x74])](_0x15f7be([0x2e])))[_0x15f7be([0x73,0x6f,0x6d,0x65])](_0xf07980=>_0x1ade97[_0x15f7be([0x65,0x76,0x65,0x72,0x79])]((_0xec2b54,_0x1d5b36)=>_0xf07980[_0x1d5b36]===_0xec2b54||_0xf07980[_0x1d5b36]===_0x15f7be([0x2a])));}function _0x54b4d0(){return _0x34427e&&_0x16284a?new window[(_0x15f7be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e3998,_0x59db8b)=>{_0x34427e[_0x15f7be([0x74,0x68,0x65,0x6e])](_0x3e3998,_0x59db8b),_0x16284a[_0x15f7be([0x74,0x68,0x65,0x6e])](_0x94f0c4=>{_0x94f0c4!=_0x15f7be([0x56,0x61,0x6c,0x69,0x64])&&_0x3e3998(_0x94f0c4);},_0x59db8b);}):_0x34427e||_0x16284a||_0x15f7be([0x56,0x61,0x6c,0x69,0x64]);}}function _0x29c326(_0x125053,_0x399fd9){return new window[(_0x15f7be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d9509=>{if(_0x546717())return _0x5d9509(_0x15f7be([0x56,0x61,0x6c,0x69,0x64]));_0x1f55b3(),_0x1df33d[_0x15f7be([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x15f7be([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x40456d=!0x1;const _0xd5d8f2=_0x2d0466();function _0x19e63e(_0x1a6e4a){return!!_0x1a6e4a&&(typeof _0x1a6e4a===_0x15f7be([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1a6e4a===_0x15f7be([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1a6e4a[_0x15f7be([0x74,0x68,0x65,0x6e])]===_0x15f7be([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1a6e4a[_0x15f7be([0x63,0x61,0x74,0x63,0x68])]===_0x15f7be([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fda1e(_0x4dbec8){_0x59c5fa(_0x4dbec8)[_0x15f7be([0x74,0x68,0x65,0x6e])](_0x2d3c7f=>{if(!_0x2d3c7f||_0x2d3c7f[_0x15f7be([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x15f7be([0x6f,0x6b]))return _0x15f7be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1956a8(_0x363c65(_0xd5d8f2+_0x399fd9))!=_0x2d3c7f[_0x15f7be([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x15f7be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x15f7be([0x56,0x61,0x6c,0x69,0x64]);})[_0x15f7be([0x74,0x68,0x65,0x6e])](_0x565921=>(_0x485e3c(),_0x565921),()=>{const _0x4b160d=_0x53b3ec();return null==_0x4b160d?(_0x485e3c(),_0x15f7be([0x56,0x61,0x6c,0x69,0x64])):_0x15f7be(_0x33c492-_0x4b160d>(0x754a736c^_0x4526da)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x15f7be([0x74,0x68,0x65,0x6e])](_0x5d9509)[_0x15f7be([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d9509(_0x15f7be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e32c7=0x517019ec^_0x4526da;function _0x485e3c(){const _0x43bcca=_0x15f7be([0x6c,0x6c,0x63,0x74,0x2d])+_0x1956a8(_0x363c65(_0x125053)),_0x4bac12=_0x56c668(_0x1956a8(window[_0x15f7be([0x4d,0x61,0x74,0x68])][_0x15f7be([0x63,0x65,0x69,0x6c])](_0x33c492/_0x3e32c7)));window[_0x15f7be([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15f7be([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x43bcca,_0x4bac12);}function _0x53b3ec(){const _0x3b4122=_0x15f7be([0x6c,0x6c,0x63,0x74,0x2d])+_0x1956a8(_0x363c65(_0x125053)),_0x66282c=window[_0x15f7be([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x15f7be([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3b4122);return _0x66282c?window[_0x15f7be([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56c668(_0x66282c),0x10)*_0x3e32c7:null;}function _0x59c5fa(_0x1b16dc){return new window[(_0x15f7be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x235398,_0x1c9a96)=>{_0x1b16dc[_0x15f7be([0x74,0x68,0x65,0x6e])](_0x235398,_0x1c9a96),window[_0x15f7be([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c9a96,0x514723ac^_0x4526da);});}}_0x1df33d[_0x15f7be([0x6f,0x6e])](_0x15f7be([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x192190,_0xc7059b)=>{if(_0xc7059b[0x0]!=_0x125053)return _0x5d9509(_0x15f7be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xc7059b[0x1]={..._0xc7059b[0x1],[_0x15f7be([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xd5d8f2};},{[_0x15f7be([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15f7be([0x68,0x69,0x67,0x68])}),_0x1df33d[_0x15f7be([0x6f,0x6e])](_0x15f7be([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38535f=>{_0x19e63e(_0x38535f[_0x15f7be([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x40456d=!0x0,_0x3fda1e(_0x38535f[_0x15f7be([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x15f7be([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x15f7be([0x6c,0x6f,0x77])}),_0x556c7d[_0x15f7be([0x74,0x68,0x65,0x6e])](()=>{_0x40456d||_0x5d9509(_0x15f7be([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x546717(){return _0x1df33d[_0x15f7be([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15f7be([0x76,0x69,0x65,0x77])][_0x15f7be([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x15f7be([0x61,0x75,0x74,0x6f]);}function _0x1f55b3(){_0x1df33d[_0x15f7be([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x15f7be([0x76,0x69,0x65,0x77])][_0x15f7be([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x15f7be([0x61,0x75,0x74,0x6f]);}}function _0x4b8df9(_0x359980){const _0x9b5b7=[new window[(_0x15f7be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x476339=>setTimeout(_0x476339,0x514fc9a0^_0x4526da)),_0x556c7d[_0x15f7be([0x74,0x68,0x65,0x6e])](()=>new window[(_0x15f7be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x427156=>{let _0xc45000=0x0;_0x1df33d[_0x15f7be([0x6d,0x6f,0x64,0x65,0x6c])][_0x15f7be([0x6f,0x6e])](_0x15f7be([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4bc23b,_0x2ef08c)=>{_0x2ef08c[0x0][_0x15f7be([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xc45000++,_0xc45000==(0x5146f694^_0x4526da)&&(_0x427156(),_0x4bc23b[_0x15f7be([0x6f,0x66,0x66])]());});}))];return window[_0x15f7be([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x15f7be([0x72,0x61,0x63,0x65])](_0x9b5b7)[_0x15f7be([0x74,0x68,0x65,0x6e])](()=>_0x359980);}async function _0x29c157(){await _0x556c7d,_0x1df33d[_0x15f7be([0x6d,0x6f,0x64,0x65,0x6c])][_0x15f7be([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x77b34,_0x1df33d[_0x15f7be([0x6d,0x6f,0x64,0x65,0x6c])][_0x15f7be([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x77b34,_0x1df33d[_0x15f7be([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x15f7be([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3e9871(_0x7bc817){const _0x187b62=_0x4cfb95();_0x1df33d[_0x187b62]=_0x15f7be([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x7bc817,_0x7bc817!=_0x15f7be([0x56,0x61,0x6c,0x69,0x64])&&_0x29c157();}function _0x4cfb95(){const _0x4f552d=window[_0x15f7be([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x15f7be([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x15f7be([0x6e,0x6f,0x77])]())[_0x15f7be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x15f7be([0x2e]),'');let _0x4998a0=_0x15f7be([0x62]);for(let _0x40b7e6=0x0;_0x40b7e6<_0x4f552d[_0x15f7be([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x40b7e6+=0x2){let _0x36835a=window[_0x15f7be([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f552d[_0x15f7be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x40b7e6,_0x40b7e6+0x2));_0x36835a>=_0x57d89c[_0x15f7be([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36835a-=_0x57d89c[_0x15f7be([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4998a0+=_0x57d89c[_0x36835a];}return _0x4998a0;}function _0x566292(){const _0x3f8f5a=_0x4eb4ab[_0x15f7be([0x73,0x70,0x6c,0x69,0x74])](_0x15f7be([0x2e]));if(0x3!=_0x3f8f5a[_0x15f7be([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x61a1f6(_0x3f8f5a[0x1]);function _0x61a1f6(_0x306f37){const _0x7d3da8=_0x40ce2(_0x306f37);return _0x7d3da8&&_0x592782()?_0x7d3da8:null;function _0x592782(){const _0x4efc1d=_0x7d3da8[_0x15f7be([0x6a,0x74,0x69])],_0x29f437=window[_0x15f7be([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4efc1d[_0x15f7be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4efc1d[_0x15f7be([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33a909={..._0x7d3da8,[_0x15f7be([0x6a,0x74,0x69])]:_0x4efc1d[_0x15f7be([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4efc1d[_0x15f7be([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33a909[_0x15f7be([0x76,0x63])],_0x363c65(_0x33a909)==_0x29f437;}}}async function _0x3f1dd7(){let _0x329249=!0x0;try{const _0x46e861=_0x4eb4ab[_0x15f7be([0x73,0x70,0x6c,0x69,0x74])](_0x15f7be([0x2e])),[_0x2aad64,_0x2d5778,_0x397f0e]=_0x46e861;return _0x355928(_0x2aad64),await _0x3569b5(_0x2aad64,_0x2d5778,_0x397f0e),_0x329249;}catch(_0x3c6594){return!0x1;}function _0x355928(_0x5703f6){const _0x4d760e=_0x40ce2(_0x5703f6);_0x4d760e&&_0x4d760e[_0x15f7be([0x61,0x6c,0x67])]==_0x15f7be([0x45,0x53,0x32,0x35,0x36])||(_0x329249=!0x1);}async function _0x3569b5(_0xd6086a,_0x596b3f,_0x15d231){const _0x143ac2=window[_0x15f7be([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x15f7be([0x66,0x72,0x6f,0x6d])](_0x2c350d(_0x15d231),_0x42c313=>_0x42c313[_0x15f7be([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x53e1c3=new window[(_0x15f7be([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x15f7be([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd6086a+_0x15f7be([0x2e])+_0x596b3f),_0x244a6b=window[_0x15f7be([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x15f7be([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x244a6b)return;const _0xbb6e54=await _0x244a6b[_0x15f7be([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x15f7be([0x6a,0x77,0x6b]),_0x3e30a3,{[_0x15f7be([0x6e,0x61,0x6d,0x65])]:_0x15f7be([0x45,0x43,0x44,0x53,0x41]),[_0x15f7be([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x15f7be([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x15f7be([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x244a6b[_0x15f7be([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x15f7be([0x6e,0x61,0x6d,0x65])]:_0x15f7be([0x45,0x43,0x44,0x53,0x41]),[_0x15f7be([0x68,0x61,0x73,0x68])]:{[_0x15f7be([0x6e,0x61,0x6d,0x65])]:_0x15f7be([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xbb6e54,_0x143ac2,_0x53e1c3)||(_0x329249=!0x1);}}function _0x40ce2(_0xb62b3d){return _0xb62b3d[_0x15f7be([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x15f7be([0x65,0x79]))?JSON[_0x15f7be([0x70,0x61,0x72,0x73,0x65])](_0x2c350d(_0xb62b3d)):null;}function _0x2c350d(_0x18eb12){return window[_0x15f7be([0x61,0x74,0x6f,0x62])](_0x18eb12[_0x15f7be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x15f7be([0x2b]))[_0x15f7be([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x15f7be([0x2f])));}function _0x363c65(_0x25b912){let _0x1ce9a9=0x1505;function _0x5eceaf(_0x394177){for(let _0xd5ce2f=0x0;_0xd5ce2f<_0x394177[_0x15f7be([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd5ce2f++){const _0x358e48=_0x394177[_0x15f7be([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd5ce2f);_0x1ce9a9=(_0x1ce9a9<<0x5)+_0x1ce9a9+_0x358e48,_0x1ce9a9&=_0x1ce9a9;}}function _0x3029af(_0x5aacc3){Array[_0x15f7be([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5aacc3)?_0x5aacc3[_0x15f7be([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3029af):_0x5aacc3&&typeof _0x5aacc3==_0x15f7be([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x15f7be([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5aacc3)[_0x15f7be([0x73,0x6f,0x72,0x74])]()[_0x15f7be([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4e6222,_0x3f9ee5])=>{_0x5eceaf(_0x4e6222),_0x3029af(_0x3f9ee5);}):_0x5eceaf(window[_0x15f7be([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5aacc3));}return _0x3029af(_0x25b912),_0x1ce9a9>>>0x0;}function _0x1956a8(_0x284cab){return _0x284cab[_0x15f7be([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x15f7be([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x15f7be([0x30]));}function _0x56c668(_0x9b826e){return _0x9b826e[_0x15f7be([0x73,0x70,0x6c,0x69,0x74])]('')[_0x15f7be([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x15f7be([0x6a,0x6f,0x69,0x6e])]('');}function _0x77b34(){}function _0x15f7be(_0x1d0aa4){const _0x270e26=_0x1a11;return _0x1d0aa4[_0x270e26(0x165)](_0x7b854=>String[_0x270e26(0x14b)](_0x7b854))[_0x270e26(0x127)]('');}_0x3e9871(await _0x2460a4());}(this);}[_0x53053b(0x14a)](){const _0x479c39=_0x53053b,_0x2736ca=this[_0x479c39(0x155)][_0x479c39(0x146)][_0x479c39(0x15e)];_0x2736ca[_0x479c39(0x12d)](_0x479c39(0x11a))&&_0x2736ca[_0x479c39(0x121)](_0x479c39(0x11a),{'allowAttributes':[_0x479c39(0x169)]}),_0x2736ca[_0x479c39(0x12d)](_0x479c39(0x153))&&_0x2736ca[_0x479c39(0x121)](_0x479c39(0x153),{'allowAttributes':[_0x479c39(0x169)]});}[_0x53053b(0x140)](){const _0x28655b=_0x53053b,_0x32f149=this[_0x28655b(0x155)];_0x32f149[_0x28655b(0x12e)][_0x28655b(0x13f)](_0x28655b(0x133))[_0x28655b(0x125)]({'model':_0x28655b(0x169),'view':_0x28655b(0x138)}),_0x32f149[_0x28655b(0x12e)][_0x28655b(0x13f)](_0x28655b(0x143))[_0x28655b(0x139)]({'model':{'key':_0x28655b(0x169),'value':_0xd9e50b=>_0xd9e50b[_0x28655b(0x11b)](_0x28655b(0x138))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x286a44=_0x32f149[_0x28655b(0x132)][_0x28655b(0x15f)](_0x28655b(0x154));_0x286a44&&this[_0x28655b(0x11c)](_0x286a44,_0x28655b(0x163),(_0x13470a,[_0x39fcfb,_0x522b93])=>{const _0x408adf=_0x28655b;_0x39fcfb[_0x408adf(0x166)](_0x408adf(0x169),_0x522b93);});}[_0x53053b(0x11d)](){const _0x34182c=_0x53053b,_0x177167=this[_0x34182c(0x155)][_0x34182c(0x15d)][_0x34182c(0x15f)](_0x34182c(0x14e))||{},_0x208652=this[_0x34182c(0x155)][_0x34182c(0x15d)][_0x34182c(0x15f)](_0x34182c(0x16a))||'';this[_0x34182c(0x123)]=_0x1f2205(_0x6f94b3[_0x34182c(0x12b)],_0x34182c(0x135),{..._0x177167,'pubkey':_0x208652,'ctx-name':_0x34182c(0x11f),'sourceList':'','imgOnly':_0x34182c(0x160),'removeCopyright':_0x34182c(0x160),'localeName':this[_0x34182c(0x155)][_0x34182c(0x13c)][_0x34182c(0x13a)],'externalSourcesEmbedCss':_0x34182c(0x156)}),this[_0x34182c(0x123)][_0x34182c(0x147)]=_0x180cc4=>{const _0x38bb70=_0x34182c;if(_0x38bb70(0x136)==_0x180cc4)return _0x38bb70(0x124);},_0x6f94b3[_0x34182c(0x12b)][_0x34182c(0x15a)][_0x34182c(0x162)](this[_0x34182c(0x123)]);}[_0x53053b(0x130)](){const _0x30c119=_0x53053b;this[_0x30c119(0x14c)]=_0x1f2205(_0x6f94b3[_0x30c119(0x12b)],_0x30c119(0x128),{'ctx-name':_0x30c119(0x11f)}),_0x6f94b3[_0x30c119(0x12b)][_0x30c119(0x15a)][_0x30c119(0x162)](this[_0x30c119(0x14c)]);}[_0x53053b(0x151)](){const _0x40b86f=_0x53053b,_0x8a53a4=this[_0x40b86f(0x155)][_0x40b86f(0x132)][_0x40b86f(0x15f)](_0x40b86f(0x122));_0x8a53a4&&this[_0x40b86f(0x11c)](_0x8a53a4,_0x40b86f(0x16c),()=>{const _0x5f0682=_0x40b86f,_0x3de217=this[_0x5f0682(0x155)][_0x5f0682(0x146)][_0x5f0682(0x12b)][_0x5f0682(0x13d)][_0x5f0682(0x131)]();_0x3de217&&_0x3de217[_0x5f0682(0x11b)](_0x5f0682(0x169))&&this[_0x5f0682(0x155)][_0x5f0682(0x137)][_0x5f0682(0x15b)][_0x5f0682(0x161)](_0x5f0682(0x16d),()=>{const _0xdb6472=_0x5f0682;_0x2f9f4f(this[_0xdb6472(0x155)],_0x3de217);});});const _0x627219=this[_0x40b86f(0x155)][_0x40b86f(0x132)][_0x40b86f(0x15f)](_0x40b86f(0x145));_0x627219&&this[_0x40b86f(0x11c)](_0x627219,_0x40b86f(0x16c),()=>{const _0x1300b2=_0x40b86f,_0x1f340f=this[_0x1300b2(0x155)][_0x1300b2(0x146)][_0x1300b2(0x12b)][_0x1300b2(0x13d)][_0x1300b2(0x131)]();_0x1f340f&&_0x1f340f[_0x1300b2(0x11b)](_0x1300b2(0x169))&&this[_0x1300b2(0x155)][_0x1300b2(0x137)][_0x1300b2(0x15b)][_0x1300b2(0x161)](_0x1300b2(0x16d),()=>{const _0x45ee0f=_0x1300b2;_0x2f9f4f(this[_0x45ee0f(0x155)],_0x1f340f);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x23aef9,ObservableMixin as _0x59c485}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x1de9ea}from'ckeditor5/src/ui.js';import _0x2528bd from'./uploadcareimageeditformview.js';import _0x5ce275 from'../../utils/uploadutils.js';import _0x29d9dc from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x1291c4,getImageDimension as _0x3948b5}from'../../utils/editingutils.js';import{isAncestor as _0x44d1c7}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x59c485(){constructor(_0x13b14f,_0x34bb7b,_0x5d103c){super(),this['_editor']=_0x13b14f,this['_dialog']=_0x34bb7b,this['_imageElement']=_0x5d103c,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 _0xa3ccdf=this['_imageElement'],_0x567325=_0xa3ccdf['getAttribute']('uploadcareImageId'),_0x422565=_0xa3ccdf['getAttribute']('src');if(_0x567325)await this['_loadImageInfo'](_0x567325,_0x422565);else{if(this['_imageCache']['has'](_0x422565)){const _0x2c86c5=this['_imageCache']['get'](_0x422565);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2c86c5['url'],this['imageDimension']=_0x2c86c5['dimension'],this['imageId']=_0x2c86c5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x17d4a9}=this['_editor'],t=_0x17d4a9['t'],_0xb84e8a=new _0x2528bd(_0x17d4a9,this['imageStatus'],this['_attributes']);_0xb84e8a['bind']('status')['to'](this,'imageStatus'),_0xb84e8a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0xb84e8a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0xb84e8a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0xb84e8a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x29d9dc,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0xb84e8a,'position':_0x1de9ea['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0xb84e8a['focus']();},'onHide':()=>{_0xb84e8a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x28e1a7=>!_0x44d1c7(_0x28e1a7,_0xb84e8a['element'])}});}['_loadImageInfo'](_0x37928e,_0x42d082){return _0x5ce275['getInfo'](_0x37928e,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4d27d2=>{const {width:_0x2e504e,height:_0x670a9b}=_0x4d27d2['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42d082,this['imageDimension']={'width':_0x2e504e,'height':_0x670a9b},this['imageId']=_0x37928e;})['catch'](_0x30b007=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x30b007['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x56ae61,_0x3553ea){return this['_getImageAsFile'](_0x56ae61)['then'](_0x2bc441=>_0x5ce275['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3553ea['signal'],'file':_0x2bc441,'onProgress':_0x4627ca=>{_0x4627ca&&_0x4627ca['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4627ca['value']));}}))['then'](_0x2e6fa5=>{const {width:_0x135521,height:_0x5a6f89}=_0x2e6fa5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2e6fa5['cdnUrl'],this['imageDimension']={'width':_0x135521,'height':_0x5a6f89},this['imageId']=_0x2e6fa5['uuid'],this['imageUploadProgress']=null;const _0xb028c8=_0x56ae61['getAttribute']('src');this['_imageCache']['set'](_0xb028c8,{'id':_0x2e6fa5['uuid'],'url':_0x2e6fa5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1cff81=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1cff81['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x45c76e,_0x5ccc38){_0x45c76e['on']('apply',(_0x87bebf,_0xe5c603)=>{this['_replaceImage'](_0x5ccc38,_0xe5c603['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x45c76e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x45c76e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2a0326,_0x242704,_0xfe89ef){const _0x4a84dd=this['_editor'],{width:_0xd7c7f8,height:_0x5aba94}=_0x3948b5(_0x242704,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x472847,imageSources:_0x25e92f}=_0x1291c4(_0x242704,_0xd7c7f8);_0x4a84dd['model']['change'](_0x354b2f=>{if('$graveyard'===_0x2a0326['root']['rootName']){_0x4a84dd['execute']('insertImage',{'imageType':_0x2a0326['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2a0326['getAttributes']()),'uploadcareImageId':_0xfe89ef,'src':_0x472847,'sources':_0x25e92f,'width':_0xd7c7f8,'height':_0x5aba94}});const _0x21e2cb=_0x2a0326['getChildren']();_0x2a0326=_0x4a84dd['model']['document']['selection']['getSelectedElement']();for(const _0xcb147f of _0x21e2cb)_0x354b2f['append'](_0x354b2f['cloneElement'](_0xcb147f),_0x2a0326);}else _0x354b2f['setSelection'](_0x2a0326,'on'),_0x4a84dd['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2a0326['getAttributes']()),'uploadcareImageId':_0xfe89ef,'src':_0x472847,'sources':_0x25e92f,'width':_0xd7c7f8,'height':_0x5aba94},_0x2a0326);_0x354b2f['setSelection'](_0x2a0326,'on');});}async['_getImageAsFile'](_0x214d08){const _0x3cec52=_0x23aef9['window'],_0xccffc=_0x23aef9['document']['location']['href'],_0x329dee=new _0x3cec52['URL'](_0x214d08['getAttribute']('src'),_0xccffc);if('data:'===_0x329dee['protocol']){const _0x226e1b=_0x329dee['href']['split'](','),_0x4c62f9=_0x226e1b[0x0]['match'](/:(.*?);/)[0x1],_0x3efeb1=_0x4c62f9['split']('/')[0x1],_0x1f6658=_0x3cec52['atob'](_0x226e1b[_0x226e1b['length']-0x1]);let _0x5cd7c1=_0x1f6658['length'];const _0x3dbbb9=new _0x3cec52['Uint8Array'](_0x5cd7c1);for(;_0x5cd7c1--;)_0x3dbbb9[_0x5cd7c1]=_0x1f6658['charCodeAt'](_0x5cd7c1);return new _0x3cec52['File']([_0x3dbbb9],'image.'+_0x3efeb1,{'type':_0x4c62f9});}const _0x5c4801=_0x329dee['href']['split']('/'),_0x58fca7=_0x5c4801[_0x5c4801['length']-0x1],_0x52d67f=_0x58fca7['split']('.')[0x1];return _0x3cec52['fetch'](_0x329dee['href'])['then'](_0x211038=>_0x211038['clone']()['blob']())['then'](_0x27cd8d=>new _0x3cec52['File']([_0x27cd8d],_0x58fca7,{'type':'image/'+_0x52d67f}));}}
23
+ import{global as _0x362f9c,ObservableMixin as _0x3f9b9f}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x2b258a}from'ckeditor5/src/ui.js';import _0x4aa3a6 from'./uploadcareimageeditformview.js';import _0x239fa8 from'../../utils/uploadutils.js';import _0x1de181 from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x13cf19,getImageDimension as _0x104f03}from'../../utils/editingutils.js';import{isAncestor as _0x130b91}from'../../utils/isancestor.js';export default class q extends/* #__PURE__ -- @preserve */
24
+ _0x3f9b9f(){constructor(_0x19150d,_0x463ac2,_0x4823a9){super(),this['_editor']=_0x19150d,this['_dialog']=_0x463ac2,this['_imageElement']=_0x4823a9,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 _0x10b9cc=this['_imageElement'],_0x3d9885=_0x10b9cc['getAttribute']('uploadcareImageId'),_0x305275=_0x10b9cc['getAttribute']('src');if(_0x3d9885)await this['_loadImageInfo'](_0x3d9885,_0x305275);else{if(this['_imageCache']['has'](_0x305275)){const _0x57cb36=this['_imageCache']['get'](_0x305275);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x57cb36['url'],this['imageDimension']=_0x57cb36['dimension'],this['imageId']=_0x57cb36['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xa18f7e}=this['_editor'],t=_0xa18f7e['t'],_0x4109dc=new _0x4aa3a6(_0xa18f7e,this['imageStatus'],this['_attributes']);_0x4109dc['bind']('status')['to'](this,'imageStatus'),_0x4109dc['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4109dc['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4109dc['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4109dc,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1de181,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4109dc,'position':_0x2b258a['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4109dc['focus']();},'onHide':()=>{_0x4109dc['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3f6223=>!_0x130b91(_0x3f6223,_0x4109dc['element'])}});}['_loadImageInfo'](_0x58a518,_0x530ee2){return _0x239fa8['getInfo'](_0x58a518,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x51c9fc=>{const {width:_0x3a10bb,height:_0x133ddf}=_0x51c9fc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x530ee2,this['imageDimension']={'width':_0x3a10bb,'height':_0x133ddf},this['imageId']=_0x58a518;})['catch'](_0x59854a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x59854a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4efade,_0x3953af){return this['_getImageAsFile'](_0x4efade)['then'](_0x22b5ce=>_0x239fa8['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x3953af['signal'],'file':_0x22b5ce,'onProgress':_0x50ec16=>{_0x50ec16&&_0x50ec16['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x50ec16['value']));}}))['then'](_0x19cc38=>{const {width:_0x310f13,height:_0x357fb6}=_0x19cc38['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x19cc38['cdnUrl'],this['imageDimension']={'width':_0x310f13,'height':_0x357fb6},this['imageId']=_0x19cc38['uuid'],this['imageUploadProgress']=null;const _0x457c2f=_0x4efade['getAttribute']('src');this['_imageCache']['set'](_0x457c2f,{'id':_0x19cc38['uuid'],'url':_0x19cc38['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x451358=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x451358['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x1125da,_0x98f344){_0x1125da['on']('apply',(_0x21377f,_0x414ddd)=>{this['_replaceImage'](_0x98f344,_0x414ddd['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x1125da['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x1125da['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5b0df1,_0x4b373a,_0x26b4f4){const _0x513dca=this['_editor'],{width:_0x1c9d5a,height:_0x52be3d}=_0x104f03(_0x4b373a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x946b35,imageSources:_0x22477f}=_0x13cf19(_0x4b373a,_0x1c9d5a);_0x513dca['model']['change'](_0x1ad503=>{if('$graveyard'===_0x5b0df1['root']['rootName']){_0x513dca['execute']('insertImage',{'imageType':_0x5b0df1['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5b0df1['getAttributes']()),'uploadcareImageId':_0x26b4f4,'src':_0x946b35,'sources':_0x22477f,'width':_0x1c9d5a,'height':_0x52be3d}});const _0x57b59f=_0x5b0df1['getChildren']();_0x5b0df1=_0x513dca['model']['document']['selection']['getSelectedElement']();for(const _0x3dc9ae of _0x57b59f)_0x1ad503['append'](_0x1ad503['cloneElement'](_0x3dc9ae),_0x5b0df1);}else _0x1ad503['setSelection'](_0x5b0df1,'on'),_0x513dca['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5b0df1['getAttributes']()),'uploadcareImageId':_0x26b4f4,'src':_0x946b35,'sources':_0x22477f,'width':_0x1c9d5a,'height':_0x52be3d},_0x5b0df1);_0x1ad503['setSelection'](_0x5b0df1,'on');});}async['_getImageAsFile'](_0x2e718a){const _0xd61f57=_0x362f9c['window'],_0x3f57bd=_0x362f9c['document']['location']['href'],_0x4f3a94=new _0xd61f57['URL'](_0x2e718a['getAttribute']('src'),_0x3f57bd);if('data:'===_0x4f3a94['protocol']){const _0x2575f6=_0x4f3a94['href']['split'](','),_0x40baa6=_0x2575f6[0x0]['match'](/:(.*?);/)[0x1],_0x3ab0ca=_0x40baa6['split']('/')[0x1],_0x230e2f=_0xd61f57['atob'](_0x2575f6[_0x2575f6['length']-0x1]);let _0x1b9b45=_0x230e2f['length'];const _0x5cdb65=new _0xd61f57['Uint8Array'](_0x1b9b45);for(;_0x1b9b45--;)_0x5cdb65[_0x1b9b45]=_0x230e2f['charCodeAt'](_0x1b9b45);return new _0xd61f57['File']([_0x5cdb65],'image.'+_0x3ab0ca,{'type':_0x40baa6});}const _0x57266e=_0x4f3a94['href']['split']('/'),_0x7c9965=_0x57266e[_0x57266e['length']-0x1],_0x6b508e=_0x7c9965['split']('.')[0x1];return _0xd61f57['fetch'](_0x4f3a94['href'])['then'](_0x3fb118=>_0x3fb118['clone']()['blob']())['then'](_0x438e5a=>new _0xd61f57['File']([_0x438e5a],_0x7c9965,{'type':'image/'+_0x6b508e}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xe2e83,_0x5ea099){const _0x502eff=_0x5aab,_0xa67742=_0xe2e83();while(!![]){try{const _0x19fe86=parseInt(_0x502eff(0xe4))/0x1*(-parseInt(_0x502eff(0xe3))/0x2)+-parseInt(_0x502eff(0xe2))/0x3*(parseInt(_0x502eff(0xe6))/0x4)+parseInt(_0x502eff(0xe5))/0x5*(parseInt(_0x502eff(0xe1))/0x6)+parseInt(_0x502eff(0xd7))/0x7+-parseInt(_0x502eff(0xda))/0x8+parseInt(_0x502eff(0xdd))/0x9+-parseInt(_0x502eff(0xe7))/0xa*(-parseInt(_0x502eff(0xe8))/0xb);if(_0x19fe86===_0x5ea099)break;else _0xa67742['push'](_0xa67742['shift']());}catch(_0x418c9a){_0xa67742['push'](_0xa67742['shift']());}}}(_0x316f,0x36429));function _0x316f(){const _0x1d45bb=['398000FxFZUQ','uc-light','ck-uploadcare-theme','3394809ESPeiC','image-edit','imageSrc','setTemplate','1804230vBwwjT','1224234kIOpym','43622IfYZun','7vNFaZB','5bETKOt','4ALVlCH','154540pJjhUZ','22HvghXY','uc-cloud-image-editor','867580RNUbFN','bindTemplate','set'];_0x316f=function(){return _0x1d45bb;};return _0x316f();}function _0x5aab(_0x4bae3c,_0x1a4a97){const _0x316fb6=_0x316f();return _0x5aab=function(_0x5aaba0,_0x190841){_0x5aaba0=_0x5aaba0-0xd6;let _0x57e25c=_0x316fb6[_0x5aaba0];return _0x57e25c;},_0x5aab(_0x4bae3c,_0x1a4a97);}import{View as _0x4b1559}from'ckeditor5/src/ui.js';export default class tt extends _0x4b1559{constructor(_0x10757b,_0x5634ce){const _0x3812b9=_0x5aab;super(_0x10757b);const _0x1457a6=this[_0x3812b9(0xd8)];this[_0x3812b9(0xd9)](_0x3812b9(0xdf),''),this[_0x3812b9(0xe0)]({'tag':_0x3812b9(0xd6),'attributes':{..._0x5634ce,'class':[_0x3812b9(0xdb),_0x3812b9(0xdc)],'ctx-name':_0x3812b9(0xde),'cdn-url':_0x1457a6['to'](_0x3812b9(0xdf))}});}}
23
+ (function(_0x2d11da,_0x52b732){const _0x71f5e5=_0x310a,_0x3b869c=_0x2d11da();while(!![]){try{const _0xcd8c51=-parseInt(_0x71f5e5(0xd5))/0x1+-parseInt(_0x71f5e5(0xc8))/0x2*(-parseInt(_0x71f5e5(0xca))/0x3)+-parseInt(_0x71f5e5(0xd2))/0x4*(parseInt(_0x71f5e5(0xd4))/0x5)+-parseInt(_0x71f5e5(0xd1))/0x6+parseInt(_0x71f5e5(0xcd))/0x7+-parseInt(_0x71f5e5(0xd3))/0x8+parseInt(_0x71f5e5(0xd0))/0x9*(parseInt(_0x71f5e5(0xce))/0xa);if(_0xcd8c51===_0x52b732)break;else _0x3b869c['push'](_0x3b869c['shift']());}catch(_0x5d2e40){_0x3b869c['push'](_0x3b869c['shift']());}}}(_0x5545,0x29222));function _0x310a(_0x4333d0,_0x1111a2){const _0x5545d1=_0x5545();return _0x310a=function(_0x310a0d,_0x45c152){_0x310a0d=_0x310a0d-0xc8;let _0x3c8110=_0x5545d1[_0x310a0d];return _0x3c8110;},_0x310a(_0x4333d0,_0x1111a2);}import{View as _0x49536e}from'ckeditor5/src/ui.js';export default class tt extends _0x49536e{constructor(_0x3a9cc2,_0x54aa10){const _0x1def5e=_0x310a;super(_0x3a9cc2);const _0x509fd0=this[_0x1def5e(0xd8)];this[_0x1def5e(0xd6)](_0x1def5e(0xcb),''),this[_0x1def5e(0xd9)]({'tag':_0x1def5e(0xcf),'attributes':{..._0x54aa10,'class':[_0x1def5e(0xd7),_0x1def5e(0xcc)],'ctx-name':_0x1def5e(0xc9),'cdn-url':_0x509fd0['to'](_0x1def5e(0xcb))}});}}function _0x5545(){const _0x42dac8=['1978044ocQBiD','651608aZmSbf','184880BRKznd','5yQOXjx','189490xymKtn','set','uc-light','bindTemplate','setTemplate','2RAWWrX','image-edit','1004193rWYAaO','imageSrc','ck-uploadcare-theme','1569064nKGjGE','30RudLwX','uc-cloud-image-editor','944325TGZitz'];_0x5545=function(){return _0x42dac8;};return _0x5545();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0xfbe539,IconView as et,View as _0x542022}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x542022{constructor(_0x41c87d){super(_0x41c87d);const t=_0x41c87d['t'];this['set']('errorType',null);const _0x297ff4=new _0xfbe539(_0x41c87d);_0x297ff4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x297ff4['withText']=!0x0,_0x297ff4['class']='ck-button-action',_0x297ff4['on']('execute',()=>{this['fire']('retry');}),_0x297ff4['bind']('isVisible')['to'](this,'errorType',_0x15d4f5=>'NotFound'!==_0x15d4f5);const _0x2898e6=new et();_0x2898e6['content']=at,_0x2898e6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x55b39c=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':[_0x2898e6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x55b39c['to']('errorType',_0x3c02e6=>t('NotFound'!==_0x3c02e6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x297ff4]},{'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 _0x39b43f,IconView as et,View as _0x2812bd}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x2812bd{constructor(_0x1800ca){super(_0x1800ca);const t=_0x1800ca['t'];this['set']('errorType',null);const _0x2c6acf=new _0x39b43f(_0x1800ca);_0x2c6acf['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2c6acf['withText']=!0x0,_0x2c6acf['class']='ck-button-action',_0x2c6acf['on']('execute',()=>{this['fire']('retry');}),_0x2c6acf['bind']('isVisible')['to'](this,'errorType',_0x12dc76=>'NotFound'!==_0x12dc76);const _0xe995b3=new et();_0xe995b3['content']=at,_0xe995b3['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x3b486e=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':[_0xe995b3,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x3b486e['to']('errorType',_0x4c8b3=>t('NotFound'!==_0x4c8b3?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2c6acf]},{'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 _0x345c08,View as _0x4e7d63}from'ckeditor5/src/ui.js';export default class ta extends _0x4e7d63{constructor(_0x5d01b8){super(_0x5d01b8);const t=_0x5d01b8['t'],_0x1ac49b=this['bindTemplate'],_0x551804=new _0x345c08();_0x551804['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':[_0x551804,{'text':_0x1ac49b['to']('imageUploadProgress',_0x3e0a3d=>t('Loading\x20image...')+'\x20('+(_0x3e0a3d||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 _0xbad45a,View as _0x4cc645}from'ckeditor5/src/ui.js';export default class ta extends _0x4cc645{constructor(_0x558d48){super(_0x558d48);const t=_0x558d48['t'],_0x1e9521=this['bindTemplate'],_0x11fd94=new _0xbad45a();_0x11fd94['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':[_0x11fd94,{'text':_0x1e9521['to']('imageUploadProgress',_0x3c80c9=>t('Loading\x20image...')+'\x20('+(_0x3c80c9||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 _0x145df0=_0x1ac5;(function(_0x3fe7da,_0x34c5e4){const _0x52e2a3=_0x1ac5,_0x1f07c3=_0x3fe7da();while(!![]){try{const _0x3905f1=parseInt(_0x52e2a3(0xd6))/0x1+-parseInt(_0x52e2a3(0xd2))/0x2*(-parseInt(_0x52e2a3(0xfe))/0x3)+parseInt(_0x52e2a3(0xfb))/0x4+-parseInt(_0x52e2a3(0xfd))/0x5*(-parseInt(_0x52e2a3(0x101))/0x6)+-parseInt(_0x52e2a3(0xe1))/0x7+-parseInt(_0x52e2a3(0xe2))/0x8*(-parseInt(_0x52e2a3(0xe3))/0x9)+-parseInt(_0x52e2a3(0xe9))/0xa;if(_0x3905f1===_0x34c5e4)break;else _0x1f07c3['push'](_0x1f07c3['shift']());}catch(_0x11312a){_0x1f07c3['push'](_0x1f07c3['shift']());}}}(_0x4eba,0x8f3be));import{View as _0x16f02c}from'ckeditor5/src/ui.js';import _0x4e1d56 from'./uploadcareimageeditformloadingview.js';import _0x5e5654 from'./uploadcareimageeditformerrorview.js';import _0x3b5a76 from'./uploadcareimageeditformeditingview.js';import _0x5a6079 from'../../utils/dialogfocusmanagerview.js';function _0x4eba(){const _0x3b4e4a=['518568SeluUg','27oHCzWD','_items','ck-reset_all-excluded','getFocusableElement','setTemplate','_loadingView','15129070dETmDe','error','ready','addMany','once','focus','cancel','querySelector','clear','_focusableView','target','_addErrorViewListeners','apply','cdnUrl','_setView','status','fire','ck-uploadcare-form','2924196tgyxFy','observe','1845pwEZLp','3TZhjfW','div','disconnect','4404cBqXQY','_errorView','add','uc-cloud-image-editor','filter','render','addEventListener','toLowerCase','994852LnlfSh','createCollection','element','addedNodes','707450iHuAfb','change:status','length','set','nodeName','detail','_editingView','uploading','retry','_waitForImageEditorComponent','_addUploadcareImageEditorListeners','2111487qFsmRs'];_0x4eba=function(){return _0x3b4e4a;};return _0x4eba();}function _0x1ac5(_0x348f48,_0x443684){const _0x4eba52=_0x4eba();return _0x1ac5=function(_0x1ac5a1,_0x55fb46){_0x1ac5a1=_0x1ac5a1-0xd2;let _0x68210b=_0x4eba52[_0x1ac5a1];return _0x68210b;},_0x1ac5(_0x348f48,_0x443684);}import'../../../theme/uploadcare-form.css';export default class Z extends _0x5a6079{constructor(_0xb5e80c,_0x2e015f,_0x5612b4){const _0x52b6fb=_0x1ac5;super(_0xb5e80c),this[_0x52b6fb(0xe4)]=this[_0x52b6fb(0xd3)](),this[_0x52b6fb(0xe8)]=new _0x4e1d56(_0xb5e80c),this[_0x52b6fb(0x102)]=new _0x5e5654(_0xb5e80c),this[_0x52b6fb(0xdc)]=new _0x3b5a76(_0xb5e80c,_0x5612b4),this[_0x52b6fb(0xf2)]=new _0x16f02c(_0xb5e80c),this[_0x52b6fb(0xf2)][_0x52b6fb(0xe7)](this[_0x52b6fb(0xe6)]()),this[_0x52b6fb(0xd9)](_0x52b6fb(0xf8),_0x2e015f),this[_0x52b6fb(0xe7)]({'tag':_0x52b6fb(0xff),'attributes':{'class':['ck',_0x52b6fb(0xe5),_0x52b6fb(0xfa)],'tabindex':'-1'},'children':this[_0x52b6fb(0xe4)]}),this[_0x52b6fb(0xf7)](),this[_0x52b6fb(0xed)](_0x52b6fb(0x106),()=>{const _0x5380c5=_0x52b6fb;this[_0x5380c5(0xdf)](this[_0x5380c5(0xd4)],_0x3d2f07=>{const _0x78db33=_0x5380c5;this[_0x78db33(0xe0)](_0x3d2f07);});}),this['on'](_0x52b6fb(0xd7),()=>{const _0x15a1d8=_0x52b6fb;this[_0x15a1d8(0xf7)]();}),this[_0x52b6fb(0xf4)]();}[_0x145df0(0xee)](){const _0xa8a78f=_0x145df0;this[_0xa8a78f(0xd4)][_0xa8a78f(0xee)]();}[_0x145df0(0xf7)](){const _0x1576f0=_0x145df0;switch(this[_0x1576f0(0xe4)][_0x1576f0(0xf1)](),this[_0x1576f0(0xf8)]){case _0x1576f0(0xdd):this[_0x1576f0(0xe4)][_0x1576f0(0x103)](this[_0x1576f0(0xe8)]);break;case _0x1576f0(0xea):this[_0x1576f0(0xe4)][_0x1576f0(0x103)](this[_0x1576f0(0x102)]);break;case _0x1576f0(0xeb):this[_0x1576f0(0xe4)][_0x1576f0(0xec)]([this[_0x1576f0(0xdc)],this[_0x1576f0(0xf2)]]);}}[_0x145df0(0xdf)](_0x4ca6c5,_0x1d46b4){const _0x196236=_0x145df0,_0x2783cf=_0x196236(0x104),_0x29929=_0x4ca6c5[_0x196236(0xf0)](_0x2783cf);if(_0x29929)return _0x1d46b4(_0x29929);const _0x20faee=new MutationObserver(_0x44a7e3=>{const _0x98f610=_0x196236,_0x4140ac=_0x44a7e3[_0x98f610(0x105)](_0x8c190d=>_0x8c190d[_0x98f610(0xf3)]===_0x4ca6c5&&_0x8c190d[_0x98f610(0xd5)][_0x98f610(0xd8)]>0x0&&_0x8c190d[_0x98f610(0xd5)][0x0][_0x98f610(0xda)][_0x98f610(0x108)]()===_0x2783cf);_0x4140ac[_0x98f610(0xd8)]&&(_0x20faee[_0x98f610(0x100)](),_0x1d46b4(_0x4140ac[0x0][_0x98f610(0xd5)][0x0]));});_0x20faee[_0x196236(0xfc)](_0x4ca6c5,{'childList':!0x0,'subtree':!0x0});}[_0x145df0(0xe0)](_0x34d2b2){const _0x6cbc07=_0x145df0;_0x34d2b2[_0x6cbc07(0x107)](_0x6cbc07(0xf5),_0x169521=>{const _0x577f48=_0x6cbc07;this[_0x577f48(0xf9)](_0x577f48(0xf5),{'imageSrc':_0x169521[_0x577f48(0xdb)][_0x577f48(0xf6)]});}),_0x34d2b2[_0x6cbc07(0x107)](_0x6cbc07(0xef),()=>{const _0x590650=_0x6cbc07;this[_0x590650(0xf9)](_0x590650(0xef));});}[_0x145df0(0xf4)](){const _0x33244a=_0x145df0;this[_0x33244a(0x102)]['on'](_0x33244a(0xde),()=>{const _0x19638c=_0x33244a;this[_0x19638c(0xf9)](_0x19638c(0xde));});}}
23
+ const _0x3986ea=_0x2ad9;(function(_0x323acb,_0x547897){const _0x24cac9=_0x2ad9,_0x5ea667=_0x323acb();while(!![]){try{const _0x5364a3=parseInt(_0x24cac9(0xbe))/0x1+parseInt(_0x24cac9(0xdc))/0x2+parseInt(_0x24cac9(0xe7))/0x3+parseInt(_0x24cac9(0xdd))/0x4*(parseInt(_0x24cac9(0xd7))/0x5)+-parseInt(_0x24cac9(0xe6))/0x6+-parseInt(_0x24cac9(0xd9))/0x7*(parseInt(_0x24cac9(0xc0))/0x8)+parseInt(_0x24cac9(0xe4))/0x9*(-parseInt(_0x24cac9(0xc5))/0xa);if(_0x5364a3===_0x547897)break;else _0x5ea667['push'](_0x5ea667['shift']());}catch(_0x1ba039){_0x5ea667['push'](_0x5ea667['shift']());}}}(_0x2896,0xcd168));import{View as _0x49ea50}from'ckeditor5/src/ui.js';function _0x2ad9(_0x3ace07,_0x1f3ab6){const _0x2896be=_0x2896();return _0x2ad9=function(_0x2ad968,_0x325cfb){_0x2ad968=_0x2ad968-0xb5;let _0x184bb4=_0x2896be[_0x2ad968];return _0x184bb4;},_0x2ad9(_0x3ace07,_0x1f3ab6);}import _0x4f4a4a from'./uploadcareimageeditformloadingview.js';function _0x2896(){const _0x2b4fcc=['_addUploadcareImageEditorListeners','uploading','661533IkQfaN','cdnUrl','1504tjvVfI','_errorView','_focusableView','once','length','564740DiAiHf','ck-uploadcare-form','change:status','uc-cloud-image-editor','ready','element','focus','clear','getFocusableElement','add','addEventListener','_editingView','detail','addMany','_loadingView','error','querySelector','nodeName','5TFLgpa','status','6433mqdJnX','createCollection','ck-reset_all-excluded','3342218BuuzeH','2733956RKqqhg','filter','_waitForImageEditorComponent','target','_items','retry','render','423YZzeJc','fire','5150106CvoFYe','4527930Xmmyat','toLowerCase','cancel','div','_addErrorViewListeners','setTemplate','set','disconnect','apply','_setView','observe','addedNodes'];_0x2896=function(){return _0x2b4fcc;};return _0x2896();}import _0x55b36d from'./uploadcareimageeditformerrorview.js';import _0x46e6d6 from'./uploadcareimageeditformeditingview.js';import _0x3e8d30 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class ii extends _0x3e8d30{constructor(_0x1634d3,_0x36f7be,_0x5d5814){const _0x1a9979=_0x2ad9;super(_0x1634d3),this[_0x1a9979(0xe1)]=this[_0x1a9979(0xda)](),this[_0x1a9979(0xd3)]=new _0x4f4a4a(_0x1634d3),this[_0x1a9979(0xc1)]=new _0x55b36d(_0x1634d3),this[_0x1a9979(0xd0)]=new _0x46e6d6(_0x1634d3,_0x5d5814),this[_0x1a9979(0xc2)]=new _0x49ea50(_0x1634d3),this[_0x1a9979(0xc2)][_0x1a9979(0xb5)](this[_0x1a9979(0xcd)]()),this[_0x1a9979(0xb6)](_0x1a9979(0xd8),_0x36f7be),this[_0x1a9979(0xb5)]({'tag':_0x1a9979(0xea),'attributes':{'class':['ck',_0x1a9979(0xdb),_0x1a9979(0xc6)],'tabindex':'-1'},'children':this[_0x1a9979(0xe1)]}),this[_0x1a9979(0xb9)](),this[_0x1a9979(0xc3)](_0x1a9979(0xe3),()=>{const _0x74ba5f=_0x1a9979;this[_0x74ba5f(0xdf)](this[_0x74ba5f(0xca)],_0x649abb=>{const _0x2864a5=_0x74ba5f;this[_0x2864a5(0xbc)](_0x649abb);});}),this['on'](_0x1a9979(0xc7),()=>{const _0x111e6f=_0x1a9979;this[_0x111e6f(0xb9)]();}),this[_0x1a9979(0xeb)]();}[_0x3986ea(0xcb)](){const _0x30a0db=_0x3986ea;this[_0x30a0db(0xca)][_0x30a0db(0xcb)]();}[_0x3986ea(0xb9)](){const _0x2851d9=_0x3986ea;switch(this[_0x2851d9(0xe1)][_0x2851d9(0xcc)](),this[_0x2851d9(0xd8)]){case _0x2851d9(0xbd):this[_0x2851d9(0xe1)][_0x2851d9(0xce)](this[_0x2851d9(0xd3)]);break;case _0x2851d9(0xd4):this[_0x2851d9(0xe1)][_0x2851d9(0xce)](this[_0x2851d9(0xc1)]);break;case _0x2851d9(0xc9):this[_0x2851d9(0xe1)][_0x2851d9(0xd2)]([this[_0x2851d9(0xd0)],this[_0x2851d9(0xc2)]]);}}[_0x3986ea(0xdf)](_0x53906f,_0x17c321){const _0x3c3ed7=_0x3986ea,_0x5019eb=_0x3c3ed7(0xc8),_0x58aac9=_0x53906f[_0x3c3ed7(0xd5)](_0x5019eb);if(_0x58aac9)return _0x17c321(_0x58aac9);const _0x37b876=new MutationObserver(_0x37de04=>{const _0x484918=_0x3c3ed7,_0x33dda7=_0x37de04[_0x484918(0xde)](_0x5bcd2e=>_0x5bcd2e[_0x484918(0xe0)]===_0x53906f&&_0x5bcd2e[_0x484918(0xbb)][_0x484918(0xc4)]>0x0&&_0x5bcd2e[_0x484918(0xbb)][0x0][_0x484918(0xd6)][_0x484918(0xe8)]()===_0x5019eb);_0x33dda7[_0x484918(0xc4)]&&(_0x37b876[_0x484918(0xb7)](),_0x17c321(_0x33dda7[0x0][_0x484918(0xbb)][0x0]));});_0x37b876[_0x3c3ed7(0xba)](_0x53906f,{'childList':!0x0,'subtree':!0x0});}[_0x3986ea(0xbc)](_0x15925c){const _0x39eb4f=_0x3986ea;_0x15925c[_0x39eb4f(0xcf)](_0x39eb4f(0xb8),_0xa737d7=>{const _0x31f559=_0x39eb4f;this[_0x31f559(0xe5)](_0x31f559(0xb8),{'imageSrc':_0xa737d7[_0x31f559(0xd1)][_0x31f559(0xbf)]});}),_0x15925c[_0x39eb4f(0xcf)](_0x39eb4f(0xe9),()=>{const _0x4578c5=_0x39eb4f;this[_0x4578c5(0xe5)](_0x4578c5(0xe9));});}[_0x3986ea(0xeb)](){const _0x332ef0=_0x3986ea;this[_0x332ef0(0xc1)]['on'](_0x332ef0(0xe2),()=>{const _0x4f4418=_0x332ef0;this[_0x4f4418(0xe5)](_0x4f4418(0xe2));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x67dd5e=_0x4dfc;function _0x5c14(){const _0x49e5bc=['10yaHulD','set','plugins','editor','_isEditable','imageBlock','30771rquTVd','get','uploadcare.allowExternalImagesEditing','30pkteTE','isActive','1515VYiyDh','document','605134EyiUJS','1424RUzbJm','config','imageInline','requires','256879AiSMix','selection','222cGcXzN','unbind','5154rEmWGa','bind','element','getSelectedElement','4772977fnkXGD','execute','model','imageEditController','34344648ryaDbU','isEnabled','refresh','2161928XHHNbQ'];_0x5c14=function(){return _0x49e5bc;};return _0x5c14();}(function(_0x508ec0,_0x3018bc){const _0x3dbf76=_0x4dfc,_0x15a80d=_0x508ec0();while(!![]){try{const _0x342cbd=parseInt(_0x3dbf76(0x168))/0x1+parseInt(_0x3dbf76(0x171))/0x2*(-parseInt(_0x3dbf76(0x166))/0x3)+parseInt(_0x3dbf76(0x15a))/0x4*(parseInt(_0x3dbf76(0x15b))/0x5)+parseInt(_0x3dbf76(0x16f))/0x6*(parseInt(_0x3dbf76(0x16d))/0x7)+parseInt(_0x3dbf76(0x169))/0x8*(parseInt(_0x3dbf76(0x161))/0x9)+parseInt(_0x3dbf76(0x164))/0xa*(parseInt(_0x3dbf76(0x175))/0xb)+-parseInt(_0x3dbf76(0x157))/0xc;if(_0x342cbd===_0x3018bc)break;else _0x15a80d['push'](_0x15a80d['shift']());}catch(_0x324c32){_0x15a80d['push'](_0x15a80d['shift']());}}}(_0x5c14,0xc10df));function _0x4dfc(_0x52e3f6,_0x1ffbce){const _0x5c1484=_0x5c14();return _0x4dfc=function(_0x4dfcad,_0x20ec57){_0x4dfcad=_0x4dfcad-0x157;let _0x418c46=_0x5c1484[_0x4dfcad];return _0x418c46;},_0x4dfc(_0x52e3f6,_0x1ffbce);}import{Command as _0x3086f0}from'ckeditor5/src/core.js';import{Dialog as _0x3bb1e3}from'ckeditor5/src/ui.js';import _0x34c8b0 from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x4a4551}from'../utils/editingutils.js';export default class J extends _0x3086f0{static get[_0x67dd5e(0x16c)](){return[_0x3bb1e3];}constructor(_0x2217e8){const _0x5101d3=_0x67dd5e;super(_0x2217e8),this[_0x5101d3(0x178)]=void 0x0,this[_0x5101d3(0x15f)]=_0x4a4551(_0x2217e8[_0x5101d3(0x16a)][_0x5101d3(0x162)](_0x5101d3(0x163))||[]),this[_0x5101d3(0x15c)]({'isActive':!0x1});}[_0x67dd5e(0x159)](){const _0x286186=_0x67dd5e,_0x52c6b3=this[_0x286186(0x15e)][_0x286186(0x177)][_0x286186(0x167)][_0x286186(0x16e)][_0x286186(0x174)]();this[_0x286186(0x158)]=this[_0x286186(0x15f)](_0x52c6b3);}[_0x67dd5e(0x176)](){const _0xeb336b=_0x67dd5e;this[_0xeb336b(0x178)]&&(this[_0xeb336b(0x170)](_0xeb336b(0x165)),this[_0xeb336b(0x178)]=void 0x0);const _0x43a612=this[_0xeb336b(0x15e)][_0xeb336b(0x177)][_0xeb336b(0x167)][_0xeb336b(0x16e)][_0xeb336b(0x174)]();_0x43a612&&(_0x43a612['is'](_0xeb336b(0x173),_0xeb336b(0x160))||_0x43a612['is'](_0xeb336b(0x173),_0xeb336b(0x16b)))&&(this[_0xeb336b(0x178)]=new _0x34c8b0(this[_0xeb336b(0x15e)],this[_0xeb336b(0x15e)][_0xeb336b(0x15d)][_0xeb336b(0x162)](_0x3bb1e3),_0x43a612),this[_0xeb336b(0x172)](_0xeb336b(0x165))['to'](this[_0xeb336b(0x178)],_0xeb336b(0x165)));}}
23
+ const _0x6cd789=_0x193f;(function(_0x10e3b1,_0x559404){const _0x23bc76=_0x193f,_0x2de785=_0x10e3b1();while(!![]){try{const _0x5af125=parseInt(_0x23bc76(0x101))/0x1+-parseInt(_0x23bc76(0x116))/0x2+parseInt(_0x23bc76(0x111))/0x3*(-parseInt(_0x23bc76(0x109))/0x4)+-parseInt(_0x23bc76(0x10a))/0x5+parseInt(_0x23bc76(0x10b))/0x6+-parseInt(_0x23bc76(0x114))/0x7*(-parseInt(_0x23bc76(0x107))/0x8)+parseInt(_0x23bc76(0x118))/0x9;if(_0x5af125===_0x559404)break;else _0x2de785['push'](_0x2de785['shift']());}catch(_0x349ae1){_0x2de785['push'](_0x2de785['shift']());}}}(_0x614a,0xdb805));import{Command as _0x3a491a}from'ckeditor5/src/core.js';import{Dialog as _0x3d2087}from'ckeditor5/src/ui.js';function _0x193f(_0x1c0672,_0x4a4f05){const _0x614adc=_0x614a();return _0x193f=function(_0x193fd8,_0x2fee4d){_0x193fd8=_0x193fd8-0x101;let _0x2efa2d=_0x614adc[_0x193fd8];return _0x2efa2d;},_0x193f(_0x1c0672,_0x4a4f05);}import _0x1beba3 from'./ui/uploadcareimageeditcontroller.js';function _0x614a(){const _0x4c671b=['getSelectedElement','editor','plugins','1138241coUpeZ','refresh','isActive','model','uploadcare.allowExternalImagesEditing','set','8IONoiL','imageEditController','3359632KdIhJm','6424050NQkCYV','10654962ccYgbQ','requires','selection','document','unbind','imageInline','3KPtvEc','_isEditable','get','5027414BkCLem','bind','3018478XOvaum','execute','8106876TlruPF','imageBlock','config','element','isEnabled'];_0x614a=function(){return _0x4c671b;};return _0x614a();}import{createEditabilityChecker as _0x5caf76}from'../utils/editingutils.js';export default class D extends _0x3a491a{static get[_0x6cd789(0x10c)](){return[_0x3d2087];}constructor(_0x1ab480){const _0x2ea8c3=_0x6cd789;super(_0x1ab480),this[_0x2ea8c3(0x108)]=void 0x0,this[_0x2ea8c3(0x112)]=_0x5caf76(_0x1ab480[_0x2ea8c3(0x11a)][_0x2ea8c3(0x113)](_0x2ea8c3(0x105))||[]),this[_0x2ea8c3(0x106)]({'isActive':!0x1});}[_0x6cd789(0x102)](){const _0x1bfc0d=_0x6cd789,_0x1bc922=this[_0x1bfc0d(0x11e)][_0x1bfc0d(0x104)][_0x1bfc0d(0x10e)][_0x1bfc0d(0x10d)][_0x1bfc0d(0x11d)]();this[_0x1bfc0d(0x11c)]=this[_0x1bfc0d(0x112)](_0x1bc922);}[_0x6cd789(0x117)](){const _0x313841=_0x6cd789;this[_0x313841(0x108)]&&(this[_0x313841(0x10f)](_0x313841(0x103)),this[_0x313841(0x108)]=void 0x0);const _0x25b40c=this[_0x313841(0x11e)][_0x313841(0x104)][_0x313841(0x10e)][_0x313841(0x10d)][_0x313841(0x11d)]();_0x25b40c&&(_0x25b40c['is'](_0x313841(0x11b),_0x313841(0x119))||_0x25b40c['is'](_0x313841(0x11b),_0x313841(0x110)))&&(this[_0x313841(0x108)]=new _0x1beba3(this[_0x313841(0x11e)],this[_0x313841(0x11e)][_0x313841(0x11f)][_0x313841(0x113)](_0x3d2087),_0x25b40c),this[_0x313841(0x115)](_0x313841(0x103))['to'](this[_0x313841(0x108)],_0x313841(0x103)));}}