@ckeditor/ckeditor5-uploadcare 46.0.0-alpha.0 → 46.0.0-alpha.2

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 (173) 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.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x42ef(_0x5e3e25,_0x1bdf7b){const _0xcda9c4=_0xcda9();return _0x42ef=function(_0x42efb0,_0x40bf9d){_0x42efb0=_0x42efb0-0x1d2;let _0x268f68=_0xcda9c4[_0x42efb0];return _0x268f68;},_0x42ef(_0x5e3e25,_0x1bdf7b);}const _0x34c6ee=_0x42ef;(function(_0x342e42,_0x3fd57d){const _0x203b26=_0x42ef,_0x3cc6de=_0x342e42();while(!![]){try{const _0x2e093d=-parseInt(_0x203b26(0x1ed))/0x1+-parseInt(_0x203b26(0x1f6))/0x2*(parseInt(_0x203b26(0x225))/0x3)+parseInt(_0x203b26(0x1d3))/0x4*(parseInt(_0x203b26(0x1f4))/0x5)+-parseInt(_0x203b26(0x1fc))/0x6+-parseInt(_0x203b26(0x1fe))/0x7*(-parseInt(_0x203b26(0x211))/0x8)+-parseInt(_0x203b26(0x218))/0x9*(-parseInt(_0x203b26(0x1f7))/0xa)+-parseInt(_0x203b26(0x1f5))/0xb*(parseInt(_0x203b26(0x1dc))/0xc);if(_0x2e093d===_0x3fd57d)break;else _0x3cc6de['push'](_0x3cc6de['shift']());}catch(_0x200716){_0x3cc6de['push'](_0x3cc6de['shift']());}}}(_0xcda9,0x3feea));import{Plugin as _0x4b5d3e}from'ckeditor5/src/core.js';import{Dialog as _0x1817b5}from'ckeditor5/src/ui.js';function _0xcda9(){const _0x514a3d=['uploadcare.uploader','_ctxElement','input[uploadcare-file-input]','ctxElement','isPremiumPlugin','remove','insertImage','replaceImageSource','closeMax','add','_configElement','328527oSAcQW','init','config','iconHrefResolver','map','68auDTmV','destroy','view','body','getSelectedElement','editing','isRegistered','_initSchema','uploadcareImageReplace','139476sOgWdY','requires','imageInline','_initImageProcessingIndicator','querySelector','true','_initCtx','downcast','selection','attributeToAttribute','extend','for','UploadcareEditing','commands','removeAttribute','model','uc-config','192932GdhUYD','conversion','once','configElement','ucContextId','appendChild','editor','145085qBkXro','11BxkBZy','2XQjQtr','13570muCPoN','cleanupImage','schema','uploadcare.pubkey','get','2364732TFDgEg','render','3213854skMBUv','execute','join','isOfficialPlugin','contentLanguage','afterInit','upcast','getAttribute','uploader-','_initConversion','#uc-icon-arrow-down','document','imageBlock','_initConfig','uploadcare','listenTo','fromCharCode','PictureEditing','uploadcareImageId','8cquTag','uc-upload-ctx-provider','data-uc-image-id','pluginName','locale','href','\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','117fhgmdE','elementToAttribute'];_0xcda9=function(){return _0x514a3d;};return _0xcda9();}import{createElement as _0x57ab19,global as _0x178f14,uid as _0x1882b8}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x48dd03}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x37b0c5}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x2ffb1}from'./utils/editingutils.js';export class UploadcareEditing extends _0x4b5d3e{[_0x34c6ee(0x224)]=null;[_0x34c6ee(0x21b)]=null;static get[_0x34c6ee(0x214)](){const _0x27d2c5=_0x34c6ee;return _0x27d2c5(0x1e8);}static get[_0x34c6ee(0x1dd)](){const _0x407497=_0x34c6ee;return[_0x407497(0x20f),_0x37b0c5,_0x1817b5];}static get[_0x34c6ee(0x201)](){return!0x0;}static get[_0x34c6ee(0x21e)](){return!0x0;}[_0x34c6ee(0x1f1)];get[_0x34c6ee(0x1f0)](){const _0x2c213e=_0x34c6ee;return this[_0x2c213e(0x224)];}get[_0x34c6ee(0x21d)](){const _0x25c6fe=_0x34c6ee;return this[_0x25c6fe(0x21b)];}constructor(_0x3f0be9){const _0x4f0916=_0x34c6ee;super(_0x3f0be9),this[_0x4f0916(0x1f1)]=_0x1882b8();}[_0x34c6ee(0x226)](){const _0x5db240=_0x34c6ee,_0x57937e=this[_0x5db240(0x1f3)];_0x57937e[_0x5db240(0x1e9)][_0x5db240(0x223)](_0x5db240(0x20c),new _0x48dd03(_0x57937e));}[_0x34c6ee(0x203)](){const _0x3b9f57=_0x34c6ee;this[_0x3b9f57(0x1da)](),this[_0x3b9f57(0x207)](),this[_0x3b9f57(0x20b)](),this[_0x3b9f57(0x1e2)](),this[_0x3b9f57(0x1df)](),this[_0x3b9f57(0x20d)](this[_0x3b9f57(0x1f3)],_0x3b9f57(0x1d4),()=>{const _0x164909=_0x3b9f57;this[_0x164909(0x224)]&&(this[_0x164909(0x224)][_0x164909(0x21f)](),this[_0x164909(0x224)]=null),this[_0x164909(0x21b)]&&(this[_0x164909(0x21b)][_0x164909(0x21f)](),this[_0x164909(0x21b)]=null);const _0xdb6116=_0x178f14[_0x164909(0x209)][_0x164909(0x1e0)](_0x164909(0x21c));_0xdb6116&&_0xdb6116[_0x164909(0x21f)]();}),async function(_0x293b63){const _0x3710b6=_0x41a6a0([0x6a,0x68,0x62,0x52,0x4e,0x6f,0x58,0x39,0x42,0x6b,0x7a,0x78,0x6c,0x67,0x37,0x54,0x64,0x47,0x77,0x34,0x75,0x56,0x66,0x48,0x73,0x4a,0x6e,0x53,0x31,0x46,0x45,0x38,0x51,0x36,0x70,0x6d,0x59,0x69,0x65,0x63,0x71,0x61,0x43,0x30,0x57,0x32,0x76,0x5a,0x4b,0x4c,0x4f,0x35,0x72,0x50,0x55,0x41,0x79,0x49,0x74,0x4d,0x44,0x33]),_0x4cb381=0x16f2b914,_0x4697f6=0x16f5d544^_0x4cb381,_0x2eee98=window[_0x41a6a0([0x44,0x61,0x74,0x65])][_0x41a6a0([0x6e,0x6f,0x77])](),_0x33c105=_0x293b63[_0x41a6a0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x542084=new window[(_0x41a6a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x40daac=>{_0x33c105[_0x41a6a0([0x6f,0x6e,0x63,0x65])](_0x41a6a0([0x72,0x65,0x61,0x64,0x79]),_0x40daac);}),_0x13dd2f={[_0x41a6a0([0x6b,0x74,0x79])]:_0x41a6a0([0x45,0x43]),[_0x41a6a0([0x75,0x73,0x65])]:_0x41a6a0([0x73,0x69,0x67]),[_0x41a6a0([0x63,0x72,0x76])]:_0x41a6a0([0x50,0x2d,0x32,0x35,0x36]),[_0x41a6a0([0x78])]:_0x41a6a0([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]),[_0x41a6a0([0x79])]:_0x41a6a0([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]),[_0x41a6a0([0x61,0x6c,0x67])]:_0x41a6a0([0x45,0x53,0x32,0x35,0x36])},_0x85e08d=_0x33c105[_0x41a6a0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x41a6a0([0x67,0x65,0x74])](_0x41a6a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xf03b52(){let _0x36b5aa,_0x5c4457=null,_0x2d73e7=null;try{if(_0x85e08d==_0x41a6a0([0x47,0x50,0x4c]))return _0x41a6a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36b5aa=_0x42c1d2(),!_0x36b5aa)return _0x41a6a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36b5aa[_0x41a6a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d73e7=_0x15c752(_0x36b5aa[_0x41a6a0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36b5aa[_0x41a6a0([0x6a,0x74,0x69])])),await _0x427534()?_0x44a9ee()?_0x4d444a()?_0x41a6a0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xe0a90e()?(_0x36b5aa[_0x41a6a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41a6a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5c4457=_0x240fb8(_0x41a6a0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x36b5aa[_0x41a6a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x41a6a0([0x74,0x72,0x69,0x61,0x6c])&&(_0x5c4457=_0x240fb8(_0x41a6a0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x27e6cd()):_0x41a6a0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x41a6a0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x41a6a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x41a6a0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4d444a(){const _0x293627=[_0x41a6a0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x41a6a0([0x74,0x72,0x69,0x61,0x6c])][_0x41a6a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36b5aa[_0x41a6a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2eee98/0x3e8:0xe10*_0x4697f6;return _0x36b5aa[_0x41a6a0([0x65,0x78,0x70])]<_0x293627;}function _0x44a9ee(){const _0x51eda0=_0x36b5aa[_0x41a6a0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x51eda0&&(!!_0x51eda0[_0x41a6a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41a6a0([0x2a]))||!!_0x51eda0[_0x41a6a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41a6a0([0x55,0x50,0x4c,0x43])));}function _0xe0a90e(){const _0x2aed36=_0x42ef,_0x2c4f87=_0x36b5aa[_0x41a6a0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c4f87||0x0==_0x2c4f87[_0x41a6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd2d24c}=new URL(window[_0x41a6a0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2aed36(0x216)]);if(_0x2c4f87[_0x41a6a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd2d24c))return!0x0;const _0x303963=_0xd2d24c[_0x41a6a0([0x73,0x70,0x6c,0x69,0x74])](_0x41a6a0([0x2e]));return _0x2c4f87[_0x41a6a0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f3cdf=>_0x3f3cdf[_0x41a6a0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x41a6a0([0x2a])))[_0x41a6a0([0x6d,0x61,0x70])](_0x43ecce=>_0x43ecce[_0x41a6a0([0x73,0x70,0x6c,0x69,0x74])](_0x41a6a0([0x2e])))[_0x41a6a0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbfe67c=>_0xbfe67c[_0x41a6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x303963[_0x41a6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41a6a0([0x6d,0x61,0x70])](_0x3102cf=>Array(_0x303963[_0x41a6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3102cf[_0x41a6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x41a6a0([0x66,0x69,0x6c,0x6c])](_0x3102cf[0x0]===_0x41a6a0([0x2a])?_0x41a6a0([0x2a]):'')[_0x41a6a0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3102cf))[_0x41a6a0([0x73,0x6f,0x6d,0x65])](_0x3c7d3b=>_0x303963[_0x41a6a0([0x65,0x76,0x65,0x72,0x79])]((_0x71538b,_0x1ca023)=>_0x3c7d3b[_0x1ca023]===_0x71538b||_0x3c7d3b[_0x1ca023]===_0x41a6a0([0x2a])));}function _0x27e6cd(){return _0x5c4457&&_0x2d73e7?new window[(_0x41a6a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf3e66e,_0xfb9270)=>{_0x5c4457[_0x41a6a0([0x74,0x68,0x65,0x6e])](_0xf3e66e,_0xfb9270),_0x2d73e7[_0x41a6a0([0x74,0x68,0x65,0x6e])](_0x14f84c=>{_0x14f84c!=_0x41a6a0([0x56,0x61,0x6c,0x69,0x64])&&_0xf3e66e(_0x14f84c);},_0xfb9270);}):_0x5c4457||_0x2d73e7||_0x41a6a0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x15c752(_0x40e98f,_0x4dbf7d){return new window[(_0x41a6a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24892b=>{if(_0x47eec4())return _0x24892b(_0x41a6a0([0x56,0x61,0x6c,0x69,0x64]));_0x323f66(),_0x33c105[_0x41a6a0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x41a6a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x43e272=!0x1;const _0x3d1208=_0x1882b8();function _0x50b8dd(_0xab3037){return!!_0xab3037&&(typeof _0xab3037===_0x41a6a0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xab3037===_0x41a6a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xab3037[_0x41a6a0([0x74,0x68,0x65,0x6e])]===_0x41a6a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xab3037[_0x41a6a0([0x63,0x61,0x74,0x63,0x68])]===_0x41a6a0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fdbc6(_0x4decb1){_0x3c42ca(_0x4decb1)[_0x41a6a0([0x74,0x68,0x65,0x6e])](_0x442a51=>{if(!_0x442a51||_0x442a51[_0x41a6a0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x41a6a0([0x6f,0x6b]))return _0x41a6a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x567ce1(_0x2d4fc1(_0x3d1208+_0x4dbf7d))!=_0x442a51[_0x41a6a0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x41a6a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x41a6a0([0x56,0x61,0x6c,0x69,0x64]);})[_0x41a6a0([0x74,0x68,0x65,0x6e])](_0x42fa0b=>(_0x136e3f(),_0x42fa0b),()=>{const _0x5a269c=_0x42dd1b();return null==_0x5a269c?(_0x136e3f(),_0x41a6a0([0x56,0x61,0x6c,0x69,0x64])):_0x41a6a0(_0x2eee98-_0x5a269c>(0x32fe3d14^_0x4cb381)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x41a6a0([0x74,0x68,0x65,0x6e])](_0x24892b)[_0x41a6a0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x24892b(_0x41a6a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b851e=0x16c45794^_0x4cb381;function _0x136e3f(){const _0x223871=_0x41a6a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x567ce1(_0x2d4fc1(_0x40e98f)),_0x1d78ab=_0x5ad15a(_0x567ce1(window[_0x41a6a0([0x4d,0x61,0x74,0x68])][_0x41a6a0([0x63,0x65,0x69,0x6c])](_0x2eee98/_0x2b851e)));window[_0x41a6a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41a6a0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x223871,_0x1d78ab);}function _0x42dd1b(){const _0x18f7d5=_0x41a6a0([0x6c,0x6c,0x63,0x74,0x2d])+_0x567ce1(_0x2d4fc1(_0x40e98f)),_0x5894cf=window[_0x41a6a0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x41a6a0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x18f7d5);return _0x5894cf?window[_0x41a6a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ad15a(_0x5894cf),0x10)*_0x2b851e:null;}function _0x3c42ca(_0x3f1378){return new window[(_0x41a6a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1aa9b2,_0x78aff9)=>{_0x3f1378[_0x41a6a0([0x74,0x68,0x65,0x6e])](_0x1aa9b2,_0x78aff9),window[_0x41a6a0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x78aff9,0x16f36dd4^_0x4cb381);});}}_0x33c105[_0x41a6a0([0x6f,0x6e])](_0x41a6a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26a6df,_0x3d994f)=>{if(_0x3d994f[0x0]!=_0x40e98f)return _0x24892b(_0x41a6a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3d994f[0x1]={..._0x3d994f[0x1],[_0x41a6a0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3d1208};},{[_0x41a6a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41a6a0([0x68,0x69,0x67,0x68])}),_0x33c105[_0x41a6a0([0x6f,0x6e])](_0x41a6a0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5c1022=>{_0x50b8dd(_0x5c1022[_0x41a6a0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x43e272=!0x0,_0x3fdbc6(_0x5c1022[_0x41a6a0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x41a6a0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x41a6a0([0x6c,0x6f,0x77])}),_0x542084[_0x41a6a0([0x74,0x68,0x65,0x6e])](()=>{_0x43e272||_0x24892b(_0x41a6a0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47eec4(){return _0x33c105[_0x41a6a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41a6a0([0x76,0x69,0x65,0x77])][_0x41a6a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x41a6a0([0x61,0x75,0x74,0x6f]);}function _0x323f66(){_0x33c105[_0x41a6a0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x41a6a0([0x76,0x69,0x65,0x77])][_0x41a6a0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x41a6a0([0x61,0x75,0x74,0x6f]);}}function _0x240fb8(_0x399596){const _0x422dc2=[new window[(_0x41a6a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x348666=>setTimeout(_0x348666,0x16fb87d8^_0x4cb381)),_0x542084[_0x41a6a0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x41a6a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x66ef75=>{let _0x417141=0x0;_0x33c105[_0x41a6a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x41a6a0([0x6f,0x6e])](_0x41a6a0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x83933d,_0x24b7f6)=>{_0x24b7f6[0x0][_0x41a6a0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x417141++,_0x417141==(0x16f2b8ec^_0x4cb381)&&(_0x66ef75(),_0x83933d[_0x41a6a0([0x6f,0x66,0x66])]());});}))];return window[_0x41a6a0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x41a6a0([0x72,0x61,0x63,0x65])](_0x422dc2)[_0x41a6a0([0x74,0x68,0x65,0x6e])](()=>_0x399596);}async function _0x590eb9(){await _0x542084,_0x33c105[_0x41a6a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x41a6a0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x58ac90,_0x33c105[_0x41a6a0([0x6d,0x6f,0x64,0x65,0x6c])][_0x41a6a0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x58ac90,_0x33c105[_0x41a6a0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x41a6a0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2486f9(_0x1c7efe){const _0x305d58=_0xe9265d();_0x33c105[_0x305d58]=_0x41a6a0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1c7efe,_0x1c7efe!=_0x41a6a0([0x56,0x61,0x6c,0x69,0x64])&&_0x590eb9();}function _0xe9265d(){const _0x1f2367=window[_0x41a6a0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x41a6a0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x41a6a0([0x6e,0x6f,0x77])]())[_0x41a6a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x41a6a0([0x2e]),'');let _0x42a971=_0x41a6a0([0x6a]);for(let _0x2be5fe=0x0;_0x2be5fe<_0x1f2367[_0x41a6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2be5fe+=0x2){let _0x43b392=window[_0x41a6a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f2367[_0x41a6a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2be5fe,_0x2be5fe+0x2));_0x43b392>=_0x3710b6[_0x41a6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x43b392-=_0x3710b6[_0x41a6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42a971+=_0x3710b6[_0x43b392];}return _0x42a971;}function _0x42c1d2(){const _0x2824ba=_0x85e08d[_0x41a6a0([0x73,0x70,0x6c,0x69,0x74])](_0x41a6a0([0x2e]));if(0x3!=_0x2824ba[_0x41a6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5182dd(_0x2824ba[0x1]);function _0x5182dd(_0x3e825a){const _0x1154ac=_0xf6591d(_0x3e825a);return _0x1154ac&&_0x2eeec7()?_0x1154ac:null;function _0x2eeec7(){const _0x51cd20=_0x1154ac[_0x41a6a0([0x6a,0x74,0x69])],_0x5c5c0d=window[_0x41a6a0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51cd20[_0x41a6a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x51cd20[_0x41a6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4085de={..._0x1154ac,[_0x41a6a0([0x6a,0x74,0x69])]:_0x51cd20[_0x41a6a0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x51cd20[_0x41a6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4085de[_0x41a6a0([0x76,0x63])],_0x2d4fc1(_0x4085de)==_0x5c5c0d;}}}async function _0x427534(){let _0x341b4d=!0x0;try{const _0x5e013c=_0x85e08d[_0x41a6a0([0x73,0x70,0x6c,0x69,0x74])](_0x41a6a0([0x2e])),[_0x29e82c,_0x407ec2,_0x2453c9]=_0x5e013c;return _0x2c9be6(_0x29e82c),await _0x5b38ee(_0x29e82c,_0x407ec2,_0x2453c9),_0x341b4d;}catch{return!0x1;}function _0x2c9be6(_0x2a6914){const _0x5a3e23=_0xf6591d(_0x2a6914);_0x5a3e23&&_0x5a3e23[_0x41a6a0([0x61,0x6c,0x67])]==_0x41a6a0([0x45,0x53,0x32,0x35,0x36])||(_0x341b4d=!0x1);}async function _0x5b38ee(_0x5a511a,_0x2fb8ac,_0x22373f){const _0x10f87d=window[_0x41a6a0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x41a6a0([0x66,0x72,0x6f,0x6d])](_0x1f5018(_0x22373f),_0x88670b=>_0x88670b[_0x41a6a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x125243=new window[(_0x41a6a0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x41a6a0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a511a+_0x41a6a0([0x2e])+_0x2fb8ac),_0xc084c6=window[_0x41a6a0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x41a6a0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xc084c6)return;const _0x1a32f4=await _0xc084c6[_0x41a6a0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x41a6a0([0x6a,0x77,0x6b]),_0x13dd2f,{[_0x41a6a0([0x6e,0x61,0x6d,0x65])]:_0x41a6a0([0x45,0x43,0x44,0x53,0x41]),[_0x41a6a0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x41a6a0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x41a6a0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xc084c6[_0x41a6a0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x41a6a0([0x6e,0x61,0x6d,0x65])]:_0x41a6a0([0x45,0x43,0x44,0x53,0x41]),[_0x41a6a0([0x68,0x61,0x73,0x68])]:{[_0x41a6a0([0x6e,0x61,0x6d,0x65])]:_0x41a6a0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a32f4,_0x10f87d,_0x125243)||(_0x341b4d=!0x1);}}function _0xf6591d(_0x143e61){return _0x143e61[_0x41a6a0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x41a6a0([0x65,0x79]))?JSON[_0x41a6a0([0x70,0x61,0x72,0x73,0x65])](_0x1f5018(_0x143e61)):null;}function _0x1f5018(_0x3124aa){return window[_0x41a6a0([0x61,0x74,0x6f,0x62])](_0x3124aa[_0x41a6a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x41a6a0([0x2b]))[_0x41a6a0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x41a6a0([0x2f])));}function _0x2d4fc1(_0x35e275){let _0x1ce2f4=0x1505;function _0x9a4839(_0x2824f1){for(let _0x291cb8=0x0;_0x291cb8<_0x2824f1[_0x41a6a0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x291cb8++){const _0x5ee7bc=_0x2824f1[_0x41a6a0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x291cb8);_0x1ce2f4=(_0x1ce2f4<<0x5)+_0x1ce2f4+_0x5ee7bc,_0x1ce2f4&=_0x1ce2f4;}}function _0x5200b9(_0x1606ba){Array[_0x41a6a0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1606ba)?_0x1606ba[_0x41a6a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5200b9):_0x1606ba&&typeof _0x1606ba==_0x41a6a0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x41a6a0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1606ba)[_0x41a6a0([0x73,0x6f,0x72,0x74])]()[_0x41a6a0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x437f88,_0x115b65])=>{_0x9a4839(_0x437f88),_0x5200b9(_0x115b65);}):_0x9a4839(window[_0x41a6a0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1606ba));}return _0x5200b9(_0x35e275),_0x1ce2f4>>>0x0;}function _0x567ce1(_0xb0db85){return _0xb0db85[_0x41a6a0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x41a6a0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x41a6a0([0x30]));}function _0x5ad15a(_0x4473e1){return _0x4473e1[_0x41a6a0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x41a6a0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x41a6a0([0x6a,0x6f,0x69,0x6e])]('');}function _0x58ac90(){}function _0x41a6a0(_0x45d2e7){const _0x4b43a6=_0x42ef;return _0x45d2e7[_0x4b43a6(0x1d2)](_0x2e534c=>String[_0x4b43a6(0x20e)](_0x2e534c))[_0x4b43a6(0x200)]('');}_0x2486f9(await _0xf03b52());}(this);}[_0x34c6ee(0x1da)](){const _0x436b33=_0x34c6ee,_0x23c541=this[_0x436b33(0x1f3)][_0x436b33(0x1eb)][_0x436b33(0x1f9)];_0x23c541[_0x436b33(0x1d9)](_0x436b33(0x20a))&&_0x23c541[_0x436b33(0x1e6)](_0x436b33(0x20a),{'allowAttributes':[_0x436b33(0x210)]}),_0x23c541[_0x436b33(0x1d9)](_0x436b33(0x1de))&&_0x23c541[_0x436b33(0x1e6)](_0x436b33(0x1de),{'allowAttributes':[_0x436b33(0x210)]});}[_0x34c6ee(0x207)](){const _0x125790=_0x34c6ee,_0x5b89ce=this[_0x125790(0x1f3)];_0x5b89ce[_0x125790(0x1ee)][_0x125790(0x1e7)](_0x125790(0x1e3))[_0x125790(0x1e5)]({'model':_0x125790(0x210),'view':_0x125790(0x213)}),_0x5b89ce[_0x125790(0x1ee)][_0x125790(0x1e7)](_0x125790(0x204))[_0x125790(0x219)]({'model':{'key':_0x125790(0x210),'value':_0x38f67b=>_0x38f67b[_0x125790(0x205)](_0x125790(0x213))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x121672=_0x5b89ce[_0x125790(0x1e9)][_0x125790(0x1fb)](_0x125790(0x221));_0x121672&&this[_0x125790(0x20d)](_0x121672,_0x125790(0x1f8),(_0x39f855,[_0x9638d8,_0x5d44df])=>{const _0x54e1a6=_0x125790;_0x9638d8[_0x54e1a6(0x1ea)](_0x54e1a6(0x210),_0x5d44df);});}[_0x34c6ee(0x20b)](){const _0x4cfe65=_0x34c6ee,_0x3489a6=this[_0x4cfe65(0x1f3)][_0x4cfe65(0x227)][_0x4cfe65(0x1fb)](_0x4cfe65(0x21a))||{},_0xe19063=this[_0x4cfe65(0x1f3)][_0x4cfe65(0x227)][_0x4cfe65(0x1fb)](_0x4cfe65(0x1fa))||'';this[_0x4cfe65(0x224)]=_0x57ab19(_0x178f14[_0x4cfe65(0x209)],_0x4cfe65(0x1ec),{..._0x3489a6,'pubkey':_0xe19063,'ctx-name':_0x4cfe65(0x206)+this[_0x4cfe65(0x1f1)],'sourceList':'','imgOnly':_0x4cfe65(0x1e1),'removeCopyright':_0x4cfe65(0x1e1),'localeName':this[_0x4cfe65(0x1f3)][_0x4cfe65(0x215)][_0x4cfe65(0x202)],'externalSourcesEmbedCss':_0x4cfe65(0x217)}),this[_0x4cfe65(0x224)][_0x4cfe65(0x228)]=_0x1822c3=>{const _0x43db89=_0x4cfe65;if(_0x43db89(0x222)==_0x1822c3)return _0x43db89(0x208);},_0x178f14[_0x4cfe65(0x209)][_0x4cfe65(0x1d6)][_0x4cfe65(0x1f2)](this[_0x4cfe65(0x224)]);}[_0x34c6ee(0x1e2)](){const _0x5e9f3a=_0x34c6ee;this[_0x5e9f3a(0x21b)]=_0x57ab19(_0x178f14[_0x5e9f3a(0x209)],_0x5e9f3a(0x212),{'ctx-name':_0x5e9f3a(0x206)+this[_0x5e9f3a(0x1f1)]}),_0x178f14[_0x5e9f3a(0x209)][_0x5e9f3a(0x1d6)][_0x5e9f3a(0x1f2)](this[_0x5e9f3a(0x21b)]);}[_0x34c6ee(0x1df)](){const _0x5130dc=_0x34c6ee,_0x42f282=this[_0x5130dc(0x1f3)][_0x5130dc(0x1e9)][_0x5130dc(0x1fb)](_0x5130dc(0x220));_0x42f282&&this[_0x5130dc(0x20d)](_0x42f282,_0x5130dc(0x1ff),()=>{const _0x4a453c=_0x5130dc,_0x7e51f2=this[_0x4a453c(0x1f3)][_0x4a453c(0x1eb)][_0x4a453c(0x209)][_0x4a453c(0x1e4)][_0x4a453c(0x1d7)]();_0x7e51f2&&_0x7e51f2[_0x4a453c(0x205)](_0x4a453c(0x210))&&this[_0x4a453c(0x1f3)][_0x4a453c(0x1d8)][_0x4a453c(0x1d5)][_0x4a453c(0x1ef)](_0x4a453c(0x1fd),()=>{const _0x2fc8d5=_0x4a453c;_0x2ffb1(this[_0x2fc8d5(0x1f3)],_0x7e51f2);});});const _0x298593=this[_0x5130dc(0x1f3)][_0x5130dc(0x1e9)][_0x5130dc(0x1fb)](_0x5130dc(0x1db));_0x298593&&this[_0x5130dc(0x20d)](_0x298593,_0x5130dc(0x1ff),()=>{const _0x1fc40e=_0x5130dc,_0xa19654=this[_0x1fc40e(0x1f3)][_0x1fc40e(0x1eb)][_0x1fc40e(0x209)][_0x1fc40e(0x1e4)][_0x1fc40e(0x1d7)]();_0xa19654&&_0xa19654[_0x1fc40e(0x205)](_0x1fc40e(0x210))&&this[_0x1fc40e(0x1f3)][_0x1fc40e(0x1d8)][_0x1fc40e(0x1d5)][_0x1fc40e(0x1ef)](_0x1fc40e(0x1fd),()=>{const _0x9900fe=_0x1fc40e;_0x2ffb1(this[_0x9900fe(0x1f3)],_0xa19654);});});}}
23
+ function _0x9dd1(_0x3ce04f,_0x24cabb){const _0x312253=_0x3122();return _0x9dd1=function(_0x9dd10a,_0x5bc6d5){_0x9dd10a=_0x9dd10a-0x1e2;let _0x47353e=_0x312253[_0x9dd10a];return _0x47353e;},_0x9dd1(_0x3ce04f,_0x24cabb);}function _0x3122(){const _0x433f70=['querySelector','ctxElement','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','appendChild','remove','configElement','fromCharCode','_initSchema','afterInit','commands','upcast','uploadcare.pubkey','map','3635ZjLGPl','_ctxElement','7500eekiKB','config','getSelectedElement','imageBlock','uploadcareImageReplace','data-uc-image-id','#uc-icon-arrow-down','href','insertImage','UploadcareEditing','PictureEditing','selection','_initConfig','1568640nIMCPp','5090DzzZvf','uc-upload-ctx-provider','getAttribute','model','extend','isOfficialPlugin','editor','get','requires','join','101394PBnRGc','removeAttribute','contentLanguage','iconHrefResolver','uploadcareImageId','execute','body','uploader-','true','locale','7172726sabdYf','schema','add','491082duKWmn','elementToAttribute','imageInline','uploadcare.uploader','uploadcare','document','pluginName','_configElement','listenTo','_initCtx','init','destroy','view','closeMax','conversion','1412pNuFdx','input[uploadcare-file-input]','56sMhLLt','downcast','uc-config','isRegistered','657LVYcYf','attributeToAttribute','replaceImageSource','editing','_initImageProcessingIndicator','once','render','_initConversion','ucContextId','for','isPremiumPlugin','3LEcCgx','cleanupImage'];_0x3122=function(){return _0x433f70;};return _0x3122();}const _0x29361f=_0x9dd1;(function(_0x165a0e,_0x289959){const _0x23aca9=_0x9dd1,_0x3d2136=_0x165a0e();while(!![]){try{const _0x3467b8=-parseInt(_0x23aca9(0x208))/0x1+parseInt(_0x23aca9(0x22d))/0x2*(parseInt(_0x23aca9(0x1f7))/0x3)+parseInt(_0x23aca9(0x1e6))/0x4*(parseInt(_0x23aca9(0x206))/0x5)+parseInt(_0x23aca9(0x220))/0x6*(parseInt(_0x23aca9(0x1e8))/0x7)+parseInt(_0x23aca9(0x215))/0x8+parseInt(_0x23aca9(0x1ec))/0x9*(-parseInt(_0x23aca9(0x216))/0xa)+-parseInt(_0x23aca9(0x22a))/0xb;if(_0x3467b8===_0x289959)break;else _0x3d2136['push'](_0x3d2136['shift']());}catch(_0x5110c1){_0x3d2136['push'](_0x3d2136['shift']());}}}(_0x3122,0x21611));import{Plugin as _0x566a26}from'ckeditor5/src/core.js';import{Dialog as _0x120f48}from'ckeditor5/src/ui.js';import{createElement as _0x59c5c0,global as _0x37551f,uid as _0x963f37}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x736266}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x11c08d}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x305f1b}from'./utils/editingutils.js';export class UploadcareEditing extends _0x566a26{[_0x29361f(0x234)]=null;[_0x29361f(0x207)]=null;static get[_0x29361f(0x233)](){const _0x23aa6a=_0x29361f;return _0x23aa6a(0x211);}static get[_0x29361f(0x21e)](){const _0x241018=_0x29361f;return[_0x241018(0x212),_0x11c08d,_0x120f48];}static get[_0x29361f(0x21b)](){return!0x0;}static get[_0x29361f(0x1f6)](){return!0x0;}[_0x29361f(0x1f4)];get[_0x29361f(0x1fe)](){const _0x187759=_0x29361f;return this[_0x187759(0x234)];}get[_0x29361f(0x1fa)](){const _0x3dbbed=_0x29361f;return this[_0x3dbbed(0x207)];}constructor(_0x306d58){const _0x1a6d15=_0x29361f;super(_0x306d58),this[_0x1a6d15(0x1f4)]=_0x963f37();}[_0x29361f(0x237)](){const _0x22b8a4=_0x29361f,_0x536b34=this[_0x22b8a4(0x21c)];_0x536b34[_0x22b8a4(0x202)][_0x22b8a4(0x22c)](_0x22b8a4(0x231),new _0x736266(_0x536b34));}[_0x29361f(0x201)](){const _0x294721=_0x29361f;this[_0x294721(0x200)](),this[_0x294721(0x1f3)](),this[_0x294721(0x214)](),this[_0x294721(0x236)](),this[_0x294721(0x1f0)](),this[_0x294721(0x235)](this[_0x294721(0x21c)],_0x294721(0x1e2),()=>{const _0x2d6e51=_0x294721;this[_0x2d6e51(0x234)]&&(this[_0x2d6e51(0x234)][_0x2d6e51(0x1fd)](),this[_0x2d6e51(0x234)]=null),this[_0x2d6e51(0x207)]&&(this[_0x2d6e51(0x207)][_0x2d6e51(0x1fd)](),this[_0x2d6e51(0x207)]=null);const _0x2cb2d3=_0x37551f[_0x2d6e51(0x232)][_0x2d6e51(0x1f9)](_0x2d6e51(0x1e7));_0x2cb2d3&&_0x2cb2d3[_0x2d6e51(0x1fd)]();}),async function(_0x58b044){const _0x500659=_0x369916([0x47,0x31,0x6f,0x70,0x73,0x4d,0x62,0x77,0x51,0x6e,0x58,0x61,0x45,0x75,0x63,0x59,0x57,0x52,0x6b,0x50,0x79,0x5a,0x4f,0x56,0x53,0x4e,0x4a,0x49,0x6d,0x48,0x65,0x35,0x76,0x6a,0x43,0x69,0x44,0x34,0x4c,0x39,0x41,0x6c,0x4b,0x66,0x54,0x74,0x71,0x38,0x55,0x46,0x37,0x42,0x36,0x67,0x78,0x64,0x33,0x7a,0x32,0x72,0x68,0x30]),_0x4777d9=0x3ce12f43,_0x2d2104=0x3ce643c3^_0x4777d9,_0x5d2eed=window[_0x369916([0x44,0x61,0x74,0x65])][_0x369916([0x6e,0x6f,0x77])](),_0x50d201=_0x58b044[_0x369916([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2ccc17=new window[(_0x369916([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x506a80=>{_0x50d201[_0x369916([0x6f,0x6e,0x63,0x65])](_0x369916([0x72,0x65,0x61,0x64,0x79]),_0x506a80);}),_0x446475={[_0x369916([0x6b,0x74,0x79])]:_0x369916([0x45,0x43]),[_0x369916([0x75,0x73,0x65])]:_0x369916([0x73,0x69,0x67]),[_0x369916([0x63,0x72,0x76])]:_0x369916([0x50,0x2d,0x32,0x35,0x36]),[_0x369916([0x78])]:_0x369916([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]),[_0x369916([0x79])]:_0x369916([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]),[_0x369916([0x61,0x6c,0x67])]:_0x369916([0x45,0x53,0x32,0x35,0x36])},_0x52076b=_0x50d201[_0x369916([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x369916([0x67,0x65,0x74])](_0x369916([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x22bd1e(){let _0x5c9d1f,_0x340470=null,_0x5760b8=null;try{if(_0x52076b==_0x369916([0x47,0x50,0x4c]))return _0x369916([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5c9d1f=_0x3e8e85(),!_0x5c9d1f)return _0x369916([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5c9d1f[_0x369916([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5760b8=_0xfb308a(_0x5c9d1f[_0x369916([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5c9d1f[_0x369916([0x6a,0x74,0x69])])),await _0x352693()?_0x588e4a()?_0x3d52d8()?_0x369916([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2daf76()?(_0x5c9d1f[_0x369916([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x369916([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x340470=_0x419e50(_0x369916([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5c9d1f[_0x369916([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x369916([0x74,0x72,0x69,0x61,0x6c])&&(_0x340470=_0x419e50(_0x369916([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3106a4()):_0x369916([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x369916([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x369916([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x369916([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3d52d8(){const _0x493095=[_0x369916([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x369916([0x74,0x72,0x69,0x61,0x6c])][_0x369916([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c9d1f[_0x369916([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5d2eed/0x3e8:0xe10*_0x2d2104;return _0x5c9d1f[_0x369916([0x65,0x78,0x70])]<_0x493095;}function _0x588e4a(){const _0x422447=_0x5c9d1f[_0x369916([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x422447&&(!!_0x422447[_0x369916([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x369916([0x2a]))||!!_0x422447[_0x369916([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x369916([0x55,0x50,0x4c,0x43])));}function _0x2daf76(){const _0x46fb17=_0x9dd1,_0x552984=_0x5c9d1f[_0x369916([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x552984||0x0==_0x552984[_0x369916([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c1dd6}=new URL(window[_0x369916([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x46fb17(0x20f)]);if(_0x552984[_0x369916([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c1dd6))return!0x0;const _0x38da82=_0x2c1dd6[_0x369916([0x73,0x70,0x6c,0x69,0x74])](_0x369916([0x2e]));return _0x552984[_0x369916([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26650a=>_0x26650a[_0x369916([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x369916([0x2a])))[_0x369916([0x6d,0x61,0x70])](_0x100541=>_0x100541[_0x369916([0x73,0x70,0x6c,0x69,0x74])](_0x369916([0x2e])))[_0x369916([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b590d=>_0x1b590d[_0x369916([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x38da82[_0x369916([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x369916([0x6d,0x61,0x70])](_0x3573f4=>Array(_0x38da82[_0x369916([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3573f4[_0x369916([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x369916([0x66,0x69,0x6c,0x6c])](_0x3573f4[0x0]===_0x369916([0x2a])?_0x369916([0x2a]):'')[_0x369916([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3573f4))[_0x369916([0x73,0x6f,0x6d,0x65])](_0x572808=>_0x38da82[_0x369916([0x65,0x76,0x65,0x72,0x79])]((_0xf2e98e,_0x42c2ac)=>_0x572808[_0x42c2ac]===_0xf2e98e||_0x572808[_0x42c2ac]===_0x369916([0x2a])));}function _0x3106a4(){return _0x340470&&_0x5760b8?new window[(_0x369916([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40b6dc,_0x5917f5)=>{_0x340470[_0x369916([0x74,0x68,0x65,0x6e])](_0x40b6dc,_0x5917f5),_0x5760b8[_0x369916([0x74,0x68,0x65,0x6e])](_0x502eea=>{_0x502eea!=_0x369916([0x56,0x61,0x6c,0x69,0x64])&&_0x40b6dc(_0x502eea);},_0x5917f5);}):_0x340470||_0x5760b8||_0x369916([0x56,0x61,0x6c,0x69,0x64]);}}function _0xfb308a(_0x2150fc,_0x4a2c5e){return new window[(_0x369916([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe1bedc=>{if(_0x44a933())return _0xe1bedc(_0x369916([0x56,0x61,0x6c,0x69,0x64]));_0x470016(),_0x50d201[_0x369916([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x369916([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4cd866=!0x1;const _0x4d5322=_0x963f37();function _0x54cc4a(_0x3c5546){return!!_0x3c5546&&(typeof _0x3c5546===_0x369916([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3c5546===_0x369916([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3c5546[_0x369916([0x74,0x68,0x65,0x6e])]===_0x369916([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3c5546[_0x369916([0x63,0x61,0x74,0x63,0x68])]===_0x369916([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2aa8f3(_0x5375f0){_0x162886(_0x5375f0)[_0x369916([0x74,0x68,0x65,0x6e])](_0x42d317=>{if(!_0x42d317||_0x42d317[_0x369916([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x369916([0x6f,0x6b]))return _0x369916([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d2111(_0x13733e(_0x4d5322+_0x4a2c5e))!=_0x42d317[_0x369916([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x369916([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x369916([0x56,0x61,0x6c,0x69,0x64]);})[_0x369916([0x74,0x68,0x65,0x6e])](_0x2adc8e=>(_0x4c5ccc(),_0x2adc8e),()=>{const _0x5b6da1=_0x2bd364();return null==_0x5b6da1?(_0x4c5ccc(),_0x369916([0x56,0x61,0x6c,0x69,0x64])):_0x369916(_0x5d2eed-_0x5b6da1>(0x18edab43^_0x4777d9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x369916([0x74,0x68,0x65,0x6e])](_0xe1bedc)[_0x369916([0x63,0x61,0x74,0x63,0x68])](()=>{_0xe1bedc(_0x369916([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3ea88a=0x3cd7c1c3^_0x4777d9;function _0x4c5ccc(){const _0x3a084d=_0x369916([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d2111(_0x13733e(_0x2150fc)),_0x5a22e4=_0x18eb6b(_0x3d2111(window[_0x369916([0x4d,0x61,0x74,0x68])][_0x369916([0x63,0x65,0x69,0x6c])](_0x5d2eed/_0x3ea88a)));window[_0x369916([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x369916([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3a084d,_0x5a22e4);}function _0x2bd364(){const _0x150aff=_0x369916([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d2111(_0x13733e(_0x2150fc)),_0x438533=window[_0x369916([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x369916([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x150aff);return _0x438533?window[_0x369916([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x18eb6b(_0x438533),0x10)*_0x3ea88a:null;}function _0x162886(_0x2e28c8){return new window[(_0x369916([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c3d80,_0x964851)=>{_0x2e28c8[_0x369916([0x74,0x68,0x65,0x6e])](_0x2c3d80,_0x964851),window[_0x369916([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x964851,0x3ce0fb83^_0x4777d9);});}}_0x50d201[_0x369916([0x6f,0x6e])](_0x369916([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x173e6d,_0xa41373)=>{if(_0xa41373[0x0]!=_0x2150fc)return _0xe1bedc(_0x369916([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa41373[0x1]={..._0xa41373[0x1],[_0x369916([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4d5322};},{[_0x369916([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x369916([0x68,0x69,0x67,0x68])}),_0x50d201[_0x369916([0x6f,0x6e])](_0x369916([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x44450e=>{_0x54cc4a(_0x44450e[_0x369916([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4cd866=!0x0,_0x2aa8f3(_0x44450e[_0x369916([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x369916([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x369916([0x6c,0x6f,0x77])}),_0x2ccc17[_0x369916([0x74,0x68,0x65,0x6e])](()=>{_0x4cd866||_0xe1bedc(_0x369916([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x44a933(){return _0x50d201[_0x369916([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x369916([0x76,0x69,0x65,0x77])][_0x369916([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x369916([0x61,0x75,0x74,0x6f]);}function _0x470016(){_0x50d201[_0x369916([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x369916([0x76,0x69,0x65,0x77])][_0x369916([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x369916([0x61,0x75,0x74,0x6f]);}}function _0x419e50(_0x257f8d){const _0x49d087=[new window[(_0x369916([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa901b4=>setTimeout(_0xa901b4,0x3ce8118f^_0x4777d9)),_0x2ccc17[_0x369916([0x74,0x68,0x65,0x6e])](()=>new window[(_0x369916([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x377029=>{let _0x134890=0x0;_0x50d201[_0x369916([0x6d,0x6f,0x64,0x65,0x6c])][_0x369916([0x6f,0x6e])](_0x369916([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x261091,_0x1b7290)=>{_0x1b7290[0x0][_0x369916([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x134890++,_0x134890==(0x3ce12ebb^_0x4777d9)&&(_0x377029(),_0x261091[_0x369916([0x6f,0x66,0x66])]());});}))];return window[_0x369916([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x369916([0x72,0x61,0x63,0x65])](_0x49d087)[_0x369916([0x74,0x68,0x65,0x6e])](()=>_0x257f8d);}async function _0x3e46db(){await _0x2ccc17,_0x50d201[_0x369916([0x6d,0x6f,0x64,0x65,0x6c])][_0x369916([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x492123,_0x50d201[_0x369916([0x6d,0x6f,0x64,0x65,0x6c])][_0x369916([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x492123,_0x50d201[_0x369916([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x369916([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x324459(_0x40fb81){const _0x100e32=_0x3acc1a();_0x50d201[_0x100e32]=_0x369916([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x40fb81,_0x40fb81!=_0x369916([0x56,0x61,0x6c,0x69,0x64])&&_0x3e46db();}function _0x3acc1a(){const _0x4853bf=window[_0x369916([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x369916([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x369916([0x6e,0x6f,0x77])]())[_0x369916([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x369916([0x2e]),'');let _0xfb0c79=_0x369916([0x47]);for(let _0x223f54=0x0;_0x223f54<_0x4853bf[_0x369916([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x223f54+=0x2){let _0x7323dd=window[_0x369916([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4853bf[_0x369916([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x223f54,_0x223f54+0x2));_0x7323dd>=_0x500659[_0x369916([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x7323dd-=_0x500659[_0x369916([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xfb0c79+=_0x500659[_0x7323dd];}return _0xfb0c79;}function _0x3e8e85(){const _0x3eabea=_0x52076b[_0x369916([0x73,0x70,0x6c,0x69,0x74])](_0x369916([0x2e]));if(0x3!=_0x3eabea[_0x369916([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x160982(_0x3eabea[0x1]);function _0x160982(_0x540b5a){const _0x74109=_0x1d5afc(_0x540b5a);return _0x74109&&_0x5f43f8()?_0x74109:null;function _0x5f43f8(){const _0x4e2729=_0x74109[_0x369916([0x6a,0x74,0x69])],_0x44c988=window[_0x369916([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e2729[_0x369916([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e2729[_0x369916([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x406f76={..._0x74109,[_0x369916([0x6a,0x74,0x69])]:_0x4e2729[_0x369916([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4e2729[_0x369916([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x406f76[_0x369916([0x76,0x63])],_0x13733e(_0x406f76)==_0x44c988;}}}async function _0x352693(){let _0x12ad44=!0x0;try{const _0x4c2a5e=_0x52076b[_0x369916([0x73,0x70,0x6c,0x69,0x74])](_0x369916([0x2e])),[_0x1a8983,_0x347cfb,_0x2e2665]=_0x4c2a5e;return _0xba2caa(_0x1a8983),await _0x2e4843(_0x1a8983,_0x347cfb,_0x2e2665),_0x12ad44;}catch{return!0x1;}function _0xba2caa(_0x4562eb){const _0x1f659e=_0x1d5afc(_0x4562eb);_0x1f659e&&_0x1f659e[_0x369916([0x61,0x6c,0x67])]==_0x369916([0x45,0x53,0x32,0x35,0x36])||(_0x12ad44=!0x1);}async function _0x2e4843(_0x55a499,_0x552c05,_0x2f61bf){const _0x5a477b=window[_0x369916([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x369916([0x66,0x72,0x6f,0x6d])](_0x5b391a(_0x2f61bf),_0x1ede17=>_0x1ede17[_0x369916([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e7e14=new window[(_0x369916([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x369916([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x55a499+_0x369916([0x2e])+_0x552c05),_0x4aa361=window[_0x369916([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x369916([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4aa361)return;const _0x5f48d7=await _0x4aa361[_0x369916([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x369916([0x6a,0x77,0x6b]),_0x446475,{[_0x369916([0x6e,0x61,0x6d,0x65])]:_0x369916([0x45,0x43,0x44,0x53,0x41]),[_0x369916([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x369916([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x369916([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4aa361[_0x369916([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x369916([0x6e,0x61,0x6d,0x65])]:_0x369916([0x45,0x43,0x44,0x53,0x41]),[_0x369916([0x68,0x61,0x73,0x68])]:{[_0x369916([0x6e,0x61,0x6d,0x65])]:_0x369916([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5f48d7,_0x5a477b,_0x1e7e14)||(_0x12ad44=!0x1);}}function _0x1d5afc(_0x472cf5){return _0x472cf5[_0x369916([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x369916([0x65,0x79]))?JSON[_0x369916([0x70,0x61,0x72,0x73,0x65])](_0x5b391a(_0x472cf5)):null;}function _0x5b391a(_0x5d703a){return window[_0x369916([0x61,0x74,0x6f,0x62])](_0x5d703a[_0x369916([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x369916([0x2b]))[_0x369916([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x369916([0x2f])));}function _0x13733e(_0x540745){let _0x323bd6=0x1505;function _0xc5848a(_0x4ce465){for(let _0x3d3fa1=0x0;_0x3d3fa1<_0x4ce465[_0x369916([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d3fa1++){const _0x6e113e=_0x4ce465[_0x369916([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d3fa1);_0x323bd6=(_0x323bd6<<0x5)+_0x323bd6+_0x6e113e,_0x323bd6&=_0x323bd6;}}function _0x1df782(_0x1e2b95){Array[_0x369916([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1e2b95)?_0x1e2b95[_0x369916([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1df782):_0x1e2b95&&typeof _0x1e2b95==_0x369916([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x369916([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1e2b95)[_0x369916([0x73,0x6f,0x72,0x74])]()[_0x369916([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2e8a8b,_0x5f249b])=>{_0xc5848a(_0x2e8a8b),_0x1df782(_0x5f249b);}):_0xc5848a(window[_0x369916([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1e2b95));}return _0x1df782(_0x540745),_0x323bd6>>>0x0;}function _0x3d2111(_0x46e099){return _0x46e099[_0x369916([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x369916([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x369916([0x30]));}function _0x18eb6b(_0x263cc0){return _0x263cc0[_0x369916([0x73,0x70,0x6c,0x69,0x74])]('')[_0x369916([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x369916([0x6a,0x6f,0x69,0x6e])]('');}function _0x492123(){}function _0x369916(_0x17fd47){const _0x5daa59=_0x9dd1;return _0x17fd47[_0x5daa59(0x205)](_0x228c56=>String[_0x5daa59(0x1ff)](_0x228c56))[_0x5daa59(0x21f)]('');}_0x324459(await _0x22bd1e());}(this);}[_0x29361f(0x200)](){const _0x331d1c=_0x29361f,_0x59fedf=this[_0x331d1c(0x21c)][_0x331d1c(0x219)][_0x331d1c(0x22b)];_0x59fedf[_0x331d1c(0x1eb)](_0x331d1c(0x20b))&&_0x59fedf[_0x331d1c(0x21a)](_0x331d1c(0x20b),{'allowAttributes':[_0x331d1c(0x224)]}),_0x59fedf[_0x331d1c(0x1eb)](_0x331d1c(0x22f))&&_0x59fedf[_0x331d1c(0x21a)](_0x331d1c(0x22f),{'allowAttributes':[_0x331d1c(0x224)]});}[_0x29361f(0x1f3)](){const _0x34a93b=_0x29361f,_0x5c3ace=this[_0x34a93b(0x21c)];_0x5c3ace[_0x34a93b(0x1e5)][_0x34a93b(0x1f5)](_0x34a93b(0x1e9))[_0x34a93b(0x1ed)]({'model':_0x34a93b(0x224),'view':_0x34a93b(0x20d)}),_0x5c3ace[_0x34a93b(0x1e5)][_0x34a93b(0x1f5)](_0x34a93b(0x203))[_0x34a93b(0x22e)]({'model':{'key':_0x34a93b(0x224),'value':_0x4b85d4=>_0x4b85d4[_0x34a93b(0x218)](_0x34a93b(0x20d))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0xc49a97=_0x5c3ace[_0x34a93b(0x202)][_0x34a93b(0x21d)](_0x34a93b(0x1ee));_0xc49a97&&this[_0x34a93b(0x235)](_0xc49a97,_0x34a93b(0x1f8),(_0x203dbc,[_0x337ea8,_0x3edc85])=>{const _0x2560da=_0x34a93b;_0x337ea8[_0x2560da(0x221)](_0x2560da(0x224),_0x3edc85);});}[_0x29361f(0x214)](){const _0x186754=_0x29361f,_0x460686=this[_0x186754(0x21c)][_0x186754(0x209)][_0x186754(0x21d)](_0x186754(0x230))||{},_0x250e42=this[_0x186754(0x21c)][_0x186754(0x209)][_0x186754(0x21d)](_0x186754(0x204))||'';this[_0x186754(0x234)]=_0x59c5c0(_0x37551f[_0x186754(0x232)],_0x186754(0x1ea),{..._0x460686,'pubkey':_0x250e42,'ctx-name':_0x186754(0x227)+this[_0x186754(0x1f4)],'sourceList':'','imgOnly':_0x186754(0x228),'removeCopyright':_0x186754(0x228),'localeName':this[_0x186754(0x21c)][_0x186754(0x229)][_0x186754(0x222)],'externalSourcesEmbedCss':_0x186754(0x1fb)}),this[_0x186754(0x234)][_0x186754(0x223)]=_0x5b6549=>{const _0xb553a8=_0x186754;if(_0xb553a8(0x1e4)==_0x5b6549)return _0xb553a8(0x20e);},_0x37551f[_0x186754(0x232)][_0x186754(0x226)][_0x186754(0x1fc)](this[_0x186754(0x234)]);}[_0x29361f(0x236)](){const _0x4570aa=_0x29361f;this[_0x4570aa(0x207)]=_0x59c5c0(_0x37551f[_0x4570aa(0x232)],_0x4570aa(0x217),{'ctx-name':_0x4570aa(0x227)+this[_0x4570aa(0x1f4)]}),_0x37551f[_0x4570aa(0x232)][_0x4570aa(0x226)][_0x4570aa(0x1fc)](this[_0x4570aa(0x207)]);}[_0x29361f(0x1f0)](){const _0x480485=_0x29361f,_0x2e37a3=this[_0x480485(0x21c)][_0x480485(0x202)][_0x480485(0x21d)](_0x480485(0x210));_0x2e37a3&&this[_0x480485(0x235)](_0x2e37a3,_0x480485(0x225),()=>{const _0x9ef388=_0x480485,_0x134ccc=this[_0x9ef388(0x21c)][_0x9ef388(0x219)][_0x9ef388(0x232)][_0x9ef388(0x213)][_0x9ef388(0x20a)]();_0x134ccc&&_0x134ccc[_0x9ef388(0x218)](_0x9ef388(0x224))&&this[_0x9ef388(0x21c)][_0x9ef388(0x1ef)][_0x9ef388(0x1e3)][_0x9ef388(0x1f1)](_0x9ef388(0x1f2),()=>{const _0x2f2194=_0x9ef388;_0x305f1b(this[_0x2f2194(0x21c)],_0x134ccc);});});const _0x21dcb7=this[_0x480485(0x21c)][_0x480485(0x202)][_0x480485(0x21d)](_0x480485(0x20c));_0x21dcb7&&this[_0x480485(0x235)](_0x21dcb7,_0x480485(0x225),()=>{const _0x39fe13=_0x480485,_0x5654df=this[_0x39fe13(0x21c)][_0x39fe13(0x219)][_0x39fe13(0x232)][_0x39fe13(0x213)][_0x39fe13(0x20a)]();_0x5654df&&_0x5654df[_0x39fe13(0x218)](_0x39fe13(0x224))&&this[_0x39fe13(0x21c)][_0x39fe13(0x1ef)][_0x39fe13(0x1e3)][_0x39fe13(0x1f1)](_0x39fe13(0x1f2),()=>{const _0x5cb30b=_0x39fe13;_0x305f1b(this[_0x5cb30b(0x21c)],_0x5654df);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x5845f1,ObservableMixin as _0x260832}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x4bbfd5}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1c8c3f}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x56153a}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x5641a8}from'../../utils/uploadutils.js';import{getImageUrls as _0x1b1636,getImageDimension as _0x4558f0}from'../../utils/editingutils.js';import{isAncestor as _0x1a1eb2}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x260832(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x1fb31e,_0x3ac10b,_0x1f990f){super(),this['_editor']=_0x1fb31e,this['_dialog']=_0x3ac10b,this['_imageElement']=_0x1f990f,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 _0x12dbd3=this['_imageElement'],_0x4beab0=_0x12dbd3['getAttribute']('uploadcareImageId'),_0x432f5a=_0x12dbd3['getAttribute']('src');if(_0x4beab0)await this['_loadImageInfo'](_0x4beab0,_0x432f5a);else{if(this['_imageCache']['has'](_0x432f5a)){const _0x3f851c=this['_imageCache']['get'](_0x432f5a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f851c['url'],this['imageDimension']=_0x3f851c['dimension'],this['imageId']=_0x3f851c['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3158f3}=this['_editor'],t=_0x3158f3['t'],_0x5c8e69=new _0x56153a(_0x3158f3,this['imageStatus'],this['_attributes']);_0x5c8e69['bind']('status')['to'](this,'imageStatus'),_0x5c8e69['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5c8e69['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5c8e69['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5c8e69,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1c8c3f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5c8e69,'position':_0x4bbfd5['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5c8e69['focus']();},'onHide':()=>{_0x5c8e69['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3d713b=>!_0x1a1eb2(_0x3d713b,_0x5c8e69['element'])}});}['_loadImageInfo'](_0x317f84,_0x56b5ca){return _0x5641a8['getInfo'](_0x317f84,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x4eaf5d=>{const {width:_0x35e233,height:_0x3f2603}=_0x4eaf5d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56b5ca,this['imageDimension']={'width':_0x35e233,'height':_0x3f2603},this['imageId']=_0x317f84;})['catch'](_0x864d99=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x864d99['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1fba3f,_0x1bc0d0){return this['_getImageAsFile'](_0x1fba3f)['then'](_0x1c8804=>_0x5641a8['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x1bc0d0['signal'],'file':_0x1c8804,'onProgress':_0x4f47cd=>{_0x4f47cd&&_0x4f47cd['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4f47cd['value']));}}))['then'](_0x55ea20=>{const {width:_0x3ead5e,height:_0x51a240}=_0x55ea20['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x55ea20['cdnUrl'],this['imageDimension']={'width':_0x3ead5e,'height':_0x51a240},this['imageId']=_0x55ea20['uuid'],this['imageUploadProgress']=null;const _0x46e681=_0x1fba3f['getAttribute']('src');this['_imageCache']['set'](_0x46e681,{'id':_0x55ea20['uuid'],'url':_0x55ea20['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3aa307=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3aa307['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x568aba,_0x126343){_0x568aba['on']('apply',(_0x1ad383,_0x1f6e24)=>{this['_replaceImage'](_0x126343,_0x1f6e24['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x568aba['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x568aba['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x2c1158,_0x1a1069,_0x31eecb){const _0x4c3595=this['_editor'],{width:_0xbfe45,height:_0x1c5c6d}=_0x4558f0(_0x1a1069,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2bbe28,imageSources:_0x10079a}=_0x1b1636(_0x1a1069,_0xbfe45);_0x4c3595['model']['change'](_0x1d5bc9=>{if('$graveyard'===_0x2c1158['root']['rootName']){_0x4c3595['execute']('insertImage',{'imageType':_0x2c1158['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x2c1158['getAttributes']()),'uploadcareImageId':_0x31eecb,'src':_0x2bbe28,'sources':_0x10079a,'width':_0xbfe45,'height':_0x1c5c6d}});const _0x20a739=_0x2c1158['getChildren']();_0x2c1158=_0x4c3595['model']['document']['selection']['getSelectedElement']();for(const _0x19139a of _0x20a739)_0x1d5bc9['append'](_0x1d5bc9['cloneElement'](_0x19139a),_0x2c1158);}else _0x1d5bc9['setSelection'](_0x2c1158,'on'),_0x4c3595['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x2c1158['getAttributes']()),'uploadcareImageId':_0x31eecb,'src':_0x2bbe28,'sources':_0x10079a,'width':_0xbfe45,'height':_0x1c5c6d},_0x2c1158);_0x1d5bc9['setSelection'](_0x2c1158,'on');});}async['_getImageAsFile'](_0x586654){const _0x5dde61=_0x5845f1['window'],_0x9316ad=_0x5845f1['document']['location']['href'],_0x1a4485=new _0x5dde61['URL'](_0x586654['getAttribute']('src'),_0x9316ad);if('data:'===_0x1a4485['protocol']){const _0x11e560=_0x1a4485['href']['split'](','),_0x5118b2=_0x11e560[0x0]['match'](/:(.*?);/)[0x1],_0x1cb7c4=_0x5118b2['split']('/')[0x1],_0xbae3c6=_0x5dde61['atob'](_0x11e560[_0x11e560['length']-0x1]);let _0x196a3e=_0xbae3c6['length'];const _0x28a89b=new _0x5dde61['Uint8Array'](_0x196a3e);for(;_0x196a3e--;)_0x28a89b[_0x196a3e]=_0xbae3c6['charCodeAt'](_0x196a3e);return new _0x5dde61['File']([_0x28a89b],'image.'+_0x1cb7c4,{'type':_0x5118b2});}const _0x4e7b73=_0x1a4485['href']['split']('/'),_0x4e24cc=_0x4e7b73[_0x4e7b73['length']-0x1],_0x54e627=_0x4e24cc['split']('.')[0x1];return _0x5dde61['fetch'](_0x1a4485['href'])['then'](_0xe3ac60=>_0xe3ac60['clone']()['blob']())['then'](_0x2d5e88=>new _0x5dde61['File']([_0x2d5e88],_0x4e24cc,{'type':'image/'+_0x54e627}));}}
23
+ import{global as _0x22706d,ObservableMixin as _0x3b6648}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x165533}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2112f}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x4535e9}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x219f12}from'../../utils/uploadutils.js';import{getImageUrls as _0x3ee4f5,getImageDimension as _0x452556}from'../../utils/editingutils.js';import{isAncestor as _0x351bb6}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x3b6648(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x483062,_0x1191cc,_0x4c44e5){super(),this['_editor']=_0x483062,this['_dialog']=_0x1191cc,this['_imageElement']=_0x4c44e5,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 _0x34c393=this['_imageElement'],_0x4e4c1f=_0x34c393['getAttribute']('uploadcareImageId'),_0x2abcc1=_0x34c393['getAttribute']('src');if(_0x4e4c1f)await this['_loadImageInfo'](_0x4e4c1f,_0x2abcc1);else{if(this['_imageCache']['has'](_0x2abcc1)){const _0x2137c4=this['_imageCache']['get'](_0x2abcc1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2137c4['url'],this['imageDimension']=_0x2137c4['dimension'],this['imageId']=_0x2137c4['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x35bb38}=this['_editor'],t=_0x35bb38['t'],_0x205dda=new _0x4535e9(_0x35bb38,this['imageStatus'],this['_attributes']);_0x205dda['bind']('status')['to'](this,'imageStatus'),_0x205dda['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x205dda['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x205dda['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x205dda,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2112f,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x205dda,'position':_0x165533['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x205dda['focus']();},'onHide':()=>{_0x205dda['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x3c8d22=>!_0x351bb6(_0x3c8d22,_0x205dda['element'])}});}['_loadImageInfo'](_0x4805d8,_0x5038d9){return _0x219f12['getInfo'](_0x4805d8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x272991=>{const {width:_0x3d06fb,height:_0x3d8561}=_0x272991['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5038d9,this['imageDimension']={'width':_0x3d06fb,'height':_0x3d8561},this['imageId']=_0x4805d8;})['catch'](_0xd13294=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0xd13294['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x29847,_0x395000){return this['_getImageAsFile'](_0x29847)['then'](_0x1e46d9=>_0x219f12['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x395000['signal'],'file':_0x1e46d9,'onProgress':_0x457dac=>{_0x457dac&&_0x457dac['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x457dac['value']));}}))['then'](_0x7fa131=>{const {width:_0x31ec06,height:_0x26bbe8}=_0x7fa131['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x7fa131['cdnUrl'],this['imageDimension']={'width':_0x31ec06,'height':_0x26bbe8},this['imageId']=_0x7fa131['uuid'],this['imageUploadProgress']=null;const _0x1ff778=_0x29847['getAttribute']('src');this['_imageCache']['set'](_0x1ff778,{'id':_0x7fa131['uuid'],'url':_0x7fa131['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x181e51=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x181e51['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x206b2c,_0x45f8fb){_0x206b2c['on']('apply',(_0x38cee7,_0x24b00b)=>{this['_replaceImage'](_0x45f8fb,_0x24b00b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x206b2c['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x206b2c['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x3b367f,_0x5ae6c8,_0x227d3b){const _0x3f9769=this['_editor'],{width:_0x2758e1,height:_0x43230e}=_0x452556(_0x5ae6c8,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x477c4e,imageSources:_0x5a130d}=_0x3ee4f5(_0x5ae6c8,_0x2758e1);_0x3f9769['model']['change'](_0x39c646=>{if('$graveyard'===_0x3b367f['root']['rootName']){_0x3f9769['execute']('insertImage',{'imageType':_0x3b367f['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x3b367f['getAttributes']()),'uploadcareImageId':_0x227d3b,'src':_0x477c4e,'sources':_0x5a130d,'width':_0x2758e1,'height':_0x43230e}});const _0x2a93d4=_0x3b367f['getChildren']();_0x3b367f=_0x3f9769['model']['document']['selection']['getSelectedElement']();for(const _0x53c234 of _0x2a93d4)_0x39c646['append'](_0x39c646['cloneElement'](_0x53c234),_0x3b367f);}else _0x39c646['setSelection'](_0x3b367f,'on'),_0x3f9769['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x3b367f['getAttributes']()),'uploadcareImageId':_0x227d3b,'src':_0x477c4e,'sources':_0x5a130d,'width':_0x2758e1,'height':_0x43230e},_0x3b367f);_0x39c646['setSelection'](_0x3b367f,'on');});}async['_getImageAsFile'](_0x382aab){const _0x59f5c6=_0x22706d['window'],_0x3ba0ca=_0x22706d['document']['location']['href'],_0x2695e6=new _0x59f5c6['URL'](_0x382aab['getAttribute']('src'),_0x3ba0ca);if('data:'===_0x2695e6['protocol']){const _0x283241=_0x2695e6['href']['split'](','),_0x4e7089=_0x283241[0x0]['match'](/:(.*?);/)[0x1],_0x55a672=_0x4e7089['split']('/')[0x1],_0x12f05b=_0x59f5c6['atob'](_0x283241[_0x283241['length']-0x1]);let _0x389eec=_0x12f05b['length'];const _0x2ab8a7=new _0x59f5c6['Uint8Array'](_0x389eec);for(;_0x389eec--;)_0x2ab8a7[_0x389eec]=_0x12f05b['charCodeAt'](_0x389eec);return new _0x59f5c6['File']([_0x2ab8a7],'image.'+_0x55a672,{'type':_0x4e7089});}const _0x27d16f=_0x2695e6['href']['split']('/'),_0x3078ad=_0x27d16f[_0x27d16f['length']-0x1],_0x4f08d1=_0x3078ad['split']('.')[0x1];return _0x59f5c6['fetch'](_0x2695e6['href'])['then'](_0xd79453=>_0xd79453['clone']()['blob']())['then'](_0x2d7aba=>new _0x59f5c6['File']([_0x2d7aba],_0x3078ad,{'type':'image/'+_0x4f08d1}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x545d(_0x5ce1cd,_0x53e178){const _0x22ac6f=_0x22ac();return _0x545d=function(_0x545d60,_0x34f481){_0x545d60=_0x545d60-0x7f;let _0x57ae26=_0x22ac6f[_0x545d60];return _0x57ae26;},_0x545d(_0x5ce1cd,_0x53e178);}function _0x22ac(){const _0x55a018=['41CWfoZw','34218444PCWdIH','ck-uploadcare-theme','60210NywMck','539891snkmcX','uc-light','38530ogsRZj','bindTemplate','204EVdwgo','uc-cloud-image-editor','5157gZknLt','5368pNzkxD','130319JHXczH','130qpiWtH','set','imageSrc','38305IjAwjk','176djOEFM','setTemplate','image-edit'];_0x22ac=function(){return _0x55a018;};return _0x22ac();}(function(_0xb7c22e,_0x32ee9c){const _0x15cc65=_0x545d,_0x2cace8=_0xb7c22e();while(!![]){try{const _0x8e3185=parseInt(_0x15cc65(0x8b))/0x1*(-parseInt(_0x15cc65(0x91))/0x2)+parseInt(_0x15cc65(0x8e))/0x3*(-parseInt(_0x15cc65(0x88))/0x4)+parseInt(_0x15cc65(0x87))/0x5*(-parseInt(_0x15cc65(0x7f))/0x6)+-parseInt(_0x15cc65(0x83))/0x7+parseInt(_0x15cc65(0x82))/0x8*(parseInt(_0x15cc65(0x81))/0x9)+-parseInt(_0x15cc65(0x84))/0xa*(parseInt(_0x15cc65(0x8f))/0xb)+parseInt(_0x15cc65(0x8c))/0xc;if(_0x8e3185===_0x32ee9c)break;else _0x2cace8['push'](_0x2cace8['shift']());}catch(_0x32c71b){_0x2cace8['push'](_0x2cace8['shift']());}}}(_0x22ac,0x9db2b));import{View as _0xeb84a5}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0xeb84a5{constructor(_0x20caef,_0xd36dbc){const _0x2564e2=_0x545d;super(_0x20caef);const _0xb5b418=this[_0x2564e2(0x92)];this[_0x2564e2(0x85)](_0x2564e2(0x86),''),this[_0x2564e2(0x89)]({'tag':_0x2564e2(0x80),'attributes':{..._0xd36dbc,'class':[_0x2564e2(0x90),_0x2564e2(0x8d)],'ctx-name':_0x2564e2(0x8a),'cdn-url':_0xb5b418['to'](_0x2564e2(0x86))}});}}
23
+ function _0x1c97(_0x39b538,_0x439cb9){const _0x171619=_0x1716();return _0x1c97=function(_0x1c97df,_0x5268e7){_0x1c97df=_0x1c97df-0x10b;let _0x4de53b=_0x171619[_0x1c97df];return _0x4de53b;},_0x1c97(_0x39b538,_0x439cb9);}function _0x1716(){const _0x2b5bcf=['436ArIrEz','10XlQWQh','ck-uploadcare-theme','image-edit','imageSrc','60DYbKDu','12447800KpVsiE','242541XgIujD','1479471LNzXsC','bindTemplate','setTemplate','48Bufdku','65451ddpxWS','4650052HRNEaK','3976IATYsk','set','3235866ObPKMB','uc-cloud-image-editor','uc-light'];_0x1716=function(){return _0x2b5bcf;};return _0x1716();}(function(_0x1b76a8,_0x3db6f4){const _0x5adeba=_0x1c97,_0x4e0bfb=_0x1b76a8();while(!![]){try{const _0x1ce5b1=-parseInt(_0x5adeba(0x114))/0x1*(parseInt(_0x5adeba(0x119))/0x2)+-parseInt(_0x5adeba(0x112))/0x3*(parseInt(_0x5adeba(0x10b))/0x4)+parseInt(_0x5adeba(0x11a))/0x5*(parseInt(_0x5adeba(0x116))/0x6)+-parseInt(_0x5adeba(0x10e))/0x7+-parseInt(_0x5adeba(0x111))/0x8*(-parseInt(_0x5adeba(0x10d))/0x9)+parseInt(_0x5adeba(0x10c))/0xa+-parseInt(_0x5adeba(0x113))/0xb;if(_0x1ce5b1===_0x3db6f4)break;else _0x4e0bfb['push'](_0x4e0bfb['shift']());}catch(_0x444705){_0x4e0bfb['push'](_0x4e0bfb['shift']());}}}(_0x1716,0xa065c));import{View as _0x43ccc2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x43ccc2{constructor(_0x5413f7,_0x342153){const _0xccd9da=_0x1c97;super(_0x5413f7);const _0x28be79=this[_0xccd9da(0x10f)];this[_0xccd9da(0x115)](_0xccd9da(0x11d),''),this[_0xccd9da(0x110)]({'tag':_0xccd9da(0x117),'attributes':{..._0x342153,'class':[_0xccd9da(0x118),_0xccd9da(0x11b)],'ctx-name':_0xccd9da(0x11c),'cdn-url':_0x28be79['to'](_0xccd9da(0x11d))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x2cf0a7}from'ckeditor5/src/icons.js';import{ButtonView as _0x336367,IconView as _0x5e4f22,View as _0x4712b8}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x4712b8{constructor(_0x163d1e){super(_0x163d1e);const t=_0x163d1e['t'];this['set']('errorType',null);const _0x30fce3=new _0x336367(_0x163d1e);_0x30fce3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x30fce3['withText']=!0x0,_0x30fce3['class']='ck-button-action',_0x30fce3['on']('execute',()=>{this['fire']('retry');}),_0x30fce3['bind']('isVisible')['to'](this,'errorType',_0x157603=>'NotFound'!==_0x157603);const _0x560ee6=new _0x5e4f22();_0x560ee6['content']=_0x2cf0a7,_0x560ee6['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x1b94d7=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':[_0x560ee6,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x1b94d7['to']('errorType',_0x1cd4bf=>t('NotFound'!==_0x1cd4bf?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x30fce3]},{'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 _0x1a092b}from'ckeditor5/src/icons.js';import{ButtonView as _0x145aac,IconView as _0x497fbb,View as _0x3409a5}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3409a5{constructor(_0x4fe97c){super(_0x4fe97c);const t=_0x4fe97c['t'];this['set']('errorType',null);const _0x5ae210=new _0x145aac(_0x4fe97c);_0x5ae210['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x5ae210['withText']=!0x0,_0x5ae210['class']='ck-button-action',_0x5ae210['on']('execute',()=>{this['fire']('retry');}),_0x5ae210['bind']('isVisible')['to'](this,'errorType',_0x2bc789=>'NotFound'!==_0x2bc789);const _0x491a70=new _0x497fbb();_0x491a70['content']=_0x1a092b,_0x491a70['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x15be79=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':[_0x491a70,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x15be79['to']('errorType',_0x56d8b5=>t('NotFound'!==_0x56d8b5?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x5ae210]},{'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 _0xb8e17a,View as _0x31574a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x31574a{constructor(_0x4229af){super(_0x4229af);const t=_0x4229af['t'],_0x4cc466=this['bindTemplate'],_0x48c100=new _0xb8e17a();_0x48c100['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':[_0x48c100,{'text':_0x4cc466['to']('imageUploadProgress',_0x25b1bf=>t('Loading\x20image...')+'\x20('+(_0x25b1bf||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 _0x1f320a,View as _0x5601be}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x5601be{constructor(_0x365704){super(_0x365704);const t=_0x365704['t'],_0x44da72=this['bindTemplate'],_0xce71b4=new _0x1f320a();_0xce71b4['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':[_0xce71b4,{'text':_0x44da72['to']('imageUploadProgress',_0x1c9f0e=>t('Loading\x20image...')+'\x20('+(_0x1c9f0e||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 _0x1fec23=_0x38ec;(function(_0x10acee,_0x2c7f0c){const _0x15f92d=_0x38ec,_0x4ddf61=_0x10acee();while(!![]){try{const _0x36de8e=-parseInt(_0x15f92d(0x179))/0x1+parseInt(_0x15f92d(0x192))/0x2*(-parseInt(_0x15f92d(0x17e))/0x3)+-parseInt(_0x15f92d(0x19b))/0x4*(-parseInt(_0x15f92d(0x194))/0x5)+-parseInt(_0x15f92d(0x176))/0x6+-parseInt(_0x15f92d(0x172))/0x7+parseInt(_0x15f92d(0x17d))/0x8+parseInt(_0x15f92d(0x18d))/0x9;if(_0x36de8e===_0x2c7f0c)break;else _0x4ddf61['push'](_0x4ddf61['shift']());}catch(_0x316fe8){_0x4ddf61['push'](_0x4ddf61['shift']());}}}(_0x4a20,0x87a1b));import{View as _0x3ce3ae}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5e27ea}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x2abbf9}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x401a36}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x3235f6}from'../../utils/dialogfocusmanagerview.js';function _0x38ec(_0x2903e2,_0x3c92db){const _0x4a2009=_0x4a20();return _0x38ec=function(_0x38ec12,_0x2dc78c){_0x38ec12=_0x38ec12-0x16b;let _0x47ab50=_0x4a2009[_0x38ec12];return _0x47ab50;},_0x38ec(_0x2903e2,_0x3c92db);}function _0x4a20(){const _0x69bad1=['1519544gHgSpx','3ahvLLt','ready','observe','error','length','uploading','uc-cloud-image-editor','cancel','once','render','target','createCollection','querySelector','_addErrorViewListeners','_errorView','24402483MPuOCX','_editingView','_waitForImageEditorComponent','fire','addMany','1987976aKtMUy','addEventListener','10PYOlRn','addedNodes','focus','change:status','div','setTemplate','_items','105012oywdrn','nodeName','cdnUrl','ck-uploadcare-form','_addUploadcareImageEditorListeners','detail','element','status','add','_setView','_loadingView','filter','retry','4469192GSovXS','ck-reset_all-excluded','disconnect','set','680412GmeBJM','clear','toLowerCase','652443QuRKJY','apply','getFocusableElement','_focusableView'];_0x4a20=function(){return _0x69bad1;};return _0x4a20();}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x3235f6{[_0x1fec23(0x19a)];[_0x1fec23(0x16f)];[_0x1fec23(0x18c)];[_0x1fec23(0x18e)];[_0x1fec23(0x17c)];constructor(_0x35525e,_0x15a9a3,_0x24a78a){const _0x1e3b24=_0x1fec23;super(_0x35525e),this[_0x1e3b24(0x19a)]=this[_0x1e3b24(0x189)](),this[_0x1e3b24(0x16f)]=new _0x5e27ea(_0x35525e),this[_0x1e3b24(0x18c)]=new _0x2abbf9(_0x35525e),this[_0x1e3b24(0x18e)]=new _0x401a36(_0x35525e,_0x24a78a),this[_0x1e3b24(0x17c)]=new _0x3ce3ae(_0x35525e),this[_0x1e3b24(0x17c)][_0x1e3b24(0x199)](this[_0x1e3b24(0x17b)]()),this[_0x1e3b24(0x175)](_0x1e3b24(0x16c),_0x15a9a3),this[_0x1e3b24(0x199)]({'tag':_0x1e3b24(0x198),'attributes':{'class':['ck',_0x1e3b24(0x173),_0x1e3b24(0x19e)],'tabindex':'-1'},'children':this[_0x1e3b24(0x19a)]}),this[_0x1e3b24(0x16e)](),this[_0x1e3b24(0x186)](_0x1e3b24(0x187),()=>{const _0x19074e=_0x1e3b24;this[_0x19074e(0x18f)](this[_0x19074e(0x16b)],_0x26fd98=>{const _0x44151d=_0x19074e;this[_0x44151d(0x19f)](_0x26fd98);});}),this['on'](_0x1e3b24(0x197),()=>{const _0x1de5bd=_0x1e3b24;this[_0x1de5bd(0x16e)]();}),this[_0x1e3b24(0x18b)]();}[_0x1fec23(0x196)](){const _0x52999a=_0x1fec23;this[_0x52999a(0x16b)][_0x52999a(0x196)]();}[_0x1fec23(0x16e)](){const _0x29f772=_0x1fec23;switch(this[_0x29f772(0x19a)][_0x29f772(0x177)](),this[_0x29f772(0x16c)]){case _0x29f772(0x183):this[_0x29f772(0x19a)][_0x29f772(0x16d)](this[_0x29f772(0x16f)]);break;case _0x29f772(0x181):this[_0x29f772(0x19a)][_0x29f772(0x16d)](this[_0x29f772(0x18c)]);break;case _0x29f772(0x17f):this[_0x29f772(0x19a)][_0x29f772(0x191)]([this[_0x29f772(0x18e)],this[_0x29f772(0x17c)]]);}}[_0x1fec23(0x18f)](_0x2e1bb4,_0x23f354){const _0x140870=_0x1fec23,_0x25aa7a=_0x140870(0x184),_0x352cf5=_0x2e1bb4[_0x140870(0x18a)](_0x25aa7a);if(_0x352cf5)return _0x23f354(_0x352cf5);const _0x48f7f5=new MutationObserver(_0x59344b=>{const _0xb7c6=_0x140870,_0xdd18c6=_0x59344b[_0xb7c6(0x170)](_0xc78bc0=>_0xc78bc0[_0xb7c6(0x188)]===_0x2e1bb4&&_0xc78bc0[_0xb7c6(0x195)][_0xb7c6(0x182)]>0x0&&_0xc78bc0[_0xb7c6(0x195)][0x0][_0xb7c6(0x19c)][_0xb7c6(0x178)]()===_0x25aa7a);_0xdd18c6[_0xb7c6(0x182)]&&(_0x48f7f5[_0xb7c6(0x174)](),_0x23f354(_0xdd18c6[0x0][_0xb7c6(0x195)][0x0]));});_0x48f7f5[_0x140870(0x180)](_0x2e1bb4,{'childList':!0x0,'subtree':!0x0});}[_0x1fec23(0x19f)](_0x19d9d7){const _0x331053=_0x1fec23;_0x19d9d7[_0x331053(0x193)](_0x331053(0x17a),_0x5b405c=>{const _0x176c97=_0x331053;this[_0x176c97(0x190)](_0x176c97(0x17a),{'imageSrc':_0x5b405c[_0x176c97(0x1a0)][_0x176c97(0x19d)]});}),_0x19d9d7[_0x331053(0x193)](_0x331053(0x185),()=>{const _0x2f2b93=_0x331053;this[_0x2f2b93(0x190)](_0x2f2b93(0x185));});}[_0x1fec23(0x18b)](){const _0x11b8f2=_0x1fec23;this[_0x11b8f2(0x18c)]['on'](_0x11b8f2(0x171),()=>{const _0x110b60=_0x11b8f2;this[_0x110b60(0x190)](_0x110b60(0x171));});}}
23
+ function _0x1a94(){const _0x197378=['observe','_addErrorViewListeners','_loadingView','clear','cancel','ready','focus','render','15CdLtHQ','uploading','error','ck-reset_all-excluded','_errorView','uc-cloud-image-editor','_waitForImageEditorComponent','_setView','once','div','_focusableView','status','_items','apply','add','2932776ADryUz','cdnUrl','retry','detail','addedNodes','toLowerCase','filter','3315440CcHRfb','addMany','3GOnHps','_editingView','ck-uploadcare-form','3124744UFasfw','createCollection','fire','element','5027410jQbNaw','nodeName','50104YQGRCw','setTemplate','getFocusableElement','1491894nvOQIN','2LwVYdG','disconnect','querySelector','128640HHBivM','set','change:status','_addUploadcareImageEditorListeners','target','addEventListener','length'];_0x1a94=function(){return _0x197378;};return _0x1a94();}const _0x4d6edb=_0x3f74;(function(_0x3110bd,_0x81cdd0){const _0x5a506e=_0x3f74,_0x3bf64b=_0x3110bd();while(!![]){try{const _0x587cec=parseInt(_0x5a506e(0x1f8))/0x1*(parseInt(_0x5a506e(0x1fb))/0x2)+parseInt(_0x5a506e(0x222))/0x3*(-parseInt(_0x5a506e(0x1f4))/0x4)+-parseInt(_0x5a506e(0x20a))/0x5*(parseInt(_0x5a506e(0x1f7))/0x6)+parseInt(_0x5a506e(0x225))/0x7+parseInt(_0x5a506e(0x220))/0x8+-parseInt(_0x5a506e(0x219))/0x9+parseInt(_0x5a506e(0x1f2))/0xa;if(_0x587cec===_0x81cdd0)break;else _0x3bf64b['push'](_0x3bf64b['shift']());}catch(_0x1f1cc7){_0x3bf64b['push'](_0x3bf64b['shift']());}}}(_0x1a94,0x6393a));import{View as _0x266bb2}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x1dcb85}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x5e84e6}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x3714e5}from'./uploadcareimageeditformeditingview.js';function _0x3f74(_0x29cf43,_0x522723){const _0x1a941a=_0x1a94();return _0x3f74=function(_0x3f745f,_0x4aece2){_0x3f745f=_0x3f745f-0x1f1;let _0x43eb88=_0x1a941a[_0x3f745f];return _0x43eb88;},_0x3f74(_0x29cf43,_0x522723);}import{DialogFocusManagerView as _0x1f4233}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x1f4233{[_0x4d6edb(0x216)];[_0x4d6edb(0x204)];[_0x4d6edb(0x20e)];[_0x4d6edb(0x223)];[_0x4d6edb(0x214)];constructor(_0x45d825,_0x3b75c0,_0x4414d7){const _0x189355=_0x4d6edb;super(_0x45d825),this[_0x189355(0x216)]=this[_0x189355(0x226)](),this[_0x189355(0x204)]=new _0x1dcb85(_0x45d825),this[_0x189355(0x20e)]=new _0x5e84e6(_0x45d825),this[_0x189355(0x223)]=new _0x3714e5(_0x45d825,_0x4414d7),this[_0x189355(0x214)]=new _0x266bb2(_0x45d825),this[_0x189355(0x214)][_0x189355(0x1f5)](this[_0x189355(0x1f6)]()),this[_0x189355(0x1fc)](_0x189355(0x215),_0x3b75c0),this[_0x189355(0x1f5)]({'tag':_0x189355(0x213),'attributes':{'class':['ck',_0x189355(0x20d),_0x189355(0x224)],'tabindex':'-1'},'children':this[_0x189355(0x216)]}),this[_0x189355(0x211)](),this[_0x189355(0x212)](_0x189355(0x209),()=>{const _0x4d9aa9=_0x189355;this[_0x4d9aa9(0x210)](this[_0x4d9aa9(0x1f1)],_0x5a8d23=>{const _0x5eea20=_0x4d9aa9;this[_0x5eea20(0x1fe)](_0x5a8d23);});}),this['on'](_0x189355(0x1fd),()=>{const _0x2f08c2=_0x189355;this[_0x2f08c2(0x211)]();}),this[_0x189355(0x203)]();}[_0x4d6edb(0x208)](){const _0x32caa1=_0x4d6edb;this[_0x32caa1(0x1f1)][_0x32caa1(0x208)]();}[_0x4d6edb(0x211)](){const _0x315f8a=_0x4d6edb;switch(this[_0x315f8a(0x216)][_0x315f8a(0x205)](),this[_0x315f8a(0x215)]){case _0x315f8a(0x20b):this[_0x315f8a(0x216)][_0x315f8a(0x218)](this[_0x315f8a(0x204)]);break;case _0x315f8a(0x20c):this[_0x315f8a(0x216)][_0x315f8a(0x218)](this[_0x315f8a(0x20e)]);break;case _0x315f8a(0x207):this[_0x315f8a(0x216)][_0x315f8a(0x221)]([this[_0x315f8a(0x223)],this[_0x315f8a(0x214)]]);}}[_0x4d6edb(0x210)](_0x1c5045,_0x58f9d8){const _0x3c95b4=_0x4d6edb,_0x173a99=_0x3c95b4(0x20f),_0x558ae3=_0x1c5045[_0x3c95b4(0x1fa)](_0x173a99);if(_0x558ae3)return _0x58f9d8(_0x558ae3);const _0x44ac04=new MutationObserver(_0x513167=>{const _0x4da93a=_0x3c95b4,_0x56fdd7=_0x513167[_0x4da93a(0x21f)](_0x22dfae=>_0x22dfae[_0x4da93a(0x1ff)]===_0x1c5045&&_0x22dfae[_0x4da93a(0x21d)][_0x4da93a(0x201)]>0x0&&_0x22dfae[_0x4da93a(0x21d)][0x0][_0x4da93a(0x1f3)][_0x4da93a(0x21e)]()===_0x173a99);_0x56fdd7[_0x4da93a(0x201)]&&(_0x44ac04[_0x4da93a(0x1f9)](),_0x58f9d8(_0x56fdd7[0x0][_0x4da93a(0x21d)][0x0]));});_0x44ac04[_0x3c95b4(0x202)](_0x1c5045,{'childList':!0x0,'subtree':!0x0});}[_0x4d6edb(0x1fe)](_0x17c840){const _0x454271=_0x4d6edb;_0x17c840[_0x454271(0x200)](_0x454271(0x217),_0x15aed7=>{const _0x4882d8=_0x454271;this[_0x4882d8(0x227)](_0x4882d8(0x217),{'imageSrc':_0x15aed7[_0x4882d8(0x21c)][_0x4882d8(0x21a)]});}),_0x17c840[_0x454271(0x200)](_0x454271(0x206),()=>{const _0x1ce982=_0x454271;this[_0x1ce982(0x227)](_0x1ce982(0x206));});}[_0x4d6edb(0x203)](){const _0x3fb096=_0x4d6edb;this[_0x3fb096(0x20e)]['on'](_0x3fb096(0x21b),()=>{const _0x2fa0d2=_0x3fb096;this[_0x2fa0d2(0x227)](_0x2fa0d2(0x21b));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x49b93e=_0x14bd;(function(_0x26ff6a,_0x147285){const _0xa7f427=_0x14bd,_0x3b6b92=_0x26ff6a();while(!![]){try{const _0x1a4fd7=-parseInt(_0xa7f427(0x1b5))/0x1*(-parseInt(_0xa7f427(0x1c5))/0x2)+parseInt(_0xa7f427(0x1c7))/0x3+-parseInt(_0xa7f427(0x1d0))/0x4+-parseInt(_0xa7f427(0x1bd))/0x5+-parseInt(_0xa7f427(0x1c4))/0x6+parseInt(_0xa7f427(0x1ca))/0x7*(-parseInt(_0xa7f427(0x1d2))/0x8)+-parseInt(_0xa7f427(0x1b9))/0x9*(-parseInt(_0xa7f427(0x1c9))/0xa);if(_0x1a4fd7===_0x147285)break;else _0x3b6b92['push'](_0x3b6b92['shift']());}catch(_0x7b9b34){_0x3b6b92['push'](_0x3b6b92['shift']());}}}(_0xf33c,0xc05c8));import{Command as _0x27f73f}from'ckeditor5/src/core.js';function _0x14bd(_0x95302a,_0x4a48e9){const _0xf33c2f=_0xf33c();return _0x14bd=function(_0x14bd72,_0x8eee5f){_0x14bd72=_0x14bd72-0x1b3;let _0x314b8f=_0xf33c2f[_0x14bd72];return _0x314b8f;},_0x14bd(_0x95302a,_0x4a48e9);}import{Dialog as _0x7d8796}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0xbbd170}from'./ui/uploadcareimageeditcontroller.js';function _0xf33c(){const _0x3d95ab=['plugins','108LSTAAc','unbind','element','execute','812090zZqhZj','getSelectedElement','document','bind','set','isActive','model','1591686ePlovG','3998iUurIC','_isEditable','4043511ZVjOEs','imageBlock','1037870acxAeI','16772rAXDfN','requires','uploadcare.allowExternalImagesEditing','imageEditController','get','refresh','1978516gStyiB','config','4904lNiLbA','imageInline','selection','293raYdEM','editor','isEnabled'];_0xf33c=function(){return _0x3d95ab;};return _0xf33c();}import{createEditabilityChecker as _0x496b20}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x27f73f{[_0x49b93e(0x1cd)];static get[_0x49b93e(0x1cb)](){return[_0x7d8796];}[_0x49b93e(0x1c6)];constructor(_0x2b9f15){const _0xa34413=_0x49b93e;super(_0x2b9f15),this[_0xa34413(0x1cd)]=void 0x0,this[_0xa34413(0x1c6)]=_0x496b20(_0x2b9f15[_0xa34413(0x1d1)][_0xa34413(0x1ce)](_0xa34413(0x1cc))||[]),this[_0xa34413(0x1c1)]({'isActive':!0x1});}[_0x49b93e(0x1cf)](){const _0x5c1477=_0x49b93e,_0x11449b=this[_0x5c1477(0x1b6)][_0x5c1477(0x1c3)][_0x5c1477(0x1bf)][_0x5c1477(0x1b4)][_0x5c1477(0x1be)]();this[_0x5c1477(0x1b7)]=this[_0x5c1477(0x1c6)](_0x11449b);}[_0x49b93e(0x1bc)](){const _0xa0fe50=_0x49b93e;this[_0xa0fe50(0x1cd)]&&(this[_0xa0fe50(0x1ba)](_0xa0fe50(0x1c2)),this[_0xa0fe50(0x1cd)]=void 0x0);const _0x662723=this[_0xa0fe50(0x1b6)][_0xa0fe50(0x1c3)][_0xa0fe50(0x1bf)][_0xa0fe50(0x1b4)][_0xa0fe50(0x1be)]();_0x662723&&(_0x662723['is'](_0xa0fe50(0x1bb),_0xa0fe50(0x1c8))||_0x662723['is'](_0xa0fe50(0x1bb),_0xa0fe50(0x1b3)))&&(this[_0xa0fe50(0x1cd)]=new _0xbbd170(this[_0xa0fe50(0x1b6)],this[_0xa0fe50(0x1b6)][_0xa0fe50(0x1b8)][_0xa0fe50(0x1ce)](_0x7d8796),_0x662723),this[_0xa0fe50(0x1c0)](_0xa0fe50(0x1c2))['to'](this[_0xa0fe50(0x1cd)],_0xa0fe50(0x1c2)));}}
23
+ const _0x564b28=_0x3977;function _0x4413(){const _0xbfb08c=['371430jErOLj','unbind','plugins','set','getSelectedElement','9142576XyoyLK','99321EKXLSd','bind','uploadcare.allowExternalImagesEditing','21553wREYli','368SOicgF','get','model','document','element','imageBlock','_isEditable','selection','isActive','execute','4042489mQjZNr','requires','isEnabled','230tfuPpv','config','222GYPiJj','imageInline','editor','refresh','32692ywVETP','13615ZohriI','imageEditController','66NoaVqF','72nOPyTJ'];_0x4413=function(){return _0xbfb08c;};return _0x4413();}(function(_0x97ec43,_0x2ccdb6){const _0x216088=_0x3977,_0x41c829=_0x97ec43();while(!![]){try{const _0x30ec95=parseInt(_0x216088(0x85))/0x1+-parseInt(_0x216088(0x88))/0x2*(parseInt(_0x216088(0x90))/0x3)+parseInt(_0x216088(0x72))/0x4*(-parseInt(_0x216088(0x86))/0x5)+parseInt(_0x216088(0x81))/0x6*(-parseInt(_0x216088(0x93))/0x7)+-parseInt(_0x216088(0x8f))/0x8+-parseInt(_0x216088(0x8a))/0x9*(-parseInt(_0x216088(0x7f))/0xa)+parseInt(_0x216088(0x7c))/0xb*(parseInt(_0x216088(0x89))/0xc);if(_0x30ec95===_0x2ccdb6)break;else _0x41c829['push'](_0x41c829['shift']());}catch(_0x4aec1e){_0x41c829['push'](_0x41c829['shift']());}}}(_0x4413,0x8f560));import{Command as _0x1afd27}from'ckeditor5/src/core.js';import{Dialog as _0x3326f2}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x23c3a2}from'./ui/uploadcareimageeditcontroller.js';function _0x3977(_0x50f2e7,_0xf284d3){const _0x44131=_0x4413();return _0x3977=function(_0x397773,_0x220f85){_0x397773=_0x397773-0x72;let _0x48c203=_0x44131[_0x397773];return _0x48c203;},_0x3977(_0x50f2e7,_0xf284d3);}import{createEditabilityChecker as _0x3533ad}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x1afd27{[_0x564b28(0x87)];static get[_0x564b28(0x7d)](){return[_0x3326f2];}[_0x564b28(0x78)];constructor(_0x3efb1f){const _0x100b47=_0x564b28;super(_0x3efb1f),this[_0x100b47(0x87)]=void 0x0,this[_0x100b47(0x78)]=_0x3533ad(_0x3efb1f[_0x100b47(0x80)][_0x100b47(0x73)](_0x100b47(0x92))||[]),this[_0x100b47(0x8d)]({'isActive':!0x1});}[_0x564b28(0x84)](){const _0x372b60=_0x564b28,_0x28fc97=this[_0x372b60(0x83)][_0x372b60(0x74)][_0x372b60(0x75)][_0x372b60(0x79)][_0x372b60(0x8e)]();this[_0x372b60(0x7e)]=this[_0x372b60(0x78)](_0x28fc97);}[_0x564b28(0x7b)](){const _0x39a6c5=_0x564b28;this[_0x39a6c5(0x87)]&&(this[_0x39a6c5(0x8b)](_0x39a6c5(0x7a)),this[_0x39a6c5(0x87)]=void 0x0);const _0x279636=this[_0x39a6c5(0x83)][_0x39a6c5(0x74)][_0x39a6c5(0x75)][_0x39a6c5(0x79)][_0x39a6c5(0x8e)]();_0x279636&&(_0x279636['is'](_0x39a6c5(0x76),_0x39a6c5(0x77))||_0x279636['is'](_0x39a6c5(0x76),_0x39a6c5(0x82)))&&(this[_0x39a6c5(0x87)]=new _0x23c3a2(this[_0x39a6c5(0x83)],this[_0x39a6c5(0x83)][_0x39a6c5(0x8c)][_0x39a6c5(0x73)](_0x3326f2),_0x279636),this[_0x39a6c5(0x91)](_0x39a6c5(0x7a))['to'](this[_0x39a6c5(0x87)],_0x39a6c5(0x7a)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d8ac1=_0x5613;function _0x4d3c(){const _0x42ece4=['UploadcareImageEditEditing','requires','9686411GVJwVq','6BIphwJ','ImageUtils','uploadcareImageEdit','5985204UNUwhq','add','1511520QabDqo','commands','2183375bWwlzD','461628ecLnbj','pluginName','init','isOfficialPlugin','434808ZQdFJR','uploadcareImageReplace','3680622xKZdNB','isPremiumPlugin','ImageEditing'];_0x4d3c=function(){return _0x42ece4;};return _0x4d3c();}(function(_0x186a22,_0x33b26f){const _0x53c7d5=_0x5613,_0x7df8e7=_0x186a22();while(!![]){try{const _0x49466e=-parseInt(_0x53c7d5(0x70))/0x1+-parseInt(_0x53c7d5(0x6d))/0x2*(parseInt(_0x53c7d5(0x68))/0x3)+parseInt(_0x53c7d5(0x6b))/0x4+parseInt(_0x53c7d5(0x6f))/0x5+-parseInt(_0x53c7d5(0x76))/0x6+parseInt(_0x53c7d5(0x67))/0x7+parseInt(_0x53c7d5(0x74))/0x8;if(_0x49466e===_0x33b26f)break;else _0x7df8e7['push'](_0x7df8e7['shift']());}catch(_0x24b0fa){_0x7df8e7['push'](_0x7df8e7['shift']());}}}(_0x4d3c,0xbf883));function _0x5613(_0x62dbd4,_0x33accc){const _0x4d3cb9=_0x4d3c();return _0x5613=function(_0x561399,_0x214d4a){_0x561399=_0x561399-0x67;let _0x2da05d=_0x4d3cb9[_0x561399];return _0x2da05d;},_0x5613(_0x62dbd4,_0x33accc);}import{Plugin as _0x57f3d1}from'ckeditor5/src/core.js';import{Notification as _0x58e647}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x29c9a7}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x40c884}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x445cb3}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x57f3d1{static get[_0x2d8ac1(0x71)](){const _0xc2403f=_0x2d8ac1;return _0xc2403f(0x79);}static get[_0x2d8ac1(0x7a)](){const _0x45e1b6=_0x2d8ac1;return[_0x445cb3,_0x58e647,_0x45e1b6(0x69),_0x45e1b6(0x78)];}static get[_0x2d8ac1(0x73)](){return!0x0;}static get[_0x2d8ac1(0x77)](){return!0x0;}[_0x2d8ac1(0x72)](){const _0x36a06a=_0x2d8ac1,{editor:_0x6ff7b6}=this;_0x6ff7b6[_0x36a06a(0x6e)][_0x36a06a(0x6c)](_0x36a06a(0x6a),new _0x29c9a7(_0x6ff7b6)),_0x6ff7b6[_0x36a06a(0x6e)][_0x36a06a(0x6c)](_0x36a06a(0x75),new _0x40c884(_0x6ff7b6));}}
23
+ const _0x53bae9=_0x57d0;(function(_0x98fe04,_0x46f5d7){const _0x19e888=_0x57d0,_0x309288=_0x98fe04();while(!![]){try{const _0x32fe18=-parseInt(_0x19e888(0x10b))/0x1*(-parseInt(_0x19e888(0x104))/0x2)+-parseInt(_0x19e888(0x10f))/0x3*(-parseInt(_0x19e888(0x109))/0x4)+parseInt(_0x19e888(0x100))/0x5+parseInt(_0x19e888(0xfc))/0x6+parseInt(_0x19e888(0x10e))/0x7+-parseInt(_0x19e888(0x102))/0x8*(parseInt(_0x19e888(0x106))/0x9)+-parseInt(_0x19e888(0x108))/0xa*(parseInt(_0x19e888(0x107))/0xb);if(_0x32fe18===_0x46f5d7)break;else _0x309288['push'](_0x309288['shift']());}catch(_0x2956ff){_0x309288['push'](_0x309288['shift']());}}}(_0x5d38,0xb89cf));import{Plugin as _0x375782}from'ckeditor5/src/core.js';import{Notification as _0x4c181c}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x2fbb05}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x446144}from'./uploadcareimagereplacecommand.js';function _0x5d38(){const _0x11a18e=['UploadcareImageEditEditing','8757828bWOMeL','commands','ImageEditing','add','3960525SURvRt','init','3944jrEhbd','uploadcareImageReplace','5958pAadzd','ImageUtils','25911gEqUet','11Kezdum','20683770jodWLL','4HgYTww','isOfficialPlugin','99efRGQG','requires','isPremiumPlugin','3496906Tvhvzm','3593031USjqzf','pluginName','uploadcareImageEdit'];_0x5d38=function(){return _0x11a18e;};return _0x5d38();}import{UploadcareEditing as _0x502f6b}from'../uploadcareediting.js';function _0x57d0(_0x29316c,_0x529aa2){const _0x5d383f=_0x5d38();return _0x57d0=function(_0x57d010,_0x580e05){_0x57d010=_0x57d010-0xfb;let _0x2e6c66=_0x5d383f[_0x57d010];return _0x2e6c66;},_0x57d0(_0x29316c,_0x529aa2);}export class UploadcareImageEditEditing extends _0x375782{static get[_0x53bae9(0x110)](){const _0x30c83d=_0x53bae9;return _0x30c83d(0xfb);}static get[_0x53bae9(0x10c)](){const _0x48d3ac=_0x53bae9;return[_0x502f6b,_0x4c181c,_0x48d3ac(0x105),_0x48d3ac(0xfe)];}static get[_0x53bae9(0x10a)](){return!0x0;}static get[_0x53bae9(0x10d)](){return!0x0;}[_0x53bae9(0x101)](){const _0x5a7eba=_0x53bae9,{editor:_0x58119f}=this;_0x58119f[_0x5a7eba(0xfd)][_0x5a7eba(0xff)](_0x5a7eba(0x111),new _0x2fbb05(_0x58119f)),_0x58119f[_0x5a7eba(0xfd)][_0x5a7eba(0xff)](_0x5a7eba(0x103),new _0x446144(_0x58119f));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x57baf0}from'ckeditor5/src/core.js';import{ButtonView as _0x1ed3c4}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x34b0af}from'ckeditor5/src/icons.js';import{createElement as _0xe79a77}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 _0x57baf0{['_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 _0x4c1b2c=this['editor'];_0x4c1b2c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1eec14=>{const _0x3e37bb=_0x4c1b2c['commands']['get']('uploadcareImageEdit'),_0x3b4576=new _0x1ed3c4(_0x1eec14),t=_0x1eec14['t'];return _0x3b4576['set']({'icon':_0x34b0af,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x3b4576['bind']('isEnabled')['to'](_0x3e37bb),_0x3b4576['bind']('isOn')['to'](_0x3e37bb,'isActive'),this['listenTo'](_0x3b4576,'execute',()=>{_0x4c1b2c['execute']('uploadcareImageEdit'),_0x4c1b2c['editing']['view']['focus']();}),_0x3b4576;}),this['_initConfig']();}['_initConfig'](){const _0x5944cc=_0xe79a77(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x5944cc),this['listenTo'](this['editor'],'destroy',()=>{_0x5944cc['remove']();});}}
23
+ import{Plugin as _0x3fa679}from'ckeditor5/src/core.js';import{ButtonView as _0x275764}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x30c0d4}from'ckeditor5/src/icons.js';import{createElement as _0x3d641a}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 _0x3fa679{['_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 _0x55b455=this['editor'];_0x55b455['ui']['componentFactory']['add']('uploadcareImageEdit',_0x3ceb85=>{const _0x158b01=_0x55b455['commands']['get']('uploadcareImageEdit'),_0x103d3b=new _0x275764(_0x3ceb85),t=_0x3ceb85['t'];return _0x103d3b['set']({'icon':_0x30c0d4,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x103d3b['bind']('isEnabled')['to'](_0x158b01),_0x103d3b['bind']('isOn')['to'](_0x158b01,'isActive'),this['listenTo'](_0x103d3b,'execute',()=>{_0x55b455['execute']('uploadcareImageEdit'),_0x55b455['editing']['view']['focus']();}),_0x103d3b;}),this['_initConfig']();}['_initConfig'](){const _0x203473=_0x3d641a(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x203473),this['listenTo'](this['editor'],'destroy',()=>{_0x203473['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x6e08(_0x425855,_0x43ff14){const _0xb95c53=_0xb95c();return _0x6e08=function(_0x6e08d8,_0x320baa){_0x6e08d8=_0x6e08d8-0x1e4;let _0x43729d=_0xb95c53[_0x6e08d8];return _0x43729d;},_0x6e08(_0x425855,_0x43ff14);}const _0x2b407a=_0x6e08;function _0xb95c(){const _0x26fadd=['1940541ZqryqN','document','getSelectedElement','execute','64274irWFHk','isEnabled','sizes','setAttributes','removeAttribute','7342408kvSPya','60950LPYYxx','editor','element','4986216ACqPmc','509536sUoaqE','5CPorEO','change','model','908352uzXWvw','srcset','imageInline','refresh','imageBlock','selection'];_0xb95c=function(){return _0x26fadd;};return _0xb95c();}(function(_0x204ba6,_0x82e3f){const _0x2762e4=_0x6e08,_0x1f688a=_0x204ba6();while(!![]){try{const _0x1426c7=parseInt(_0x2762e4(0x1f9))/0x1+-parseInt(_0x2762e4(0x1e5))/0x2+-parseInt(_0x2762e4(0x1ef))/0x3+-parseInt(_0x2762e4(0x1e9))/0x4*(parseInt(_0x2762e4(0x1e6))/0x5)+parseInt(_0x2762e4(0x1e4))/0x6+-parseInt(_0x2762e4(0x1f3))/0x7+parseInt(_0x2762e4(0x1f8))/0x8;if(_0x1426c7===_0x82e3f)break;else _0x1f688a['push'](_0x1f688a['shift']());}catch(_0x357ef0){_0x1f688a['push'](_0x1f688a['shift']());}}}(_0xb95c,0xa409e));import{Command as _0xe65e1c}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0xe65e1c{[_0x2b407a(0x1ec)](){const _0x557f80=_0x2b407a,_0x59b76a=this[_0x557f80(0x1fa)][_0x557f80(0x1e8)][_0x557f80(0x1f0)][_0x557f80(0x1ee)][_0x557f80(0x1f1)]();this[_0x557f80(0x1f4)]=Boolean(_0x59b76a&&(_0x59b76a['is'](_0x557f80(0x1fb),_0x557f80(0x1ed))||_0x59b76a['is'](_0x557f80(0x1fb),_0x557f80(0x1eb))));}[_0x2b407a(0x1f2)](_0x3ce4aa){const _0xd370f2=_0x2b407a,_0x25e2af=this[_0xd370f2(0x1fa)][_0xd370f2(0x1e8)][_0xd370f2(0x1f0)][_0xd370f2(0x1ee)][_0xd370f2(0x1f1)]();this[_0xd370f2(0x1fa)][_0xd370f2(0x1e8)][_0xd370f2(0x1e7)](_0x43d915=>{const _0x189f7a=_0xd370f2;_0x43d915[_0x189f7a(0x1f6)](_0x3ce4aa,_0x25e2af),_0x43d915[_0x189f7a(0x1f7)](_0x189f7a(0x1ea),_0x25e2af),_0x43d915[_0x189f7a(0x1f7)](_0x189f7a(0x1f5),_0x25e2af);});}}
23
+ const _0x4b4c9e=_0x3fa4;(function(_0x4dc15f,_0x547b8d){const _0x31652c=_0x3fa4,_0x4b28ac=_0x4dc15f();while(!![]){try{const _0xe9684e=-parseInt(_0x31652c(0x14d))/0x1+-parseInt(_0x31652c(0x14a))/0x2*(parseInt(_0x31652c(0x162))/0x3)+parseInt(_0x31652c(0x159))/0x4+-parseInt(_0x31652c(0x14f))/0x5+-parseInt(_0x31652c(0x156))/0x6+-parseInt(_0x31652c(0x15d))/0x7+-parseInt(_0x31652c(0x150))/0x8*(-parseInt(_0x31652c(0x15a))/0x9);if(_0xe9684e===_0x547b8d)break;else _0x4b28ac['push'](_0x4b28ac['shift']());}catch(_0x5b42f2){_0x4b28ac['push'](_0x4b28ac['shift']());}}}(_0x1b77,0xa2c73));import{Command as _0x10cebe}from'ckeditor5/src/core.js';function _0x3fa4(_0x2b7524,_0x509200){const _0x1b7729=_0x1b77();return _0x3fa4=function(_0x3fa433,_0x5e1cb6){_0x3fa433=_0x3fa433-0x14a;let _0x356436=_0x1b7729[_0x3fa433];return _0x356436;},_0x3fa4(_0x2b7524,_0x509200);}function _0x1b77(){const _0x1272bb=['change','sizes','document','3030756dkpWvp','model','element','3907700AxkArD','16315659nhWkMM','editor','selection','2214527aQMLbT','srcset','setAttributes','refresh','imageBlock','207663DMZMgk','2NrjeBp','isEnabled','imageInline','1212260QuNECq','execute','100345mpjwUO','8xwYhbA','getSelectedElement','removeAttribute'];_0x1b77=function(){return _0x1272bb;};return _0x1b77();}export class UploadcareImageReplaceCommand extends _0x10cebe{[_0x4b4c9e(0x160)](){const _0x19bb5f=_0x4b4c9e,_0x47ebab=this[_0x19bb5f(0x15b)][_0x19bb5f(0x157)][_0x19bb5f(0x155)][_0x19bb5f(0x15c)][_0x19bb5f(0x151)]();this[_0x19bb5f(0x14b)]=Boolean(_0x47ebab&&(_0x47ebab['is'](_0x19bb5f(0x158),_0x19bb5f(0x161))||_0x47ebab['is'](_0x19bb5f(0x158),_0x19bb5f(0x14c))));}[_0x4b4c9e(0x14e)](_0x36c24a){const _0x4068d=_0x4b4c9e,_0x59bae6=this[_0x4068d(0x15b)][_0x4068d(0x157)][_0x4068d(0x155)][_0x4068d(0x15c)][_0x4068d(0x151)]();this[_0x4068d(0x15b)][_0x4068d(0x157)][_0x4068d(0x153)](_0x36a5e6=>{const _0x5b15ac=_0x4068d;_0x36a5e6[_0x5b15ac(0x15f)](_0x36c24a,_0x59bae6),_0x36a5e6[_0x5b15ac(0x152)](_0x5b15ac(0x15e),_0x59bae6),_0x36a5e6[_0x5b15ac(0x152)](_0x5b15ac(0x154),_0x59bae6);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5c35(_0x32d0f5,_0x4e9939){var _0x4950b4=_0x4950();return _0x5c35=function(_0x5c3584,_0x390475){_0x5c3584=_0x5c3584-0x97;var _0x2b764b=_0x4950b4[_0x5c3584];return _0x2b764b;},_0x5c35(_0x32d0f5,_0x4e9939);}var _0x20209c=_0x5c35;(function(_0x2dde03,_0x54a910){var _0x15e5d2=_0x5c35,_0x512324=_0x2dde03();while(!![]){try{var _0x56e224=-parseInt(_0x15e5d2(0x9a))/0x1+-parseInt(_0x15e5d2(0xa1))/0x2+-parseInt(_0x15e5d2(0xa3))/0x3*(parseInt(_0x15e5d2(0xa4))/0x4)+parseInt(_0x15e5d2(0xa2))/0x5*(parseInt(_0x15e5d2(0x98))/0x6)+-parseInt(_0x15e5d2(0x9f))/0x7+parseInt(_0x15e5d2(0x9e))/0x8+-parseInt(_0x15e5d2(0x9c))/0x9;if(_0x56e224===_0x54a910)break;else _0x512324['push'](_0x512324['shift']());}catch(_0x166042){_0x512324['push'](_0x512324['shift']());}}}(_0x4950,0x25deb));function _0x4950(){var _0x2a1184=['105819PeMxCO','isPremiumPlugin','78624CVsHVD','5jfyBjp','3lIoEkE','75316HZlVEg','UploadcareImageEdit','1558818KqCfXv','isOfficialPlugin','40141IEnlbW','pluginName','605826HxJLwE','requires','608200XSKhkf'];_0x4950=function(){return _0x2a1184;};return _0x4950();}import{Plugin as _0x3e7e4}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x6545}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x442c49}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x3e7e4{static get[_0x20209c(0x9b)](){var _0x52e2df=_0x20209c;return _0x52e2df(0x97);}static get[_0x20209c(0x9d)](){return[_0x6545,_0x442c49];}static get[_0x20209c(0x99)](){return!0x0;}static get[_0x20209c(0xa0)](){return!0x0;}}
23
+ var _0x424755=_0x3a81;(function(_0x4c5361,_0x2a7fa3){var _0xc12630=_0x3a81,_0x540195=_0x4c5361();while(!![]){try{var _0x119447=-parseInt(_0xc12630(0x1a0))/0x1+parseInt(_0xc12630(0x19a))/0x2*(-parseInt(_0xc12630(0x1a5))/0x3)+-parseInt(_0xc12630(0x1a4))/0x4+-parseInt(_0xc12630(0x19e))/0x5*(parseInt(_0xc12630(0x19d))/0x6)+parseInt(_0xc12630(0x1a2))/0x7+parseInt(_0xc12630(0x1a3))/0x8*(parseInt(_0xc12630(0x19f))/0x9)+parseInt(_0xc12630(0x1a1))/0xa;if(_0x119447===_0x2a7fa3)break;else _0x540195['push'](_0x540195['shift']());}catch(_0x4db98d){_0x540195['push'](_0x540195['shift']());}}}(_0x52cb,0x8da53));function _0x52cb(){var _0x12ca7a=['isOfficialPlugin','8TohrWZ','pluginName','UploadcareImageEdit','257148NECmjJ','30LcJaSj','9IWOSwj','329152DCvoym','10953770FWwTqk','2820335jKPFxQ','5637264EdfNVO','1609028NtWVre','475653gQMwyo','isPremiumPlugin','requires'];_0x52cb=function(){return _0x12ca7a;};return _0x52cb();}function _0x3a81(_0x350e5c,_0x2c3b04){var _0x52cb5b=_0x52cb();return _0x3a81=function(_0x3a81b4,_0x5e4320){_0x3a81b4=_0x3a81b4-0x197;var _0x3a92c1=_0x52cb5b[_0x3a81b4];return _0x3a92c1;},_0x3a81(_0x350e5c,_0x2c3b04);}import{Plugin as _0x5c231a}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1c453a}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0xd48999}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x5c231a{static get[_0x424755(0x19b)](){var _0x105c07=_0x424755;return _0x105c07(0x19c);}static get[_0x424755(0x198)](){return[_0x1c453a,_0xd48999];}static get[_0x424755(0x199)](){return!0x0;}static get[_0x424755(0x197)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x349d(_0x2bc5bf,_0x6a4922){const _0x19c3a2=_0x19c3();return _0x349d=function(_0x349d87,_0x1845f2){_0x349d87=_0x349d87-0x1f4;let _0x39a567=_0x19c3a2[_0x349d87];return _0x39a567;},_0x349d(_0x2bc5bf,_0x6a4922);}const _0x59cc01=_0x349d;(function(_0x2dee15,_0x4ecdf6){const _0xdc97f9=_0x349d,_0x183d9b=_0x2dee15();while(!![]){try{const _0x459b69=parseInt(_0xdc97f9(0x221))/0x1+-parseInt(_0xdc97f9(0x22e))/0x2+-parseInt(_0xdc97f9(0x23c))/0x3+-parseInt(_0xdc97f9(0x23f))/0x4*(-parseInt(_0xdc97f9(0x207))/0x5)+parseInt(_0xdc97f9(0x231))/0x6+-parseInt(_0xdc97f9(0x233))/0x7*(parseInt(_0xdc97f9(0x22c))/0x8)+parseInt(_0xdc97f9(0x20b))/0x9*(parseInt(_0xdc97f9(0x1f7))/0xa);if(_0x459b69===_0x4ecdf6)break;else _0x183d9b['push'](_0x183d9b['shift']());}catch(_0x5a8976){_0x183d9b['push'](_0x183d9b['shift']());}}}(_0x19c3,0x3d601));function _0x19c3(){const _0x269c63=['bind','forEach','entries','GDrive','OneDrive','featureNotAllowed','init','config','_getIntegrationKey','map','registerIntegration','ImageInsertUI','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyEvaluationLimit','_showLicenseError','icon','shortText','uploadcareLicenseKeyInvalid','expired','editor','61376TxbLLB','commands','pluginName','isImageSelected','Uploadcare','URL','Replace','has','uploadcareLicenseKeyNotAllowed','afterInit','evaluationLimit','200mTUBhg','_createButton','811334cvqela','_createDropdownButtons','isOfficialPlugin','1352394UKpogp','usageLimit','117803EjHTQK','_normalizeConfigSourceList','uploadcare','UploadcareUI','execute','Facebook','Local','isPremiumPlugin','tooltip','695139dFscpc','reduce','uploadcareLicenseKeyTrialLimit','304uIMibC','_createMenuBarButtons','trialLimit','label','GPhotos','locale','get','url','licenseKey','1290JiOvdZ','Dropbox','text','plugins','uploadcareLicenseKeyExpired','push','upload','_licenseKeyCheckInterval','assetManager','domainLimit','withText','type','invalid','Insert','destroy','uploadcareLicenseKeyUsageLimit','20785WjBmyk','uploadcare.uploader.sourceList','isEnabled','_createToolbarButton','49311YvhHLI','uploadcareLicenseKeyValid'];_0x19c3=function(){return _0x269c63;};return _0x19c3();}import{Plugin as _0x40c32f}from'ckeditor5/src/core.js';import{IconDropbox as _0x2ada58,IconFacebook as _0x239685,IconGoogleDrive as _0x1e2032,IconGooglePhotos as _0x3b556e,IconUploadcareImageUpload as _0x4c3812,IconUploadcareLink as _0x4aadb3,IconOneDrive as _0x162e2a}from'ckeditor5/src/icons.js';import{ButtonView as _0x3c5979,MenuBarMenuListItemButtonView as _0x4a235b}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x5dd43f}from'./uploadcareconfig.js';import{getTranslation as _0x2f9e9c}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 _0x40c32f{[_0x59cc01(0x1f6)];[_0x59cc01(0x1fe)];static get[_0x59cc01(0x223)](){const _0x16757c=_0x59cc01;return _0x16757c(0x236);}static get[_0x59cc01(0x230)](){return!0x0;}static get[_0x59cc01(0x23a)](){return!0x0;}[_0x59cc01(0x213)](){const _0x56efc4=_0x59cc01;this[_0x56efc4(0x1f6)]=this[_0x56efc4(0x220)][_0x56efc4(0x214)][_0x56efc4(0x1f4)](_0x56efc4(0x1f6));const _0x117586=this[_0x56efc4(0x220)];this[_0x56efc4(0x1fe)]=setInterval(()=>{const _0x27cb02=_0x56efc4;let _0x2c1cf9;for(const _0x430b9a in _0x117586){const _0xcacc96=_0x430b9a,_0x54073e=_0x117586[_0xcacc96];if(_0x27cb02(0x20c)==_0x54073e||_0x27cb02(0x21e)==_0x54073e||_0x27cb02(0x1fb)==_0x54073e||_0x27cb02(0x219)==_0x54073e||_0x27cb02(0x229)==_0x54073e||_0x27cb02(0x21a)==_0x54073e||_0x27cb02(0x23e)==_0x54073e||_0x27cb02(0x206)==_0x54073e){delete _0x117586[_0xcacc96],_0x2c1cf9=_0x54073e,clearInterval(this[_0x27cb02(0x1fe)]),this[_0x27cb02(0x1fe)]=void 0x0;break;}}_0x27cb02(0x21e)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x203)),_0x27cb02(0x1fb)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x21f)),_0x27cb02(0x219)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x200)),_0x27cb02(0x229)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x212),_0x27cb02(0x225)),_0x27cb02(0x21a)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x22b)),_0x27cb02(0x23e)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x241)),_0x27cb02(0x206)==_0x2c1cf9&&_0x117586[_0x27cb02(0x21b)](_0x27cb02(0x232));},0x3e8);}[_0x59cc01(0x22a)](){const _0x3941b3=_0x59cc01,{editor:_0x26afdf}=this,_0x44d6a8=_0x26afdf[_0x3941b3(0x222)][_0x3941b3(0x1f4)](_0x3941b3(0x235));if(!_0x44d6a8)return;const _0x407645=this[_0x3941b3(0x234)](_0x26afdf[_0x3941b3(0x214)][_0x3941b3(0x1f4)](_0x3941b3(0x208)))[_0x3941b3(0x23d)]((_0x6e7172,_0x98ef20)=>{const _0x34c84c=_0x3941b3,_0x5591d2=this[_0x34c84c(0x215)](_0x98ef20[_0x34c84c(0x202)]);return _0x6e7172[_0x5591d2]||(_0x6e7172[_0x5591d2]=[]),_0x6e7172[_0x5591d2][_0x34c84c(0x1fc)](_0x98ef20),_0x6e7172;},{});_0x26afdf[_0x3941b3(0x1fa)][_0x3941b3(0x228)](_0x3941b3(0x218))&&_0x26afdf[_0x3941b3(0x222)][_0x3941b3(0x1f4)](_0x3941b3(0x235))&&Object[_0x3941b3(0x20f)](_0x407645)[_0x3941b3(0x20e)](([_0x344abe,_0x15618d])=>{const _0x418004=_0x3941b3;_0x26afdf[_0x418004(0x1fa)][_0x418004(0x1f4)](_0x418004(0x218))[_0x418004(0x217)]({'name':_0x344abe,'observable':()=>_0x44d6a8,'buttonViewCreator':()=>this[_0x418004(0x20a)](_0x15618d),'formViewCreator':()=>this[_0x418004(0x22f)](_0x15618d),'menuBarButtonViewCreator':()=>this[_0x418004(0x240)](_0x15618d),'override':_0x418004(0x1ff)!==_0x344abe});});}[_0x59cc01(0x205)](){const _0x591a8c=_0x59cc01;super[_0x591a8c(0x205)](),this[_0x591a8c(0x1fe)]&&clearInterval(this[_0x591a8c(0x1fe)]);}[_0x59cc01(0x234)](_0x4c6767){const _0x4f66fd=_0x59cc01,{locale:_0xb57ad7}=this[_0x4f66fd(0x220)];return _0x4c6767[_0x4f66fd(0x216)](_0xbcd950=>{const _0x111f2c=_0x4f66fd,_0xadfa7d=_0x2f9e9c(_0xb57ad7,_0xbcd950,_0x111f2c(0x204));switch(_0xbcd950){case _0x5dd43f[_0x111f2c(0x239)]:return{'icon':_0x4c3812,'type':_0x5dd43f[_0x111f2c(0x239)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x226)]:return{'icon':_0x4aadb3,'type':_0x5dd43f[_0x111f2c(0x226)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x1f8)]:return{'icon':_0x2ada58,'type':_0x5dd43f[_0x111f2c(0x1f8)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x238)]:return{'icon':_0x239685,'type':_0x5dd43f[_0x111f2c(0x238)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x210)]:return{'icon':_0x1e2032,'type':_0x5dd43f[_0x111f2c(0x210)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x243)]:return{'icon':_0x3b556e,'type':_0x5dd43f[_0x111f2c(0x243)],..._0xadfa7d};case _0x5dd43f[_0x111f2c(0x211)]:return{'icon':_0x162e2a,'type':_0x5dd43f[_0x111f2c(0x211)],..._0xadfa7d};}});}[_0x59cc01(0x215)](_0x3afb14){const _0x1953eb=_0x59cc01;switch(_0x3afb14){case _0x5dd43f[_0x1953eb(0x239)]:return _0x1953eb(0x1fd);case _0x5dd43f[_0x1953eb(0x226)]:return _0x1953eb(0x1f5);default:return _0x1953eb(0x1ff);}}[_0x59cc01(0x22d)](_0xc96607,_0x33e803){const _0x5547a5=_0x59cc01,_0x1bfa27=this[_0x5547a5(0x220)],_0x31a1cc=new _0xc96607(_0x1bfa27[_0x5547a5(0x244)]),_0x513aaa=_0x1bfa27[_0x5547a5(0x222)][_0x5547a5(0x1f4)](_0x5547a5(0x235));return _0x31a1cc[_0x5547a5(0x20d)](_0x5547a5(0x209))['to'](_0x513aaa),_0x31a1cc['on'](_0x5547a5(0x237),()=>{const _0x48faa1=_0x5547a5;_0x513aaa[_0x48faa1(0x237)](_0x33e803);}),_0x31a1cc;}[_0x59cc01(0x20a)](_0x1aa7fd){const _0x47b73e=_0x59cc01,{locale:_0x29341e}=this[_0x47b73e(0x220)],_0xf5aa2a=this[_0x47b73e(0x220)][_0x47b73e(0x1fa)][_0x47b73e(0x1f4)](_0x47b73e(0x218)),_0x141ef3=_0x1aa7fd[0x0],_0x4468a7=this[_0x47b73e(0x22d)](_0x3c5979,_0x141ef3[_0x47b73e(0x202)]);return _0x4468a7[_0x47b73e(0x21c)]=_0x141ef3[_0x47b73e(0x21c)],_0x4468a7[_0x47b73e(0x20d)](_0x47b73e(0x242))['to'](_0xf5aa2a,_0x47b73e(0x224),_0x27f544=>_0x2f9e9c(_0x29341e,_0x141ef3[_0x47b73e(0x202)],_0x27f544?_0x47b73e(0x227):_0x47b73e(0x204))[_0x47b73e(0x1f9)]),_0x4468a7[_0x47b73e(0x23b)]=!0x0,_0x4468a7;}[_0x59cc01(0x22f)](_0xd4992){const _0x289be0=_0x59cc01,{locale:_0x996e11}=this[_0x289be0(0x220)],_0x3b225a=this[_0x289be0(0x220)][_0x289be0(0x1fa)][_0x289be0(0x1f4)](_0x289be0(0x218));return _0xd4992[_0x289be0(0x216)](_0x51d108=>{const _0x515593=_0x289be0,_0x5eeb3a=this[_0x515593(0x22d)](_0x3c5979,_0x51d108[_0x515593(0x202)]);return _0x5eeb3a[_0x515593(0x201)]=!0x0,_0x5eeb3a[_0x515593(0x21c)]=_0x51d108[_0x515593(0x21c)],_0x5eeb3a[_0x515593(0x20d)](_0x515593(0x242))['to'](_0x3b225a,_0x515593(0x224),_0xb815bc=>_0x2f9e9c(_0x996e11,_0x51d108[_0x515593(0x202)],_0xb815bc?_0x515593(0x227):_0x515593(0x204))[_0x515593(0x1f9)]),_0x5eeb3a;});}[_0x59cc01(0x240)](_0xb08323){const _0x58bf62=_0x59cc01;return _0xb08323[_0x58bf62(0x216)](_0x15a1d4=>{const _0x35ecc2=_0x58bf62,_0x345570=this[_0x35ecc2(0x22d)](_0x4a235b,_0x15a1d4[_0x35ecc2(0x202)]);return _0x345570[_0x35ecc2(0x21c)]=_0x15a1d4[_0x35ecc2(0x21c)],_0x345570[_0x35ecc2(0x242)]=_0x15a1d4[_0x35ecc2(0x21d)],_0x345570;});}}
23
+ function _0x3bab(_0x32fd1b,_0x256e27){const _0x354880=_0x3548();return _0x3bab=function(_0x3babea,_0x46e36e){_0x3babea=_0x3babea-0x1d4;let _0x1b76c8=_0x354880[_0x3babea];return _0x1b76c8;},_0x3bab(_0x32fd1b,_0x256e27);}const _0x35d08d=_0x3bab;(function(_0x39606e,_0x121b08){const _0x367c0c=_0x3bab,_0x1d12c8=_0x39606e();while(!![]){try{const _0x56956c=-parseInt(_0x367c0c(0x1ec))/0x1*(-parseInt(_0x367c0c(0x214))/0x2)+parseInt(_0x367c0c(0x21d))/0x3*(-parseInt(_0x367c0c(0x217))/0x4)+-parseInt(_0x367c0c(0x1d5))/0x5+-parseInt(_0x367c0c(0x223))/0x6*(parseInt(_0x367c0c(0x1f7))/0x7)+parseInt(_0x367c0c(0x20d))/0x8+-parseInt(_0x367c0c(0x203))/0x9+-parseInt(_0x367c0c(0x1e3))/0xa*(-parseInt(_0x367c0c(0x213))/0xb);if(_0x56956c===_0x121b08)break;else _0x1d12c8['push'](_0x1d12c8['shift']());}catch(_0x5a48ea){_0x1d12c8['push'](_0x1d12c8['shift']());}}}(_0x3548,0x85de7));import{Plugin as _0x469cc1}from'ckeditor5/src/core.js';import{IconDropbox as _0x4cb28d,IconFacebook as _0x363aad,IconGoogleDrive as _0x563ca7,IconGooglePhotos as _0x94a0b1,IconUploadcareImageUpload as _0x40b167,IconUploadcareLink as _0x35bf94,IconOneDrive as _0x37ce20}from'ckeditor5/src/icons.js';import{ButtonView as _0x22db84,MenuBarMenuListItemButtonView as _0x5d7ec3}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3d2d6c}from'./uploadcareconfig.js';import{getTranslation as _0x3ff533}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x3548(){const _0x42366a=['trialLimit','url','tooltip','invalid','GPhotos','afterInit','commands','icon','1DfAhuR','Insert','withText','expired','UploadcareUI','push','map','evaluationLimit','_createDropdownButtons','isEnabled','uploadcareLicenseKeyNotAllowed','2296Vdsnlz','GDrive','editor','bind','Uploadcare','text','_createButton','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyUsageLimit','Local','uploadcareLicenseKeyValid','Dropbox','7926912TcrqJI','execute','usageLimit','pluginName','entries','reduce','has','isPremiumPlugin','destroy','config','5999576KoVwoj','Replace','featureNotAllowed','uploadcare.uploader.sourceList','domainLimit','_normalizeConfigSourceList','7018FuYFjU','1017250ckHKel','URL','registerIntegration','1705952cvVcLP','_getIntegrationKey','_showLicenseError','isImageSelected','isOfficialPlugin','type','6KTXkYA','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyEvaluationLimit','shortText','plugins','get','13380uPKpAX','ImageInsertUI','assetManager','uploadcareLicenseKeyInvalid','2530665UyJUUT','Facebook','uploadcareLicenseKeyExpired','forEach','_createMenuBarButtons','uploadcare','licenseKey','label','upload','_createToolbarButton','locale','OneDrive','_licenseKeyCheckInterval','init','35440SiUgMz'];_0x3548=function(){return _0x42366a;};return _0x3548();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x469cc1{[_0x35d08d(0x1db)];[_0x35d08d(0x1e1)];static get[_0x35d08d(0x206)](){const _0x3d2aaf=_0x35d08d;return _0x3d2aaf(0x1f0);}static get[_0x35d08d(0x21b)](){return!0x0;}static get[_0x35d08d(0x20a)](){return!0x0;}[_0x35d08d(0x1e2)](){const _0x511d86=_0x35d08d;this[_0x511d86(0x1db)]=this[_0x511d86(0x1f9)][_0x511d86(0x20c)][_0x511d86(0x222)](_0x511d86(0x1db));const _0x225dd4=this[_0x511d86(0x1f9)];this[_0x511d86(0x1e1)]=setInterval(()=>{const _0x4ed229=_0x511d86;let _0x5c493e;for(const _0x485bab in _0x225dd4){const _0x419a0f=_0x485bab,_0x2260f0=_0x225dd4[_0x419a0f];if(_0x4ed229(0x201)==_0x2260f0||_0x4ed229(0x1d4)==_0x2260f0||_0x4ed229(0x1d7)==_0x2260f0||_0x4ed229(0x21e)==_0x2260f0||_0x4ed229(0x1f6)==_0x2260f0||_0x4ed229(0x21f)==_0x2260f0||_0x4ed229(0x1fe)==_0x2260f0||_0x4ed229(0x1ff)==_0x2260f0){delete _0x225dd4[_0x419a0f],_0x5c493e=_0x2260f0,clearInterval(this[_0x4ed229(0x1e1)]),this[_0x4ed229(0x1e1)]=void 0x0;break;}}_0x4ed229(0x1d4)==_0x5c493e&&_0x225dd4[_0x4ed229(0x219)](_0x4ed229(0x1e7)),_0x4ed229(0x1d7)==_0x5c493e&&_0x225dd4[_0x4ed229(0x219)](_0x4ed229(0x1ef)),_0x4ed229(0x21e)==_0x5c493e&&_0x225dd4[_0x4ed229(0x219)](_0x4ed229(0x211)),_0x4ed229(0x1f6)==_0x5c493e&&_0x225dd4[_0x4ed229(0x219)](_0x4ed229(0x20f),_0x4ed229(0x1fb)),_0x4ed229(0x21f)==_0x5c493e&&_0x225dd4[_0x4ed229(0x219)](_0x4ed229(0x1f3)),_0x4ed229(0x1fe)==_0x5c493e&&_0x225dd4[_0x4ed229(0x219)](_0x4ed229(0x1e4)),_0x4ed229(0x1ff)==_0x5c493e&&_0x225dd4[_0x4ed229(0x219)](_0x4ed229(0x205));},0x3e8);}[_0x35d08d(0x1e9)](){const _0x30453c=_0x35d08d,{editor:_0xdc4605}=this,_0x2d41d3=_0xdc4605[_0x30453c(0x1ea)][_0x30453c(0x222)](_0x30453c(0x1da));if(!_0x2d41d3)return;const _0x55b527=this[_0x30453c(0x212)](_0xdc4605[_0x30453c(0x20c)][_0x30453c(0x222)](_0x30453c(0x210)))[_0x30453c(0x208)]((_0x2498ae,_0x9475ba)=>{const _0x48e807=_0x30453c,_0x42cfcc=this[_0x48e807(0x218)](_0x9475ba[_0x48e807(0x21c)]);return _0x2498ae[_0x42cfcc]||(_0x2498ae[_0x42cfcc]=[]),_0x2498ae[_0x42cfcc][_0x48e807(0x1f1)](_0x9475ba),_0x2498ae;},{});_0xdc4605[_0x30453c(0x221)][_0x30453c(0x209)](_0x30453c(0x224))&&_0xdc4605[_0x30453c(0x1ea)][_0x30453c(0x222)](_0x30453c(0x1da))&&Object[_0x30453c(0x207)](_0x55b527)[_0x30453c(0x1d8)](([_0x1af848,_0x1375f1])=>{const _0x5697a9=_0x30453c;_0xdc4605[_0x5697a9(0x221)][_0x5697a9(0x222)](_0x5697a9(0x224))[_0x5697a9(0x216)]({'name':_0x1af848,'observable':()=>_0x2d41d3,'buttonViewCreator':()=>this[_0x5697a9(0x1de)](_0x1375f1),'formViewCreator':()=>this[_0x5697a9(0x1f4)](_0x1375f1),'menuBarButtonViewCreator':()=>this[_0x5697a9(0x1d9)](_0x1375f1),'override':_0x5697a9(0x225)!==_0x1af848});});}[_0x35d08d(0x20b)](){const _0x55f078=_0x35d08d;super[_0x55f078(0x20b)](),this[_0x55f078(0x1e1)]&&clearInterval(this[_0x55f078(0x1e1)]);}[_0x35d08d(0x212)](_0x168108){const _0xc3daa1=_0x35d08d,{locale:_0x4c043c}=this[_0xc3daa1(0x1f9)];return _0x168108[_0xc3daa1(0x1f2)](_0x3b12e2=>{const _0x2f9a9b=_0xc3daa1,_0xd0b730=_0x3ff533(_0x4c043c,_0x3b12e2,_0x2f9a9b(0x1ed));switch(_0x3b12e2){case _0x3d2d6c[_0x2f9a9b(0x200)]:return{'icon':_0x40b167,'type':_0x3d2d6c[_0x2f9a9b(0x200)],..._0xd0b730};case _0x3d2d6c[_0x2f9a9b(0x215)]:return{'icon':_0x35bf94,'type':_0x3d2d6c[_0x2f9a9b(0x215)],..._0xd0b730};case _0x3d2d6c[_0x2f9a9b(0x202)]:return{'icon':_0x4cb28d,'type':_0x3d2d6c[_0x2f9a9b(0x202)],..._0xd0b730};case _0x3d2d6c[_0x2f9a9b(0x1d6)]:return{'icon':_0x363aad,'type':_0x3d2d6c[_0x2f9a9b(0x1d6)],..._0xd0b730};case _0x3d2d6c[_0x2f9a9b(0x1f8)]:return{'icon':_0x563ca7,'type':_0x3d2d6c[_0x2f9a9b(0x1f8)],..._0xd0b730};case _0x3d2d6c[_0x2f9a9b(0x1e8)]:return{'icon':_0x94a0b1,'type':_0x3d2d6c[_0x2f9a9b(0x1e8)],..._0xd0b730};case _0x3d2d6c[_0x2f9a9b(0x1e0)]:return{'icon':_0x37ce20,'type':_0x3d2d6c[_0x2f9a9b(0x1e0)],..._0xd0b730};}});}[_0x35d08d(0x218)](_0x552ec7){const _0xeca7cc=_0x35d08d;switch(_0x552ec7){case _0x3d2d6c[_0xeca7cc(0x200)]:return _0xeca7cc(0x1dd);case _0x3d2d6c[_0xeca7cc(0x215)]:return _0xeca7cc(0x1e5);default:return _0xeca7cc(0x225);}}[_0x35d08d(0x1fd)](_0x14a6c9,_0x1c4b4c){const _0x3f64bb=_0x35d08d,_0x490aae=this[_0x3f64bb(0x1f9)],_0x410f6e=new _0x14a6c9(_0x490aae[_0x3f64bb(0x1df)]),_0xea11c1=_0x490aae[_0x3f64bb(0x1ea)][_0x3f64bb(0x222)](_0x3f64bb(0x1da));return _0x410f6e[_0x3f64bb(0x1fa)](_0x3f64bb(0x1f5))['to'](_0xea11c1),_0x410f6e['on'](_0x3f64bb(0x204),()=>{const _0x592b59=_0x3f64bb;_0xea11c1[_0x592b59(0x204)](_0x1c4b4c);}),_0x410f6e;}[_0x35d08d(0x1de)](_0x26741e){const _0x2c71e5=_0x35d08d,{locale:_0x2fa9d6}=this[_0x2c71e5(0x1f9)],_0x575568=this[_0x2c71e5(0x1f9)][_0x2c71e5(0x221)][_0x2c71e5(0x222)](_0x2c71e5(0x224)),_0x6d2d87=_0x26741e[0x0],_0x3f2294=this[_0x2c71e5(0x1fd)](_0x22db84,_0x6d2d87[_0x2c71e5(0x21c)]);return _0x3f2294[_0x2c71e5(0x1eb)]=_0x6d2d87[_0x2c71e5(0x1eb)],_0x3f2294[_0x2c71e5(0x1fa)](_0x2c71e5(0x1dc))['to'](_0x575568,_0x2c71e5(0x21a),_0x14fe09=>_0x3ff533(_0x2fa9d6,_0x6d2d87[_0x2c71e5(0x21c)],_0x14fe09?_0x2c71e5(0x20e):_0x2c71e5(0x1ed))[_0x2c71e5(0x1fc)]),_0x3f2294[_0x2c71e5(0x1e6)]=!0x0,_0x3f2294;}[_0x35d08d(0x1f4)](_0x284514){const _0x5a87e2=_0x35d08d,{locale:_0x5bb743}=this[_0x5a87e2(0x1f9)],_0x1f4f3b=this[_0x5a87e2(0x1f9)][_0x5a87e2(0x221)][_0x5a87e2(0x222)](_0x5a87e2(0x224));return _0x284514[_0x5a87e2(0x1f2)](_0x44bd00=>{const _0x2a95b3=_0x5a87e2,_0xe70243=this[_0x2a95b3(0x1fd)](_0x22db84,_0x44bd00[_0x2a95b3(0x21c)]);return _0xe70243[_0x2a95b3(0x1ee)]=!0x0,_0xe70243[_0x2a95b3(0x1eb)]=_0x44bd00[_0x2a95b3(0x1eb)],_0xe70243[_0x2a95b3(0x1fa)](_0x2a95b3(0x1dc))['to'](_0x1f4f3b,_0x2a95b3(0x21a),_0xed07fe=>_0x3ff533(_0x5bb743,_0x44bd00[_0x2a95b3(0x21c)],_0xed07fe?_0x2a95b3(0x20e):_0x2a95b3(0x1ed))[_0x2a95b3(0x1fc)]),_0xe70243;});}[_0x35d08d(0x1d9)](_0x125990){const _0x25e8f2=_0x35d08d;return _0x125990[_0x25e8f2(0x1f2)](_0x3aefe3=>{const _0xe21967=_0x25e8f2,_0x5e1883=this[_0xe21967(0x1fd)](_0x5d7ec3,_0x3aefe3[_0xe21967(0x21c)]);return _0x5e1883[_0xe21967(0x1eb)]=_0x3aefe3[_0xe21967(0x1eb)],_0x5e1883[_0xe21967(0x1dc)]=_0x3aefe3[_0xe21967(0x220)],_0x5e1883;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x3af14c}from'ckeditor5/src/core.js';import{FileRepository as _0xbf8570}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x31cb68}from'./uploadcareediting.js';import{UploadUtils as _0x339bcb}from'./utils/uploadutils.js';import{getImageUrls as _0x2dc0b7}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x3af14c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xbf8570,_0x31cb68];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x31e844=this['editor'];if(!!!_0x31e844['config']['get']('uploadcare'))return;_0x31e844['plugins']['get'](_0xbf8570)['createUploadAdapter']=_0x376196=>new A(_0x376196,_0x31e844),_0x31e844['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x29ef7f,{imageElement:_0x160550,data:_0x1ccf4b})=>{_0x31e844['model']['change'](_0x318c9a=>{_0x318c9a['setAttribute']('uploadcareImageId',_0x1ccf4b['uploadcareImageId'],_0x160550);});});}}class A{['loader'];['editor'];['controller'];constructor(_0xf600b,_0x95d9cb){this['loader']=_0xf600b,this['editor']=_0x95d9cb,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x27460f=this['editor']['config']['get']('uploadcare.pubkey'),_0x25bfb5=await this['loader']['file'];return _0x339bcb['upload']({'file':_0x25bfb5,'publicKey':_0x27460f,'signal':this['controller']['signal'],'onProgress':_0x1fb6b5=>{_0x1fb6b5&&_0x1fb6b5['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1fb6b5['value']);}})['then'](async _0x146e63=>{const {imageFallbackUrl:_0x59eacc,imageSources:_0x12854c}=_0x2dc0b7(_0x146e63['cdnUrl'],_0x146e63['imageInfo']['width']);return{'uploadcareImageId':_0x146e63['uuid'],'default':_0x59eacc,'sources':_0x12854c};})['catch'](()=>{const _0x1d73b4=t('Cannot\x20upload\x20file:')+('\x20'+_0x25bfb5['name']+'.');return Promise['reject'](_0x1d73b4);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x4a23c8}from'ckeditor5/src/core.js';import{FileRepository as _0x1a29ac}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x3b0abe}from'./uploadcareediting.js';import{UploadUtils as _0x17fadc}from'./utils/uploadutils.js';import{getImageUrls as _0x7f6a9}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4a23c8{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1a29ac,_0x3b0abe];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3e834d=this['editor'];if(!!!_0x3e834d['config']['get']('uploadcare'))return;_0x3e834d['plugins']['get'](_0x1a29ac)['createUploadAdapter']=_0x47adeb=>new A(_0x47adeb,_0x3e834d),_0x3e834d['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x3622f2,{imageElement:_0x2e6d9d,data:_0x2c3347})=>{_0x3e834d['model']['change'](_0x2e48eb=>{_0x2e48eb['setAttribute']('uploadcareImageId',_0x2c3347['uploadcareImageId'],_0x2e6d9d);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x2c0082,_0x29d8be){this['loader']=_0x2c0082,this['editor']=_0x29d8be,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5c0442=this['editor']['config']['get']('uploadcare.pubkey'),_0x41cda1=await this['loader']['file'];return _0x17fadc['upload']({'file':_0x41cda1,'publicKey':_0x5c0442,'signal':this['controller']['signal'],'onProgress':_0x5682ed=>{_0x5682ed&&_0x5682ed['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5682ed['value']);}})['then'](async _0x5dc2ec=>{const {imageFallbackUrl:_0x3ae4ab,imageSources:_0xc66be6}=_0x7f6a9(_0x5dc2ec['cdnUrl'],_0x5dc2ec['imageInfo']['width']);return{'uploadcareImageId':_0x5dc2ec['uuid'],'default':_0x3ae4ab,'sources':_0xc66be6};})['catch'](()=>{const _0x1b34e5=t('Cannot\x20upload\x20file:')+('\x20'+_0x41cda1['name']+'.');return Promise['reject'](_0x1b34e5);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x292efe}from'../uploadcareconfig.js';export function getTranslation(_0x4184f2,_0x4bc987,_0x54703e){const t=_0x4184f2['t'],_0x3921dd=_0x4184f2['t'];switch(_0x4bc987){case _0x292efe['Local']:return{'text':_0x3921dd('Insert'===_0x54703e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3921dd('From\x20computer')};case _0x292efe['URL']:return{'text':'Insert'===_0x54703e?_0x3921dd('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3921dd('Via\x20URL')};case _0x292efe['Dropbox']:return{'text':t('Insert'===_0x54703e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x292efe['Facebook']:return{'text':t('Insert'===_0x54703e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x292efe['GDrive']:return{'text':t('Insert'===_0x54703e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x292efe['GPhotos']:return{'text':t('Insert'===_0x54703e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x292efe['OneDrive']:return{'text':t('Insert'===_0x54703e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x4bc987;}}
23
+ import{UploadcareSource as _0x260843}from'../uploadcareconfig.js';export function getTranslation(_0x46cb12,_0x3a398c,_0x5fc98b){const t=_0x46cb12['t'],_0x33389a=_0x46cb12['t'];switch(_0x3a398c){case _0x260843['Local']:return{'text':_0x33389a('Insert'===_0x5fc98b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x33389a('From\x20computer')};case _0x260843['URL']:return{'text':'Insert'===_0x5fc98b?_0x33389a('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x33389a('Via\x20URL')};case _0x260843['Dropbox']:return{'text':t('Insert'===_0x5fc98b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x260843['Facebook']:return{'text':t('Insert'===_0x5fc98b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x260843['GDrive']:return{'text':t('Insert'===_0x5fc98b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x260843['GPhotos']:return{'text':t('Insert'===_0x5fc98b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x260843['OneDrive']:return{'text':t('Insert'===_0x5fc98b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3a398c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2c2533=_0x2e5b;(function(_0x433951,_0x1e86b1){var _0x3f07de=_0x2e5b,_0x1e3eb6=_0x433951();while(!![]){try{var _0x547394=-parseInt(_0x3f07de(0x194))/0x1+-parseInt(_0x3f07de(0x198))/0x2*(parseInt(_0x3f07de(0x19a))/0x3)+-parseInt(_0x3f07de(0x192))/0x4+-parseInt(_0x3f07de(0x193))/0x5+-parseInt(_0x3f07de(0x19b))/0x6+-parseInt(_0x3f07de(0x191))/0x7+parseInt(_0x3f07de(0x19e))/0x8;if(_0x547394===_0x1e86b1)break;else _0x1e3eb6['push'](_0x1e3eb6['shift']());}catch(_0x130e49){_0x1e3eb6['push'](_0x1e3eb6['shift']());}}}(_0x1baa,0x33138));import{FocusTracker as _0x45d2ab}from'ckeditor5/src/utils.js';import{View as _0x44ff10,FocusCycler as _0xb1c2b2}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x2e5b(_0x4bb8c1,_0x1b9ce8){var _0x1baa96=_0x1baa();return _0x2e5b=function(_0x2e5b8b,_0x19679e){_0x2e5b8b=_0x2e5b8b-0x18e;var _0x5f35e0=_0x1baa96[_0x2e5b8b];return _0x5f35e0;},_0x2e5b(_0x4bb8c1,_0x1b9ce8);}export class DialogFocusManagerView extends _0x44ff10{[_0x2c2533(0x19d)];[_0x2c2533(0x19c)];constructor(_0x2224c6){var _0x58e266=_0x2c2533;super(_0x2224c6),this[_0x58e266(0x19d)]=new _0x45d2ab(),this[_0x58e266(0x19c)]=new _0xb1c2b2({'focusables':this[_0x58e266(0x195)](),'focusTracker':this[_0x58e266(0x19d)]});}[_0x2c2533(0x190)](){var _0x3ebc8f=_0x2c2533;return{'tag':_0x3ebc8f(0x18f),'attributes':{'aria-hidden':_0x3ebc8f(0x18e),'tabindex':'0'},'on':{'focus':this[_0x3ebc8f(0x197)]['to'](()=>{var _0x5e63b7=_0x3ebc8f;this[_0x5e63b7(0x19c)][_0x5e63b7(0x199)](_0x5e63b7(0x196));})}};}}function _0x1baa(){var _0x5a529a=['createCollection','forwardCycle','bindTemplate','3636Sadfpt','fire','123CCNBgj','1085178xBmLhF','focusCycler','focusTracker','10712840azdGvV','true','div','getFocusableElement','2117892iINtTT','706636OaBQdW','649150NVJowu','265451NITbUg'];_0x1baa=function(){return _0x5a529a;};return _0x1baa();}
23
+ var _0x4005fa=_0x10de;(function(_0x2b532f,_0x24c030){var _0x52efdb=_0x10de,_0x1097a1=_0x2b532f();while(!![]){try{var _0x29a40c=-parseInt(_0x52efdb(0xe8))/0x1*(-parseInt(_0x52efdb(0xfd))/0x2)+parseInt(_0x52efdb(0xfc))/0x3*(parseInt(_0x52efdb(0xf3))/0x4)+-parseInt(_0x52efdb(0xe9))/0x5*(parseInt(_0x52efdb(0xeb))/0x6)+parseInt(_0x52efdb(0xf7))/0x7*(-parseInt(_0x52efdb(0xee))/0x8)+parseInt(_0x52efdb(0xf8))/0x9+parseInt(_0x52efdb(0xed))/0xa*(-parseInt(_0x52efdb(0xf1))/0xb)+-parseInt(_0x52efdb(0xf9))/0xc*(-parseInt(_0x52efdb(0xfb))/0xd);if(_0x29a40c===_0x24c030)break;else _0x1097a1['push'](_0x1097a1['shift']());}catch(_0x8055ba){_0x1097a1['push'](_0x1097a1['shift']());}}}(_0x4533,0xb4d26));import{FocusTracker as _0x15f283}from'ckeditor5/src/utils.js';import{View as _0x2fe709,FocusCycler as _0x2a902c}from'ckeditor5/src/ui.js';function _0x10de(_0x32106d,_0x38e7bc){var _0x453326=_0x4533();return _0x10de=function(_0x10dea7,_0x2fd406){_0x10dea7=_0x10dea7-0xe8;var _0xe01140=_0x453326[_0x10dea7];return _0xe01140;},_0x10de(_0x32106d,_0x38e7bc);}function _0x4533(){var _0x5e0373=['3804282Jnfyyg','12EMBVDv','fire','13761527hiECmD','857811TNLHod','222ItkAhp','1801szDxTD','10lmpOAe','bindTemplate','1409322YcdxvC','true','296440gRBliT','472MXfkEn','focusTracker','focusCycler','451JVNqBx','createCollection','20YNuZzD','forwardCycle','getFocusableElement','div','81277znqrQk'];_0x4533=function(){return _0x5e0373;};return _0x4533();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x2fe709{[_0x4005fa(0xef)];[_0x4005fa(0xf0)];constructor(_0x4ba31c){var _0x4e4613=_0x4005fa;super(_0x4ba31c),this[_0x4e4613(0xef)]=new _0x15f283(),this[_0x4e4613(0xf0)]=new _0x2a902c({'focusables':this[_0x4e4613(0xf2)](),'focusTracker':this[_0x4e4613(0xef)]});}[_0x4005fa(0xf5)](){var _0x212d48=_0x4005fa;return{'tag':_0x212d48(0xf6),'attributes':{'aria-hidden':_0x212d48(0xec),'tabindex':'0'},'on':{'focus':this[_0x212d48(0xea)]['to'](()=>{var _0x36b7a3=_0x212d48;this[_0x36b7a3(0xf0)][_0x36b7a3(0xfa)](_0x36b7a3(0xf4));})}};}}