@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-next-20250303.0 → 0.0.0-nightly-20250304.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/ckeditor5-metadata.json +1 -1
  3. package/dist/index.js +3 -3
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/bg.js +1 -1
  13. package/dist/translations/bg.umd.js +1 -1
  14. package/dist/translations/bn.js +1 -1
  15. package/dist/translations/bn.umd.js +1 -1
  16. package/dist/translations/bs.js +1 -1
  17. package/dist/translations/bs.umd.js +1 -1
  18. package/dist/translations/ca.js +1 -1
  19. package/dist/translations/ca.umd.js +1 -1
  20. package/dist/translations/cs.js +1 -1
  21. package/dist/translations/cs.umd.js +1 -1
  22. package/dist/translations/da.js +1 -1
  23. package/dist/translations/da.umd.js +1 -1
  24. package/dist/translations/de-ch.js +1 -1
  25. package/dist/translations/de-ch.umd.js +1 -1
  26. package/dist/translations/de.js +1 -1
  27. package/dist/translations/de.umd.js +1 -1
  28. package/dist/translations/el.js +1 -1
  29. package/dist/translations/el.umd.js +1 -1
  30. package/dist/translations/en-au.js +1 -1
  31. package/dist/translations/en-au.umd.js +1 -1
  32. package/dist/translations/en-gb.js +1 -1
  33. package/dist/translations/en-gb.umd.js +1 -1
  34. package/dist/translations/en.js +1 -1
  35. package/dist/translations/en.umd.js +1 -1
  36. package/dist/translations/eo.js +1 -1
  37. package/dist/translations/eo.umd.js +1 -1
  38. package/dist/translations/es-co.js +1 -1
  39. package/dist/translations/es-co.umd.js +1 -1
  40. package/dist/translations/es.js +1 -1
  41. package/dist/translations/es.umd.js +1 -1
  42. package/dist/translations/et.js +1 -1
  43. package/dist/translations/et.umd.js +1 -1
  44. package/dist/translations/eu.js +1 -1
  45. package/dist/translations/eu.umd.js +1 -1
  46. package/dist/translations/fa.js +1 -1
  47. package/dist/translations/fa.umd.js +1 -1
  48. package/dist/translations/fi.js +1 -1
  49. package/dist/translations/fi.umd.js +1 -1
  50. package/dist/translations/fr.js +1 -1
  51. package/dist/translations/fr.umd.js +1 -1
  52. package/dist/translations/gl.js +1 -1
  53. package/dist/translations/gl.umd.js +1 -1
  54. package/dist/translations/gu.js +1 -1
  55. package/dist/translations/gu.umd.js +1 -1
  56. package/dist/translations/he.js +1 -1
  57. package/dist/translations/he.umd.js +1 -1
  58. package/dist/translations/hi.js +1 -1
  59. package/dist/translations/hi.umd.js +1 -1
  60. package/dist/translations/hr.js +1 -1
  61. package/dist/translations/hr.umd.js +1 -1
  62. package/dist/translations/hu.js +1 -1
  63. package/dist/translations/hu.umd.js +1 -1
  64. package/dist/translations/hy.js +1 -1
  65. package/dist/translations/hy.umd.js +1 -1
  66. package/dist/translations/id.js +1 -1
  67. package/dist/translations/id.umd.js +1 -1
  68. package/dist/translations/it.js +1 -1
  69. package/dist/translations/it.umd.js +1 -1
  70. package/dist/translations/ja.js +1 -1
  71. package/dist/translations/ja.umd.js +1 -1
  72. package/dist/translations/jv.js +1 -1
  73. package/dist/translations/jv.umd.js +1 -1
  74. package/dist/translations/kk.js +1 -1
  75. package/dist/translations/kk.umd.js +1 -1
  76. package/dist/translations/km.js +1 -1
  77. package/dist/translations/km.umd.js +1 -1
  78. package/dist/translations/kn.js +1 -1
  79. package/dist/translations/kn.umd.js +1 -1
  80. package/dist/translations/ko.js +1 -1
  81. package/dist/translations/ko.umd.js +1 -1
  82. package/dist/translations/ku.js +1 -1
  83. package/dist/translations/ku.umd.js +1 -1
  84. package/dist/translations/lt.js +1 -1
  85. package/dist/translations/lt.umd.js +1 -1
  86. package/dist/translations/lv.js +1 -1
  87. package/dist/translations/lv.umd.js +1 -1
  88. package/dist/translations/ms.js +1 -1
  89. package/dist/translations/ms.umd.js +1 -1
  90. package/dist/translations/nb.js +1 -1
  91. package/dist/translations/nb.umd.js +1 -1
  92. package/dist/translations/ne.js +1 -1
  93. package/dist/translations/ne.umd.js +1 -1
  94. package/dist/translations/nl.js +1 -1
  95. package/dist/translations/nl.umd.js +1 -1
  96. package/dist/translations/no.js +1 -1
  97. package/dist/translations/no.umd.js +1 -1
  98. package/dist/translations/oc.js +1 -1
  99. package/dist/translations/oc.umd.js +1 -1
  100. package/dist/translations/pl.js +1 -1
  101. package/dist/translations/pl.umd.js +1 -1
  102. package/dist/translations/pt-br.js +1 -1
  103. package/dist/translations/pt-br.umd.js +1 -1
  104. package/dist/translations/pt.js +1 -1
  105. package/dist/translations/pt.umd.js +1 -1
  106. package/dist/translations/ro.js +1 -1
  107. package/dist/translations/ro.umd.js +1 -1
  108. package/dist/translations/ru.js +1 -1
  109. package/dist/translations/ru.umd.js +1 -1
  110. package/dist/translations/si.js +1 -1
  111. package/dist/translations/si.umd.js +1 -1
  112. package/dist/translations/sk.js +1 -1
  113. package/dist/translations/sk.umd.js +1 -1
  114. package/dist/translations/sl.js +1 -1
  115. package/dist/translations/sl.umd.js +1 -1
  116. package/dist/translations/sq.js +1 -1
  117. package/dist/translations/sq.umd.js +1 -1
  118. package/dist/translations/sr-latn.js +1 -1
  119. package/dist/translations/sr-latn.umd.js +1 -1
  120. package/dist/translations/sr.js +1 -1
  121. package/dist/translations/sr.umd.js +1 -1
  122. package/dist/translations/sv.js +1 -1
  123. package/dist/translations/sv.umd.js +1 -1
  124. package/dist/translations/th.js +1 -1
  125. package/dist/translations/th.umd.js +1 -1
  126. package/dist/translations/ti.js +1 -1
  127. package/dist/translations/ti.umd.js +1 -1
  128. package/dist/translations/tk.js +1 -1
  129. package/dist/translations/tk.umd.js +1 -1
  130. package/dist/translations/tr.js +1 -1
  131. package/dist/translations/tr.umd.js +1 -1
  132. package/dist/translations/tt.js +1 -1
  133. package/dist/translations/tt.umd.js +1 -1
  134. package/dist/translations/ug.js +1 -1
  135. package/dist/translations/ug.umd.js +1 -1
  136. package/dist/translations/uk.js +1 -1
  137. package/dist/translations/uk.umd.js +1 -1
  138. package/dist/translations/ur.js +1 -1
  139. package/dist/translations/ur.umd.js +1 -1
  140. package/dist/translations/uz.js +1 -1
  141. package/dist/translations/uz.umd.js +1 -1
  142. package/dist/translations/vi.js +1 -1
  143. package/dist/translations/vi.umd.js +1 -1
  144. package/dist/translations/zh-cn.js +1 -1
  145. package/dist/translations/zh-cn.umd.js +1 -1
  146. package/dist/translations/zh.js +1 -1
  147. package/dist/translations/zh.umd.js +1 -1
  148. package/package.json +8 -9
  149. package/src/index.js +1 -1
  150. package/src/ui/uploadcarecontroller.d.ts +6 -2
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.d.ts +4 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  167. package/src/uploadcareimageedit.js +1 -1
  168. package/src/uploadcareui.js +1 -1
  169. package/src/uploadcareuploadadapter.js +1 -1
  170. package/src/utils/common-translations.js +1 -1
  171. package/src/utils/dialogfocusmanagerview.js +1 -1
  172. package/src/utils/editingutils.js +1 -1
  173. package/src/utils/isancestor.js +1 -1
  174. package/src/utils/uploadutils.js +1 -1
  175. package/theme/icons/dropbox.svg +11 -0
  176. package/theme/icons/error.svg +1 -0
  177. package/theme/icons/facebook.svg +11 -0
  178. package/theme/icons/google-drive.svg +11 -0
  179. package/theme/icons/google-photos.svg +11 -0
  180. package/theme/icons/image-upload.svg +11 -0
  181. package/theme/icons/link.svg +11 -0
  182. package/theme/icons/local.svg +11 -0
  183. package/theme/icons/onedrive.svg +11 -0
  184. package/theme/icons/uploadcare-image-edit.svg +11 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3dafe3=_0x1ea8;function _0x2993(){const _0x1d2dda=['uploadcareImageReplace','input[uploadcare-file-input]','5zAVUqG','join','schema','execute','uploadcareImageId','document','destroy','contentLanguage','replaceImageSource','locale','_initConfig','572598xeSWcc','selection','cleanupImage','imageInline','isRegistered','_initConversion','getSelectedElement','uc-upload-ctx-provider','2490vYzwpV','236608ahtECA','config','once','true','commands','remove','configElement','insertImage','ctxElement','appendChild','uc-config','attributeToAttribute','pluginName','body','closeMax','get','uploadcare','afterInit','editing','181932sMDeUR','conversion','init','href','iconHrefResolver','uploadcare.pubkey','listenTo','model','174905MgUror','isPremiumPlugin','isOfficialPlugin','1316410uNYjGE','extend','add','4585TlJyyD','_initSchema','_ctxElement','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','_initCtx','downcast','PictureEditing','editor','fromCharCode','view','removeAttribute','3GQPMca','_configElement','requires','UploadcareEditing','uploader','render','_initImageProcessingIndicator','map','uploadcare.uploader','#uc-icon-arrow-down','1192084dfYDvQ','data-uc-image-id','imageBlock','getAttribute','for','elementToAttribute','upcast','querySelector'];_0x2993=function(){return _0x1d2dda;};return _0x2993();}function _0x1ea8(_0x4dea3a,_0x49eecf){const _0x2993c1=_0x2993();return _0x1ea8=function(_0x1ea821,_0x9aa2cf){_0x1ea821=_0x1ea821-0x96;let _0x58e1c3=_0x2993c1[_0x1ea821];return _0x58e1c3;},_0x1ea8(_0x4dea3a,_0x49eecf);}(function(_0x482ea2,_0x4c6788){const _0x4a26ec=_0x1ea8,_0x2f7a72=_0x482ea2();while(!![]){try{const _0x332c9f=parseInt(_0x4a26ec(0x9c))/0x1+-parseInt(_0x4a26ec(0xe8))/0x2*(parseInt(_0x4a26ec(0xad))/0x3)+-parseInt(_0x4a26ec(0xb7))/0x4*(-parseInt(_0x4a26ec(0xc1))/0x5)+parseInt(_0x4a26ec(0xd4))/0x6*(-parseInt(_0x4a26ec(0xa2))/0x7)+parseInt(_0x4a26ec(0xd5))/0x8+-parseInt(_0x4a26ec(0xcc))/0x9+parseInt(_0x4a26ec(0x9f))/0xa;if(_0x332c9f===_0x4c6788)break;else _0x2f7a72['push'](_0x2f7a72['shift']());}catch(_0x5eb740){_0x2f7a72['push'](_0x2f7a72['shift']());}}}(_0x2993,0x32b72));import{Plugin as _0x2606d5}from'ckeditor5/src/core.js';import{Dialog as _0x2ca371}from'ckeditor5/src/ui.js';import{createElement as _0x3b3e5c,global as _0x3d29f5,uid as _0x25c6f6}from'ckeditor5/src/utils.js';import _0x2b27f2 from'./uploadcarecommand.js';import _0x1600ed from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2b50d9}from'./utils/editingutils.js';export default class i extends _0x2606d5{[_0x3dafe3(0xae)]=null;[_0x3dafe3(0xa4)]=null;static get[_0x3dafe3(0xe1)](){const _0x543fc3=_0x3dafe3;return _0x543fc3(0xb0);}static get[_0x3dafe3(0xaf)](){const _0x71446=_0x3dafe3;return[_0x71446(0xa8),_0x1600ed,_0x2ca371];}static get[_0x3dafe3(0x9e)](){return!0x0;}static get[_0x3dafe3(0x9d)](){return!0x0;}get[_0x3dafe3(0xdb)](){const _0x31538a=_0x3dafe3;return this[_0x31538a(0xae)];}get[_0x3dafe3(0xdd)](){const _0x441f3f=_0x3dafe3;return this[_0x441f3f(0xa4)];}[_0x3dafe3(0x96)](){const _0x127a81=_0x3dafe3,_0x12256e=this[_0x127a81(0xa9)];_0x12256e[_0x127a81(0xd9)][_0x127a81(0xa1)](_0x127a81(0xe5),new _0x2b27f2(_0x12256e));}[_0x3dafe3(0xe6)](){const _0x2b21c1=_0x3dafe3;this[_0x2b21c1(0xa3)](),this[_0x2b21c1(0xd1)](),this[_0x2b21c1(0xcb)](),this[_0x2b21c1(0xa6)](),this[_0x2b21c1(0xb3)](),this[_0x2b21c1(0x9a)](this[_0x2b21c1(0xa9)],_0x2b21c1(0xc7),()=>{const _0x50ca21=_0x2b21c1;this[_0x50ca21(0xae)]&&(this[_0x50ca21(0xae)][_0x50ca21(0xda)](),this[_0x50ca21(0xae)]=null),this[_0x50ca21(0xa4)]&&(this[_0x50ca21(0xa4)][_0x50ca21(0xda)](),this[_0x50ca21(0xa4)]=null);const _0x72de3=_0x3d29f5[_0x50ca21(0xc6)][_0x50ca21(0xbe)](_0x50ca21(0xc0));_0x72de3&&_0x72de3[_0x50ca21(0xda)]();}),async function(_0x11827f){const _0x555c19=_0x2270d9([0x5a,0x37,0x67,0x54,0x52,0x42,0x57,0x33,0x72,0x36,0x75,0x79,0x58,0x49,0x4e,0x6e,0x6f,0x65,0x51,0x55,0x56,0x4a,0x66,0x45,0x43,0x63,0x47,0x62,0x6d,0x59,0x48,0x32,0x46,0x77,0x69,0x78,0x71,0x30,0x44,0x61,0x6b,0x74,0x50,0x76,0x4f,0x34,0x4c,0x41,0x4b,0x73,0x6c,0x4d,0x70,0x53,0x31,0x68,0x35,0x38,0x7a,0x39,0x6a,0x64]),_0xe5ed90=0x54194dc0,_0x340945=0x541e2cd0^_0xe5ed90,_0x1fa3bf=window[_0x2270d9([0x44,0x61,0x74,0x65])][_0x2270d9([0x6e,0x6f,0x77])](),_0x3ebbc6=_0x11827f[_0x2270d9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1fcfe0=new window[(_0x2270d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27a2df=>{_0x3ebbc6[_0x2270d9([0x6f,0x6e,0x63,0x65])](_0x2270d9([0x72,0x65,0x61,0x64,0x79]),_0x27a2df);}),_0x149c2e={[_0x2270d9([0x6b,0x74,0x79])]:_0x2270d9([0x45,0x43]),[_0x2270d9([0x75,0x73,0x65])]:_0x2270d9([0x73,0x69,0x67]),[_0x2270d9([0x63,0x72,0x76])]:_0x2270d9([0x50,0x2d,0x32,0x35,0x36]),[_0x2270d9([0x78])]:_0x2270d9([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]),[_0x2270d9([0x79])]:_0x2270d9([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]),[_0x2270d9([0x61,0x6c,0x67])]:_0x2270d9([0x45,0x53,0x32,0x35,0x36])},_0x337cd9=_0x3ebbc6[_0x2270d9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2270d9([0x67,0x65,0x74])](_0x2270d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x99eae8(){let _0x1cb58a,_0x59774f=null,_0x289517=null;try{if(_0x337cd9==_0x2270d9([0x47,0x50,0x4c]))return _0x2270d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1cb58a=_0x55836b(),!_0x1cb58a)return _0x2270d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1cb58a[_0x2270d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x289517=_0x241db9(_0x1cb58a[_0x2270d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1cb58a[_0x2270d9([0x6a,0x74,0x69])])),await _0x2e5a0c()?_0x5bab72()?_0x1f30fa()?_0x2270d9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x76ab56()?(_0x1cb58a[_0x2270d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2270d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x59774f=_0x966e9a(_0x2270d9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1cb58a[_0x2270d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2270d9([0x74,0x72,0x69,0x61,0x6c])&&(_0x59774f=_0x966e9a(_0x2270d9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x34a631()):_0x2270d9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2270d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2270d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x30aea1){return _0x2270d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f30fa(){const _0x6705d0=[_0x2270d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2270d9([0x74,0x72,0x69,0x61,0x6c])][_0x2270d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cb58a[_0x2270d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1fa3bf/0x3e8:0xe10*_0x340945;return _0x1cb58a[_0x2270d9([0x65,0x78,0x70])]<_0x6705d0;}function _0x5bab72(){const _0xfd82ec=_0x1cb58a[_0x2270d9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xfd82ec&&(!!_0xfd82ec[_0x2270d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2270d9([0x2a]))||!!_0xfd82ec[_0x2270d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2270d9([0x55,0x50,0x4c,0x43])));}function _0x76ab56(){const _0x55b274=_0x1ea8,_0x25e3c3=_0x1cb58a[_0x2270d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x25e3c3||0x0==_0x25e3c3[_0x2270d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x473f83}=new URL(window[_0x2270d9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x55b274(0x97)]);if(_0x25e3c3[_0x2270d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x473f83))return!0x0;const _0x4805ea=_0x473f83[_0x2270d9([0x73,0x70,0x6c,0x69,0x74])](_0x2270d9([0x2e]));return _0x25e3c3[_0x2270d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x207cf3=>_0x207cf3[_0x2270d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2270d9([0x2a])))[_0x2270d9([0x6d,0x61,0x70])](_0x84af45=>_0x84af45[_0x2270d9([0x73,0x70,0x6c,0x69,0x74])](_0x2270d9([0x2e])))[_0x2270d9([0x73,0x6f,0x6d,0x65])](_0x119ac2=>_0x4805ea[_0x2270d9([0x65,0x76,0x65,0x72,0x79])]((_0xd14277,_0xc3b953)=>_0x119ac2[_0xc3b953]===_0xd14277||_0x119ac2[_0xc3b953]===_0x2270d9([0x2a])));}function _0x34a631(){return _0x59774f&&_0x289517?new window[(_0x2270d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d4f37,_0x169f41)=>{_0x59774f[_0x2270d9([0x74,0x68,0x65,0x6e])](_0x1d4f37,_0x169f41),_0x289517[_0x2270d9([0x74,0x68,0x65,0x6e])](_0x170cff=>{_0x170cff!=_0x2270d9([0x56,0x61,0x6c,0x69,0x64])&&_0x1d4f37(_0x170cff);},_0x169f41);}):_0x59774f||_0x289517||_0x2270d9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x241db9(_0x10225d,_0x5559f9){return new window[(_0x2270d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8ccb27=>{if(_0x2405b7())return _0x8ccb27(_0x2270d9([0x56,0x61,0x6c,0x69,0x64]));_0x5b836d(),_0x3ebbc6[_0x2270d9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2270d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x596f1a=!0x1;const _0xdace0e=_0x25c6f6();function _0x3b3e9b(_0x9e9e6c){return!!_0x9e9e6c&&(typeof _0x9e9e6c===_0x2270d9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x9e9e6c===_0x2270d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x9e9e6c[_0x2270d9([0x74,0x68,0x65,0x6e])]===_0x2270d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x9e9e6c[_0x2270d9([0x63,0x61,0x74,0x63,0x68])]===_0x2270d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ea2f1(_0xbe9850){_0x2140df(_0xbe9850)[_0x2270d9([0x74,0x68,0x65,0x6e])](_0x4a093b=>{if(!_0x4a093b||_0x4a093b[_0x2270d9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2270d9([0x6f,0x6b]))return _0x2270d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x28778f(_0x2568c2(_0xdace0e+_0x5559f9))!=_0x4a093b[_0x2270d9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2270d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2270d9([0x56,0x61,0x6c,0x69,0x64]);})[_0x2270d9([0x74,0x68,0x65,0x6e])](_0x395c93=>(_0x49c9c7(),_0x395c93),()=>{const _0x48994f=_0x314965();return null==_0x48994f?(_0x49c9c7(),_0x2270d9([0x56,0x61,0x6c,0x69,0x64])):_0x2270d9(_0x1fa3bf-_0x48994f>(0x7015c9c0^_0xe5ed90)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2270d9([0x74,0x68,0x65,0x6e])](_0x8ccb27)[_0x2270d9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x8ccb27(_0x2270d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a6c32=0x542fa340^_0xe5ed90;function _0x49c9c7(){const _0x3e21b8=_0x2270d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x28778f(_0x2568c2(_0x10225d)),_0x33ebe3=_0x542fdf(_0x28778f(window[_0x2270d9([0x4d,0x61,0x74,0x68])][_0x2270d9([0x63,0x65,0x69,0x6c])](_0x1fa3bf/_0x3a6c32)));window[_0x2270d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2270d9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e21b8,_0x33ebe3);}function _0x314965(){const _0x314b45=_0x2270d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x28778f(_0x2568c2(_0x10225d)),_0x2e220c=window[_0x2270d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2270d9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x314b45);return _0x2e220c?window[_0x2270d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x542fdf(_0x2e220c),0x10)*_0x3a6c32:null;}function _0x2140df(_0x429813){return new window[(_0x2270d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x573e25,_0x397cf9)=>{_0x429813[_0x2270d9([0x74,0x68,0x65,0x6e])](_0x573e25,_0x397cf9),window[_0x2270d9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x397cf9,0x54189900^_0xe5ed90);});}}_0x3ebbc6[_0x2270d9([0x6f,0x6e])](_0x2270d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x19fe17,_0x5585c5)=>{if(_0x5585c5[0x0]!=_0x10225d)return _0x8ccb27(_0x2270d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5585c5[0x1]={..._0x5585c5[0x1],[_0x2270d9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xdace0e};},{[_0x2270d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2270d9([0x68,0x69,0x67,0x68])}),_0x3ebbc6[_0x2270d9([0x6f,0x6e])](_0x2270d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x6f7068=>{_0x3b3e9b(_0x6f7068[_0x2270d9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x596f1a=!0x0,_0x3ea2f1(_0x6f7068[_0x2270d9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2270d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2270d9([0x6c,0x6f,0x77])}),_0x1fcfe0[_0x2270d9([0x74,0x68,0x65,0x6e])](()=>{_0x596f1a||_0x8ccb27(_0x2270d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2405b7(){return _0x3ebbc6[_0x2270d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2270d9([0x76,0x69,0x65,0x77])][_0x2270d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2270d9([0x61,0x75,0x74,0x6f]);}function _0x5b836d(){_0x3ebbc6[_0x2270d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2270d9([0x76,0x69,0x65,0x77])][_0x2270d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2270d9([0x61,0x75,0x74,0x6f]);}}function _0x966e9a(_0x56dcba){const _0x77818=[new window[(_0x2270d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41c276=>setTimeout(_0x41c276,0x5410730c^_0xe5ed90)),_0x1fcfe0[_0x2270d9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2270d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5546dd=>{let _0x3a1907=0x0;_0x3ebbc6[_0x2270d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2270d9([0x6f,0x6e])](_0x2270d9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x24e005,_0x4fb00c)=>{_0x4fb00c[0x0][_0x2270d9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3a1907++,_0x3a1907==(0x54194c38^_0xe5ed90)&&(_0x5546dd(),_0x24e005[_0x2270d9([0x6f,0x66,0x66])]());});}))];return window[_0x2270d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2270d9([0x72,0x61,0x63,0x65])](_0x77818)[_0x2270d9([0x74,0x68,0x65,0x6e])](()=>_0x56dcba);}async function _0x17bc88(){await _0x1fcfe0,_0x3ebbc6[_0x2270d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2270d9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x10ec23,_0x3ebbc6[_0x2270d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x2270d9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x10ec23,_0x3ebbc6[_0x2270d9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2270d9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2355de(_0x1e1975){const _0x5e3a5c=_0x3e9724();_0x3ebbc6[_0x5e3a5c]=_0x2270d9([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1e1975,_0x1e1975!=_0x2270d9([0x56,0x61,0x6c,0x69,0x64])&&_0x17bc88();}function _0x3e9724(){const _0x4e087c=window[_0x2270d9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2270d9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2270d9([0x6e,0x6f,0x77])]())[_0x2270d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2270d9([0x2e]),'');let _0x2eef5c=_0x2270d9([0x5a]);for(let _0x3c3680=0x0;_0x3c3680<_0x4e087c[_0x2270d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3c3680+=0x2){let _0x1100c0=window[_0x2270d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e087c[_0x2270d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c3680,_0x3c3680+0x2));_0x1100c0>=_0x555c19[_0x2270d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1100c0-=_0x555c19[_0x2270d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2eef5c+=_0x555c19[_0x1100c0];}return _0x2eef5c;}function _0x55836b(){const _0x192ec4=_0x337cd9[_0x2270d9([0x73,0x70,0x6c,0x69,0x74])](_0x2270d9([0x2e]));if(0x3!=_0x192ec4[_0x2270d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x34561b(_0x192ec4[0x1]);function _0x34561b(_0x48f306){const _0x3acba1=_0x56ba97(_0x48f306);return _0x3acba1&&_0x20cd88()?_0x3acba1:null;function _0x20cd88(){const _0xb46a82=_0x3acba1[_0x2270d9([0x6a,0x74,0x69])],_0x36f9b2=window[_0x2270d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb46a82[_0x2270d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb46a82[_0x2270d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3c3aa0={..._0x3acba1,[_0x2270d9([0x6a,0x74,0x69])]:_0xb46a82[_0x2270d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb46a82[_0x2270d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3c3aa0[_0x2270d9([0x76,0x63])],_0x2568c2(_0x3c3aa0)==_0x36f9b2;}}}async function _0x2e5a0c(){let _0x512301=!0x0;try{const _0x2881fa=_0x337cd9[_0x2270d9([0x73,0x70,0x6c,0x69,0x74])](_0x2270d9([0x2e])),[_0xe93a19,_0x492c79,_0x326c56]=_0x2881fa;return _0x5c8a56(_0xe93a19),await _0x3f33f3(_0xe93a19,_0x492c79,_0x326c56),_0x512301;}catch(_0x5dd6a4){return!0x1;}function _0x5c8a56(_0x3bce31){const _0x4f8662=_0x56ba97(_0x3bce31);_0x4f8662&&_0x4f8662[_0x2270d9([0x61,0x6c,0x67])]==_0x2270d9([0x45,0x53,0x32,0x35,0x36])||(_0x512301=!0x1);}async function _0x3f33f3(_0x1a689d,_0x2e68b8,_0x1d449d){const _0x5ae129=window[_0x2270d9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2270d9([0x66,0x72,0x6f,0x6d])](_0x484951(_0x1d449d),_0x3b5202=>_0x3b5202[_0x2270d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4dace5=new window[(_0x2270d9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2270d9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1a689d+_0x2270d9([0x2e])+_0x2e68b8),_0x265b5d=window[_0x2270d9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2270d9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x265b5d)return;const _0x1abd4f=await _0x265b5d[_0x2270d9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2270d9([0x6a,0x77,0x6b]),_0x149c2e,{[_0x2270d9([0x6e,0x61,0x6d,0x65])]:_0x2270d9([0x45,0x43,0x44,0x53,0x41]),[_0x2270d9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2270d9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2270d9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x265b5d[_0x2270d9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2270d9([0x6e,0x61,0x6d,0x65])]:_0x2270d9([0x45,0x43,0x44,0x53,0x41]),[_0x2270d9([0x68,0x61,0x73,0x68])]:{[_0x2270d9([0x6e,0x61,0x6d,0x65])]:_0x2270d9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1abd4f,_0x5ae129,_0x4dace5)||(_0x512301=!0x1);}}function _0x56ba97(_0x4738c8){return _0x4738c8[_0x2270d9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2270d9([0x65,0x79]))?JSON[_0x2270d9([0x70,0x61,0x72,0x73,0x65])](_0x484951(_0x4738c8)):null;}function _0x484951(_0x46685e){return window[_0x2270d9([0x61,0x74,0x6f,0x62])](_0x46685e[_0x2270d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2270d9([0x2b]))[_0x2270d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2270d9([0x2f])));}function _0x2568c2(_0x37bed6){let _0x76578a=0x1505;function _0x407542(_0x4a128e){for(let _0x5f4b20=0x0;_0x5f4b20<_0x4a128e[_0x2270d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5f4b20++){const _0xd37064=_0x4a128e[_0x2270d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5f4b20);_0x76578a=(_0x76578a<<0x5)+_0x76578a+_0xd37064,_0x76578a&=_0x76578a;}}function _0x4164d8(_0xfc9f3){Array[_0x2270d9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xfc9f3)?_0xfc9f3[_0x2270d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4164d8):_0xfc9f3&&typeof _0xfc9f3==_0x2270d9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2270d9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xfc9f3)[_0x2270d9([0x73,0x6f,0x72,0x74])]()[_0x2270d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16d651,_0x5f4b1b])=>{_0x407542(_0x16d651),_0x4164d8(_0x5f4b1b);}):_0x407542(window[_0x2270d9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xfc9f3));}return _0x4164d8(_0x37bed6),_0x76578a>>>0x0;}function _0x28778f(_0x356d01){return _0x356d01[_0x2270d9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2270d9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2270d9([0x30]));}function _0x542fdf(_0x1ca2fc){return _0x1ca2fc[_0x2270d9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2270d9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2270d9([0x6a,0x6f,0x69,0x6e])]('');}function _0x10ec23(){}function _0x2270d9(_0x36b7dd){const _0x46d36b=_0x1ea8;return _0x36b7dd[_0x46d36b(0xb4)](_0x70637c=>String[_0x46d36b(0xaa)](_0x70637c))[_0x46d36b(0xc2)]('');}_0x2355de(await _0x99eae8());}(this);}[_0x3dafe3(0xa3)](){const _0x289b5d=_0x3dafe3,_0x12c401=this[_0x289b5d(0xa9)][_0x289b5d(0x9b)][_0x289b5d(0xc3)];_0x12c401[_0x289b5d(0xd0)](_0x289b5d(0xb9))&&_0x12c401[_0x289b5d(0xa0)](_0x289b5d(0xb9),{'allowAttributes':[_0x289b5d(0xc5)]}),_0x12c401[_0x289b5d(0xd0)](_0x289b5d(0xcf))&&_0x12c401[_0x289b5d(0xa0)](_0x289b5d(0xcf),{'allowAttributes':[_0x289b5d(0xc5)]});}[_0x3dafe3(0xd1)](){const _0x200c9c=_0x3dafe3,_0x26a1ab=this[_0x200c9c(0xa9)];_0x26a1ab[_0x200c9c(0xe9)][_0x200c9c(0xbb)](_0x200c9c(0xa7))[_0x200c9c(0xe0)]({'model':_0x200c9c(0xc5),'view':_0x200c9c(0xb8)}),_0x26a1ab[_0x200c9c(0xe9)][_0x200c9c(0xbb)](_0x200c9c(0xbd))[_0x200c9c(0xbc)]({'model':{'key':_0x200c9c(0xc5),'value':_0x121c1b=>_0x121c1b[_0x200c9c(0xba)](_0x200c9c(0xb8))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x5370c1=_0x26a1ab[_0x200c9c(0xd9)][_0x200c9c(0xe4)](_0x200c9c(0xc9));_0x5370c1&&this[_0x200c9c(0x9a)](_0x5370c1,_0x200c9c(0xce),(_0x3d8f5d,[_0x338a8a,_0x35a89e])=>{const _0x22e7d5=_0x200c9c;_0x338a8a[_0x22e7d5(0xac)](_0x22e7d5(0xc5),_0x35a89e);});}[_0x3dafe3(0xcb)](){const _0x1e6946=_0x3dafe3,_0x3c7487=this[_0x1e6946(0xa9)][_0x1e6946(0xd6)][_0x1e6946(0xe4)](_0x1e6946(0xb5))||{},_0x49579d=this[_0x1e6946(0xa9)][_0x1e6946(0xd6)][_0x1e6946(0xe4)](_0x1e6946(0x99))||'';this[_0x1e6946(0xae)]=_0x3b3e5c(_0x3d29f5[_0x1e6946(0xc6)],_0x1e6946(0xdf),{..._0x3c7487,'pubkey':_0x49579d,'ctx-name':_0x1e6946(0xb1),'sourceList':'','imgOnly':_0x1e6946(0xd8),'removeCopyright':_0x1e6946(0xd8),'localeName':this[_0x1e6946(0xa9)][_0x1e6946(0xca)][_0x1e6946(0xc8)],'externalSourcesEmbedCss':_0x1e6946(0xa5)}),this[_0x1e6946(0xae)][_0x1e6946(0x98)]=_0x48d0b9=>{const _0x79a6bc=_0x1e6946;if(_0x79a6bc(0xe3)==_0x48d0b9)return _0x79a6bc(0xb6);},_0x3d29f5[_0x1e6946(0xc6)][_0x1e6946(0xe2)][_0x1e6946(0xde)](this[_0x1e6946(0xae)]);}[_0x3dafe3(0xa6)](){const _0x50b992=_0x3dafe3;this[_0x50b992(0xa4)]=_0x3b3e5c(_0x3d29f5[_0x50b992(0xc6)],_0x50b992(0xd3),{'ctx-name':_0x50b992(0xb1)}),_0x3d29f5[_0x50b992(0xc6)][_0x50b992(0xe2)][_0x50b992(0xde)](this[_0x50b992(0xa4)]);}[_0x3dafe3(0xb3)](){const _0x216dad=_0x3dafe3,_0x5e8d74=this[_0x216dad(0xa9)][_0x216dad(0xd9)][_0x216dad(0xe4)](_0x216dad(0xdc));_0x5e8d74&&this[_0x216dad(0x9a)](_0x5e8d74,_0x216dad(0xc4),()=>{const _0x5b7a43=_0x216dad,_0x3b7b18=this[_0x5b7a43(0xa9)][_0x5b7a43(0x9b)][_0x5b7a43(0xc6)][_0x5b7a43(0xcd)][_0x5b7a43(0xd2)]();_0x3b7b18&&_0x3b7b18[_0x5b7a43(0xba)](_0x5b7a43(0xc5))&&this[_0x5b7a43(0xa9)][_0x5b7a43(0xe7)][_0x5b7a43(0xab)][_0x5b7a43(0xd7)](_0x5b7a43(0xb2),()=>{const _0x101c41=_0x5b7a43;_0x2b50d9(this[_0x101c41(0xa9)],_0x3b7b18);});});const _0xf8990b=this[_0x216dad(0xa9)][_0x216dad(0xd9)][_0x216dad(0xe4)](_0x216dad(0xbf));_0xf8990b&&this[_0x216dad(0x9a)](_0xf8990b,_0x216dad(0xc4),()=>{const _0x58ebbf=_0x216dad,_0x2a78f8=this[_0x58ebbf(0xa9)][_0x58ebbf(0x9b)][_0x58ebbf(0xc6)][_0x58ebbf(0xcd)][_0x58ebbf(0xd2)]();_0x2a78f8&&_0x2a78f8[_0x58ebbf(0xba)](_0x58ebbf(0xc5))&&this[_0x58ebbf(0xa9)][_0x58ebbf(0xe7)][_0x58ebbf(0xab)][_0x58ebbf(0xd7)](_0x58ebbf(0xb2),()=>{const _0x2a1d24=_0x58ebbf;_0x2b50d9(this[_0x2a1d24(0xa9)],_0x2a78f8);});});}}
23
+ const _0x5a4a31=_0x2dae;(function(_0x2e8a5a,_0x4e6a05){const _0x152bf5=_0x2dae,_0x45514b=_0x2e8a5a();while(!![]){try{const _0x1ddb5b=parseInt(_0x152bf5(0x19d))/0x1*(parseInt(_0x152bf5(0x1a9))/0x2)+-parseInt(_0x152bf5(0x19e))/0x3*(-parseInt(_0x152bf5(0x1a4))/0x4)+parseInt(_0x152bf5(0x17b))/0x5*(parseInt(_0x152bf5(0x195))/0x6)+parseInt(_0x152bf5(0x187))/0x7*(parseInt(_0x152bf5(0x1bf))/0x8)+-parseInt(_0x152bf5(0x197))/0x9*(parseInt(_0x152bf5(0x1bb))/0xa)+-parseInt(_0x152bf5(0x1ac))/0xb*(-parseInt(_0x152bf5(0x179))/0xc)+-parseInt(_0x152bf5(0x18a))/0xd*(parseInt(_0x152bf5(0x188))/0xe);if(_0x1ddb5b===_0x4e6a05)break;else _0x45514b['push'](_0x45514b['shift']());}catch(_0x63a12e){_0x45514b['push'](_0x45514b['shift']());}}}(_0x15b8,0x1912b));import{Plugin as _0x2c3e92}from'ckeditor5/src/core.js';import{Dialog as _0x9bc9fb}from'ckeditor5/src/ui.js';import{createElement as _0x54e07d,global as _0x4a649c,uid as _0x53d5bb}from'ckeditor5/src/utils.js';import _0x4c2cae from'./uploadcarecommand.js';import _0x41246e from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0xdef3e2}from'./utils/editingutils.js';function _0x2dae(_0x157f67,_0x52b2b5){const _0x15b8b1=_0x15b8();return _0x2dae=function(_0x2dae21,_0x114531){_0x2dae21=_0x2dae21-0x173;let _0x4b3122=_0x15b8b1[_0x2dae21];return _0x4b3122;},_0x2dae(_0x157f67,_0x52b2b5);}function _0x15b8(){const _0x18efc1=['join','true','uploadcareImageReplace','config','add','get','elementToAttribute','uploadcareImageId','removeAttribute','_initImageProcessingIndicator','PictureEditing','listenTo','configElement','getSelectedElement','1534044rlPtTl','fromCharCode','30tAqPQa','model','requires','insertImage','uploader','replaceImageSource','uploadcare.pubkey','remove','_initConversion','extend','UploadcareEditing','editor','2401MLWjGr','1726746mxVljb','locale','39XlXapJ','editing','closeMax','imageBlock','getAttribute','destroy','href','_ctxElement','conversion','isPremiumPlugin','querySelector','171372ugrIcm','iconHrefResolver','549tjuWDT','attributeToAttribute','execute','pluginName','_initSchema','imageInline','683ifUesy','447141EWMoCs','isRegistered','_configElement','uploadcare','\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','upcast','4gAgdLk','document','view','selection','init','92SOjONd','appendChild','map','11JLOwDC','schema','_initCtx','downcast','render','_initConfig','once','#uc-icon-arrow-down','uc-upload-ctx-provider','for','isOfficialPlugin','body','uploadcare.uploader','uc-config','commands','20090ojCHBl','cleanupImage','input[uploadcare-file-input]','ctxElement','2696BsyAJc','afterInit','contentLanguage','data-uc-image-id'];_0x15b8=function(){return _0x18efc1;};return _0x15b8();}export default class i extends _0x2c3e92{constructor(){const _0x2ddb67=_0x2dae;super(...arguments),this[_0x2ddb67(0x1a0)]=null,this[_0x2ddb67(0x191)]=null;}static get[_0x5a4a31(0x19a)](){const _0x2ab6ec=_0x5a4a31;return _0x2ab6ec(0x185);}static get[_0x5a4a31(0x17d)](){const _0x2f82cb=_0x5a4a31;return[_0x2f82cb(0x175),_0x41246e,_0x9bc9fb];}static get[_0x5a4a31(0x1b6)](){return!0x0;}static get[_0x5a4a31(0x193)](){return!0x0;}get[_0x5a4a31(0x177)](){const _0x225ffd=_0x5a4a31;return this[_0x225ffd(0x1a0)];}get[_0x5a4a31(0x1be)](){const _0x2fea8b=_0x5a4a31;return this[_0x2fea8b(0x191)];}[_0x5a4a31(0x1a8)](){const _0x5bcf4d=_0x5a4a31,_0x112393=this[_0x5bcf4d(0x186)];_0x112393[_0x5bcf4d(0x1ba)][_0x5bcf4d(0x1c7)](_0x5bcf4d(0x1a1),new _0x4c2cae(_0x112393));}[_0x5a4a31(0x1c0)](){const _0x3d8690=_0x5a4a31;this[_0x3d8690(0x19b)](),this[_0x3d8690(0x183)](),this[_0x3d8690(0x1b1)](),this[_0x3d8690(0x1ae)](),this[_0x3d8690(0x174)](),this[_0x3d8690(0x176)](this[_0x3d8690(0x186)],_0x3d8690(0x18f),()=>{const _0xd30731=_0x3d8690;this[_0xd30731(0x1a0)]&&(this[_0xd30731(0x1a0)][_0xd30731(0x182)](),this[_0xd30731(0x1a0)]=null),this[_0xd30731(0x191)]&&(this[_0xd30731(0x191)][_0xd30731(0x182)](),this[_0xd30731(0x191)]=null);const _0x431c8a=_0x4a649c[_0xd30731(0x1a5)][_0xd30731(0x194)](_0xd30731(0x1bd));_0x431c8a&&_0x431c8a[_0xd30731(0x182)]();}),async function(_0x39353c){const _0x4b76cd=_0xb6d697([0x38,0x62,0x73,0x34,0x4e,0x7a,0x31,0x65,0x69,0x53,0x70,0x6c,0x74,0x36,0x32,0x76,0x37,0x71,0x63,0x78,0x35,0x67,0x30,0x75,0x6b,0x46,0x45,0x56,0x6a,0x6e,0x72,0x4c,0x51,0x77,0x50,0x61,0x44,0x42,0x41,0x5a,0x66,0x58,0x68,0x52,0x43,0x6d,0x59,0x4b,0x54,0x79,0x57,0x6f,0x4d,0x4a,0x4f,0x48,0x49,0x33,0x47,0x39,0x64,0x55]),_0xc6a944=0x22a01482,_0x45b924=0x22a775aa^_0xc6a944,_0x471cbf=window[_0xb6d697([0x44,0x61,0x74,0x65])][_0xb6d697([0x6e,0x6f,0x77])](),_0x2a74c4=_0x39353c[_0xb6d697([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3aa175=new window[(_0xb6d697([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14793a=>{_0x2a74c4[_0xb6d697([0x6f,0x6e,0x63,0x65])](_0xb6d697([0x72,0x65,0x61,0x64,0x79]),_0x14793a);}),_0x2ddcce={[_0xb6d697([0x6b,0x74,0x79])]:_0xb6d697([0x45,0x43]),[_0xb6d697([0x75,0x73,0x65])]:_0xb6d697([0x73,0x69,0x67]),[_0xb6d697([0x63,0x72,0x76])]:_0xb6d697([0x50,0x2d,0x32,0x35,0x36]),[_0xb6d697([0x78])]:_0xb6d697([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]),[_0xb6d697([0x79])]:_0xb6d697([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]),[_0xb6d697([0x61,0x6c,0x67])]:_0xb6d697([0x45,0x53,0x32,0x35,0x36])},_0x2f8264=_0x2a74c4[_0xb6d697([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xb6d697([0x67,0x65,0x74])](_0xb6d697([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xc6cce2(){let _0x330792,_0x5a1c7b=null,_0x13e215=null;try{if(_0x2f8264==_0xb6d697([0x47,0x50,0x4c]))return _0xb6d697([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x330792=_0x11800a(),!_0x330792)return _0xb6d697([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x330792[_0xb6d697([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x13e215=_0x43d1ad(_0x330792[_0xb6d697([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x330792[_0xb6d697([0x6a,0x74,0x69])])),await _0x44838c()?_0x3f282f()?_0x4f7964()?_0xb6d697([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x488036()?(_0x330792[_0xb6d697([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb6d697([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5a1c7b=_0xa7656c(_0xb6d697([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x330792[_0xb6d697([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb6d697([0x74,0x72,0x69,0x61,0x6c])&&(_0x5a1c7b=_0xa7656c(_0xb6d697([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x154f40()):_0xb6d697([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xb6d697([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xb6d697([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch(_0x1034bb){return _0xb6d697([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4f7964(){const _0xff5422=[_0xb6d697([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xb6d697([0x74,0x72,0x69,0x61,0x6c])][_0xb6d697([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x330792[_0xb6d697([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x471cbf/0x3e8:0xe10*_0x45b924;return _0x330792[_0xb6d697([0x65,0x78,0x70])]<_0xff5422;}function _0x3f282f(){const _0x280a73=_0x330792[_0xb6d697([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x280a73&&(!!_0x280a73[_0xb6d697([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb6d697([0x2a]))||!!_0x280a73[_0xb6d697([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb6d697([0x55,0x50,0x4c,0x43])));}function _0x488036(){const _0x37723d=_0x2dae,_0x59f9aa=_0x330792[_0xb6d697([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x59f9aa||0x0==_0x59f9aa[_0xb6d697([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x487362}=new URL(window[_0xb6d697([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x37723d(0x190)]);if(_0x59f9aa[_0xb6d697([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x487362))return!0x0;const _0x38a9dd=_0x487362[_0xb6d697([0x73,0x70,0x6c,0x69,0x74])](_0xb6d697([0x2e]));return _0x59f9aa[_0xb6d697([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ad0f6=>_0x5ad0f6[_0xb6d697([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb6d697([0x2a])))[_0xb6d697([0x6d,0x61,0x70])](_0xbbc06=>_0xbbc06[_0xb6d697([0x73,0x70,0x6c,0x69,0x74])](_0xb6d697([0x2e])))[_0xb6d697([0x73,0x6f,0x6d,0x65])](_0x24ec26=>_0x38a9dd[_0xb6d697([0x65,0x76,0x65,0x72,0x79])]((_0x2def5a,_0x3f6345)=>_0x24ec26[_0x3f6345]===_0x2def5a||_0x24ec26[_0x3f6345]===_0xb6d697([0x2a])));}function _0x154f40(){return _0x5a1c7b&&_0x13e215?new window[(_0xb6d697([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1bed07,_0x22b609)=>{_0x5a1c7b[_0xb6d697([0x74,0x68,0x65,0x6e])](_0x1bed07,_0x22b609),_0x13e215[_0xb6d697([0x74,0x68,0x65,0x6e])](_0x5b5ba5=>{_0x5b5ba5!=_0xb6d697([0x56,0x61,0x6c,0x69,0x64])&&_0x1bed07(_0x5b5ba5);},_0x22b609);}):_0x5a1c7b||_0x13e215||_0xb6d697([0x56,0x61,0x6c,0x69,0x64]);}}function _0x43d1ad(_0x1158e3,_0x423665){return new window[(_0xb6d697([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28c6c7=>{if(_0x5ab45e())return _0x28c6c7(_0xb6d697([0x56,0x61,0x6c,0x69,0x64]));_0x2667bd(),_0x2a74c4[_0xb6d697([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xb6d697([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x688854=!0x1;const _0x3ae8aa=_0x53d5bb();function _0x285320(_0x502ca1){return!!_0x502ca1&&(typeof _0x502ca1===_0xb6d697([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x502ca1===_0xb6d697([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x502ca1[_0xb6d697([0x74,0x68,0x65,0x6e])]===_0xb6d697([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x502ca1[_0xb6d697([0x63,0x61,0x74,0x63,0x68])]===_0xb6d697([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2e99d1(_0x1ce226){_0x799386(_0x1ce226)[_0xb6d697([0x74,0x68,0x65,0x6e])](_0x349e97=>{if(!_0x349e97||_0x349e97[_0xb6d697([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xb6d697([0x6f,0x6b]))return _0xb6d697([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5365ed(_0x433287(_0x3ae8aa+_0x423665))!=_0x349e97[_0xb6d697([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xb6d697([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xb6d697([0x56,0x61,0x6c,0x69,0x64]);})[_0xb6d697([0x74,0x68,0x65,0x6e])](_0x142fad=>(_0x18b958(),_0x142fad),()=>{const _0x1adda0=_0x4ea5ab();return null==_0x1adda0?(_0x18b958(),_0xb6d697([0x56,0x61,0x6c,0x69,0x64])):_0xb6d697(_0x471cbf-_0x1adda0>(0x6ac9082^_0xc6a944)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xb6d697([0x74,0x68,0x65,0x6e])](_0x28c6c7)[_0xb6d697([0x63,0x61,0x74,0x63,0x68])](()=>{_0x28c6c7(_0xb6d697([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28039c=0x2296fa02^_0xc6a944;function _0x18b958(){const _0xcb4f91=_0xb6d697([0x6c,0x6c,0x63,0x74,0x2d])+_0x5365ed(_0x433287(_0x1158e3)),_0x168183=_0x3cee17(_0x5365ed(window[_0xb6d697([0x4d,0x61,0x74,0x68])][_0xb6d697([0x63,0x65,0x69,0x6c])](_0x471cbf/_0x28039c)));window[_0xb6d697([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb6d697([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xcb4f91,_0x168183);}function _0x4ea5ab(){const _0xb3989f=_0xb6d697([0x6c,0x6c,0x63,0x74,0x2d])+_0x5365ed(_0x433287(_0x1158e3)),_0x3b4656=window[_0xb6d697([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb6d697([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xb3989f);return _0x3b4656?window[_0xb6d697([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cee17(_0x3b4656),0x10)*_0x28039c:null;}function _0x799386(_0xb591bd){return new window[(_0xb6d697([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x46428c,_0xf3b3fe)=>{_0xb591bd[_0xb6d697([0x74,0x68,0x65,0x6e])](_0x46428c,_0xf3b3fe),window[_0xb6d697([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xf3b3fe,0x22a1c042^_0xc6a944);});}}_0x2a74c4[_0xb6d697([0x6f,0x6e])](_0xb6d697([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x34cec9,_0x3f212d)=>{if(_0x3f212d[0x0]!=_0x1158e3)return _0x28c6c7(_0xb6d697([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3f212d[0x1]={..._0x3f212d[0x1],[_0xb6d697([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3ae8aa};},{[_0xb6d697([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb6d697([0x68,0x69,0x67,0x68])}),_0x2a74c4[_0xb6d697([0x6f,0x6e])](_0xb6d697([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3bd08d=>{_0x285320(_0x3bd08d[_0xb6d697([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x688854=!0x0,_0x2e99d1(_0x3bd08d[_0xb6d697([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xb6d697([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb6d697([0x6c,0x6f,0x77])}),_0x3aa175[_0xb6d697([0x74,0x68,0x65,0x6e])](()=>{_0x688854||_0x28c6c7(_0xb6d697([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5ab45e(){return _0x2a74c4[_0xb6d697([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb6d697([0x76,0x69,0x65,0x77])][_0xb6d697([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xb6d697([0x61,0x75,0x74,0x6f]);}function _0x2667bd(){_0x2a74c4[_0xb6d697([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb6d697([0x76,0x69,0x65,0x77])][_0xb6d697([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xb6d697([0x61,0x75,0x74,0x6f]);}}function _0xa7656c(_0x5848a0){const _0x24dc69=[new window[(_0xb6d697([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2af912=>setTimeout(_0x2af912,0x22a92a4e^_0xc6a944)),_0x3aa175[_0xb6d697([0x74,0x68,0x65,0x6e])](()=>new window[(_0xb6d697([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a43e6=>{let _0x4dfb4c=0x0;_0x2a74c4[_0xb6d697([0x6d,0x6f,0x64,0x65,0x6c])][_0xb6d697([0x6f,0x6e])](_0xb6d697([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x23d4b3,_0x11f7f0)=>{_0x11f7f0[0x0][_0xb6d697([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4dfb4c++,_0x4dfb4c==(0x22a0157a^_0xc6a944)&&(_0x5a43e6(),_0x23d4b3[_0xb6d697([0x6f,0x66,0x66])]());});}))];return window[_0xb6d697([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xb6d697([0x72,0x61,0x63,0x65])](_0x24dc69)[_0xb6d697([0x74,0x68,0x65,0x6e])](()=>_0x5848a0);}async function _0x178510(){await _0x3aa175,_0x2a74c4[_0xb6d697([0x6d,0x6f,0x64,0x65,0x6c])][_0xb6d697([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42a7f8,_0x2a74c4[_0xb6d697([0x6d,0x6f,0x64,0x65,0x6c])][_0xb6d697([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42a7f8,_0x2a74c4[_0xb6d697([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xb6d697([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xc6b8b2(_0x422fa0){const _0x127284=_0x5c8eef();_0x2a74c4[_0x127284]=_0xb6d697([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x422fa0,_0x422fa0!=_0xb6d697([0x56,0x61,0x6c,0x69,0x64])&&_0x178510();}function _0x5c8eef(){const _0x56a0e3=window[_0xb6d697([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xb6d697([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xb6d697([0x6e,0x6f,0x77])]())[_0xb6d697([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xb6d697([0x2e]),'');let _0x2bec4b=_0xb6d697([0x62]);for(let _0x1eae22=0x0;_0x1eae22<_0x56a0e3[_0xb6d697([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1eae22+=0x2){let _0x2d2f1d=window[_0xb6d697([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x56a0e3[_0xb6d697([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1eae22,_0x1eae22+0x2));_0x2d2f1d>=_0x4b76cd[_0xb6d697([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2d2f1d-=_0x4b76cd[_0xb6d697([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2bec4b+=_0x4b76cd[_0x2d2f1d];}return _0x2bec4b;}function _0x11800a(){const _0x1febe7=_0x2f8264[_0xb6d697([0x73,0x70,0x6c,0x69,0x74])](_0xb6d697([0x2e]));if(0x3!=_0x1febe7[_0xb6d697([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x81d841(_0x1febe7[0x1]);function _0x81d841(_0x23bd9b){const _0xe9ed8a=_0x249119(_0x23bd9b);return _0xe9ed8a&&_0x5198ab()?_0xe9ed8a:null;function _0x5198ab(){const _0xe2499d=_0xe9ed8a[_0xb6d697([0x6a,0x74,0x69])],_0xf7c842=window[_0xb6d697([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe2499d[_0xb6d697([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xe2499d[_0xb6d697([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e302b={..._0xe9ed8a,[_0xb6d697([0x6a,0x74,0x69])]:_0xe2499d[_0xb6d697([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xe2499d[_0xb6d697([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e302b[_0xb6d697([0x76,0x63])],_0x433287(_0x1e302b)==_0xf7c842;}}}async function _0x44838c(){let _0x4cd057=!0x0;try{const _0x3b8564=_0x2f8264[_0xb6d697([0x73,0x70,0x6c,0x69,0x74])](_0xb6d697([0x2e])),[_0x5db3f1,_0x293ba5,_0x169587]=_0x3b8564;return _0x5ee8ad(_0x5db3f1),await _0x274e5e(_0x5db3f1,_0x293ba5,_0x169587),_0x4cd057;}catch(_0x40f78c){return!0x1;}function _0x5ee8ad(_0x5aeae8){const _0xdbfb7a=_0x249119(_0x5aeae8);_0xdbfb7a&&_0xdbfb7a[_0xb6d697([0x61,0x6c,0x67])]==_0xb6d697([0x45,0x53,0x32,0x35,0x36])||(_0x4cd057=!0x1);}async function _0x274e5e(_0x374350,_0x2c59c8,_0x454b5a){const _0xaa1be4=window[_0xb6d697([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xb6d697([0x66,0x72,0x6f,0x6d])](_0x27370d(_0x454b5a),_0x23af3c=>_0x23af3c[_0xb6d697([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x39a7f6=new window[(_0xb6d697([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xb6d697([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x374350+_0xb6d697([0x2e])+_0x2c59c8),_0x43b55e=window[_0xb6d697([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xb6d697([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x43b55e)return;const _0x3f35e0=await _0x43b55e[_0xb6d697([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xb6d697([0x6a,0x77,0x6b]),_0x2ddcce,{[_0xb6d697([0x6e,0x61,0x6d,0x65])]:_0xb6d697([0x45,0x43,0x44,0x53,0x41]),[_0xb6d697([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xb6d697([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xb6d697([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x43b55e[_0xb6d697([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xb6d697([0x6e,0x61,0x6d,0x65])]:_0xb6d697([0x45,0x43,0x44,0x53,0x41]),[_0xb6d697([0x68,0x61,0x73,0x68])]:{[_0xb6d697([0x6e,0x61,0x6d,0x65])]:_0xb6d697([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3f35e0,_0xaa1be4,_0x39a7f6)||(_0x4cd057=!0x1);}}function _0x249119(_0x86b3a7){return _0x86b3a7[_0xb6d697([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xb6d697([0x65,0x79]))?JSON[_0xb6d697([0x70,0x61,0x72,0x73,0x65])](_0x27370d(_0x86b3a7)):null;}function _0x27370d(_0x4d0e5b){return window[_0xb6d697([0x61,0x74,0x6f,0x62])](_0x4d0e5b[_0xb6d697([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xb6d697([0x2b]))[_0xb6d697([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xb6d697([0x2f])));}function _0x433287(_0x40c02d){let _0x24ab58=0x1505;function _0x30693b(_0x21f866){for(let _0x6d858e=0x0;_0x6d858e<_0x21f866[_0xb6d697([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x6d858e++){const _0x556538=_0x21f866[_0xb6d697([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x6d858e);_0x24ab58=(_0x24ab58<<0x5)+_0x24ab58+_0x556538,_0x24ab58&=_0x24ab58;}}function _0x2ccd3e(_0x2c1111){Array[_0xb6d697([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2c1111)?_0x2c1111[_0xb6d697([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ccd3e):_0x2c1111&&typeof _0x2c1111==_0xb6d697([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xb6d697([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2c1111)[_0xb6d697([0x73,0x6f,0x72,0x74])]()[_0xb6d697([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1a13a5,_0x5b6be6])=>{_0x30693b(_0x1a13a5),_0x2ccd3e(_0x5b6be6);}):_0x30693b(window[_0xb6d697([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2c1111));}return _0x2ccd3e(_0x40c02d),_0x24ab58>>>0x0;}function _0x5365ed(_0x2e508c){return _0x2e508c[_0xb6d697([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xb6d697([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xb6d697([0x30]));}function _0x3cee17(_0x473c4c){return _0x473c4c[_0xb6d697([0x73,0x70,0x6c,0x69,0x74])]('')[_0xb6d697([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xb6d697([0x6a,0x6f,0x69,0x6e])]('');}function _0x42a7f8(){}function _0xb6d697(_0x4f2229){const _0x3a198a=_0x2dae;return _0x4f2229[_0x3a198a(0x1ab)](_0x207d53=>String[_0x3a198a(0x17a)](_0x207d53))[_0x3a198a(0x1c3)]('');}_0xc6b8b2(await _0xc6cce2());}(this);}[_0x5a4a31(0x19b)](){const _0x212d63=_0x5a4a31,_0xf665f4=this[_0x212d63(0x186)][_0x212d63(0x17c)][_0x212d63(0x1ad)];_0xf665f4[_0x212d63(0x19f)](_0x212d63(0x18d))&&_0xf665f4[_0x212d63(0x184)](_0x212d63(0x18d),{'allowAttributes':[_0x212d63(0x1ca)]}),_0xf665f4[_0x212d63(0x19f)](_0x212d63(0x19c))&&_0xf665f4[_0x212d63(0x184)](_0x212d63(0x19c),{'allowAttributes':[_0x212d63(0x1ca)]});}[_0x5a4a31(0x183)](){const _0x2906b4=_0x5a4a31,_0x4f00b4=this[_0x2906b4(0x186)];_0x4f00b4[_0x2906b4(0x192)][_0x2906b4(0x1b5)](_0x2906b4(0x1af))[_0x2906b4(0x198)]({'model':_0x2906b4(0x1ca),'view':_0x2906b4(0x1c2)}),_0x4f00b4[_0x2906b4(0x192)][_0x2906b4(0x1b5)](_0x2906b4(0x1a3))[_0x2906b4(0x1c9)]({'model':{'key':_0x2906b4(0x1ca),'value':_0x5aa072=>_0x5aa072[_0x2906b4(0x18e)](_0x2906b4(0x1c2))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x417725=_0x4f00b4[_0x2906b4(0x1ba)][_0x2906b4(0x1c8)](_0x2906b4(0x180));_0x417725&&this[_0x2906b4(0x176)](_0x417725,_0x2906b4(0x1bc),(_0x3dd30f,[_0x57df25,_0x530949])=>{const _0x56974f=_0x2906b4;_0x57df25[_0x56974f(0x173)](_0x56974f(0x1ca),_0x530949);});}[_0x5a4a31(0x1b1)](){const _0x5a7b41=_0x5a4a31,_0x3a134b=this[_0x5a7b41(0x186)][_0x5a7b41(0x1c6)][_0x5a7b41(0x1c8)](_0x5a7b41(0x1b8))||{},_0x59609f=this[_0x5a7b41(0x186)][_0x5a7b41(0x1c6)][_0x5a7b41(0x1c8)](_0x5a7b41(0x181))||'';this[_0x5a7b41(0x1a0)]=_0x54e07d(_0x4a649c[_0x5a7b41(0x1a5)],_0x5a7b41(0x1b9),{..._0x3a134b,'pubkey':_0x59609f,'ctx-name':_0x5a7b41(0x17f),'sourceList':'','imgOnly':_0x5a7b41(0x1c4),'removeCopyright':_0x5a7b41(0x1c4),'localeName':this[_0x5a7b41(0x186)][_0x5a7b41(0x189)][_0x5a7b41(0x1c1)],'externalSourcesEmbedCss':_0x5a7b41(0x1a2)}),this[_0x5a7b41(0x1a0)][_0x5a7b41(0x196)]=_0x21e77c=>{const _0x2be5e3=_0x5a7b41;if(_0x2be5e3(0x18c)==_0x21e77c)return _0x2be5e3(0x1b3);},_0x4a649c[_0x5a7b41(0x1a5)][_0x5a7b41(0x1b7)][_0x5a7b41(0x1aa)](this[_0x5a7b41(0x1a0)]);}[_0x5a4a31(0x1ae)](){const _0x19ba10=_0x5a4a31;this[_0x19ba10(0x191)]=_0x54e07d(_0x4a649c[_0x19ba10(0x1a5)],_0x19ba10(0x1b4),{'ctx-name':_0x19ba10(0x17f)}),_0x4a649c[_0x19ba10(0x1a5)][_0x19ba10(0x1b7)][_0x19ba10(0x1aa)](this[_0x19ba10(0x191)]);}[_0x5a4a31(0x174)](){const _0x4d9377=_0x5a4a31,_0x590373=this[_0x4d9377(0x186)][_0x4d9377(0x1ba)][_0x4d9377(0x1c8)](_0x4d9377(0x17e));_0x590373&&this[_0x4d9377(0x176)](_0x590373,_0x4d9377(0x199),()=>{const _0x4c824c=_0x4d9377,_0x144b54=this[_0x4c824c(0x186)][_0x4c824c(0x17c)][_0x4c824c(0x1a5)][_0x4c824c(0x1a7)][_0x4c824c(0x178)]();_0x144b54&&_0x144b54[_0x4c824c(0x18e)](_0x4c824c(0x1ca))&&this[_0x4c824c(0x186)][_0x4c824c(0x18b)][_0x4c824c(0x1a6)][_0x4c824c(0x1b2)](_0x4c824c(0x1b0),()=>{const _0x244848=_0x4c824c;_0xdef3e2(this[_0x244848(0x186)],_0x144b54);});});const _0x1d63ce=this[_0x4d9377(0x186)][_0x4d9377(0x1ba)][_0x4d9377(0x1c8)](_0x4d9377(0x1c5));_0x1d63ce&&this[_0x4d9377(0x176)](_0x1d63ce,_0x4d9377(0x199),()=>{const _0x3f04ae=_0x4d9377,_0x1e3e23=this[_0x3f04ae(0x186)][_0x3f04ae(0x17c)][_0x3f04ae(0x1a5)][_0x3f04ae(0x1a7)][_0x3f04ae(0x178)]();_0x1e3e23&&_0x1e3e23[_0x3f04ae(0x18e)](_0x3f04ae(0x1ca))&&this[_0x3f04ae(0x186)][_0x3f04ae(0x18b)][_0x3f04ae(0x1a6)][_0x3f04ae(0x1b2)](_0x3f04ae(0x1b0),()=>{const _0x20abc3=_0x3f04ae;_0xdef3e2(this[_0x20abc3(0x186)],_0x1e3e23);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x30652b,ObservableMixin as _0x129ddc}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x24c100}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x24a76b}from'ckeditor5/src/icons.js';import _0x4d39e2 from'./uploadcareimageeditformview.js';import _0x312137 from'../../utils/uploadutils.js';import{getImageUrls as _0x146b83,getImageDimension as _0x59bf8a}from'../../utils/editingutils.js';import{isAncestor as _0x43c35a}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
- _0x129ddc(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1f42ea,_0xdb8cbd,_0x52572e){super(),this['_editor']=_0x1f42ea,this['_dialog']=_0xdb8cbd,this['_imageElement']=_0x52572e,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 _0x283c3d=this['_imageElement'],_0x384fc4=_0x283c3d['getAttribute']('uploadcareImageId'),_0x110d74=_0x283c3d['getAttribute']('src');if(_0x384fc4)await this['_loadImageInfo'](_0x384fc4,_0x110d74);else{if(this['_imageCache']['has'](_0x110d74)){const _0x4f79b5=this['_imageCache']['get'](_0x110d74);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4f79b5['url'],this['imageDimension']=_0x4f79b5['dimension'],this['imageId']=_0x4f79b5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0xcb82ae}=this['_editor'],t=_0xcb82ae['t'],_0x5baa2c=new _0x4d39e2(_0xcb82ae,this['imageStatus'],this['_attributes']);_0x5baa2c['bind']('status')['to'](this,'imageStatus'),_0x5baa2c['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5baa2c['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5baa2c['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5baa2c,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x24a76b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5baa2c,'position':_0x24c100['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5baa2c['focus']();},'onHide':()=>{_0x5baa2c['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4c4a39=>!_0x43c35a(_0x4c4a39,_0x5baa2c['element'])}});}['_loadImageInfo'](_0xf08f48,_0x208e51){return _0x312137['getInfo'](_0xf08f48,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x26df52=>{const {width:_0x43959a,height:_0x1e12f1}=_0x26df52['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x208e51,this['imageDimension']={'width':_0x43959a,'height':_0x1e12f1},this['imageId']=_0xf08f48;})['catch'](_0x15e1e6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x15e1e6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x54c8d3,_0x229052){return this['_getImageAsFile'](_0x54c8d3)['then'](_0x152b3a=>_0x312137['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x229052['signal'],'file':_0x152b3a,'onProgress':_0x3274bc=>{_0x3274bc&&_0x3274bc['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3274bc['value']));}}))['then'](_0x5e3de5=>{const {width:_0x1e228f,height:_0x345f65}=_0x5e3de5['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5e3de5['cdnUrl'],this['imageDimension']={'width':_0x1e228f,'height':_0x345f65},this['imageId']=_0x5e3de5['uuid'],this['imageUploadProgress']=null;const _0x436b96=_0x54c8d3['getAttribute']('src');this['_imageCache']['set'](_0x436b96,{'id':_0x5e3de5['uuid'],'url':_0x5e3de5['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x15a5d4=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x15a5d4['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x30b23e,_0x34e7df){_0x30b23e['on']('apply',(_0x25705f,_0x567acf)=>{this['_replaceImage'](_0x34e7df,_0x567acf['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x30b23e['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x30b23e['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3bf687,_0xc3bf1c,_0x75b18c){const _0x35298d=this['_editor'],{width:_0x57f138,height:_0x50e876}=_0x59bf8a(_0xc3bf1c,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x6145b3,imageSources:_0x5817a7}=_0x146b83(_0xc3bf1c,_0x57f138);_0x35298d['model']['change'](_0xed7922=>{if('$graveyard'===_0x3bf687['root']['rootName']){_0x35298d['execute']('insertImage',{'imageType':_0x3bf687['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3bf687['getAttributes']()),'uploadcareImageId':_0x75b18c,'src':_0x6145b3,'sources':_0x5817a7,'width':_0x57f138,'height':_0x50e876}});const _0x118f4e=_0x3bf687['getChildren']();_0x3bf687=_0x35298d['model']['document']['selection']['getSelectedElement']();for(const _0xe7e247 of _0x118f4e)_0xed7922['append'](_0xed7922['cloneElement'](_0xe7e247),_0x3bf687);}else _0xed7922['setSelection'](_0x3bf687,'on'),_0x35298d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3bf687['getAttributes']()),'uploadcareImageId':_0x75b18c,'src':_0x6145b3,'sources':_0x5817a7,'width':_0x57f138,'height':_0x50e876},_0x3bf687);_0xed7922['setSelection'](_0x3bf687,'on');});}async['_getImageAsFile'](_0x509952){const _0x5c6d7a=_0x30652b['window'],_0x57a829=_0x30652b['document']['location']['href'],_0x3d49a2=new _0x5c6d7a['URL'](_0x509952['getAttribute']('src'),_0x57a829);if('data:'===_0x3d49a2['protocol']){const _0xbae0d1=_0x3d49a2['href']['split'](','),_0x1cd769=_0xbae0d1[0x0]['match'](/:(.*?);/)[0x1],_0x122f5e=_0x1cd769['split']('/')[0x1],_0x29b72a=_0x5c6d7a['atob'](_0xbae0d1[_0xbae0d1['length']-0x1]);let _0x6210c9=_0x29b72a['length'];const _0x54da6f=new _0x5c6d7a['Uint8Array'](_0x6210c9);for(;_0x6210c9--;)_0x54da6f[_0x6210c9]=_0x29b72a['charCodeAt'](_0x6210c9);return new _0x5c6d7a['File']([_0x54da6f],'image.'+_0x122f5e,{'type':_0x1cd769});}const _0x366b82=_0x3d49a2['href']['split']('/'),_0x5b6819=_0x366b82[_0x366b82['length']-0x1],_0x1a2899=_0x5b6819['split']('.')[0x1];return _0x5c6d7a['fetch'](_0x3d49a2['href'])['then'](_0x2536ba=>_0x2536ba['clone']()['blob']())['then'](_0x51bccb=>new _0x5c6d7a['File']([_0x51bccb],_0x5b6819,{'type':'image/'+_0x1a2899}));}}
23
+ import{global as _0x2e2eb6,ObservableMixin as _0x184f63}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x50ea8b}from'ckeditor5/src/ui.js';import _0x3af96d from'./uploadcareimageeditformview.js';import _0x10df08 from'../../utils/uploadutils.js';import _0x5a2f7d from'../../../theme/icons/uploadcare-image-edit.svg';import{getImageUrls as _0x413c05,getImageDimension as _0x2be066}from'../../utils/editingutils.js';import{isAncestor as _0x3d2395}from'../../utils/isancestor.js';export default class z extends/* #__PURE__ -- @preserve */
24
+ _0x184f63(){constructor(_0x96aed5,_0x495589,_0x3ef998){super(),this['_editor']=_0x96aed5,this['_dialog']=_0x495589,this['_imageElement']=_0x3ef998,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 _0x1893d3=this['_imageElement'],_0x59cd86=_0x1893d3['getAttribute']('uploadcareImageId'),_0x48ee90=_0x1893d3['getAttribute']('src');if(_0x59cd86)await this['_loadImageInfo'](_0x59cd86,_0x48ee90);else{if(this['_imageCache']['has'](_0x48ee90)){const _0x8a4497=this['_imageCache']['get'](_0x48ee90);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x8a4497['url'],this['imageDimension']=_0x8a4497['dimension'],this['imageId']=_0x8a4497['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x308dfe}=this['_editor'],t=_0x308dfe['t'],_0x293ee9=new _0x3af96d(_0x308dfe,this['imageStatus'],this['_attributes']);_0x293ee9['bind']('status')['to'](this,'imageStatus'),_0x293ee9['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x293ee9['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x293ee9['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x293ee9,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x5a2f7d,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x293ee9,'position':_0x50ea8b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x293ee9['focus']();},'onHide':()=>{_0x293ee9['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x12b28a=>!_0x3d2395(_0x12b28a,_0x293ee9['element'])}});}['_loadImageInfo'](_0x133e53,_0x3f4faa){return _0x10df08['getInfo'](_0x133e53,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1f58df=>{const {width:_0x2ebb97,height:_0x32d090}=_0x1f58df['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f4faa,this['imageDimension']={'width':_0x2ebb97,'height':_0x32d090},this['imageId']=_0x133e53;})['catch'](_0x4e7e6a=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4e7e6a['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x464f1f,_0x4b1d9d){return this['_getImageAsFile'](_0x464f1f)['then'](_0x4607a0=>_0x10df08['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4b1d9d['signal'],'file':_0x4607a0,'onProgress':_0x562f81=>{_0x562f81&&_0x562f81['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x562f81['value']));}}))['then'](_0x4131f1=>{const {width:_0x1272ee,height:_0x2e448f}=_0x4131f1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4131f1['cdnUrl'],this['imageDimension']={'width':_0x1272ee,'height':_0x2e448f},this['imageId']=_0x4131f1['uuid'],this['imageUploadProgress']=null;const _0x1797d7=_0x464f1f['getAttribute']('src');this['_imageCache']['set'](_0x1797d7,{'id':_0x4131f1['uuid'],'url':_0x4131f1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x151a0e=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x151a0e['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x9d5973,_0xa7ddfb){_0x9d5973['on']('apply',(_0xdc2b29,_0x3b38cc)=>{this['_replaceImage'](_0xa7ddfb,_0x3b38cc['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x9d5973['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x9d5973['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x380c31,_0x4413fc,_0x2f5ec8){const _0x54df6f=this['_editor'],{width:_0x329cfd,height:_0x4f7a24}=_0x2be066(_0x4413fc,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x570952,imageSources:_0x57cd24}=_0x413c05(_0x4413fc,_0x329cfd);_0x54df6f['model']['change'](_0x4d492a=>{if('$graveyard'===_0x380c31['root']['rootName']){_0x54df6f['execute']('insertImage',{'imageType':_0x380c31['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x380c31['getAttributes']()),'uploadcareImageId':_0x2f5ec8,'src':_0x570952,'sources':_0x57cd24,'width':_0x329cfd,'height':_0x4f7a24}});const _0x2ceb47=_0x380c31['getChildren']();_0x380c31=_0x54df6f['model']['document']['selection']['getSelectedElement']();for(const _0x1b7205 of _0x2ceb47)_0x4d492a['append'](_0x4d492a['cloneElement'](_0x1b7205),_0x380c31);}else _0x4d492a['setSelection'](_0x380c31,'on'),_0x54df6f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x380c31['getAttributes']()),'uploadcareImageId':_0x2f5ec8,'src':_0x570952,'sources':_0x57cd24,'width':_0x329cfd,'height':_0x4f7a24},_0x380c31);_0x4d492a['setSelection'](_0x380c31,'on');});}async['_getImageAsFile'](_0x2d405a){const _0x537bdb=_0x2e2eb6['window'],_0x492d5a=_0x2e2eb6['document']['location']['href'],_0x494b23=new _0x537bdb['URL'](_0x2d405a['getAttribute']('src'),_0x492d5a);if('data:'===_0x494b23['protocol']){const _0x36daf6=_0x494b23['href']['split'](','),_0x5e2069=_0x36daf6[0x0]['match'](/:(.*?);/)[0x1],_0x34a0a4=_0x5e2069['split']('/')[0x1],_0x37edaa=_0x537bdb['atob'](_0x36daf6[_0x36daf6['length']-0x1]);let _0x25bd75=_0x37edaa['length'];const _0x138ab6=new _0x537bdb['Uint8Array'](_0x25bd75);for(;_0x25bd75--;)_0x138ab6[_0x25bd75]=_0x37edaa['charCodeAt'](_0x25bd75);return new _0x537bdb['File']([_0x138ab6],'image.'+_0x34a0a4,{'type':_0x5e2069});}const _0x4e913c=_0x494b23['href']['split']('/'),_0x163af8=_0x4e913c[_0x4e913c['length']-0x1],_0x56043a=_0x163af8['split']('.')[0x1];return _0x537bdb['fetch'](_0x494b23['href'])['then'](_0x330805=>_0x330805['clone']()['blob']())['then'](_0x35004f=>new _0x537bdb['File']([_0x35004f],_0x163af8,{'type':'image/'+_0x56043a}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2806(_0x4b556e,_0xf81034){const _0x1913b0=_0x1913();return _0x2806=function(_0x2806da,_0xb6575f){_0x2806da=_0x2806da-0x157;let _0x2ea8eb=_0x1913b0[_0x2806da];return _0x2ea8eb;},_0x2806(_0x4b556e,_0xf81034);}function _0x1913(){const _0xae3730=['ck-uploadcare-theme','40geueqi','8166033MjJEKz','uc-cloud-image-editor','8emGrTs','93270xOXpUi','imageSrc','28726951IhreyZ','uc-light','5171292VcLlYW','149IiIuid','bindTemplate','image-edit','10821156OiRRMI','10brVlti','3166800edBZVE','11330wpIOxo','setTemplate','set'];_0x1913=function(){return _0xae3730;};return _0x1913();}(function(_0x21aae4,_0x2689d5){const _0x124aca=_0x2806,_0x11802c=_0x21aae4();while(!![]){try{const _0x16bba8=parseInt(_0x124aca(0x158))/0x1*(parseInt(_0x124aca(0x15e))/0x2)+parseInt(_0x124aca(0x166))/0x3*(parseInt(_0x124aca(0x162))/0x4)+parseInt(_0x124aca(0x15d))/0x5+-parseInt(_0x124aca(0x15b))/0x6+-parseInt(_0x124aca(0x157))/0x7+-parseInt(_0x124aca(0x165))/0x8*(parseInt(_0x124aca(0x163))/0x9)+parseInt(_0x124aca(0x15c))/0xa*(parseInt(_0x124aca(0x168))/0xb);if(_0x16bba8===_0x2689d5)break;else _0x11802c['push'](_0x11802c['shift']());}catch(_0x27b4e2){_0x11802c['push'](_0x11802c['shift']());}}}(_0x1913,0xe7ffb));import{View as _0x493504}from'ckeditor5/src/ui.js';export default class tt extends _0x493504{constructor(_0x504ec9,_0x4502c8){const _0xa21d7b=_0x2806;super(_0x504ec9);const _0x30528f=this[_0xa21d7b(0x159)];this[_0xa21d7b(0x160)](_0xa21d7b(0x167),''),this[_0xa21d7b(0x15f)]({'tag':_0xa21d7b(0x164),'attributes':{..._0x4502c8,'class':[_0xa21d7b(0x169),_0xa21d7b(0x161)],'ctx-name':_0xa21d7b(0x15a),'cdn-url':_0x30528f['to'](_0xa21d7b(0x167))}});}}
23
+ (function(_0x14a22f,_0x78271b){const _0x4f4427=_0x5ed3,_0x1113a4=_0x14a22f();while(!![]){try{const _0x592e59=parseInt(_0x4f4427(0x73))/0x1*(parseInt(_0x4f4427(0x6d))/0x2)+parseInt(_0x4f4427(0x78))/0x3+-parseInt(_0x4f4427(0x6f))/0x4+parseInt(_0x4f4427(0x6e))/0x5*(-parseInt(_0x4f4427(0x74))/0x6)+-parseInt(_0x4f4427(0x7f))/0x7*(parseInt(_0x4f4427(0x7b))/0x8)+parseInt(_0x4f4427(0x7a))/0x9*(-parseInt(_0x4f4427(0x76))/0xa)+parseInt(_0x4f4427(0x72))/0xb;if(_0x592e59===_0x78271b)break;else _0x1113a4['push'](_0x1113a4['shift']());}catch(_0x2703a6){_0x1113a4['push'](_0x1113a4['shift']());}}}(_0x1a84,0xc23b1));import{View as _0xad179e}from'ckeditor5/src/ui.js';function _0x5ed3(_0x49e1d0,_0x4b2440){const _0x1a84f5=_0x1a84();return _0x5ed3=function(_0x5ed326,_0x21369d){_0x5ed326=_0x5ed326-0x6d;let _0x37a32e=_0x1a84f5[_0x5ed326];return _0x37a32e;},_0x5ed3(_0x49e1d0,_0x4b2440);}function _0x1a84(){const _0x1c8db3=['image-edit','190vErimB','bindTemplate','2636268zxRKAf','uc-light','252729tbjNQF','8024zxTYit','set','imageSrc','ck-uploadcare-theme','3269ZPIsuZ','1331234bcTDBs','10uwIdlu','4306816CbNMyL','setTemplate','uc-cloud-image-editor','18709108NcsMUm','1FOlvmM','1112964HEsuYy'];_0x1a84=function(){return _0x1c8db3;};return _0x1a84();}export default class tt extends _0xad179e{constructor(_0x50ddda,_0x2ad7bf){const _0xdbd77=_0x5ed3;super(_0x50ddda);const _0x474b16=this[_0xdbd77(0x77)];this[_0xdbd77(0x7c)](_0xdbd77(0x7d),''),this[_0xdbd77(0x70)]({'tag':_0xdbd77(0x71),'attributes':{..._0x2ad7bf,'class':[_0xdbd77(0x79),_0xdbd77(0x7e)],'ctx-name':_0xdbd77(0x75),'cdn-url':_0x474b16['to'](_0xdbd77(0x7d))}});}}
@@ -2,8 +2,11 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
+ /**
6
+ * @module uploadcare/uploadcareimageedit/ui/uploadcareimageeditformerrorview
7
+ */
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
5
9
  import { View } from 'ckeditor5/src/ui.js';
6
- import type { Locale } from 'ckeditor5/src/utils.js';
7
10
  import type UploadcareImageEditController from './uploadcareimageeditcontroller.js';
8
11
  /**
9
12
  * A class representing the form error view of the Uploadcare image edit feature.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as et}from'ckeditor5/src/icons.js';import{ButtonView as _0xe2c891,IconView as at,View as _0x53b406}from'ckeditor5/src/ui.js';export default class rt extends _0x53b406{constructor(_0x170ff3){super(_0x170ff3);const t=_0x170ff3['t'];this['set']('errorType',null);const _0x2295c3=new _0xe2c891(_0x170ff3);_0x2295c3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2295c3['withText']=!0x0,_0x2295c3['class']='ck-button-action',_0x2295c3['on']('execute',()=>{this['fire']('retry');}),_0x2295c3['bind']('isVisible')['to'](this,'errorType',_0x136880=>'NotFound'!==_0x136880);const _0x243ef2=new at();_0x243ef2['content']=et,_0x243ef2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x57ddf5=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':[_0x243ef2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x57ddf5['to']('errorType',_0x4a0305=>t('NotFound'!==_0x4a0305?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2295c3]},{'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 _0x5e6a86,IconView as et,View as _0x8e8ffe}from'ckeditor5/src/ui.js';import at from'../../../theme/icons/error.svg';export default class rt extends _0x8e8ffe{constructor(_0x406b3f){super(_0x406b3f);const t=_0x406b3f['t'];this['set']('errorType',null);const _0x462642=new _0x5e6a86(_0x406b3f);_0x462642['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x462642['withText']=!0x0,_0x462642['class']='ck-button-action',_0x462642['on']('execute',()=>{this['fire']('retry');}),_0x462642['bind']('isVisible')['to'](this,'errorType',_0x40ae83=>'NotFound'!==_0x40ae83);const _0x32f1f7=new et();_0x32f1f7['content']=at,_0x32f1f7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4438a2=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':[_0x32f1f7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4438a2['to']('errorType',_0x3f10f5=>t('NotFound'!==_0x3f10f5?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x462642]},{'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 _0x1137fe,View as _0x1235bc}from'ckeditor5/src/ui.js';export default class ta extends _0x1235bc{constructor(_0x826c04){super(_0x826c04);const t=_0x826c04['t'],_0x52f2c4=this['bindTemplate'],_0x2cf6ba=new _0x1137fe();_0x2cf6ba['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':[_0x2cf6ba,{'text':_0x52f2c4['to']('imageUploadProgress',_0x5d718a=>t('Loading\x20image...')+'\x20('+(_0x5d718a||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 _0xe6c9b2,View as _0x1b41c4}from'ckeditor5/src/ui.js';export default class ta extends _0x1b41c4{constructor(_0xf3fce8){super(_0xf3fce8);const t=_0xf3fce8['t'],_0x489b17=this['bindTemplate'],_0x2bdc33=new _0xe6c9b2();_0x2bdc33['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':[_0x2bdc33,{'text':_0x489b17['to']('imageUploadProgress',_0x28cdfc=>t('Loading\x20image...')+'\x20('+(_0x28cdfc||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 _0x2acfd8=_0x3669;(function(_0x5f22e6,_0x36f634){const _0xbfbc2c=_0x3669,_0x36bf16=_0x5f22e6();while(!![]){try{const _0x5c4a3e=parseInt(_0xbfbc2c(0xcf))/0x1*(parseInt(_0xbfbc2c(0xc4))/0x2)+-parseInt(_0xbfbc2c(0xbc))/0x3+parseInt(_0xbfbc2c(0xb4))/0x4+parseInt(_0xbfbc2c(0xbd))/0x5+-parseInt(_0xbfbc2c(0xb9))/0x6+parseInt(_0xbfbc2c(0xd0))/0x7*(parseInt(_0xbfbc2c(0xd9))/0x8)+parseInt(_0xbfbc2c(0xb5))/0x9;if(_0x5c4a3e===_0x36f634)break;else _0x36bf16['push'](_0x36bf16['shift']());}catch(_0x123a45){_0x36bf16['push'](_0x36bf16['shift']());}}}(_0x1f5c,0x263a3));import{View as _0x12e8ce}from'ckeditor5/src/ui.js';import _0x303508 from'./uploadcareimageeditformloadingview.js';function _0x3669(_0x574fa3,_0x3c7d54){const _0x1f5c48=_0x1f5c();return _0x3669=function(_0x3669b3,_0x520eaa){_0x3669b3=_0x3669b3-0xb4;let _0x4ce354=_0x1f5c48[_0x3669b3];return _0x4ce354;},_0x3669(_0x574fa3,_0x3c7d54);}function _0x1f5c(){const _0x484530=['_errorView','fire','617376QbNAjS','target','apply','800529JCyrKI','991490doLCib','_items','change:status','disconnect','querySelector','_waitForImageEditorComponent','observe','2hhvobO','ready','render','_addErrorViewListeners','add','retry','cdnUrl','_loadingView','detail','_editingView','filter','46617agbZfb','127603kkRRhx','toLowerCase','_addUploadcareImageEditorListeners','ck-uploadcare-form','clear','_setView','createCollection','getFocusableElement','error','16UrIMnl','nodeName','_focusableView','set','uploading','focus','setTemplate','ck-reset_all-excluded','addEventListener','addedNodes','once','addMany','div','element','cancel','status','length','596976suFnDc','861309ezRMOF','uc-cloud-image-editor'];_0x1f5c=function(){return _0x484530;};return _0x1f5c();}import _0x19d456 from'./uploadcareimageeditformerrorview.js';import _0x3bbc67 from'./uploadcareimageeditformeditingview.js';import _0x1f5b88 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x1f5b88{[_0x2acfd8(0xbe)];[_0x2acfd8(0xcb)];[_0x2acfd8(0xb7)];[_0x2acfd8(0xcd)];[_0x2acfd8(0xdb)];constructor(_0xc5f76,_0x5c0724,_0x4c3618){const _0x211d31=_0x2acfd8;super(_0xc5f76),this[_0x211d31(0xbe)]=this[_0x211d31(0xd6)](),this[_0x211d31(0xcb)]=new _0x303508(_0xc5f76),this[_0x211d31(0xb7)]=new _0x19d456(_0xc5f76),this[_0x211d31(0xcd)]=new _0x3bbc67(_0xc5f76,_0x4c3618),this[_0x211d31(0xdb)]=new _0x12e8ce(_0xc5f76),this[_0x211d31(0xdb)][_0x211d31(0xdf)](this[_0x211d31(0xd7)]()),this[_0x211d31(0xdc)](_0x211d31(0xe8),_0x5c0724),this[_0x211d31(0xdf)]({'tag':_0x211d31(0xe5),'attributes':{'class':['ck',_0x211d31(0xe0),_0x211d31(0xd3)],'tabindex':'-1'},'children':this[_0x211d31(0xbe)]}),this[_0x211d31(0xd5)](),this[_0x211d31(0xe3)](_0x211d31(0xc6),()=>{const _0x341e04=_0x211d31;this[_0x341e04(0xc2)](this[_0x341e04(0xe6)],_0x4aab08=>{const _0x10f175=_0x341e04;this[_0x10f175(0xd2)](_0x4aab08);});}),this['on'](_0x211d31(0xbf),()=>{const _0xf4075c=_0x211d31;this[_0xf4075c(0xd5)]();}),this[_0x211d31(0xc7)]();}[_0x2acfd8(0xde)](){const _0x36aff5=_0x2acfd8;this[_0x36aff5(0xe6)][_0x36aff5(0xde)]();}[_0x2acfd8(0xd5)](){const _0x9b30f=_0x2acfd8;switch(this[_0x9b30f(0xbe)][_0x9b30f(0xd4)](),this[_0x9b30f(0xe8)]){case _0x9b30f(0xdd):this[_0x9b30f(0xbe)][_0x9b30f(0xc8)](this[_0x9b30f(0xcb)]);break;case _0x9b30f(0xd8):this[_0x9b30f(0xbe)][_0x9b30f(0xc8)](this[_0x9b30f(0xb7)]);break;case _0x9b30f(0xc5):this[_0x9b30f(0xbe)][_0x9b30f(0xe4)]([this[_0x9b30f(0xcd)],this[_0x9b30f(0xdb)]]);}}[_0x2acfd8(0xc2)](_0x1b5ab4,_0x21a126){const _0x58b80d=_0x2acfd8,_0x52a644=_0x58b80d(0xb6),_0x39365c=_0x1b5ab4[_0x58b80d(0xc1)](_0x52a644);if(_0x39365c)return _0x21a126(_0x39365c);const _0x5dde5b=new MutationObserver(_0x328114=>{const _0x335936=_0x58b80d,_0x263efe=_0x328114[_0x335936(0xce)](_0x45b918=>_0x45b918[_0x335936(0xba)]===_0x1b5ab4&&_0x45b918[_0x335936(0xe2)][_0x335936(0xe9)]>0x0&&_0x45b918[_0x335936(0xe2)][0x0][_0x335936(0xda)][_0x335936(0xd1)]()===_0x52a644);_0x263efe[_0x335936(0xe9)]&&(_0x5dde5b[_0x335936(0xc0)](),_0x21a126(_0x263efe[0x0][_0x335936(0xe2)][0x0]));});_0x5dde5b[_0x58b80d(0xc3)](_0x1b5ab4,{'childList':!0x0,'subtree':!0x0});}[_0x2acfd8(0xd2)](_0x4c0228){const _0x5ede0f=_0x2acfd8;_0x4c0228[_0x5ede0f(0xe1)](_0x5ede0f(0xbb),_0x4cd851=>{const _0x3a84d0=_0x5ede0f;this[_0x3a84d0(0xb8)](_0x3a84d0(0xbb),{'imageSrc':_0x4cd851[_0x3a84d0(0xcc)][_0x3a84d0(0xca)]});}),_0x4c0228[_0x5ede0f(0xe1)](_0x5ede0f(0xe7),()=>{const _0x3297f1=_0x5ede0f;this[_0x3297f1(0xb8)](_0x3297f1(0xe7));});}[_0x2acfd8(0xc7)](){const _0x43599f=_0x2acfd8;this[_0x43599f(0xb7)]['on'](_0x43599f(0xc9),()=>{const _0x4e3478=_0x43599f;this[_0x4e3478(0xb8)](_0x4e3478(0xc9));});}}
23
+ function _0x4a73(){const _0x248845=['length','490788wCWZxJ','addEventListener','once','error','createCollection','_waitForImageEditorComponent','clear','ck-uploadcare-form','_errorView','fire','setTemplate','9FTwszk','addMany','div','8pActYJ','target','uploading','change:status','disconnect','cancel','4022722bDVfPK','_addErrorViewListeners','uc-cloud-image-editor','_items','2467990AsSKYs','_addUploadcareImageEditorListeners','ready','retry','7026ZlLUdl','element','nodeName','25004rdwNww','add','focus','_focusableView','getFocusableElement','65159uHizlV','_setView','render','_editingView','245linoCu','ck-reset_all-excluded','observe','set','addedNodes','status','toLowerCase','_loadingView','cdnUrl','apply','querySelector','detail','4UcAqXL','517930ZrxhRI','filter'];_0x4a73=function(){return _0x248845;};return _0x4a73();}const _0x5d9542=_0xa3d8;(function(_0x3ab758,_0x182dd1){const _0x48ba37=_0xa3d8,_0xefebdf=_0x3ab758();while(!![]){try{const _0x58e03e=parseInt(_0x48ba37(0x118))/0x1+-parseInt(_0x48ba37(0x129))/0x2+-parseInt(_0x48ba37(0xf4))/0x3*(-parseInt(_0x48ba37(0x128))/0x4)+-parseInt(_0x48ba37(0x11c))/0x5*(-parseInt(_0x48ba37(0x110))/0x6)+parseInt(_0x48ba37(0x113))/0x7*(-parseInt(_0x48ba37(0x102))/0x8)+-parseInt(_0x48ba37(0xff))/0x9*(parseInt(_0x48ba37(0x10c))/0xa)+parseInt(_0x48ba37(0x108))/0xb;if(_0x58e03e===_0x182dd1)break;else _0xefebdf['push'](_0xefebdf['shift']());}catch(_0x1479ca){_0xefebdf['push'](_0xefebdf['shift']());}}}(_0x4a73,0x22ca4));function _0xa3d8(_0x322d60,_0x148bf4){const _0x4a73ea=_0x4a73();return _0xa3d8=function(_0xa3d8f9,_0x407b19){_0xa3d8f9=_0xa3d8f9-0xf4;let _0x2023b9=_0x4a73ea[_0xa3d8f9];return _0x2023b9;},_0xa3d8(_0x322d60,_0x148bf4);}import{View as _0x1a1f82}from'ckeditor5/src/ui.js';import _0x141f7f from'./uploadcareimageeditformloadingview.js';import _0x2e2346 from'./uploadcareimageeditformerrorview.js';import _0x225ae0 from'./uploadcareimageeditformeditingview.js';import _0x500fa3 from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export default class Z extends _0x500fa3{constructor(_0xa39948,_0xbb4bb5,_0x10eae5){const _0xbbe6e6=_0xa3d8;super(_0xa39948),this[_0xbbe6e6(0x10b)]=this[_0xbbe6e6(0xf8)](),this[_0xbbe6e6(0x123)]=new _0x141f7f(_0xa39948),this[_0xbbe6e6(0xfc)]=new _0x2e2346(_0xa39948),this[_0xbbe6e6(0x11b)]=new _0x225ae0(_0xa39948,_0x10eae5),this[_0xbbe6e6(0x116)]=new _0x1a1f82(_0xa39948),this[_0xbbe6e6(0x116)][_0xbbe6e6(0xfe)](this[_0xbbe6e6(0x117)]()),this[_0xbbe6e6(0x11f)](_0xbbe6e6(0x121),_0xbb4bb5),this[_0xbbe6e6(0xfe)]({'tag':_0xbbe6e6(0x101),'attributes':{'class':['ck',_0xbbe6e6(0x11d),_0xbbe6e6(0xfb)],'tabindex':'-1'},'children':this[_0xbbe6e6(0x10b)]}),this[_0xbbe6e6(0x119)](),this[_0xbbe6e6(0xf6)](_0xbbe6e6(0x11a),()=>{const _0x298ef9=_0xbbe6e6;this[_0x298ef9(0xf9)](this[_0x298ef9(0x111)],_0x1d6ac4=>{const _0xa5b980=_0x298ef9;this[_0xa5b980(0x10d)](_0x1d6ac4);});}),this['on'](_0xbbe6e6(0x105),()=>{const _0x133541=_0xbbe6e6;this[_0x133541(0x119)]();}),this[_0xbbe6e6(0x109)]();}[_0x5d9542(0x115)](){const _0x462449=_0x5d9542;this[_0x462449(0x111)][_0x462449(0x115)]();}[_0x5d9542(0x119)](){const _0x56695a=_0x5d9542;switch(this[_0x56695a(0x10b)][_0x56695a(0xfa)](),this[_0x56695a(0x121)]){case _0x56695a(0x104):this[_0x56695a(0x10b)][_0x56695a(0x114)](this[_0x56695a(0x123)]);break;case _0x56695a(0xf7):this[_0x56695a(0x10b)][_0x56695a(0x114)](this[_0x56695a(0xfc)]);break;case _0x56695a(0x10e):this[_0x56695a(0x10b)][_0x56695a(0x100)]([this[_0x56695a(0x11b)],this[_0x56695a(0x116)]]);}}[_0x5d9542(0xf9)](_0x55d677,_0x34922a){const _0x43923c=_0x5d9542,_0x2d7395=_0x43923c(0x10a),_0x37a653=_0x55d677[_0x43923c(0x126)](_0x2d7395);if(_0x37a653)return _0x34922a(_0x37a653);const _0x4225c1=new MutationObserver(_0xde70c6=>{const _0x2adfb1=_0x43923c,_0x5310a8=_0xde70c6[_0x2adfb1(0x12a)](_0x46deac=>_0x46deac[_0x2adfb1(0x103)]===_0x55d677&&_0x46deac[_0x2adfb1(0x120)][_0x2adfb1(0x12b)]>0x0&&_0x46deac[_0x2adfb1(0x120)][0x0][_0x2adfb1(0x112)][_0x2adfb1(0x122)]()===_0x2d7395);_0x5310a8[_0x2adfb1(0x12b)]&&(_0x4225c1[_0x2adfb1(0x106)](),_0x34922a(_0x5310a8[0x0][_0x2adfb1(0x120)][0x0]));});_0x4225c1[_0x43923c(0x11e)](_0x55d677,{'childList':!0x0,'subtree':!0x0});}[_0x5d9542(0x10d)](_0x27c04a){const _0x11de68=_0x5d9542;_0x27c04a[_0x11de68(0xf5)](_0x11de68(0x125),_0x32a29f=>{const _0x41b1c1=_0x11de68;this[_0x41b1c1(0xfd)](_0x41b1c1(0x125),{'imageSrc':_0x32a29f[_0x41b1c1(0x127)][_0x41b1c1(0x124)]});}),_0x27c04a[_0x11de68(0xf5)](_0x11de68(0x107),()=>{const _0x198ebd=_0x11de68;this[_0x198ebd(0xfd)](_0x198ebd(0x107));});}[_0x5d9542(0x109)](){const _0x42c6a6=_0x5d9542;this[_0x42c6a6(0xfc)]['on'](_0x42c6a6(0x10f),()=>{const _0x1cead6=_0x42c6a6;this[_0x1cead6(0xfd)](_0x1cead6(0x10f));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x174044=_0x326a;(function(_0x31ea54,_0x1ea430){const _0x1561a7=_0x326a,_0x273226=_0x31ea54();while(!![]){try{const _0x1a2d14=-parseInt(_0x1561a7(0x1a9))/0x1*(parseInt(_0x1561a7(0x19c))/0x2)+-parseInt(_0x1561a7(0x1aa))/0x3*(parseInt(_0x1561a7(0x1ae))/0x4)+-parseInt(_0x1561a7(0x1a2))/0x5+parseInt(_0x1561a7(0x1a1))/0x6+parseInt(_0x1561a7(0x1a3))/0x7*(parseInt(_0x1561a7(0x1b0))/0x8)+-parseInt(_0x1561a7(0x1af))/0x9+-parseInt(_0x1561a7(0x19a))/0xa*(-parseInt(_0x1561a7(0x1ac))/0xb);if(_0x1a2d14===_0x1ea430)break;else _0x273226['push'](_0x273226['shift']());}catch(_0x573439){_0x273226['push'](_0x273226['shift']());}}}(_0x3a80,0x9a436));import{Command as _0x3147f1}from'ckeditor5/src/core.js';import{Dialog as _0x467725}from'ckeditor5/src/ui.js';function _0x3a80(){const _0x20d2e2=['81252ZtjQHb','837882WpIoXU','8nQExEt','set','plugins','element','execute','editor','model','unbind','get','bind','getSelectedElement','391910vsySrr','document','396692gTHzcI','isActive','uploadcare.allowExternalImagesEditing','_isEditable','imageInline','4705680GoxoPO','6047955LugLiS','1839229bnDloM','refresh','isEnabled','requires','selection','config','4LInfed','18tbzswl','imageEditController','506DyRzqM','imageBlock'];_0x3a80=function(){return _0x20d2e2;};return _0x3a80();}import _0x49615e from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x1b14e9}from'../utils/editingutils.js';function _0x326a(_0x212fbe,_0xe5930){const _0x3a804c=_0x3a80();return _0x326a=function(_0x326a59,_0x410139){_0x326a59=_0x326a59-0x193;let _0x122017=_0x3a804c[_0x326a59];return _0x122017;},_0x326a(_0x212fbe,_0xe5930);}export default class J extends _0x3147f1{[_0x174044(0x1ab)];static get[_0x174044(0x1a6)](){return[_0x467725];}[_0x174044(0x19f)];constructor(_0xd564a6){const _0x1472c2=_0x174044;super(_0xd564a6),this[_0x1472c2(0x1ab)]=void 0x0,this[_0x1472c2(0x19f)]=_0x1b14e9(_0xd564a6[_0x1472c2(0x1a8)][_0x1472c2(0x197)](_0x1472c2(0x19e))||[]),this[_0x1472c2(0x1b1)]({'isActive':!0x1});}[_0x174044(0x1a4)](){const _0x246e71=_0x174044,_0x4cc8fd=this[_0x246e71(0x194)][_0x246e71(0x195)][_0x246e71(0x19b)][_0x246e71(0x1a7)][_0x246e71(0x199)]();this[_0x246e71(0x1a5)]=this[_0x246e71(0x19f)](_0x4cc8fd);}[_0x174044(0x193)](){const _0x4eac82=_0x174044;this[_0x4eac82(0x1ab)]&&(this[_0x4eac82(0x196)](_0x4eac82(0x19d)),this[_0x4eac82(0x1ab)]=void 0x0);const _0x496d53=this[_0x4eac82(0x194)][_0x4eac82(0x195)][_0x4eac82(0x19b)][_0x4eac82(0x1a7)][_0x4eac82(0x199)]();_0x496d53&&(_0x496d53['is'](_0x4eac82(0x1b3),_0x4eac82(0x1ad))||_0x496d53['is'](_0x4eac82(0x1b3),_0x4eac82(0x1a0)))&&(this[_0x4eac82(0x1ab)]=new _0x49615e(this[_0x4eac82(0x194)],this[_0x4eac82(0x194)][_0x4eac82(0x1b2)][_0x4eac82(0x197)](_0x467725),_0x496d53),this[_0x4eac82(0x198)](_0x4eac82(0x19d))['to'](this[_0x4eac82(0x1ab)],_0x4eac82(0x19d)));}}
23
+ function _0x97f5(_0x4d2a58,_0x52c6b2){const _0x4d200d=_0x4d20();return _0x97f5=function(_0x97f500,_0x201f56){_0x97f500=_0x97f500-0x150;let _0x1b5d99=_0x4d200d[_0x97f500];return _0x1b5d99;},_0x97f5(_0x4d2a58,_0x52c6b2);}const _0x2393f1=_0x97f5;(function(_0x1ee6e0,_0x2edb6b){const _0x497a4b=_0x97f5,_0x290dca=_0x1ee6e0();while(!![]){try{const _0x3d0379=parseInt(_0x497a4b(0x15b))/0x1*(-parseInt(_0x497a4b(0x157))/0x2)+-parseInt(_0x497a4b(0x158))/0x3*(-parseInt(_0x497a4b(0x166))/0x4)+parseInt(_0x497a4b(0x150))/0x5+parseInt(_0x497a4b(0x167))/0x6*(parseInt(_0x497a4b(0x164))/0x7)+-parseInt(_0x497a4b(0x169))/0x8+parseInt(_0x497a4b(0x151))/0x9*(parseInt(_0x497a4b(0x16f))/0xa)+parseInt(_0x497a4b(0x156))/0xb;if(_0x3d0379===_0x2edb6b)break;else _0x290dca['push'](_0x290dca['shift']());}catch(_0x5f12ac){_0x290dca['push'](_0x290dca['shift']());}}}(_0x4d20,0x8c910));import{Command as _0x5bf593}from'ckeditor5/src/core.js';import{Dialog as _0x5be8e7}from'ckeditor5/src/ui.js';import _0x5299b2 from'./ui/uploadcareimageeditcontroller.js';function _0x4d20(){const _0x37a712=['154QwQpBt','48llhEPu','isEnabled','editor','7789sfwsWM','selection','set','model','imageEditController','execute','imageBlock','isActive','unbind','1806ejxfuv','document','228392WKWkvs','3774OkadYK','getSelectedElement','4800392vKygPy','imageInline','requires','config','plugins','element','640xtyIJQ','uploadcare.allowExternalImagesEditing','2090890sOmxDb','37872olmWWX','get','refresh','bind','_isEditable','134442EKnTqM'];_0x4d20=function(){return _0x37a712;};return _0x4d20();}import{createEditabilityChecker as _0x420153}from'../utils/editingutils.js';export default class J extends _0x5bf593{static get[_0x2393f1(0x16b)](){return[_0x5be8e7];}constructor(_0x3b9730){const _0x55db76=_0x2393f1;super(_0x3b9730),this[_0x55db76(0x15f)]=void 0x0,this[_0x55db76(0x155)]=_0x420153(_0x3b9730[_0x55db76(0x16c)][_0x55db76(0x152)](_0x55db76(0x170))||[]),this[_0x55db76(0x15d)]({'isActive':!0x1});}[_0x2393f1(0x153)](){const _0x5f2d33=_0x2393f1,_0x3ee2b6=this[_0x5f2d33(0x15a)][_0x5f2d33(0x15e)][_0x5f2d33(0x165)][_0x5f2d33(0x15c)][_0x5f2d33(0x168)]();this[_0x5f2d33(0x159)]=this[_0x5f2d33(0x155)](_0x3ee2b6);}[_0x2393f1(0x160)](){const _0x1ffd24=_0x2393f1;this[_0x1ffd24(0x15f)]&&(this[_0x1ffd24(0x163)](_0x1ffd24(0x162)),this[_0x1ffd24(0x15f)]=void 0x0);const _0x869157=this[_0x1ffd24(0x15a)][_0x1ffd24(0x15e)][_0x1ffd24(0x165)][_0x1ffd24(0x15c)][_0x1ffd24(0x168)]();_0x869157&&(_0x869157['is'](_0x1ffd24(0x16e),_0x1ffd24(0x161))||_0x869157['is'](_0x1ffd24(0x16e),_0x1ffd24(0x16a)))&&(this[_0x1ffd24(0x15f)]=new _0x5299b2(this[_0x1ffd24(0x15a)],this[_0x1ffd24(0x15a)][_0x1ffd24(0x16d)][_0x1ffd24(0x152)](_0x5be8e7),_0x869157),this[_0x1ffd24(0x154)](_0x1ffd24(0x162))['to'](this[_0x1ffd24(0x15f)],_0x1ffd24(0x162)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1eec6c=_0x2277;function _0x2277(_0x374645,_0x3ffa2f){const _0x221d9e=_0x221d();return _0x2277=function(_0x2277e1,_0x2d7331){_0x2277e1=_0x2277e1-0x160;let _0x32030b=_0x221d9e[_0x2277e1];return _0x32030b;},_0x2277(_0x374645,_0x3ffa2f);}(function(_0x4a39a7,_0x39165a){const _0x18a030=_0x2277,_0x4004ba=_0x4a39a7();while(!![]){try{const _0x5a38de=-parseInt(_0x18a030(0x16f))/0x1*(parseInt(_0x18a030(0x175))/0x2)+parseInt(_0x18a030(0x164))/0x3*(-parseInt(_0x18a030(0x16b))/0x4)+parseInt(_0x18a030(0x16a))/0x5*(-parseInt(_0x18a030(0x16c))/0x6)+parseInt(_0x18a030(0x179))/0x7*(parseInt(_0x18a030(0x166))/0x8)+parseInt(_0x18a030(0x178))/0x9*(-parseInt(_0x18a030(0x161))/0xa)+parseInt(_0x18a030(0x176))/0xb*(-parseInt(_0x18a030(0x160))/0xc)+-parseInt(_0x18a030(0x174))/0xd*(-parseInt(_0x18a030(0x165))/0xe);if(_0x5a38de===_0x39165a)break;else _0x4004ba['push'](_0x4004ba['shift']());}catch(_0x4b64c8){_0x4004ba['push'](_0x4004ba['shift']());}}}(_0x221d,0x61707));function _0x221d(){const _0x462c57=['isPremiumPlugin','init','ImageUtils','117VBaEPv','446GqluNg','584881UoVgfr','UploadcareImageEditEditing','1344321sYLYdU','7TUwjZP','12akLPcF','10qtHGoW','add','uploadcareImageEdit','3HJnQGf','2303518kLqtAG','1091072MnOwUA','uploadcareImageReplace','pluginName','requires','2961925pRXtno','302096gVSXiB','6dAztKv','isOfficialPlugin','commands','1559GryXsL','ImageEditing'];_0x221d=function(){return _0x462c57;};return _0x221d();}import{Plugin as _0x4af499}from'ckeditor5/src/core.js';import{Notification as _0x371e7f}from'ckeditor5/src/ui.js';import _0x4bb0f7 from'./uploadcareimageeditcommand.js';import _0xc13a1a from'./uploadcareimagereplacecommand.js';import _0x37dcd5 from'../uploadcareediting.js';export default class g extends _0x4af499{static get[_0x1eec6c(0x168)](){const _0x4b835f=_0x1eec6c;return _0x4b835f(0x177);}static get[_0x1eec6c(0x169)](){const _0x1b1998=_0x1eec6c;return[_0x37dcd5,_0x371e7f,_0x1b1998(0x173),_0x1b1998(0x170)];}static get[_0x1eec6c(0x16d)](){return!0x0;}static get[_0x1eec6c(0x171)](){return!0x0;}[_0x1eec6c(0x172)](){const _0x234f82=_0x1eec6c,{editor:_0x37c7d0}=this;_0x37c7d0[_0x234f82(0x16e)][_0x234f82(0x162)](_0x234f82(0x163),new _0x4bb0f7(_0x37c7d0)),_0x37c7d0[_0x234f82(0x16e)][_0x234f82(0x162)](_0x234f82(0x167),new _0xc13a1a(_0x37c7d0));}}
23
+ const _0x48339e=_0x4a73;(function(_0x18602c,_0x429806){const _0x2e89bd=_0x4a73,_0x262209=_0x18602c();while(!![]){try{const _0xe64460=parseInt(_0x2e89bd(0x106))/0x1*(-parseInt(_0x2e89bd(0xf6))/0x2)+-parseInt(_0x2e89bd(0xf8))/0x3*(-parseInt(_0x2e89bd(0x109))/0x4)+parseInt(_0x2e89bd(0x108))/0x5+parseInt(_0x2e89bd(0xfe))/0x6*(-parseInt(_0x2e89bd(0x10a))/0x7)+parseInt(_0x2e89bd(0xfb))/0x8*(parseInt(_0x2e89bd(0xfd))/0x9)+-parseInt(_0x2e89bd(0x105))/0xa+parseInt(_0x2e89bd(0x104))/0xb*(-parseInt(_0x2e89bd(0xff))/0xc);if(_0xe64460===_0x429806)break;else _0x262209['push'](_0x262209['shift']());}catch(_0x53fbf3){_0x262209['push'](_0x262209['shift']());}}}(_0x23db,0x2d3d5));import{Plugin as _0x491f89}from'ckeditor5/src/core.js';import{Notification as _0x4e9c2d}from'ckeditor5/src/ui.js';import _0x90beed from'./uploadcareimageeditcommand.js';function _0x4a73(_0x59926f,_0xd5e6cf){const _0x23db77=_0x23db();return _0x4a73=function(_0x4a738d,_0x15a240){_0x4a738d=_0x4a738d-0xf4;let _0x429e1c=_0x23db77[_0x4a738d];return _0x429e1c;},_0x4a73(_0x59926f,_0xd5e6cf);}import _0x2f58c4 from'./uploadcareimagereplacecommand.js';import _0x5020f5 from'../uploadcareediting.js';function _0x23db(){const _0x3b73e6=['26CmcvJH','isPremiumPlugin','3HPSjOJ','UploadcareImageEditEditing','uploadcareImageReplace','237584UiQaxx','ImageEditing','99FudyhG','238362TjmySD','7296dBGOhY','requires','isOfficialPlugin','pluginName','ImageUtils','4642NErDrj','2620590iHZRny','9841dahgFX','init','1586685kBMXSq','910324BLdyjy','7toViDO','uploadcareImageEdit','add','commands'];_0x23db=function(){return _0x3b73e6;};return _0x23db();}export default class m extends _0x491f89{static get[_0x48339e(0x102)](){const _0x1a2c7a=_0x48339e;return _0x1a2c7a(0xf9);}static get[_0x48339e(0x100)](){const _0x40719e=_0x48339e;return[_0x5020f5,_0x4e9c2d,_0x40719e(0x103),_0x40719e(0xfc)];}static get[_0x48339e(0x101)](){return!0x0;}static get[_0x48339e(0xf7)](){return!0x0;}[_0x48339e(0x107)](){const _0x4e20d8=_0x48339e,{editor:_0x5ba97e}=this;_0x5ba97e[_0x4e20d8(0xf5)][_0x4e20d8(0xf4)](_0x4e20d8(0x10b),new _0x90beed(_0x5ba97e)),_0x5ba97e[_0x4e20d8(0xf5)][_0x4e20d8(0xf4)](_0x4e20d8(0xfa),new _0x2f58c4(_0x5ba97e));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x221c6b}from'ckeditor5/src/core.js';import{ButtonView as _0x4d1c8c}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x245e2a}from'ckeditor5/src/icons.js';import{createElement as _0x55ef93}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class j extends _0x221c6b{['_imageCache']=new Map();static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0x112ab2=this['editor'];_0x112ab2['ui']['componentFactory']['add']('uploadcareImageEdit',_0x457256=>{const _0x237884=_0x112ab2['commands']['get']('uploadcareImageEdit'),_0x158ac2=new _0x4d1c8c(_0x457256),t=_0x457256['t'];return _0x158ac2['set']({'icon':_0x245e2a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x158ac2['bind']('isEnabled')['to'](_0x237884),_0x158ac2['bind']('isOn')['to'](_0x237884,'isActive'),this['listenTo'](_0x158ac2,'execute',()=>{_0x112ab2['execute']('uploadcareImageEdit'),_0x112ab2['editing']['view']['focus']();}),_0x158ac2;}),this['_initConfig']();}['_initConfig'](){const _0x3c1da0=_0x55ef93(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x3c1da0),this['listenTo'](this['editor'],'destroy',()=>{_0x3c1da0['remove']();});}}
23
+ import{Plugin as _0x15bc00}from'ckeditor5/src/core.js';import{ButtonView as _0x30194d}from'ckeditor5/src/ui.js';import{createElement as _0x17d946}from'ckeditor5/src/utils.js';import _0x5764a6 from'../../theme/icons/uploadcare-image-edit.svg';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export default class g extends _0x15bc00{constructor(){super(...arguments),this['_imageCache']=new Map();}static get['pluginName'](){return'UploadcareImageEditUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['imageCache'](){return this['_imageCache'];}['init'](){const _0xfcb3a=this['editor'];_0xfcb3a['ui']['componentFactory']['add']('uploadcareImageEdit',_0x326d2a=>{const _0x200fc1=_0xfcb3a['commands']['get']('uploadcareImageEdit'),_0x25f273=new _0x30194d(_0x326d2a),t=_0x326d2a['t'];return _0x25f273['set']({'icon':_0x5764a6,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x25f273['bind']('isEnabled')['to'](_0x200fc1),_0x25f273['bind']('isOn')['to'](_0x200fc1,'isActive'),this['listenTo'](_0x25f273,'execute',()=>{_0xfcb3a['execute']('uploadcareImageEdit'),_0xfcb3a['editing']['view']['focus']();}),_0x25f273;}),this['_initConfig']();}['_initConfig'](){const _0x42a9cf=_0x17d946(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x42a9cf),this['listenTo'](this['editor'],'destroy',()=>{_0x42a9cf['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44747b=_0x3811;(function(_0x2d8dbc,_0x38212e){const _0x1d83e5=_0x3811,_0x33fe8a=_0x2d8dbc();while(!![]){try{const _0x47d882=-parseInt(_0x1d83e5(0x1eb))/0x1+parseInt(_0x1d83e5(0x1f1))/0x2+parseInt(_0x1d83e5(0x1f5))/0x3+-parseInt(_0x1d83e5(0x1ed))/0x4+parseInt(_0x1d83e5(0x1f3))/0x5*(-parseInt(_0x1d83e5(0x1f6))/0x6)+parseInt(_0x1d83e5(0x1e5))/0x7*(-parseInt(_0x1d83e5(0x1ee))/0x8)+parseInt(_0x1d83e5(0x1f4))/0x9*(parseInt(_0x1d83e5(0x1e2))/0xa);if(_0x47d882===_0x38212e)break;else _0x33fe8a['push'](_0x33fe8a['shift']());}catch(_0x56dacb){_0x33fe8a['push'](_0x33fe8a['shift']());}}}(_0x4de8,0x826c4));import{Command as _0x3fcf52}from'ckeditor5/src/core.js';function _0x3811(_0x3c8b25,_0x30c082){const _0x4de85f=_0x4de8();return _0x3811=function(_0x381107,_0x343d00){_0x381107=_0x381107-0x1de;let _0xffca5c=_0x4de85f[_0x381107];return _0xffca5c;},_0x3811(_0x3c8b25,_0x30c082);}export default class O extends _0x3fcf52{[_0x44747b(0x1de)](){const _0x393239=_0x44747b,_0x306bb9=this[_0x393239(0x1ea)][_0x393239(0x1e8)][_0x393239(0x1e4)][_0x393239(0x1ef)][_0x393239(0x1e3)]();this[_0x393239(0x1e9)]=Boolean(_0x306bb9&&(_0x306bb9['is'](_0x393239(0x1df),_0x393239(0x1f2))||_0x306bb9['is'](_0x393239(0x1df),_0x393239(0x1e0))));}[_0x44747b(0x1ec)](_0x214c22){const _0x30e202=_0x44747b,_0x5cf8f5=this[_0x30e202(0x1ea)][_0x30e202(0x1e8)][_0x30e202(0x1e4)][_0x30e202(0x1ef)][_0x30e202(0x1e3)]();this[_0x30e202(0x1ea)][_0x30e202(0x1e8)][_0x30e202(0x1f7)](_0xecddf1=>{const _0x3d4d52=_0x30e202;_0xecddf1[_0x3d4d52(0x1e6)](_0x214c22,_0x5cf8f5),_0xecddf1[_0x3d4d52(0x1e7)](_0x3d4d52(0x1e1),_0x5cf8f5),_0xecddf1[_0x3d4d52(0x1e7)](_0x3d4d52(0x1f0),_0x5cf8f5);});}}function _0x4de8(){const _0x41d5e2=['change','refresh','element','imageInline','srcset','1290JqoBYP','getSelectedElement','document','3591mvoVIT','setAttributes','removeAttribute','model','isEnabled','editor','708481OOQUHG','execute','1276080JtVrrY','4696LcDYkQ','selection','sizes','917716GgMPsM','imageBlock','5480GeuMoN','118602HmTxFp','828408mRgAfs','3132aCSTaE'];_0x4de8=function(){return _0x41d5e2;};return _0x4de8();}
23
+ const _0x426ea5=_0x3b27;(function(_0x33fce1,_0x1bbb33){const _0x301fd3=_0x3b27,_0x34cec1=_0x33fce1();while(!![]){try{const _0x211bee=parseInt(_0x301fd3(0x1d2))/0x1*(parseInt(_0x301fd3(0x1d6))/0x2)+parseInt(_0x301fd3(0x1c7))/0x3*(-parseInt(_0x301fd3(0x1d4))/0x4)+parseInt(_0x301fd3(0x1ca))/0x5*(parseInt(_0x301fd3(0x1be))/0x6)+-parseInt(_0x301fd3(0x1bf))/0x7+-parseInt(_0x301fd3(0x1bd))/0x8+parseInt(_0x301fd3(0x1c8))/0x9*(-parseInt(_0x301fd3(0x1d5))/0xa)+parseInt(_0x301fd3(0x1cc))/0xb;if(_0x211bee===_0x1bbb33)break;else _0x34cec1['push'](_0x34cec1['shift']());}catch(_0x3522ce){_0x34cec1['push'](_0x34cec1['shift']());}}}(_0x9e40,0x7759d));function _0x3b27(_0x308114,_0x3025a3){const _0x9e4009=_0x9e40();return _0x3b27=function(_0x3b2754,_0x30516b){_0x3b2754=_0x3b2754-0x1bc;let _0x55765c=_0x9e4009[_0x3b2754];return _0x55765c;},_0x3b27(_0x308114,_0x3025a3);}function _0x9e40(){const _0x400e68=['113467GYHPso','refresh','4kHSSBn','27430HXJiZA','8KSzHYC','isEnabled','109072mdCNzt','18AqDuWJ','3589166Kxboge','setAttributes','editor','getSelectedElement','srcset','execute','sizes','change','1290651gGShcl','2007vXZiLb','imageBlock','292355LVJKhD','element','15706438VtkNyM','imageInline','model','document','removeAttribute','selection'];_0x9e40=function(){return _0x400e68;};return _0x9e40();}import{Command as _0x41d5e2}from'ckeditor5/src/core.js';export default class O extends _0x41d5e2{[_0x426ea5(0x1d3)](){const _0x54f4dc=_0x426ea5,_0x4e23a5=this[_0x54f4dc(0x1c1)][_0x54f4dc(0x1ce)][_0x54f4dc(0x1cf)][_0x54f4dc(0x1d1)][_0x54f4dc(0x1c2)]();this[_0x54f4dc(0x1bc)]=Boolean(_0x4e23a5&&(_0x4e23a5['is'](_0x54f4dc(0x1cb),_0x54f4dc(0x1c9))||_0x4e23a5['is'](_0x54f4dc(0x1cb),_0x54f4dc(0x1cd))));}[_0x426ea5(0x1c4)](_0xec9a2a){const _0x4ea966=_0x426ea5,_0x5dc7a7=this[_0x4ea966(0x1c1)][_0x4ea966(0x1ce)][_0x4ea966(0x1cf)][_0x4ea966(0x1d1)][_0x4ea966(0x1c2)]();this[_0x4ea966(0x1c1)][_0x4ea966(0x1ce)][_0x4ea966(0x1c6)](_0x4c568a=>{const _0xccedb4=_0x4ea966;_0x4c568a[_0xccedb4(0x1c0)](_0xec9a2a,_0x5dc7a7),_0x4c568a[_0xccedb4(0x1d0)](_0xccedb4(0x1c3),_0x5dc7a7),_0x4c568a[_0xccedb4(0x1d0)](_0xccedb4(0x1c5),_0x5dc7a7);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x114cd2=_0x38fa;(function(_0x15d629,_0xacbaa2){var _0x2b6650=_0x38fa,_0x42a9c8=_0x15d629();while(!![]){try{var _0x759067=-parseInt(_0x2b6650(0x1f2))/0x1*(-parseInt(_0x2b6650(0x1ef))/0x2)+-parseInt(_0x2b6650(0x1f4))/0x3*(-parseInt(_0x2b6650(0x1fd))/0x4)+parseInt(_0x2b6650(0x1f1))/0x5+-parseInt(_0x2b6650(0x1f0))/0x6+-parseInt(_0x2b6650(0x1fb))/0x7+-parseInt(_0x2b6650(0x1f6))/0x8+-parseInt(_0x2b6650(0x1f7))/0x9*(-parseInt(_0x2b6650(0x1fc))/0xa);if(_0x759067===_0xacbaa2)break;else _0x42a9c8['push'](_0x42a9c8['shift']());}catch(_0x145a60){_0x42a9c8['push'](_0x42a9c8['shift']());}}}(_0x33bb,0x779dc));function _0x33bb(){var _0x1f123a=['isPremiumPlugin','pluginName','6758689axaSBk','1587190RcDDju','28hArSvl','363608EJKLlx','170364mQetYU','1352910zjZYIo','4VujWmp','requires','317886yqvmvK','UploadcareImageEdit','7124312IVnOPV','36VoOZEY','isOfficialPlugin'];_0x33bb=function(){return _0x1f123a;};return _0x33bb();}import{Plugin as _0x4bc4d7}from'ckeditor5/src/core.js';import _0x9563bb from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x40ccf3 from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x38fa(_0x1e962e,_0x4c9302){var _0x33bb68=_0x33bb();return _0x38fa=function(_0x38fad0,_0x3c8f4f){_0x38fad0=_0x38fad0-0x1ef;var _0x12ed86=_0x33bb68[_0x38fad0];return _0x12ed86;},_0x38fa(_0x1e962e,_0x4c9302);}export default class P extends _0x4bc4d7{static get[_0x114cd2(0x1fa)](){var _0xff46d4=_0x114cd2;return _0xff46d4(0x1f5);}static get[_0x114cd2(0x1f3)](){return[_0x9563bb,_0x40ccf3];}static get[_0x114cd2(0x1f8)](){return!0x0;}static get[_0x114cd2(0x1f9)](){return!0x0;}}
23
+ var _0x11dbcf=_0x2270;(function(_0x3da842,_0x1587eb){var _0x52159b=_0x2270,_0xef036b=_0x3da842();while(!![]){try{var _0x2428e8=-parseInt(_0x52159b(0x125))/0x1*(parseInt(_0x52159b(0x12c))/0x2)+-parseInt(_0x52159b(0x12f))/0x3*(parseInt(_0x52159b(0x130))/0x4)+-parseInt(_0x52159b(0x124))/0x5+-parseInt(_0x52159b(0x132))/0x6*(parseInt(_0x52159b(0x12b))/0x7)+parseInt(_0x52159b(0x12d))/0x8+-parseInt(_0x52159b(0x12e))/0x9*(parseInt(_0x52159b(0x131))/0xa)+parseInt(_0x52159b(0x129))/0xb;if(_0x2428e8===_0x1587eb)break;else _0xef036b['push'](_0xef036b['shift']());}catch(_0x29b873){_0xef036b['push'](_0xef036b['shift']());}}}(_0x3152,0x1bc9c));function _0x2270(_0x450453,_0xd81604){var _0x3152b0=_0x3152();return _0x2270=function(_0x227091,_0x15ba15){_0x227091=_0x227091-0x124;var _0x4dbd57=_0x3152b0[_0x227091];return _0x4dbd57;},_0x2270(_0x450453,_0xd81604);}import{Plugin as _0x305547}from'ckeditor5/src/core.js';function _0x3152(){var _0x22149f=['4QKiTzw','1510fRBPDW','586614nFLVsX','UploadcareImageEdit','676580NMJoFc','5578zwdLHB','pluginName','isOfficialPlugin','requires','6495599NZuDVK','isPremiumPlugin','7htFEwt','8BzVmxQ','194864NLlMlE','6237fArzvn','423021BbhEOO'];_0x3152=function(){return _0x22149f;};return _0x3152();}import _0x5d5430 from'./uploadcareimageedit/uploadcareimageeditediting.js';import _0x1a2dce from'./uploadcareimageedit/uploadcareimageeditui.js';export default class j extends _0x305547{static get[_0x11dbcf(0x126)](){var _0x3bdf38=_0x11dbcf;return _0x3bdf38(0x133);}static get[_0x11dbcf(0x128)](){return[_0x5d5430,_0x1a2dce];}static get[_0x11dbcf(0x127)](){return!0x0;}static get[_0x11dbcf(0x12a)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38d380=_0x1e76;(function(_0x4da363,_0x33a600){const _0x4b2296=_0x1e76,_0xa94293=_0x4da363();while(!![]){try{const _0x4886da=parseInt(_0x4b2296(0x12d))/0x1*(-parseInt(_0x4b2296(0x137))/0x2)+-parseInt(_0x4b2296(0xfa))/0x3*(parseInt(_0x4b2296(0x105))/0x4)+parseInt(_0x4b2296(0x121))/0x5+-parseInt(_0x4b2296(0x11e))/0x6+parseInt(_0x4b2296(0x133))/0x7+parseInt(_0x4b2296(0x101))/0x8*(parseInt(_0x4b2296(0x109))/0x9)+-parseInt(_0x4b2296(0x123))/0xa;if(_0x4886da===_0x33a600)break;else _0xa94293['push'](_0xa94293['shift']());}catch(_0x4ae22f){_0xa94293['push'](_0xa94293['shift']());}}}(_0x1a79,0x57ab0));import{Plugin as _0x4f5f04}from'ckeditor5/src/core.js';import{IconDropbox as _0x1f2921,IconFacebook as _0xf355af,IconGoogleDrive as _0x1e1ae1,IconGooglePhotos as _0x39c9d0,IconUploadcareImageUpload as _0x106772,IconUploadcareLink as _0x55ce31,IconOneDrive as _0x4aa2a9}from'ckeditor5/src/icons.js';import{ButtonView as _0x44873b,MenuBarMenuListItemButtonView as _0x330254}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3acd75}from'./uploadcareconfig.js';import{getTranslation as _0x29e6d2}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x1e76(_0x363432,_0x3bb54e){const _0x1a793e=_0x1a79();return _0x1e76=function(_0x1e7603,_0x4f3cfc){_0x1e7603=_0x1e7603-0xf2;let _0x34a272=_0x1a793e[_0x1e7603];return _0x34a272;},_0x1e76(_0x363432,_0x3bb54e);}function _0x1a79(){const _0x50d814=['uploadcare','commands','entries','uploadcareLicenseKeyUsageLimit','162144SVChMX','map','has','3168315JPfKzN','isEnabled','7726580mAwJXg','_normalizeConfigSourceList','get','UploadcareUI','reduce','icon','url','expired','_createToolbarButton','push','366gPnRGU','licenseKey','ImageInsertUI','invalid','destroy','trialLimit','4643681MAGGOh','forEach','editor','featureNotAllowed','394TLwKER','_createMenuBarButtons','Dropbox','URL','isOfficialPlugin','Facebook','label','uploadcareLicenseKeyDomainLimit','evaluationLimit','_getIntegrationKey','Insert','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyEvaluationLimit','isPremiumPlugin','_createDropdownButtons','text','uploadcareLicenseKeyNotAllowed','tooltip','OneDrive','config','123JPFDpG','uploadcare.uploader.sourceList','assetManager','GPhotos','_createButton','GDrive','afterInit','54376OCUxmu','uploadcareLicenseKeyValid','execute','pluginName','33644Adkhkg','locale','upload','_showLicenseError','369GfqeRF','init','withText','uploadcareLicenseKeyTrialLimit','type','uploadcareLicenseKeyExpired','registerIntegration','bind','isImageSelected','_licenseKeyCheckInterval','Replace','Uploadcare','plugins','usageLimit','Local','shortText','domainLimit'];_0x1a79=function(){return _0x50d814;};return _0x1a79();}import'../theme/uploadcareimageedit.css';export default class e extends _0x4f5f04{[_0x38d380(0x12e)];[_0x38d380(0x112)];static get[_0x38d380(0x104)](){const _0x249cc7=_0x38d380;return _0x249cc7(0x126);}static get[_0x38d380(0x13b)](){return!0x0;}static get[_0x38d380(0xf3)](){return!0x0;}[_0x38d380(0x10a)](){const _0x4c8391=_0x38d380;this[_0x4c8391(0x12e)]=this[_0x4c8391(0x135)][_0x4c8391(0xf9)][_0x4c8391(0x125)](_0x4c8391(0x12e));const _0x228502=this[_0x4c8391(0x135)];this[_0x4c8391(0x112)]=setInterval(()=>{const _0x286ba=_0x4c8391;let _0x1de05c;for(const _0x5569df in _0x228502){const _0x5aacf7=_0x5569df,_0x526e0e=_0x228502[_0x5aacf7];if(_0x286ba(0x102)==_0x526e0e||_0x286ba(0x142)==_0x526e0e||_0x286ba(0x10e)==_0x526e0e||_0x286ba(0x13e)==_0x526e0e||_0x286ba(0xf6)==_0x526e0e||_0x286ba(0xf2)==_0x526e0e||_0x286ba(0x10c)==_0x526e0e||_0x286ba(0x11d)==_0x526e0e){delete _0x228502[_0x5aacf7],_0x1de05c=_0x526e0e,clearInterval(this[_0x286ba(0x112)]),this[_0x286ba(0x112)]=void 0x0;break;}}_0x286ba(0x142)==_0x1de05c&&_0x228502[_0x286ba(0x108)](_0x286ba(0x130)),_0x286ba(0x10e)==_0x1de05c&&_0x228502[_0x286ba(0x108)](_0x286ba(0x12a)),_0x286ba(0x13e)==_0x1de05c&&_0x228502[_0x286ba(0x108)](_0x286ba(0x119)),_0x286ba(0xf6)==_0x1de05c&&_0x228502[_0x286ba(0x108)](_0x286ba(0x136),_0x286ba(0x114)),_0x286ba(0xf2)==_0x1de05c&&_0x228502[_0x286ba(0x108)](_0x286ba(0x13f)),_0x286ba(0x10c)==_0x1de05c&&_0x228502[_0x286ba(0x108)](_0x286ba(0x132)),_0x286ba(0x11d)==_0x1de05c&&_0x228502[_0x286ba(0x108)](_0x286ba(0x116));},0x3e8);}[_0x38d380(0x100)](){const _0x3d2a63=_0x38d380,{editor:_0x1a6c88}=this,_0xc60559=_0x1a6c88[_0x3d2a63(0x11b)][_0x3d2a63(0x125)](_0x3d2a63(0x11a));if(!_0xc60559)return;const _0x43a464=this[_0x3d2a63(0x124)](_0x1a6c88[_0x3d2a63(0xf9)][_0x3d2a63(0x125)](_0x3d2a63(0xfb)))[_0x3d2a63(0x127)]((_0x5d9e41,_0x295e6c)=>{const _0x43fcb9=_0x3d2a63,_0x48890e=this[_0x43fcb9(0x140)](_0x295e6c[_0x43fcb9(0x10d)]);return _0x5d9e41[_0x48890e]||(_0x5d9e41[_0x48890e]=[]),_0x5d9e41[_0x48890e][_0x43fcb9(0x12c)](_0x295e6c),_0x5d9e41;},{});_0x1a6c88[_0x3d2a63(0x115)][_0x3d2a63(0x120)](_0x3d2a63(0x12f))&&_0x1a6c88[_0x3d2a63(0x11b)][_0x3d2a63(0x125)](_0x3d2a63(0x11a))&&Object[_0x3d2a63(0x11c)](_0x43a464)[_0x3d2a63(0x134)](([_0x345b7b,_0xd27979])=>{const _0x284c34=_0x3d2a63;_0x1a6c88[_0x284c34(0x115)][_0x284c34(0x125)](_0x284c34(0x12f))[_0x284c34(0x10f)]({'name':_0x345b7b,'observable':()=>_0xc60559,'buttonViewCreator':()=>this[_0x284c34(0x12b)](_0xd27979),'formViewCreator':()=>this[_0x284c34(0xf4)](_0xd27979),'menuBarButtonViewCreator':()=>this[_0x284c34(0x138)](_0xd27979),'override':_0x284c34(0xfc)!==_0x345b7b});});}[_0x38d380(0x131)](){const _0x42ff8f=_0x38d380;super[_0x42ff8f(0x131)](),this[_0x42ff8f(0x112)]&&clearInterval(this[_0x42ff8f(0x112)]);}[_0x38d380(0x124)](_0x273ecb){const _0x10a2b7=_0x38d380,{locale:_0x5f2756}=this[_0x10a2b7(0x135)];return _0x273ecb[_0x10a2b7(0x11f)](_0x4f8e01=>{const _0x10bcb2=_0x10a2b7,_0x4471e0=_0x29e6d2(_0x5f2756,_0x4f8e01,_0x10bcb2(0x141));switch(_0x4f8e01){case _0x3acd75[_0x10bcb2(0x117)]:return{'icon':_0x106772,'type':_0x3acd75[_0x10bcb2(0x117)],..._0x4471e0};case _0x3acd75[_0x10bcb2(0x13a)]:return{'icon':_0x55ce31,'type':_0x3acd75[_0x10bcb2(0x13a)],..._0x4471e0};case _0x3acd75[_0x10bcb2(0x139)]:return{'icon':_0x1f2921,'type':_0x3acd75[_0x10bcb2(0x139)],..._0x4471e0};case _0x3acd75[_0x10bcb2(0x13c)]:return{'icon':_0xf355af,'type':_0x3acd75[_0x10bcb2(0x13c)],..._0x4471e0};case _0x3acd75[_0x10bcb2(0xff)]:return{'icon':_0x1e1ae1,'type':_0x3acd75[_0x10bcb2(0xff)],..._0x4471e0};case _0x3acd75[_0x10bcb2(0xfd)]:return{'icon':_0x39c9d0,'type':_0x3acd75[_0x10bcb2(0xfd)],..._0x4471e0};case _0x3acd75[_0x10bcb2(0xf8)]:return{'icon':_0x4aa2a9,'type':_0x3acd75[_0x10bcb2(0xf8)],..._0x4471e0};}});}[_0x38d380(0x140)](_0x5cd380){const _0x1c9e80=_0x38d380;switch(_0x5cd380){case _0x3acd75[_0x1c9e80(0x117)]:return _0x1c9e80(0x107);case _0x3acd75[_0x1c9e80(0x13a)]:return _0x1c9e80(0x129);default:return _0x1c9e80(0xfc);}}[_0x38d380(0xfe)](_0x3dd5ad,_0x5f499a){const _0x1dae53=_0x38d380,_0x5bba21=this[_0x1dae53(0x135)],_0xb5efd=new _0x3dd5ad(_0x5bba21[_0x1dae53(0x106)]),_0x17fbd7=_0x5bba21[_0x1dae53(0x11b)][_0x1dae53(0x125)](_0x1dae53(0x11a));return _0xb5efd[_0x1dae53(0x110)](_0x1dae53(0x122))['to'](_0x17fbd7),_0xb5efd['on'](_0x1dae53(0x103),()=>{const _0x12eb91=_0x1dae53;_0x17fbd7[_0x12eb91(0x103)](_0x5f499a);}),_0xb5efd;}[_0x38d380(0x12b)](_0x465b5d){const _0x1c8dc0=_0x38d380,{locale:_0x530935}=this[_0x1c8dc0(0x135)],_0x45b918=this[_0x1c8dc0(0x135)][_0x1c8dc0(0x115)][_0x1c8dc0(0x125)](_0x1c8dc0(0x12f)),_0x5c608d=_0x465b5d[0x0],_0x505f59=this[_0x1c8dc0(0xfe)](_0x44873b,_0x5c608d[_0x1c8dc0(0x10d)]);return _0x505f59[_0x1c8dc0(0x128)]=_0x5c608d[_0x1c8dc0(0x128)],_0x505f59[_0x1c8dc0(0x110)](_0x1c8dc0(0x13d))['to'](_0x45b918,_0x1c8dc0(0x111),_0x442fef=>_0x29e6d2(_0x530935,_0x5c608d[_0x1c8dc0(0x10d)],_0x442fef?_0x1c8dc0(0x113):_0x1c8dc0(0x141))[_0x1c8dc0(0xf5)]),_0x505f59[_0x1c8dc0(0xf7)]=!0x0,_0x505f59;}[_0x38d380(0xf4)](_0x18208c){const _0x268862=_0x38d380,{locale:_0x315db7}=this[_0x268862(0x135)],_0xfd4b3e=this[_0x268862(0x135)][_0x268862(0x115)][_0x268862(0x125)](_0x268862(0x12f));return _0x18208c[_0x268862(0x11f)](_0x2c5c42=>{const _0x5dbb3f=_0x268862,_0x302971=this[_0x5dbb3f(0xfe)](_0x44873b,_0x2c5c42[_0x5dbb3f(0x10d)]);return _0x302971[_0x5dbb3f(0x10b)]=!0x0,_0x302971[_0x5dbb3f(0x128)]=_0x2c5c42[_0x5dbb3f(0x128)],_0x302971[_0x5dbb3f(0x110)](_0x5dbb3f(0x13d))['to'](_0xfd4b3e,_0x5dbb3f(0x111),_0x4cecbc=>_0x29e6d2(_0x315db7,_0x2c5c42[_0x5dbb3f(0x10d)],_0x4cecbc?_0x5dbb3f(0x113):_0x5dbb3f(0x141))[_0x5dbb3f(0xf5)]),_0x302971;});}[_0x38d380(0x138)](_0x2b6ec3){const _0x497c96=_0x38d380;return _0x2b6ec3[_0x497c96(0x11f)](_0x4458b8=>{const _0x4af8ef=_0x497c96,_0x1e878f=this[_0x4af8ef(0xfe)](_0x330254,_0x4458b8[_0x4af8ef(0x10d)]);return _0x1e878f[_0x4af8ef(0x128)]=_0x4458b8[_0x4af8ef(0x128)],_0x1e878f[_0x4af8ef(0x13d)]=_0x4458b8[_0x4af8ef(0x118)],_0x1e878f;});}}
23
+ const _0x22ce0f=_0x46d8;(function(_0x5c73e6,_0x4b928c){const _0x9798ae=_0x46d8,_0x39ddf4=_0x5c73e6();while(!![]){try{const _0xb40c29=-parseInt(_0x9798ae(0xe2))/0x1+-parseInt(_0x9798ae(0xfb))/0x2*(-parseInt(_0x9798ae(0xe9))/0x3)+-parseInt(_0x9798ae(0xfe))/0x4*(parseInt(_0x9798ae(0xb0))/0x5)+parseInt(_0x9798ae(0xfd))/0x6*(parseInt(_0x9798ae(0xed))/0x7)+parseInt(_0x9798ae(0xf8))/0x8+-parseInt(_0x9798ae(0xbb))/0x9*(-parseInt(_0x9798ae(0xc0))/0xa)+parseInt(_0x9798ae(0xd2))/0xb*(parseInt(_0x9798ae(0xd3))/0xc);if(_0xb40c29===_0x4b928c)break;else _0x39ddf4['push'](_0x39ddf4['shift']());}catch(_0x1a6dc2){_0x39ddf4['push'](_0x39ddf4['shift']());}}}(_0x4fc8,0x56bba));function _0x4fc8(){const _0x305f6e=['uploadcareLicenseKeyNotAllowed','121194WNthqG','12xqjiMm','entries','plugins','licenseKey','isOfficialPlugin','assetManager','807685PqyrBs','Local','uploadcareLicenseKeyExpired','_licenseKeyCheckInterval','GPhotos','imageUpload','commands','uploadcareLicenseKeyDomainLimit','trialLimit','_createButton','init','45DEYzdR','uploadcare.uploader.sourceList','map','usageLimit','uploadcareLicenseKeyValid','802000DjiQhl','isEnabled','featureNotAllowed','get','Insert','execute','editor','url','_createMenuBarButtons','OneDrive','shortText','isImageSelected','config','Replace','_getIntegrationKey','bind','destroy','forEach','15224mnPhVP','1596ahlhYH','afterInit','Facebook','expired','uploadcareLicenseKeyTrialLimit','evaluationLimit','text','uploadcareLicenseKeyUsageLimit','Dropbox','type','tooltip','locale','pluginName','icon','isPremiumPlugin','292719IfUsrh','_showLicenseError','uploadcareLicenseKeyEvaluationLimit','domainLimit','URL','uploadcare','uploadcareLicenseKeyInvalid','32007hfqQxg','upload','Uploadcare','push','49YNBTcv','registerIntegration','UploadcareUI','withText','reduce','_createToolbarButton','_createDropdownButtons','_normalizeConfigSourceList','has','label','ImageInsertUI','432368uJOSAt','GDrive','invalid','66tKKbbt'];_0x4fc8=function(){return _0x305f6e;};return _0x4fc8();}import{Plugin as _0x30e2bd,icons as _0xe9dd75}from'ckeditor5/src/core.js';function _0x46d8(_0x3f10f2,_0x5412e5){const _0x4fc8a7=_0x4fc8();return _0x46d8=function(_0x46d834,_0x1dc8ff){_0x46d834=_0x46d834-0xaf;let _0x5de060=_0x4fc8a7[_0x46d834];return _0x5de060;},_0x46d8(_0x3f10f2,_0x5412e5);}import{ButtonView as _0x491a0c,MenuBarMenuListItemButtonView as _0x438cca}from'ckeditor5/src/ui.js';import _0x49efb0 from'../theme/icons/dropbox.svg';import _0x1309a3 from'../theme/icons/facebook.svg';import _0x5aae18 from'../theme/icons/google-drive.svg';import _0x1d1870 from'../theme/icons/google-photos.svg';import _0x2c910b from'../theme/icons/link.svg';import _0x407ff5 from'../theme/icons/onedrive.svg';import{UploadcareSource as _0x114512}from'./uploadcareconfig.js';import{getTranslation as _0x48c71e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export default class e extends _0x30e2bd{static get[_0x22ce0f(0xdf)](){const _0x2d9a6e=_0x22ce0f;return _0x2d9a6e(0xef);}static get[_0x22ce0f(0x102)](){return!0x0;}static get[_0x22ce0f(0xe1)](){return!0x0;}[_0x22ce0f(0xba)](){const _0x349966=_0x22ce0f;this[_0x349966(0x101)]=this[_0x349966(0xc6)][_0x349966(0xcc)][_0x349966(0xc3)](_0x349966(0x101));const _0x594c4f=this[_0x349966(0xc6)];this[_0x349966(0xb3)]=setInterval(()=>{const _0x5e06bb=_0x349966;let _0x372730;for(const _0x43d0cf in _0x594c4f){const _0x3e494c=_0x43d0cf,_0xadffac=_0x594c4f[_0x3e494c];if(_0x5e06bb(0xbf)==_0xadffac||_0x5e06bb(0xe8)==_0xadffac||_0x5e06bb(0xb2)==_0xadffac||_0x5e06bb(0xb7)==_0xadffac||_0x5e06bb(0xfc)==_0xadffac||_0x5e06bb(0xe4)==_0xadffac||_0x5e06bb(0xd7)==_0xadffac||_0x5e06bb(0xda)==_0xadffac){delete _0x594c4f[_0x3e494c],_0x372730=_0xadffac,clearInterval(this[_0x5e06bb(0xb3)]),this[_0x5e06bb(0xb3)]=void 0x0;break;}}_0x5e06bb(0xe8)==_0x372730&&_0x594c4f[_0x5e06bb(0xe3)](_0x5e06bb(0xfa)),_0x5e06bb(0xb2)==_0x372730&&_0x594c4f[_0x5e06bb(0xe3)](_0x5e06bb(0xd6)),_0x5e06bb(0xb7)==_0x372730&&_0x594c4f[_0x5e06bb(0xe3)](_0x5e06bb(0xe5)),_0x5e06bb(0xfc)==_0x372730&&_0x594c4f[_0x5e06bb(0xe3)](_0x5e06bb(0xc2),_0x5e06bb(0xeb)),_0x5e06bb(0xe4)==_0x372730&&_0x594c4f[_0x5e06bb(0xe3)](_0x5e06bb(0xd8)),_0x5e06bb(0xd7)==_0x372730&&_0x594c4f[_0x5e06bb(0xe3)](_0x5e06bb(0xb8)),_0x5e06bb(0xda)==_0x372730&&_0x594c4f[_0x5e06bb(0xe3)](_0x5e06bb(0xbe));},0x3e8);}[_0x22ce0f(0xd4)](){const _0x3848a3=_0x22ce0f,{editor:_0xa3427c}=this,_0x441eb4=_0xa3427c[_0x3848a3(0xb6)][_0x3848a3(0xc3)](_0x3848a3(0xe7));if(!_0x441eb4)return;const _0x31d686=this[_0x3848a3(0xf4)](_0xa3427c[_0x3848a3(0xcc)][_0x3848a3(0xc3)](_0x3848a3(0xbc)))[_0x3848a3(0xf1)]((_0x297a00,_0x5c14ac)=>{const _0x3058a9=_0x3848a3,_0x7df493=this[_0x3058a9(0xce)](_0x5c14ac[_0x3058a9(0xdc)]);return _0x297a00[_0x7df493]||(_0x297a00[_0x7df493]=[]),_0x297a00[_0x7df493][_0x3058a9(0xec)](_0x5c14ac),_0x297a00;},{});_0xa3427c[_0x3848a3(0x100)][_0x3848a3(0xf5)](_0x3848a3(0xf7))&&_0xa3427c[_0x3848a3(0xb6)][_0x3848a3(0xc3)](_0x3848a3(0xe7))&&Object[_0x3848a3(0xff)](_0x31d686)[_0x3848a3(0xd1)](([_0x1b6f17,_0xc2cfd])=>{const _0x168fde=_0x3848a3;_0xa3427c[_0x168fde(0x100)][_0x168fde(0xc3)](_0x168fde(0xf7))[_0x168fde(0xee)]({'name':_0x1b6f17,'observable':()=>_0x441eb4,'buttonViewCreator':()=>this[_0x168fde(0xf2)](_0xc2cfd),'formViewCreator':()=>this[_0x168fde(0xf3)](_0xc2cfd),'menuBarButtonViewCreator':()=>this[_0x168fde(0xc8)](_0xc2cfd),'override':_0x168fde(0xaf)!==_0x1b6f17});});}[_0x22ce0f(0xd0)](){const _0x3d3666=_0x22ce0f;super[_0x3d3666(0xd0)](),this[_0x3d3666(0xb3)]&&clearInterval(this[_0x3d3666(0xb3)]);}[_0x22ce0f(0xf4)](_0x4e2b91){const _0x355b09=_0x22ce0f,{locale:_0x420e31}=this[_0x355b09(0xc6)];return _0x4e2b91[_0x355b09(0xbd)](_0x44cb8b=>{const _0xeeb03b=_0x355b09,_0x2d9b9b=_0x48c71e(_0x420e31,_0x44cb8b,_0xeeb03b(0xc4));switch(_0x44cb8b){case _0x114512[_0xeeb03b(0xb1)]:return{'icon':_0xe9dd75[_0xeeb03b(0xb5)],'type':_0x114512[_0xeeb03b(0xb1)],..._0x2d9b9b};case _0x114512[_0xeeb03b(0xe6)]:return{'icon':_0x2c910b,'type':_0x114512[_0xeeb03b(0xe6)],..._0x2d9b9b};case _0x114512[_0xeeb03b(0xdb)]:return{'icon':_0x49efb0,'type':_0x114512[_0xeeb03b(0xdb)],..._0x2d9b9b};case _0x114512[_0xeeb03b(0xd5)]:return{'icon':_0x1309a3,'type':_0x114512[_0xeeb03b(0xd5)],..._0x2d9b9b};case _0x114512[_0xeeb03b(0xf9)]:return{'icon':_0x5aae18,'type':_0x114512[_0xeeb03b(0xf9)],..._0x2d9b9b};case _0x114512[_0xeeb03b(0xb4)]:return{'icon':_0x1d1870,'type':_0x114512[_0xeeb03b(0xb4)],..._0x2d9b9b};case _0x114512[_0xeeb03b(0xc9)]:return{'icon':_0x407ff5,'type':_0x114512[_0xeeb03b(0xc9)],..._0x2d9b9b};}});}[_0x22ce0f(0xce)](_0x2bc204){const _0x2a9d98=_0x22ce0f;switch(_0x2bc204){case _0x114512[_0x2a9d98(0xb1)]:return _0x2a9d98(0xea);case _0x114512[_0x2a9d98(0xe6)]:return _0x2a9d98(0xc7);default:return _0x2a9d98(0xaf);}}[_0x22ce0f(0xb9)](_0x6b4f20,_0x4d37cf){const _0x36b8ad=_0x22ce0f,_0x50d223=this[_0x36b8ad(0xc6)],_0x57897c=new _0x6b4f20(_0x50d223[_0x36b8ad(0xde)]),_0x43c1c7=_0x50d223[_0x36b8ad(0xb6)][_0x36b8ad(0xc3)](_0x36b8ad(0xe7));return _0x57897c[_0x36b8ad(0xcf)](_0x36b8ad(0xc1))['to'](_0x43c1c7),_0x57897c['on'](_0x36b8ad(0xc5),()=>{const _0x6e05c2=_0x36b8ad;_0x43c1c7[_0x6e05c2(0xc5)](_0x4d37cf);}),_0x57897c;}[_0x22ce0f(0xf2)](_0x335849){const _0x51f1d5=_0x22ce0f,{locale:_0x44ec25}=this[_0x51f1d5(0xc6)],_0x4d3f3d=this[_0x51f1d5(0xc6)][_0x51f1d5(0x100)][_0x51f1d5(0xc3)](_0x51f1d5(0xf7)),_0x2e7f39=_0x335849[0x0],_0xc55b2a=this[_0x51f1d5(0xb9)](_0x491a0c,_0x2e7f39[_0x51f1d5(0xdc)]);return _0xc55b2a[_0x51f1d5(0xe0)]=_0x2e7f39[_0x51f1d5(0xe0)],_0xc55b2a[_0x51f1d5(0xcf)](_0x51f1d5(0xf6))['to'](_0x4d3f3d,_0x51f1d5(0xcb),_0x7d0cb1=>_0x48c71e(_0x44ec25,_0x2e7f39[_0x51f1d5(0xdc)],_0x7d0cb1?_0x51f1d5(0xcd):_0x51f1d5(0xc4))[_0x51f1d5(0xd9)]),_0xc55b2a[_0x51f1d5(0xdd)]=!0x0,_0xc55b2a;}[_0x22ce0f(0xf3)](_0x5dabab){const _0x5ea069=_0x22ce0f,{locale:_0x2157f9}=this[_0x5ea069(0xc6)],_0x3516f4=this[_0x5ea069(0xc6)][_0x5ea069(0x100)][_0x5ea069(0xc3)](_0x5ea069(0xf7));return _0x5dabab[_0x5ea069(0xbd)](_0x25fbee=>{const _0x571860=_0x5ea069,_0x5d44c4=this[_0x571860(0xb9)](_0x491a0c,_0x25fbee[_0x571860(0xdc)]);return _0x5d44c4[_0x571860(0xf0)]=!0x0,_0x5d44c4[_0x571860(0xe0)]=_0x25fbee[_0x571860(0xe0)],_0x5d44c4[_0x571860(0xcf)](_0x571860(0xf6))['to'](_0x3516f4,_0x571860(0xcb),_0x66ccd8=>_0x48c71e(_0x2157f9,_0x25fbee[_0x571860(0xdc)],_0x66ccd8?_0x571860(0xcd):_0x571860(0xc4))[_0x571860(0xd9)]),_0x5d44c4;});}[_0x22ce0f(0xc8)](_0x2b5db0){const _0x40d6be=_0x22ce0f;return _0x2b5db0[_0x40d6be(0xbd)](_0x755070=>{const _0x29e95c=_0x40d6be,_0x587aa8=this[_0x29e95c(0xb9)](_0x438cca,_0x755070[_0x29e95c(0xdc)]);return _0x587aa8[_0x29e95c(0xe0)]=_0x755070[_0x29e95c(0xe0)],_0x587aa8[_0x29e95c(0xf6)]=_0x755070[_0x29e95c(0xca)],_0x587aa8;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x128ad2}from'ckeditor5/src/core.js';import{FileRepository as _0x36395f}from'ckeditor5/src/upload.js';import _0x48c961 from'./uploadcareediting.js';import _0x3791bf from'./utils/uploadutils.js';import{getImageUrls as _0x3dbd16}from'./utils/editingutils.js';export default class p extends _0x128ad2{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x36395f,_0x48c961];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1ddd4c=this['editor'];if(!!!_0x1ddd4c['config']['get']('uploadcare'))return;_0x1ddd4c['plugins']['get'](_0x36395f)['createUploadAdapter']=_0x56b3e7=>new x(_0x56b3e7,_0x1ddd4c),_0x1ddd4c['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x34c1bb,{imageElement:_0x224305,data:_0x36c41b})=>{_0x1ddd4c['model']['change'](_0x5f4b22=>{_0x5f4b22['setAttribute']('uploadcareImageId',_0x36c41b['uploadcareImageId'],_0x224305);});});}}class x{['loader'];['editor'];['controller'];constructor(_0x1f62c0,_0x572cc0){this['loader']=_0x1f62c0,this['editor']=_0x572cc0,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4efc68=this['editor']['config']['get']('uploadcare.pubkey'),_0x31bda9=await this['loader']['file'];return _0x3791bf['upload']({'file':_0x31bda9,'publicKey':_0x4efc68,'signal':this['controller']['signal'],'onProgress':_0x569e1e=>{_0x569e1e&&_0x569e1e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x569e1e['value']);}})['then'](async _0x7353ee=>{const {imageFallbackUrl:_0x387f13,imageSources:_0x1513ff}=_0x3dbd16(_0x7353ee['cdnUrl'],_0x7353ee['imageInfo']['width']);return{'uploadcareImageId':_0x7353ee['uuid'],'default':_0x387f13,'sources':_0x1513ff};})['catch'](()=>{const _0x24280a=t('Cannot\x20upload\x20file:')+('\x20'+_0x31bda9['name']+'.');return Promise['reject'](_0x24280a);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x1a4337}from'ckeditor5/src/core.js';import{FileRepository as _0x562144}from'ckeditor5/src/upload.js';import _0x5c4924 from'./uploadcareediting.js';import _0x330c3e from'./utils/uploadutils.js';import{getImageUrls as _0x419bc8}from'./utils/editingutils.js';export default class f extends _0x1a4337{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x562144,_0x5c4924];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x177d09=this['editor'];if(!!!_0x177d09['config']['get']('uploadcare'))return;_0x177d09['plugins']['get'](_0x562144)['createUploadAdapter']=_0x1ef094=>new E(_0x1ef094,_0x177d09),_0x177d09['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0xac91b2,{imageElement:_0x46dde3,data:_0x504893})=>{_0x177d09['model']['change'](_0x153dbc=>{_0x153dbc['setAttribute']('uploadcareImageId',_0x504893['uploadcareImageId'],_0x46dde3);});});}}class E{constructor(_0x35852c,_0x52544f){this['loader']=_0x35852c,this['editor']=_0x52544f,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x592c6d=this['editor']['config']['get']('uploadcare.pubkey'),_0x131d29=await this['loader']['file'];return _0x330c3e['upload']({'file':_0x131d29,'publicKey':_0x592c6d,'signal':this['controller']['signal'],'onProgress':_0x1d09fc=>{_0x1d09fc&&_0x1d09fc['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1d09fc['value']);}})['then'](async _0x10b05b=>{const {imageFallbackUrl:_0xeebcae,imageSources:_0x4958db}=_0x419bc8(_0x10b05b['cdnUrl'],_0x10b05b['imageInfo']['width']);return{'uploadcareImageId':_0x10b05b['uuid'],'default':_0xeebcae,'sources':_0x4958db};})['catch'](()=>{const _0x4aa35b=t('Cannot\x20upload\x20file:')+('\x20'+_0x131d29['name']+'.');return Promise['reject'](_0x4aa35b);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x4bf4e9}from'../uploadcareconfig.js';export function getTranslation(_0x235335,_0x510987,_0x506f2c){const t=_0x235335['t'],_0x17a2a2=_0x235335['t'];switch(_0x510987){case _0x4bf4e9['Local']:return{'text':_0x17a2a2('Insert'===_0x506f2c?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x17a2a2('From\x20computer')};case _0x4bf4e9['URL']:return{'text':'Insert'===_0x506f2c?_0x17a2a2('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x17a2a2('Via\x20URL')};case _0x4bf4e9['Dropbox']:return{'text':t('Insert'===_0x506f2c?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x4bf4e9['Facebook']:return{'text':t('Insert'===_0x506f2c?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x4bf4e9['GDrive']:return{'text':t('Insert'===_0x506f2c?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x4bf4e9['GPhotos']:return{'text':t('Insert'===_0x506f2c?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x4bf4e9['OneDrive']:return{'text':t('Insert'===_0x506f2c?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x510987;}}
23
+ import{UploadcareSource as _0x809548}from'../uploadcareconfig.js';export function getTranslation(_0x5c727e,_0x27d6ed,_0x8b2eb0){const t=_0x5c727e['t'],_0x258e02=_0x5c727e['t'];switch(_0x27d6ed){case _0x809548['Local']:return{'text':_0x258e02('Insert'===_0x8b2eb0?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x258e02('From\x20computer')};case _0x809548['URL']:return{'text':'Insert'===_0x8b2eb0?_0x258e02('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x258e02('Via\x20URL')};case _0x809548['Dropbox']:return{'text':t('Insert'===_0x8b2eb0?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x809548['Facebook']:return{'text':t('Insert'===_0x8b2eb0?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x809548['GDrive']:return{'text':t('Insert'===_0x8b2eb0?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x809548['GPhotos']:return{'text':t('Insert'===_0x8b2eb0?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x809548['OneDrive']:return{'text':t('Insert'===_0x8b2eb0?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x27d6ed;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xe349ef=_0x2b61;function _0x2b61(_0x228186,_0x2d82c2){var _0x2053b7=_0x2053();return _0x2b61=function(_0x2b6180,_0xde5bae){_0x2b6180=_0x2b6180-0xa9;var _0xdbee2a=_0x2053b7[_0x2b6180];return _0xdbee2a;},_0x2b61(_0x228186,_0x2d82c2);}(function(_0x1709d7,_0x254231){var _0x2d1618=_0x2b61,_0x493758=_0x1709d7();while(!![]){try{var _0x4bdcf0=parseInt(_0x2d1618(0xb3))/0x1*(-parseInt(_0x2d1618(0xb5))/0x2)+parseInt(_0x2d1618(0xb4))/0x3+parseInt(_0x2d1618(0xae))/0x4+-parseInt(_0x2d1618(0xb9))/0x5+-parseInt(_0x2d1618(0xb7))/0x6*(-parseInt(_0x2d1618(0xb6))/0x7)+parseInt(_0x2d1618(0xaf))/0x8+-parseInt(_0x2d1618(0xac))/0x9*(-parseInt(_0x2d1618(0xa9))/0xa);if(_0x4bdcf0===_0x254231)break;else _0x493758['push'](_0x493758['shift']());}catch(_0x21e565){_0x493758['push'](_0x493758['shift']());}}}(_0x2053,0x9d265));function _0x2053(){var _0x41c4d4=['36344VqPTGZ','403417pNHJQT','18dzcInk','getFocusableElement','1170425gIYepr','bindTemplate','fire','623240VEzZsX','createCollection','forwardCycle','9OEpFFo','focusTracker','2268328FhrRvJ','954152mGtDyB','div','true','focusCycler','33bfWpjy','1667634EvhDmH'];_0x2053=function(){return _0x41c4d4;};return _0x2053();}import{FocusTracker as _0x1ac176}from'ckeditor5/src/utils.js';import{View as _0x13952f,FocusCycler as _0x1893b8}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x13952f{[_0xe349ef(0xad)];[_0xe349ef(0xb2)];constructor(_0x1da2d3){var _0x1ff9d6=_0xe349ef;super(_0x1da2d3),this[_0x1ff9d6(0xad)]=new _0x1ac176(),this[_0x1ff9d6(0xb2)]=new _0x1893b8({'focusables':this[_0x1ff9d6(0xaa)](),'focusTracker':this[_0x1ff9d6(0xad)]});}[_0xe349ef(0xb8)](){var _0x461d71=_0xe349ef;return{'tag':_0x461d71(0xb0),'attributes':{'aria-hidden':_0x461d71(0xb1),'tabindex':'0'},'on':{'focus':this[_0x461d71(0xba)]['to'](()=>{var _0x5cf6fd=_0x461d71;this[_0x5cf6fd(0xb2)][_0x5cf6fd(0xbb)](_0x5cf6fd(0xab));})}};}}
23
+ var _0x2e67ef=_0x5dab;function _0x32de(){var _0x3fa91d=['fire','bindTemplate','257046pJbxhr','forwardCycle','focusTracker','getFocusableElement','939086gGzVFA','focusCycler','9fPrVug','1668184lTcuFp','3058700AxGidq','createCollection','10951160ElFuba','210LeuWLH','2097044sLlPdS','div','true','3688188ZEtcQp'];_0x32de=function(){return _0x3fa91d;};return _0x32de();}(function(_0x368aa8,_0x336145){var _0x564e80=_0x5dab,_0x2bcfef=_0x368aa8();while(!![]){try{var _0x48728a=parseInt(_0x564e80(0x10f))/0x1+parseInt(_0x564e80(0x112))/0x2+-parseInt(_0x564e80(0x108))/0x3+-parseInt(_0x564e80(0x117))/0x4+parseInt(_0x564e80(0x113))/0x5+-parseInt(_0x564e80(0x10b))/0x6*(parseInt(_0x564e80(0x116))/0x7)+parseInt(_0x564e80(0x115))/0x8*(parseInt(_0x564e80(0x111))/0x9);if(_0x48728a===_0x336145)break;else _0x2bcfef['push'](_0x2bcfef['shift']());}catch(_0x3cdca2){_0x2bcfef['push'](_0x2bcfef['shift']());}}}(_0x32de,0xae8ae));function _0x5dab(_0x5f474c,_0x3fe409){var _0x32defa=_0x32de();return _0x5dab=function(_0x5dab36,_0x28dd6f){_0x5dab36=_0x5dab36-0x106;var _0x47bdcb=_0x32defa[_0x5dab36];return _0x47bdcb;},_0x5dab(_0x5f474c,_0x3fe409);}import{FocusTracker as _0x2dd080}from'ckeditor5/src/utils.js';import{View as _0x42d96c,FocusCycler as _0x6eebe1}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export default class q extends _0x42d96c{constructor(_0x30c7f8){var _0x511bb3=_0x5dab;super(_0x30c7f8),this[_0x511bb3(0x10d)]=new _0x2dd080(),this[_0x511bb3(0x110)]=new _0x6eebe1({'focusables':this[_0x511bb3(0x114)](),'focusTracker':this[_0x511bb3(0x10d)]});}[_0x2e67ef(0x10e)](){var _0x27573d=_0x2e67ef;return{'tag':_0x27573d(0x106),'attributes':{'aria-hidden':_0x27573d(0x107),'tabindex':'0'},'on':{'focus':this[_0x27573d(0x10a)]['to'](()=>{var _0xb8d402=_0x27573d;this[_0xb8d402(0x110)][_0xb8d402(0x109)](_0xb8d402(0x10c));})}};}}