@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250611.0 → 0.0.0-nightly-20250614.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 (176) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.d.ts +4 -2
  151. package/src/index.js +1 -1
  152. package/src/ui/uploadcarecontroller.js +2 -2
  153. package/src/ui/uploadcareformview.js +1 -1
  154. package/src/uploadcare.js +1 -1
  155. package/src/uploadcarecommand.js +1 -1
  156. package/src/uploadcareconfig.d.ts +2 -3
  157. package/src/uploadcareconfig.js +1 -1
  158. package/src/uploadcareediting.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  162. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  163. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  166. package/src/uploadcareimageedit/uploadcareimageeditui.d.ts +2 -3
  167. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  168. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  169. package/src/uploadcareimageedit.js +1 -1
  170. package/src/uploadcareui.js +1 -1
  171. package/src/uploadcareuploadadapter.js +1 -1
  172. package/src/utils/common-translations.js +1 -1
  173. package/src/utils/dialogfocusmanagerview.js +1 -1
  174. package/src/utils/editingutils.js +1 -1
  175. package/src/utils/isancestor.js +1 -1
  176. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3d8700=_0xa593;(function(_0x8c9f4e,_0x45082b){const _0x4cda8d=_0xa593,_0x43685f=_0x8c9f4e();while(!![]){try{const _0x475efd=parseInt(_0x4cda8d(0xbe))/0x1+-parseInt(_0x4cda8d(0xa9))/0x2+parseInt(_0x4cda8d(0xdc))/0x3*(-parseInt(_0x4cda8d(0xba))/0x4)+parseInt(_0x4cda8d(0xd4))/0x5+-parseInt(_0x4cda8d(0xd2))/0x6*(parseInt(_0x4cda8d(0xc2))/0x7)+-parseInt(_0x4cda8d(0xc3))/0x8+parseInt(_0x4cda8d(0xf3))/0x9;if(_0x475efd===_0x45082b)break;else _0x43685f['push'](_0x43685f['shift']());}catch(_0xb82d69){_0x43685f['push'](_0x43685f['shift']());}}}(_0x559b,0x23ae3));import{Plugin as _0x2acc6a}from'ckeditor5/src/core.js';function _0x559b(){const _0x4edf8b=['extend','editing','165762PMTSNh','afterInit','1042975oJBRUe','getSelectedElement','isOfficialPlugin','uc-config','init','imageBlock','uploadcare.pubkey','uploader','3Rqlsdj','requires','map','input[uploadcare-file-input]','\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','insertImage','conversion','isPremiumPlugin','pluginName','replaceImageSource','querySelector','remove','attributeToAttribute','add','UploadcareEditing','render','uploadcareImageReplace','iconHrefResolver','once','execute','_initConversion','schema','removeAttribute','2273616fhJhut','uploadcare.uploader','document','imageInline','for','ctxElement','_initCtx','_configElement','#uc-icon-arrow-down','529646CKGfxr','view','uc-upload-ctx-provider','cleanupImage','uploadcareImageId','_initSchema','data-uc-image-id','_initConfig','true','fromCharCode','selection','configElement','locale','config','model','elementToAttribute','contentLanguage','1095916lKbpOW','uploadcare','upcast','downcast','258167gKxFBZ','commands','_initImageProcessingIndicator','editor','7zhaCuT','54480deCIvX','href','destroy','_ctxElement','closeMax','body','listenTo','appendChild','join','isRegistered','getAttribute','PictureEditing','get'];_0x559b=function(){return _0x4edf8b;};return _0x559b();}import{Dialog as _0x473414}from'ckeditor5/src/ui.js';import{createElement as _0x47ef74,global as _0x3650f4,uid as _0x3c54f7}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x3a07e6}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x475b51}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3fb09d}from'./utils/editingutils.js';function _0xa593(_0x132f9d,_0x1d08e2){const _0x559ba4=_0x559b();return _0xa593=function(_0xa593d8,_0x1bcb0f){_0xa593d8=_0xa593d8-0xa9;let _0x399b1b=_0x559ba4[_0xa593d8];return _0x399b1b;},_0xa593(_0x132f9d,_0x1d08e2);}export class UploadcareEditing extends _0x2acc6a{[_0x3d8700(0xfa)]=null;[_0x3d8700(0xc6)]=null;static get[_0x3d8700(0xe4)](){const _0x433c93=_0x3d8700;return _0x433c93(0xea);}static get[_0x3d8700(0xdd)](){const _0x189dae=_0x3d8700;return[_0x189dae(0xce),_0x475b51,_0x473414];}static get[_0x3d8700(0xd6)](){return!0x0;}static get[_0x3d8700(0xe3)](){return!0x0;}get[_0x3d8700(0xb4)](){const _0x3b3ac5=_0x3d8700;return this[_0x3b3ac5(0xfa)];}get[_0x3d8700(0xf8)](){const _0x1d99a6=_0x3d8700;return this[_0x1d99a6(0xc6)];}[_0x3d8700(0xd8)](){const _0x40a2d0=_0x3d8700,_0x26fd34=this[_0x40a2d0(0xc1)];_0x26fd34[_0x40a2d0(0xbf)][_0x40a2d0(0xe9)](_0x40a2d0(0xbb),new _0x3a07e6(_0x26fd34));}[_0x3d8700(0xd3)](){const _0x1ce07c=_0x3d8700;this[_0x1ce07c(0xae)](),this[_0x1ce07c(0xf0)](),this[_0x1ce07c(0xb0)](),this[_0x1ce07c(0xf9)](),this[_0x1ce07c(0xc0)](),this[_0x1ce07c(0xc9)](this[_0x1ce07c(0xc1)],_0x1ce07c(0xc5),()=>{const _0x30fc89=_0x1ce07c;this[_0x30fc89(0xfa)]&&(this[_0x30fc89(0xfa)][_0x30fc89(0xe7)](),this[_0x30fc89(0xfa)]=null),this[_0x30fc89(0xc6)]&&(this[_0x30fc89(0xc6)][_0x30fc89(0xe7)](),this[_0x30fc89(0xc6)]=null);const _0x7f662e=_0x3650f4[_0x30fc89(0xf5)][_0x30fc89(0xe6)](_0x30fc89(0xdf));_0x7f662e&&_0x7f662e[_0x30fc89(0xe7)]();}),async function(_0x24a225){const _0x179d6f=_0x4d37fd([0x6f,0x48,0x46,0x6a,0x77,0x64,0x41,0x30,0x4a,0x65,0x37,0x74,0x47,0x38,0x57,0x5a,0x45,0x4c,0x66,0x42,0x59,0x79,0x51,0x56,0x43,0x4d,0x75,0x58,0x6e,0x35,0x4b,0x78,0x71,0x62,0x44,0x55,0x76,0x69,0x54,0x6d,0x67,0x31,0x61,0x7a,0x72,0x53,0x4e,0x63,0x52,0x34,0x33,0x73,0x39,0x4f,0x36,0x32,0x6b,0x50,0x6c,0x49,0x70,0x68]),_0x432af2=0x59f5d299,_0x132e4f=0x59f2b8e9^_0x432af2,_0x534c7d=window[_0x4d37fd([0x44,0x61,0x74,0x65])][_0x4d37fd([0x6e,0x6f,0x77])](),_0x43e55e=_0x24a225[_0x4d37fd([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3dcae1=new window[(_0x4d37fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a6f40=>{_0x43e55e[_0x4d37fd([0x6f,0x6e,0x63,0x65])](_0x4d37fd([0x72,0x65,0x61,0x64,0x79]),_0x1a6f40);}),_0x6f5aa7={[_0x4d37fd([0x6b,0x74,0x79])]:_0x4d37fd([0x45,0x43]),[_0x4d37fd([0x75,0x73,0x65])]:_0x4d37fd([0x73,0x69,0x67]),[_0x4d37fd([0x63,0x72,0x76])]:_0x4d37fd([0x50,0x2d,0x32,0x35,0x36]),[_0x4d37fd([0x78])]:_0x4d37fd([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]),[_0x4d37fd([0x79])]:_0x4d37fd([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]),[_0x4d37fd([0x61,0x6c,0x67])]:_0x4d37fd([0x45,0x53,0x32,0x35,0x36])},_0x25f294=_0x43e55e[_0x4d37fd([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4d37fd([0x67,0x65,0x74])](_0x4d37fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x19766b(){let _0x14f4b4,_0x509712=null,_0x3c2102=null;try{if(_0x25f294==_0x4d37fd([0x47,0x50,0x4c]))return _0x4d37fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x14f4b4=_0x4a2bc4(),!_0x14f4b4)return _0x4d37fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x14f4b4[_0x4d37fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3c2102=_0x1994c7(_0x14f4b4[_0x4d37fd([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x14f4b4[_0x4d37fd([0x6a,0x74,0x69])])),await _0xb28f82()?_0x87e247()?_0x9f1ca6()?_0x4d37fd([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1ca56d()?(_0x14f4b4[_0x4d37fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4d37fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x509712=_0xa3d463(_0x4d37fd([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x14f4b4[_0x4d37fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4d37fd([0x74,0x72,0x69,0x61,0x6c])&&(_0x509712=_0xa3d463(_0x4d37fd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1c0638()):_0x4d37fd([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4d37fd([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4d37fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4d37fd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x9f1ca6(){const _0x3488f9=[_0x4d37fd([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4d37fd([0x74,0x72,0x69,0x61,0x6c])][_0x4d37fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14f4b4[_0x4d37fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x534c7d/0x3e8:0xe10*_0x132e4f;return _0x14f4b4[_0x4d37fd([0x65,0x78,0x70])]<_0x3488f9;}function _0x87e247(){const _0x544e11=_0x14f4b4[_0x4d37fd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x544e11&&(!!_0x544e11[_0x4d37fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d37fd([0x2a]))||!!_0x544e11[_0x4d37fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d37fd([0x55,0x50,0x4c,0x43])));}function _0x1ca56d(){const _0x19f29e=_0xa593,_0x2f8841=_0x14f4b4[_0x4d37fd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2f8841||0x0==_0x2f8841[_0x4d37fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2124e6}=new URL(window[_0x4d37fd([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x19f29e(0xc4)]);if(_0x2f8841[_0x4d37fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2124e6))return!0x0;const _0x304d3a=_0x2124e6[_0x4d37fd([0x73,0x70,0x6c,0x69,0x74])](_0x4d37fd([0x2e]));return _0x2f8841[_0x4d37fd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2bed6e=>_0x2bed6e[_0x4d37fd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d37fd([0x2a])))[_0x4d37fd([0x6d,0x61,0x70])](_0x401e81=>_0x401e81[_0x4d37fd([0x73,0x70,0x6c,0x69,0x74])](_0x4d37fd([0x2e])))[_0x4d37fd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28ab79=>_0x28ab79[_0x4d37fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x304d3a[_0x4d37fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4d37fd([0x6d,0x61,0x70])](_0x5c8e22=>Array(_0x304d3a[_0x4d37fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5c8e22[_0x4d37fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4d37fd([0x66,0x69,0x6c,0x6c])](_0x5c8e22[0x0]===_0x4d37fd([0x2a])?_0x4d37fd([0x2a]):'')[_0x4d37fd([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5c8e22))[_0x4d37fd([0x73,0x6f,0x6d,0x65])](_0x5451eb=>_0x304d3a[_0x4d37fd([0x65,0x76,0x65,0x72,0x79])]((_0x4b9bad,_0x1402ef)=>_0x5451eb[_0x1402ef]===_0x4b9bad||_0x5451eb[_0x1402ef]===_0x4d37fd([0x2a])));}function _0x1c0638(){return _0x509712&&_0x3c2102?new window[(_0x4d37fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x302e1e,_0x1b6f38)=>{_0x509712[_0x4d37fd([0x74,0x68,0x65,0x6e])](_0x302e1e,_0x1b6f38),_0x3c2102[_0x4d37fd([0x74,0x68,0x65,0x6e])](_0x34a46f=>{_0x34a46f!=_0x4d37fd([0x56,0x61,0x6c,0x69,0x64])&&_0x302e1e(_0x34a46f);},_0x1b6f38);}):_0x509712||_0x3c2102||_0x4d37fd([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1994c7(_0x5bf5c8,_0xdd2a4a){return new window[(_0x4d37fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x19ad16=>{if(_0x563541())return _0x19ad16(_0x4d37fd([0x56,0x61,0x6c,0x69,0x64]));_0x116e31(),_0x43e55e[_0x4d37fd([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4d37fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x126913=!0x1;const _0x95332e=_0x3c54f7();function _0x191e64(_0x3b5809){return!!_0x3b5809&&(typeof _0x3b5809===_0x4d37fd([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3b5809===_0x4d37fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3b5809[_0x4d37fd([0x74,0x68,0x65,0x6e])]===_0x4d37fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3b5809[_0x4d37fd([0x63,0x61,0x74,0x63,0x68])]===_0x4d37fd([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1b4c80(_0x3066ad){_0x3ebbf2(_0x3066ad)[_0x4d37fd([0x74,0x68,0x65,0x6e])](_0x2bb601=>{if(!_0x2bb601||_0x2bb601[_0x4d37fd([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4d37fd([0x6f,0x6b]))return _0x4d37fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x342aca(_0x7dce2a(_0x95332e+_0xdd2a4a))!=_0x2bb601[_0x4d37fd([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4d37fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4d37fd([0x56,0x61,0x6c,0x69,0x64]);})[_0x4d37fd([0x74,0x68,0x65,0x6e])](_0xe5d0dc=>(_0x4b6644(),_0xe5d0dc),()=>{const _0x7b09c8=_0x19fe08();return null==_0x7b09c8?(_0x4b6644(),_0x4d37fd([0x56,0x61,0x6c,0x69,0x64])):_0x4d37fd(_0x534c7d-_0x7b09c8>(0x7df95699^_0x432af2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4d37fd([0x74,0x68,0x65,0x6e])](_0x19ad16)[_0x4d37fd([0x63,0x61,0x74,0x63,0x68])](()=>{_0x19ad16(_0x4d37fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2dcae1=0x59c33c19^_0x432af2;function _0x4b6644(){const _0x57e67f=_0x4d37fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x342aca(_0x7dce2a(_0x5bf5c8)),_0x21b7ed=_0x213cc4(_0x342aca(window[_0x4d37fd([0x4d,0x61,0x74,0x68])][_0x4d37fd([0x63,0x65,0x69,0x6c])](_0x534c7d/_0x2dcae1)));window[_0x4d37fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d37fd([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57e67f,_0x21b7ed);}function _0x19fe08(){const _0x4f57a8=_0x4d37fd([0x6c,0x6c,0x63,0x74,0x2d])+_0x342aca(_0x7dce2a(_0x5bf5c8)),_0x4d8b56=window[_0x4d37fd([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d37fd([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4f57a8);return _0x4d8b56?window[_0x4d37fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x213cc4(_0x4d8b56),0x10)*_0x2dcae1:null;}function _0x3ebbf2(_0x352ad5){return new window[(_0x4d37fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b601f,_0x49446d)=>{_0x352ad5[_0x4d37fd([0x74,0x68,0x65,0x6e])](_0x2b601f,_0x49446d),window[_0x4d37fd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x49446d,0x59f40659^_0x432af2);});}}_0x43e55e[_0x4d37fd([0x6f,0x6e])](_0x4d37fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2a6914,_0x5d1f03)=>{if(_0x5d1f03[0x0]!=_0x5bf5c8)return _0x19ad16(_0x4d37fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d1f03[0x1]={..._0x5d1f03[0x1],[_0x4d37fd([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x95332e};},{[_0x4d37fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d37fd([0x68,0x69,0x67,0x68])}),_0x43e55e[_0x4d37fd([0x6f,0x6e])](_0x4d37fd([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4bf7cd=>{_0x191e64(_0x4bf7cd[_0x4d37fd([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x126913=!0x0,_0x1b4c80(_0x4bf7cd[_0x4d37fd([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4d37fd([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d37fd([0x6c,0x6f,0x77])}),_0x3dcae1[_0x4d37fd([0x74,0x68,0x65,0x6e])](()=>{_0x126913||_0x19ad16(_0x4d37fd([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x563541(){return _0x43e55e[_0x4d37fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d37fd([0x76,0x69,0x65,0x77])][_0x4d37fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4d37fd([0x61,0x75,0x74,0x6f]);}function _0x116e31(){_0x43e55e[_0x4d37fd([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d37fd([0x76,0x69,0x65,0x77])][_0x4d37fd([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4d37fd([0x61,0x75,0x74,0x6f]);}}function _0xa3d463(_0x1d7ce9){const _0x1eb58e=[new window[(_0x4d37fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x34e8d1=>setTimeout(_0x34e8d1,0x59fcec55^_0x432af2)),_0x3dcae1[_0x4d37fd([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4d37fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c1c84=>{let _0x36ffbd=0x0;_0x43e55e[_0x4d37fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d37fd([0x6f,0x6e])](_0x4d37fd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x59e69c,_0x476bd5)=>{_0x476bd5[0x0][_0x4d37fd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x36ffbd++,_0x36ffbd==(0x59f5d361^_0x432af2)&&(_0x2c1c84(),_0x59e69c[_0x4d37fd([0x6f,0x66,0x66])]());});}))];return window[_0x4d37fd([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4d37fd([0x72,0x61,0x63,0x65])](_0x1eb58e)[_0x4d37fd([0x74,0x68,0x65,0x6e])](()=>_0x1d7ce9);}async function _0x29d125(){await _0x3dcae1,_0x43e55e[_0x4d37fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d37fd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x595379,_0x43e55e[_0x4d37fd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d37fd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x595379,_0x43e55e[_0x4d37fd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4d37fd([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3550f7(_0x380f74){const _0x485bd5=_0x53a543();_0x43e55e[_0x485bd5]=_0x4d37fd([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x380f74,_0x380f74!=_0x4d37fd([0x56,0x61,0x6c,0x69,0x64])&&_0x29d125();}function _0x53a543(){const _0x53dc93=window[_0x4d37fd([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4d37fd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4d37fd([0x6e,0x6f,0x77])]())[_0x4d37fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4d37fd([0x2e]),'');let _0x4b17b4=_0x4d37fd([0x6f]);for(let _0x47b246=0x0;_0x47b246<_0x53dc93[_0x4d37fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x47b246+=0x2){let _0x4a2882=window[_0x4d37fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53dc93[_0x4d37fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x47b246,_0x47b246+0x2));_0x4a2882>=_0x179d6f[_0x4d37fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4a2882-=_0x179d6f[_0x4d37fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b17b4+=_0x179d6f[_0x4a2882];}return _0x4b17b4;}function _0x4a2bc4(){const _0x5e34c9=_0x25f294[_0x4d37fd([0x73,0x70,0x6c,0x69,0x74])](_0x4d37fd([0x2e]));if(0x3!=_0x5e34c9[_0x4d37fd([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4de2c1(_0x5e34c9[0x1]);function _0x4de2c1(_0x568105){const _0x3d70ba=_0x48114c(_0x568105);return _0x3d70ba&&_0x3cc35f()?_0x3d70ba:null;function _0x3cc35f(){const _0xf00621=_0x3d70ba[_0x4d37fd([0x6a,0x74,0x69])],_0x116ae2=window[_0x4d37fd([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xf00621[_0x4d37fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf00621[_0x4d37fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1e892b={..._0x3d70ba,[_0x4d37fd([0x6a,0x74,0x69])]:_0xf00621[_0x4d37fd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xf00621[_0x4d37fd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1e892b[_0x4d37fd([0x76,0x63])],_0x7dce2a(_0x1e892b)==_0x116ae2;}}}async function _0xb28f82(){let _0x8f825a=!0x0;try{const _0x2b124e=_0x25f294[_0x4d37fd([0x73,0x70,0x6c,0x69,0x74])](_0x4d37fd([0x2e])),[_0x2e25e9,_0xa557fd,_0x3e4f28]=_0x2b124e;return _0x4382d6(_0x2e25e9),await _0x4993c4(_0x2e25e9,_0xa557fd,_0x3e4f28),_0x8f825a;}catch{return!0x1;}function _0x4382d6(_0xc800e3){const _0x4a30f4=_0x48114c(_0xc800e3);_0x4a30f4&&_0x4a30f4[_0x4d37fd([0x61,0x6c,0x67])]==_0x4d37fd([0x45,0x53,0x32,0x35,0x36])||(_0x8f825a=!0x1);}async function _0x4993c4(_0x441f33,_0x46b99f,_0x24b73a){const _0xdd2e22=window[_0x4d37fd([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4d37fd([0x66,0x72,0x6f,0x6d])](_0x13feb7(_0x24b73a),_0x5575d6=>_0x5575d6[_0x4d37fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x38cd9b=new window[(_0x4d37fd([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4d37fd([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x441f33+_0x4d37fd([0x2e])+_0x46b99f),_0x423f96=window[_0x4d37fd([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4d37fd([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x423f96)return;const _0x1c5c8b=await _0x423f96[_0x4d37fd([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4d37fd([0x6a,0x77,0x6b]),_0x6f5aa7,{[_0x4d37fd([0x6e,0x61,0x6d,0x65])]:_0x4d37fd([0x45,0x43,0x44,0x53,0x41]),[_0x4d37fd([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4d37fd([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4d37fd([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x423f96[_0x4d37fd([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4d37fd([0x6e,0x61,0x6d,0x65])]:_0x4d37fd([0x45,0x43,0x44,0x53,0x41]),[_0x4d37fd([0x68,0x61,0x73,0x68])]:{[_0x4d37fd([0x6e,0x61,0x6d,0x65])]:_0x4d37fd([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c5c8b,_0xdd2e22,_0x38cd9b)||(_0x8f825a=!0x1);}}function _0x48114c(_0xf229d8){return _0xf229d8[_0x4d37fd([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4d37fd([0x65,0x79]))?JSON[_0x4d37fd([0x70,0x61,0x72,0x73,0x65])](_0x13feb7(_0xf229d8)):null;}function _0x13feb7(_0x6dae7e){return window[_0x4d37fd([0x61,0x74,0x6f,0x62])](_0x6dae7e[_0x4d37fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4d37fd([0x2b]))[_0x4d37fd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4d37fd([0x2f])));}function _0x7dce2a(_0x443d1a){let _0x572229=0x1505;function _0x841841(_0x552b9d){for(let _0x39200f=0x0;_0x39200f<_0x552b9d[_0x4d37fd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x39200f++){const _0x385ae8=_0x552b9d[_0x4d37fd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x39200f);_0x572229=(_0x572229<<0x5)+_0x572229+_0x385ae8,_0x572229&=_0x572229;}}function _0x29577e(_0x8c4bb8){Array[_0x4d37fd([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x8c4bb8)?_0x8c4bb8[_0x4d37fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x29577e):_0x8c4bb8&&typeof _0x8c4bb8==_0x4d37fd([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4d37fd([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x8c4bb8)[_0x4d37fd([0x73,0x6f,0x72,0x74])]()[_0x4d37fd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x350b0c,_0x22d1d3])=>{_0x841841(_0x350b0c),_0x29577e(_0x22d1d3);}):_0x841841(window[_0x4d37fd([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x8c4bb8));}return _0x29577e(_0x443d1a),_0x572229>>>0x0;}function _0x342aca(_0x2249b6){return _0x2249b6[_0x4d37fd([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4d37fd([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4d37fd([0x30]));}function _0x213cc4(_0x1bb315){return _0x1bb315[_0x4d37fd([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4d37fd([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4d37fd([0x6a,0x6f,0x69,0x6e])]('');}function _0x595379(){}function _0x4d37fd(_0x5459d2){const _0x36ac16=_0xa593;return _0x5459d2[_0x36ac16(0xde)](_0x3a85b8=>String[_0x36ac16(0xb2)](_0x3a85b8))[_0x36ac16(0xcb)]('');}_0x3550f7(await _0x19766b());}(this);}[_0x3d8700(0xae)](){const _0x15a115=_0x3d8700,_0x234807=this[_0x15a115(0xc1)][_0x15a115(0xb7)][_0x15a115(0xf1)];_0x234807[_0x15a115(0xcc)](_0x15a115(0xd9))&&_0x234807[_0x15a115(0xd0)](_0x15a115(0xd9),{'allowAttributes':[_0x15a115(0xad)]}),_0x234807[_0x15a115(0xcc)](_0x15a115(0xf6))&&_0x234807[_0x15a115(0xd0)](_0x15a115(0xf6),{'allowAttributes':[_0x15a115(0xad)]});}[_0x3d8700(0xf0)](){const _0x421967=_0x3d8700,_0x16269d=this[_0x421967(0xc1)];_0x16269d[_0x421967(0xe2)][_0x421967(0xf7)](_0x421967(0xbd))[_0x421967(0xe8)]({'model':_0x421967(0xad),'view':_0x421967(0xaf)}),_0x16269d[_0x421967(0xe2)][_0x421967(0xf7)](_0x421967(0xbc))[_0x421967(0xb8)]({'model':{'key':_0x421967(0xad),'value':_0x3e4dc4=>_0x3e4dc4[_0x421967(0xcd)](_0x421967(0xaf))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x42929b=_0x16269d[_0x421967(0xbf)][_0x421967(0xcf)](_0x421967(0xe5));_0x42929b&&this[_0x421967(0xc9)](_0x42929b,_0x421967(0xac),(_0x43b7de,[_0x461c46,_0x134ab2])=>{const _0x5caa9f=_0x421967;_0x461c46[_0x5caa9f(0xf2)](_0x5caa9f(0xad),_0x134ab2);});}[_0x3d8700(0xb0)](){const _0x491908=_0x3d8700,_0x1b3f8f=this[_0x491908(0xc1)][_0x491908(0xb6)][_0x491908(0xcf)](_0x491908(0xf4))||{},_0x3e749c=this[_0x491908(0xc1)][_0x491908(0xb6)][_0x491908(0xcf)](_0x491908(0xda))||'';this[_0x491908(0xfa)]=_0x47ef74(_0x3650f4[_0x491908(0xf5)],_0x491908(0xd7),{..._0x1b3f8f,'pubkey':_0x3e749c,'ctx-name':_0x491908(0xdb),'sourceList':'','imgOnly':_0x491908(0xb1),'removeCopyright':_0x491908(0xb1),'localeName':this[_0x491908(0xc1)][_0x491908(0xb5)][_0x491908(0xb9)],'externalSourcesEmbedCss':_0x491908(0xe0)}),this[_0x491908(0xfa)][_0x491908(0xed)]=_0xd71840=>{const _0x537c39=_0x491908;if(_0x537c39(0xc7)==_0xd71840)return _0x537c39(0xfb);},_0x3650f4[_0x491908(0xf5)][_0x491908(0xc8)][_0x491908(0xca)](this[_0x491908(0xfa)]);}[_0x3d8700(0xf9)](){const _0x2465fa=_0x3d8700;this[_0x2465fa(0xc6)]=_0x47ef74(_0x3650f4[_0x2465fa(0xf5)],_0x2465fa(0xab),{'ctx-name':_0x2465fa(0xdb)}),_0x3650f4[_0x2465fa(0xf5)][_0x2465fa(0xc8)][_0x2465fa(0xca)](this[_0x2465fa(0xc6)]);}[_0x3d8700(0xc0)](){const _0x2e08fc=_0x3d8700,_0x22c0cc=this[_0x2e08fc(0xc1)][_0x2e08fc(0xbf)][_0x2e08fc(0xcf)](_0x2e08fc(0xe1));_0x22c0cc&&this[_0x2e08fc(0xc9)](_0x22c0cc,_0x2e08fc(0xef),()=>{const _0x4d875a=_0x2e08fc,_0x4d418e=this[_0x4d875a(0xc1)][_0x4d875a(0xb7)][_0x4d875a(0xf5)][_0x4d875a(0xb3)][_0x4d875a(0xd5)]();_0x4d418e&&_0x4d418e[_0x4d875a(0xcd)](_0x4d875a(0xad))&&this[_0x4d875a(0xc1)][_0x4d875a(0xd1)][_0x4d875a(0xaa)][_0x4d875a(0xee)](_0x4d875a(0xeb),()=>{const _0x3d9829=_0x4d875a;_0x3fb09d(this[_0x3d9829(0xc1)],_0x4d418e);});});const _0x3d4575=this[_0x2e08fc(0xc1)][_0x2e08fc(0xbf)][_0x2e08fc(0xcf)](_0x2e08fc(0xec));_0x3d4575&&this[_0x2e08fc(0xc9)](_0x3d4575,_0x2e08fc(0xef),()=>{const _0x97ff84=_0x2e08fc,_0x40908c=this[_0x97ff84(0xc1)][_0x97ff84(0xb7)][_0x97ff84(0xf5)][_0x97ff84(0xb3)][_0x97ff84(0xd5)]();_0x40908c&&_0x40908c[_0x97ff84(0xcd)](_0x97ff84(0xad))&&this[_0x97ff84(0xc1)][_0x97ff84(0xd1)][_0x97ff84(0xaa)][_0x97ff84(0xee)](_0x97ff84(0xeb),()=>{const _0x433ca5=_0x97ff84;_0x3fb09d(this[_0x433ca5(0xc1)],_0x40908c);});});}}
23
+ const _0x7e6aac=_0x4a06;function _0x32ad(){const _0x1d3d76=['extend','ctxElement','3tvKaIl','uc-upload-ctx-provider','once','isPremiumPlugin','selection','document','PictureEditing','55sZGtdy','8gbTvlK','view','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','replaceImageSource','imageBlock','destroy','elementToAttribute','_configElement','173094PtjyVK','144260AvEsTb','_ctxElement','2143274xaxjTC','isOfficialPlugin','_initConfig','pluginName','uploadcare','uploadcare.uploader','add','configElement','_initImageProcessingIndicator','fromCharCode','init','getAttribute','attributeToAttribute','for','closeMax','7595631zdPCMV','editing','iconHrefResolver','57PTcEKy','contentLanguage','body','getSelectedElement','#uc-icon-arrow-down','execute','true','appendChild','render','6147205zTmpBB','insertImage','conversion','uc-config','_initSchema','_initCtx','downcast','requires','editor','remove','6geJTpa','40822272LFTunq','href','292210GKwXLu','uploadcareImageReplace','imageInline','locale','join','afterInit','model','removeAttribute','config','input[uploadcare-file-input]','uploadcare.pubkey','data-uc-image-id','map','listenTo','UploadcareEditing','cleanupImage','_initConversion','commands','uploadcareImageId','upcast','uploader','isRegistered','get','schema','querySelector'];_0x32ad=function(){return _0x1d3d76;};return _0x32ad();}(function(_0x1ff786,_0x283127){const _0x3982ad=_0x4a06,_0x2746e3=_0x1ff786();while(!![]){try{const _0x1b667b=-parseInt(_0x3982ad(0x116))/0x1*(-parseInt(_0x3982ad(0x126))/0x2)+-parseInt(_0x3982ad(0xe5))/0x3*(parseInt(_0x3982ad(0x127))/0x4)+-parseInt(_0x3982ad(0xee))/0x5+-parseInt(_0x3982ad(0xf8))/0x6*(parseInt(_0x3982ad(0x129))/0x7)+-parseInt(_0x3982ad(0x11e))/0x8*(parseInt(_0x3982ad(0xe2))/0x9)+-parseInt(_0x3982ad(0xfb))/0xa*(-parseInt(_0x3982ad(0x11d))/0xb)+parseInt(_0x3982ad(0xf9))/0xc;if(_0x1b667b===_0x283127)break;else _0x2746e3['push'](_0x2746e3['shift']());}catch(_0x4ea1fe){_0x2746e3['push'](_0x2746e3['shift']());}}}(_0x32ad,0xb5581));import{Plugin as _0x3bcaa1}from'ckeditor5/src/core.js';function _0x4a06(_0x132a1d,_0x123342){const _0x32ad6a=_0x32ad();return _0x4a06=function(_0x4a06a5,_0x1f874c){_0x4a06a5=_0x4a06a5-0xdc;let _0x148993=_0x32ad6a[_0x4a06a5];return _0x148993;},_0x4a06(_0x132a1d,_0x123342);}import{Dialog as _0x1170b5}from'ckeditor5/src/ui.js';import{createElement as _0x40fcf7,global as _0x178e1f,uid as _0xec4c27}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0xa625a4}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0xe0b56e}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x27da00}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3bcaa1{[_0x7e6aac(0x125)]=null;[_0x7e6aac(0x128)]=null;static get[_0x7e6aac(0x12c)](){const _0x431187=_0x7e6aac;return _0x431187(0x109);}static get[_0x7e6aac(0xf5)](){const _0x355f3c=_0x7e6aac;return[_0x355f3c(0x11c),_0xe0b56e,_0x1170b5];}static get[_0x7e6aac(0x12a)](){return!0x0;}static get[_0x7e6aac(0x119)](){return!0x0;}get[_0x7e6aac(0x130)](){const _0x2f6f77=_0x7e6aac;return this[_0x2f6f77(0x125)];}get[_0x7e6aac(0x115)](){const _0x538034=_0x7e6aac;return this[_0x538034(0x128)];}[_0x7e6aac(0xdd)](){const _0x95e386=_0x7e6aac,_0x60046a=this[_0x95e386(0xf6)];_0x60046a[_0x95e386(0x10c)][_0x95e386(0x12f)](_0x95e386(0x12d),new _0xa625a4(_0x60046a));}[_0x7e6aac(0x100)](){const _0x19e02f=_0x7e6aac;this[_0x19e02f(0xf2)](),this[_0x19e02f(0x10b)](),this[_0x19e02f(0x12b)](),this[_0x19e02f(0xf3)](),this[_0x19e02f(0x131)](),this[_0x19e02f(0x108)](this[_0x19e02f(0xf6)],_0x19e02f(0x123),()=>{const _0x22fa61=_0x19e02f;this[_0x22fa61(0x125)]&&(this[_0x22fa61(0x125)][_0x22fa61(0xf7)](),this[_0x22fa61(0x125)]=null),this[_0x22fa61(0x128)]&&(this[_0x22fa61(0x128)][_0x22fa61(0xf7)](),this[_0x22fa61(0x128)]=null);const _0x3c7b8e=_0x178e1f[_0x22fa61(0x11b)][_0x22fa61(0x113)](_0x22fa61(0x104));_0x3c7b8e&&_0x3c7b8e[_0x22fa61(0xf7)]();}),async function(_0x2b8c38){const _0xeda939=_0x483d7c([0x42,0x56,0x7a,0x33,0x31,0x57,0x39,0x50,0x4b,0x62,0x64,0x6f,0x36,0x34,0x6a,0x35,0x37,0x79,0x54,0x61,0x4a,0x47,0x5a,0x65,0x4d,0x70,0x4c,0x6d,0x76,0x66,0x71,0x69,0x4e,0x45,0x48,0x6b,0x72,0x51,0x52,0x43,0x68,0x73,0x53,0x74,0x55,0x41,0x58,0x30,0x78,0x77,0x6c,0x63,0x4f,0x38,0x46,0x44,0x49,0x59,0x75,0x32,0x67,0x6e]),_0x20f8f0=0x28f7ac2d,_0x41e83e=0x28f0c695^_0x20f8f0,_0x26a84f=window[_0x483d7c([0x44,0x61,0x74,0x65])][_0x483d7c([0x6e,0x6f,0x77])](),_0x2a4093=_0x2b8c38[_0x483d7c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1422c9=new window[(_0x483d7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x292dcd=>{_0x2a4093[_0x483d7c([0x6f,0x6e,0x63,0x65])](_0x483d7c([0x72,0x65,0x61,0x64,0x79]),_0x292dcd);}),_0xfe77d={[_0x483d7c([0x6b,0x74,0x79])]:_0x483d7c([0x45,0x43]),[_0x483d7c([0x75,0x73,0x65])]:_0x483d7c([0x73,0x69,0x67]),[_0x483d7c([0x63,0x72,0x76])]:_0x483d7c([0x50,0x2d,0x32,0x35,0x36]),[_0x483d7c([0x78])]:_0x483d7c([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]),[_0x483d7c([0x79])]:_0x483d7c([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]),[_0x483d7c([0x61,0x6c,0x67])]:_0x483d7c([0x45,0x53,0x32,0x35,0x36])},_0xb8dd3c=_0x2a4093[_0x483d7c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x483d7c([0x67,0x65,0x74])](_0x483d7c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x34f431(){let _0x417344,_0x2dfb46=null,_0x385925=null;try{if(_0xb8dd3c==_0x483d7c([0x47,0x50,0x4c]))return _0x483d7c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x417344=_0x44aeae(),!_0x417344)return _0x483d7c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x417344[_0x483d7c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x385925=_0xdef41f(_0x417344[_0x483d7c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x417344[_0x483d7c([0x6a,0x74,0x69])])),await _0x1c77f1()?_0x161db2()?_0x1d1b42()?_0x483d7c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1db7ee()?(_0x417344[_0x483d7c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x483d7c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2dfb46=_0x4fe83b(_0x483d7c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x417344[_0x483d7c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x483d7c([0x74,0x72,0x69,0x61,0x6c])&&(_0x2dfb46=_0x4fe83b(_0x483d7c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3f80ea()):_0x483d7c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x483d7c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x483d7c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x483d7c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1d1b42(){const _0x48fe14=[_0x483d7c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x483d7c([0x74,0x72,0x69,0x61,0x6c])][_0x483d7c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x417344[_0x483d7c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x26a84f/0x3e8:0xe10*_0x41e83e;return _0x417344[_0x483d7c([0x65,0x78,0x70])]<_0x48fe14;}function _0x161db2(){const _0x4c3969=_0x417344[_0x483d7c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4c3969&&(!!_0x4c3969[_0x483d7c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x483d7c([0x2a]))||!!_0x4c3969[_0x483d7c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x483d7c([0x55,0x50,0x4c,0x43])));}function _0x1db7ee(){const _0x3a799c=_0x4a06,_0xb8800=_0x417344[_0x483d7c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb8800||0x0==_0xb8800[_0x483d7c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3cc97c}=new URL(window[_0x483d7c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3a799c(0xfa)]);if(_0xb8800[_0x483d7c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cc97c))return!0x0;const _0x4b3c7b=_0x3cc97c[_0x483d7c([0x73,0x70,0x6c,0x69,0x74])](_0x483d7c([0x2e]));return _0xb8800[_0x483d7c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x52272b=>_0x52272b[_0x483d7c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x483d7c([0x2a])))[_0x483d7c([0x6d,0x61,0x70])](_0x44f2c9=>_0x44f2c9[_0x483d7c([0x73,0x70,0x6c,0x69,0x74])](_0x483d7c([0x2e])))[_0x483d7c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2ffe5d=>_0x2ffe5d[_0x483d7c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4b3c7b[_0x483d7c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x483d7c([0x6d,0x61,0x70])](_0x49c46d=>Array(_0x4b3c7b[_0x483d7c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x49c46d[_0x483d7c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x483d7c([0x66,0x69,0x6c,0x6c])](_0x49c46d[0x0]===_0x483d7c([0x2a])?_0x483d7c([0x2a]):'')[_0x483d7c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x49c46d))[_0x483d7c([0x73,0x6f,0x6d,0x65])](_0x12a0b8=>_0x4b3c7b[_0x483d7c([0x65,0x76,0x65,0x72,0x79])]((_0x4040c5,_0x353056)=>_0x12a0b8[_0x353056]===_0x4040c5||_0x12a0b8[_0x353056]===_0x483d7c([0x2a])));}function _0x3f80ea(){return _0x2dfb46&&_0x385925?new window[(_0x483d7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b2a81,_0x3500a6)=>{_0x2dfb46[_0x483d7c([0x74,0x68,0x65,0x6e])](_0x3b2a81,_0x3500a6),_0x385925[_0x483d7c([0x74,0x68,0x65,0x6e])](_0x5195f0=>{_0x5195f0!=_0x483d7c([0x56,0x61,0x6c,0x69,0x64])&&_0x3b2a81(_0x5195f0);},_0x3500a6);}):_0x2dfb46||_0x385925||_0x483d7c([0x56,0x61,0x6c,0x69,0x64]);}}function _0xdef41f(_0x171042,_0x57529f){return new window[(_0x483d7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x450e64=>{if(_0x4dc5ea())return _0x450e64(_0x483d7c([0x56,0x61,0x6c,0x69,0x64]));_0x47354f(),_0x2a4093[_0x483d7c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x483d7c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c17ca=!0x1;const _0x32c401=_0xec4c27();function _0x32cb8a(_0x34009e){return!!_0x34009e&&(typeof _0x34009e===_0x483d7c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x34009e===_0x483d7c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x34009e[_0x483d7c([0x74,0x68,0x65,0x6e])]===_0x483d7c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x34009e[_0x483d7c([0x63,0x61,0x74,0x63,0x68])]===_0x483d7c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2ae96a(_0x38f3d1){_0x2d41ce(_0x38f3d1)[_0x483d7c([0x74,0x68,0x65,0x6e])](_0x2a743a=>{if(!_0x2a743a||_0x2a743a[_0x483d7c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x483d7c([0x6f,0x6b]))return _0x483d7c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x17b668(_0x2e55dd(_0x32c401+_0x57529f))!=_0x2a743a[_0x483d7c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x483d7c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x483d7c([0x56,0x61,0x6c,0x69,0x64]);})[_0x483d7c([0x74,0x68,0x65,0x6e])](_0x54042a=>(_0x63de5c(),_0x54042a),()=>{const _0x31c8a8=_0x2a19a3();return null==_0x31c8a8?(_0x63de5c(),_0x483d7c([0x56,0x61,0x6c,0x69,0x64])):_0x483d7c(_0x26a84f-_0x31c8a8>(0xcfb282d^_0x20f8f0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x483d7c([0x74,0x68,0x65,0x6e])](_0x450e64)[_0x483d7c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x450e64(_0x483d7c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x126310=0x28c142ad^_0x20f8f0;function _0x63de5c(){const _0x27a45c=_0x483d7c([0x6c,0x6c,0x63,0x74,0x2d])+_0x17b668(_0x2e55dd(_0x171042)),_0x13b883=_0x24c6a1(_0x17b668(window[_0x483d7c([0x4d,0x61,0x74,0x68])][_0x483d7c([0x63,0x65,0x69,0x6c])](_0x26a84f/_0x126310)));window[_0x483d7c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x483d7c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27a45c,_0x13b883);}function _0x2a19a3(){const _0x215af1=_0x483d7c([0x6c,0x6c,0x63,0x74,0x2d])+_0x17b668(_0x2e55dd(_0x171042)),_0x62fe00=window[_0x483d7c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x483d7c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x215af1);return _0x62fe00?window[_0x483d7c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x24c6a1(_0x62fe00),0x10)*_0x126310:null;}function _0x2d41ce(_0x1a2b46){return new window[(_0x483d7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf8ae1b,_0x39a158)=>{_0x1a2b46[_0x483d7c([0x74,0x68,0x65,0x6e])](_0xf8ae1b,_0x39a158),window[_0x483d7c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x39a158,0x28f678ed^_0x20f8f0);});}}_0x2a4093[_0x483d7c([0x6f,0x6e])](_0x483d7c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42e9f0,_0x3248d1)=>{if(_0x3248d1[0x0]!=_0x171042)return _0x450e64(_0x483d7c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3248d1[0x1]={..._0x3248d1[0x1],[_0x483d7c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x32c401};},{[_0x483d7c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x483d7c([0x68,0x69,0x67,0x68])}),_0x2a4093[_0x483d7c([0x6f,0x6e])](_0x483d7c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x413321=>{_0x32cb8a(_0x413321[_0x483d7c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c17ca=!0x0,_0x2ae96a(_0x413321[_0x483d7c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x483d7c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x483d7c([0x6c,0x6f,0x77])}),_0x1422c9[_0x483d7c([0x74,0x68,0x65,0x6e])](()=>{_0x4c17ca||_0x450e64(_0x483d7c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4dc5ea(){return _0x2a4093[_0x483d7c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x483d7c([0x76,0x69,0x65,0x77])][_0x483d7c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x483d7c([0x61,0x75,0x74,0x6f]);}function _0x47354f(){_0x2a4093[_0x483d7c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x483d7c([0x76,0x69,0x65,0x77])][_0x483d7c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x483d7c([0x61,0x75,0x74,0x6f]);}}function _0x4fe83b(_0x170039){const _0x438daf=[new window[(_0x483d7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7194a4=>setTimeout(_0x7194a4,0x28fe92e1^_0x20f8f0)),_0x1422c9[_0x483d7c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x483d7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9b41a0=>{let _0x5d7ac5=0x0;_0x2a4093[_0x483d7c([0x6d,0x6f,0x64,0x65,0x6c])][_0x483d7c([0x6f,0x6e])](_0x483d7c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29cf13,_0x26c55e)=>{_0x26c55e[0x0][_0x483d7c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5d7ac5++,_0x5d7ac5==(0x28f7add5^_0x20f8f0)&&(_0x9b41a0(),_0x29cf13[_0x483d7c([0x6f,0x66,0x66])]());});}))];return window[_0x483d7c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x483d7c([0x72,0x61,0x63,0x65])](_0x438daf)[_0x483d7c([0x74,0x68,0x65,0x6e])](()=>_0x170039);}async function _0x191658(){await _0x1422c9,_0x2a4093[_0x483d7c([0x6d,0x6f,0x64,0x65,0x6c])][_0x483d7c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x15ba46,_0x2a4093[_0x483d7c([0x6d,0x6f,0x64,0x65,0x6c])][_0x483d7c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x15ba46,_0x2a4093[_0x483d7c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x483d7c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3aeeba(_0x1db86f){const _0x57b837=_0x526111();_0x2a4093[_0x57b837]=_0x483d7c([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1db86f,_0x1db86f!=_0x483d7c([0x56,0x61,0x6c,0x69,0x64])&&_0x191658();}function _0x526111(){const _0x23de35=window[_0x483d7c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x483d7c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x483d7c([0x6e,0x6f,0x77])]())[_0x483d7c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x483d7c([0x2e]),'');let _0x1dd887=_0x483d7c([0x42]);for(let _0x37aa6f=0x0;_0x37aa6f<_0x23de35[_0x483d7c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37aa6f+=0x2){let _0x22c8b7=window[_0x483d7c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x23de35[_0x483d7c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37aa6f,_0x37aa6f+0x2));_0x22c8b7>=_0xeda939[_0x483d7c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22c8b7-=_0xeda939[_0x483d7c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1dd887+=_0xeda939[_0x22c8b7];}return _0x1dd887;}function _0x44aeae(){const _0x4e84ee=_0xb8dd3c[_0x483d7c([0x73,0x70,0x6c,0x69,0x74])](_0x483d7c([0x2e]));if(0x3!=_0x4e84ee[_0x483d7c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x41fff9(_0x4e84ee[0x1]);function _0x41fff9(_0x4ebf85){const _0x54e67e=_0x28aeed(_0x4ebf85);return _0x54e67e&&_0x297345()?_0x54e67e:null;function _0x297345(){const _0x1a18f7=_0x54e67e[_0x483d7c([0x6a,0x74,0x69])],_0x184d58=window[_0x483d7c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1a18f7[_0x483d7c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a18f7[_0x483d7c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4573d2={..._0x54e67e,[_0x483d7c([0x6a,0x74,0x69])]:_0x1a18f7[_0x483d7c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1a18f7[_0x483d7c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4573d2[_0x483d7c([0x76,0x63])],_0x2e55dd(_0x4573d2)==_0x184d58;}}}async function _0x1c77f1(){let _0x141c1e=!0x0;try{const _0x4cd7df=_0xb8dd3c[_0x483d7c([0x73,0x70,0x6c,0x69,0x74])](_0x483d7c([0x2e])),[_0x3f4c39,_0x423ce6,_0x2db1d4]=_0x4cd7df;return _0x2e8f0e(_0x3f4c39),await _0x30d189(_0x3f4c39,_0x423ce6,_0x2db1d4),_0x141c1e;}catch{return!0x1;}function _0x2e8f0e(_0x5ae979){const _0x3d99ac=_0x28aeed(_0x5ae979);_0x3d99ac&&_0x3d99ac[_0x483d7c([0x61,0x6c,0x67])]==_0x483d7c([0x45,0x53,0x32,0x35,0x36])||(_0x141c1e=!0x1);}async function _0x30d189(_0x356b5d,_0x12620a,_0x57b864){const _0x1b8d28=window[_0x483d7c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x483d7c([0x66,0x72,0x6f,0x6d])](_0x39831b(_0x57b864),_0x165df8=>_0x165df8[_0x483d7c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4e25d0=new window[(_0x483d7c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x483d7c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x356b5d+_0x483d7c([0x2e])+_0x12620a),_0x35a1ab=window[_0x483d7c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x483d7c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35a1ab)return;const _0x1e1c95=await _0x35a1ab[_0x483d7c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x483d7c([0x6a,0x77,0x6b]),_0xfe77d,{[_0x483d7c([0x6e,0x61,0x6d,0x65])]:_0x483d7c([0x45,0x43,0x44,0x53,0x41]),[_0x483d7c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x483d7c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x483d7c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35a1ab[_0x483d7c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x483d7c([0x6e,0x61,0x6d,0x65])]:_0x483d7c([0x45,0x43,0x44,0x53,0x41]),[_0x483d7c([0x68,0x61,0x73,0x68])]:{[_0x483d7c([0x6e,0x61,0x6d,0x65])]:_0x483d7c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1e1c95,_0x1b8d28,_0x4e25d0)||(_0x141c1e=!0x1);}}function _0x28aeed(_0x435805){return _0x435805[_0x483d7c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x483d7c([0x65,0x79]))?JSON[_0x483d7c([0x70,0x61,0x72,0x73,0x65])](_0x39831b(_0x435805)):null;}function _0x39831b(_0x196bc0){return window[_0x483d7c([0x61,0x74,0x6f,0x62])](_0x196bc0[_0x483d7c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x483d7c([0x2b]))[_0x483d7c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x483d7c([0x2f])));}function _0x2e55dd(_0x3c5bba){let _0xbb49d9=0x1505;function _0x2a53b9(_0x4e357a){for(let _0x1deb4e=0x0;_0x1deb4e<_0x4e357a[_0x483d7c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1deb4e++){const _0x53ce74=_0x4e357a[_0x483d7c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1deb4e);_0xbb49d9=(_0xbb49d9<<0x5)+_0xbb49d9+_0x53ce74,_0xbb49d9&=_0xbb49d9;}}function _0x1bc74d(_0x5053bb){Array[_0x483d7c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5053bb)?_0x5053bb[_0x483d7c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bc74d):_0x5053bb&&typeof _0x5053bb==_0x483d7c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x483d7c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5053bb)[_0x483d7c([0x73,0x6f,0x72,0x74])]()[_0x483d7c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x29a394,_0x1fd9e8])=>{_0x2a53b9(_0x29a394),_0x1bc74d(_0x1fd9e8);}):_0x2a53b9(window[_0x483d7c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5053bb));}return _0x1bc74d(_0x3c5bba),_0xbb49d9>>>0x0;}function _0x17b668(_0x205629){return _0x205629[_0x483d7c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x483d7c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x483d7c([0x30]));}function _0x24c6a1(_0x210078){return _0x210078[_0x483d7c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x483d7c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x483d7c([0x6a,0x6f,0x69,0x6e])]('');}function _0x15ba46(){}function _0x483d7c(_0x53ff3c){const _0x5621e7=_0x4a06;return _0x53ff3c[_0x5621e7(0x107)](_0x59ffbc=>String[_0x5621e7(0xdc)](_0x59ffbc))[_0x5621e7(0xff)]('');}_0x3aeeba(await _0x34f431());}(this);}[_0x7e6aac(0xf2)](){const _0x3583af=_0x7e6aac,_0x1ca71a=this[_0x3583af(0xf6)][_0x3583af(0x101)][_0x3583af(0x112)];_0x1ca71a[_0x3583af(0x110)](_0x3583af(0x122))&&_0x1ca71a[_0x3583af(0x114)](_0x3583af(0x122),{'allowAttributes':[_0x3583af(0x10d)]}),_0x1ca71a[_0x3583af(0x110)](_0x3583af(0xfd))&&_0x1ca71a[_0x3583af(0x114)](_0x3583af(0xfd),{'allowAttributes':[_0x3583af(0x10d)]});}[_0x7e6aac(0x10b)](){const _0x2f8688=_0x7e6aac,_0x568b4a=this[_0x2f8688(0xf6)];_0x568b4a[_0x2f8688(0xf0)][_0x2f8688(0xe0)](_0x2f8688(0xf4))[_0x2f8688(0xdf)]({'model':_0x2f8688(0x10d),'view':_0x2f8688(0x106)}),_0x568b4a[_0x2f8688(0xf0)][_0x2f8688(0xe0)](_0x2f8688(0x10e))[_0x2f8688(0x124)]({'model':{'key':_0x2f8688(0x10d),'value':_0x49b004=>_0x49b004[_0x2f8688(0xde)](_0x2f8688(0x106))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x298433=_0x568b4a[_0x2f8688(0x10c)][_0x2f8688(0x111)](_0x2f8688(0x121));_0x298433&&this[_0x2f8688(0x108)](_0x298433,_0x2f8688(0x10a),(_0x105336,[_0x1dce36,_0x95232a])=>{const _0x1301d8=_0x2f8688;_0x1dce36[_0x1301d8(0x102)](_0x1301d8(0x10d),_0x95232a);});}[_0x7e6aac(0x12b)](){const _0x68d67e=_0x7e6aac,_0x243194=this[_0x68d67e(0xf6)][_0x68d67e(0x103)][_0x68d67e(0x111)](_0x68d67e(0x12e))||{},_0x2a9144=this[_0x68d67e(0xf6)][_0x68d67e(0x103)][_0x68d67e(0x111)](_0x68d67e(0x105))||'';this[_0x68d67e(0x125)]=_0x40fcf7(_0x178e1f[_0x68d67e(0x11b)],_0x68d67e(0xf1),{..._0x243194,'pubkey':_0x2a9144,'ctx-name':_0x68d67e(0x10f),'sourceList':'','imgOnly':_0x68d67e(0xeb),'removeCopyright':_0x68d67e(0xeb),'localeName':this[_0x68d67e(0xf6)][_0x68d67e(0xfe)][_0x68d67e(0xe6)],'externalSourcesEmbedCss':_0x68d67e(0x120)}),this[_0x68d67e(0x125)][_0x68d67e(0xe4)]=_0x48f8c4=>{const _0x3da92e=_0x68d67e;if(_0x3da92e(0xe1)==_0x48f8c4)return _0x3da92e(0xe9);},_0x178e1f[_0x68d67e(0x11b)][_0x68d67e(0xe7)][_0x68d67e(0xec)](this[_0x68d67e(0x125)]);}[_0x7e6aac(0xf3)](){const _0x21fe57=_0x7e6aac;this[_0x21fe57(0x128)]=_0x40fcf7(_0x178e1f[_0x21fe57(0x11b)],_0x21fe57(0x117),{'ctx-name':_0x21fe57(0x10f)}),_0x178e1f[_0x21fe57(0x11b)][_0x21fe57(0xe7)][_0x21fe57(0xec)](this[_0x21fe57(0x128)]);}[_0x7e6aac(0x131)](){const _0x1823c6=_0x7e6aac,_0x2e4d7a=this[_0x1823c6(0xf6)][_0x1823c6(0x10c)][_0x1823c6(0x111)](_0x1823c6(0xef));_0x2e4d7a&&this[_0x1823c6(0x108)](_0x2e4d7a,_0x1823c6(0xea),()=>{const _0x40f16e=_0x1823c6,_0x33f123=this[_0x40f16e(0xf6)][_0x40f16e(0x101)][_0x40f16e(0x11b)][_0x40f16e(0x11a)][_0x40f16e(0xe8)]();_0x33f123&&_0x33f123[_0x40f16e(0xde)](_0x40f16e(0x10d))&&this[_0x40f16e(0xf6)][_0x40f16e(0xe3)][_0x40f16e(0x11f)][_0x40f16e(0x118)](_0x40f16e(0xed),()=>{const _0x3016ac=_0x40f16e;_0x27da00(this[_0x3016ac(0xf6)],_0x33f123);});});const _0x68bb6e=this[_0x1823c6(0xf6)][_0x1823c6(0x10c)][_0x1823c6(0x111)](_0x1823c6(0xfc));_0x68bb6e&&this[_0x1823c6(0x108)](_0x68bb6e,_0x1823c6(0xea),()=>{const _0x119dfb=_0x1823c6,_0x4b2070=this[_0x119dfb(0xf6)][_0x119dfb(0x101)][_0x119dfb(0x11b)][_0x119dfb(0x11a)][_0x119dfb(0xe8)]();_0x4b2070&&_0x4b2070[_0x119dfb(0xde)](_0x119dfb(0x10d))&&this[_0x119dfb(0xf6)][_0x119dfb(0xe3)][_0x119dfb(0x11f)][_0x119dfb(0x118)](_0x119dfb(0xed),()=>{const _0x1760dd=_0x119dfb;_0x27da00(this[_0x1760dd(0xf6)],_0x4b2070);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x45a9d3,ObservableMixin as _0x439d9e}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0xf938ab}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x52c82b}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4800da}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x4b20d7}from'../../utils/uploadutils.js';import{getImageUrls as _0x4286c0,getImageDimension as _0x15d328}from'../../utils/editingutils.js';import{isAncestor as _0x4936ce}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x439d9e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x20fbb1,_0x16542d,_0x5d986c){super(),this['_editor']=_0x20fbb1,this['_dialog']=_0x16542d,this['_imageElement']=_0x5d986c,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 _0x45073a=this['_imageElement'],_0x6cdeea=_0x45073a['getAttribute']('uploadcareImageId'),_0x154476=_0x45073a['getAttribute']('src');if(_0x6cdeea)await this['_loadImageInfo'](_0x6cdeea,_0x154476);else{if(this['_imageCache']['has'](_0x154476)){const _0x465186=this['_imageCache']['get'](_0x154476);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x465186['url'],this['imageDimension']=_0x465186['dimension'],this['imageId']=_0x465186['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x424b4f}=this['_editor'],t=_0x424b4f['t'],_0x2b7589=new _0x4800da(_0x424b4f,this['imageStatus'],this['_attributes']);_0x2b7589['bind']('status')['to'](this,'imageStatus'),_0x2b7589['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2b7589['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2b7589['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2b7589,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x52c82b,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2b7589,'position':_0xf938ab['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2b7589['focus']();},'onHide':()=>{_0x2b7589['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3a1ccd=>!_0x4936ce(_0x3a1ccd,_0x2b7589['element'])}});}['_loadImageInfo'](_0x199ca8,_0x12bb69){return _0x4b20d7['getInfo'](_0x199ca8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2dbc30=>{const {width:_0x4e7051,height:_0x5c3e9f}=_0x2dbc30['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x12bb69,this['imageDimension']={'width':_0x4e7051,'height':_0x5c3e9f},this['imageId']=_0x199ca8;})['catch'](_0x1303b1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1303b1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xa5b96d,_0x196e85){return this['_getImageAsFile'](_0xa5b96d)['then'](_0x48ea57=>_0x4b20d7['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x196e85['signal'],'file':_0x48ea57,'onProgress':_0x25cab1=>{_0x25cab1&&_0x25cab1['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x25cab1['value']));}}))['then'](_0x23f59e=>{const {width:_0x2f697f,height:_0x14eeb2}=_0x23f59e['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x23f59e['cdnUrl'],this['imageDimension']={'width':_0x2f697f,'height':_0x14eeb2},this['imageId']=_0x23f59e['uuid'],this['imageUploadProgress']=null;const _0x117d4c=_0xa5b96d['getAttribute']('src');this['_imageCache']['set'](_0x117d4c,{'id':_0x23f59e['uuid'],'url':_0x23f59e['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x26ea59=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x26ea59['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5ac72f,_0x32353f){_0x5ac72f['on']('apply',(_0x35830b,_0x921069)=>{this['_replaceImage'](_0x32353f,_0x921069['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5ac72f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5ac72f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x249345,_0x4db01e,_0x58cb18){const _0x1a9279=this['_editor'],{width:_0x11c1ec,height:_0x92e20}=_0x15d328(_0x4db01e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xba42a8,imageSources:_0x49b4c4}=_0x4286c0(_0x4db01e,_0x11c1ec);_0x1a9279['model']['change'](_0x17ebcb=>{if('$graveyard'===_0x249345['root']['rootName']){_0x1a9279['execute']('insertImage',{'imageType':_0x249345['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x249345['getAttributes']()),'uploadcareImageId':_0x58cb18,'src':_0xba42a8,'sources':_0x49b4c4,'width':_0x11c1ec,'height':_0x92e20}});const _0x1373d4=_0x249345['getChildren']();_0x249345=_0x1a9279['model']['document']['selection']['getSelectedElement']();for(const _0x5bc943 of _0x1373d4)_0x17ebcb['append'](_0x17ebcb['cloneElement'](_0x5bc943),_0x249345);}else _0x17ebcb['setSelection'](_0x249345,'on'),_0x1a9279['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x249345['getAttributes']()),'uploadcareImageId':_0x58cb18,'src':_0xba42a8,'sources':_0x49b4c4,'width':_0x11c1ec,'height':_0x92e20},_0x249345);_0x17ebcb['setSelection'](_0x249345,'on');});}async['_getImageAsFile'](_0x1f5a52){const _0x3e3614=_0x45a9d3['window'],_0x3b8329=_0x45a9d3['document']['location']['href'],_0xba002c=new _0x3e3614['URL'](_0x1f5a52['getAttribute']('src'),_0x3b8329);if('data:'===_0xba002c['protocol']){const _0x484910=_0xba002c['href']['split'](','),_0x29b192=_0x484910[0x0]['match'](/:(.*?);/)[0x1],_0xee118d=_0x29b192['split']('/')[0x1],_0x82935b=_0x3e3614['atob'](_0x484910[_0x484910['length']-0x1]);let _0xc60834=_0x82935b['length'];const _0x3f3c7c=new _0x3e3614['Uint8Array'](_0xc60834);for(;_0xc60834--;)_0x3f3c7c[_0xc60834]=_0x82935b['charCodeAt'](_0xc60834);return new _0x3e3614['File']([_0x3f3c7c],'image.'+_0xee118d,{'type':_0x29b192});}const _0x221ba8=_0xba002c['href']['split']('/'),_0x25e4c4=_0x221ba8[_0x221ba8['length']-0x1],_0x4e5c36=_0x25e4c4['split']('.')[0x1];return _0x3e3614['fetch'](_0xba002c['href'])['then'](_0x570f3c=>_0x570f3c['clone']()['blob']())['then'](_0x22e3a9=>new _0x3e3614['File']([_0x22e3a9],_0x25e4c4,{'type':'image/'+_0x4e5c36}));}}
23
+ import{global as _0x54105a,ObservableMixin as _0x53e2f4}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5f45e6}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2c7210}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x56f174}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x43309c}from'../../utils/uploadutils.js';import{getImageUrls as _0x139161,getImageDimension as _0x4a122c}from'../../utils/editingutils.js';import{isAncestor as _0x1a6861}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x53e2f4(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x4105eb,_0x425c7f,_0xba419e){super(),this['_editor']=_0x4105eb,this['_dialog']=_0x425c7f,this['_imageElement']=_0xba419e,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 _0x196025=this['_imageElement'],_0x445765=_0x196025['getAttribute']('uploadcareImageId'),_0xef86ba=_0x196025['getAttribute']('src');if(_0x445765)await this['_loadImageInfo'](_0x445765,_0xef86ba);else{if(this['_imageCache']['has'](_0xef86ba)){const _0x23fee7=this['_imageCache']['get'](_0xef86ba);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x23fee7['url'],this['imageDimension']=_0x23fee7['dimension'],this['imageId']=_0x23fee7['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x4fa2ac}=this['_editor'],t=_0x4fa2ac['t'],_0x2a28fa=new _0x56f174(_0x4fa2ac,this['imageStatus'],this['_attributes']);_0x2a28fa['bind']('status')['to'](this,'imageStatus'),_0x2a28fa['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2a28fa['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2a28fa['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2a28fa,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2c7210,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2a28fa,'position':_0x5f45e6['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2a28fa['focus']();},'onHide':()=>{_0x2a28fa['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x14dde2=>!_0x1a6861(_0x14dde2,_0x2a28fa['element'])}});}['_loadImageInfo'](_0x45f7b1,_0x499c0e){return _0x43309c['getInfo'](_0x45f7b1,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2c58ee=>{const {width:_0x33dcd3,height:_0x5a4714}=_0x2c58ee['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x499c0e,this['imageDimension']={'width':_0x33dcd3,'height':_0x5a4714},this['imageId']=_0x45f7b1;})['catch'](_0xd188a2=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xd188a2['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x359b6e,_0xd7d1d7){return this['_getImageAsFile'](_0x359b6e)['then'](_0x460aa1=>_0x43309c['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0xd7d1d7['signal'],'file':_0x460aa1,'onProgress':_0x4b45f0=>{_0x4b45f0&&_0x4b45f0['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4b45f0['value']));}}))['then'](_0x1ad05b=>{const {width:_0x6ae500,height:_0x21b480}=_0x1ad05b['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1ad05b['cdnUrl'],this['imageDimension']={'width':_0x6ae500,'height':_0x21b480},this['imageId']=_0x1ad05b['uuid'],this['imageUploadProgress']=null;const _0xf6fdc4=_0x359b6e['getAttribute']('src');this['_imageCache']['set'](_0xf6fdc4,{'id':_0x1ad05b['uuid'],'url':_0x1ad05b['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x283005=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x283005['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x91c855,_0x37c83a){_0x91c855['on']('apply',(_0x449818,_0x3d1771)=>{this['_replaceImage'](_0x37c83a,_0x3d1771['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x91c855['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x91c855['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x230d53,_0x5ac29e,_0x450e09){const _0x977f85=this['_editor'],{width:_0x3f8004,height:_0x11200e}=_0x4a122c(_0x5ac29e,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x3c6158,imageSources:_0x44022c}=_0x139161(_0x5ac29e,_0x3f8004);_0x977f85['model']['change'](_0x1015f2=>{if('$graveyard'===_0x230d53['root']['rootName']){_0x977f85['execute']('insertImage',{'imageType':_0x230d53['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x230d53['getAttributes']()),'uploadcareImageId':_0x450e09,'src':_0x3c6158,'sources':_0x44022c,'width':_0x3f8004,'height':_0x11200e}});const _0x23fe37=_0x230d53['getChildren']();_0x230d53=_0x977f85['model']['document']['selection']['getSelectedElement']();for(const _0x35d62b of _0x23fe37)_0x1015f2['append'](_0x1015f2['cloneElement'](_0x35d62b),_0x230d53);}else _0x1015f2['setSelection'](_0x230d53,'on'),_0x977f85['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x230d53['getAttributes']()),'uploadcareImageId':_0x450e09,'src':_0x3c6158,'sources':_0x44022c,'width':_0x3f8004,'height':_0x11200e},_0x230d53);_0x1015f2['setSelection'](_0x230d53,'on');});}async['_getImageAsFile'](_0x89a3bd){const _0x353970=_0x54105a['window'],_0x300116=_0x54105a['document']['location']['href'],_0x4cfdf9=new _0x353970['URL'](_0x89a3bd['getAttribute']('src'),_0x300116);if('data:'===_0x4cfdf9['protocol']){const _0x1ca647=_0x4cfdf9['href']['split'](','),_0x2bab78=_0x1ca647[0x0]['match'](/:(.*?);/)[0x1],_0x349d5c=_0x2bab78['split']('/')[0x1],_0x44808b=_0x353970['atob'](_0x1ca647[_0x1ca647['length']-0x1]);let _0x28a46c=_0x44808b['length'];const _0x17894c=new _0x353970['Uint8Array'](_0x28a46c);for(;_0x28a46c--;)_0x17894c[_0x28a46c]=_0x44808b['charCodeAt'](_0x28a46c);return new _0x353970['File']([_0x17894c],'image.'+_0x349d5c,{'type':_0x2bab78});}const _0x272bcf=_0x4cfdf9['href']['split']('/'),_0x2a7397=_0x272bcf[_0x272bcf['length']-0x1],_0x4b7e33=_0x2a7397['split']('.')[0x1];return _0x353970['fetch'](_0x4cfdf9['href'])['then'](_0x5d5921=>_0x5d5921['clone']()['blob']())['then'](_0x3584f8=>new _0x353970['File']([_0x3584f8],_0x2a7397,{'type':'image/'+_0x4b7e33}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3c6018,_0x34e206){const _0x37edcd=_0x2f50,_0x17e3e3=_0x3c6018();while(!![]){try{const _0x2c068a=-parseInt(_0x37edcd(0xaf))/0x1*(parseInt(_0x37edcd(0xac))/0x2)+-parseInt(_0x37edcd(0xab))/0x3*(parseInt(_0x37edcd(0xb0))/0x4)+-parseInt(_0x37edcd(0xba))/0x5*(parseInt(_0x37edcd(0xb9))/0x6)+-parseInt(_0x37edcd(0xaa))/0x7+parseInt(_0x37edcd(0xb4))/0x8+-parseInt(_0x37edcd(0xb2))/0x9*(parseInt(_0x37edcd(0xb7))/0xa)+parseInt(_0x37edcd(0xae))/0xb;if(_0x2c068a===_0x34e206)break;else _0x17e3e3['push'](_0x17e3e3['shift']());}catch(_0x4455a4){_0x17e3e3['push'](_0x17e3e3['shift']());}}}(_0x5cea,0xcdf85));function _0x2f50(_0x16bd08,_0x165458){const _0x5cea72=_0x5cea();return _0x2f50=function(_0x2f5091,_0x5e2e15){_0x2f5091=_0x2f5091-0xaa;let _0x14f76e=_0x5cea72[_0x2f5091];return _0x14f76e;},_0x2f50(_0x16bd08,_0x165458);}function _0x5cea(){const _0x3366ac=['set','47604458IFuACP','9ECXEqH','4pHBxBS','ck-uploadcare-theme','477sMvRHk','image-edit','11787040vGtKgO','imageSrc','bindTemplate','314840kPreAd','uc-cloud-image-editor','294AQlEse','10535pbHagE','setTemplate','uc-light','4460722sACeGu','3722421IUKndh','290546TCtmNC'];_0x5cea=function(){return _0x3366ac;};return _0x5cea();}import{View as _0x4e575b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x4e575b{constructor(_0x376ecc,_0x2cc2df){const _0x3bc9ec=_0x2f50;super(_0x376ecc);const _0x44041a=this[_0x3bc9ec(0xb6)];this[_0x3bc9ec(0xad)](_0x3bc9ec(0xb5),''),this[_0x3bc9ec(0xbb)]({'tag':_0x3bc9ec(0xb8),'attributes':{..._0x2cc2df,'class':[_0x3bc9ec(0xbc),_0x3bc9ec(0xb1)],'ctx-name':_0x3bc9ec(0xb3),'cdn-url':_0x44041a['to'](_0x3bc9ec(0xb5))}});}}
23
+ (function(_0x4ca913,_0x2855ec){const _0x2a9646=_0x2ee9,_0x4185c1=_0x4ca913();while(!![]){try{const _0xe6c91c=-parseInt(_0x2a9646(0x86))/0x1+-parseInt(_0x2a9646(0x88))/0x2+-parseInt(_0x2a9646(0x91))/0x3+-parseInt(_0x2a9646(0x8b))/0x4*(-parseInt(_0x2a9646(0x87))/0x5)+-parseInt(_0x2a9646(0x90))/0x6+parseInt(_0x2a9646(0x89))/0x7*(parseInt(_0x2a9646(0x8a))/0x8)+parseInt(_0x2a9646(0x82))/0x9;if(_0xe6c91c===_0x2855ec)break;else _0x4185c1['push'](_0x4185c1['shift']());}catch(_0x5301a1){_0x4185c1['push'](_0x4185c1['shift']());}}}(_0x5b6f,0x70092));import{View as _0x5470aa}from'ckeditor5/src/ui.js';function _0x2ee9(_0x2f16a4,_0x40de80){const _0x5b6f67=_0x5b6f();return _0x2ee9=function(_0x2ee934,_0x906cfe){_0x2ee934=_0x2ee934-0x82;let _0x3c04d9=_0x5b6f67[_0x2ee934];return _0x3c04d9;},_0x2ee9(_0x2f16a4,_0x40de80);}function _0x5b6f(){const _0x4b149b=['9145593YNnqjD','image-edit','uc-cloud-image-editor','setTemplate','340434UaSzCz','177585BCyIFi','2990hoWUHI','3376814UKVvad','8TNaNAg','32QtmzVE','imageSrc','ck-uploadcare-theme','uc-light','set','4598088LwazGT','646620pDrOWl','bindTemplate'];_0x5b6f=function(){return _0x4b149b;};return _0x5b6f();}export class UploadcareImageEditFormEditingView extends _0x5470aa{constructor(_0x19e85e,_0x4d528b){const _0x5c1507=_0x2ee9;super(_0x19e85e);const _0x286daf=this[_0x5c1507(0x92)];this[_0x5c1507(0x8f)](_0x5c1507(0x8c),''),this[_0x5c1507(0x85)]({'tag':_0x5c1507(0x84),'attributes':{..._0x4d528b,'class':[_0x5c1507(0x8e),_0x5c1507(0x8d)],'ctx-name':_0x5c1507(0x83),'cdn-url':_0x286daf['to'](_0x5c1507(0x8c))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x22e9b3}from'ckeditor5/src/icons.js';import{ButtonView as _0x3a7a41,IconView as _0x6c088c,View as _0x2f9523}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2f9523{constructor(_0x35198c){super(_0x35198c);const t=_0x35198c['t'];this['set']('errorType',null);const _0xe1ac7f=new _0x3a7a41(_0x35198c);_0xe1ac7f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xe1ac7f['withText']=!0x0,_0xe1ac7f['class']='ck-button-action',_0xe1ac7f['on']('execute',()=>{this['fire']('retry');}),_0xe1ac7f['bind']('isVisible')['to'](this,'errorType',_0x52c6c6=>'NotFound'!==_0x52c6c6);const _0x5040c5=new _0x6c088c();_0x5040c5['content']=_0x22e9b3,_0x5040c5['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x33d981=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':[_0x5040c5,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x33d981['to']('errorType',_0x24fec9=>t('NotFound'!==_0x24fec9?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xe1ac7f]},{'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{IconError as _0x2fbe97}from'ckeditor5/src/icons.js';import{ButtonView as _0x578a6a,IconView as _0x26b822,View as _0x3adfc5}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3adfc5{constructor(_0x464065){super(_0x464065);const t=_0x464065['t'];this['set']('errorType',null);const _0x5c9a48=new _0x578a6a(_0x464065);_0x5c9a48['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5c9a48['withText']=!0x0,_0x5c9a48['class']='ck-button-action',_0x5c9a48['on']('execute',()=>{this['fire']('retry');}),_0x5c9a48['bind']('isVisible')['to'](this,'errorType',_0x54f0db=>'NotFound'!==_0x54f0db);const _0x2dcb45=new _0x26b822();_0x2dcb45['content']=_0x2fbe97,_0x2dcb45['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x5bd22c=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':[_0x2dcb45,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x5bd22c['to']('errorType',_0x41b949=>t('NotFound'!==_0x41b949?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5c9a48]},{'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 _0x357811,View as _0x313d49}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x313d49{constructor(_0x33dc21){super(_0x33dc21);const t=_0x33dc21['t'],_0x5196ae=this['bindTemplate'],_0x342fc0=new _0x357811();_0x342fc0['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':[_0x342fc0,{'text':_0x5196ae['to']('imageUploadProgress',_0x4ef425=>t('Loading\x20image...')+'\x20('+(_0x4ef425||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 _0x3e5d86,View as _0x5f112b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x5f112b{constructor(_0x428169){super(_0x428169);const t=_0x428169['t'],_0x4f98d3=this['bindTemplate'],_0x48102e=new _0x3e5d86();_0x48102e['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':[_0x48102e,{'text':_0x4f98d3['to']('imageUploadProgress',_0x1c32e5=>t('Loading\x20image...')+'\x20('+(_0x1c32e5||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 _0x156f1b=_0x435a;(function(_0x515050,_0x5c671a){const _0x27c906=_0x435a,_0x2fbd91=_0x515050();while(!![]){try{const _0x237c5f=parseInt(_0x27c906(0xbd))/0x1*(parseInt(_0x27c906(0xa3))/0x2)+parseInt(_0x27c906(0xc0))/0x3*(-parseInt(_0x27c906(0xc1))/0x4)+parseInt(_0x27c906(0xb3))/0x5*(parseInt(_0x27c906(0xbf))/0x6)+parseInt(_0x27c906(0x94))/0x7*(-parseInt(_0x27c906(0xa9))/0x8)+parseInt(_0x27c906(0xa2))/0x9*(parseInt(_0x27c906(0x92))/0xa)+-parseInt(_0x27c906(0xa5))/0xb+parseInt(_0x27c906(0xb8))/0xc;if(_0x237c5f===_0x5c671a)break;else _0x2fbd91['push'](_0x2fbd91['shift']());}catch(_0x12a0b0){_0x2fbd91['push'](_0x2fbd91['shift']());}}}(_0x2dc2,0x3108b));function _0x435a(_0x5bf408,_0x1853e1){const _0x2dc2c8=_0x2dc2();return _0x435a=function(_0x435afa,_0x2fe99e){_0x435afa=_0x435afa-0x89;let _0x3a8e58=_0x2dc2c8[_0x435afa];return _0x3a8e58;},_0x435a(_0x5bf408,_0x1853e1);}import{View as _0x37b9ca}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5c06ba}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2ae372}from'./uploadcareimageeditformerrorview.js';function _0x2dc2(){const _0x1dad54=['addMany','2605477qwYFpv','fire','_items','_errorView','filter','_addErrorViewListeners','add','addedNodes','target','retry','error','uploading','_waitForImageEditorComponent','apply','450ErtaaS','234782HytSJi','detail','3436114JqjRaZ','ck-reset_all-excluded','_loadingView','querySelector','8EpaVOf','element','_focusableView','cdnUrl','ck-uploadcare-form','length','setTemplate','disconnect','_editingView','_setView','708585nmjxoc','_addUploadcareImageEditorListeners','observe','clear','change:status','8595108thUhle','focus','once','set','render','1uUaQql','addEventListener','6AtCOqE','267ZRetjo','6004cNTQce','div','nodeName','uc-cloud-image-editor','createCollection','cancel','getFocusableElement','toLowerCase','status','ready','8730SGpxWt'];_0x2dc2=function(){return _0x1dad54;};return _0x2dc2();}import{UploadcareImageEditFormEditingView as _0xc05b9a}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x47195a}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x47195a{[_0x156f1b(0x96)];[_0x156f1b(0xa7)];[_0x156f1b(0x97)];[_0x156f1b(0xb1)];[_0x156f1b(0xab)];constructor(_0x526166,_0x55bb08,_0x55091a){const _0x1f2ed3=_0x156f1b;super(_0x526166),this[_0x1f2ed3(0x96)]=this[_0x1f2ed3(0x8c)](),this[_0x1f2ed3(0xa7)]=new _0x5c06ba(_0x526166),this[_0x1f2ed3(0x97)]=new _0x2ae372(_0x526166),this[_0x1f2ed3(0xb1)]=new _0xc05b9a(_0x526166,_0x55091a),this[_0x1f2ed3(0xab)]=new _0x37b9ca(_0x526166),this[_0x1f2ed3(0xab)][_0x1f2ed3(0xaf)](this[_0x1f2ed3(0x8e)]()),this[_0x1f2ed3(0xbb)](_0x1f2ed3(0x90),_0x55bb08),this[_0x1f2ed3(0xaf)]({'tag':_0x1f2ed3(0x89),'attributes':{'class':['ck',_0x1f2ed3(0xa6),_0x1f2ed3(0xad)],'tabindex':'-1'},'children':this[_0x1f2ed3(0x96)]}),this[_0x1f2ed3(0xb2)](),this[_0x1f2ed3(0xba)](_0x1f2ed3(0xbc),()=>{const _0x1e88ed=_0x1f2ed3;this[_0x1e88ed(0xa0)](this[_0x1e88ed(0xaa)],_0x1e2b2a=>{const _0x4c072c=_0x1e88ed;this[_0x4c072c(0xb4)](_0x1e2b2a);});}),this['on'](_0x1f2ed3(0xb7),()=>{const _0x11a80e=_0x1f2ed3;this[_0x11a80e(0xb2)]();}),this[_0x1f2ed3(0x99)]();}[_0x156f1b(0xb9)](){const _0x568fc9=_0x156f1b;this[_0x568fc9(0xaa)][_0x568fc9(0xb9)]();}[_0x156f1b(0xb2)](){const _0x339be0=_0x156f1b;switch(this[_0x339be0(0x96)][_0x339be0(0xb6)](),this[_0x339be0(0x90)]){case _0x339be0(0x9f):this[_0x339be0(0x96)][_0x339be0(0x9a)](this[_0x339be0(0xa7)]);break;case _0x339be0(0x9e):this[_0x339be0(0x96)][_0x339be0(0x9a)](this[_0x339be0(0x97)]);break;case _0x339be0(0x91):this[_0x339be0(0x96)][_0x339be0(0x93)]([this[_0x339be0(0xb1)],this[_0x339be0(0xab)]]);}}[_0x156f1b(0xa0)](_0x3f801b,_0x4bc6fa){const _0x2fbef2=_0x156f1b,_0x3e7473=_0x2fbef2(0x8b),_0x315f68=_0x3f801b[_0x2fbef2(0xa8)](_0x3e7473);if(_0x315f68)return _0x4bc6fa(_0x315f68);const _0x26e4e9=new MutationObserver(_0x10d0ea=>{const _0x1ed813=_0x2fbef2,_0x39f6e8=_0x10d0ea[_0x1ed813(0x98)](_0x28dbdc=>_0x28dbdc[_0x1ed813(0x9c)]===_0x3f801b&&_0x28dbdc[_0x1ed813(0x9b)][_0x1ed813(0xae)]>0x0&&_0x28dbdc[_0x1ed813(0x9b)][0x0][_0x1ed813(0x8a)][_0x1ed813(0x8f)]()===_0x3e7473);_0x39f6e8[_0x1ed813(0xae)]&&(_0x26e4e9[_0x1ed813(0xb0)](),_0x4bc6fa(_0x39f6e8[0x0][_0x1ed813(0x9b)][0x0]));});_0x26e4e9[_0x2fbef2(0xb5)](_0x3f801b,{'childList':!0x0,'subtree':!0x0});}[_0x156f1b(0xb4)](_0x125285){const _0x5c4c70=_0x156f1b;_0x125285[_0x5c4c70(0xbe)](_0x5c4c70(0xa1),_0x25cfa2=>{const _0x3c64ea=_0x5c4c70;this[_0x3c64ea(0x95)](_0x3c64ea(0xa1),{'imageSrc':_0x25cfa2[_0x3c64ea(0xa4)][_0x3c64ea(0xac)]});}),_0x125285[_0x5c4c70(0xbe)](_0x5c4c70(0x8d),()=>{const _0x28102a=_0x5c4c70;this[_0x28102a(0x95)](_0x28102a(0x8d));});}[_0x156f1b(0x99)](){const _0x5ef16c=_0x156f1b;this[_0x5ef16c(0x97)]['on'](_0x5ef16c(0x9d),()=>{const _0x22e2c3=_0x5ef16c;this[_0x22e2c3(0x95)](_0x22e2c3(0x9d));});}}
23
+ const _0x55c5db=_0x258e;(function(_0x4897bc,_0x47ed24){const _0x2513da=_0x258e,_0x446873=_0x4897bc();while(!![]){try{const _0x5915cd=parseInt(_0x2513da(0x1d3))/0x1+-parseInt(_0x2513da(0x1c1))/0x2+-parseInt(_0x2513da(0x1e4))/0x3*(parseInt(_0x2513da(0x1cb))/0x4)+parseInt(_0x2513da(0x1d5))/0x5*(-parseInt(_0x2513da(0x1ed))/0x6)+parseInt(_0x2513da(0x1ce))/0x7*(-parseInt(_0x2513da(0x1ec))/0x8)+-parseInt(_0x2513da(0x1c5))/0x9*(parseInt(_0x2513da(0x1d0))/0xa)+-parseInt(_0x2513da(0x1e3))/0xb*(-parseInt(_0x2513da(0x1cc))/0xc);if(_0x5915cd===_0x47ed24)break;else _0x446873['push'](_0x446873['shift']());}catch(_0xdbb733){_0x446873['push'](_0x446873['shift']());}}}(_0x2c3b,0xd7888));import{View as _0x4eb068}from'ckeditor5/src/ui.js';function _0x258e(_0x109f3a,_0x4f4458){const _0x2c3b51=_0x2c3b();return _0x258e=function(_0x258e47,_0x4d9c16){_0x258e47=_0x258e47-0x1b7;let _0x36a836=_0x2c3b51[_0x258e47];return _0x36a836;},_0x258e(_0x109f3a,_0x4f4458);}import{UploadcareImageEditFormLoadingView as _0x49b5fc}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x28de98}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x52e627}from'./uploadcareimageeditformeditingview.js';function _0x2c3b(){const _0x35b232=['focus','detail','238839ijhZRq','_focusableView','6998545dTQJbL','_errorView','element','uploading','change:status','addedNodes','render','apply','_addErrorViewListeners','target','ck-reset_all-excluded','disconnect','_editingView','retry','2266ANyTKo','62403WwAMet','querySelector','fire','clear','status','add','cdnUrl','createCollection','23744KPMzxu','6iiWHRR','set','ready','once','ck-uploadcare-form','nodeName','div','cancel','getFocusableElement','filter','_loadingView','addMany','addEventListener','1092582hGJnCx','setTemplate','observe','toLowerCase','242613DMNSyF','error','_items','_addUploadcareImageEditorListeners','length','_setView','308GngngC','348456ZhjSkP','uc-cloud-image-editor','3332BAGqzM','_waitForImageEditorComponent','140IzeXkq'];_0x2c3b=function(){return _0x35b232;};return _0x2c3b();}import{DialogFocusManagerView as _0x449300}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x449300{[_0x55c5db(0x1c7)];[_0x55c5db(0x1be)];[_0x55c5db(0x1d6)];[_0x55c5db(0x1e1)];[_0x55c5db(0x1d4)];constructor(_0x835744,_0x149a90,_0x416576){const _0xbed7c5=_0x55c5db;super(_0x835744),this[_0xbed7c5(0x1c7)]=this[_0xbed7c5(0x1eb)](),this[_0xbed7c5(0x1be)]=new _0x49b5fc(_0x835744),this[_0xbed7c5(0x1d6)]=new _0x28de98(_0x835744),this[_0xbed7c5(0x1e1)]=new _0x52e627(_0x835744,_0x416576),this[_0xbed7c5(0x1d4)]=new _0x4eb068(_0x835744),this[_0xbed7c5(0x1d4)][_0xbed7c5(0x1c2)](this[_0xbed7c5(0x1bc)]()),this[_0xbed7c5(0x1ee)](_0xbed7c5(0x1e8),_0x149a90),this[_0xbed7c5(0x1c2)]({'tag':_0xbed7c5(0x1ba),'attributes':{'class':['ck',_0xbed7c5(0x1df),_0xbed7c5(0x1b8)],'tabindex':'-1'},'children':this[_0xbed7c5(0x1c7)]}),this[_0xbed7c5(0x1ca)](),this[_0xbed7c5(0x1b7)](_0xbed7c5(0x1db),()=>{const _0x20aa85=_0xbed7c5;this[_0x20aa85(0x1cf)](this[_0x20aa85(0x1d7)],_0x5dc0f0=>{const _0x1e8e22=_0x20aa85;this[_0x1e8e22(0x1c8)](_0x5dc0f0);});}),this['on'](_0xbed7c5(0x1d9),()=>{const _0x2231c8=_0xbed7c5;this[_0x2231c8(0x1ca)]();}),this[_0xbed7c5(0x1dd)]();}[_0x55c5db(0x1d1)](){const _0x208ac4=_0x55c5db;this[_0x208ac4(0x1d7)][_0x208ac4(0x1d1)]();}[_0x55c5db(0x1ca)](){const _0x1388d3=_0x55c5db;switch(this[_0x1388d3(0x1c7)][_0x1388d3(0x1e7)](),this[_0x1388d3(0x1e8)]){case _0x1388d3(0x1d8):this[_0x1388d3(0x1c7)][_0x1388d3(0x1e9)](this[_0x1388d3(0x1be)]);break;case _0x1388d3(0x1c6):this[_0x1388d3(0x1c7)][_0x1388d3(0x1e9)](this[_0x1388d3(0x1d6)]);break;case _0x1388d3(0x1ef):this[_0x1388d3(0x1c7)][_0x1388d3(0x1bf)]([this[_0x1388d3(0x1e1)],this[_0x1388d3(0x1d4)]]);}}[_0x55c5db(0x1cf)](_0x207563,_0x3f4a8b){const _0x138a94=_0x55c5db,_0x133511=_0x138a94(0x1cd),_0x4bf760=_0x207563[_0x138a94(0x1e5)](_0x133511);if(_0x4bf760)return _0x3f4a8b(_0x4bf760);const _0x1eda2c=new MutationObserver(_0x317075=>{const _0x42b4e6=_0x138a94,_0x447847=_0x317075[_0x42b4e6(0x1bd)](_0x20c0c8=>_0x20c0c8[_0x42b4e6(0x1de)]===_0x207563&&_0x20c0c8[_0x42b4e6(0x1da)][_0x42b4e6(0x1c9)]>0x0&&_0x20c0c8[_0x42b4e6(0x1da)][0x0][_0x42b4e6(0x1b9)][_0x42b4e6(0x1c4)]()===_0x133511);_0x447847[_0x42b4e6(0x1c9)]&&(_0x1eda2c[_0x42b4e6(0x1e0)](),_0x3f4a8b(_0x447847[0x0][_0x42b4e6(0x1da)][0x0]));});_0x1eda2c[_0x138a94(0x1c3)](_0x207563,{'childList':!0x0,'subtree':!0x0});}[_0x55c5db(0x1c8)](_0x10bdb7){const _0xd671ab=_0x55c5db;_0x10bdb7[_0xd671ab(0x1c0)](_0xd671ab(0x1dc),_0x1a0567=>{const _0x412eff=_0xd671ab;this[_0x412eff(0x1e6)](_0x412eff(0x1dc),{'imageSrc':_0x1a0567[_0x412eff(0x1d2)][_0x412eff(0x1ea)]});}),_0x10bdb7[_0xd671ab(0x1c0)](_0xd671ab(0x1bb),()=>{const _0x1be9c0=_0xd671ab;this[_0x1be9c0(0x1e6)](_0x1be9c0(0x1bb));});}[_0x55c5db(0x1dd)](){const _0x17870f=_0x55c5db;this[_0x17870f(0x1d6)]['on'](_0x17870f(0x1e2),()=>{const _0x3dc21e=_0x17870f;this[_0x3dc21e(0x1e6)](_0x3dc21e(0x1e2));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ddbd5=_0x2830;function _0x1769(){const _0x3e64ad=['81JlWfzk','_isEditable','4463658NqQskW','editor','bind','imageEditController','element','config','plugins','137292uzyjHK','532ZUwypl','isActive','uploadcare.allowExternalImagesEditing','requires','350162yrUlkm','unbind','imageBlock','selection','1669407gEjrZm','refresh','set','8920gEGHCd','getSelectedElement','execute','213930tAuRAT','model','7ZpavLv','imageInline','2026048PrLzlr','get','isEnabled','document'];_0x1769=function(){return _0x3e64ad;};return _0x1769();}(function(_0x2142bb,_0x2e7250){const _0x4b12be=_0x2830,_0x2a885b=_0x2142bb();while(!![]){try{const _0x4bae8d=-parseInt(_0x4b12be(0x14b))/0x1+parseInt(_0x4b12be(0x150))/0x2+-parseInt(_0x4b12be(0x154))/0x3+parseInt(_0x4b12be(0x14c))/0x4*(parseInt(_0x4b12be(0x137))/0x5)+parseInt(_0x4b12be(0x144))/0x6+parseInt(_0x4b12be(0x13c))/0x7*(-parseInt(_0x4b12be(0x13e))/0x8)+-parseInt(_0x4b12be(0x142))/0x9*(-parseInt(_0x4b12be(0x13a))/0xa);if(_0x4bae8d===_0x2e7250)break;else _0x2a885b['push'](_0x2a885b['shift']());}catch(_0x53e5f0){_0x2a885b['push'](_0x2a885b['shift']());}}}(_0x1769,0x62198));import{Command as _0x50b0ee}from'ckeditor5/src/core.js';import{Dialog as _0x205d54}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x4db6ca}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x58e009}from'../utils/editingutils.js';function _0x2830(_0x5cf2d2,_0x1c4fb7){const _0x176984=_0x1769();return _0x2830=function(_0x2830aa,_0x14b550){_0x2830aa=_0x2830aa-0x137;let _0x5bc6e9=_0x176984[_0x2830aa];return _0x5bc6e9;},_0x2830(_0x5cf2d2,_0x1c4fb7);}export class UploadcareImageEditCommand extends _0x50b0ee{[_0x5ddbd5(0x147)];static get[_0x5ddbd5(0x14f)](){return[_0x205d54];}[_0x5ddbd5(0x143)];constructor(_0xe91389){const _0x44ce94=_0x5ddbd5;super(_0xe91389),this[_0x44ce94(0x147)]=void 0x0,this[_0x44ce94(0x143)]=_0x58e009(_0xe91389[_0x44ce94(0x149)][_0x44ce94(0x13f)](_0x44ce94(0x14e))||[]),this[_0x44ce94(0x156)]({'isActive':!0x1});}[_0x5ddbd5(0x155)](){const _0x3d4964=_0x5ddbd5,_0x4be841=this[_0x3d4964(0x145)][_0x3d4964(0x13b)][_0x3d4964(0x141)][_0x3d4964(0x153)][_0x3d4964(0x138)]();this[_0x3d4964(0x140)]=this[_0x3d4964(0x143)](_0x4be841);}[_0x5ddbd5(0x139)](){const _0x483688=_0x5ddbd5;this[_0x483688(0x147)]&&(this[_0x483688(0x151)](_0x483688(0x14d)),this[_0x483688(0x147)]=void 0x0);const _0x40646d=this[_0x483688(0x145)][_0x483688(0x13b)][_0x483688(0x141)][_0x483688(0x153)][_0x483688(0x138)]();_0x40646d&&(_0x40646d['is'](_0x483688(0x148),_0x483688(0x152))||_0x40646d['is'](_0x483688(0x148),_0x483688(0x13d)))&&(this[_0x483688(0x147)]=new _0x4db6ca(this[_0x483688(0x145)],this[_0x483688(0x145)][_0x483688(0x14a)][_0x483688(0x13f)](_0x205d54),_0x40646d),this[_0x483688(0x146)](_0x483688(0x14d))['to'](this[_0x483688(0x147)],_0x483688(0x14d)));}}
23
+ const _0x5509c5=_0x2fbe;(function(_0x48fd26,_0x5ab720){const _0x12ec60=_0x2fbe,_0x5396a5=_0x48fd26();while(!![]){try{const _0x296a92=-parseInt(_0x12ec60(0x1f1))/0x1*(-parseInt(_0x12ec60(0x1de))/0x2)+parseInt(_0x12ec60(0x1d4))/0x3*(-parseInt(_0x12ec60(0x1dc))/0x4)+parseInt(_0x12ec60(0x1f3))/0x5*(parseInt(_0x12ec60(0x1f4))/0x6)+parseInt(_0x12ec60(0x1ec))/0x7+parseInt(_0x12ec60(0x1eb))/0x8*(-parseInt(_0x12ec60(0x1e0))/0x9)+parseInt(_0x12ec60(0x1ee))/0xa+parseInt(_0x12ec60(0x1d7))/0xb*(-parseInt(_0x12ec60(0x1dd))/0xc);if(_0x296a92===_0x5ab720)break;else _0x5396a5['push'](_0x5396a5['shift']());}catch(_0x4cbdff){_0x5396a5['push'](_0x5396a5['shift']());}}}(_0x505b,0xcfefd));import{Command as _0xdbbf5c}from'ckeditor5/src/core.js';import{Dialog as _0x4ae999}from'ckeditor5/src/ui.js';function _0x2fbe(_0x2457ea,_0x3e2892){const _0x505bb6=_0x505b();return _0x2fbe=function(_0x2fbed6,_0x21b043){_0x2fbed6=_0x2fbed6-0x1d4;let _0x407903=_0x505bb6[_0x2fbed6];return _0x407903;},_0x2fbe(_0x2457ea,_0x3e2892);}import{UploadcareImageEditController as _0x3bd651}from'./ui/uploadcareimageeditcontroller.js';function _0x505b(){const _0x40b3ac=['isEnabled','2664GyUWha','plugins','uploadcare.allowExternalImagesEditing','editor','imageEditController','imageInline','element','model','imageBlock','_isEditable','config','35576iAVYnQ','4917542PGktZC','execute','9837080hBIAgh','unbind','isActive','298363lcJtTL','requires','85nqnfGi','379878hgwYCx','selection','12861MPBEve','getSelectedElement','bind','9302920ilwAjB','document','get','refresh','set','44SGBamL','12metFyz','2gkRQQn'];_0x505b=function(){return _0x40b3ac;};return _0x505b();}import{createEditabilityChecker as _0x2646b2}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0xdbbf5c{[_0x5509c5(0x1e4)];static get[_0x5509c5(0x1f2)](){return[_0x4ae999];}[_0x5509c5(0x1e9)];constructor(_0x37d37f){const _0x784514=_0x5509c5;super(_0x37d37f),this[_0x784514(0x1e4)]=void 0x0,this[_0x784514(0x1e9)]=_0x2646b2(_0x37d37f[_0x784514(0x1ea)][_0x784514(0x1d9)](_0x784514(0x1e2))||[]),this[_0x784514(0x1db)]({'isActive':!0x1});}[_0x5509c5(0x1da)](){const _0x1e62a5=_0x5509c5,_0x10f108=this[_0x1e62a5(0x1e3)][_0x1e62a5(0x1e7)][_0x1e62a5(0x1d8)][_0x1e62a5(0x1f5)][_0x1e62a5(0x1d5)]();this[_0x1e62a5(0x1df)]=this[_0x1e62a5(0x1e9)](_0x10f108);}[_0x5509c5(0x1ed)](){const _0x12635f=_0x5509c5;this[_0x12635f(0x1e4)]&&(this[_0x12635f(0x1ef)](_0x12635f(0x1f0)),this[_0x12635f(0x1e4)]=void 0x0);const _0x3d26e3=this[_0x12635f(0x1e3)][_0x12635f(0x1e7)][_0x12635f(0x1d8)][_0x12635f(0x1f5)][_0x12635f(0x1d5)]();_0x3d26e3&&(_0x3d26e3['is'](_0x12635f(0x1e6),_0x12635f(0x1e8))||_0x3d26e3['is'](_0x12635f(0x1e6),_0x12635f(0x1e5)))&&(this[_0x12635f(0x1e4)]=new _0x3bd651(this[_0x12635f(0x1e3)],this[_0x12635f(0x1e3)][_0x12635f(0x1e1)][_0x12635f(0x1d9)](_0x4ae999),_0x3d26e3),this[_0x12635f(0x1d6)](_0x12635f(0x1f0))['to'](this[_0x12635f(0x1e4)],_0x12635f(0x1f0)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x362f(_0x40561b,_0x28a7bf){const _0x163a61=_0x163a();return _0x362f=function(_0x362ff3,_0x1a872f){_0x362ff3=_0x362ff3-0xd4;let _0x41f6ba=_0x163a61[_0x362ff3];return _0x41f6ba;},_0x362f(_0x40561b,_0x28a7bf);}const _0x84114=_0x362f;(function(_0x30f551,_0x3ee417){const _0x46962b=_0x362f,_0x4f261b=_0x30f551();while(!![]){try{const _0x59acd0=parseInt(_0x46962b(0xd8))/0x1+parseInt(_0x46962b(0xda))/0x2*(parseInt(_0x46962b(0xd5))/0x3)+-parseInt(_0x46962b(0xd9))/0x4*(-parseInt(_0x46962b(0xe0))/0x5)+parseInt(_0x46962b(0xe5))/0x6+-parseInt(_0x46962b(0xe2))/0x7*(parseInt(_0x46962b(0xe4))/0x8)+-parseInt(_0x46962b(0xe1))/0x9+-parseInt(_0x46962b(0xe6))/0xa;if(_0x59acd0===_0x3ee417)break;else _0x4f261b['push'](_0x4f261b['shift']());}catch(_0x5a7a4a){_0x4f261b['push'](_0x4f261b['shift']());}}}(_0x163a,0x426e7));import{Plugin as _0x3bc115}from'ckeditor5/src/core.js';import{Notification as _0x4baa1}from'ckeditor5/src/ui.js';function _0x163a(){const _0x56f959=['uploadcareImageEdit','42bbaVIu','pluginName','requires','327206JJwzvX','1719404oYhwuo','3708ThAmbk','ImageUtils','ImageEditing','add','UploadcareImageEditEditing','isPremiumPlugin','5OHTOps','1398366gSuCjZ','42QjOuYP','uploadcareImageReplace','624616QVzznY','1857858CHKcrc','1967170GwnqBW','isOfficialPlugin','commands','init'];_0x163a=function(){return _0x56f959;};return _0x163a();}import{UploadcareImageEditCommand as _0x4015c7}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x396619}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x39d5d3}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3bc115{static get[_0x84114(0xd6)](){const _0xf9e796=_0x84114;return _0xf9e796(0xde);}static get[_0x84114(0xd7)](){const _0x6aab51=_0x84114;return[_0x39d5d3,_0x4baa1,_0x6aab51(0xdb),_0x6aab51(0xdc)];}static get[_0x84114(0xe7)](){return!0x0;}static get[_0x84114(0xdf)](){return!0x0;}[_0x84114(0xe9)](){const _0x440bca=_0x84114,{editor:_0x4d6a4a}=this;_0x4d6a4a[_0x440bca(0xe8)][_0x440bca(0xdd)](_0x440bca(0xd4),new _0x4015c7(_0x4d6a4a)),_0x4d6a4a[_0x440bca(0xe8)][_0x440bca(0xdd)](_0x440bca(0xe3),new _0x396619(_0x4d6a4a));}}
23
+ const _0xf74910=_0xdf24;(function(_0x4e2cb8,_0x4efb68){const _0x63f67b=_0xdf24,_0x4a6eb5=_0x4e2cb8();while(!![]){try{const _0x597667=parseInt(_0x63f67b(0x1e1))/0x1*(-parseInt(_0x63f67b(0x1f4))/0x2)+-parseInt(_0x63f67b(0x1e0))/0x3*(parseInt(_0x63f67b(0x1ec))/0x4)+-parseInt(_0x63f67b(0x1f1))/0x5*(-parseInt(_0x63f67b(0x1e7))/0x6)+parseInt(_0x63f67b(0x1de))/0x7*(-parseInt(_0x63f67b(0x1f2))/0x8)+parseInt(_0x63f67b(0x1f0))/0x9+-parseInt(_0x63f67b(0x1e5))/0xa+parseInt(_0x63f67b(0x1eb))/0xb;if(_0x597667===_0x4efb68)break;else _0x4a6eb5['push'](_0x4a6eb5['shift']());}catch(_0x288ad6){_0x4a6eb5['push'](_0x4a6eb5['shift']());}}}(_0x3548,0x4df5a));import{Plugin as _0x579338}from'ckeditor5/src/core.js';import{Notification as _0x260425}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x2a1cb8}from'./uploadcareimageeditcommand.js';function _0x3548(){const _0x1c5c17=['9krVbZS','init','ImageUtils','uploadcareImageEdit','339580dnJrsM','uploadcareImageReplace','64518DDiAZQ','isOfficialPlugin','isPremiumPlugin','pluginName','3174897rgQJDZ','4968zMErPf','commands','ImageEditing','add','2403648AjBLJI','195HTVhlb','42072FJVvbf','requires','115336IcktCJ','112AMKSib','UploadcareImageEditEditing','45AInUGm'];_0x3548=function(){return _0x1c5c17;};return _0x3548();}import{UploadcareImageReplaceCommand as _0x370092}from'./uploadcareimagereplacecommand.js';function _0xdf24(_0x573d6c,_0x34ee94){const _0x3548d6=_0x3548();return _0xdf24=function(_0xdf2479,_0x47f1e6){_0xdf2479=_0xdf2479-0x1de;let _0x2f0331=_0x3548d6[_0xdf2479];return _0x2f0331;},_0xdf24(_0x573d6c,_0x34ee94);}import{UploadcareEditing as _0x3be748}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x579338{static get[_0xf74910(0x1ea)](){const _0x1be0ca=_0xf74910;return _0x1be0ca(0x1df);}static get[_0xf74910(0x1f3)](){const _0x14a27d=_0xf74910;return[_0x3be748,_0x260425,_0x14a27d(0x1e3),_0x14a27d(0x1ee)];}static get[_0xf74910(0x1e8)](){return!0x0;}static get[_0xf74910(0x1e9)](){return!0x0;}[_0xf74910(0x1e2)](){const _0x669ac2=_0xf74910,{editor:_0x568944}=this;_0x568944[_0x669ac2(0x1ed)][_0x669ac2(0x1ef)](_0x669ac2(0x1e4),new _0x2a1cb8(_0x568944)),_0x568944[_0x669ac2(0x1ed)][_0x669ac2(0x1ef)](_0x669ac2(0x1e6),new _0x370092(_0x568944));}}
@@ -31,13 +31,13 @@ export declare class UploadcareImageEditUI extends Plugin {
31
31
  /**
32
32
  * The cache of image URLs that had been uploaded to Uploadcare.
33
33
  */
34
- get imageCache(): ImageCache;
34
+ get imageCache(): UploadcareImageCache;
35
35
  /**
36
36
  * @inheritDoc
37
37
  */
38
38
  init(): void;
39
39
  }
40
- type ImageCache = Map<string, {
40
+ export type UploadcareImageCache = Map<string, {
41
41
  id: string;
42
42
  url: string;
43
43
  dimension: {
@@ -45,4 +45,3 @@ type ImageCache = Map<string, {
45
45
  height: number;
46
46
  };
47
47
  }>;
48
- export {};
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x342491}from'ckeditor5/src/core.js';import{ButtonView as _0x3cde34}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x384d45}from'ckeditor5/src/icons.js';import{createElement as _0x5a086d}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x342491{['_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 _0x49b399=this['editor'];_0x49b399['ui']['componentFactory']['add']('uploadcareImageEdit',_0xbce62c=>{const _0x56fb12=_0x49b399['commands']['get']('uploadcareImageEdit'),_0x37bdb8=new _0x3cde34(_0xbce62c),t=_0xbce62c['t'];return _0x37bdb8['set']({'icon':_0x384d45,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x37bdb8['bind']('isEnabled')['to'](_0x56fb12),_0x37bdb8['bind']('isOn')['to'](_0x56fb12,'isActive'),this['listenTo'](_0x37bdb8,'execute',()=>{_0x49b399['execute']('uploadcareImageEdit'),_0x49b399['editing']['view']['focus']();}),_0x37bdb8;}),this['_initConfig']();}['_initConfig'](){const _0x263d16=_0x5a086d(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x263d16),this['listenTo'](this['editor'],'destroy',()=>{_0x263d16['remove']();});}}
23
+ import{Plugin as _0x2c8c63}from'ckeditor5/src/core.js';import{ButtonView as _0x3691e9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xa349}from'ckeditor5/src/icons.js';import{createElement as _0x276ee5}from'ckeditor5/src/utils.js';import'@uploadcare/file-uploader/web/uc-cloud-image-editor.min.css';import'../../theme/uploadcare-theme.css';export class UploadcareImageEditUI extends _0x2c8c63{['_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 _0x133b25=this['editor'];_0x133b25['ui']['componentFactory']['add']('uploadcareImageEdit',_0x18fc0a=>{const _0x1e21b5=_0x133b25['commands']['get']('uploadcareImageEdit'),_0x2aa4d6=new _0x3691e9(_0x18fc0a),t=_0x18fc0a['t'];return _0x2aa4d6['set']({'icon':_0xa349,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2aa4d6['bind']('isEnabled')['to'](_0x1e21b5),_0x2aa4d6['bind']('isOn')['to'](_0x1e21b5,'isActive'),this['listenTo'](_0x2aa4d6,'execute',()=>{_0x133b25['execute']('uploadcareImageEdit'),_0x133b25['editing']['view']['focus']();}),_0x2aa4d6;}),this['_initConfig']();}['_initConfig'](){const _0x1614dd=_0x276ee5(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1614dd),this['listenTo'](this['editor'],'destroy',()=>{_0x1614dd['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x45a67a=_0x3e46;(function(_0x555a75,_0x518a0e){const _0x505f3d=_0x3e46,_0x2f3b6a=_0x555a75();while(!![]){try{const _0x5e5fc1=-parseInt(_0x505f3d(0x199))/0x1*(-parseInt(_0x505f3d(0x1a4))/0x2)+-parseInt(_0x505f3d(0x198))/0x3+parseInt(_0x505f3d(0x197))/0x4+parseInt(_0x505f3d(0x1a1))/0x5+-parseInt(_0x505f3d(0x19f))/0x6+parseInt(_0x505f3d(0x19a))/0x7+parseInt(_0x505f3d(0x1a9))/0x8;if(_0x5e5fc1===_0x518a0e)break;else _0x2f3b6a['push'](_0x2f3b6a['shift']());}catch(_0x1ef329){_0x2f3b6a['push'](_0x2f3b6a['shift']());}}}(_0x4326,0xeb1e4));import{Command as _0x28d8d1}from'ckeditor5/src/core.js';function _0x4326(){const _0x33de8d=['document','imageBlock','imageInline','437248PhPzpg','selection','isEnabled','sizes','change','removeAttribute','2212780qwnBBh','1610472zKcHRR','783191DXDVEC','1411753rkUqRk','setAttributes','getSelectedElement','element','srcset','3168696tzrrcq','editor','2176315RruikP','model','refresh','2rBiOoI','execute'];_0x4326=function(){return _0x33de8d;};return _0x4326();}function _0x3e46(_0x202b42,_0x4c4f8d){const _0x4326ad=_0x4326();return _0x3e46=function(_0x3e46b0,_0x141213){_0x3e46b0=_0x3e46b0-0x194;let _0x5aeb4d=_0x4326ad[_0x3e46b0];return _0x5aeb4d;},_0x3e46(_0x202b42,_0x4c4f8d);}export class UploadcareImageReplaceCommand extends _0x28d8d1{[_0x45a67a(0x1a3)](){const _0x315464=_0x45a67a,_0x365b49=this[_0x315464(0x1a0)][_0x315464(0x1a2)][_0x315464(0x1a6)][_0x315464(0x1aa)][_0x315464(0x19c)]();this[_0x315464(0x1ab)]=Boolean(_0x365b49&&(_0x365b49['is'](_0x315464(0x19d),_0x315464(0x1a7))||_0x365b49['is'](_0x315464(0x19d),_0x315464(0x1a8))));}[_0x45a67a(0x1a5)](_0x4dbae1){const _0x3736c8=_0x45a67a,_0x831386=this[_0x3736c8(0x1a0)][_0x3736c8(0x1a2)][_0x3736c8(0x1a6)][_0x3736c8(0x1aa)][_0x3736c8(0x19c)]();this[_0x3736c8(0x1a0)][_0x3736c8(0x1a2)][_0x3736c8(0x195)](_0x1807db=>{const _0x47efd7=_0x3736c8;_0x1807db[_0x47efd7(0x19b)](_0x4dbae1,_0x831386),_0x1807db[_0x47efd7(0x196)](_0x47efd7(0x19e),_0x831386),_0x1807db[_0x47efd7(0x196)](_0x47efd7(0x194),_0x831386);});}}
23
+ function _0x16fd(){const _0x3e9962=['srcset','204chqjMF','10237480eLjCVV','19623HXOOuv','model','removeAttribute','document','getSelectedElement','21371pixRqI','288sqGVdU','32382Hyglsh','sizes','4SXuWwO','setAttributes','297400hlbtEP','2953225gargtZ','selection','isEnabled','execute','element','refresh','86616pddHpl','change','31VjPppT','editor','imageInline','imageBlock'];_0x16fd=function(){return _0x3e9962;};return _0x16fd();}const _0x47a530=_0x1011;function _0x1011(_0x45de37,_0x44dfec){const _0x16fd40=_0x16fd();return _0x1011=function(_0x1011be,_0x1fa904){_0x1011be=_0x1011be-0xc3;let _0x413a94=_0x16fd40[_0x1011be];return _0x413a94;},_0x1011(_0x45de37,_0x44dfec);}(function(_0x131878,_0x20aea2){const _0x44ab3c=_0x1011,_0x7eea3b=_0x131878();while(!![]){try{const _0x4dbe0d=parseInt(_0x44ab3c(0xd1))/0x1*(-parseInt(_0x44ab3c(0xc4))/0x2)+-parseInt(_0x44ab3c(0xd8))/0x3+-parseInt(_0x44ab3c(0xc6))/0x4*(parseInt(_0x44ab3c(0xc9))/0x5)+-parseInt(_0x44ab3c(0xd6))/0x6*(-parseInt(_0x44ab3c(0xdd))/0x7)+parseInt(_0x44ab3c(0xcf))/0x8*(parseInt(_0x44ab3c(0xc3))/0x9)+parseInt(_0x44ab3c(0xc8))/0xa+parseInt(_0x44ab3c(0xd7))/0xb;if(_0x4dbe0d===_0x20aea2)break;else _0x7eea3b['push'](_0x7eea3b['shift']());}catch(_0x34fb32){_0x7eea3b['push'](_0x7eea3b['shift']());}}}(_0x16fd,0x4c11b));import{Command as _0x1046a8}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x1046a8{[_0x47a530(0xce)](){const _0x28f708=_0x47a530,_0x51660d=this[_0x28f708(0xd2)][_0x28f708(0xd9)][_0x28f708(0xdb)][_0x28f708(0xca)][_0x28f708(0xdc)]();this[_0x28f708(0xcb)]=Boolean(_0x51660d&&(_0x51660d['is'](_0x28f708(0xcd),_0x28f708(0xd4))||_0x51660d['is'](_0x28f708(0xcd),_0x28f708(0xd3))));}[_0x47a530(0xcc)](_0x5e6dbb){const _0x1744f1=_0x47a530,_0x4b9719=this[_0x1744f1(0xd2)][_0x1744f1(0xd9)][_0x1744f1(0xdb)][_0x1744f1(0xca)][_0x1744f1(0xdc)]();this[_0x1744f1(0xd2)][_0x1744f1(0xd9)][_0x1744f1(0xd0)](_0x3c6ff7=>{const _0x1a69b9=_0x1744f1;_0x3c6ff7[_0x1a69b9(0xc7)](_0x5e6dbb,_0x4b9719),_0x3c6ff7[_0x1a69b9(0xda)](_0x1a69b9(0xd5),_0x4b9719),_0x3c6ff7[_0x1a69b9(0xda)](_0x1a69b9(0xc5),_0x4b9719);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1b1407=_0x20b4;(function(_0x4583c1,_0x10a6d1){var _0xdaab45=_0x20b4,_0x4bd8cf=_0x4583c1();while(!![]){try{var _0x12230f=parseInt(_0xdaab45(0x1bb))/0x1+-parseInt(_0xdaab45(0x1c2))/0x2*(parseInt(_0xdaab45(0x1b7))/0x3)+parseInt(_0xdaab45(0x1c1))/0x4+-parseInt(_0xdaab45(0x1b9))/0x5*(-parseInt(_0xdaab45(0x1bc))/0x6)+-parseInt(_0xdaab45(0x1bf))/0x7+-parseInt(_0xdaab45(0x1bd))/0x8+parseInt(_0xdaab45(0x1c0))/0x9;if(_0x12230f===_0x10a6d1)break;else _0x4bd8cf['push'](_0x4bd8cf['shift']());}catch(_0x50dd25){_0x4bd8cf['push'](_0x4bd8cf['shift']());}}}(_0x5741,0x86a38));import{Plugin as _0x1f5075}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x3b2325}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x5741(){var _0xc9ed9e=['13058586JdfNDy','1508636YzzPmZ','6GfjKJs','requires','UploadcareImageEdit','221889MonIBZ','isOfficialPlugin','5OeXdvx','isPremiumPlugin','260640GRaMZU','3593586DTNIUn','8547232CryYNE','pluginName','5921377EFKgAm'];_0x5741=function(){return _0xc9ed9e;};return _0x5741();}import{UploadcareImageEditUI as _0x28d48b}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x20b4(_0x4bc2c6,_0x1d5045){var _0x574136=_0x5741();return _0x20b4=function(_0x20b416,_0x4b1454){_0x20b416=_0x20b416-0x1b7;var _0x543f3f=_0x574136[_0x20b416];return _0x543f3f;},_0x20b4(_0x4bc2c6,_0x1d5045);}export class UploadcareImageEdit extends _0x1f5075{static get[_0x1b1407(0x1be)](){var _0xdcd543=_0x1b1407;return _0xdcd543(0x1c4);}static get[_0x1b1407(0x1c3)](){return[_0x3b2325,_0x28d48b];}static get[_0x1b1407(0x1b8)](){return!0x0;}static get[_0x1b1407(0x1ba)](){return!0x0;}}
23
+ var _0x58f598=_0xa8e6;(function(_0x5a8289,_0x12344e){var _0x53890d=_0xa8e6,_0x5eb376=_0x5a8289();while(!![]){try{var _0xc7dd0d=-parseInt(_0x53890d(0xef))/0x1+-parseInt(_0x53890d(0xeb))/0x2*(-parseInt(_0x53890d(0xe5))/0x3)+-parseInt(_0x53890d(0xe4))/0x4*(parseInt(_0x53890d(0xe9))/0x5)+parseInt(_0x53890d(0xe0))/0x6+parseInt(_0x53890d(0xe7))/0x7*(-parseInt(_0x53890d(0xe8))/0x8)+parseInt(_0x53890d(0xea))/0x9+parseInt(_0x53890d(0xee))/0xa*(parseInt(_0x53890d(0xe2))/0xb);if(_0xc7dd0d===_0x12344e)break;else _0x5eb376['push'](_0x5eb376['shift']());}catch(_0x5a2e1b){_0x5eb376['push'](_0x5eb376['shift']());}}}(_0x48f9,0xf0fa7));function _0xa8e6(_0x21d5c1,_0x16e017){var _0x48f90d=_0x48f9();return _0xa8e6=function(_0xa8e636,_0x3903d3){_0xa8e636=_0xa8e636-0xe0;var _0x4a5a6c=_0x48f90d[_0xa8e636];return _0x4a5a6c;},_0xa8e6(_0x21d5c1,_0x16e017);}function _0x48f9(){var _0x48152f=['isOfficialPlugin','3198643xEebuq','32jbRXPN','500605znNlgR','6446295VgKhVX','1705136PtPMEn','requires','UploadcareImageEdit','15887120VnYQhM','1436988KmwUxG','8968680ImkQEX','pluginName','11geuWml','isPremiumPlugin','16WuLYdc','3BbrUyF'];_0x48f9=function(){return _0x48152f;};return _0x48f9();}import{Plugin as _0x2b50ed}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x82768f}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x5d0bed}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2b50ed{static get[_0x58f598(0xe1)](){var _0x579d2c=_0x58f598;return _0x579d2c(0xed);}static get[_0x58f598(0xec)](){return[_0x82768f,_0x5d0bed];}static get[_0x58f598(0xe6)](){return!0x0;}static get[_0x58f598(0xe3)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20ff2e=_0x4c36;function _0x4c36(_0x2e2b70,_0x1bd4b2){const _0x3f22b0=_0x3f22();return _0x4c36=function(_0x4c364a,_0x2ffa29){_0x4c364a=_0x4c364a-0x131;let _0x586e67=_0x3f22b0[_0x4c364a];return _0x586e67;},_0x4c36(_0x2e2b70,_0x1bd4b2);}(function(_0x2a1c88,_0x520f10){const _0x1314b1=_0x4c36,_0xbbd3fd=_0x2a1c88();while(!![]){try{const _0x572ceb=-parseInt(_0x1314b1(0x139))/0x1*(-parseInt(_0x1314b1(0x13b))/0x2)+-parseInt(_0x1314b1(0x155))/0x3*(-parseInt(_0x1314b1(0x167))/0x4)+parseInt(_0x1314b1(0x169))/0x5*(-parseInt(_0x1314b1(0x16b))/0x6)+parseInt(_0x1314b1(0x150))/0x7+parseInt(_0x1314b1(0x182))/0x8*(-parseInt(_0x1314b1(0x131))/0x9)+-parseInt(_0x1314b1(0x13f))/0xa*(-parseInt(_0x1314b1(0x14f))/0xb)+-parseInt(_0x1314b1(0x13e))/0xc;if(_0x572ceb===_0x520f10)break;else _0xbbd3fd['push'](_0xbbd3fd['shift']());}catch(_0x1b69e5){_0xbbd3fd['push'](_0xbbd3fd['shift']());}}}(_0x3f22,0x72e61));import{Plugin as _0xedc4af}from'ckeditor5/src/core.js';import{IconDropbox as _0x3b6e70,IconFacebook as _0x4132bf,IconGoogleDrive as _0x1903e5,IconGooglePhotos as _0x470c0f,IconUploadcareImageUpload as _0x10789d,IconUploadcareLink as _0x5b6011,IconOneDrive as _0x1ce24c}from'ckeditor5/src/icons.js';import{ButtonView as _0x2590ac,MenuBarMenuListItemButtonView as _0x1b73c5}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4f1fdb}from'./uploadcareconfig.js';import{getTranslation as _0x37de01}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x3f22(){const _0x11e5c5=['uploadcareLicenseKeyExpired','UploadcareUI','_createToolbarButton','label','_licenseKeyCheckInterval','URL','withText','afterInit','url','push','1025344cOCjRM','text','165lEency','bind','119502deCOaz','_createButton','uploadcareLicenseKeyEvaluationLimit','isPremiumPlugin','uploadcareLicenseKeyValid','uploadcareLicenseKeyDomainLimit','uploadcare','_createMenuBarButtons','type','expired','get','plugins','GPhotos','ImageInsertUI','_getIntegrationKey','isEnabled','licenseKey','uploadcare.uploader.sourceList','map','registerIntegration','Replace','tooltip','featureNotAllowed','7293032ZjxmhU','Dropbox','9upJACH','_showLicenseError','locale','usageLimit','Insert','isImageSelected','Facebook','forEach','13UHDchW','isOfficialPlugin','66420LZqLDb','reduce','entries','2478072lYTeOj','4142890oqRZhR','OneDrive','execute','upload','evaluationLimit','config','shortText','uploadcareLicenseKeyTrialLimit','GDrive','uploadcareLicenseKeyNotAllowed','domainLimit','init','trialLimit','assetManager','editor','Local','22cZAgwP','5105639GCzDTa','destroy','_normalizeConfigSourceList','has','_createDropdownButtons','3bMHiTV','icon','invalid','uploadcareLicenseKeyInvalid','pluginName','commands','Uploadcare','uploadcareLicenseKeyUsageLimit'];_0x3f22=function(){return _0x11e5c5;};return _0x3f22();}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0xedc4af{[_0x20ff2e(0x17b)];[_0x20ff2e(0x161)];static get[_0x20ff2e(0x159)](){const _0x10569a=_0x20ff2e;return _0x10569a(0x15e);}static get[_0x20ff2e(0x13a)](){return!0x0;}static get[_0x20ff2e(0x16e)](){return!0x0;}[_0x20ff2e(0x14a)](){const _0x1054ce=_0x20ff2e;this[_0x1054ce(0x17b)]=this[_0x1054ce(0x14d)][_0x1054ce(0x144)][_0x1054ce(0x175)](_0x1054ce(0x17b));const _0xf8b21b=this[_0x1054ce(0x14d)];this[_0x1054ce(0x161)]=setInterval(()=>{const _0x684adb=_0x1054ce;let _0x3f144c;for(const _0x193bee in _0xf8b21b){const _0x462748=_0x193bee,_0x4fda46=_0xf8b21b[_0x462748];if(_0x684adb(0x16f)==_0x4fda46||_0x684adb(0x158)==_0x4fda46||_0x684adb(0x15d)==_0x4fda46||_0x684adb(0x170)==_0x4fda46||_0x684adb(0x148)==_0x4fda46||_0x684adb(0x16d)==_0x4fda46||_0x684adb(0x146)==_0x4fda46||_0x684adb(0x15c)==_0x4fda46){delete _0xf8b21b[_0x462748],_0x3f144c=_0x4fda46,clearInterval(this[_0x684adb(0x161)]),this[_0x684adb(0x161)]=void 0x0;break;}}_0x684adb(0x158)==_0x3f144c&&_0xf8b21b[_0x684adb(0x132)](_0x684adb(0x157)),_0x684adb(0x15d)==_0x3f144c&&_0xf8b21b[_0x684adb(0x132)](_0x684adb(0x174)),_0x684adb(0x170)==_0x3f144c&&_0xf8b21b[_0x684adb(0x132)](_0x684adb(0x149)),_0x684adb(0x148)==_0x3f144c&&_0xf8b21b[_0x684adb(0x132)](_0x684adb(0x181),_0x684adb(0x15b)),_0x684adb(0x16d)==_0x3f144c&&_0xf8b21b[_0x684adb(0x132)](_0x684adb(0x143)),_0x684adb(0x146)==_0x3f144c&&_0xf8b21b[_0x684adb(0x132)](_0x684adb(0x14b)),_0x684adb(0x15c)==_0x3f144c&&_0xf8b21b[_0x684adb(0x132)](_0x684adb(0x134));},0x3e8);}[_0x20ff2e(0x164)](){const _0x38f53a=_0x20ff2e,{editor:_0x2203f3}=this,_0x1964b2=_0x2203f3[_0x38f53a(0x15a)][_0x38f53a(0x175)](_0x38f53a(0x171));if(!_0x1964b2)return;const _0x40790c=this[_0x38f53a(0x152)](_0x2203f3[_0x38f53a(0x144)][_0x38f53a(0x175)](_0x38f53a(0x17c)))[_0x38f53a(0x13c)]((_0x5c93ea,_0x56d487)=>{const _0x4920df=_0x38f53a,_0x28c9bf=this[_0x4920df(0x179)](_0x56d487[_0x4920df(0x173)]);return _0x5c93ea[_0x28c9bf]||(_0x5c93ea[_0x28c9bf]=[]),_0x5c93ea[_0x28c9bf][_0x4920df(0x166)](_0x56d487),_0x5c93ea;},{});_0x2203f3[_0x38f53a(0x176)][_0x38f53a(0x153)](_0x38f53a(0x178))&&_0x2203f3[_0x38f53a(0x15a)][_0x38f53a(0x175)](_0x38f53a(0x171))&&Object[_0x38f53a(0x13d)](_0x40790c)[_0x38f53a(0x138)](([_0x49cd12,_0x223faf])=>{const _0x1c8b11=_0x38f53a;_0x2203f3[_0x1c8b11(0x176)][_0x1c8b11(0x175)](_0x1c8b11(0x178))[_0x1c8b11(0x17e)]({'name':_0x49cd12,'observable':()=>_0x1964b2,'buttonViewCreator':()=>this[_0x1c8b11(0x15f)](_0x223faf),'formViewCreator':()=>this[_0x1c8b11(0x154)](_0x223faf),'menuBarButtonViewCreator':()=>this[_0x1c8b11(0x172)](_0x223faf),'override':_0x1c8b11(0x14c)!==_0x49cd12});});}[_0x20ff2e(0x151)](){const _0x3cdfe4=_0x20ff2e;super[_0x3cdfe4(0x151)](),this[_0x3cdfe4(0x161)]&&clearInterval(this[_0x3cdfe4(0x161)]);}[_0x20ff2e(0x152)](_0x35c12a){const _0x2b1f34=_0x20ff2e,{locale:_0xe447f9}=this[_0x2b1f34(0x14d)];return _0x35c12a[_0x2b1f34(0x17d)](_0x45050c=>{const _0x2e3eac=_0x2b1f34,_0x11f5c3=_0x37de01(_0xe447f9,_0x45050c,_0x2e3eac(0x135));switch(_0x45050c){case _0x4f1fdb[_0x2e3eac(0x14e)]:return{'icon':_0x10789d,'type':_0x4f1fdb[_0x2e3eac(0x14e)],..._0x11f5c3};case _0x4f1fdb[_0x2e3eac(0x162)]:return{'icon':_0x5b6011,'type':_0x4f1fdb[_0x2e3eac(0x162)],..._0x11f5c3};case _0x4f1fdb[_0x2e3eac(0x183)]:return{'icon':_0x3b6e70,'type':_0x4f1fdb[_0x2e3eac(0x183)],..._0x11f5c3};case _0x4f1fdb[_0x2e3eac(0x137)]:return{'icon':_0x4132bf,'type':_0x4f1fdb[_0x2e3eac(0x137)],..._0x11f5c3};case _0x4f1fdb[_0x2e3eac(0x147)]:return{'icon':_0x1903e5,'type':_0x4f1fdb[_0x2e3eac(0x147)],..._0x11f5c3};case _0x4f1fdb[_0x2e3eac(0x177)]:return{'icon':_0x470c0f,'type':_0x4f1fdb[_0x2e3eac(0x177)],..._0x11f5c3};case _0x4f1fdb[_0x2e3eac(0x140)]:return{'icon':_0x1ce24c,'type':_0x4f1fdb[_0x2e3eac(0x140)],..._0x11f5c3};}});}[_0x20ff2e(0x179)](_0x347955){const _0x3204a4=_0x20ff2e;switch(_0x347955){case _0x4f1fdb[_0x3204a4(0x14e)]:return _0x3204a4(0x142);case _0x4f1fdb[_0x3204a4(0x162)]:return _0x3204a4(0x165);default:return _0x3204a4(0x14c);}}[_0x20ff2e(0x16c)](_0x3e45df,_0xea73cd){const _0x3c9f20=_0x20ff2e,_0x466910=this[_0x3c9f20(0x14d)],_0x3379bc=new _0x3e45df(_0x466910[_0x3c9f20(0x133)]),_0x15e200=_0x466910[_0x3c9f20(0x15a)][_0x3c9f20(0x175)](_0x3c9f20(0x171));return _0x3379bc[_0x3c9f20(0x16a)](_0x3c9f20(0x17a))['to'](_0x15e200),_0x3379bc['on'](_0x3c9f20(0x141),()=>{const _0x1bd953=_0x3c9f20;_0x15e200[_0x1bd953(0x141)](_0xea73cd);}),_0x3379bc;}[_0x20ff2e(0x15f)](_0x30de8d){const _0x234d79=_0x20ff2e,{locale:_0x400b52}=this[_0x234d79(0x14d)],_0x2a3757=this[_0x234d79(0x14d)][_0x234d79(0x176)][_0x234d79(0x175)](_0x234d79(0x178)),_0x4e6e75=_0x30de8d[0x0],_0x42683b=this[_0x234d79(0x16c)](_0x2590ac,_0x4e6e75[_0x234d79(0x173)]);return _0x42683b[_0x234d79(0x156)]=_0x4e6e75[_0x234d79(0x156)],_0x42683b[_0x234d79(0x16a)](_0x234d79(0x160))['to'](_0x2a3757,_0x234d79(0x136),_0x2ca5f4=>_0x37de01(_0x400b52,_0x4e6e75[_0x234d79(0x173)],_0x2ca5f4?_0x234d79(0x17f):_0x234d79(0x135))[_0x234d79(0x168)]),_0x42683b[_0x234d79(0x180)]=!0x0,_0x42683b;}[_0x20ff2e(0x154)](_0x289a91){const _0x57efc0=_0x20ff2e,{locale:_0x4f9571}=this[_0x57efc0(0x14d)],_0x58bb22=this[_0x57efc0(0x14d)][_0x57efc0(0x176)][_0x57efc0(0x175)](_0x57efc0(0x178));return _0x289a91[_0x57efc0(0x17d)](_0x4e0dcd=>{const _0x47f224=_0x57efc0,_0xba6029=this[_0x47f224(0x16c)](_0x2590ac,_0x4e0dcd[_0x47f224(0x173)]);return _0xba6029[_0x47f224(0x163)]=!0x0,_0xba6029[_0x47f224(0x156)]=_0x4e0dcd[_0x47f224(0x156)],_0xba6029[_0x47f224(0x16a)](_0x47f224(0x160))['to'](_0x58bb22,_0x47f224(0x136),_0x5b2d41=>_0x37de01(_0x4f9571,_0x4e0dcd[_0x47f224(0x173)],_0x5b2d41?_0x47f224(0x17f):_0x47f224(0x135))[_0x47f224(0x168)]),_0xba6029;});}[_0x20ff2e(0x172)](_0x5f1f6b){const _0x48680c=_0x20ff2e;return _0x5f1f6b[_0x48680c(0x17d)](_0x554bfe=>{const _0x4d6616=_0x48680c,_0x2703b8=this[_0x4d6616(0x16c)](_0x1b73c5,_0x554bfe[_0x4d6616(0x173)]);return _0x2703b8[_0x4d6616(0x156)]=_0x554bfe[_0x4d6616(0x156)],_0x2703b8[_0x4d6616(0x160)]=_0x554bfe[_0x4d6616(0x145)],_0x2703b8;});}}
23
+ const _0x2116f5=_0x40ca;(function(_0x5e6384,_0x484f98){const _0x36c8f2=_0x40ca,_0x4be39f=_0x5e6384();while(!![]){try{const _0x2d00f9=-parseInt(_0x36c8f2(0x214))/0x1+-parseInt(_0x36c8f2(0x1dc))/0x2+-parseInt(_0x36c8f2(0x1f1))/0x3+parseInt(_0x36c8f2(0x1eb))/0x4+parseInt(_0x36c8f2(0x1df))/0x5*(parseInt(_0x36c8f2(0x1fb))/0x6)+-parseInt(_0x36c8f2(0x220))/0x7+parseInt(_0x36c8f2(0x204))/0x8;if(_0x2d00f9===_0x484f98)break;else _0x4be39f['push'](_0x4be39f['shift']());}catch(_0x30b401){_0x4be39f['push'](_0x4be39f['shift']());}}}(_0x22ec,0x235f2));import{Plugin as _0x22ea78}from'ckeditor5/src/core.js';import{IconDropbox as _0x4f49a4,IconFacebook as _0x1b3cf4,IconGoogleDrive as _0x2f2dfe,IconGooglePhotos as _0x47fce4,IconUploadcareImageUpload as _0x270f8b,IconUploadcareLink as _0x39f3e5,IconOneDrive as _0x1ca5f0}from'ckeditor5/src/icons.js';import{ButtonView as _0x68e68e,MenuBarMenuListItemButtonView as _0x13650c}from'ckeditor5/src/ui.js';function _0x40ca(_0x1c9bc1,_0x530c7a){const _0x22eca2=_0x22ec();return _0x40ca=function(_0x40caac,_0x5d776b){_0x40caac=_0x40caac-0x1d9;let _0x585480=_0x22eca2[_0x40caac];return _0x585480;},_0x40ca(_0x1c9bc1,_0x530c7a);}import{UploadcareSource as _0x1c1353}from'./uploadcareconfig.js';import{getTranslation as _0x1589ba}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 class UploadcareUI extends _0x22ea78{[_0x2116f5(0x20a)];[_0x2116f5(0x1e1)];static get[_0x2116f5(0x223)](){const _0x3ac28d=_0x2116f5;return _0x3ac28d(0x213);}static get[_0x2116f5(0x203)](){return!0x0;}static get[_0x2116f5(0x215)](){return!0x0;}[_0x2116f5(0x21a)](){const _0x4906a2=_0x2116f5;this[_0x4906a2(0x20a)]=this[_0x4906a2(0x1fa)][_0x4906a2(0x1e0)][_0x4906a2(0x21d)](_0x4906a2(0x20a));const _0xe992d4=this[_0x4906a2(0x1fa)];this[_0x4906a2(0x1e1)]=setInterval(()=>{const _0x3c7750=_0x4906a2;let _0x4e6f67;for(const _0x42f50c in _0xe992d4){const _0x11a2d8=_0x42f50c,_0x58d428=_0xe992d4[_0x11a2d8];if(_0x3c7750(0x1ee)==_0x58d428||_0x3c7750(0x209)==_0x58d428||_0x3c7750(0x207)==_0x58d428||_0x3c7750(0x200)==_0x58d428||_0x3c7750(0x1f9)==_0x58d428||_0x3c7750(0x1e8)==_0x58d428||_0x3c7750(0x1ff)==_0x58d428||_0x3c7750(0x211)==_0x58d428){delete _0xe992d4[_0x11a2d8],_0x4e6f67=_0x58d428,clearInterval(this[_0x3c7750(0x1e1)]),this[_0x3c7750(0x1e1)]=void 0x0;break;}}_0x3c7750(0x209)==_0x4e6f67&&_0xe992d4[_0x3c7750(0x20b)](_0x3c7750(0x1de)),_0x3c7750(0x207)==_0x4e6f67&&_0xe992d4[_0x3c7750(0x20b)](_0x3c7750(0x1e4)),_0x3c7750(0x200)==_0x4e6f67&&_0xe992d4[_0x3c7750(0x20b)](_0x3c7750(0x1fc)),_0x3c7750(0x1f9)==_0x4e6f67&&_0xe992d4[_0x3c7750(0x20b)](_0x3c7750(0x1dd),_0x3c7750(0x212)),_0x3c7750(0x1e8)==_0x4e6f67&&_0xe992d4[_0x3c7750(0x20b)](_0x3c7750(0x1f4)),_0x3c7750(0x1ff)==_0x4e6f67&&_0xe992d4[_0x3c7750(0x20b)](_0x3c7750(0x1ef)),_0x3c7750(0x211)==_0x4e6f67&&_0xe992d4[_0x3c7750(0x20b)](_0x3c7750(0x217));},0x3e8);}[_0x2116f5(0x222)](){const _0x4876ec=_0x2116f5,{editor:_0x59d452}=this,_0x4bfd7b=_0x59d452[_0x4876ec(0x224)][_0x4876ec(0x21d)](_0x4876ec(0x1db));if(!_0x4bfd7b)return;const _0x258991=this[_0x4876ec(0x1fe)](_0x59d452[_0x4876ec(0x1e0)][_0x4876ec(0x21d)](_0x4876ec(0x206)))[_0x4876ec(0x1f3)]((_0x49bf50,_0x5aa7de)=>{const _0xba9a11=_0x4876ec,_0x4c76b5=this[_0xba9a11(0x1e6)](_0x5aa7de[_0xba9a11(0x20d)]);return _0x49bf50[_0x4c76b5]||(_0x49bf50[_0x4c76b5]=[]),_0x49bf50[_0x4c76b5][_0xba9a11(0x1fd)](_0x5aa7de),_0x49bf50;},{});_0x59d452[_0x4876ec(0x201)][_0x4876ec(0x208)](_0x4876ec(0x1ea))&&_0x59d452[_0x4876ec(0x224)][_0x4876ec(0x21d)](_0x4876ec(0x1db))&&Object[_0x4876ec(0x1da)](_0x258991)[_0x4876ec(0x1f7)](([_0x16851a,_0x6dfd51])=>{const _0x16970c=_0x4876ec;_0x59d452[_0x16970c(0x201)][_0x16970c(0x21d)](_0x16970c(0x1ea))[_0x16970c(0x216)]({'name':_0x16851a,'observable':()=>_0x4bfd7b,'buttonViewCreator':()=>this[_0x16970c(0x210)](_0x6dfd51),'formViewCreator':()=>this[_0x16970c(0x1e7)](_0x6dfd51),'menuBarButtonViewCreator':()=>this[_0x16970c(0x1ec)](_0x6dfd51),'override':_0x16970c(0x226)!==_0x16851a});});}[_0x2116f5(0x202)](){const _0xdd9cb9=_0x2116f5;super[_0xdd9cb9(0x202)](),this[_0xdd9cb9(0x1e1)]&&clearInterval(this[_0xdd9cb9(0x1e1)]);}[_0x2116f5(0x1fe)](_0x3e183e){const _0x5be357=_0x2116f5,{locale:_0x250eca}=this[_0x5be357(0x1fa)];return _0x3e183e[_0x5be357(0x1ed)](_0x4a502f=>{const _0x5af2b1=_0x5be357,_0x129b02=_0x1589ba(_0x250eca,_0x4a502f,_0x5af2b1(0x221));switch(_0x4a502f){case _0x1c1353[_0x5af2b1(0x218)]:return{'icon':_0x270f8b,'type':_0x1c1353[_0x5af2b1(0x218)],..._0x129b02};case _0x1c1353[_0x5af2b1(0x1e2)]:return{'icon':_0x39f3e5,'type':_0x1c1353[_0x5af2b1(0x1e2)],..._0x129b02};case _0x1c1353[_0x5af2b1(0x227)]:return{'icon':_0x4f49a4,'type':_0x1c1353[_0x5af2b1(0x227)],..._0x129b02};case _0x1c1353[_0x5af2b1(0x21e)]:return{'icon':_0x1b3cf4,'type':_0x1c1353[_0x5af2b1(0x21e)],..._0x129b02};case _0x1c1353[_0x5af2b1(0x1f2)]:return{'icon':_0x2f2dfe,'type':_0x1c1353[_0x5af2b1(0x1f2)],..._0x129b02};case _0x1c1353[_0x5af2b1(0x1d9)]:return{'icon':_0x47fce4,'type':_0x1c1353[_0x5af2b1(0x1d9)],..._0x129b02};case _0x1c1353[_0x5af2b1(0x1e5)]:return{'icon':_0x1ca5f0,'type':_0x1c1353[_0x5af2b1(0x1e5)],..._0x129b02};}});}[_0x2116f5(0x1e6)](_0x49770a){const _0x293906=_0x2116f5;switch(_0x49770a){case _0x1c1353[_0x293906(0x218)]:return _0x293906(0x1e9);case _0x1c1353[_0x293906(0x1e2)]:return _0x293906(0x205);default:return _0x293906(0x226);}}[_0x2116f5(0x20f)](_0x33fd03,_0x472466){const _0x2819fd=_0x2116f5,_0x570440=this[_0x2819fd(0x1fa)],_0x1a65a9=new _0x33fd03(_0x570440[_0x2819fd(0x21b)]),_0x31b566=_0x570440[_0x2819fd(0x224)][_0x2819fd(0x21d)](_0x2819fd(0x1db));return _0x1a65a9[_0x2819fd(0x21c)](_0x2819fd(0x21f))['to'](_0x31b566),_0x1a65a9['on'](_0x2819fd(0x219),()=>{const _0x3c2b08=_0x2819fd;_0x31b566[_0x3c2b08(0x219)](_0x472466);}),_0x1a65a9;}[_0x2116f5(0x210)](_0x1bae47){const _0x26f338=_0x2116f5,{locale:_0xd371b4}=this[_0x26f338(0x1fa)],_0x2bafdb=this[_0x26f338(0x1fa)][_0x26f338(0x201)][_0x26f338(0x21d)](_0x26f338(0x1ea)),_0x3ecaec=_0x1bae47[0x0],_0x4a2e7b=this[_0x26f338(0x20f)](_0x68e68e,_0x3ecaec[_0x26f338(0x20d)]);return _0x4a2e7b[_0x26f338(0x1f8)]=_0x3ecaec[_0x26f338(0x1f8)],_0x4a2e7b[_0x26f338(0x21c)](_0x26f338(0x225))['to'](_0x2bafdb,_0x26f338(0x1f0),_0x320542=>_0x1589ba(_0xd371b4,_0x3ecaec[_0x26f338(0x20d)],_0x320542?_0x26f338(0x1f6):_0x26f338(0x221))[_0x26f338(0x20c)]),_0x4a2e7b[_0x26f338(0x20e)]=!0x0,_0x4a2e7b;}[_0x2116f5(0x1e7)](_0x4d733f){const _0x513e4e=_0x2116f5,{locale:_0x254de7}=this[_0x513e4e(0x1fa)],_0x1d8b56=this[_0x513e4e(0x1fa)][_0x513e4e(0x201)][_0x513e4e(0x21d)](_0x513e4e(0x1ea));return _0x4d733f[_0x513e4e(0x1ed)](_0x2a2261=>{const _0x1f770e=_0x513e4e,_0x3b6400=this[_0x1f770e(0x20f)](_0x68e68e,_0x2a2261[_0x1f770e(0x20d)]);return _0x3b6400[_0x1f770e(0x1f5)]=!0x0,_0x3b6400[_0x1f770e(0x1f8)]=_0x2a2261[_0x1f770e(0x1f8)],_0x3b6400[_0x1f770e(0x21c)](_0x1f770e(0x225))['to'](_0x1d8b56,_0x1f770e(0x1f0),_0x168deb=>_0x1589ba(_0x254de7,_0x2a2261[_0x1f770e(0x20d)],_0x168deb?_0x1f770e(0x1f6):_0x1f770e(0x221))[_0x1f770e(0x20c)]),_0x3b6400;});}[_0x2116f5(0x1ec)](_0x28d209){const _0xb4c470=_0x2116f5;return _0x28d209[_0xb4c470(0x1ed)](_0x35f571=>{const _0x3bc757=_0xb4c470,_0x18c39d=this[_0x3bc757(0x20f)](_0x13650c,_0x35f571[_0x3bc757(0x20d)]);return _0x18c39d[_0x3bc757(0x1f8)]=_0x35f571[_0x3bc757(0x1f8)],_0x18c39d[_0x3bc757(0x225)]=_0x35f571[_0x3bc757(0x1e3)],_0x18c39d;});}}function _0x22ec(){const _0x49a9cf=['label','assetManager','Dropbox','GPhotos','entries','uploadcare','378962paoTFX','featureNotAllowed','invalid','154610kYteFr','config','_licenseKeyCheckInterval','URL','shortText','expired','OneDrive','_getIntegrationKey','_createDropdownButtons','uploadcareLicenseKeyEvaluationLimit','upload','ImageInsertUI','914080zjzHUj','_createMenuBarButtons','map','uploadcareLicenseKeyValid','trialLimit','isImageSelected','453003glxWlz','GDrive','reduce','evaluationLimit','withText','Replace','forEach','icon','uploadcareLicenseKeyNotAllowed','editor','42KAKAHo','domainLimit','push','_normalizeConfigSourceList','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyDomainLimit','plugins','destroy','isOfficialPlugin','2336760UkEPCG','url','uploadcare.uploader.sourceList','uploadcareLicenseKeyExpired','has','uploadcareLicenseKeyInvalid','licenseKey','_showLicenseError','text','type','tooltip','_createButton','_createToolbarButton','uploadcareLicenseKeyUsageLimit','Uploadcare','UploadcareUI','134128uLEnEn','isPremiumPlugin','registerIntegration','usageLimit','Local','execute','init','locale','bind','get','Facebook','isEnabled','823039BNLXVK','Insert','afterInit','pluginName','commands'];_0x22ec=function(){return _0x49a9cf;};return _0x22ec();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x39da0e}from'ckeditor5/src/core.js';import{FileRepository as _0x2427ad}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x35ffcb}from'./uploadcareediting.js';import{UploadUtils as _0x22c9f8}from'./utils/uploadutils.js';import{getImageUrls as _0x458c8d}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x39da0e{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2427ad,_0x35ffcb];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x15c55f=this['editor'];if(!!!_0x15c55f['config']['get']('uploadcare'))return;_0x15c55f['plugins']['get'](_0x2427ad)['createUploadAdapter']=_0x4efc1e=>new A(_0x4efc1e,_0x15c55f),_0x15c55f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3b859f,{imageElement:_0x2e4b15,data:_0xa32bc3})=>{_0x15c55f['model']['change'](_0x526d7a=>{_0x526d7a['setAttribute']('uploadcareImageId',_0xa32bc3['uploadcareImageId'],_0x2e4b15);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x3e535a,_0xf225f2){this['loader']=_0x3e535a,this['editor']=_0xf225f2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x1eb421=this['editor']['config']['get']('uploadcare.pubkey'),_0x27ee8c=await this['loader']['file'];return _0x22c9f8['upload']({'file':_0x27ee8c,'publicKey':_0x1eb421,'signal':this['controller']['signal'],'onProgress':_0x460c4d=>{_0x460c4d&&_0x460c4d['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x460c4d['value']);}})['then'](async _0x294480=>{const {imageFallbackUrl:_0x351a63,imageSources:_0xaa7e3}=_0x458c8d(_0x294480['cdnUrl'],_0x294480['imageInfo']['width']);return{'uploadcareImageId':_0x294480['uuid'],'default':_0x351a63,'sources':_0xaa7e3};})['catch'](()=>{const _0x3bf0a0=t('Cannot\x20upload\x20file:')+('\x20'+_0x27ee8c['name']+'.');return Promise['reject'](_0x3bf0a0);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x1a6a9a}from'ckeditor5/src/core.js';import{FileRepository as _0x42a900}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0xfc174b}from'./uploadcareediting.js';import{UploadUtils as _0x1e6227}from'./utils/uploadutils.js';import{getImageUrls as _0x32ba43}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1a6a9a{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x42a900,_0xfc174b];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x362723=this['editor'];if(!!!_0x362723['config']['get']('uploadcare'))return;_0x362723['plugins']['get'](_0x42a900)['createUploadAdapter']=_0x23999b=>new A(_0x23999b,_0x362723),_0x362723['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2f9c6e,{imageElement:_0x207160,data:_0x32fea7})=>{_0x362723['model']['change'](_0x1fd437=>{_0x1fd437['setAttribute']('uploadcareImageId',_0x32fea7['uploadcareImageId'],_0x207160);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x2b6db5,_0x3e29fd){this['loader']=_0x2b6db5,this['editor']=_0x3e29fd,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5dffb5=this['editor']['config']['get']('uploadcare.pubkey'),_0x53de7b=await this['loader']['file'];return _0x1e6227['upload']({'file':_0x53de7b,'publicKey':_0x5dffb5,'signal':this['controller']['signal'],'onProgress':_0x47e2a7=>{_0x47e2a7&&_0x47e2a7['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x47e2a7['value']);}})['then'](async _0x28d53d=>{const {imageFallbackUrl:_0x19ccd9,imageSources:_0x519e41}=_0x32ba43(_0x28d53d['cdnUrl'],_0x28d53d['imageInfo']['width']);return{'uploadcareImageId':_0x28d53d['uuid'],'default':_0x19ccd9,'sources':_0x519e41};})['catch'](()=>{const _0x1201a1=t('Cannot\x20upload\x20file:')+('\x20'+_0x53de7b['name']+'.');return Promise['reject'](_0x1201a1);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x41f3a3}from'../uploadcareconfig.js';export function getTranslation(_0x2d0032,_0x314745,_0x4bfb82){const t=_0x2d0032['t'],_0x16754e=_0x2d0032['t'];switch(_0x314745){case _0x41f3a3['Local']:return{'text':_0x16754e('Insert'===_0x4bfb82?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x16754e('From\x20computer')};case _0x41f3a3['URL']:return{'text':'Insert'===_0x4bfb82?_0x16754e('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x16754e('Via\x20URL')};case _0x41f3a3['Dropbox']:return{'text':t('Insert'===_0x4bfb82?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x41f3a3['Facebook']:return{'text':t('Insert'===_0x4bfb82?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x41f3a3['GDrive']:return{'text':t('Insert'===_0x4bfb82?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x41f3a3['GPhotos']:return{'text':t('Insert'===_0x4bfb82?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x41f3a3['OneDrive']:return{'text':t('Insert'===_0x4bfb82?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x314745;}}
23
+ import{UploadcareSource as _0x52f104}from'../uploadcareconfig.js';export function getTranslation(_0x3336f8,_0x50b944,_0x1f7ceb){const t=_0x3336f8['t'],_0x268270=_0x3336f8['t'];switch(_0x50b944){case _0x52f104['Local']:return{'text':_0x268270('Insert'===_0x1f7ceb?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x268270('From\x20computer')};case _0x52f104['URL']:return{'text':'Insert'===_0x1f7ceb?_0x268270('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x268270('Via\x20URL')};case _0x52f104['Dropbox']:return{'text':t('Insert'===_0x1f7ceb?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x52f104['Facebook']:return{'text':t('Insert'===_0x1f7ceb?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x52f104['GDrive']:return{'text':t('Insert'===_0x1f7ceb?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x52f104['GPhotos']:return{'text':t('Insert'===_0x1f7ceb?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x52f104['OneDrive']:return{'text':t('Insert'===_0x1f7ceb?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x50b944;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x305822=_0x2c48;(function(_0x3bdeb0,_0x8df4f2){var _0x2dbfd3=_0x2c48,_0x301f06=_0x3bdeb0();while(!![]){try{var _0x17be1f=parseInt(_0x2dbfd3(0xad))/0x1*(-parseInt(_0x2dbfd3(0xa7))/0x2)+parseInt(_0x2dbfd3(0xa5))/0x3*(parseInt(_0x2dbfd3(0xa1))/0x4)+-parseInt(_0x2dbfd3(0xaf))/0x5*(-parseInt(_0x2dbfd3(0xb5))/0x6)+parseInt(_0x2dbfd3(0xae))/0x7*(-parseInt(_0x2dbfd3(0xac))/0x8)+parseInt(_0x2dbfd3(0xa4))/0x9*(-parseInt(_0x2dbfd3(0xb0))/0xa)+-parseInt(_0x2dbfd3(0xab))/0xb*(-parseInt(_0x2dbfd3(0xa3))/0xc)+parseInt(_0x2dbfd3(0xa0))/0xd;if(_0x17be1f===_0x8df4f2)break;else _0x301f06['push'](_0x301f06['shift']());}catch(_0x54002b){_0x301f06['push'](_0x301f06['shift']());}}}(_0x1dc6,0xcad44));function _0x1dc6(){var _0x190d6e=['bindTemplate','getFocusableElement','174GWovTV','3304002wzZhEc','20FMmqUv','createCollection','60lQXyZO','122184kCNWfw','387501FltoRk','focusTracker','1582468blpgbV','true','forwardCycle','div','2689885TlcIHb','23448LQOsCm','1yIrAxi','707JzwGIr','177725TvjKCN','910FvlCta','focusCycler','fire'];_0x1dc6=function(){return _0x190d6e;};return _0x1dc6();}function _0x2c48(_0x138dd9,_0x4b5d36){var _0x1dc640=_0x1dc6();return _0x2c48=function(_0x2c48c3,_0x4036ec){_0x2c48c3=_0x2c48c3-0xa0;var _0x3168f1=_0x1dc640[_0x2c48c3];return _0x3168f1;},_0x2c48(_0x138dd9,_0x4b5d36);}import{FocusTracker as _0x36e3ac}from'ckeditor5/src/utils.js';import{View as _0x5921e5,FocusCycler as _0x582cb4}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x5921e5{[_0x305822(0xa6)];[_0x305822(0xb1)];constructor(_0x468021){var _0x516546=_0x305822;super(_0x468021),this[_0x516546(0xa6)]=new _0x36e3ac(),this[_0x516546(0xb1)]=new _0x582cb4({'focusables':this[_0x516546(0xa2)](),'focusTracker':this[_0x516546(0xa6)]});}[_0x305822(0xb4)](){var _0x2a8a5d=_0x305822;return{'tag':_0x2a8a5d(0xaa),'attributes':{'aria-hidden':_0x2a8a5d(0xa8),'tabindex':'0'},'on':{'focus':this[_0x2a8a5d(0xb3)]['to'](()=>{var _0x1e5c82=_0x2a8a5d;this[_0x1e5c82(0xb1)][_0x1e5c82(0xb2)](_0x1e5c82(0xa9));})}};}}
23
+ var _0x13547a=_0x4fef;(function(_0x33a3e3,_0x48713e){var _0x403bab=_0x4fef,_0xad205e=_0x33a3e3();while(!![]){try{var _0x203f06=-parseInt(_0x403bab(0x142))/0x1+-parseInt(_0x403bab(0x130))/0x2*(parseInt(_0x403bab(0x13d))/0x3)+parseInt(_0x403bab(0x135))/0x4*(parseInt(_0x403bab(0x140))/0x5)+-parseInt(_0x403bab(0x13a))/0x6*(parseInt(_0x403bab(0x136))/0x7)+parseInt(_0x403bab(0x139))/0x8*(-parseInt(_0x403bab(0x131))/0x9)+parseInt(_0x403bab(0x132))/0xa*(parseInt(_0x403bab(0x133))/0xb)+parseInt(_0x403bab(0x138))/0xc;if(_0x203f06===_0x48713e)break;else _0xad205e['push'](_0xad205e['shift']());}catch(_0x247512){_0xad205e['push'](_0xad205e['shift']());}}}(_0x1ea1,0xea2a7));import{FocusTracker as _0x5036e9}from'ckeditor5/src/utils.js';function _0x4fef(_0x2b8630,_0x5047ac){var _0x1ea1eb=_0x1ea1();return _0x4fef=function(_0x4fef38,_0x2cb68a){_0x4fef38=_0x4fef38-0x12f;var _0x5bb9c5=_0x1ea1eb[_0x4fef38];return _0x5bb9c5;},_0x4fef(_0x2b8630,_0x5047ac);}import{View as _0x18fff3,FocusCycler as _0x124041}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x1ea1(){var _0x5d6b4f=['2FwRbsa','171DQxhRq','470TlOIaA','353111tbiHmj','createCollection','588EEZBGv','224blxKCo','div','16597728erkudp','361792XNgWaz','343560nLVKlB','forwardCycle','fire','2720757QffwCV','true','focusCycler','62975pGHCoI','focusTracker','185718nYKTyY','getFocusableElement','bindTemplate'];_0x1ea1=function(){return _0x5d6b4f;};return _0x1ea1();}export class DialogFocusManagerView extends _0x18fff3{[_0x13547a(0x141)];[_0x13547a(0x13f)];constructor(_0x433494){var _0x5a72ca=_0x13547a;super(_0x433494),this[_0x5a72ca(0x141)]=new _0x5036e9(),this[_0x5a72ca(0x13f)]=new _0x124041({'focusables':this[_0x5a72ca(0x134)](),'focusTracker':this[_0x5a72ca(0x141)]});}[_0x13547a(0x143)](){var _0x266779=_0x13547a;return{'tag':_0x266779(0x137),'attributes':{'aria-hidden':_0x266779(0x13e),'tabindex':'0'},'on':{'focus':this[_0x266779(0x12f)]['to'](()=>{var _0x497a91=_0x266779;this[_0x497a91(0x13f)][_0x497a91(0x13c)](_0x497a91(0x13b));})}};}}