@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20250626.0 → 0.0.0-nightly-20250628.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
- const _0x312bac=_0x1537;(function(_0x4e7da0,_0x26c22b){const _0x57ca89=_0x1537,_0xf4d2d8=_0x4e7da0();while(!![]){try{const _0x22462f=parseInt(_0x57ca89(0x22d))/0x1*(-parseInt(_0x57ca89(0x202))/0x2)+-parseInt(_0x57ca89(0x222))/0x3+-parseInt(_0x57ca89(0x23c))/0x4+parseInt(_0x57ca89(0x1fb))/0x5+-parseInt(_0x57ca89(0x218))/0x6+parseInt(_0x57ca89(0x21b))/0x7*(-parseInt(_0x57ca89(0x215))/0x8)+parseInt(_0x57ca89(0x221))/0x9*(parseInt(_0x57ca89(0x21d))/0xa);if(_0x22462f===_0x26c22b)break;else _0xf4d2d8['push'](_0xf4d2d8['shift']());}catch(_0x560944){_0xf4d2d8['push'](_0xf4d2d8['shift']());}}}(_0x7aee,0xee8c6));function _0x1537(_0x289d4b,_0x380de9){const _0x7aee54=_0x7aee();return _0x1537=function(_0x153721,_0x59b44a){_0x153721=_0x153721-0x1f1;let _0x43ae15=_0x7aee54[_0x153721];return _0x43ae15;},_0x1537(_0x289d4b,_0x380de9);}import{Plugin as _0x478bf3}from'ckeditor5/src/core.js';import{Dialog as _0x51f4f5}from'ckeditor5/src/ui.js';import{createElement as _0x440e76,global as _0x56f9f4,uid as _0x4bdd78}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x4fa840}from'./uploadcarecommand.js';function _0x7aee(){const _0x12d0cf=['href','insertImage','remove','add','get','downcast','model','conversion','UploadcareEditing','uploadcareImageId','configElement','_initImageProcessingIndicator','editor','uploadcareImageReplace','isPremiumPlugin','4846232klkOSW','fromCharCode','\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','9071604ajpIjc','querySelector','true','21rnQolg','contentLanguage','10LDzmYK','uploader-','uploadcare.pubkey','ucContextId','54270666qmZzVr','3514317GZCrEE','imageInline','getSelectedElement','isOfficialPlugin','appendChild','ctxElement','_initConversion','extend','_ctxElement','_configElement','_initSchema','41oVGLSF','destroy','once','PictureEditing','_initConfig','init','imageBlock','listenTo','body','for','editing','join','uc-upload-ctx-provider','replaceImageSource','uploadcare.uploader','6413012FjemjD','view','map','#uc-icon-arrow-down','uploadcare','closeMax','pluginName','elementToAttribute','iconHrefResolver','_initCtx','render','requires','commands','upcast','removeAttribute','cleanupImage','getAttribute','execute','input[uploadcare-file-input]','locale','5675780lOiikc','config','data-uc-image-id','document','attributeToAttribute','afterInit','selection','4106Fzoppd','schema','isRegistered','uc-config'];_0x7aee=function(){return _0x12d0cf;};return _0x7aee();}import{UploadcareUploadAdapter as _0x5506f7}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x35d20b}from'./utils/editingutils.js';export class UploadcareEditing extends _0x478bf3{[_0x312bac(0x22b)]=null;[_0x312bac(0x22a)]=null;static get[_0x312bac(0x242)](){const _0x4326ef=_0x312bac;return _0x4326ef(0x20e);}static get[_0x312bac(0x1f2)](){const _0x528cdb=_0x312bac;return[_0x528cdb(0x230),_0x5506f7,_0x51f4f5];}static get[_0x312bac(0x225)](){return!0x0;}static get[_0x312bac(0x214)](){return!0x0;}[_0x312bac(0x220)];get[_0x312bac(0x210)](){const _0x16b6b2=_0x312bac;return this[_0x16b6b2(0x22b)];}get[_0x312bac(0x227)](){const _0x4040a1=_0x312bac;return this[_0x4040a1(0x22a)];}constructor(_0x3c95f4){const _0x1b2c75=_0x312bac;super(_0x3c95f4),this[_0x1b2c75(0x220)]=_0x4bdd78();}[_0x312bac(0x232)](){const _0x48efc1=_0x312bac,_0x117831=this[_0x48efc1(0x212)];_0x117831[_0x48efc1(0x1f3)][_0x48efc1(0x209)](_0x48efc1(0x240),new _0x4fa840(_0x117831));}[_0x312bac(0x200)](){const _0x2238f4=_0x312bac;this[_0x2238f4(0x22c)](),this[_0x2238f4(0x228)](),this[_0x2238f4(0x231)](),this[_0x2238f4(0x245)](),this[_0x2238f4(0x211)](),this[_0x2238f4(0x234)](this[_0x2238f4(0x212)],_0x2238f4(0x22e),()=>{const _0x2fdfe7=_0x2238f4;this[_0x2fdfe7(0x22b)]&&(this[_0x2fdfe7(0x22b)][_0x2fdfe7(0x208)](),this[_0x2fdfe7(0x22b)]=null),this[_0x2fdfe7(0x22a)]&&(this[_0x2fdfe7(0x22a)][_0x2fdfe7(0x208)](),this[_0x2fdfe7(0x22a)]=null);const _0x6122c7=_0x56f9f4[_0x2fdfe7(0x1fe)][_0x2fdfe7(0x219)](_0x2fdfe7(0x1f9));_0x6122c7&&_0x6122c7[_0x2fdfe7(0x208)]();}),async function(_0x59b205){const _0x5e2e2b=_0x5c21ab([0x4c,0x6d,0x56,0x69,0x54,0x44,0x74,0x68,0x6b,0x30,0x5a,0x43,0x4d,0x49,0x72,0x4e,0x71,0x79,0x32,0x47,0x51,0x48,0x64,0x7a,0x53,0x59,0x6c,0x62,0x6e,0x50,0x57,0x35,0x77,0x31,0x6a,0x39,0x58,0x65,0x36,0x76,0x41,0x34,0x33,0x61,0x73,0x70,0x63,0x4a,0x4f,0x4b,0x66,0x67,0x52,0x46,0x55,0x45,0x75,0x6f,0x38,0x42,0x78,0x37]),_0x5a9d54=0x34c1e6a1,_0x539b94=0x34c68d79^_0x5a9d54,_0xd86ea=window[_0x5c21ab([0x44,0x61,0x74,0x65])][_0x5c21ab([0x6e,0x6f,0x77])](),_0x3b9e04=_0x59b205[_0x5c21ab([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x51aa03=new window[(_0x5c21ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x52a395=>{_0x3b9e04[_0x5c21ab([0x6f,0x6e,0x63,0x65])](_0x5c21ab([0x72,0x65,0x61,0x64,0x79]),_0x52a395);}),_0x3f4426={[_0x5c21ab([0x6b,0x74,0x79])]:_0x5c21ab([0x45,0x43]),[_0x5c21ab([0x75,0x73,0x65])]:_0x5c21ab([0x73,0x69,0x67]),[_0x5c21ab([0x63,0x72,0x76])]:_0x5c21ab([0x50,0x2d,0x32,0x35,0x36]),[_0x5c21ab([0x78])]:_0x5c21ab([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]),[_0x5c21ab([0x79])]:_0x5c21ab([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]),[_0x5c21ab([0x61,0x6c,0x67])]:_0x5c21ab([0x45,0x53,0x32,0x35,0x36])},_0xb14966=_0x3b9e04[_0x5c21ab([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c21ab([0x67,0x65,0x74])](_0x5c21ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e08ef(){let _0x4ceced,_0x50aaab=null,_0xc02c1d=null;try{if(_0xb14966==_0x5c21ab([0x47,0x50,0x4c]))return _0x5c21ab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4ceced=_0x47015c(),!_0x4ceced)return _0x5c21ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4ceced[_0x5c21ab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xc02c1d=_0xa192d1(_0x4ceced[_0x5c21ab([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4ceced[_0x5c21ab([0x6a,0x74,0x69])])),await _0x3e049d()?_0x41543f()?_0x2f28a1()?_0x5c21ab([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x70d640()?(_0x4ceced[_0x5c21ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c21ab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x50aaab=_0x566c70(_0x5c21ab([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4ceced[_0x5c21ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c21ab([0x74,0x72,0x69,0x61,0x6c])&&(_0x50aaab=_0x566c70(_0x5c21ab([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x24d7da()):_0x5c21ab([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c21ab([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c21ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c21ab([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2f28a1(){const _0x28758a=[_0x5c21ab([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c21ab([0x74,0x72,0x69,0x61,0x6c])][_0x5c21ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ceced[_0x5c21ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xd86ea/0x3e8:0xe10*_0x539b94;return _0x4ceced[_0x5c21ab([0x65,0x78,0x70])]<_0x28758a;}function _0x41543f(){const _0x54da6e=_0x4ceced[_0x5c21ab([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x54da6e&&(!!_0x54da6e[_0x5c21ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c21ab([0x2a]))||!!_0x54da6e[_0x5c21ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c21ab([0x55,0x50,0x4c,0x43])));}function _0x70d640(){const _0x36b974=_0x1537,_0x13f450=_0x4ceced[_0x5c21ab([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x13f450||0x0==_0x13f450[_0x5c21ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x293873}=new URL(window[_0x5c21ab([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x36b974(0x206)]);if(_0x13f450[_0x5c21ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x293873))return!0x0;const _0x2d8590=_0x293873[_0x5c21ab([0x73,0x70,0x6c,0x69,0x74])](_0x5c21ab([0x2e]));return _0x13f450[_0x5c21ab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bbc00=>_0x1bbc00[_0x5c21ab([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c21ab([0x2a])))[_0x5c21ab([0x6d,0x61,0x70])](_0x545c43=>_0x545c43[_0x5c21ab([0x73,0x70,0x6c,0x69,0x74])](_0x5c21ab([0x2e])))[_0x5c21ab([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x13a4bb=>_0x13a4bb[_0x5c21ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2d8590[_0x5c21ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c21ab([0x6d,0x61,0x70])](_0x3871f6=>Array(_0x2d8590[_0x5c21ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3871f6[_0x5c21ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c21ab([0x66,0x69,0x6c,0x6c])](_0x3871f6[0x0]===_0x5c21ab([0x2a])?_0x5c21ab([0x2a]):'')[_0x5c21ab([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3871f6))[_0x5c21ab([0x73,0x6f,0x6d,0x65])](_0x358a66=>_0x2d8590[_0x5c21ab([0x65,0x76,0x65,0x72,0x79])]((_0x48b4f0,_0x389b66)=>_0x358a66[_0x389b66]===_0x48b4f0||_0x358a66[_0x389b66]===_0x5c21ab([0x2a])));}function _0x24d7da(){return _0x50aaab&&_0xc02c1d?new window[(_0x5c21ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x56fdaf,_0x45bb31)=>{_0x50aaab[_0x5c21ab([0x74,0x68,0x65,0x6e])](_0x56fdaf,_0x45bb31),_0xc02c1d[_0x5c21ab([0x74,0x68,0x65,0x6e])](_0x1c0f24=>{_0x1c0f24!=_0x5c21ab([0x56,0x61,0x6c,0x69,0x64])&&_0x56fdaf(_0x1c0f24);},_0x45bb31);}):_0x50aaab||_0xc02c1d||_0x5c21ab([0x56,0x61,0x6c,0x69,0x64]);}}function _0xa192d1(_0x557b57,_0x3cb044){return new window[(_0x5c21ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf9ba1c=>{if(_0x56508b())return _0xf9ba1c(_0x5c21ab([0x56,0x61,0x6c,0x69,0x64]));_0x213c25(),_0x3b9e04[_0x5c21ab([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c21ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x56771d=!0x1;const _0x1c3697=_0x4bdd78();function _0x1de169(_0x4895ba){return!!_0x4895ba&&(typeof _0x4895ba===_0x5c21ab([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4895ba===_0x5c21ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4895ba[_0x5c21ab([0x74,0x68,0x65,0x6e])]===_0x5c21ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4895ba[_0x5c21ab([0x63,0x61,0x74,0x63,0x68])]===_0x5c21ab([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f1792(_0x62ce5c){_0x4fdd1b(_0x62ce5c)[_0x5c21ab([0x74,0x68,0x65,0x6e])](_0x461f00=>{if(!_0x461f00||_0x461f00[_0x5c21ab([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c21ab([0x6f,0x6b]))return _0x5c21ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4c7463(_0x15cfd9(_0x1c3697+_0x3cb044))!=_0x461f00[_0x5c21ab([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c21ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c21ab([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c21ab([0x74,0x68,0x65,0x6e])](_0x3b6ff8=>(_0x81a61b(),_0x3b6ff8),()=>{const _0x385cb5=_0x3221ac();return null==_0x385cb5?(_0x81a61b(),_0x5c21ab([0x56,0x61,0x6c,0x69,0x64])):_0x5c21ab(_0xd86ea-_0x385cb5>(0x10cd62a1^_0x5a9d54)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c21ab([0x74,0x68,0x65,0x6e])](_0xf9ba1c)[_0x5c21ab([0x63,0x61,0x74,0x63,0x68])](()=>{_0xf9ba1c(_0x5c21ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5d9471=0x34f70821^_0x5a9d54;function _0x81a61b(){const _0x5394ba=_0x5c21ab([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c7463(_0x15cfd9(_0x557b57)),_0x457aaf=_0x42aa0b(_0x4c7463(window[_0x5c21ab([0x4d,0x61,0x74,0x68])][_0x5c21ab([0x63,0x65,0x69,0x6c])](_0xd86ea/_0x5d9471)));window[_0x5c21ab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c21ab([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5394ba,_0x457aaf);}function _0x3221ac(){const _0x3f264e=_0x5c21ab([0x6c,0x6c,0x63,0x74,0x2d])+_0x4c7463(_0x15cfd9(_0x557b57)),_0x50006c=window[_0x5c21ab([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c21ab([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f264e);return _0x50006c?window[_0x5c21ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x42aa0b(_0x50006c),0x10)*_0x5d9471:null;}function _0x4fdd1b(_0x49a8ff){return new window[(_0x5c21ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a7d95,_0x40d8fb)=>{_0x49a8ff[_0x5c21ab([0x74,0x68,0x65,0x6e])](_0x5a7d95,_0x40d8fb),window[_0x5c21ab([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40d8fb,0x34c03261^_0x5a9d54);});}}_0x3b9e04[_0x5c21ab([0x6f,0x6e])](_0x5c21ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xd9d698,_0x668f7b)=>{if(_0x668f7b[0x0]!=_0x557b57)return _0xf9ba1c(_0x5c21ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x668f7b[0x1]={..._0x668f7b[0x1],[_0x5c21ab([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1c3697};},{[_0x5c21ab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c21ab([0x68,0x69,0x67,0x68])}),_0x3b9e04[_0x5c21ab([0x6f,0x6e])](_0x5c21ab([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xc4b0c3=>{_0x1de169(_0xc4b0c3[_0x5c21ab([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x56771d=!0x0,_0x4f1792(_0xc4b0c3[_0x5c21ab([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c21ab([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c21ab([0x6c,0x6f,0x77])}),_0x51aa03[_0x5c21ab([0x74,0x68,0x65,0x6e])](()=>{_0x56771d||_0xf9ba1c(_0x5c21ab([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x56508b(){return _0x3b9e04[_0x5c21ab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c21ab([0x76,0x69,0x65,0x77])][_0x5c21ab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c21ab([0x61,0x75,0x74,0x6f]);}function _0x213c25(){_0x3b9e04[_0x5c21ab([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c21ab([0x76,0x69,0x65,0x77])][_0x5c21ab([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c21ab([0x61,0x75,0x74,0x6f]);}}function _0x566c70(_0x91b61b){const _0x1bd2a7=[new window[(_0x5c21ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x153cbe=>setTimeout(_0x153cbe,0x34c8d86d^_0x5a9d54)),_0x51aa03[_0x5c21ab([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c21ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3aeb6b=>{let _0x3a2b6a=0x0;_0x3b9e04[_0x5c21ab([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c21ab([0x6f,0x6e])](_0x5c21ab([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26f934,_0x39a9bf)=>{_0x39a9bf[0x0][_0x5c21ab([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3a2b6a++,_0x3a2b6a==(0x34c1e759^_0x5a9d54)&&(_0x3aeb6b(),_0x26f934[_0x5c21ab([0x6f,0x66,0x66])]());});}))];return window[_0x5c21ab([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c21ab([0x72,0x61,0x63,0x65])](_0x1bd2a7)[_0x5c21ab([0x74,0x68,0x65,0x6e])](()=>_0x91b61b);}async function _0x5e290d(){await _0x51aa03,_0x3b9e04[_0x5c21ab([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c21ab([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x24d1b3,_0x3b9e04[_0x5c21ab([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c21ab([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x24d1b3,_0x3b9e04[_0x5c21ab([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c21ab([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x33ff30(_0x1b625f){const _0x44305c=_0xeee59a();_0x3b9e04[_0x44305c]=_0x5c21ab([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1b625f,_0x1b625f!=_0x5c21ab([0x56,0x61,0x6c,0x69,0x64])&&_0x5e290d();}function _0xeee59a(){const _0x17ba13=window[_0x5c21ab([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c21ab([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c21ab([0x6e,0x6f,0x77])]())[_0x5c21ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c21ab([0x2e]),'');let _0x156f22=_0x5c21ab([0x4c]);for(let _0x36edcf=0x0;_0x36edcf<_0x17ba13[_0x5c21ab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36edcf+=0x2){let _0x2e63ba=window[_0x5c21ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x17ba13[_0x5c21ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x36edcf,_0x36edcf+0x2));_0x2e63ba>=_0x5e2e2b[_0x5c21ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e63ba-=_0x5e2e2b[_0x5c21ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x156f22+=_0x5e2e2b[_0x2e63ba];}return _0x156f22;}function _0x47015c(){const _0x1f6ecf=_0xb14966[_0x5c21ab([0x73,0x70,0x6c,0x69,0x74])](_0x5c21ab([0x2e]));if(0x3!=_0x1f6ecf[_0x5c21ab([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5f2ec4(_0x1f6ecf[0x1]);function _0x5f2ec4(_0x3f51ce){const _0x3a6a9d=_0x150191(_0x3f51ce);return _0x3a6a9d&&_0x45be82()?_0x3a6a9d:null;function _0x45be82(){const _0x1fb4ee=_0x3a6a9d[_0x5c21ab([0x6a,0x74,0x69])],_0x335463=window[_0x5c21ab([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1fb4ee[_0x5c21ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1fb4ee[_0x5c21ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xfe44ad={..._0x3a6a9d,[_0x5c21ab([0x6a,0x74,0x69])]:_0x1fb4ee[_0x5c21ab([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1fb4ee[_0x5c21ab([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xfe44ad[_0x5c21ab([0x76,0x63])],_0x15cfd9(_0xfe44ad)==_0x335463;}}}async function _0x3e049d(){let _0x26c742=!0x0;try{const _0x2ff49f=_0xb14966[_0x5c21ab([0x73,0x70,0x6c,0x69,0x74])](_0x5c21ab([0x2e])),[_0x2c9c37,_0x3b918b,_0x14a346]=_0x2ff49f;return _0x54bbb1(_0x2c9c37),await _0x5ce2aa(_0x2c9c37,_0x3b918b,_0x14a346),_0x26c742;}catch{return!0x1;}function _0x54bbb1(_0x342db1){const _0x2c91df=_0x150191(_0x342db1);_0x2c91df&&_0x2c91df[_0x5c21ab([0x61,0x6c,0x67])]==_0x5c21ab([0x45,0x53,0x32,0x35,0x36])||(_0x26c742=!0x1);}async function _0x5ce2aa(_0x3ddf82,_0x2f0e27,_0x3909aa){const _0x27a41a=window[_0x5c21ab([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c21ab([0x66,0x72,0x6f,0x6d])](_0xac8830(_0x3909aa),_0x27de44=>_0x27de44[_0x5c21ab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xf471d5=new window[(_0x5c21ab([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c21ab([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ddf82+_0x5c21ab([0x2e])+_0x2f0e27),_0x2a5b88=window[_0x5c21ab([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c21ab([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a5b88)return;const _0x257c57=await _0x2a5b88[_0x5c21ab([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c21ab([0x6a,0x77,0x6b]),_0x3f4426,{[_0x5c21ab([0x6e,0x61,0x6d,0x65])]:_0x5c21ab([0x45,0x43,0x44,0x53,0x41]),[_0x5c21ab([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c21ab([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c21ab([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a5b88[_0x5c21ab([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c21ab([0x6e,0x61,0x6d,0x65])]:_0x5c21ab([0x45,0x43,0x44,0x53,0x41]),[_0x5c21ab([0x68,0x61,0x73,0x68])]:{[_0x5c21ab([0x6e,0x61,0x6d,0x65])]:_0x5c21ab([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x257c57,_0x27a41a,_0xf471d5)||(_0x26c742=!0x1);}}function _0x150191(_0x5c314f){return _0x5c314f[_0x5c21ab([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c21ab([0x65,0x79]))?JSON[_0x5c21ab([0x70,0x61,0x72,0x73,0x65])](_0xac8830(_0x5c314f)):null;}function _0xac8830(_0x29d54c){return window[_0x5c21ab([0x61,0x74,0x6f,0x62])](_0x29d54c[_0x5c21ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c21ab([0x2b]))[_0x5c21ab([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c21ab([0x2f])));}function _0x15cfd9(_0x220de2){let _0x55fca6=0x1505;function _0x54b703(_0x96e6b6){for(let _0x497cb8=0x0;_0x497cb8<_0x96e6b6[_0x5c21ab([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x497cb8++){const _0x39d91b=_0x96e6b6[_0x5c21ab([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x497cb8);_0x55fca6=(_0x55fca6<<0x5)+_0x55fca6+_0x39d91b,_0x55fca6&=_0x55fca6;}}function _0x4addb0(_0x4dd4eb){Array[_0x5c21ab([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4dd4eb)?_0x4dd4eb[_0x5c21ab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4addb0):_0x4dd4eb&&typeof _0x4dd4eb==_0x5c21ab([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c21ab([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4dd4eb)[_0x5c21ab([0x73,0x6f,0x72,0x74])]()[_0x5c21ab([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x176e17,_0xec1524])=>{_0x54b703(_0x176e17),_0x4addb0(_0xec1524);}):_0x54b703(window[_0x5c21ab([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4dd4eb));}return _0x4addb0(_0x220de2),_0x55fca6>>>0x0;}function _0x4c7463(_0x1f72df){return _0x1f72df[_0x5c21ab([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c21ab([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c21ab([0x30]));}function _0x42aa0b(_0x1ef77e){return _0x1ef77e[_0x5c21ab([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c21ab([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c21ab([0x6a,0x6f,0x69,0x6e])]('');}function _0x24d1b3(){}function _0x5c21ab(_0x2a61cc){const _0xa7615b=_0x1537;return _0x2a61cc[_0xa7615b(0x23e)](_0x3bc299=>String[_0xa7615b(0x216)](_0x3bc299))[_0xa7615b(0x238)]('');}_0x33ff30(await _0x4e08ef());}(this);}[_0x312bac(0x22c)](){const _0x261b36=_0x312bac,_0x4c9a31=this[_0x261b36(0x212)][_0x261b36(0x20c)][_0x261b36(0x203)];_0x4c9a31[_0x261b36(0x204)](_0x261b36(0x233))&&_0x4c9a31[_0x261b36(0x229)](_0x261b36(0x233),{'allowAttributes':[_0x261b36(0x20f)]}),_0x4c9a31[_0x261b36(0x204)](_0x261b36(0x223))&&_0x4c9a31[_0x261b36(0x229)](_0x261b36(0x223),{'allowAttributes':[_0x261b36(0x20f)]});}[_0x312bac(0x228)](){const _0x372e97=_0x312bac,_0x559ddd=this[_0x372e97(0x212)];_0x559ddd[_0x372e97(0x20d)][_0x372e97(0x236)](_0x372e97(0x20b))[_0x372e97(0x1ff)]({'model':_0x372e97(0x20f),'view':_0x372e97(0x1fd)}),_0x559ddd[_0x372e97(0x20d)][_0x372e97(0x236)](_0x372e97(0x1f4))[_0x372e97(0x243)]({'model':{'key':_0x372e97(0x20f),'value':_0x352741=>_0x352741[_0x372e97(0x1f7)](_0x372e97(0x1fd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x12ec63=_0x559ddd[_0x372e97(0x1f3)][_0x372e97(0x20a)](_0x372e97(0x23a));_0x12ec63&&this[_0x372e97(0x234)](_0x12ec63,_0x372e97(0x1f6),(_0x353b92,[_0x439b18,_0x1e768e])=>{const _0x6c08f0=_0x372e97;_0x439b18[_0x6c08f0(0x1f5)](_0x6c08f0(0x20f),_0x1e768e);});}[_0x312bac(0x231)](){const _0x4252be=_0x312bac,_0x230189=this[_0x4252be(0x212)][_0x4252be(0x1fc)][_0x4252be(0x20a)](_0x4252be(0x23b))||{},_0x143f05=this[_0x4252be(0x212)][_0x4252be(0x1fc)][_0x4252be(0x20a)](_0x4252be(0x21f))||'';this[_0x4252be(0x22b)]=_0x440e76(_0x56f9f4[_0x4252be(0x1fe)],_0x4252be(0x205),{..._0x230189,'pubkey':_0x143f05,'ctx-name':_0x4252be(0x21e)+this[_0x4252be(0x220)],'sourceList':'','imgOnly':_0x4252be(0x21a),'removeCopyright':_0x4252be(0x21a),'localeName':this[_0x4252be(0x212)][_0x4252be(0x1fa)][_0x4252be(0x21c)],'externalSourcesEmbedCss':_0x4252be(0x217)}),this[_0x4252be(0x22b)][_0x4252be(0x244)]=_0x3ed34c=>{const _0x59cc44=_0x4252be;if(_0x59cc44(0x241)==_0x3ed34c)return _0x59cc44(0x23f);},_0x56f9f4[_0x4252be(0x1fe)][_0x4252be(0x235)][_0x4252be(0x226)](this[_0x4252be(0x22b)]);}[_0x312bac(0x245)](){const _0x19f682=_0x312bac;this[_0x19f682(0x22a)]=_0x440e76(_0x56f9f4[_0x19f682(0x1fe)],_0x19f682(0x239),{'ctx-name':_0x19f682(0x21e)+this[_0x19f682(0x220)]}),_0x56f9f4[_0x19f682(0x1fe)][_0x19f682(0x235)][_0x19f682(0x226)](this[_0x19f682(0x22a)]);}[_0x312bac(0x211)](){const _0x1d485b=_0x312bac,_0x575d43=this[_0x1d485b(0x212)][_0x1d485b(0x1f3)][_0x1d485b(0x20a)](_0x1d485b(0x207));_0x575d43&&this[_0x1d485b(0x234)](_0x575d43,_0x1d485b(0x1f8),()=>{const _0x29469b=_0x1d485b,_0x3d31a9=this[_0x29469b(0x212)][_0x29469b(0x20c)][_0x29469b(0x1fe)][_0x29469b(0x201)][_0x29469b(0x224)]();_0x3d31a9&&_0x3d31a9[_0x29469b(0x1f7)](_0x29469b(0x20f))&&this[_0x29469b(0x212)][_0x29469b(0x237)][_0x29469b(0x23d)][_0x29469b(0x22f)](_0x29469b(0x1f1),()=>{const _0x2bc573=_0x29469b;_0x35d20b(this[_0x2bc573(0x212)],_0x3d31a9);});});const _0x4859f0=this[_0x1d485b(0x212)][_0x1d485b(0x1f3)][_0x1d485b(0x20a)](_0x1d485b(0x213));_0x4859f0&&this[_0x1d485b(0x234)](_0x4859f0,_0x1d485b(0x1f8),()=>{const _0x38b346=_0x1d485b,_0x30d76e=this[_0x38b346(0x212)][_0x38b346(0x20c)][_0x38b346(0x1fe)][_0x38b346(0x201)][_0x38b346(0x224)]();_0x30d76e&&_0x30d76e[_0x38b346(0x1f7)](_0x38b346(0x20f))&&this[_0x38b346(0x212)][_0x38b346(0x237)][_0x38b346(0x23d)][_0x38b346(0x22f)](_0x38b346(0x1f1),()=>{const _0x5a1c98=_0x38b346;_0x35d20b(this[_0x5a1c98(0x212)],_0x30d76e);});});}}
23
+ const _0xd02446=_0x1374;(function(_0x1aa859,_0xb7d8f9){const _0x3065e1=_0x1374,_0x19791d=_0x1aa859();while(!![]){try{const _0xacfa3a=parseInt(_0x3065e1(0x1de))/0x1+-parseInt(_0x3065e1(0x1e0))/0x2+-parseInt(_0x3065e1(0x224))/0x3*(-parseInt(_0x3065e1(0x213))/0x4)+-parseInt(_0x3065e1(0x1fa))/0x5*(parseInt(_0x3065e1(0x204))/0x6)+parseInt(_0x3065e1(0x206))/0x7*(parseInt(_0x3065e1(0x222))/0x8)+-parseInt(_0x3065e1(0x202))/0x9+-parseInt(_0x3065e1(0x1e5))/0xa*(-parseInt(_0x3065e1(0x1dc))/0xb);if(_0xacfa3a===_0xb7d8f9)break;else _0x19791d['push'](_0x19791d['shift']());}catch(_0x14d586){_0x19791d['push'](_0x19791d['shift']());}}}(_0x449b,0x60f9b));function _0x449b(){const _0x45d89a=['conversion','_initCtx','\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','_initSchema','closeMax','pluginName','isRegistered','editor','attributeToAttribute','elementToAttribute','remove','appendChild','52cvrSBg','ctxElement','iconHrefResolver','execute','querySelector','_ctxElement','config','upcast','join','uploadcare','for','model','listenTo','editing','get','8ZqiRBU','extend','32367ZzLBSx','_initConfig','getAttribute','_configElement','replaceImageSource','commands','configElement','init','imageInline','PictureEditing','map','_initConversion','imageBlock','add','11XsnbJf','fromCharCode','513005bZiLea','data-uc-image-id','297638DyHItG','uc-upload-ctx-provider','isOfficialPlugin','render','uploadcare.pubkey','3784330BWKMZo','locale','getSelectedElement','uploadcareImageReplace','#uc-icon-arrow-down','downcast','document','href','uploadcareImageId','_initImageProcessingIndicator','requires','UploadcareEditing','uploadcare.uploader','uploader-','input[uploadcare-file-input]','true','afterInit','selection','view','ucContextId','schema','21155IVADlB','destroy','body','isPremiumPlugin','once','insertImage','uc-config','cleanupImage','376614tmNJBx','removeAttribute','738usYkaQ','contentLanguage','536158MlmPzb'];_0x449b=function(){return _0x45d89a;};return _0x449b();}import{Plugin as _0x257d5b}from'ckeditor5/src/core.js';import{Dialog as _0x474984}from'ckeditor5/src/ui.js';import{createElement as _0x1a9d8c,global as _0x3630d7,uid as _0x232b13}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x39ec99}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x57e420}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x480028}from'./utils/editingutils.js';function _0x1374(_0x35d61a,_0x5d2770){const _0x449bf8=_0x449b();return _0x1374=function(_0x137493,_0x1f2f96){_0x137493=_0x137493-0x1d6;let _0x167a3c=_0x449bf8[_0x137493];return _0x167a3c;},_0x1374(_0x35d61a,_0x5d2770);}export class UploadcareEditing extends _0x257d5b{[_0xd02446(0x227)]=null;[_0xd02446(0x218)]=null;static get[_0xd02446(0x20c)](){const _0x11a529=_0xd02446;return _0x11a529(0x1f0);}static get[_0xd02446(0x1ef)](){const _0x49c804=_0xd02446;return[_0x49c804(0x1d7),_0x57e420,_0x474984];}static get[_0xd02446(0x1e2)](){return!0x0;}static get[_0xd02446(0x1fd)](){return!0x0;}[_0xd02446(0x1f8)];get[_0xd02446(0x22a)](){const _0x12d73f=_0xd02446;return this[_0x12d73f(0x227)];}get[_0xd02446(0x214)](){const _0x196760=_0xd02446;return this[_0x196760(0x218)];}constructor(_0x3d2725){const _0x5f4abd=_0xd02446;super(_0x3d2725),this[_0x5f4abd(0x1f8)]=_0x232b13();}[_0xd02446(0x22b)](){const _0x2fafed=_0xd02446,_0x16093c=this[_0x2fafed(0x20e)];_0x16093c[_0x2fafed(0x229)][_0x2fafed(0x1db)](_0x2fafed(0x21c),new _0x39ec99(_0x16093c));}[_0xd02446(0x1f5)](){const _0x45f964=_0xd02446;this[_0x45f964(0x20a)](),this[_0x45f964(0x1d9)](),this[_0x45f964(0x225)](),this[_0x45f964(0x208)](),this[_0x45f964(0x1ee)](),this[_0x45f964(0x21f)](this[_0x45f964(0x20e)],_0x45f964(0x1fb),()=>{const _0x15b99=_0x45f964;this[_0x15b99(0x227)]&&(this[_0x15b99(0x227)][_0x15b99(0x211)](),this[_0x15b99(0x227)]=null),this[_0x15b99(0x218)]&&(this[_0x15b99(0x218)][_0x15b99(0x211)](),this[_0x15b99(0x218)]=null);const _0x356c70=_0x3630d7[_0x15b99(0x1eb)][_0x15b99(0x217)](_0x15b99(0x1f3));_0x356c70&&_0x356c70[_0x15b99(0x211)]();}),async function(_0xb350fc){const _0x4e559d=_0x11361e([0x77,0x36,0x37,0x42,0x41,0x6d,0x6f,0x4c,0x53,0x52,0x30,0x78,0x4e,0x32,0x63,0x6b,0x55,0x69,0x79,0x6a,0x66,0x67,0x6c,0x31,0x38,0x64,0x72,0x65,0x35,0x58,0x44,0x5a,0x4a,0x59,0x48,0x56,0x75,0x51,0x43,0x4b,0x6e,0x73,0x7a,0x68,0x46,0x74,0x47,0x4f,0x70,0x50,0x62,0x49,0x54,0x45,0x71,0x39,0x76,0x61,0x34,0x33,0x4d,0x57]),_0x4a1bcb=0x3368afbd,_0xa5fc83=0x336fc3b5^_0x4a1bcb,_0x2429da=window[_0x11361e([0x44,0x61,0x74,0x65])][_0x11361e([0x6e,0x6f,0x77])](),_0xeb7c9=_0xb350fc[_0x11361e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x45df25=new window[(_0x11361e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30a00b=>{_0xeb7c9[_0x11361e([0x6f,0x6e,0x63,0x65])](_0x11361e([0x72,0x65,0x61,0x64,0x79]),_0x30a00b);}),_0x63a902={[_0x11361e([0x6b,0x74,0x79])]:_0x11361e([0x45,0x43]),[_0x11361e([0x75,0x73,0x65])]:_0x11361e([0x73,0x69,0x67]),[_0x11361e([0x63,0x72,0x76])]:_0x11361e([0x50,0x2d,0x32,0x35,0x36]),[_0x11361e([0x78])]:_0x11361e([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]),[_0x11361e([0x79])]:_0x11361e([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]),[_0x11361e([0x61,0x6c,0x67])]:_0x11361e([0x45,0x53,0x32,0x35,0x36])},_0x4ca53e=_0xeb7c9[_0x11361e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x11361e([0x67,0x65,0x74])](_0x11361e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5d60d6(){let _0xd705d,_0xbd32a0=null,_0x3ee63a=null;try{if(_0x4ca53e==_0x11361e([0x47,0x50,0x4c]))return _0x11361e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd705d=_0x4eb415(),!_0xd705d)return _0x11361e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd705d[_0x11361e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3ee63a=_0x1ea60e(_0xd705d[_0x11361e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd705d[_0x11361e([0x6a,0x74,0x69])])),await _0x4d23ea()?_0x2ed304()?_0x538a2c()?_0x11361e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22e30f()?(_0xd705d[_0x11361e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11361e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xbd32a0=_0x48e99e(_0x11361e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xd705d[_0x11361e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11361e([0x74,0x72,0x69,0x61,0x6c])&&(_0xbd32a0=_0x48e99e(_0x11361e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fced6()):_0x11361e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x11361e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x11361e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x11361e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x538a2c(){const _0x3abafa=[_0x11361e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x11361e([0x74,0x72,0x69,0x61,0x6c])][_0x11361e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd705d[_0x11361e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2429da/0x3e8:0xe10*_0xa5fc83;return _0xd705d[_0x11361e([0x65,0x78,0x70])]<_0x3abafa;}function _0x2ed304(){const _0x5e2de6=_0xd705d[_0x11361e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5e2de6&&(!!_0x5e2de6[_0x11361e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11361e([0x2a]))||!!_0x5e2de6[_0x11361e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11361e([0x55,0x50,0x4c,0x43])));}function _0x22e30f(){const _0x5a5721=_0x1374,_0x31cbe1=_0xd705d[_0x11361e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x31cbe1||0x0==_0x31cbe1[_0x11361e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x36c597}=new URL(window[_0x11361e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5a5721(0x1ec)]);if(_0x31cbe1[_0x11361e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c597))return!0x0;const _0x2c909a=_0x36c597[_0x11361e([0x73,0x70,0x6c,0x69,0x74])](_0x11361e([0x2e]));return _0x31cbe1[_0x11361e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a8002=>_0x4a8002[_0x11361e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11361e([0x2a])))[_0x11361e([0x6d,0x61,0x70])](_0x27a06c=>_0x27a06c[_0x11361e([0x73,0x70,0x6c,0x69,0x74])](_0x11361e([0x2e])))[_0x11361e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x45111c=>_0x45111c[_0x11361e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2c909a[_0x11361e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11361e([0x6d,0x61,0x70])](_0x227d0b=>Array(_0x2c909a[_0x11361e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x227d0b[_0x11361e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11361e([0x66,0x69,0x6c,0x6c])](_0x227d0b[0x0]===_0x11361e([0x2a])?_0x11361e([0x2a]):'')[_0x11361e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x227d0b))[_0x11361e([0x73,0x6f,0x6d,0x65])](_0x9fd26=>_0x2c909a[_0x11361e([0x65,0x76,0x65,0x72,0x79])]((_0x2c5c39,_0x5cb26a)=>_0x9fd26[_0x5cb26a]===_0x2c5c39||_0x9fd26[_0x5cb26a]===_0x11361e([0x2a])));}function _0x2fced6(){return _0xbd32a0&&_0x3ee63a?new window[(_0x11361e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x16bf45,_0xf40da5)=>{_0xbd32a0[_0x11361e([0x74,0x68,0x65,0x6e])](_0x16bf45,_0xf40da5),_0x3ee63a[_0x11361e([0x74,0x68,0x65,0x6e])](_0x541fd5=>{_0x541fd5!=_0x11361e([0x56,0x61,0x6c,0x69,0x64])&&_0x16bf45(_0x541fd5);},_0xf40da5);}):_0xbd32a0||_0x3ee63a||_0x11361e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1ea60e(_0x2cf80d,_0x8917f3){return new window[(_0x11361e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x160886=>{if(_0x1b2665())return _0x160886(_0x11361e([0x56,0x61,0x6c,0x69,0x64]));_0x31d878(),_0xeb7c9[_0x11361e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x11361e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3b8813=!0x1;const _0x44220c=_0x232b13();function _0x1e69f0(_0xea2e18){return!!_0xea2e18&&(typeof _0xea2e18===_0x11361e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xea2e18===_0x11361e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xea2e18[_0x11361e([0x74,0x68,0x65,0x6e])]===_0x11361e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xea2e18[_0x11361e([0x63,0x61,0x74,0x63,0x68])]===_0x11361e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3cb718(_0xb1e18b){_0x2878bc(_0xb1e18b)[_0x11361e([0x74,0x68,0x65,0x6e])](_0x124372=>{if(!_0x124372||_0x124372[_0x11361e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x11361e([0x6f,0x6b]))return _0x11361e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x571355(_0x2c382f(_0x44220c+_0x8917f3))!=_0x124372[_0x11361e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x11361e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x11361e([0x56,0x61,0x6c,0x69,0x64]);})[_0x11361e([0x74,0x68,0x65,0x6e])](_0x266e93=>(_0xf6757c(),_0x266e93),()=>{const _0x449c3d=_0x540765();return null==_0x449c3d?(_0xf6757c(),_0x11361e([0x56,0x61,0x6c,0x69,0x64])):_0x11361e(_0x2429da-_0x449c3d>(0x17642bbd^_0x4a1bcb)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x11361e([0x74,0x68,0x65,0x6e])](_0x160886)[_0x11361e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x160886(_0x11361e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x52a387=0x335e413d^_0x4a1bcb;function _0xf6757c(){const _0x58719f=_0x11361e([0x6c,0x6c,0x63,0x74,0x2d])+_0x571355(_0x2c382f(_0x2cf80d)),_0x169c24=_0x1bf862(_0x571355(window[_0x11361e([0x4d,0x61,0x74,0x68])][_0x11361e([0x63,0x65,0x69,0x6c])](_0x2429da/_0x52a387)));window[_0x11361e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11361e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58719f,_0x169c24);}function _0x540765(){const _0x590c16=_0x11361e([0x6c,0x6c,0x63,0x74,0x2d])+_0x571355(_0x2c382f(_0x2cf80d)),_0x1126ae=window[_0x11361e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11361e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x590c16);return _0x1126ae?window[_0x11361e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bf862(_0x1126ae),0x10)*_0x52a387:null;}function _0x2878bc(_0x53b568){return new window[(_0x11361e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb7f231,_0x263fc5)=>{_0x53b568[_0x11361e([0x74,0x68,0x65,0x6e])](_0xb7f231,_0x263fc5),window[_0x11361e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x263fc5,0x33697b7d^_0x4a1bcb);});}}_0xeb7c9[_0x11361e([0x6f,0x6e])](_0x11361e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1b92eb,_0x1f5167)=>{if(_0x1f5167[0x0]!=_0x2cf80d)return _0x160886(_0x11361e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1f5167[0x1]={..._0x1f5167[0x1],[_0x11361e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x44220c};},{[_0x11361e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11361e([0x68,0x69,0x67,0x68])}),_0xeb7c9[_0x11361e([0x6f,0x6e])](_0x11361e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x15d37f=>{_0x1e69f0(_0x15d37f[_0x11361e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3b8813=!0x0,_0x3cb718(_0x15d37f[_0x11361e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x11361e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11361e([0x6c,0x6f,0x77])}),_0x45df25[_0x11361e([0x74,0x68,0x65,0x6e])](()=>{_0x3b8813||_0x160886(_0x11361e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1b2665(){return _0xeb7c9[_0x11361e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11361e([0x76,0x69,0x65,0x77])][_0x11361e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x11361e([0x61,0x75,0x74,0x6f]);}function _0x31d878(){_0xeb7c9[_0x11361e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11361e([0x76,0x69,0x65,0x77])][_0x11361e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x11361e([0x61,0x75,0x74,0x6f]);}}function _0x48e99e(_0x59ba25){const _0xa63977=[new window[(_0x11361e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29115c=>setTimeout(_0x29115c,0x33619171^_0x4a1bcb)),_0x45df25[_0x11361e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x11361e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1673da=>{let _0x566409=0x0;_0xeb7c9[_0x11361e([0x6d,0x6f,0x64,0x65,0x6c])][_0x11361e([0x6f,0x6e])](_0x11361e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3b8f8b,_0x4e57e8)=>{_0x4e57e8[0x0][_0x11361e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x566409++,_0x566409==(0x3368ae45^_0x4a1bcb)&&(_0x1673da(),_0x3b8f8b[_0x11361e([0x6f,0x66,0x66])]());});}))];return window[_0x11361e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x11361e([0x72,0x61,0x63,0x65])](_0xa63977)[_0x11361e([0x74,0x68,0x65,0x6e])](()=>_0x59ba25);}async function _0x575b26(){await _0x45df25,_0xeb7c9[_0x11361e([0x6d,0x6f,0x64,0x65,0x6c])][_0x11361e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x557620,_0xeb7c9[_0x11361e([0x6d,0x6f,0x64,0x65,0x6c])][_0x11361e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x557620,_0xeb7c9[_0x11361e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x11361e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd44b4(_0x2f67a9){const _0x2afcdc=_0x5cd95c();_0xeb7c9[_0x2afcdc]=_0x11361e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2f67a9,_0x2f67a9!=_0x11361e([0x56,0x61,0x6c,0x69,0x64])&&_0x575b26();}function _0x5cd95c(){const _0x1ccf4f=window[_0x11361e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x11361e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x11361e([0x6e,0x6f,0x77])]())[_0x11361e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x11361e([0x2e]),'');let _0x1d414b=_0x11361e([0x77]);for(let _0x5562bf=0x0;_0x5562bf<_0x1ccf4f[_0x11361e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5562bf+=0x2){let _0x548c38=window[_0x11361e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ccf4f[_0x11361e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5562bf,_0x5562bf+0x2));_0x548c38>=_0x4e559d[_0x11361e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x548c38-=_0x4e559d[_0x11361e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1d414b+=_0x4e559d[_0x548c38];}return _0x1d414b;}function _0x4eb415(){const _0xd08de0=_0x4ca53e[_0x11361e([0x73,0x70,0x6c,0x69,0x74])](_0x11361e([0x2e]));if(0x3!=_0xd08de0[_0x11361e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x56f073(_0xd08de0[0x1]);function _0x56f073(_0x3f244f){const _0x3c79ff=_0xb33335(_0x3f244f);return _0x3c79ff&&_0x5a595d()?_0x3c79ff:null;function _0x5a595d(){const _0x508840=_0x3c79ff[_0x11361e([0x6a,0x74,0x69])],_0x274404=window[_0x11361e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x508840[_0x11361e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x508840[_0x11361e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x70736d={..._0x3c79ff,[_0x11361e([0x6a,0x74,0x69])]:_0x508840[_0x11361e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x508840[_0x11361e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x70736d[_0x11361e([0x76,0x63])],_0x2c382f(_0x70736d)==_0x274404;}}}async function _0x4d23ea(){let _0x9b1ac0=!0x0;try{const _0x583b19=_0x4ca53e[_0x11361e([0x73,0x70,0x6c,0x69,0x74])](_0x11361e([0x2e])),[_0x509358,_0x1333a0,_0x2903e]=_0x583b19;return _0xc21479(_0x509358),await _0x30036d(_0x509358,_0x1333a0,_0x2903e),_0x9b1ac0;}catch{return!0x1;}function _0xc21479(_0x4f8adb){const _0x2ba42d=_0xb33335(_0x4f8adb);_0x2ba42d&&_0x2ba42d[_0x11361e([0x61,0x6c,0x67])]==_0x11361e([0x45,0x53,0x32,0x35,0x36])||(_0x9b1ac0=!0x1);}async function _0x30036d(_0x53f44b,_0x14ecf9,_0x3f013f){const _0x360580=window[_0x11361e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x11361e([0x66,0x72,0x6f,0x6d])](_0x34af13(_0x3f013f),_0x5904d4=>_0x5904d4[_0x11361e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5d0b00=new window[(_0x11361e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x11361e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53f44b+_0x11361e([0x2e])+_0x14ecf9),_0x245a4a=window[_0x11361e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x11361e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x245a4a)return;const _0x4a3429=await _0x245a4a[_0x11361e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x11361e([0x6a,0x77,0x6b]),_0x63a902,{[_0x11361e([0x6e,0x61,0x6d,0x65])]:_0x11361e([0x45,0x43,0x44,0x53,0x41]),[_0x11361e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x11361e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x11361e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x245a4a[_0x11361e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x11361e([0x6e,0x61,0x6d,0x65])]:_0x11361e([0x45,0x43,0x44,0x53,0x41]),[_0x11361e([0x68,0x61,0x73,0x68])]:{[_0x11361e([0x6e,0x61,0x6d,0x65])]:_0x11361e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4a3429,_0x360580,_0x5d0b00)||(_0x9b1ac0=!0x1);}}function _0xb33335(_0x4edc29){return _0x4edc29[_0x11361e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x11361e([0x65,0x79]))?JSON[_0x11361e([0x70,0x61,0x72,0x73,0x65])](_0x34af13(_0x4edc29)):null;}function _0x34af13(_0x524f6e){return window[_0x11361e([0x61,0x74,0x6f,0x62])](_0x524f6e[_0x11361e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x11361e([0x2b]))[_0x11361e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x11361e([0x2f])));}function _0x2c382f(_0x5da3ba){let _0x418334=0x1505;function _0x2b01f1(_0x4cc8eb){for(let _0x249bed=0x0;_0x249bed<_0x4cc8eb[_0x11361e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x249bed++){const _0x3a19d9=_0x4cc8eb[_0x11361e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x249bed);_0x418334=(_0x418334<<0x5)+_0x418334+_0x3a19d9,_0x418334&=_0x418334;}}function _0x305b69(_0x3222a0){Array[_0x11361e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3222a0)?_0x3222a0[_0x11361e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x305b69):_0x3222a0&&typeof _0x3222a0==_0x11361e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x11361e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3222a0)[_0x11361e([0x73,0x6f,0x72,0x74])]()[_0x11361e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1c33fb,_0x5c9e98])=>{_0x2b01f1(_0x1c33fb),_0x305b69(_0x5c9e98);}):_0x2b01f1(window[_0x11361e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3222a0));}return _0x305b69(_0x5da3ba),_0x418334>>>0x0;}function _0x571355(_0x220439){return _0x220439[_0x11361e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x11361e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x11361e([0x30]));}function _0x1bf862(_0x168064){return _0x168064[_0x11361e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x11361e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x11361e([0x6a,0x6f,0x69,0x6e])]('');}function _0x557620(){}function _0x11361e(_0x49fe74){const _0x10e4ac=_0x1374;return _0x49fe74[_0x10e4ac(0x1d8)](_0x5b6c24=>String[_0x10e4ac(0x1dd)](_0x5b6c24))[_0x10e4ac(0x21b)]('');}_0xd44b4(await _0x5d60d6());}(this);}[_0xd02446(0x20a)](){const _0x58b6a7=_0xd02446,_0x454574=this[_0x58b6a7(0x20e)][_0x58b6a7(0x21e)][_0x58b6a7(0x1f9)];_0x454574[_0x58b6a7(0x20d)](_0x58b6a7(0x1da))&&_0x454574[_0x58b6a7(0x223)](_0x58b6a7(0x1da),{'allowAttributes':[_0x58b6a7(0x1ed)]}),_0x454574[_0x58b6a7(0x20d)](_0x58b6a7(0x1d6))&&_0x454574[_0x58b6a7(0x223)](_0x58b6a7(0x1d6),{'allowAttributes':[_0x58b6a7(0x1ed)]});}[_0xd02446(0x1d9)](){const _0x66488f=_0xd02446,_0x1bba32=this[_0x66488f(0x20e)];_0x1bba32[_0x66488f(0x207)][_0x66488f(0x21d)](_0x66488f(0x1ea))[_0x66488f(0x20f)]({'model':_0x66488f(0x1ed),'view':_0x66488f(0x1df)}),_0x1bba32[_0x66488f(0x207)][_0x66488f(0x21d)](_0x66488f(0x21a))[_0x66488f(0x210)]({'model':{'key':_0x66488f(0x1ed),'value':_0x36e3b5=>_0x36e3b5[_0x66488f(0x226)](_0x66488f(0x1df))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x162ed6=_0x1bba32[_0x66488f(0x229)][_0x66488f(0x221)](_0x66488f(0x228));_0x162ed6&&this[_0x66488f(0x21f)](_0x162ed6,_0x66488f(0x201),(_0x582c0a,[_0x4c8a85,_0x268723])=>{const _0x1adbcc=_0x66488f;_0x4c8a85[_0x1adbcc(0x203)](_0x1adbcc(0x1ed),_0x268723);});}[_0xd02446(0x225)](){const _0x111df0=_0xd02446,_0x3303f0=this[_0x111df0(0x20e)][_0x111df0(0x219)][_0x111df0(0x221)](_0x111df0(0x1f1))||{},_0x593e71=this[_0x111df0(0x20e)][_0x111df0(0x219)][_0x111df0(0x221)](_0x111df0(0x1e4))||'';this[_0x111df0(0x227)]=_0x1a9d8c(_0x3630d7[_0x111df0(0x1eb)],_0x111df0(0x200),{..._0x3303f0,'pubkey':_0x593e71,'ctx-name':_0x111df0(0x1f2)+this[_0x111df0(0x1f8)],'sourceList':'','imgOnly':_0x111df0(0x1f4),'removeCopyright':_0x111df0(0x1f4),'localeName':this[_0x111df0(0x20e)][_0x111df0(0x1e6)][_0x111df0(0x205)],'externalSourcesEmbedCss':_0x111df0(0x209)}),this[_0x111df0(0x227)][_0x111df0(0x215)]=_0x1531ef=>{const _0x4ea108=_0x111df0;if(_0x4ea108(0x20b)==_0x1531ef)return _0x4ea108(0x1e9);},_0x3630d7[_0x111df0(0x1eb)][_0x111df0(0x1fc)][_0x111df0(0x212)](this[_0x111df0(0x227)]);}[_0xd02446(0x208)](){const _0x1f55e5=_0xd02446;this[_0x1f55e5(0x218)]=_0x1a9d8c(_0x3630d7[_0x1f55e5(0x1eb)],_0x1f55e5(0x1e1),{'ctx-name':_0x1f55e5(0x1f2)+this[_0x1f55e5(0x1f8)]}),_0x3630d7[_0x1f55e5(0x1eb)][_0x1f55e5(0x1fc)][_0x1f55e5(0x212)](this[_0x1f55e5(0x218)]);}[_0xd02446(0x1ee)](){const _0x1a4bf1=_0xd02446,_0x225217=this[_0x1a4bf1(0x20e)][_0x1a4bf1(0x229)][_0x1a4bf1(0x221)](_0x1a4bf1(0x1ff));_0x225217&&this[_0x1a4bf1(0x21f)](_0x225217,_0x1a4bf1(0x216),()=>{const _0x5c3b13=_0x1a4bf1,_0x4ba466=this[_0x5c3b13(0x20e)][_0x5c3b13(0x21e)][_0x5c3b13(0x1eb)][_0x5c3b13(0x1f6)][_0x5c3b13(0x1e7)]();_0x4ba466&&_0x4ba466[_0x5c3b13(0x226)](_0x5c3b13(0x1ed))&&this[_0x5c3b13(0x20e)][_0x5c3b13(0x220)][_0x5c3b13(0x1f7)][_0x5c3b13(0x1fe)](_0x5c3b13(0x1e3),()=>{const _0x4eac2a=_0x5c3b13;_0x480028(this[_0x4eac2a(0x20e)],_0x4ba466);});});const _0x830e05=this[_0x1a4bf1(0x20e)][_0x1a4bf1(0x229)][_0x1a4bf1(0x221)](_0x1a4bf1(0x1e8));_0x830e05&&this[_0x1a4bf1(0x21f)](_0x830e05,_0x1a4bf1(0x216),()=>{const _0x1b9314=_0x1a4bf1,_0x163053=this[_0x1b9314(0x20e)][_0x1b9314(0x21e)][_0x1b9314(0x1eb)][_0x1b9314(0x1f6)][_0x1b9314(0x1e7)]();_0x163053&&_0x163053[_0x1b9314(0x226)](_0x1b9314(0x1ed))&&this[_0x1b9314(0x20e)][_0x1b9314(0x220)][_0x1b9314(0x1f7)][_0x1b9314(0x1fe)](_0x1b9314(0x1e3),()=>{const _0x29462b=_0x1b9314;_0x480028(this[_0x29462b(0x20e)],_0x163053);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x5a787f,ObservableMixin as _0x22ece6}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x401e9e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x231f2c}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x11a1f4}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x37e114}from'../../utils/uploadutils.js';import{getImageUrls as _0xfa9cb0,getImageDimension as _0x2ddbba}from'../../utils/editingutils.js';import{isAncestor as _0x35074d}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x22ece6(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x135db2,_0x22fe8b,_0x4792be){super(),this['_editor']=_0x135db2,this['_dialog']=_0x22fe8b,this['_imageElement']=_0x4792be,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 _0xfe459f=this['_imageElement'],_0x2c49e1=_0xfe459f['getAttribute']('uploadcareImageId'),_0x32b8a1=_0xfe459f['getAttribute']('src');if(_0x2c49e1)await this['_loadImageInfo'](_0x2c49e1,_0x32b8a1);else{if(this['_imageCache']['has'](_0x32b8a1)){const _0x5f5702=this['_imageCache']['get'](_0x32b8a1);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x5f5702['url'],this['imageDimension']=_0x5f5702['dimension'],this['imageId']=_0x5f5702['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x49499b}=this['_editor'],t=_0x49499b['t'],_0x39dec7=new _0x11a1f4(_0x49499b,this['imageStatus'],this['_attributes']);_0x39dec7['bind']('status')['to'](this,'imageStatus'),_0x39dec7['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x39dec7['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x39dec7['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x39dec7,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x231f2c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x39dec7,'position':_0x401e9e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x39dec7['focus']();},'onHide':()=>{_0x39dec7['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x250634=>!_0x35074d(_0x250634,_0x39dec7['element'])}});}['_loadImageInfo'](_0xb9959b,_0x3d5fc3){return _0x37e114['getInfo'](_0xb9959b,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x1a2045=>{const {width:_0x939b79,height:_0x4a69b9}=_0x1a2045['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3d5fc3,this['imageDimension']={'width':_0x939b79,'height':_0x4a69b9},this['imageId']=_0xb9959b;})['catch'](_0x5bf731=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5bf731['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x4b5f65,_0x36583c){return this['_getImageAsFile'](_0x4b5f65)['then'](_0x5c2334=>_0x37e114['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x36583c['signal'],'file':_0x5c2334,'onProgress':_0x585048=>{_0x585048&&_0x585048['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x585048['value']));}}))['then'](_0x2a28ac=>{const {width:_0x11e72d,height:_0x20df62}=_0x2a28ac['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2a28ac['cdnUrl'],this['imageDimension']={'width':_0x11e72d,'height':_0x20df62},this['imageId']=_0x2a28ac['uuid'],this['imageUploadProgress']=null;const _0x29c6ce=_0x4b5f65['getAttribute']('src');this['_imageCache']['set'](_0x29c6ce,{'id':_0x2a28ac['uuid'],'url':_0x2a28ac['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x59f763=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x59f763['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x376fc1,_0x5c7e7f){_0x376fc1['on']('apply',(_0xd68837,_0x3741a9)=>{this['_replaceImage'](_0x5c7e7f,_0x3741a9['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x376fc1['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x376fc1['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x117661,_0x244302,_0x2985b1){const _0x637b6b=this['_editor'],{width:_0x378a22,height:_0x163f30}=_0x2ddbba(_0x244302,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2aeacd,imageSources:_0xf1e243}=_0xfa9cb0(_0x244302,_0x378a22);_0x637b6b['model']['change'](_0x930704=>{if('$graveyard'===_0x117661['root']['rootName']){_0x637b6b['execute']('insertImage',{'imageType':_0x117661['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x117661['getAttributes']()),'uploadcareImageId':_0x2985b1,'src':_0x2aeacd,'sources':_0xf1e243,'width':_0x378a22,'height':_0x163f30}});const _0x45ef5d=_0x117661['getChildren']();_0x117661=_0x637b6b['model']['document']['selection']['getSelectedElement']();for(const _0xd7277f of _0x45ef5d)_0x930704['append'](_0x930704['cloneElement'](_0xd7277f),_0x117661);}else _0x930704['setSelection'](_0x117661,'on'),_0x637b6b['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x117661['getAttributes']()),'uploadcareImageId':_0x2985b1,'src':_0x2aeacd,'sources':_0xf1e243,'width':_0x378a22,'height':_0x163f30},_0x117661);_0x930704['setSelection'](_0x117661,'on');});}async['_getImageAsFile'](_0xc9a32){const _0x110982=_0x5a787f['window'],_0x2d2576=_0x5a787f['document']['location']['href'],_0x1e1b92=new _0x110982['URL'](_0xc9a32['getAttribute']('src'),_0x2d2576);if('data:'===_0x1e1b92['protocol']){const _0x1e93fb=_0x1e1b92['href']['split'](','),_0x45a614=_0x1e93fb[0x0]['match'](/:(.*?);/)[0x1],_0x2c0cad=_0x45a614['split']('/')[0x1],_0x40b52b=_0x110982['atob'](_0x1e93fb[_0x1e93fb['length']-0x1]);let _0x98e072=_0x40b52b['length'];const _0x3d24fa=new _0x110982['Uint8Array'](_0x98e072);for(;_0x98e072--;)_0x3d24fa[_0x98e072]=_0x40b52b['charCodeAt'](_0x98e072);return new _0x110982['File']([_0x3d24fa],'image.'+_0x2c0cad,{'type':_0x45a614});}const _0x399319=_0x1e1b92['href']['split']('/'),_0x21a192=_0x399319[_0x399319['length']-0x1],_0x258d9e=_0x21a192['split']('.')[0x1];return _0x110982['fetch'](_0x1e1b92['href'])['then'](_0x296568=>_0x296568['clone']()['blob']())['then'](_0x331abb=>new _0x110982['File']([_0x331abb],_0x21a192,{'type':'image/'+_0x258d9e}));}}
23
+ import{global as _0x1c7661,ObservableMixin as _0x146e20}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x438274}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2482f7}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x1130e8}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x51c49b}from'../../utils/uploadutils.js';import{getImageUrls as _0x2ac408,getImageDimension as _0x3588fa}from'../../utils/editingutils.js';import{isAncestor as _0x47b0ef}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x146e20(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0xe3b80f,_0x4d60b7,_0xee7f4e){super(),this['_editor']=_0xe3b80f,this['_dialog']=_0x4d60b7,this['_imageElement']=_0xee7f4e,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 _0x1da7d8=this['_imageElement'],_0x2564c3=_0x1da7d8['getAttribute']('uploadcareImageId'),_0x26275b=_0x1da7d8['getAttribute']('src');if(_0x2564c3)await this['_loadImageInfo'](_0x2564c3,_0x26275b);else{if(this['_imageCache']['has'](_0x26275b)){const _0x2633e5=this['_imageCache']['get'](_0x26275b);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2633e5['url'],this['imageDimension']=_0x2633e5['dimension'],this['imageId']=_0x2633e5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x22cb3b}=this['_editor'],t=_0x22cb3b['t'],_0x4c83dd=new _0x1130e8(_0x22cb3b,this['imageStatus'],this['_attributes']);_0x4c83dd['bind']('status')['to'](this,'imageStatus'),_0x4c83dd['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4c83dd['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4c83dd['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4c83dd,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2482f7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4c83dd,'position':_0x438274['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4c83dd['focus']();},'onHide':()=>{_0x4c83dd['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4b9121=>!_0x47b0ef(_0x4b9121,_0x4c83dd['element'])}});}['_loadImageInfo'](_0x56537c,_0xc24b2a){return _0x51c49b['getInfo'](_0x56537c,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0xfe73dc=>{const {width:_0x457420,height:_0x4bdd36}=_0xfe73dc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xc24b2a,this['imageDimension']={'width':_0x457420,'height':_0x4bdd36},this['imageId']=_0x56537c;})['catch'](_0x1d483b=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1d483b['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x308bcd,_0x4c04b8){return this['_getImageAsFile'](_0x308bcd)['then'](_0x1ac303=>_0x51c49b['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x4c04b8['signal'],'file':_0x1ac303,'onProgress':_0x45497a=>{_0x45497a&&_0x45497a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x45497a['value']));}}))['then'](_0x1cc9ae=>{const {width:_0x5b149f,height:_0x99fc8e}=_0x1cc9ae['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1cc9ae['cdnUrl'],this['imageDimension']={'width':_0x5b149f,'height':_0x99fc8e},this['imageId']=_0x1cc9ae['uuid'],this['imageUploadProgress']=null;const _0x320b95=_0x308bcd['getAttribute']('src');this['_imageCache']['set'](_0x320b95,{'id':_0x1cc9ae['uuid'],'url':_0x1cc9ae['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x4deff1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4deff1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x3499f3,_0x1a4f28){_0x3499f3['on']('apply',(_0x263180,_0x165532)=>{this['_replaceImage'](_0x1a4f28,_0x165532['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x3499f3['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x3499f3['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x27a748,_0x3d6aa6,_0x43c3f1){const _0x35615f=this['_editor'],{width:_0x4e83ba,height:_0x262c47}=_0x3588fa(_0x3d6aa6,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x48862f,imageSources:_0x2e70c8}=_0x2ac408(_0x3d6aa6,_0x4e83ba);_0x35615f['model']['change'](_0x144104=>{if('$graveyard'===_0x27a748['root']['rootName']){_0x35615f['execute']('insertImage',{'imageType':_0x27a748['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x27a748['getAttributes']()),'uploadcareImageId':_0x43c3f1,'src':_0x48862f,'sources':_0x2e70c8,'width':_0x4e83ba,'height':_0x262c47}});const _0x37c6ce=_0x27a748['getChildren']();_0x27a748=_0x35615f['model']['document']['selection']['getSelectedElement']();for(const _0x28f318 of _0x37c6ce)_0x144104['append'](_0x144104['cloneElement'](_0x28f318),_0x27a748);}else _0x144104['setSelection'](_0x27a748,'on'),_0x35615f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x27a748['getAttributes']()),'uploadcareImageId':_0x43c3f1,'src':_0x48862f,'sources':_0x2e70c8,'width':_0x4e83ba,'height':_0x262c47},_0x27a748);_0x144104['setSelection'](_0x27a748,'on');});}async['_getImageAsFile'](_0x5cade6){const _0x3ced78=_0x1c7661['window'],_0x5415e1=_0x1c7661['document']['location']['href'],_0x5bed3e=new _0x3ced78['URL'](_0x5cade6['getAttribute']('src'),_0x5415e1);if('data:'===_0x5bed3e['protocol']){const _0x453563=_0x5bed3e['href']['split'](','),_0x24028a=_0x453563[0x0]['match'](/:(.*?);/)[0x1],_0x116d07=_0x24028a['split']('/')[0x1],_0x2b5ebd=_0x3ced78['atob'](_0x453563[_0x453563['length']-0x1]);let _0x442902=_0x2b5ebd['length'];const _0x5230e9=new _0x3ced78['Uint8Array'](_0x442902);for(;_0x442902--;)_0x5230e9[_0x442902]=_0x2b5ebd['charCodeAt'](_0x442902);return new _0x3ced78['File']([_0x5230e9],'image.'+_0x116d07,{'type':_0x24028a});}const _0x31d404=_0x5bed3e['href']['split']('/'),_0xa226e8=_0x31d404[_0x31d404['length']-0x1],_0x231dd0=_0xa226e8['split']('.')[0x1];return _0x3ced78['fetch'](_0x5bed3e['href'])['then'](_0x4c30a1=>_0x4c30a1['clone']()['blob']())['then'](_0x4d3e97=>new _0x3ced78['File']([_0x4d3e97],_0xa226e8,{'type':'image/'+_0x231dd0}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x42eca4,_0x2cbbcb){const _0x1ea05e=_0x2880,_0x568de3=_0x42eca4();while(!![]){try{const _0x276699=parseInt(_0x1ea05e(0x1f8))/0x1+-parseInt(_0x1ea05e(0x1ef))/0x2+-parseInt(_0x1ea05e(0x1f2))/0x3*(-parseInt(_0x1ea05e(0x1ea))/0x4)+parseInt(_0x1ea05e(0x1f0))/0x5+parseInt(_0x1ea05e(0x1ee))/0x6+parseInt(_0x1ea05e(0x1f5))/0x7+parseInt(_0x1ea05e(0x1f1))/0x8*(-parseInt(_0x1ea05e(0x1e9))/0x9);if(_0x276699===_0x2cbbcb)break;else _0x568de3['push'](_0x568de3['shift']());}catch(_0x44427f){_0x568de3['push'](_0x568de3['shift']());}}}(_0x5344,0x99b2a));import{View as _0x50be7c}from'ckeditor5/src/ui.js';function _0x2880(_0xd1898f,_0x2a3cdb){const _0x5344b5=_0x5344();return _0x2880=function(_0x2880a4,_0x16d2a9){_0x2880a4=_0x2880a4-0x1e9;let _0x530f7e=_0x5344b5[_0x2880a4];return _0x530f7e;},_0x2880(_0xd1898f,_0x2a3cdb);}function _0x5344(){const _0x27c1f3=['258584ffFHnA','481947ABqEFb','uc-light','uc-cloud-image-editor','6744192LIReJp','image-edit','imageSrc','874550FnyWfo','bindTemplate','558pUcqsG','24zjNcLm','ck-uploadcare-theme','setTemplate','set','1872948PlsTbW','1347820VIQDOE','967120PiBGBw'];_0x5344=function(){return _0x27c1f3;};return _0x5344();}export class UploadcareImageEditFormEditingView extends _0x50be7c{constructor(_0x39379b,_0x48baa4){const _0x2fe275=_0x2880;super(_0x39379b);const _0x437e80=this[_0x2fe275(0x1f9)];this[_0x2fe275(0x1ed)](_0x2fe275(0x1f7),''),this[_0x2fe275(0x1ec)]({'tag':_0x2fe275(0x1f4),'attributes':{..._0x48baa4,'class':[_0x2fe275(0x1f3),_0x2fe275(0x1eb)],'ctx-name':_0x2fe275(0x1f6),'cdn-url':_0x437e80['to'](_0x2fe275(0x1f7))}});}}
23
+ (function(_0x3b46b3,_0xd49416){const _0x16463d=_0x17f2,_0x5eb10e=_0x3b46b3();while(!![]){try{const _0x200969=-parseInt(_0x16463d(0x72))/0x1*(parseInt(_0x16463d(0x75))/0x2)+-parseInt(_0x16463d(0x6b))/0x3*(parseInt(_0x16463d(0x68))/0x4)+-parseInt(_0x16463d(0x6d))/0x5*(parseInt(_0x16463d(0x6c))/0x6)+parseInt(_0x16463d(0x73))/0x7*(parseInt(_0x16463d(0x7a))/0x8)+parseInt(_0x16463d(0x6a))/0x9*(-parseInt(_0x16463d(0x69))/0xa)+parseInt(_0x16463d(0x7b))/0xb*(parseInt(_0x16463d(0x76))/0xc)+-parseInt(_0x16463d(0x74))/0xd*(-parseInt(_0x16463d(0x67))/0xe);if(_0x200969===_0xd49416)break;else _0x5eb10e['push'](_0x5eb10e['shift']());}catch(_0x434568){_0x5eb10e['push'](_0x5eb10e['shift']());}}}(_0x52ca,0xdc5c6));function _0x17f2(_0x599547,_0x381f62){const _0x52cada=_0x52ca();return _0x17f2=function(_0x17f2c,_0x408403){_0x17f2c=_0x17f2c-0x67;let _0x1609d3=_0x52cada[_0x17f2c];return _0x1609d3;},_0x17f2(_0x599547,_0x381f62);}import{View as _0xa51c4f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0xa51c4f{constructor(_0xeeb07,_0x35456a){const _0x1ac18e=_0x17f2;super(_0xeeb07);const _0xdeb06f=this[_0x1ac18e(0x7c)];this[_0x1ac18e(0x78)](_0x1ac18e(0x77),''),this[_0x1ac18e(0x71)]({'tag':_0x1ac18e(0x6e),'attributes':{..._0x35456a,'class':[_0x1ac18e(0x79),_0x1ac18e(0x6f)],'ctx-name':_0x1ac18e(0x70),'cdn-url':_0xdeb06f['to'](_0x1ac18e(0x77))}});}}function _0x52ca(){const _0x436bab=['setTemplate','1PNrxGW','7zdQFgK','99931LLYnQK','453234uvCyiG','7668YmwueF','imageSrc','set','uc-light','13680456QqdBMF','5093bHKovo','bindTemplate','2338hClPjA','52248KWDapB','565670IoanyK','207cUoZBX','150QXCuWz','6AZTeTW','1031435rwthYq','uc-cloud-image-editor','ck-uploadcare-theme','image-edit'];_0x52ca=function(){return _0x436bab;};return _0x52ca();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0xcbf38f}from'ckeditor5/src/icons.js';import{ButtonView as _0x1c7f71,IconView as _0x38a26f,View as _0x2d0d76}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2d0d76{constructor(_0x241848){super(_0x241848);const t=_0x241848['t'];this['set']('errorType',null);const _0x2d4b6c=new _0x1c7f71(_0x241848);_0x2d4b6c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2d4b6c['withText']=!0x0,_0x2d4b6c['class']='ck-button-action',_0x2d4b6c['on']('execute',()=>{this['fire']('retry');}),_0x2d4b6c['bind']('isVisible')['to'](this,'errorType',_0x519897=>'NotFound'!==_0x519897);const _0x27c2cd=new _0x38a26f();_0x27c2cd['content']=_0xcbf38f,_0x27c2cd['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xc317b9=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':[_0x27c2cd,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xc317b9['to']('errorType',_0x2f97a2=>t('NotFound'!==_0x2f97a2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2d4b6c]},{'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 _0x1675e8}from'ckeditor5/src/icons.js';import{ButtonView as _0x547b45,IconView as _0x1e8409,View as _0x507de2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x507de2{constructor(_0x262c1a){super(_0x262c1a);const t=_0x262c1a['t'];this['set']('errorType',null);const _0x2418b4=new _0x547b45(_0x262c1a);_0x2418b4['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2418b4['withText']=!0x0,_0x2418b4['class']='ck-button-action',_0x2418b4['on']('execute',()=>{this['fire']('retry');}),_0x2418b4['bind']('isVisible')['to'](this,'errorType',_0xf85791=>'NotFound'!==_0xf85791);const _0x2c33d7=new _0x1e8409();_0x2c33d7['content']=_0x1675e8,_0x2c33d7['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x13b133=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':[_0x2c33d7,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x13b133['to']('errorType',_0x3b9098=>t('NotFound'!==_0x3b9098?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2418b4]},{'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 _0x2b5215,View as _0xa9876f}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0xa9876f{constructor(_0x226a50){super(_0x226a50);const t=_0x226a50['t'],_0x4fb7d2=this['bindTemplate'],_0x1eb9c6=new _0x2b5215();_0x1eb9c6['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':[_0x1eb9c6,{'text':_0x4fb7d2['to']('imageUploadProgress',_0x48ae23=>t('Loading\x20image...')+'\x20('+(_0x48ae23||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 _0x3d42da,View as _0x3635be}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3635be{constructor(_0x4a5ff9){super(_0x4a5ff9);const t=_0x4a5ff9['t'],_0x8570a1=this['bindTemplate'],_0x50eca1=new _0x3d42da();_0x50eca1['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':[_0x50eca1,{'text':_0x8570a1['to']('imageUploadProgress',_0x3c2408=>t('Loading\x20image...')+'\x20('+(_0x3c2408||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 _0x4a270a=_0x8f7e;(function(_0x29dff7,_0x50340f){const _0x401385=_0x8f7e,_0x44ddbc=_0x29dff7();while(!![]){try{const _0x2ecfa8=-parseInt(_0x401385(0x17c))/0x1+parseInt(_0x401385(0x199))/0x2*(parseInt(_0x401385(0x184))/0x3)+parseInt(_0x401385(0x17a))/0x4*(-parseInt(_0x401385(0x171))/0x5)+-parseInt(_0x401385(0x181))/0x6+-parseInt(_0x401385(0x196))/0x7+parseInt(_0x401385(0x19b))/0x8+parseInt(_0x401385(0x178))/0x9;if(_0x2ecfa8===_0x50340f)break;else _0x44ddbc['push'](_0x44ddbc['shift']());}catch(_0x305375){_0x44ddbc['push'](_0x44ddbc['shift']());}}}(_0x11f3,0x4ba61));import{View as _0x126f70}from'ckeditor5/src/ui.js';function _0x11f3(){const _0xcb5122=['_errorView','ck-uploadcare-form','10442457taSHPL','observe','2325812ZauSBb','target','43468glBMLi','uc-cloud-image-editor','detail','setTemplate','uploading','3308976lMBisE','div','addEventListener','15svPDEk','nodeName','retry','addMany','apply','_items','once','_editingView','getFocusableElement','_addErrorViewListeners','disconnect','clear','_addUploadcareImageEditorListeners','change:status','_waitForImageEditorComponent','cancel','createCollection','focus','2663108UOoTxI','error','ck-reset_all-excluded','61958YUkrrk','ready','4412400TFOxTq','_loadingView','length','fire','set','filter','add','cdnUrl','addedNodes','querySelector','_focusableView','toLowerCase','5NDIBnL','element','status','_setView','render'];_0x11f3=function(){return _0xcb5122;};return _0x11f3();}import{UploadcareImageEditFormLoadingView as _0x5e2152}from'./uploadcareimageeditformloadingview.js';function _0x8f7e(_0x286d97,_0x3c09fd){const _0x11f306=_0x11f3();return _0x8f7e=function(_0x8f7e7b,_0x135c3e){_0x8f7e7b=_0x8f7e7b-0x166;let _0x3d669e=_0x11f306[_0x8f7e7b];return _0x3d669e;},_0x8f7e(_0x286d97,_0x3c09fd);}import{UploadcareImageEditFormErrorView as _0x352cc8}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x3db243}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x461fac}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x461fac{[_0x4a270a(0x189)];[_0x4a270a(0x166)];[_0x4a270a(0x176)];[_0x4a270a(0x18b)];[_0x4a270a(0x16f)];constructor(_0x18b2d4,_0x229a3b,_0x1f2d18){const _0x48f4cf=_0x4a270a;super(_0x18b2d4),this[_0x48f4cf(0x189)]=this[_0x48f4cf(0x194)](),this[_0x48f4cf(0x166)]=new _0x5e2152(_0x18b2d4),this[_0x48f4cf(0x176)]=new _0x352cc8(_0x18b2d4),this[_0x48f4cf(0x18b)]=new _0x3db243(_0x18b2d4,_0x1f2d18),this[_0x48f4cf(0x16f)]=new _0x126f70(_0x18b2d4),this[_0x48f4cf(0x16f)][_0x48f4cf(0x17f)](this[_0x48f4cf(0x18c)]()),this[_0x48f4cf(0x169)](_0x48f4cf(0x173),_0x229a3b),this[_0x48f4cf(0x17f)]({'tag':_0x48f4cf(0x182),'attributes':{'class':['ck',_0x48f4cf(0x198),_0x48f4cf(0x177)],'tabindex':'-1'},'children':this[_0x48f4cf(0x189)]}),this[_0x48f4cf(0x174)](),this[_0x48f4cf(0x18a)](_0x48f4cf(0x175),()=>{const _0x9eb785=_0x48f4cf;this[_0x9eb785(0x192)](this[_0x9eb785(0x172)],_0x1fcbcc=>{const _0x4871b7=_0x9eb785;this[_0x4871b7(0x190)](_0x1fcbcc);});}),this['on'](_0x48f4cf(0x191),()=>{const _0x5a7fa4=_0x48f4cf;this[_0x5a7fa4(0x174)]();}),this[_0x48f4cf(0x18d)]();}[_0x4a270a(0x195)](){const _0x16ce90=_0x4a270a;this[_0x16ce90(0x172)][_0x16ce90(0x195)]();}[_0x4a270a(0x174)](){const _0x31d8bb=_0x4a270a;switch(this[_0x31d8bb(0x189)][_0x31d8bb(0x18f)](),this[_0x31d8bb(0x173)]){case _0x31d8bb(0x180):this[_0x31d8bb(0x189)][_0x31d8bb(0x16b)](this[_0x31d8bb(0x166)]);break;case _0x31d8bb(0x197):this[_0x31d8bb(0x189)][_0x31d8bb(0x16b)](this[_0x31d8bb(0x176)]);break;case _0x31d8bb(0x19a):this[_0x31d8bb(0x189)][_0x31d8bb(0x187)]([this[_0x31d8bb(0x18b)],this[_0x31d8bb(0x16f)]]);}}[_0x4a270a(0x192)](_0x2d1e00,_0x572836){const _0x211532=_0x4a270a,_0x37ef7d=_0x211532(0x17d),_0x478854=_0x2d1e00[_0x211532(0x16e)](_0x37ef7d);if(_0x478854)return _0x572836(_0x478854);const _0x42e85d=new MutationObserver(_0x574478=>{const _0x190696=_0x211532,_0x98cf8a=_0x574478[_0x190696(0x16a)](_0x318eea=>_0x318eea[_0x190696(0x17b)]===_0x2d1e00&&_0x318eea[_0x190696(0x16d)][_0x190696(0x167)]>0x0&&_0x318eea[_0x190696(0x16d)][0x0][_0x190696(0x185)][_0x190696(0x170)]()===_0x37ef7d);_0x98cf8a[_0x190696(0x167)]&&(_0x42e85d[_0x190696(0x18e)](),_0x572836(_0x98cf8a[0x0][_0x190696(0x16d)][0x0]));});_0x42e85d[_0x211532(0x179)](_0x2d1e00,{'childList':!0x0,'subtree':!0x0});}[_0x4a270a(0x190)](_0x1ce4de){const _0x200c95=_0x4a270a;_0x1ce4de[_0x200c95(0x183)](_0x200c95(0x188),_0x4ddfbb=>{const _0x239a13=_0x200c95;this[_0x239a13(0x168)](_0x239a13(0x188),{'imageSrc':_0x4ddfbb[_0x239a13(0x17e)][_0x239a13(0x16c)]});}),_0x1ce4de[_0x200c95(0x183)](_0x200c95(0x193),()=>{const _0x485481=_0x200c95;this[_0x485481(0x168)](_0x485481(0x193));});}[_0x4a270a(0x18d)](){const _0x21e2d6=_0x4a270a;this[_0x21e2d6(0x176)]['on'](_0x21e2d6(0x186),()=>{const _0x592a2d=_0x21e2d6;this[_0x592a2d(0x168)](_0x592a2d(0x186));});}}
23
+ function _0x2cc3(){const _0x3e8223=['element','apply','setTemplate','getFocusableElement','status','uc-cloud-image-editor','length','change:status','ck-uploadcare-form','277290yiLbHB','1361625EmZsYY','error','2160326xOHfku','_items','cancel','cdnUrl','_waitForImageEditorComponent','focus','querySelector','createCollection','observe','addMany','nodeName','retry','target','_errorView','_focusableView','246498LwWNAb','ready','_addErrorViewListeners','once','_editingView','toLowerCase','326153BQJydW','_setView','fire','addEventListener','9WAPwkA','detail','_loadingView','1336650AWyFQN','clear','div','set','filter','add','uploading','ck-reset_all-excluded','render','addedNodes','20rfqrby','disconnect','_addUploadcareImageEditorListeners','9704872YZyQeC'];_0x2cc3=function(){return _0x3e8223;};return _0x2cc3();}const _0x225654=_0x4064;function _0x4064(_0x5c14f1,_0xda614b){const _0x2cc3ba=_0x2cc3();return _0x4064=function(_0x40643c,_0x3447a2){_0x40643c=_0x40643c-0xc2;let _0x4b8bde=_0x2cc3ba[_0x40643c];return _0x4b8bde;},_0x4064(_0x5c14f1,_0xda614b);}(function(_0x203b2a,_0x542fae){const _0x1dfcd4=_0x4064,_0x4358b8=_0x203b2a();while(!![]){try{const _0x637459=-parseInt(_0x1dfcd4(0xca))/0x1+parseInt(_0x1dfcd4(0xe8))/0x2+parseInt(_0x1dfcd4(0xc4))/0x3*(-parseInt(_0x1dfcd4(0xdb))/0x4)+-parseInt(_0x1dfcd4(0xe9))/0x5+parseInt(_0x1dfcd4(0xd1))/0x6+-parseInt(_0x1dfcd4(0xeb))/0x7+parseInt(_0x1dfcd4(0xde))/0x8*(parseInt(_0x1dfcd4(0xce))/0x9);if(_0x637459===_0x542fae)break;else _0x4358b8['push'](_0x4358b8['shift']());}catch(_0x505eb2){_0x4358b8['push'](_0x4358b8['shift']());}}}(_0x2cc3,0x3ea5b));import{View as _0x3edf0f}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x22442a}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x4ba49b}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x363e9f}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x27dd54}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x27dd54{[_0x225654(0xec)];[_0x225654(0xd0)];[_0x225654(0xc2)];[_0x225654(0xc8)];[_0x225654(0xc3)];constructor(_0x434424,_0x380580,_0x12d41d){const _0x272989=_0x225654;super(_0x434424),this[_0x272989(0xec)]=this[_0x272989(0xf2)](),this[_0x272989(0xd0)]=new _0x22442a(_0x434424),this[_0x272989(0xc2)]=new _0x4ba49b(_0x434424),this[_0x272989(0xc8)]=new _0x363e9f(_0x434424,_0x12d41d),this[_0x272989(0xc3)]=new _0x3edf0f(_0x434424),this[_0x272989(0xc3)][_0x272989(0xe1)](this[_0x272989(0xe2)]()),this[_0x272989(0xd4)](_0x272989(0xe3),_0x380580),this[_0x272989(0xe1)]({'tag':_0x272989(0xd3),'attributes':{'class':['ck',_0x272989(0xd8),_0x272989(0xe7)],'tabindex':'-1'},'children':this[_0x272989(0xec)]}),this[_0x272989(0xcb)](),this[_0x272989(0xc7)](_0x272989(0xd9),()=>{const _0x5f00c7=_0x272989;this[_0x5f00c7(0xef)](this[_0x5f00c7(0xdf)],_0x405c09=>{const _0x3a20c6=_0x5f00c7;this[_0x3a20c6(0xdd)](_0x405c09);});}),this['on'](_0x272989(0xe6),()=>{const _0x3e7c71=_0x272989;this[_0x3e7c71(0xcb)]();}),this[_0x272989(0xc6)]();}[_0x225654(0xf0)](){const _0x2ace81=_0x225654;this[_0x2ace81(0xdf)][_0x2ace81(0xf0)]();}[_0x225654(0xcb)](){const _0x35ba25=_0x225654;switch(this[_0x35ba25(0xec)][_0x35ba25(0xd2)](),this[_0x35ba25(0xe3)]){case _0x35ba25(0xd7):this[_0x35ba25(0xec)][_0x35ba25(0xd6)](this[_0x35ba25(0xd0)]);break;case _0x35ba25(0xea):this[_0x35ba25(0xec)][_0x35ba25(0xd6)](this[_0x35ba25(0xc2)]);break;case _0x35ba25(0xc5):this[_0x35ba25(0xec)][_0x35ba25(0xf4)]([this[_0x35ba25(0xc8)],this[_0x35ba25(0xc3)]]);}}[_0x225654(0xef)](_0x29bed0,_0xefab28){const _0x6a48f6=_0x225654,_0x5c55d5=_0x6a48f6(0xe4),_0x53a3d3=_0x29bed0[_0x6a48f6(0xf1)](_0x5c55d5);if(_0x53a3d3)return _0xefab28(_0x53a3d3);const _0x995169=new MutationObserver(_0x1edaf9=>{const _0x39394d=_0x6a48f6,_0xac9b3f=_0x1edaf9[_0x39394d(0xd5)](_0x15edcd=>_0x15edcd[_0x39394d(0xf7)]===_0x29bed0&&_0x15edcd[_0x39394d(0xda)][_0x39394d(0xe5)]>0x0&&_0x15edcd[_0x39394d(0xda)][0x0][_0x39394d(0xf5)][_0x39394d(0xc9)]()===_0x5c55d5);_0xac9b3f[_0x39394d(0xe5)]&&(_0x995169[_0x39394d(0xdc)](),_0xefab28(_0xac9b3f[0x0][_0x39394d(0xda)][0x0]));});_0x995169[_0x6a48f6(0xf3)](_0x29bed0,{'childList':!0x0,'subtree':!0x0});}[_0x225654(0xdd)](_0x5df24d){const _0x11128a=_0x225654;_0x5df24d[_0x11128a(0xcd)](_0x11128a(0xe0),_0x44239b=>{const _0x321f73=_0x11128a;this[_0x321f73(0xcc)](_0x321f73(0xe0),{'imageSrc':_0x44239b[_0x321f73(0xcf)][_0x321f73(0xee)]});}),_0x5df24d[_0x11128a(0xcd)](_0x11128a(0xed),()=>{const _0x44cf20=_0x11128a;this[_0x44cf20(0xcc)](_0x44cf20(0xed));});}[_0x225654(0xc6)](){const _0x4ca293=_0x225654;this[_0x4ca293(0xc2)]['on'](_0x4ca293(0xf6),()=>{const _0x27c922=_0x4ca293;this[_0x27c922(0xcc)](_0x27c922(0xf6));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bf8e7=_0x19e5;(function(_0x34f438,_0x959cc2){const _0x12fc54=_0x19e5,_0x401898=_0x34f438();while(!![]){try{const _0x10539c=parseInt(_0x12fc54(0x167))/0x1+-parseInt(_0x12fc54(0x15e))/0x2+parseInt(_0x12fc54(0x16b))/0x3*(-parseInt(_0x12fc54(0x16a))/0x4)+-parseInt(_0x12fc54(0x15b))/0x5*(-parseInt(_0x12fc54(0x162))/0x6)+parseInt(_0x12fc54(0x15c))/0x7*(-parseInt(_0x12fc54(0x161))/0x8)+-parseInt(_0x12fc54(0x169))/0x9*(parseInt(_0x12fc54(0x151))/0xa)+-parseInt(_0x12fc54(0x15a))/0xb*(-parseInt(_0x12fc54(0x16f))/0xc);if(_0x10539c===_0x959cc2)break;else _0x401898['push'](_0x401898['shift']());}catch(_0x25f908){_0x401898['push'](_0x401898['shift']());}}}(_0x3c5f,0x6cffb));function _0x19e5(_0x526a12,_0x8b4ed1){const _0x3c5f28=_0x3c5f();return _0x19e5=function(_0x19e539,_0x434b39){_0x19e539=_0x19e539-0x14f;let _0x31319a=_0x3c5f28[_0x19e539];return _0x31319a;},_0x19e5(_0x526a12,_0x8b4ed1);}import{Command as _0xf3dc45}from'ckeditor5/src/core.js';import{Dialog as _0x14073a}from'ckeditor5/src/ui.js';function _0x3c5f(){const _0x1d6276=['editor','imageEditController','refresh','7704216eYOfjf','isActive','element','config','4006190jDFjQC','isEnabled','requires','model','imageBlock','bind','imageInline','get','uploadcare.allowExternalImagesEditing','11tHyoBs','90KVCSKf','1535051YMlkNJ','execute','315040NIenaS','set','selection','16pKITEI','164682NTvsJK','_isEditable','document','unbind','plugins','736427eyjlUO','getSelectedElement','9lsYfaH','1717228GwJXPC','3cNqxFX'];_0x3c5f=function(){return _0x1d6276;};return _0x3c5f();}import{UploadcareImageEditController as _0x4ca74d}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x426925}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0xf3dc45{[_0x2bf8e7(0x16d)];static get[_0x2bf8e7(0x153)](){return[_0x14073a];}[_0x2bf8e7(0x163)];constructor(_0x44f1d2){const _0xb5bb5f=_0x2bf8e7;super(_0x44f1d2),this[_0xb5bb5f(0x16d)]=void 0x0,this[_0xb5bb5f(0x163)]=_0x426925(_0x44f1d2[_0xb5bb5f(0x150)][_0xb5bb5f(0x158)](_0xb5bb5f(0x159))||[]),this[_0xb5bb5f(0x15f)]({'isActive':!0x1});}[_0x2bf8e7(0x16e)](){const _0x4e6859=_0x2bf8e7,_0x675077=this[_0x4e6859(0x16c)][_0x4e6859(0x154)][_0x4e6859(0x164)][_0x4e6859(0x160)][_0x4e6859(0x168)]();this[_0x4e6859(0x152)]=this[_0x4e6859(0x163)](_0x675077);}[_0x2bf8e7(0x15d)](){const _0x4736c7=_0x2bf8e7;this[_0x4736c7(0x16d)]&&(this[_0x4736c7(0x165)](_0x4736c7(0x170)),this[_0x4736c7(0x16d)]=void 0x0);const _0x289b4d=this[_0x4736c7(0x16c)][_0x4736c7(0x154)][_0x4736c7(0x164)][_0x4736c7(0x160)][_0x4736c7(0x168)]();_0x289b4d&&(_0x289b4d['is'](_0x4736c7(0x14f),_0x4736c7(0x155))||_0x289b4d['is'](_0x4736c7(0x14f),_0x4736c7(0x157)))&&(this[_0x4736c7(0x16d)]=new _0x4ca74d(this[_0x4736c7(0x16c)],this[_0x4736c7(0x16c)][_0x4736c7(0x166)][_0x4736c7(0x158)](_0x14073a),_0x289b4d),this[_0x4736c7(0x156)](_0x4736c7(0x170))['to'](this[_0x4736c7(0x16d)],_0x4736c7(0x170)));}}
23
+ const _0x5efac9=_0x3a2f;(function(_0x4391e0,_0x464525){const _0x13a78a=_0x3a2f,_0x24c177=_0x4391e0();while(!![]){try{const _0x5a6ccb=-parseInt(_0x13a78a(0x166))/0x1+parseInt(_0x13a78a(0x164))/0x2*(-parseInt(_0x13a78a(0x15b))/0x3)+-parseInt(_0x13a78a(0x167))/0x4+parseInt(_0x13a78a(0x14f))/0x5*(-parseInt(_0x13a78a(0x153))/0x6)+-parseInt(_0x13a78a(0x15e))/0x7*(-parseInt(_0x13a78a(0x156))/0x8)+-parseInt(_0x13a78a(0x162))/0x9*(parseInt(_0x13a78a(0x159))/0xa)+parseInt(_0x13a78a(0x14d))/0xb;if(_0x5a6ccb===_0x464525)break;else _0x24c177['push'](_0x24c177['shift']());}catch(_0x49b72e){_0x24c177['push'](_0x24c177['shift']());}}}(_0x4536,0x53be1));import{Command as _0x48918a}from'ckeditor5/src/core.js';function _0x4536(){const _0x251629=['set','362307IPVCJD','requires','execute','165669ZbIXqq','uploadcare.allowExternalImagesEditing','imageBlock','refresh','9WYnYMr','model','4tRdCcV','imageEditController','94458kyKQhp','1709680sdykrW','document','imageInline','bind','getSelectedElement','get','unbind','15658654UNflGd','_isEditable','30805gwdrDu','isActive','isEnabled','selection','54czpdNo','config','element','56RLzRXs','plugins','editor','4273090Nfkqja'];_0x4536=function(){return _0x251629;};return _0x4536();}import{Dialog as _0x472fb3}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x42d968}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x19fe29}from'../utils/editingutils.js';function _0x3a2f(_0x386514,_0x27c400){const _0x4536da=_0x4536();return _0x3a2f=function(_0x3a2f6f,_0x1fbac8){_0x3a2f6f=_0x3a2f6f-0x148;let _0x1ff693=_0x4536da[_0x3a2f6f];return _0x1ff693;},_0x3a2f(_0x386514,_0x27c400);}export class UploadcareImageEditCommand extends _0x48918a{[_0x5efac9(0x165)];static get[_0x5efac9(0x15c)](){return[_0x472fb3];}[_0x5efac9(0x14e)];constructor(_0x3308d0){const _0x41bfac=_0x5efac9;super(_0x3308d0),this[_0x41bfac(0x165)]=void 0x0,this[_0x41bfac(0x14e)]=_0x19fe29(_0x3308d0[_0x41bfac(0x154)][_0x41bfac(0x14b)](_0x41bfac(0x15f))||[]),this[_0x41bfac(0x15a)]({'isActive':!0x1});}[_0x5efac9(0x161)](){const _0x2084f3=_0x5efac9,_0x351568=this[_0x2084f3(0x158)][_0x2084f3(0x163)][_0x2084f3(0x168)][_0x2084f3(0x152)][_0x2084f3(0x14a)]();this[_0x2084f3(0x151)]=this[_0x2084f3(0x14e)](_0x351568);}[_0x5efac9(0x15d)](){const _0x36b1ba=_0x5efac9;this[_0x36b1ba(0x165)]&&(this[_0x36b1ba(0x14c)](_0x36b1ba(0x150)),this[_0x36b1ba(0x165)]=void 0x0);const _0x189c97=this[_0x36b1ba(0x158)][_0x36b1ba(0x163)][_0x36b1ba(0x168)][_0x36b1ba(0x152)][_0x36b1ba(0x14a)]();_0x189c97&&(_0x189c97['is'](_0x36b1ba(0x155),_0x36b1ba(0x160))||_0x189c97['is'](_0x36b1ba(0x155),_0x36b1ba(0x148)))&&(this[_0x36b1ba(0x165)]=new _0x42d968(this[_0x36b1ba(0x158)],this[_0x36b1ba(0x158)][_0x36b1ba(0x157)][_0x36b1ba(0x14b)](_0x472fb3),_0x189c97),this[_0x36b1ba(0x149)](_0x36b1ba(0x150))['to'](this[_0x36b1ba(0x165)],_0x36b1ba(0x150)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x7888(_0x577f26,_0x1feb73){const _0x5429a8=_0x5429();return _0x7888=function(_0x78887b,_0x1f0b5b){_0x78887b=_0x78887b-0x15c;let _0x60f86e=_0x5429a8[_0x78887b];return _0x60f86e;},_0x7888(_0x577f26,_0x1feb73);}function _0x5429(){const _0x53e70c=['577285UgrgsM','commands','ImageUtils','4449440WvwtZv','1938400GoHBGH','20BzvQXu','pluginName','1536160qikwwn','isPremiumPlugin','ImageEditing','6aFDXdW','9CJvXJd','init','2137345YXFBlj','uploadcareImageReplace','74550DnBJZc','UploadcareImageEditEditing','isOfficialPlugin','3084991jfzNFC','requires','add','uploadcareImageEdit'];_0x5429=function(){return _0x53e70c;};return _0x5429();}const _0xe860b8=_0x7888;(function(_0x33852c,_0x3f64ee){const _0x49fa3a=_0x7888,_0x34a961=_0x33852c();while(!![]){try{const _0x13c613=-parseInt(_0x49fa3a(0x166))/0x1+-parseInt(_0x49fa3a(0x16b))/0x2*(parseInt(_0x49fa3a(0x15f))/0x3)+parseInt(_0x49fa3a(0x16d))/0x4+-parseInt(_0x49fa3a(0x15d))/0x5*(-parseInt(_0x49fa3a(0x170))/0x6)+-parseInt(_0x49fa3a(0x162))/0x7+parseInt(_0x49fa3a(0x169))/0x8+parseInt(_0x49fa3a(0x171))/0x9*(parseInt(_0x49fa3a(0x16a))/0xa);if(_0x13c613===_0x3f64ee)break;else _0x34a961['push'](_0x34a961['shift']());}catch(_0x19c67c){_0x34a961['push'](_0x34a961['shift']());}}}(_0x5429,0x48077));import{Plugin as _0x1b357c}from'ckeditor5/src/core.js';import{Notification as _0x54271e}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x44b94d}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x469e05}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x3db039}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x1b357c{static get[_0xe860b8(0x16c)](){const _0x5ba89b=_0xe860b8;return _0x5ba89b(0x160);}static get[_0xe860b8(0x163)](){const _0xbc22ce=_0xe860b8;return[_0x3db039,_0x54271e,_0xbc22ce(0x168),_0xbc22ce(0x16f)];}static get[_0xe860b8(0x161)](){return!0x0;}static get[_0xe860b8(0x16e)](){return!0x0;}[_0xe860b8(0x15c)](){const _0x44a6dc=_0xe860b8,{editor:_0x5761ba}=this;_0x5761ba[_0x44a6dc(0x167)][_0x44a6dc(0x164)](_0x44a6dc(0x165),new _0x44b94d(_0x5761ba)),_0x5761ba[_0x44a6dc(0x167)][_0x44a6dc(0x164)](_0x44a6dc(0x15e),new _0x469e05(_0x5761ba));}}
23
+ const _0x4773e1=_0x4d8b;(function(_0x91f527,_0x5c7d09){const _0xd6973=_0x4d8b,_0x226301=_0x91f527();while(!![]){try{const _0x35d8a4=parseInt(_0xd6973(0x1fe))/0x1*(parseInt(_0xd6973(0x1f6))/0x2)+parseInt(_0xd6973(0x1ea))/0x3*(-parseInt(_0xd6973(0x200))/0x4)+-parseInt(_0xd6973(0x1f7))/0x5*(parseInt(_0xd6973(0x1f5))/0x6)+-parseInt(_0xd6973(0x1f4))/0x7*(-parseInt(_0xd6973(0x1f2))/0x8)+parseInt(_0xd6973(0x1f3))/0x9*(parseInt(_0xd6973(0x1e9))/0xa)+parseInt(_0xd6973(0x1ee))/0xb*(parseInt(_0xd6973(0x1ed))/0xc)+-parseInt(_0xd6973(0x1fd))/0xd*(parseInt(_0xd6973(0x1ef))/0xe);if(_0x35d8a4===_0x5c7d09)break;else _0x226301['push'](_0x226301['shift']());}catch(_0x3ea490){_0x226301['push'](_0x226301['shift']());}}}(_0x1f75,0x82413));import{Plugin as _0x4c09f8}from'ckeditor5/src/core.js';function _0x4d8b(_0x4c1656,_0x5b56e9){const _0x1f758f=_0x1f75();return _0x4d8b=function(_0x4d8bfc,_0x3114e1){_0x4d8bfc=_0x4d8bfc-0x1e8;let _0x3aaf8f=_0x1f758f[_0x4d8bfc];return _0x3aaf8f;},_0x4d8b(_0x4c1656,_0x5b56e9);}function _0x1f75(){const _0x1ccb96=['14GWYfXV','721356THSXsZ','88gVTPJo','25pxQQPt','init','commands','UploadcareImageEditEditing','isPremiumPlugin','uploadcareImageReplace','13UYteAW','8249YOclqQ','ImageEditing','776UwStxH','add','uploadcareImageEdit','9910SzDupy','7689hdEkZJ','ImageUtils','pluginName','5196NONTbl','26114xluPFC','12130188THBvRl','isOfficialPlugin','requires','1809472CeTzLw','5949lKcAsK'];_0x1f75=function(){return _0x1ccb96;};return _0x1f75();}import{Notification as _0x2dff95}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x1b0679}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0xd2a5d5}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2594ea}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x4c09f8{static get[_0x4773e1(0x1ec)](){const _0x38d294=_0x4773e1;return _0x38d294(0x1fa);}static get[_0x4773e1(0x1f1)](){const _0x23473a=_0x4773e1;return[_0x2594ea,_0x2dff95,_0x23473a(0x1eb),_0x23473a(0x1ff)];}static get[_0x4773e1(0x1f0)](){return!0x0;}static get[_0x4773e1(0x1fb)](){return!0x0;}[_0x4773e1(0x1f8)](){const _0x326b41=_0x4773e1,{editor:_0xc3c5db}=this;_0xc3c5db[_0x326b41(0x1f9)][_0x326b41(0x201)](_0x326b41(0x1e8),new _0x1b0679(_0xc3c5db)),_0xc3c5db[_0x326b41(0x1f9)][_0x326b41(0x201)](_0x326b41(0x1fc),new _0xd2a5d5(_0xc3c5db));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5472db}from'ckeditor5/src/core.js';import{ButtonView as _0x1dfcbe}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x3ad292}from'ckeditor5/src/icons.js';import{createElement as _0x52fd0b}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 _0x5472db{['_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 _0x1c046e=this['editor'];_0x1c046e['ui']['componentFactory']['add']('uploadcareImageEdit',_0x34fe6a=>{const _0x2a9df3=_0x1c046e['commands']['get']('uploadcareImageEdit'),_0x56bbe6=new _0x1dfcbe(_0x34fe6a),t=_0x34fe6a['t'];return _0x56bbe6['set']({'icon':_0x3ad292,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x56bbe6['bind']('isEnabled')['to'](_0x2a9df3),_0x56bbe6['bind']('isOn')['to'](_0x2a9df3,'isActive'),this['listenTo'](_0x56bbe6,'execute',()=>{_0x1c046e['execute']('uploadcareImageEdit'),_0x1c046e['editing']['view']['focus']();}),_0x56bbe6;}),this['_initConfig']();}['_initConfig'](){const _0x1c11cd=_0x52fd0b(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x1c11cd),this['listenTo'](this['editor'],'destroy',()=>{_0x1c11cd['remove']();});}}
23
+ import{Plugin as _0x2692dd}from'ckeditor5/src/core.js';import{ButtonView as _0x4452f9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1e1a0a}from'ckeditor5/src/icons.js';import{createElement as _0x23622f}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 _0x2692dd{['_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 _0x1d604e=this['editor'];_0x1d604e['ui']['componentFactory']['add']('uploadcareImageEdit',_0x53efd8=>{const _0x5163e9=_0x1d604e['commands']['get']('uploadcareImageEdit'),_0x29a06a=new _0x4452f9(_0x53efd8),t=_0x53efd8['t'];return _0x29a06a['set']({'icon':_0x1e1a0a,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x29a06a['bind']('isEnabled')['to'](_0x5163e9),_0x29a06a['bind']('isOn')['to'](_0x5163e9,'isActive'),this['listenTo'](_0x29a06a,'execute',()=>{_0x1d604e['execute']('uploadcareImageEdit'),_0x1d604e['editing']['view']['focus']();}),_0x29a06a;}),this['_initConfig']();}['_initConfig'](){const _0x384f2c=_0x23622f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x384f2c),this['listenTo'](this['editor'],'destroy',()=>{_0x384f2c['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x437fc4=_0x1d45;(function(_0x196b55,_0x5ed69a){const _0x2ccaf7=_0x1d45,_0x7f60b1=_0x196b55();while(!![]){try{const _0x355d29=parseInt(_0x2ccaf7(0x17e))/0x1+-parseInt(_0x2ccaf7(0x169))/0x2+parseInt(_0x2ccaf7(0x17c))/0x3+parseInt(_0x2ccaf7(0x17f))/0x4*(-parseInt(_0x2ccaf7(0x17a))/0x5)+parseInt(_0x2ccaf7(0x172))/0x6+parseInt(_0x2ccaf7(0x17b))/0x7+-parseInt(_0x2ccaf7(0x17d))/0x8;if(_0x355d29===_0x5ed69a)break;else _0x7f60b1['push'](_0x7f60b1['shift']());}catch(_0x36374f){_0x7f60b1['push'](_0x7f60b1['shift']());}}}(_0x33e8,0x3600d));function _0x1d45(_0x3d74a7,_0x547a37){const _0x33e816=_0x33e8();return _0x1d45=function(_0x1d4502,_0x3f7569){_0x1d4502=_0x1d4502-0x169;let _0x560a7e=_0x33e816[_0x1d4502];return _0x560a7e;},_0x1d45(_0x3d74a7,_0x547a37);}import{Command as _0x50ea84}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x50ea84{[_0x437fc4(0x176)](){const _0x589dfa=_0x437fc4,_0x48987e=this[_0x589dfa(0x171)][_0x589dfa(0x16a)][_0x589dfa(0x175)][_0x589dfa(0x16e)][_0x589dfa(0x16f)]();this[_0x589dfa(0x174)]=Boolean(_0x48987e&&(_0x48987e['is'](_0x589dfa(0x177),_0x589dfa(0x173))||_0x48987e['is'](_0x589dfa(0x177),_0x589dfa(0x179))));}[_0x437fc4(0x178)](_0x195a33){const _0x1de317=_0x437fc4,_0x2fbd8e=this[_0x1de317(0x171)][_0x1de317(0x16a)][_0x1de317(0x175)][_0x1de317(0x16e)][_0x1de317(0x16f)]();this[_0x1de317(0x171)][_0x1de317(0x16a)][_0x1de317(0x16b)](_0x2c73df=>{const _0x2f39cf=_0x1de317;_0x2c73df[_0x2f39cf(0x16c)](_0x195a33,_0x2fbd8e),_0x2c73df[_0x2f39cf(0x16d)](_0x2f39cf(0x180),_0x2fbd8e),_0x2c73df[_0x2f39cf(0x16d)](_0x2f39cf(0x170),_0x2fbd8e);});}}function _0x33e8(){const _0x11b018=['970296OLwcuR','361720OsIYOl','5146RNlwdZ','147652JHEubN','srcset','154530gsixfA','model','change','setAttributes','removeAttribute','selection','getSelectedElement','sizes','editor','1996992UZQJkG','imageBlock','isEnabled','document','refresh','element','execute','imageInline','45umJPBK','101388xRHpix'];_0x33e8=function(){return _0x11b018;};return _0x33e8();}
23
+ const _0x1baad7=_0x32e4;(function(_0xebadad,_0x455f6d){const _0x4b787b=_0x32e4,_0x450197=_0xebadad();while(!![]){try{const _0x24fcaf=parseInt(_0x4b787b(0x1ac))/0x1+-parseInt(_0x4b787b(0x1b9))/0x2*(-parseInt(_0x4b787b(0x1af))/0x3)+parseInt(_0x4b787b(0x1bb))/0x4+-parseInt(_0x4b787b(0x1a7))/0x5*(parseInt(_0x4b787b(0x1b4))/0x6)+parseInt(_0x4b787b(0x1b6))/0x7*(parseInt(_0x4b787b(0x1ad))/0x8)+-parseInt(_0x4b787b(0x1b5))/0x9*(-parseInt(_0x4b787b(0x1b3))/0xa)+-parseInt(_0x4b787b(0x1a8))/0xb;if(_0x24fcaf===_0x455f6d)break;else _0x450197['push'](_0x450197['shift']());}catch(_0x10bb5f){_0x450197['push'](_0x450197['shift']());}}}(_0x3746,0x5aef8));function _0x32e4(_0x24870a,_0x9401e){const _0x37462b=_0x3746();return _0x32e4=function(_0x32e480,_0x32fdad){_0x32e480=_0x32e480-0x1a7;let _0x34dbfd=_0x37462b[_0x32e480];return _0x34dbfd;},_0x32e4(_0x24870a,_0x9401e);}function _0x3746(){const _0x257ac9=['1525428wVOYhD','selection','change','isEnabled','execute','setAttributes','getSelectedElement','20IUoSSs','19033641lPtyPC','model','element','sizes','727166GyTKgM','4661752cWcObb','removeAttribute','2289YRHdyt','editor','imageBlock','refresh','4715710REAvjs','998748WhDSbN','9JJxpHx','7SwlaNK','imageInline','srcset','1588fcSHNX','document'];_0x3746=function(){return _0x257ac9;};return _0x3746();}import{Command as _0x305e75}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x305e75{[_0x1baad7(0x1b2)](){const _0x3a1f64=_0x1baad7,_0x1d9b12=this[_0x3a1f64(0x1b0)][_0x3a1f64(0x1a9)][_0x3a1f64(0x1ba)][_0x3a1f64(0x1bc)][_0x3a1f64(0x1c1)]();this[_0x3a1f64(0x1be)]=Boolean(_0x1d9b12&&(_0x1d9b12['is'](_0x3a1f64(0x1aa),_0x3a1f64(0x1b1))||_0x1d9b12['is'](_0x3a1f64(0x1aa),_0x3a1f64(0x1b7))));}[_0x1baad7(0x1bf)](_0x107828){const _0x40610d=_0x1baad7,_0x245b38=this[_0x40610d(0x1b0)][_0x40610d(0x1a9)][_0x40610d(0x1ba)][_0x40610d(0x1bc)][_0x40610d(0x1c1)]();this[_0x40610d(0x1b0)][_0x40610d(0x1a9)][_0x40610d(0x1bd)](_0x4707e3=>{const _0x4a5e08=_0x40610d;_0x4707e3[_0x4a5e08(0x1c0)](_0x107828,_0x245b38),_0x4707e3[_0x4a5e08(0x1ae)](_0x4a5e08(0x1b8),_0x245b38),_0x4707e3[_0x4a5e08(0x1ae)](_0x4a5e08(0x1ab),_0x245b38);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1611(_0x48ab9d,_0x1b36f4){var _0x5bc08b=_0x5bc0();return _0x1611=function(_0x161192,_0x2352d2){_0x161192=_0x161192-0x1e9;var _0xee2712=_0x5bc08b[_0x161192];return _0xee2712;},_0x1611(_0x48ab9d,_0x1b36f4);}var _0x502922=_0x1611;(function(_0x45191d,_0x1246d2){var _0x3281da=_0x1611,_0x1f18e0=_0x45191d();while(!![]){try{var _0x3e62cf=parseInt(_0x3281da(0x1f7))/0x1+-parseInt(_0x3281da(0x1f5))/0x2+-parseInt(_0x3281da(0x1f4))/0x3*(parseInt(_0x3281da(0x1ee))/0x4)+-parseInt(_0x3281da(0x1ec))/0x5+-parseInt(_0x3281da(0x1ef))/0x6*(parseInt(_0x3281da(0x1ed))/0x7)+parseInt(_0x3281da(0x1f3))/0x8*(parseInt(_0x3281da(0x1eb))/0x9)+parseInt(_0x3281da(0x1f0))/0xa*(parseInt(_0x3281da(0x1e9))/0xb);if(_0x3e62cf===_0x1246d2)break;else _0x1f18e0['push'](_0x1f18e0['shift']());}catch(_0x220945){_0x1f18e0['push'](_0x1f18e0['shift']());}}}(_0x5bc0,0x455e1));function _0x5bc0(){var _0x39ad11=['UploadcareImageEdit','isPremiumPlugin','400LsGoXy','708711fiZzVW','975224bVzsEG','requires','114457WSVlNl','isOfficialPlugin','5496128fCncle','pluginName','38079OFRDox','317655MNVQEl','592186oRUpFX','4zPexCJ','18dGnEoU','20vlJyAD'];_0x5bc0=function(){return _0x39ad11;};return _0x5bc0();}import{Plugin as _0x80d86f}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x37f123}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x5eafa0}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x80d86f{static get[_0x502922(0x1ea)](){var _0x1d4f76=_0x502922;return _0x1d4f76(0x1f1);}static get[_0x502922(0x1f6)](){return[_0x37f123,_0x5eafa0];}static get[_0x502922(0x1f8)](){return!0x0;}static get[_0x502922(0x1f2)](){return!0x0;}}
23
+ var _0x488287=_0x440a;(function(_0x3d2aaf,_0x25ed90){var _0x1fce8d=_0x440a,_0x5a092f=_0x3d2aaf();while(!![]){try{var _0x1fdd07=-parseInt(_0x1fce8d(0x1f2))/0x1+-parseInt(_0x1fce8d(0x1f5))/0x2*(parseInt(_0x1fce8d(0x1f1))/0x3)+parseInt(_0x1fce8d(0x1f6))/0x4+parseInt(_0x1fce8d(0x1f9))/0x5+-parseInt(_0x1fce8d(0x1ed))/0x6+-parseInt(_0x1fce8d(0x1ef))/0x7*(parseInt(_0x1fce8d(0x1f4))/0x8)+parseInt(_0x1fce8d(0x1f0))/0x9;if(_0x1fdd07===_0x25ed90)break;else _0x5a092f['push'](_0x5a092f['shift']());}catch(_0x5309ac){_0x5a092f['push'](_0x5a092f['shift']());}}}(_0x5896,0xb8291));import{Plugin as _0x2d90ad}from'ckeditor5/src/core.js';function _0x440a(_0xac548b,_0x46f6b5){var _0x5896d1=_0x5896();return _0x440a=function(_0x440a79,_0x1e44bf){_0x440a79=_0x440a79-0x1ec;var _0x59ed80=_0x5896d1[_0x440a79];return _0x59ed80;},_0x440a(_0xac548b,_0x46f6b5);}import{UploadcareImageEditEditing as _0xcab61b}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x4c834d}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x5896(){var _0x1b8d97=['4443195UmcwNN','UploadcareImageEdit','4295142nEQpCn','pluginName','448IUisAL','15284718zRUSUb','2812119vnxfdm','997785sNxIIS','requires','51592LWzepp','2vfkqJp','4924524yarZUR','isOfficialPlugin','isPremiumPlugin'];_0x5896=function(){return _0x1b8d97;};return _0x5896();}export class UploadcareImageEdit extends _0x2d90ad{static get[_0x488287(0x1ee)](){var _0x1cc37b=_0x488287;return _0x1cc37b(0x1ec);}static get[_0x488287(0x1f3)](){return[_0xcab61b,_0x4c834d];}static get[_0x488287(0x1f7)](){return!0x0;}static get[_0x488287(0x1f8)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16394a=_0x20c1;(function(_0x3b72ae,_0x5d277d){const _0x1ba438=_0x20c1,_0x5b2255=_0x3b72ae();while(!![]){try{const _0x3b1f05=parseInt(_0x1ba438(0x12f))/0x1*(-parseInt(_0x1ba438(0x139))/0x2)+-parseInt(_0x1ba438(0x142))/0x3*(-parseInt(_0x1ba438(0x15d))/0x4)+parseInt(_0x1ba438(0x15f))/0x5+parseInt(_0x1ba438(0x131))/0x6+parseInt(_0x1ba438(0x159))/0x7*(parseInt(_0x1ba438(0x166))/0x8)+-parseInt(_0x1ba438(0x151))/0x9*(parseInt(_0x1ba438(0x137))/0xa)+-parseInt(_0x1ba438(0x128))/0xb*(-parseInt(_0x1ba438(0x12b))/0xc);if(_0x3b1f05===_0x5d277d)break;else _0x5b2255['push'](_0x5b2255['shift']());}catch(_0x20d9ea){_0x5b2255['push'](_0x5b2255['shift']());}}}(_0x3df4,0xb1496));import{Plugin as _0x22a5d5}from'ckeditor5/src/core.js';import{IconDropbox as _0x513def,IconFacebook as _0x34691a,IconGoogleDrive as _0x23df09,IconGooglePhotos as _0x464bf1,IconUploadcareImageUpload as _0x580000,IconUploadcareLink as _0x12faa6,IconOneDrive as _0x203979}from'ckeditor5/src/icons.js';function _0x3df4(){const _0x59b66b=['Dropbox','uploadcareLicenseKeyDomainLimit','4mBdblB','plugins','2713295zvthps','usageLimit','Local','upload','commands','uploadcare.uploader.sourceList','_getIntegrationKey','53528CELUCy','reduce','Replace','has','assetManager','uploadcareLicenseKeyEvaluationLimit','isPremiumPlugin','isOfficialPlugin','trialLimit','bind','text','isImageSelected','uploadcareLicenseKeyExpired','Insert','registerIntegration','URL','type','label','icon','locale','_createDropdownButtons','3080wQPbJa','get','OneDrive','4524MIZqbf','uploadcareLicenseKeyNotAllowed','_createButton','uploadcareLicenseKeyValid','2ugYPjs','Facebook','2748270UslTrn','GPhotos','destroy','map','withText','execute','920dRbbcG','_createToolbarButton','1223986HnbSIy','featureNotAllowed','url','config','forEach','uploadcareLicenseKeyInvalid','expired','UploadcareUI','tooltip','151881RHJNWM','shortText','_showLicenseError','evaluationLimit','uploadcare','domainLimit','_licenseKeyCheckInterval','_createMenuBarButtons','uploadcareLicenseKeyTrialLimit','licenseKey','_normalizeConfigSourceList','uploadcareLicenseKeyUsageLimit','push','GDrive','init','8145XptdHC','invalid','pluginName','Uploadcare','ImageInsertUI','afterInit','editor','isEnabled','917dMKYNx','entries'];_0x3df4=function(){return _0x59b66b;};return _0x3df4();}import{ButtonView as _0x262ffb,MenuBarMenuListItemButtonView as _0x30741e}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3e8971}from'./uploadcareconfig.js';function _0x20c1(_0x5de711,_0x236490){const _0x3df423=_0x3df4();return _0x20c1=function(_0x20c100,_0x3633ca){_0x20c100=_0x20c100-0x123;let _0x4ac19c=_0x3df423[_0x20c100];return _0x4ac19c;},_0x20c1(_0x5de711,_0x236490);}import{getTranslation as _0x453435}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 _0x22a5d5{[_0x16394a(0x14b)];[_0x16394a(0x148)];static get[_0x16394a(0x153)](){const _0x29d918=_0x16394a;return _0x29d918(0x140);}static get[_0x16394a(0x16d)](){return!0x0;}static get[_0x16394a(0x16c)](){return!0x0;}[_0x16394a(0x150)](){const _0x10f0f2=_0x16394a;this[_0x10f0f2(0x14b)]=this[_0x10f0f2(0x157)][_0x10f0f2(0x13c)][_0x10f0f2(0x129)](_0x10f0f2(0x14b));const _0x5c23da=this[_0x10f0f2(0x157)];this[_0x10f0f2(0x148)]=setInterval(()=>{const _0x442ead=_0x10f0f2;let _0x468735;for(const _0x301ac5 in _0x5c23da){const _0x23c7d3=_0x301ac5,_0x35deb0=_0x5c23da[_0x23c7d3];if(_0x442ead(0x12e)==_0x35deb0||_0x442ead(0x13e)==_0x35deb0||_0x442ead(0x172)==_0x35deb0||_0x442ead(0x15c)==_0x35deb0||_0x442ead(0x12c)==_0x35deb0||_0x442ead(0x16b)==_0x35deb0||_0x442ead(0x14a)==_0x35deb0||_0x442ead(0x14d)==_0x35deb0){delete _0x5c23da[_0x23c7d3],_0x468735=_0x35deb0,clearInterval(this[_0x442ead(0x148)]),this[_0x442ead(0x148)]=void 0x0;break;}}_0x442ead(0x13e)==_0x468735&&_0x5c23da[_0x442ead(0x144)](_0x442ead(0x152)),_0x442ead(0x172)==_0x468735&&_0x5c23da[_0x442ead(0x144)](_0x442ead(0x13f)),_0x442ead(0x15c)==_0x468735&&_0x5c23da[_0x442ead(0x144)](_0x442ead(0x147)),_0x442ead(0x12c)==_0x468735&&_0x5c23da[_0x442ead(0x144)](_0x442ead(0x13a),_0x442ead(0x154)),_0x442ead(0x16b)==_0x468735&&_0x5c23da[_0x442ead(0x144)](_0x442ead(0x145)),_0x442ead(0x14a)==_0x468735&&_0x5c23da[_0x442ead(0x144)](_0x442ead(0x16e)),_0x442ead(0x14d)==_0x468735&&_0x5c23da[_0x442ead(0x144)](_0x442ead(0x160));},0x3e8);}[_0x16394a(0x156)](){const _0x29b14c=_0x16394a,{editor:_0x57a2dc}=this,_0x1022ab=_0x57a2dc[_0x29b14c(0x163)][_0x29b14c(0x129)](_0x29b14c(0x146));if(!_0x1022ab)return;const _0x1b75eb=this[_0x29b14c(0x14c)](_0x57a2dc[_0x29b14c(0x13c)][_0x29b14c(0x129)](_0x29b14c(0x164)))[_0x29b14c(0x167)]((_0xb727a3,_0x478e66)=>{const _0x127c09=_0x29b14c,_0x2f9717=this[_0x127c09(0x165)](_0x478e66[_0x127c09(0x123)]);return _0xb727a3[_0x2f9717]||(_0xb727a3[_0x2f9717]=[]),_0xb727a3[_0x2f9717][_0x127c09(0x14e)](_0x478e66),_0xb727a3;},{});_0x57a2dc[_0x29b14c(0x15e)][_0x29b14c(0x169)](_0x29b14c(0x155))&&_0x57a2dc[_0x29b14c(0x163)][_0x29b14c(0x129)](_0x29b14c(0x146))&&Object[_0x29b14c(0x15a)](_0x1b75eb)[_0x29b14c(0x13d)](([_0x32e35a,_0x4bcc35])=>{const _0x143794=_0x29b14c;_0x57a2dc[_0x143794(0x15e)][_0x143794(0x129)](_0x143794(0x155))[_0x143794(0x174)]({'name':_0x32e35a,'observable':()=>_0x1022ab,'buttonViewCreator':()=>this[_0x143794(0x138)](_0x4bcc35),'formViewCreator':()=>this[_0x143794(0x127)](_0x4bcc35),'menuBarButtonViewCreator':()=>this[_0x143794(0x149)](_0x4bcc35),'override':_0x143794(0x16a)!==_0x32e35a});});}[_0x16394a(0x133)](){const _0x37a653=_0x16394a;super[_0x37a653(0x133)](),this[_0x37a653(0x148)]&&clearInterval(this[_0x37a653(0x148)]);}[_0x16394a(0x14c)](_0x14bb74){const _0x1818df=_0x16394a,{locale:_0x3d8b6f}=this[_0x1818df(0x157)];return _0x14bb74[_0x1818df(0x134)](_0x1219df=>{const _0x270777=_0x1818df,_0x50fa08=_0x453435(_0x3d8b6f,_0x1219df,_0x270777(0x173));switch(_0x1219df){case _0x3e8971[_0x270777(0x161)]:return{'icon':_0x580000,'type':_0x3e8971[_0x270777(0x161)],..._0x50fa08};case _0x3e8971[_0x270777(0x175)]:return{'icon':_0x12faa6,'type':_0x3e8971[_0x270777(0x175)],..._0x50fa08};case _0x3e8971[_0x270777(0x15b)]:return{'icon':_0x513def,'type':_0x3e8971[_0x270777(0x15b)],..._0x50fa08};case _0x3e8971[_0x270777(0x130)]:return{'icon':_0x34691a,'type':_0x3e8971[_0x270777(0x130)],..._0x50fa08};case _0x3e8971[_0x270777(0x14f)]:return{'icon':_0x23df09,'type':_0x3e8971[_0x270777(0x14f)],..._0x50fa08};case _0x3e8971[_0x270777(0x132)]:return{'icon':_0x464bf1,'type':_0x3e8971[_0x270777(0x132)],..._0x50fa08};case _0x3e8971[_0x270777(0x12a)]:return{'icon':_0x203979,'type':_0x3e8971[_0x270777(0x12a)],..._0x50fa08};}});}[_0x16394a(0x165)](_0x21007a){const _0x2debf8=_0x16394a;switch(_0x21007a){case _0x3e8971[_0x2debf8(0x161)]:return _0x2debf8(0x162);case _0x3e8971[_0x2debf8(0x175)]:return _0x2debf8(0x13b);default:return _0x2debf8(0x16a);}}[_0x16394a(0x12d)](_0x181c47,_0x2e00a7){const _0x36a24b=_0x16394a,_0x22d19a=this[_0x36a24b(0x157)],_0x3bae3a=new _0x181c47(_0x22d19a[_0x36a24b(0x126)]),_0x5062b4=_0x22d19a[_0x36a24b(0x163)][_0x36a24b(0x129)](_0x36a24b(0x146));return _0x3bae3a[_0x36a24b(0x16f)](_0x36a24b(0x158))['to'](_0x5062b4),_0x3bae3a['on'](_0x36a24b(0x136),()=>{const _0x2f8ce4=_0x36a24b;_0x5062b4[_0x2f8ce4(0x136)](_0x2e00a7);}),_0x3bae3a;}[_0x16394a(0x138)](_0x44b7a1){const _0x37b07d=_0x16394a,{locale:_0x466473}=this[_0x37b07d(0x157)],_0x210d10=this[_0x37b07d(0x157)][_0x37b07d(0x15e)][_0x37b07d(0x129)](_0x37b07d(0x155)),_0x1ec87d=_0x44b7a1[0x0],_0x5e46cb=this[_0x37b07d(0x12d)](_0x262ffb,_0x1ec87d[_0x37b07d(0x123)]);return _0x5e46cb[_0x37b07d(0x125)]=_0x1ec87d[_0x37b07d(0x125)],_0x5e46cb[_0x37b07d(0x16f)](_0x37b07d(0x124))['to'](_0x210d10,_0x37b07d(0x171),_0x45898b=>_0x453435(_0x466473,_0x1ec87d[_0x37b07d(0x123)],_0x45898b?_0x37b07d(0x168):_0x37b07d(0x173))[_0x37b07d(0x170)]),_0x5e46cb[_0x37b07d(0x141)]=!0x0,_0x5e46cb;}[_0x16394a(0x127)](_0x598f9a){const _0x14bc43=_0x16394a,{locale:_0x569b5d}=this[_0x14bc43(0x157)],_0x4ba639=this[_0x14bc43(0x157)][_0x14bc43(0x15e)][_0x14bc43(0x129)](_0x14bc43(0x155));return _0x598f9a[_0x14bc43(0x134)](_0x428fc9=>{const _0x49a32e=_0x14bc43,_0x1e212b=this[_0x49a32e(0x12d)](_0x262ffb,_0x428fc9[_0x49a32e(0x123)]);return _0x1e212b[_0x49a32e(0x135)]=!0x0,_0x1e212b[_0x49a32e(0x125)]=_0x428fc9[_0x49a32e(0x125)],_0x1e212b[_0x49a32e(0x16f)](_0x49a32e(0x124))['to'](_0x4ba639,_0x49a32e(0x171),_0x57157c=>_0x453435(_0x569b5d,_0x428fc9[_0x49a32e(0x123)],_0x57157c?_0x49a32e(0x168):_0x49a32e(0x173))[_0x49a32e(0x170)]),_0x1e212b;});}[_0x16394a(0x149)](_0x29e493){const _0x6e889=_0x16394a;return _0x29e493[_0x6e889(0x134)](_0x220ca2=>{const _0x4e79e8=_0x6e889,_0x142048=this[_0x4e79e8(0x12d)](_0x30741e,_0x220ca2[_0x4e79e8(0x123)]);return _0x142048[_0x4e79e8(0x125)]=_0x220ca2[_0x4e79e8(0x125)],_0x142048[_0x4e79e8(0x124)]=_0x220ca2[_0x4e79e8(0x143)],_0x142048;});}}
23
+ const _0x3d6380=_0x4cb6;(function(_0xa3050e,_0x1d0dab){const _0x418dd8=_0x4cb6,_0x5c5d7c=_0xa3050e();while(!![]){try{const _0x46a776=parseInt(_0x418dd8(0x192))/0x1*(-parseInt(_0x418dd8(0x189))/0x2)+parseInt(_0x418dd8(0x174))/0x3*(parseInt(_0x418dd8(0x1a1))/0x4)+parseInt(_0x418dd8(0x165))/0x5+-parseInt(_0x418dd8(0x196))/0x6+-parseInt(_0x418dd8(0x1a3))/0x7*(-parseInt(_0x418dd8(0x163))/0x8)+parseInt(_0x418dd8(0x178))/0x9*(-parseInt(_0x418dd8(0x1a2))/0xa)+parseInt(_0x418dd8(0x195))/0xb;if(_0x46a776===_0x1d0dab)break;else _0x5c5d7c['push'](_0x5c5d7c['shift']());}catch(_0x22261c){_0x5c5d7c['push'](_0x5c5d7c['shift']());}}}(_0x1492,0x43da5));import{Plugin as _0x5d1571}from'ckeditor5/src/core.js';import{IconDropbox as _0x2a6904,IconFacebook as _0x2c153c,IconGoogleDrive as _0x154de5,IconGooglePhotos as _0xcd7564,IconUploadcareImageUpload as _0x57c20e,IconUploadcareLink as _0x4eaff0,IconOneDrive as _0x33aea2}from'ckeditor5/src/icons.js';import{ButtonView as _0x63dc5c,MenuBarMenuListItemButtonView as _0x5de699}from'ckeditor5/src/ui.js';function _0x4cb6(_0x58b3e3,_0x199da8){const _0x1492e1=_0x1492();return _0x4cb6=function(_0x4cb602,_0x29ac3c){_0x4cb602=_0x4cb602-0x158;let _0x56f852=_0x1492e1[_0x4cb602];return _0x56f852;},_0x4cb6(_0x58b3e3,_0x199da8);}function _0x1492(){const _0x2774e1=['731570AnyJxH','GPhotos','expired','_showLicenseError','bind','_createMenuBarButtons','uploadcareLicenseKeyExpired','commands','invalid','ImageInsertUI','editor','Uploadcare','icon','_getIntegrationKey','_licenseKeyCheckInterval','1579401HCIinb','Facebook','label','_createButton','1360467vLGmNO','OneDrive','uploadcareLicenseKeyTrialLimit','isPremiumPlugin','uploadcareLicenseKeyValid','get','map','upload','text','isOfficialPlugin','UploadcareUI','domainLimit','init','assetManager','pluginName','forEach','afterInit','4nAYlXe','Insert','config','locale','uploadcare.uploader.sourceList','uploadcareLicenseKeyInvalid','evaluationLimit','shortText','entries','46577MqlGyD','uploadcare','execute','4784329WiMLZo','2711418RUfgij','isEnabled','destroy','GDrive','has','uploadcareLicenseKeyUsageLimit','url','Replace','Dropbox','trialLimit','uploadcareLicenseKeyDomainLimit','4FgjBxa','30VykjgN','203XzYBfc','_normalizeConfigSourceList','reduce','URL','licenseKey','Local','registerIntegration','tooltip','isImageSelected','withText','_createDropdownButtons','plugins','featureNotAllowed','_createToolbarButton','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyNotAllowed','type','push','46552yWXrLK','usageLimit'];_0x1492=function(){return _0x2774e1;};return _0x1492();}import{UploadcareSource as _0x1fe556}from'./uploadcareconfig.js';import{getTranslation as _0x28130a}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 _0x5d1571{[_0x3d6380(0x1a7)];[_0x3d6380(0x173)];static get[_0x3d6380(0x186)](){const _0x256131=_0x3d6380;return _0x256131(0x182);}static get[_0x3d6380(0x181)](){return!0x0;}static get[_0x3d6380(0x17b)](){return!0x0;}[_0x3d6380(0x184)](){const _0x5aa40d=_0x3d6380;this[_0x5aa40d(0x1a7)]=this[_0x5aa40d(0x16f)][_0x5aa40d(0x18b)][_0x5aa40d(0x17d)](_0x5aa40d(0x1a7));const _0x21eb31=this[_0x5aa40d(0x16f)];this[_0x5aa40d(0x173)]=setInterval(()=>{const _0x2f6721=_0x5aa40d;let _0x1960a5;for(const _0x3659a3 in _0x21eb31){const _0x21441f=_0x3659a3,_0x95bc9=_0x21eb31[_0x21441f];if(_0x2f6721(0x17c)==_0x95bc9||_0x2f6721(0x18e)==_0x95bc9||_0x2f6721(0x16b)==_0x95bc9||_0x2f6721(0x1a0)==_0x95bc9||_0x2f6721(0x160)==_0x95bc9||_0x2f6721(0x15f)==_0x95bc9||_0x2f6721(0x17a)==_0x95bc9||_0x2f6721(0x19b)==_0x95bc9){delete _0x21eb31[_0x21441f],_0x1960a5=_0x95bc9,clearInterval(this[_0x2f6721(0x173)]),this[_0x2f6721(0x173)]=void 0x0;break;}}_0x2f6721(0x18e)==_0x1960a5&&_0x21eb31[_0x2f6721(0x168)](_0x2f6721(0x16d)),_0x2f6721(0x16b)==_0x1960a5&&_0x21eb31[_0x2f6721(0x168)](_0x2f6721(0x167)),_0x2f6721(0x1a0)==_0x1960a5&&_0x21eb31[_0x2f6721(0x168)](_0x2f6721(0x183)),_0x2f6721(0x160)==_0x1960a5&&_0x21eb31[_0x2f6721(0x168)](_0x2f6721(0x15d),_0x2f6721(0x170)),_0x2f6721(0x15f)==_0x1960a5&&_0x21eb31[_0x2f6721(0x168)](_0x2f6721(0x18f)),_0x2f6721(0x17a)==_0x1960a5&&_0x21eb31[_0x2f6721(0x168)](_0x2f6721(0x19f)),_0x2f6721(0x19b)==_0x1960a5&&_0x21eb31[_0x2f6721(0x168)](_0x2f6721(0x164));},0x3e8);}[_0x3d6380(0x188)](){const _0x91eeb9=_0x3d6380,{editor:_0x51baf5}=this,_0x4928a6=_0x51baf5[_0x91eeb9(0x16c)][_0x91eeb9(0x17d)](_0x91eeb9(0x193));if(!_0x4928a6)return;const _0x243fc6=this[_0x91eeb9(0x1a4)](_0x51baf5[_0x91eeb9(0x18b)][_0x91eeb9(0x17d)](_0x91eeb9(0x18d)))[_0x91eeb9(0x1a5)]((_0x5a735c,_0x16c6fc)=>{const _0x287f6d=_0x91eeb9,_0x395131=this[_0x287f6d(0x172)](_0x16c6fc[_0x287f6d(0x161)]);return _0x5a735c[_0x395131]||(_0x5a735c[_0x395131]=[]),_0x5a735c[_0x395131][_0x287f6d(0x162)](_0x16c6fc),_0x5a735c;},{});_0x51baf5[_0x91eeb9(0x15c)][_0x91eeb9(0x19a)](_0x91eeb9(0x16e))&&_0x51baf5[_0x91eeb9(0x16c)][_0x91eeb9(0x17d)](_0x91eeb9(0x193))&&Object[_0x91eeb9(0x191)](_0x243fc6)[_0x91eeb9(0x187)](([_0x9a48d1,_0x4b7145])=>{const _0x3123ff=_0x91eeb9;_0x51baf5[_0x3123ff(0x15c)][_0x3123ff(0x17d)](_0x3123ff(0x16e))[_0x3123ff(0x1a9)]({'name':_0x9a48d1,'observable':()=>_0x4928a6,'buttonViewCreator':()=>this[_0x3123ff(0x15e)](_0x4b7145),'formViewCreator':()=>this[_0x3123ff(0x15b)](_0x4b7145),'menuBarButtonViewCreator':()=>this[_0x3123ff(0x16a)](_0x4b7145),'override':_0x3123ff(0x185)!==_0x9a48d1});});}[_0x3d6380(0x198)](){const _0x5d418b=_0x3d6380;super[_0x5d418b(0x198)](),this[_0x5d418b(0x173)]&&clearInterval(this[_0x5d418b(0x173)]);}[_0x3d6380(0x1a4)](_0x413b8f){const _0x171295=_0x3d6380,{locale:_0x342edc}=this[_0x171295(0x16f)];return _0x413b8f[_0x171295(0x17e)](_0x449b06=>{const _0x26228f=_0x171295,_0x1d233f=_0x28130a(_0x342edc,_0x449b06,_0x26228f(0x18a));switch(_0x449b06){case _0x1fe556[_0x26228f(0x1a8)]:return{'icon':_0x57c20e,'type':_0x1fe556[_0x26228f(0x1a8)],..._0x1d233f};case _0x1fe556[_0x26228f(0x1a6)]:return{'icon':_0x4eaff0,'type':_0x1fe556[_0x26228f(0x1a6)],..._0x1d233f};case _0x1fe556[_0x26228f(0x19e)]:return{'icon':_0x2a6904,'type':_0x1fe556[_0x26228f(0x19e)],..._0x1d233f};case _0x1fe556[_0x26228f(0x175)]:return{'icon':_0x2c153c,'type':_0x1fe556[_0x26228f(0x175)],..._0x1d233f};case _0x1fe556[_0x26228f(0x199)]:return{'icon':_0x154de5,'type':_0x1fe556[_0x26228f(0x199)],..._0x1d233f};case _0x1fe556[_0x26228f(0x166)]:return{'icon':_0xcd7564,'type':_0x1fe556[_0x26228f(0x166)],..._0x1d233f};case _0x1fe556[_0x26228f(0x179)]:return{'icon':_0x33aea2,'type':_0x1fe556[_0x26228f(0x179)],..._0x1d233f};}});}[_0x3d6380(0x172)](_0x2cc350){const _0x493e2a=_0x3d6380;switch(_0x2cc350){case _0x1fe556[_0x493e2a(0x1a8)]:return _0x493e2a(0x17f);case _0x1fe556[_0x493e2a(0x1a6)]:return _0x493e2a(0x19c);default:return _0x493e2a(0x185);}}[_0x3d6380(0x177)](_0x178f8f,_0x32319a){const _0x153457=_0x3d6380,_0x1e15c3=this[_0x153457(0x16f)],_0x2a23fe=new _0x178f8f(_0x1e15c3[_0x153457(0x18c)]),_0x33c91c=_0x1e15c3[_0x153457(0x16c)][_0x153457(0x17d)](_0x153457(0x193));return _0x2a23fe[_0x153457(0x169)](_0x153457(0x197))['to'](_0x33c91c),_0x2a23fe['on'](_0x153457(0x194),()=>{const _0x47e859=_0x153457;_0x33c91c[_0x47e859(0x194)](_0x32319a);}),_0x2a23fe;}[_0x3d6380(0x15e)](_0x4ed395){const _0x24580f=_0x3d6380,{locale:_0x1f4ca0}=this[_0x24580f(0x16f)],_0x19564b=this[_0x24580f(0x16f)][_0x24580f(0x15c)][_0x24580f(0x17d)](_0x24580f(0x16e)),_0x473b6a=_0x4ed395[0x0],_0x5864a5=this[_0x24580f(0x177)](_0x63dc5c,_0x473b6a[_0x24580f(0x161)]);return _0x5864a5[_0x24580f(0x171)]=_0x473b6a[_0x24580f(0x171)],_0x5864a5[_0x24580f(0x169)](_0x24580f(0x176))['to'](_0x19564b,_0x24580f(0x159),_0x5c2028=>_0x28130a(_0x1f4ca0,_0x473b6a[_0x24580f(0x161)],_0x5c2028?_0x24580f(0x19d):_0x24580f(0x18a))[_0x24580f(0x180)]),_0x5864a5[_0x24580f(0x158)]=!0x0,_0x5864a5;}[_0x3d6380(0x15b)](_0x52900b){const _0x308846=_0x3d6380,{locale:_0x5e4924}=this[_0x308846(0x16f)],_0x2a06d7=this[_0x308846(0x16f)][_0x308846(0x15c)][_0x308846(0x17d)](_0x308846(0x16e));return _0x52900b[_0x308846(0x17e)](_0x21f3e1=>{const _0x28c783=_0x308846,_0x3c5033=this[_0x28c783(0x177)](_0x63dc5c,_0x21f3e1[_0x28c783(0x161)]);return _0x3c5033[_0x28c783(0x15a)]=!0x0,_0x3c5033[_0x28c783(0x171)]=_0x21f3e1[_0x28c783(0x171)],_0x3c5033[_0x28c783(0x169)](_0x28c783(0x176))['to'](_0x2a06d7,_0x28c783(0x159),_0x311117=>_0x28130a(_0x5e4924,_0x21f3e1[_0x28c783(0x161)],_0x311117?_0x28c783(0x19d):_0x28c783(0x18a))[_0x28c783(0x180)]),_0x3c5033;});}[_0x3d6380(0x16a)](_0x42f560){const _0x37e258=_0x3d6380;return _0x42f560[_0x37e258(0x17e)](_0x345ca9=>{const _0x244648=_0x37e258,_0x2157fd=this[_0x244648(0x177)](_0x5de699,_0x345ca9[_0x244648(0x161)]);return _0x2157fd[_0x244648(0x171)]=_0x345ca9[_0x244648(0x171)],_0x2157fd[_0x244648(0x176)]=_0x345ca9[_0x244648(0x190)],_0x2157fd;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1b2714}from'ckeditor5/src/core.js';import{FileRepository as _0x1bf2cd}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x27f5dc}from'./uploadcareediting.js';import{UploadUtils as _0x16e488}from'./utils/uploadutils.js';import{getImageUrls as _0xe86fed}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x1b2714{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x1bf2cd,_0x27f5dc];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x2f8b1c=this['editor'];if(!!!_0x2f8b1c['config']['get']('uploadcare'))return;_0x2f8b1c['plugins']['get'](_0x1bf2cd)['createUploadAdapter']=_0x3d3d3c=>new A(_0x3d3d3c,_0x2f8b1c),_0x2f8b1c['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1d20d9,{imageElement:_0x361936,data:_0x29d274})=>{_0x2f8b1c['model']['change'](_0x11c16e=>{_0x11c16e['setAttribute']('uploadcareImageId',_0x29d274['uploadcareImageId'],_0x361936);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x4704cc,_0x4f3156){this['loader']=_0x4704cc,this['editor']=_0x4f3156,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x7c1e4e=this['editor']['config']['get']('uploadcare.pubkey'),_0x49fa8b=await this['loader']['file'];return _0x16e488['upload']({'file':_0x49fa8b,'publicKey':_0x7c1e4e,'signal':this['controller']['signal'],'onProgress':_0x5ce6c6=>{_0x5ce6c6&&_0x5ce6c6['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x5ce6c6['value']);}})['then'](async _0x27cdd4=>{const {imageFallbackUrl:_0x26c97a,imageSources:_0x11c353}=_0xe86fed(_0x27cdd4['cdnUrl'],_0x27cdd4['imageInfo']['width']);return{'uploadcareImageId':_0x27cdd4['uuid'],'default':_0x26c97a,'sources':_0x11c353};})['catch'](()=>{const _0x32d1f6=t('Cannot\x20upload\x20file:')+('\x20'+_0x49fa8b['name']+'.');return Promise['reject'](_0x32d1f6);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x368597}from'ckeditor5/src/core.js';import{FileRepository as _0x3843d4}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x54dcf7}from'./uploadcareediting.js';import{UploadUtils as _0x5c3aa3}from'./utils/uploadutils.js';import{getImageUrls as _0x1ae0cb}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x368597{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3843d4,_0x54dcf7];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x37c9a4=this['editor'];if(!!!_0x37c9a4['config']['get']('uploadcare'))return;_0x37c9a4['plugins']['get'](_0x3843d4)['createUploadAdapter']=_0x3f4787=>new A(_0x3f4787,_0x37c9a4),_0x37c9a4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1db096,{imageElement:_0x1661c5,data:_0x44ee20})=>{_0x37c9a4['model']['change'](_0x419357=>{_0x419357['setAttribute']('uploadcareImageId',_0x44ee20['uploadcareImageId'],_0x1661c5);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x1d2bee,_0x5d11f6){this['loader']=_0x1d2bee,this['editor']=_0x5d11f6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x431671=this['editor']['config']['get']('uploadcare.pubkey'),_0x50e5cf=await this['loader']['file'];return _0x5c3aa3['upload']({'file':_0x50e5cf,'publicKey':_0x431671,'signal':this['controller']['signal'],'onProgress':_0x307c57=>{_0x307c57&&_0x307c57['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x307c57['value']);}})['then'](async _0x41d206=>{const {imageFallbackUrl:_0x32d64f,imageSources:_0x379b3}=_0x1ae0cb(_0x41d206['cdnUrl'],_0x41d206['imageInfo']['width']);return{'uploadcareImageId':_0x41d206['uuid'],'default':_0x32d64f,'sources':_0x379b3};})['catch'](()=>{const _0x277d92=t('Cannot\x20upload\x20file:')+('\x20'+_0x50e5cf['name']+'.');return Promise['reject'](_0x277d92);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0xfa1e90}from'../uploadcareconfig.js';export function getTranslation(_0x57da2b,_0x9a5466,_0xa700f8){const t=_0x57da2b['t'],_0x54f23d=_0x57da2b['t'];switch(_0x9a5466){case _0xfa1e90['Local']:return{'text':_0x54f23d('Insert'===_0xa700f8?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x54f23d('From\x20computer')};case _0xfa1e90['URL']:return{'text':'Insert'===_0xa700f8?_0x54f23d('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x54f23d('Via\x20URL')};case _0xfa1e90['Dropbox']:return{'text':t('Insert'===_0xa700f8?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xfa1e90['Facebook']:return{'text':t('Insert'===_0xa700f8?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xfa1e90['GDrive']:return{'text':t('Insert'===_0xa700f8?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xfa1e90['GPhotos']:return{'text':t('Insert'===_0xa700f8?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xfa1e90['OneDrive']:return{'text':t('Insert'===_0xa700f8?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x9a5466;}}
23
+ import{UploadcareSource as _0x501598}from'../uploadcareconfig.js';export function getTranslation(_0x40ae4c,_0x532b6f,_0x2f90ca){const t=_0x40ae4c['t'],_0xe0c915=_0x40ae4c['t'];switch(_0x532b6f){case _0x501598['Local']:return{'text':_0xe0c915('Insert'===_0x2f90ca?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0xe0c915('From\x20computer')};case _0x501598['URL']:return{'text':'Insert'===_0x2f90ca?_0xe0c915('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0xe0c915('Via\x20URL')};case _0x501598['Dropbox']:return{'text':t('Insert'===_0x2f90ca?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x501598['Facebook']:return{'text':t('Insert'===_0x2f90ca?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x501598['GDrive']:return{'text':t('Insert'===_0x2f90ca?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x501598['GPhotos']:return{'text':t('Insert'===_0x2f90ca?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x501598['OneDrive']:return{'text':t('Insert'===_0x2f90ca?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x532b6f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xd38649=_0x31e9;function _0x31e9(_0x2e91f6,_0x1d3e93){var _0x52100c=_0x5210();return _0x31e9=function(_0x31e90f,_0x5272d2){_0x31e90f=_0x31e90f-0x133;var _0x5f08ca=_0x52100c[_0x31e90f];return _0x5f08ca;},_0x31e9(_0x2e91f6,_0x1d3e93);}(function(_0x2702d6,_0x44efbf){var _0x212a91=_0x31e9,_0x454b7f=_0x2702d6();while(!![]){try{var _0x5481ee=-parseInt(_0x212a91(0x143))/0x1*(parseInt(_0x212a91(0x140))/0x2)+-parseInt(_0x212a91(0x134))/0x3+parseInt(_0x212a91(0x13e))/0x4+-parseInt(_0x212a91(0x13f))/0x5*(-parseInt(_0x212a91(0x135))/0x6)+-parseInt(_0x212a91(0x141))/0x7+-parseInt(_0x212a91(0x139))/0x8+parseInt(_0x212a91(0x136))/0x9;if(_0x5481ee===_0x44efbf)break;else _0x454b7f['push'](_0x454b7f['shift']());}catch(_0x1c0bf7){_0x454b7f['push'](_0x454b7f['shift']());}}}(_0x5210,0xc617f));import{FocusTracker as _0xb51924}from'ckeditor5/src/utils.js';import{View as _0xd0e40c,FocusCycler as _0x3eddd6}from'ckeditor5/src/ui.js';function _0x5210(){var _0x1b2dba=['21763953cINHUj','div','bindTemplate','6557592CUyqqG','forwardCycle','createCollection','getFocusableElement','focusTracker','4799012KGnMwo','26415NXFqiM','4IlJsWK','8254533yQUofd','focusCycler','494099hjJVsQ','fire','true','694611oGdtBe','468ZiuAEC'];_0x5210=function(){return _0x1b2dba;};return _0x5210();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xd0e40c{[_0xd38649(0x13d)];[_0xd38649(0x142)];constructor(_0x5243ab){var _0x2065e2=_0xd38649;super(_0x5243ab),this[_0x2065e2(0x13d)]=new _0xb51924(),this[_0x2065e2(0x142)]=new _0x3eddd6({'focusables':this[_0x2065e2(0x13b)](),'focusTracker':this[_0x2065e2(0x13d)]});}[_0xd38649(0x13c)](){var _0x1fb2ea=_0xd38649;return{'tag':_0x1fb2ea(0x137),'attributes':{'aria-hidden':_0x1fb2ea(0x133),'tabindex':'0'},'on':{'focus':this[_0x1fb2ea(0x138)]['to'](()=>{var _0xc2dc13=_0x1fb2ea;this[_0xc2dc13(0x142)][_0xc2dc13(0x144)](_0xc2dc13(0x13a));})}};}}
23
+ function _0x3142(_0x543e9b,_0x31ac97){var _0x2d1d6f=_0x2d1d();return _0x3142=function(_0x31426f,_0x1ed0ec){_0x31426f=_0x31426f-0x117;var _0x3f8528=_0x2d1d6f[_0x31426f];return _0x3f8528;},_0x3142(_0x543e9b,_0x31ac97);}var _0x219f89=_0x3142;function _0x2d1d(){var _0x52b349=['493142dHtVrB','fire','74330VwAzTI','64311SZzdfS','getFocusableElement','167274tTcfkT','261ElhSpA','24FuACOV','bindTemplate','div','5330413BOZlSd','40ZxLEZx','true','focusCycler','forwardCycle','focusTracker','148236BQPkjT','createCollection','211799JSUffH','45mgtFWU'];_0x2d1d=function(){return _0x52b349;};return _0x2d1d();}(function(_0x5f02b7,_0x3cb46f){var _0xa98484=_0x3142,_0xe3dc43=_0x5f02b7();while(!![]){try{var _0xe8695c=parseInt(_0xa98484(0x129))/0x1+parseInt(_0xa98484(0x126))/0x2+parseInt(_0xa98484(0x117))/0x3*(-parseInt(_0xa98484(0x119))/0x4)+-parseInt(_0xa98484(0x125))/0x5*(parseInt(_0xa98484(0x122))/0x6)+-parseInt(_0xa98484(0x124))/0x7*(-parseInt(_0xa98484(0x11d))/0x8)+-parseInt(_0xa98484(0x118))/0x9*(parseInt(_0xa98484(0x128))/0xa)+parseInt(_0xa98484(0x11c))/0xb;if(_0xe8695c===_0x3cb46f)break;else _0xe3dc43['push'](_0xe3dc43['shift']());}catch(_0x51e369){_0xe3dc43['push'](_0xe3dc43['shift']());}}}(_0x2d1d,0x2a8d3));import{FocusTracker as _0x52a07e}from'ckeditor5/src/utils.js';import{View as _0xcc7b40,FocusCycler as _0x1cd7bd}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0xcc7b40{[_0x219f89(0x121)];[_0x219f89(0x11f)];constructor(_0x214c15){var _0x1df96f=_0x219f89;super(_0x214c15),this[_0x1df96f(0x121)]=new _0x52a07e(),this[_0x1df96f(0x11f)]=new _0x1cd7bd({'focusables':this[_0x1df96f(0x123)](),'focusTracker':this[_0x1df96f(0x121)]});}[_0x219f89(0x12a)](){var _0x4d9b6a=_0x219f89;return{'tag':_0x4d9b6a(0x11b),'attributes':{'aria-hidden':_0x4d9b6a(0x11e),'tabindex':'0'},'on':{'focus':this[_0x4d9b6a(0x11a)]['to'](()=>{var _0x388434=_0x4d9b6a;this[_0x388434(0x11f)][_0x388434(0x127)](_0x388434(0x120));})}};}}