@ckeditor/ckeditor5-uploadcare 46.0.0-alpha.6 → 46.0.0-alpha.8

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 _0x49b41b=_0x3437;(function(_0x58b047,_0xc55d5a){const _0x23dc90=_0x3437,_0x4748aa=_0x58b047();while(!![]){try{const _0x2ed12a=-parseInt(_0x23dc90(0x109))/0x1+parseInt(_0x23dc90(0x125))/0x2*(-parseInt(_0x23dc90(0x14a))/0x3)+parseInt(_0x23dc90(0x138))/0x4+-parseInt(_0x23dc90(0x13e))/0x5+parseInt(_0x23dc90(0x13a))/0x6*(parseInt(_0x23dc90(0x129))/0x7)+-parseInt(_0x23dc90(0x10e))/0x8*(parseInt(_0x23dc90(0x10d))/0x9)+parseInt(_0x23dc90(0x134))/0xa*(parseInt(_0x23dc90(0x126))/0xb);if(_0x2ed12a===_0xc55d5a)break;else _0x4748aa['push'](_0x4748aa['shift']());}catch(_0x4f9c4b){_0x4748aa['push'](_0x4748aa['shift']());}}}(_0x5d10,0x652ea));import{Plugin as _0x55fbde}from'ckeditor5/src/core.js';import{Dialog as _0xcc4739}from'ckeditor5/src/ui.js';import{createElement as _0x413b6e,global as _0x1eacee,uid as _0x1bf4b1}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x4e2974}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x55a8cf}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x230f29}from'./utils/editingutils.js';function _0x3437(_0x1352d0,_0x326efc){const _0x5d1082=_0x5d10();return _0x3437=function(_0x3437fe,_0x3a914e){_0x3437fe=_0x3437fe-0xf6;let _0x3510cf=_0x5d1082[_0x3437fe];return _0x3510cf;},_0x3437(_0x1352d0,_0x326efc);}function _0x5d10(){const _0x14afee=['map','_initConfig','pluginName','fromCharCode','querySelector','62102parNjg','11uyaECz','document','uploadcareImageId','7sKyHDb','config','appendChild','selection','configElement','ctxElement','afterInit','listenTo','uploadcare.pubkey','true','uploadcare','15350240hAbFoL','closeMax','contentLanguage','init','2873056MWZAxO','isPremiumPlugin','538710JMbYbd','isOfficialPlugin','extend','_configElement','3636370mlVhjO','render','#uc-icon-arrow-down','get','uploadcareImageReplace','destroy','_initConversion','execute','uploader-','downcast','UploadcareEditing','ucContextId','45QEFheh','PictureEditing','add','commands','getAttribute','conversion','editing','_initCtx','imageInline','replaceImageSource','elementToAttribute','isRegistered','removeAttribute','imageBlock','iconHrefResolver','for','insertImage','once','\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','schema','upcast','314331JxCVrb','body','model','input[uploadcare-file-input]','423VxIyny','71704xezLyd','requires','attributeToAttribute','data-uc-image-id','join','editor','href','remove','_initSchema','getSelectedElement','uc-config','locale','uc-upload-ctx-provider','cleanupImage','uploadcare.uploader','view','_initImageProcessingIndicator','_ctxElement'];_0x5d10=function(){return _0x14afee;};return _0x5d10();}export class UploadcareEditing extends _0x55fbde{[_0x49b41b(0x13d)]=null;[_0x49b41b(0x11f)]=null;static get[_0x49b41b(0x122)](){const _0x2161d4=_0x49b41b;return _0x2161d4(0x148);}static get[_0x49b41b(0x10f)](){const _0x3631fb=_0x49b41b;return[_0x3631fb(0x14b),_0x55a8cf,_0xcc4739];}static get[_0x49b41b(0x13b)](){return!0x0;}static get[_0x49b41b(0x139)](){return!0x0;}[_0x49b41b(0x149)];get[_0x49b41b(0x12d)](){const _0x2e04ce=_0x49b41b;return this[_0x2e04ce(0x13d)];}get[_0x49b41b(0x12e)](){const _0x35a1c9=_0x49b41b;return this[_0x35a1c9(0x11f)];}constructor(_0x4c16b2){const _0x5e2fb4=_0x49b41b;super(_0x4c16b2),this[_0x5e2fb4(0x149)]=_0x1bf4b1();}[_0x49b41b(0x137)](){const _0x18adb8=_0x49b41b,_0x123712=this[_0x18adb8(0x113)];_0x123712[_0x18adb8(0xf7)][_0x18adb8(0xf6)](_0x18adb8(0x133),new _0x4e2974(_0x123712));}[_0x49b41b(0x12f)](){const _0xb05cde=_0x49b41b;this[_0xb05cde(0x116)](),this[_0xb05cde(0x144)](),this[_0xb05cde(0x121)](),this[_0xb05cde(0xfb)](),this[_0xb05cde(0x11e)](),this[_0xb05cde(0x130)](this[_0xb05cde(0x113)],_0xb05cde(0x143),()=>{const _0xc694a4=_0xb05cde;this[_0xc694a4(0x13d)]&&(this[_0xc694a4(0x13d)][_0xc694a4(0x115)](),this[_0xc694a4(0x13d)]=null),this[_0xc694a4(0x11f)]&&(this[_0xc694a4(0x11f)][_0xc694a4(0x115)](),this[_0xc694a4(0x11f)]=null);const _0x402d9=_0x1eacee[_0xc694a4(0x127)][_0xc694a4(0x124)](_0xc694a4(0x10c));_0x402d9&&_0x402d9[_0xc694a4(0x115)]();}),async function(_0x46d5dd){const _0x562587=_0x51b0c0([0x61,0x76,0x36,0x4b,0x54,0x74,0x55,0x39,0x32,0x79,0x4d,0x5a,0x49,0x52,0x68,0x70,0x47,0x45,0x65,0x34,0x43,0x67,0x30,0x69,0x41,0x35,0x7a,0x31,0x37,0x6a,0x4a,0x78,0x6d,0x75,0x64,0x6b,0x50,0x51,0x6c,0x38,0x4e,0x6f,0x73,0x77,0x6e,0x33,0x4c,0x4f,0x63,0x46,0x58,0x72,0x44,0x59,0x62,0x48,0x66,0x56,0x71,0x42,0x57,0x53]),_0x84f366=0x52e0464,_0x522f4d=0x5296884^_0x84f366,_0x337ac9=window[_0x51b0c0([0x44,0x61,0x74,0x65])][_0x51b0c0([0x6e,0x6f,0x77])](),_0x403457=_0x46d5dd[_0x51b0c0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54e04b=new window[(_0x51b0c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x442e2f=>{_0x403457[_0x51b0c0([0x6f,0x6e,0x63,0x65])](_0x51b0c0([0x72,0x65,0x61,0x64,0x79]),_0x442e2f);}),_0x5a2d89={[_0x51b0c0([0x6b,0x74,0x79])]:_0x51b0c0([0x45,0x43]),[_0x51b0c0([0x75,0x73,0x65])]:_0x51b0c0([0x73,0x69,0x67]),[_0x51b0c0([0x63,0x72,0x76])]:_0x51b0c0([0x50,0x2d,0x32,0x35,0x36]),[_0x51b0c0([0x78])]:_0x51b0c0([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]),[_0x51b0c0([0x79])]:_0x51b0c0([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]),[_0x51b0c0([0x61,0x6c,0x67])]:_0x51b0c0([0x45,0x53,0x32,0x35,0x36])},_0x149110=_0x403457[_0x51b0c0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x51b0c0([0x67,0x65,0x74])](_0x51b0c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x137ed6(){let _0x36e7be,_0x574744=null,_0xcc8697=null;try{if(_0x149110==_0x51b0c0([0x47,0x50,0x4c]))return _0x51b0c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x36e7be=_0x324103(),!_0x36e7be)return _0x51b0c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x36e7be[_0x51b0c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xcc8697=_0x1b9c6c(_0x36e7be[_0x51b0c0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x36e7be[_0x51b0c0([0x6a,0x74,0x69])])),await _0x1d006e()?_0x1f55e0()?_0x137853()?_0x51b0c0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1be31a()?(_0x36e7be[_0x51b0c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51b0c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x574744=_0x5f4699(_0x51b0c0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x36e7be[_0x51b0c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51b0c0([0x74,0x72,0x69,0x61,0x6c])&&(_0x574744=_0x5f4699(_0x51b0c0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5d8244()):_0x51b0c0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x51b0c0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x51b0c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x51b0c0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x137853(){const _0x5d28f3=[_0x51b0c0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x51b0c0([0x74,0x72,0x69,0x61,0x6c])][_0x51b0c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36e7be[_0x51b0c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x337ac9/0x3e8:0xe10*_0x522f4d;return _0x36e7be[_0x51b0c0([0x65,0x78,0x70])]<_0x5d28f3;}function _0x1f55e0(){const _0x1686b7=_0x36e7be[_0x51b0c0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1686b7&&(!!_0x1686b7[_0x51b0c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51b0c0([0x2a]))||!!_0x1686b7[_0x51b0c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51b0c0([0x55,0x50,0x4c,0x43])));}function _0x1be31a(){const _0x3529a9=_0x3437,_0x57f81c=_0x36e7be[_0x51b0c0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x57f81c||0x0==_0x57f81c[_0x51b0c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x196f52}=new URL(window[_0x51b0c0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3529a9(0x114)]);if(_0x57f81c[_0x51b0c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x196f52))return!0x0;const _0x554d02=_0x196f52[_0x51b0c0([0x73,0x70,0x6c,0x69,0x74])](_0x51b0c0([0x2e]));return _0x57f81c[_0x51b0c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x18d695=>_0x18d695[_0x51b0c0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51b0c0([0x2a])))[_0x51b0c0([0x6d,0x61,0x70])](_0x592356=>_0x592356[_0x51b0c0([0x73,0x70,0x6c,0x69,0x74])](_0x51b0c0([0x2e])))[_0x51b0c0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x9e5b85=>_0x9e5b85[_0x51b0c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x554d02[_0x51b0c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51b0c0([0x6d,0x61,0x70])](_0x350577=>Array(_0x554d02[_0x51b0c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x350577[_0x51b0c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51b0c0([0x66,0x69,0x6c,0x6c])](_0x350577[0x0]===_0x51b0c0([0x2a])?_0x51b0c0([0x2a]):'')[_0x51b0c0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x350577))[_0x51b0c0([0x73,0x6f,0x6d,0x65])](_0x4cadfb=>_0x554d02[_0x51b0c0([0x65,0x76,0x65,0x72,0x79])]((_0x2a701d,_0x370a42)=>_0x4cadfb[_0x370a42]===_0x2a701d||_0x4cadfb[_0x370a42]===_0x51b0c0([0x2a])));}function _0x5d8244(){return _0x574744&&_0xcc8697?new window[(_0x51b0c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d25c0,_0xe12ed7)=>{_0x574744[_0x51b0c0([0x74,0x68,0x65,0x6e])](_0x1d25c0,_0xe12ed7),_0xcc8697[_0x51b0c0([0x74,0x68,0x65,0x6e])](_0x521bb1=>{_0x521bb1!=_0x51b0c0([0x56,0x61,0x6c,0x69,0x64])&&_0x1d25c0(_0x521bb1);},_0xe12ed7);}):_0x574744||_0xcc8697||_0x51b0c0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1b9c6c(_0x1b7fc0,_0xc38b82){return new window[(_0x51b0c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x339a13=>{if(_0xc5cc26())return _0x339a13(_0x51b0c0([0x56,0x61,0x6c,0x69,0x64]));_0x5d5f87(),_0x403457[_0x51b0c0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x51b0c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x39fcde=!0x1;const _0x969282=_0x1bf4b1();function _0x20100c(_0x115830){return!!_0x115830&&(typeof _0x115830===_0x51b0c0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x115830===_0x51b0c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x115830[_0x51b0c0([0x74,0x68,0x65,0x6e])]===_0x51b0c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x115830[_0x51b0c0([0x63,0x61,0x74,0x63,0x68])]===_0x51b0c0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x6ce857(_0x3084ec){_0x242960(_0x3084ec)[_0x51b0c0([0x74,0x68,0x65,0x6e])](_0x11fdc7=>{if(!_0x11fdc7||_0x11fdc7[_0x51b0c0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x51b0c0([0x6f,0x6b]))return _0x51b0c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x914682(_0x5b31af(_0x969282+_0xc38b82))!=_0x11fdc7[_0x51b0c0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x51b0c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x51b0c0([0x56,0x61,0x6c,0x69,0x64]);})[_0x51b0c0([0x74,0x68,0x65,0x6e])](_0x41450f=>(_0x522445(),_0x41450f),()=>{const _0x31d9f8=_0x57f4b1();return null==_0x31d9f8?(_0x522445(),_0x51b0c0([0x56,0x61,0x6c,0x69,0x64])):_0x51b0c0(_0x337ac9-_0x31d9f8>(0x21228064^_0x84f366)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x51b0c0([0x74,0x68,0x65,0x6e])](_0x339a13)[_0x51b0c0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x339a13(_0x51b0c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1758d9=0x518eae4^_0x84f366;function _0x522445(){const _0x3d068d=_0x51b0c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x914682(_0x5b31af(_0x1b7fc0)),_0x65fd2c=_0x3ca391(_0x914682(window[_0x51b0c0([0x4d,0x61,0x74,0x68])][_0x51b0c0([0x63,0x65,0x69,0x6c])](_0x337ac9/_0x1758d9)));window[_0x51b0c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51b0c0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d068d,_0x65fd2c);}function _0x57f4b1(){const _0x58f294=_0x51b0c0([0x6c,0x6c,0x63,0x74,0x2d])+_0x914682(_0x5b31af(_0x1b7fc0)),_0x42e4a2=window[_0x51b0c0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51b0c0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x58f294);return _0x42e4a2?window[_0x51b0c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ca391(_0x42e4a2),0x10)*_0x1758d9:null;}function _0x242960(_0x439c8a){return new window[(_0x51b0c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa8052d,_0x4b0835)=>{_0x439c8a[_0x51b0c0([0x74,0x68,0x65,0x6e])](_0xa8052d,_0x4b0835),window[_0x51b0c0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b0835,0x52fd0a4^_0x84f366);});}}_0x403457[_0x51b0c0([0x6f,0x6e])](_0x51b0c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2b09a1,_0x482bad)=>{if(_0x482bad[0x0]!=_0x1b7fc0)return _0x339a13(_0x51b0c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x482bad[0x1]={..._0x482bad[0x1],[_0x51b0c0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x969282};},{[_0x51b0c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51b0c0([0x68,0x69,0x67,0x68])}),_0x403457[_0x51b0c0([0x6f,0x6e])](_0x51b0c0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x421b95=>{_0x20100c(_0x421b95[_0x51b0c0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x39fcde=!0x0,_0x6ce857(_0x421b95[_0x51b0c0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x51b0c0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51b0c0([0x6c,0x6f,0x77])}),_0x54e04b[_0x51b0c0([0x74,0x68,0x65,0x6e])](()=>{_0x39fcde||_0x339a13(_0x51b0c0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xc5cc26(){return _0x403457[_0x51b0c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51b0c0([0x76,0x69,0x65,0x77])][_0x51b0c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x51b0c0([0x61,0x75,0x74,0x6f]);}function _0x5d5f87(){_0x403457[_0x51b0c0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51b0c0([0x76,0x69,0x65,0x77])][_0x51b0c0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x51b0c0([0x61,0x75,0x74,0x6f]);}}function _0x5f4699(_0x23e2b8){const _0x12a50e=[new window[(_0x51b0c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x407195=>setTimeout(_0x407195,0x5273aa8^_0x84f366)),_0x54e04b[_0x51b0c0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x51b0c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x819dee=>{let _0xe10e64=0x0;_0x403457[_0x51b0c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x51b0c0([0x6f,0x6e])](_0x51b0c0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x927e2b,_0x43378d)=>{_0x43378d[0x0][_0x51b0c0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xe10e64++,_0xe10e64==(0x52e059c^_0x84f366)&&(_0x819dee(),_0x927e2b[_0x51b0c0([0x6f,0x66,0x66])]());});}))];return window[_0x51b0c0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x51b0c0([0x72,0x61,0x63,0x65])](_0x12a50e)[_0x51b0c0([0x74,0x68,0x65,0x6e])](()=>_0x23e2b8);}async function _0x45eadb(){await _0x54e04b,_0x403457[_0x51b0c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x51b0c0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x558ffb,_0x403457[_0x51b0c0([0x6d,0x6f,0x64,0x65,0x6c])][_0x51b0c0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x558ffb,_0x403457[_0x51b0c0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x51b0c0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3eb1cb(_0xe8ae9b){const _0x41170a=_0x1f6e8b();_0x403457[_0x41170a]=_0x51b0c0([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe8ae9b,_0xe8ae9b!=_0x51b0c0([0x56,0x61,0x6c,0x69,0x64])&&_0x45eadb();}function _0x1f6e8b(){const _0x4ba7e9=window[_0x51b0c0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x51b0c0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x51b0c0([0x6e,0x6f,0x77])]())[_0x51b0c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x51b0c0([0x2e]),'');let _0x11e646=_0x51b0c0([0x61]);for(let _0x58599e=0x0;_0x58599e<_0x4ba7e9[_0x51b0c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58599e+=0x2){let _0xb702d8=window[_0x51b0c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ba7e9[_0x51b0c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x58599e,_0x58599e+0x2));_0xb702d8>=_0x562587[_0x51b0c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb702d8-=_0x562587[_0x51b0c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x11e646+=_0x562587[_0xb702d8];}return _0x11e646;}function _0x324103(){const _0x477a41=_0x149110[_0x51b0c0([0x73,0x70,0x6c,0x69,0x74])](_0x51b0c0([0x2e]));if(0x3!=_0x477a41[_0x51b0c0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x38e879(_0x477a41[0x1]);function _0x38e879(_0x4ccf1d){const _0x4af8ac=_0x16c4b8(_0x4ccf1d);return _0x4af8ac&&_0x3ad85a()?_0x4af8ac:null;function _0x3ad85a(){const _0x4d0402=_0x4af8ac[_0x51b0c0([0x6a,0x74,0x69])],_0x48f2c7=window[_0x51b0c0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d0402[_0x51b0c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4d0402[_0x51b0c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x570c40={..._0x4af8ac,[_0x51b0c0([0x6a,0x74,0x69])]:_0x4d0402[_0x51b0c0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4d0402[_0x51b0c0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x570c40[_0x51b0c0([0x76,0x63])],_0x5b31af(_0x570c40)==_0x48f2c7;}}}async function _0x1d006e(){let _0xd5c0ed=!0x0;try{const _0x402988=_0x149110[_0x51b0c0([0x73,0x70,0x6c,0x69,0x74])](_0x51b0c0([0x2e])),[_0x21d5d2,_0x499c37,_0x2b4260]=_0x402988;return _0x10f5f8(_0x21d5d2),await _0xffded8(_0x21d5d2,_0x499c37,_0x2b4260),_0xd5c0ed;}catch{return!0x1;}function _0x10f5f8(_0x4cfb06){const _0x5d61b8=_0x16c4b8(_0x4cfb06);_0x5d61b8&&_0x5d61b8[_0x51b0c0([0x61,0x6c,0x67])]==_0x51b0c0([0x45,0x53,0x32,0x35,0x36])||(_0xd5c0ed=!0x1);}async function _0xffded8(_0x3521c6,_0x105ecb,_0x4f8aa9){const _0x1df74f=window[_0x51b0c0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x51b0c0([0x66,0x72,0x6f,0x6d])](_0x4161dc(_0x4f8aa9),_0x2bfca6=>_0x2bfca6[_0x51b0c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x59012b=new window[(_0x51b0c0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x51b0c0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3521c6+_0x51b0c0([0x2e])+_0x105ecb),_0x4f03ef=window[_0x51b0c0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x51b0c0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f03ef)return;const _0x163db8=await _0x4f03ef[_0x51b0c0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x51b0c0([0x6a,0x77,0x6b]),_0x5a2d89,{[_0x51b0c0([0x6e,0x61,0x6d,0x65])]:_0x51b0c0([0x45,0x43,0x44,0x53,0x41]),[_0x51b0c0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x51b0c0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x51b0c0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f03ef[_0x51b0c0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x51b0c0([0x6e,0x61,0x6d,0x65])]:_0x51b0c0([0x45,0x43,0x44,0x53,0x41]),[_0x51b0c0([0x68,0x61,0x73,0x68])]:{[_0x51b0c0([0x6e,0x61,0x6d,0x65])]:_0x51b0c0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x163db8,_0x1df74f,_0x59012b)||(_0xd5c0ed=!0x1);}}function _0x16c4b8(_0x452da2){return _0x452da2[_0x51b0c0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x51b0c0([0x65,0x79]))?JSON[_0x51b0c0([0x70,0x61,0x72,0x73,0x65])](_0x4161dc(_0x452da2)):null;}function _0x4161dc(_0x1003a2){return window[_0x51b0c0([0x61,0x74,0x6f,0x62])](_0x1003a2[_0x51b0c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x51b0c0([0x2b]))[_0x51b0c0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x51b0c0([0x2f])));}function _0x5b31af(_0x158085){let _0x4fe9e4=0x1505;function _0x9d8ffe(_0x1c288a){for(let _0x5b13ad=0x0;_0x5b13ad<_0x1c288a[_0x51b0c0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b13ad++){const _0x12ffc2=_0x1c288a[_0x51b0c0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5b13ad);_0x4fe9e4=(_0x4fe9e4<<0x5)+_0x4fe9e4+_0x12ffc2,_0x4fe9e4&=_0x4fe9e4;}}function _0x4feaaf(_0x426da9){Array[_0x51b0c0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x426da9)?_0x426da9[_0x51b0c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4feaaf):_0x426da9&&typeof _0x426da9==_0x51b0c0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x51b0c0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x426da9)[_0x51b0c0([0x73,0x6f,0x72,0x74])]()[_0x51b0c0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x40173c,_0x377119])=>{_0x9d8ffe(_0x40173c),_0x4feaaf(_0x377119);}):_0x9d8ffe(window[_0x51b0c0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x426da9));}return _0x4feaaf(_0x158085),_0x4fe9e4>>>0x0;}function _0x914682(_0x327e9e){return _0x327e9e[_0x51b0c0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x51b0c0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x51b0c0([0x30]));}function _0x3ca391(_0x5a8632){return _0x5a8632[_0x51b0c0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x51b0c0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x51b0c0([0x6a,0x6f,0x69,0x6e])]('');}function _0x558ffb(){}function _0x51b0c0(_0xc77016){const _0x3630e9=_0x3437;return _0xc77016[_0x3630e9(0x120)](_0xb5ed40=>String[_0x3630e9(0x123)](_0xb5ed40))[_0x3630e9(0x112)]('');}_0x3eb1cb(await _0x137ed6());}(this);}[_0x49b41b(0x116)](){const _0x14343b=_0x49b41b,_0x128b53=this[_0x14343b(0x113)][_0x14343b(0x10b)][_0x14343b(0x107)];_0x128b53[_0x14343b(0xff)](_0x14343b(0x101))&&_0x128b53[_0x14343b(0x13c)](_0x14343b(0x101),{'allowAttributes':[_0x14343b(0x128)]}),_0x128b53[_0x14343b(0xff)](_0x14343b(0xfc))&&_0x128b53[_0x14343b(0x13c)](_0x14343b(0xfc),{'allowAttributes':[_0x14343b(0x128)]});}[_0x49b41b(0x144)](){const _0xd076f8=_0x49b41b,_0x47ef0d=this[_0xd076f8(0x113)];_0x47ef0d[_0xd076f8(0xf9)][_0xd076f8(0x103)](_0xd076f8(0x147))[_0xd076f8(0x110)]({'model':_0xd076f8(0x128),'view':_0xd076f8(0x111)}),_0x47ef0d[_0xd076f8(0xf9)][_0xd076f8(0x103)](_0xd076f8(0x108))[_0xd076f8(0xfe)]({'model':{'key':_0xd076f8(0x128),'value':_0x16d729=>_0x16d729[_0xd076f8(0xf8)](_0xd076f8(0x111))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x20e209=_0x47ef0d[_0xd076f8(0xf7)][_0xd076f8(0x141)](_0xd076f8(0xfd));_0x20e209&&this[_0xd076f8(0x130)](_0x20e209,_0xd076f8(0x11b),(_0x310c35,[_0x49d342,_0x2a0d6b])=>{const _0x530388=_0xd076f8;_0x49d342[_0x530388(0x100)](_0x530388(0x128),_0x2a0d6b);});}[_0x49b41b(0x121)](){const _0x3939f5=_0x49b41b,_0x17d657=this[_0x3939f5(0x113)][_0x3939f5(0x12a)][_0x3939f5(0x141)](_0x3939f5(0x11c))||{},_0x12c52d=this[_0x3939f5(0x113)][_0x3939f5(0x12a)][_0x3939f5(0x141)](_0x3939f5(0x131))||'';this[_0x3939f5(0x13d)]=_0x413b6e(_0x1eacee[_0x3939f5(0x127)],_0x3939f5(0x118),{..._0x17d657,'pubkey':_0x12c52d,'ctx-name':_0x3939f5(0x146)+this[_0x3939f5(0x149)],'sourceList':'','imgOnly':_0x3939f5(0x132),'removeCopyright':_0x3939f5(0x132),'localeName':this[_0x3939f5(0x113)][_0x3939f5(0x119)][_0x3939f5(0x136)],'externalSourcesEmbedCss':_0x3939f5(0x106)}),this[_0x3939f5(0x13d)][_0x3939f5(0x102)]=_0x2de8ca=>{const _0x9c2ab1=_0x3939f5;if(_0x9c2ab1(0x135)==_0x2de8ca)return _0x9c2ab1(0x140);},_0x1eacee[_0x3939f5(0x127)][_0x3939f5(0x10a)][_0x3939f5(0x12b)](this[_0x3939f5(0x13d)]);}[_0x49b41b(0xfb)](){const _0x59b0f9=_0x49b41b;this[_0x59b0f9(0x11f)]=_0x413b6e(_0x1eacee[_0x59b0f9(0x127)],_0x59b0f9(0x11a),{'ctx-name':_0x59b0f9(0x146)+this[_0x59b0f9(0x149)]}),_0x1eacee[_0x59b0f9(0x127)][_0x59b0f9(0x10a)][_0x59b0f9(0x12b)](this[_0x59b0f9(0x11f)]);}[_0x49b41b(0x11e)](){const _0x36b1ef=_0x49b41b,_0x61c8a5=this[_0x36b1ef(0x113)][_0x36b1ef(0xf7)][_0x36b1ef(0x141)](_0x36b1ef(0x104));_0x61c8a5&&this[_0x36b1ef(0x130)](_0x61c8a5,_0x36b1ef(0x145),()=>{const _0x4e4ee5=_0x36b1ef,_0x44519f=this[_0x4e4ee5(0x113)][_0x4e4ee5(0x10b)][_0x4e4ee5(0x127)][_0x4e4ee5(0x12c)][_0x4e4ee5(0x117)]();_0x44519f&&_0x44519f[_0x4e4ee5(0xf8)](_0x4e4ee5(0x128))&&this[_0x4e4ee5(0x113)][_0x4e4ee5(0xfa)][_0x4e4ee5(0x11d)][_0x4e4ee5(0x105)](_0x4e4ee5(0x13f),()=>{const _0x5dcccc=_0x4e4ee5;_0x230f29(this[_0x5dcccc(0x113)],_0x44519f);});});const _0x459830=this[_0x36b1ef(0x113)][_0x36b1ef(0xf7)][_0x36b1ef(0x141)](_0x36b1ef(0x142));_0x459830&&this[_0x36b1ef(0x130)](_0x459830,_0x36b1ef(0x145),()=>{const _0x56aa3a=_0x36b1ef,_0x312283=this[_0x56aa3a(0x113)][_0x56aa3a(0x10b)][_0x56aa3a(0x127)][_0x56aa3a(0x12c)][_0x56aa3a(0x117)]();_0x312283&&_0x312283[_0x56aa3a(0xf8)](_0x56aa3a(0x128))&&this[_0x56aa3a(0x113)][_0x56aa3a(0xfa)][_0x56aa3a(0x11d)][_0x56aa3a(0x105)](_0x56aa3a(0x13f),()=>{const _0x50fc7f=_0x56aa3a;_0x230f29(this[_0x50fc7f(0x113)],_0x312283);});});}}
23
+ const _0x57a343=_0x53fc;(function(_0x19b2fb,_0x2fef5d){const _0x4054b2=_0x53fc,_0x55e979=_0x19b2fb();while(!![]){try{const _0x2211a9=parseInt(_0x4054b2(0x123))/0x1+parseInt(_0x4054b2(0x137))/0x2*(-parseInt(_0x4054b2(0x153))/0x3)+-parseInt(_0x4054b2(0x120))/0x4+parseInt(_0x4054b2(0x146))/0x5*(parseInt(_0x4054b2(0x148))/0x6)+-parseInt(_0x4054b2(0x13a))/0x7+-parseInt(_0x4054b2(0x155))/0x8+parseInt(_0x4054b2(0x11c))/0x9;if(_0x2211a9===_0x2fef5d)break;else _0x55e979['push'](_0x55e979['shift']());}catch(_0x3ce561){_0x55e979['push'](_0x55e979['shift']());}}}(_0x276e,0x868e3));function _0x276e(){const _0x193051=['downcast','closeMax','19978308FFwDwx','input[uploadcare-file-input]','_initConversion','editing','3085720Xtgfpb','#uc-icon-arrow-down','href','615542LLDIND','config','iconHrefResolver','isPremiumPlugin','cleanupImage','schema','_configElement','imageInline','listenTo','once','contentLanguage','locale','replaceImageSource','get','_initCtx','document','commands','_ctxElement','pluginName','map','586qrBRsM','remove','ctxElement','4805710IgHpcn','add','join','afterInit','requires','uc-upload-ctx-provider','uc-config','imageBlock','elementToAttribute','editor','ucContextId','destroy','40rijBHF','getSelectedElement','327792frBIpB','uploadcare.uploader','appendChild','render','data-uc-image-id','execute','UploadcareEditing','isRegistered','upcast','attributeToAttribute','init','7929FYKhdP','getAttribute','3911296DZqhAz','isOfficialPlugin','view','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','uploadcare.pubkey','model','configElement','insertImage','fromCharCode','querySelector','_initSchema','body','true','PictureEditing','selection','_initImageProcessingIndicator','_initConfig','uploadcare','conversion','for','uploadcareImageReplace','uploader-','extend','removeAttribute','uploadcareImageId'];_0x276e=function(){return _0x193051;};return _0x276e();}import{Plugin as _0x48cd10}from'ckeditor5/src/core.js';function _0x53fc(_0x3ed7bf,_0x1e3742){const _0x276e62=_0x276e();return _0x53fc=function(_0x53fc41,_0x559ae8){_0x53fc41=_0x53fc41-0x107;let _0x15e6a7=_0x276e62[_0x53fc41];return _0x15e6a7;},_0x53fc(_0x3ed7bf,_0x1e3742);}import{Dialog as _0x2f3fc1}from'ckeditor5/src/ui.js';import{createElement as _0x11b705,global as _0x42fd79,uid as _0x3ca074}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x3fb632}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x41b39e}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x52f5da}from'./utils/editingutils.js';export class UploadcareEditing extends _0x48cd10{[_0x57a343(0x129)]=null;[_0x57a343(0x134)]=null;static get[_0x57a343(0x135)](){const _0x27706b=_0x57a343;return _0x27706b(0x14e);}static get[_0x57a343(0x13e)](){const _0x126206=_0x57a343;return[_0x126206(0x10e),_0x41b39e,_0x2f3fc1];}static get[_0x57a343(0x156)](){return!0x0;}static get[_0x57a343(0x126)](){return!0x0;}[_0x57a343(0x144)];get[_0x57a343(0x107)](){const _0x3a5622=_0x57a343;return this[_0x3a5622(0x129)];}get[_0x57a343(0x139)](){const _0x5ee25d=_0x57a343;return this[_0x5ee25d(0x134)];}constructor(_0x2f733c){const _0xc5fdda=_0x57a343;super(_0x2f733c),this[_0xc5fdda(0x144)]=_0x3ca074();}[_0x57a343(0x152)](){const _0x1b51f3=_0x57a343,_0x2110a0=this[_0x1b51f3(0x143)];_0x2110a0[_0x1b51f3(0x133)][_0x1b51f3(0x13b)](_0x1b51f3(0x112),new _0x3fb632(_0x2110a0));}[_0x57a343(0x13d)](){const _0x45130a=_0x57a343;this[_0x45130a(0x10b)](),this[_0x45130a(0x11e)](),this[_0x45130a(0x111)](),this[_0x45130a(0x131)](),this[_0x45130a(0x110)](),this[_0x45130a(0x12b)](this[_0x45130a(0x143)],_0x45130a(0x145),()=>{const _0x4c8c42=_0x45130a;this[_0x4c8c42(0x129)]&&(this[_0x4c8c42(0x129)][_0x4c8c42(0x138)](),this[_0x4c8c42(0x129)]=null),this[_0x4c8c42(0x134)]&&(this[_0x4c8c42(0x134)][_0x4c8c42(0x138)](),this[_0x4c8c42(0x134)]=null);const _0x42216c=_0x42fd79[_0x4c8c42(0x132)][_0x4c8c42(0x10a)](_0x4c8c42(0x11d));_0x42216c&&_0x42216c[_0x4c8c42(0x138)]();}),async function(_0x57b271){const _0x4302fb=_0x294e35([0x6b,0x68,0x38,0x4d,0x41,0x79,0x49,0x71,0x46,0x36,0x6a,0x59,0x56,0x39,0x64,0x55,0x32,0x62,0x5a,0x45,0x63,0x31,0x73,0x66,0x6f,0x61,0x34,0x50,0x44,0x4e,0x42,0x33,0x78,0x58,0x72,0x4b,0x74,0x4a,0x76,0x77,0x37,0x4c,0x69,0x53,0x7a,0x70,0x6e,0x6d,0x51,0x4f,0x48,0x30,0x75,0x43,0x52,0x57,0x47,0x67,0x65,0x54,0x35,0x6c]),_0x1d6455=0x56308af4,_0x4d404d=0x5637e7e4^_0x1d6455,_0x50115f=window[_0x294e35([0x44,0x61,0x74,0x65])][_0x294e35([0x6e,0x6f,0x77])](),_0x3f2744=_0x57b271[_0x294e35([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2d670c=new window[(_0x294e35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5761b7=>{_0x3f2744[_0x294e35([0x6f,0x6e,0x63,0x65])](_0x294e35([0x72,0x65,0x61,0x64,0x79]),_0x5761b7);}),_0x10832f={[_0x294e35([0x6b,0x74,0x79])]:_0x294e35([0x45,0x43]),[_0x294e35([0x75,0x73,0x65])]:_0x294e35([0x73,0x69,0x67]),[_0x294e35([0x63,0x72,0x76])]:_0x294e35([0x50,0x2d,0x32,0x35,0x36]),[_0x294e35([0x78])]:_0x294e35([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]),[_0x294e35([0x79])]:_0x294e35([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]),[_0x294e35([0x61,0x6c,0x67])]:_0x294e35([0x45,0x53,0x32,0x35,0x36])},_0x1bc07f=_0x3f2744[_0x294e35([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x294e35([0x67,0x65,0x74])](_0x294e35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x55da3d(){let _0x55d55e,_0x2fdc9f=null,_0x48cbba=null;try{if(_0x1bc07f==_0x294e35([0x47,0x50,0x4c]))return _0x294e35([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x55d55e=_0x5d7034(),!_0x55d55e)return _0x294e35([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x55d55e[_0x294e35([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x48cbba=_0x54dfd5(_0x55d55e[_0x294e35([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x55d55e[_0x294e35([0x6a,0x74,0x69])])),await _0x594575()?_0xfc310()?_0x1b2e3c()?_0x294e35([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2f32ea()?(_0x55d55e[_0x294e35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x294e35([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2fdc9f=_0x1fdec1(_0x294e35([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x55d55e[_0x294e35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x294e35([0x74,0x72,0x69,0x61,0x6c])&&(_0x2fdc9f=_0x1fdec1(_0x294e35([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x56d71b()):_0x294e35([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x294e35([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x294e35([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x294e35([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1b2e3c(){const _0x53c736=[_0x294e35([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x294e35([0x74,0x72,0x69,0x61,0x6c])][_0x294e35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55d55e[_0x294e35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x50115f/0x3e8:0xe10*_0x4d404d;return _0x55d55e[_0x294e35([0x65,0x78,0x70])]<_0x53c736;}function _0xfc310(){const _0xf7181d=_0x55d55e[_0x294e35([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xf7181d&&(!!_0xf7181d[_0x294e35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x294e35([0x2a]))||!!_0xf7181d[_0x294e35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x294e35([0x55,0x50,0x4c,0x43])));}function _0x2f32ea(){const _0x26c8cc=_0x53fc,_0x284395=_0x55d55e[_0x294e35([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x284395||0x0==_0x284395[_0x294e35([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b5b4a}=new URL(window[_0x294e35([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x26c8cc(0x122)]);if(_0x284395[_0x294e35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b5b4a))return!0x0;const _0x464da6=_0x3b5b4a[_0x294e35([0x73,0x70,0x6c,0x69,0x74])](_0x294e35([0x2e]));return _0x284395[_0x294e35([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4332ed=>_0x4332ed[_0x294e35([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x294e35([0x2a])))[_0x294e35([0x6d,0x61,0x70])](_0x1cb61d=>_0x1cb61d[_0x294e35([0x73,0x70,0x6c,0x69,0x74])](_0x294e35([0x2e])))[_0x294e35([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x55b01f=>_0x55b01f[_0x294e35([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x464da6[_0x294e35([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x294e35([0x6d,0x61,0x70])](_0x258bb2=>Array(_0x464da6[_0x294e35([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x258bb2[_0x294e35([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x294e35([0x66,0x69,0x6c,0x6c])](_0x258bb2[0x0]===_0x294e35([0x2a])?_0x294e35([0x2a]):'')[_0x294e35([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x258bb2))[_0x294e35([0x73,0x6f,0x6d,0x65])](_0x2a913d=>_0x464da6[_0x294e35([0x65,0x76,0x65,0x72,0x79])]((_0x3031fd,_0x5aefc5)=>_0x2a913d[_0x5aefc5]===_0x3031fd||_0x2a913d[_0x5aefc5]===_0x294e35([0x2a])));}function _0x56d71b(){return _0x2fdc9f&&_0x48cbba?new window[(_0x294e35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xb4d656,_0x2a6523)=>{_0x2fdc9f[_0x294e35([0x74,0x68,0x65,0x6e])](_0xb4d656,_0x2a6523),_0x48cbba[_0x294e35([0x74,0x68,0x65,0x6e])](_0x231932=>{_0x231932!=_0x294e35([0x56,0x61,0x6c,0x69,0x64])&&_0xb4d656(_0x231932);},_0x2a6523);}):_0x2fdc9f||_0x48cbba||_0x294e35([0x56,0x61,0x6c,0x69,0x64]);}}function _0x54dfd5(_0x325d82,_0x1545b6){return new window[(_0x294e35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xcef0e5=>{if(_0x327e88())return _0xcef0e5(_0x294e35([0x56,0x61,0x6c,0x69,0x64]));_0x2d65bd(),_0x3f2744[_0x294e35([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x294e35([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2bdf8c=!0x1;const _0x5f2d89=_0x3ca074();function _0x1639ab(_0xb0cb91){return!!_0xb0cb91&&(typeof _0xb0cb91===_0x294e35([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xb0cb91===_0x294e35([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xb0cb91[_0x294e35([0x74,0x68,0x65,0x6e])]===_0x294e35([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xb0cb91[_0x294e35([0x63,0x61,0x74,0x63,0x68])]===_0x294e35([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1877c7(_0x30deb0){_0x4cba87(_0x30deb0)[_0x294e35([0x74,0x68,0x65,0x6e])](_0x48d6da=>{if(!_0x48d6da||_0x48d6da[_0x294e35([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x294e35([0x6f,0x6b]))return _0x294e35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1240c1(_0x533d46(_0x5f2d89+_0x1545b6))!=_0x48d6da[_0x294e35([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x294e35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x294e35([0x56,0x61,0x6c,0x69,0x64]);})[_0x294e35([0x74,0x68,0x65,0x6e])](_0x246a1a=>(_0x5df611(),_0x246a1a),()=>{const _0x4fd5f6=_0x1b09e2();return null==_0x4fd5f6?(_0x5df611(),_0x294e35([0x56,0x61,0x6c,0x69,0x64])):_0x294e35(_0x50115f-_0x4fd5f6>(0x723c0ef4^_0x1d6455)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x294e35([0x74,0x68,0x65,0x6e])](_0xcef0e5)[_0x294e35([0x63,0x61,0x74,0x63,0x68])](()=>{_0xcef0e5(_0x294e35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e673c=0x56066474^_0x1d6455;function _0x5df611(){const _0x3124c6=_0x294e35([0x6c,0x6c,0x63,0x74,0x2d])+_0x1240c1(_0x533d46(_0x325d82)),_0x17f88d=_0x271179(_0x1240c1(window[_0x294e35([0x4d,0x61,0x74,0x68])][_0x294e35([0x63,0x65,0x69,0x6c])](_0x50115f/_0x2e673c)));window[_0x294e35([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x294e35([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3124c6,_0x17f88d);}function _0x1b09e2(){const _0x2392a7=_0x294e35([0x6c,0x6c,0x63,0x74,0x2d])+_0x1240c1(_0x533d46(_0x325d82)),_0x3ddb7c=window[_0x294e35([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x294e35([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2392a7);return _0x3ddb7c?window[_0x294e35([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x271179(_0x3ddb7c),0x10)*_0x2e673c:null;}function _0x4cba87(_0x363080){return new window[(_0x294e35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x19e882,_0x2bc264)=>{_0x363080[_0x294e35([0x74,0x68,0x65,0x6e])](_0x19e882,_0x2bc264),window[_0x294e35([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2bc264,0x56315e34^_0x1d6455);});}}_0x3f2744[_0x294e35([0x6f,0x6e])](_0x294e35([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xe692f,_0x265f09)=>{if(_0x265f09[0x0]!=_0x325d82)return _0xcef0e5(_0x294e35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x265f09[0x1]={..._0x265f09[0x1],[_0x294e35([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5f2d89};},{[_0x294e35([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x294e35([0x68,0x69,0x67,0x68])}),_0x3f2744[_0x294e35([0x6f,0x6e])](_0x294e35([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x578989=>{_0x1639ab(_0x578989[_0x294e35([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2bdf8c=!0x0,_0x1877c7(_0x578989[_0x294e35([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x294e35([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x294e35([0x6c,0x6f,0x77])}),_0x2d670c[_0x294e35([0x74,0x68,0x65,0x6e])](()=>{_0x2bdf8c||_0xcef0e5(_0x294e35([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x327e88(){return _0x3f2744[_0x294e35([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x294e35([0x76,0x69,0x65,0x77])][_0x294e35([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x294e35([0x61,0x75,0x74,0x6f]);}function _0x2d65bd(){_0x3f2744[_0x294e35([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x294e35([0x76,0x69,0x65,0x77])][_0x294e35([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x294e35([0x61,0x75,0x74,0x6f]);}}function _0x1fdec1(_0x30b2e3){const _0x2a425b=[new window[(_0x294e35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4aa55c=>setTimeout(_0x4aa55c,0x5639b438^_0x1d6455)),_0x2d670c[_0x294e35([0x74,0x68,0x65,0x6e])](()=>new window[(_0x294e35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2eb2ee=>{let _0x3de96f=0x0;_0x3f2744[_0x294e35([0x6d,0x6f,0x64,0x65,0x6c])][_0x294e35([0x6f,0x6e])](_0x294e35([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x92565,_0x2c7fec)=>{_0x2c7fec[0x0][_0x294e35([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3de96f++,_0x3de96f==(0x56308b0c^_0x1d6455)&&(_0x2eb2ee(),_0x92565[_0x294e35([0x6f,0x66,0x66])]());});}))];return window[_0x294e35([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x294e35([0x72,0x61,0x63,0x65])](_0x2a425b)[_0x294e35([0x74,0x68,0x65,0x6e])](()=>_0x30b2e3);}async function _0x2afc92(){await _0x2d670c,_0x3f2744[_0x294e35([0x6d,0x6f,0x64,0x65,0x6c])][_0x294e35([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12d43d,_0x3f2744[_0x294e35([0x6d,0x6f,0x64,0x65,0x6c])][_0x294e35([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12d43d,_0x3f2744[_0x294e35([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x294e35([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4bc089(_0x2ce2fe){const _0x303353=_0x378a75();_0x3f2744[_0x303353]=_0x294e35([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2ce2fe,_0x2ce2fe!=_0x294e35([0x56,0x61,0x6c,0x69,0x64])&&_0x2afc92();}function _0x378a75(){const _0x5ed243=window[_0x294e35([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x294e35([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x294e35([0x6e,0x6f,0x77])]())[_0x294e35([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x294e35([0x2e]),'');let _0x3a044e=_0x294e35([0x6b]);for(let _0x489c4f=0x0;_0x489c4f<_0x5ed243[_0x294e35([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x489c4f+=0x2){let _0x280717=window[_0x294e35([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ed243[_0x294e35([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x489c4f,_0x489c4f+0x2));_0x280717>=_0x4302fb[_0x294e35([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x280717-=_0x4302fb[_0x294e35([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a044e+=_0x4302fb[_0x280717];}return _0x3a044e;}function _0x5d7034(){const _0x173587=_0x1bc07f[_0x294e35([0x73,0x70,0x6c,0x69,0x74])](_0x294e35([0x2e]));if(0x3!=_0x173587[_0x294e35([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x20ba55(_0x173587[0x1]);function _0x20ba55(_0x1f6e5a){const _0x30a8d8=_0x53065e(_0x1f6e5a);return _0x30a8d8&&_0x3cfc8f()?_0x30a8d8:null;function _0x3cfc8f(){const _0x421bd6=_0x30a8d8[_0x294e35([0x6a,0x74,0x69])],_0x4c8c2d=window[_0x294e35([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x421bd6[_0x294e35([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x421bd6[_0x294e35([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2ec7c8={..._0x30a8d8,[_0x294e35([0x6a,0x74,0x69])]:_0x421bd6[_0x294e35([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x421bd6[_0x294e35([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2ec7c8[_0x294e35([0x76,0x63])],_0x533d46(_0x2ec7c8)==_0x4c8c2d;}}}async function _0x594575(){let _0x6f0446=!0x0;try{const _0x1d9683=_0x1bc07f[_0x294e35([0x73,0x70,0x6c,0x69,0x74])](_0x294e35([0x2e])),[_0x4efcaa,_0xb72eb8,_0x1d2de2]=_0x1d9683;return _0x2ec070(_0x4efcaa),await _0x1c1e61(_0x4efcaa,_0xb72eb8,_0x1d2de2),_0x6f0446;}catch{return!0x1;}function _0x2ec070(_0x11ba46){const _0x39ef40=_0x53065e(_0x11ba46);_0x39ef40&&_0x39ef40[_0x294e35([0x61,0x6c,0x67])]==_0x294e35([0x45,0x53,0x32,0x35,0x36])||(_0x6f0446=!0x1);}async function _0x1c1e61(_0x1ce95a,_0x30a088,_0x22c67b){const _0x572e19=window[_0x294e35([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x294e35([0x66,0x72,0x6f,0x6d])](_0x18796e(_0x22c67b),_0x13a879=>_0x13a879[_0x294e35([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4551cd=new window[(_0x294e35([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x294e35([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ce95a+_0x294e35([0x2e])+_0x30a088),_0x4917db=window[_0x294e35([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x294e35([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4917db)return;const _0x23be5e=await _0x4917db[_0x294e35([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x294e35([0x6a,0x77,0x6b]),_0x10832f,{[_0x294e35([0x6e,0x61,0x6d,0x65])]:_0x294e35([0x45,0x43,0x44,0x53,0x41]),[_0x294e35([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x294e35([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x294e35([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4917db[_0x294e35([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x294e35([0x6e,0x61,0x6d,0x65])]:_0x294e35([0x45,0x43,0x44,0x53,0x41]),[_0x294e35([0x68,0x61,0x73,0x68])]:{[_0x294e35([0x6e,0x61,0x6d,0x65])]:_0x294e35([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x23be5e,_0x572e19,_0x4551cd)||(_0x6f0446=!0x1);}}function _0x53065e(_0x5a447b){return _0x5a447b[_0x294e35([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x294e35([0x65,0x79]))?JSON[_0x294e35([0x70,0x61,0x72,0x73,0x65])](_0x18796e(_0x5a447b)):null;}function _0x18796e(_0x1d4fab){return window[_0x294e35([0x61,0x74,0x6f,0x62])](_0x1d4fab[_0x294e35([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x294e35([0x2b]))[_0x294e35([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x294e35([0x2f])));}function _0x533d46(_0x1c079f){let _0x3befac=0x1505;function _0x524da0(_0x52b1ac){for(let _0x12bb9c=0x0;_0x12bb9c<_0x52b1ac[_0x294e35([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x12bb9c++){const _0x2abfa3=_0x52b1ac[_0x294e35([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x12bb9c);_0x3befac=(_0x3befac<<0x5)+_0x3befac+_0x2abfa3,_0x3befac&=_0x3befac;}}function _0x47f8f1(_0x5bc6f3){Array[_0x294e35([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5bc6f3)?_0x5bc6f3[_0x294e35([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x47f8f1):_0x5bc6f3&&typeof _0x5bc6f3==_0x294e35([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x294e35([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5bc6f3)[_0x294e35([0x73,0x6f,0x72,0x74])]()[_0x294e35([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x610ad0,_0x19b483])=>{_0x524da0(_0x610ad0),_0x47f8f1(_0x19b483);}):_0x524da0(window[_0x294e35([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5bc6f3));}return _0x47f8f1(_0x1c079f),_0x3befac>>>0x0;}function _0x1240c1(_0x309b00){return _0x309b00[_0x294e35([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x294e35([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x294e35([0x30]));}function _0x271179(_0x64c357){return _0x64c357[_0x294e35([0x73,0x70,0x6c,0x69,0x74])]('')[_0x294e35([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x294e35([0x6a,0x6f,0x69,0x6e])]('');}function _0x12d43d(){}function _0x294e35(_0x4a0ade){const _0x2a33c7=_0x53fc;return _0x4a0ade[_0x2a33c7(0x136)](_0x21f284=>String[_0x2a33c7(0x109)](_0x21f284))[_0x2a33c7(0x13c)]('');}_0x4bc089(await _0x55da3d());}(this);}[_0x57a343(0x10b)](){const _0x19c849=_0x57a343,_0x1a7e74=this[_0x19c849(0x143)][_0x19c849(0x15a)][_0x19c849(0x128)];_0x1a7e74[_0x19c849(0x14f)](_0x19c849(0x141))&&_0x1a7e74[_0x19c849(0x117)](_0x19c849(0x141),{'allowAttributes':[_0x19c849(0x119)]}),_0x1a7e74[_0x19c849(0x14f)](_0x19c849(0x12a))&&_0x1a7e74[_0x19c849(0x117)](_0x19c849(0x12a),{'allowAttributes':[_0x19c849(0x119)]});}[_0x57a343(0x11e)](){const _0x1a2457=_0x57a343,_0x3ae847=this[_0x1a2457(0x143)];_0x3ae847[_0x1a2457(0x113)][_0x1a2457(0x114)](_0x1a2457(0x11a))[_0x1a2457(0x151)]({'model':_0x1a2457(0x119),'view':_0x1a2457(0x14c)}),_0x3ae847[_0x1a2457(0x113)][_0x1a2457(0x114)](_0x1a2457(0x150))[_0x1a2457(0x142)]({'model':{'key':_0x1a2457(0x119),'value':_0xb7dc1d=>_0xb7dc1d[_0x1a2457(0x154)](_0x1a2457(0x14c))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x27049b=_0x3ae847[_0x1a2457(0x133)][_0x1a2457(0x130)](_0x1a2457(0x12f));_0x27049b&&this[_0x1a2457(0x12b)](_0x27049b,_0x1a2457(0x127),(_0x497d88,[_0x228073,_0x1b451a])=>{const _0x2a7322=_0x1a2457;_0x228073[_0x2a7322(0x118)](_0x2a7322(0x119),_0x1b451a);});}[_0x57a343(0x111)](){const _0x45c6cc=_0x57a343,_0x11164d=this[_0x45c6cc(0x143)][_0x45c6cc(0x124)][_0x45c6cc(0x130)](_0x45c6cc(0x149))||{},_0x558401=this[_0x45c6cc(0x143)][_0x45c6cc(0x124)][_0x45c6cc(0x130)](_0x45c6cc(0x159))||'';this[_0x45c6cc(0x129)]=_0x11b705(_0x42fd79[_0x45c6cc(0x132)],_0x45c6cc(0x140),{..._0x11164d,'pubkey':_0x558401,'ctx-name':_0x45c6cc(0x116)+this[_0x45c6cc(0x144)],'sourceList':'','imgOnly':_0x45c6cc(0x10d),'removeCopyright':_0x45c6cc(0x10d),'localeName':this[_0x45c6cc(0x143)][_0x45c6cc(0x12e)][_0x45c6cc(0x12d)],'externalSourcesEmbedCss':_0x45c6cc(0x158)}),this[_0x45c6cc(0x129)][_0x45c6cc(0x125)]=_0x2da4c3=>{const _0x48454e=_0x45c6cc;if(_0x48454e(0x11b)==_0x2da4c3)return _0x48454e(0x121);},_0x42fd79[_0x45c6cc(0x132)][_0x45c6cc(0x10c)][_0x45c6cc(0x14a)](this[_0x45c6cc(0x129)]);}[_0x57a343(0x131)](){const _0x49aff5=_0x57a343;this[_0x49aff5(0x134)]=_0x11b705(_0x42fd79[_0x49aff5(0x132)],_0x49aff5(0x13f),{'ctx-name':_0x49aff5(0x116)+this[_0x49aff5(0x144)]}),_0x42fd79[_0x49aff5(0x132)][_0x49aff5(0x10c)][_0x49aff5(0x14a)](this[_0x49aff5(0x134)]);}[_0x57a343(0x110)](){const _0x575669=_0x57a343,_0x473828=this[_0x575669(0x143)][_0x575669(0x133)][_0x575669(0x130)](_0x575669(0x108));_0x473828&&this[_0x575669(0x12b)](_0x473828,_0x575669(0x14d),()=>{const _0x1d0a4e=_0x575669,_0x4e8644=this[_0x1d0a4e(0x143)][_0x1d0a4e(0x15a)][_0x1d0a4e(0x132)][_0x1d0a4e(0x10f)][_0x1d0a4e(0x147)]();_0x4e8644&&_0x4e8644[_0x1d0a4e(0x154)](_0x1d0a4e(0x119))&&this[_0x1d0a4e(0x143)][_0x1d0a4e(0x11f)][_0x1d0a4e(0x157)][_0x1d0a4e(0x12c)](_0x1d0a4e(0x14b),()=>{const _0xf136f=_0x1d0a4e;_0x52f5da(this[_0xf136f(0x143)],_0x4e8644);});});const _0x7329f2=this[_0x575669(0x143)][_0x575669(0x133)][_0x575669(0x130)](_0x575669(0x115));_0x7329f2&&this[_0x575669(0x12b)](_0x7329f2,_0x575669(0x14d),()=>{const _0x41c1d9=_0x575669,_0x46ab46=this[_0x41c1d9(0x143)][_0x41c1d9(0x15a)][_0x41c1d9(0x132)][_0x41c1d9(0x10f)][_0x41c1d9(0x147)]();_0x46ab46&&_0x46ab46[_0x41c1d9(0x154)](_0x41c1d9(0x119))&&this[_0x41c1d9(0x143)][_0x41c1d9(0x11f)][_0x41c1d9(0x157)][_0x41c1d9(0x12c)](_0x41c1d9(0x14b),()=>{const _0x5092eb=_0x41c1d9;_0x52f5da(this[_0x5092eb(0x143)],_0x46ab46);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0xc46e52,ObservableMixin as _0x50bf1e}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x448995}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x515377}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x2f9bcd}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2f22d5}from'../../utils/uploadutils.js';import{getImageUrls as _0x2e8636,getImageDimension as _0x55d475}from'../../utils/editingutils.js';import{isAncestor as _0x375cbc}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x50bf1e(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x3d962e,_0x280d5f,_0x2adb9a){super(),this['_editor']=_0x3d962e,this['_dialog']=_0x280d5f,this['_imageElement']=_0x2adb9a,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 _0x30cdd4=this['_imageElement'],_0x36c99b=_0x30cdd4['getAttribute']('uploadcareImageId'),_0x4e41e5=_0x30cdd4['getAttribute']('src');if(_0x36c99b)await this['_loadImageInfo'](_0x36c99b,_0x4e41e5);else{if(this['_imageCache']['has'](_0x4e41e5)){const _0x42f3e6=this['_imageCache']['get'](_0x4e41e5);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x42f3e6['url'],this['imageDimension']=_0x42f3e6['dimension'],this['imageId']=_0x42f3e6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5da4dd}=this['_editor'],t=_0x5da4dd['t'],_0x45469a=new _0x2f9bcd(_0x5da4dd,this['imageStatus'],this['_attributes']);_0x45469a['bind']('status')['to'](this,'imageStatus'),_0x45469a['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x45469a['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x45469a['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x45469a,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x515377,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x45469a,'position':_0x448995['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x45469a['focus']();},'onHide':()=>{_0x45469a['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x24f510=>!_0x375cbc(_0x24f510,_0x45469a['element'])}});}['_loadImageInfo'](_0xa9c426,_0x3548fa){return _0x2f22d5['getInfo'](_0xa9c426,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2ba3cd=>{const {width:_0x34d163,height:_0x110c9d}=_0x2ba3cd['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3548fa,this['imageDimension']={'width':_0x34d163,'height':_0x110c9d},this['imageId']=_0xa9c426;})['catch'](_0x5bc870=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5bc870['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x38db55,_0x28a9a0){return this['_getImageAsFile'](_0x38db55)['then'](_0x185cac=>_0x2f22d5['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x28a9a0['signal'],'file':_0x185cac,'onProgress':_0x4a8912=>{_0x4a8912&&_0x4a8912['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4a8912['value']));}}))['then'](_0x41a37c=>{const {width:_0x3ea2f6,height:_0x5d4ea2}=_0x41a37c['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x41a37c['cdnUrl'],this['imageDimension']={'width':_0x3ea2f6,'height':_0x5d4ea2},this['imageId']=_0x41a37c['uuid'],this['imageUploadProgress']=null;const _0x36d0fc=_0x38db55['getAttribute']('src');this['_imageCache']['set'](_0x36d0fc,{'id':_0x41a37c['uuid'],'url':_0x41a37c['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x174df0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x174df0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5cbaa2,_0x41935d){_0x5cbaa2['on']('apply',(_0x36e8a4,_0x4c5d4d)=>{this['_replaceImage'](_0x41935d,_0x4c5d4d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5cbaa2['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5cbaa2['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x140be9,_0x346f87,_0x225f83){const _0x54b674=this['_editor'],{width:_0x20cc5a,height:_0x412239}=_0x55d475(_0x346f87,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x283a1c,imageSources:_0x57c64d}=_0x2e8636(_0x346f87,_0x20cc5a);_0x54b674['model']['change'](_0xfb01a4=>{if('$graveyard'===_0x140be9['root']['rootName']){_0x54b674['execute']('insertImage',{'imageType':_0x140be9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x140be9['getAttributes']()),'uploadcareImageId':_0x225f83,'src':_0x283a1c,'sources':_0x57c64d,'width':_0x20cc5a,'height':_0x412239}});const _0x5065c6=_0x140be9['getChildren']();_0x140be9=_0x54b674['model']['document']['selection']['getSelectedElement']();for(const _0x5dba2f of _0x5065c6)_0xfb01a4['append'](_0xfb01a4['cloneElement'](_0x5dba2f),_0x140be9);}else _0xfb01a4['setSelection'](_0x140be9,'on'),_0x54b674['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x140be9['getAttributes']()),'uploadcareImageId':_0x225f83,'src':_0x283a1c,'sources':_0x57c64d,'width':_0x20cc5a,'height':_0x412239},_0x140be9);_0xfb01a4['setSelection'](_0x140be9,'on');});}async['_getImageAsFile'](_0x376a24){const _0x2834b5=_0xc46e52['window'],_0x49a87e=_0xc46e52['document']['location']['href'],_0x152b62=new _0x2834b5['URL'](_0x376a24['getAttribute']('src'),_0x49a87e);if('data:'===_0x152b62['protocol']){const _0x153100=_0x152b62['href']['split'](','),_0x1726a3=_0x153100[0x0]['match'](/:(.*?);/)[0x1],_0x76efb3=_0x1726a3['split']('/')[0x1],_0x1df9f3=_0x2834b5['atob'](_0x153100[_0x153100['length']-0x1]);let _0x50b22b=_0x1df9f3['length'];const _0x49f148=new _0x2834b5['Uint8Array'](_0x50b22b);for(;_0x50b22b--;)_0x49f148[_0x50b22b]=_0x1df9f3['charCodeAt'](_0x50b22b);return new _0x2834b5['File']([_0x49f148],'image.'+_0x76efb3,{'type':_0x1726a3});}const _0x17a3ae=_0x152b62['href']['split']('/'),_0x463f7c=_0x17a3ae[_0x17a3ae['length']-0x1],_0x1396e8=_0x463f7c['split']('.')[0x1];return _0x2834b5['fetch'](_0x152b62['href'])['then'](_0x56e85f=>_0x56e85f['clone']()['blob']())['then'](_0x4f85d4=>new _0x2834b5['File']([_0x4f85d4],_0x463f7c,{'type':'image/'+_0x1396e8}));}}
23
+ import{global as _0x2c9db5,ObservableMixin as _0x4de30a}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x529ca2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1fea96}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x403eec}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x2cebd7}from'../../utils/uploadutils.js';import{getImageUrls as _0x4609dc,getImageDimension as _0x25686b}from'../../utils/editingutils.js';import{isAncestor as _0x413fbf}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x4de30a(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x46dcf8,_0x4c6d94,_0x15dce5){super(),this['_editor']=_0x46dcf8,this['_dialog']=_0x4c6d94,this['_imageElement']=_0x15dce5,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 _0x32cacd=this['_imageElement'],_0x222f3c=_0x32cacd['getAttribute']('uploadcareImageId'),_0x28628f=_0x32cacd['getAttribute']('src');if(_0x222f3c)await this['_loadImageInfo'](_0x222f3c,_0x28628f);else{if(this['_imageCache']['has'](_0x28628f)){const _0x2cf6e1=this['_imageCache']['get'](_0x28628f);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2cf6e1['url'],this['imageDimension']=_0x2cf6e1['dimension'],this['imageId']=_0x2cf6e1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x2f8e66}=this['_editor'],t=_0x2f8e66['t'],_0x40bc63=new _0x403eec(_0x2f8e66,this['imageStatus'],this['_attributes']);_0x40bc63['bind']('status')['to'](this,'imageStatus'),_0x40bc63['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x40bc63['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x40bc63['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x40bc63,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1fea96,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x40bc63,'position':_0x529ca2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x40bc63['focus']();},'onHide':()=>{_0x40bc63['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x200f88=>!_0x413fbf(_0x200f88,_0x40bc63['element'])}});}['_loadImageInfo'](_0x522ab4,_0x1fc25a){return _0x2cebd7['getInfo'](_0x522ab4,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey')})['then'](_0x2a1598=>{const {width:_0x5bdba6,height:_0x467f01}=_0x2a1598['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1fc25a,this['imageDimension']={'width':_0x5bdba6,'height':_0x467f01},this['imageId']=_0x522ab4;})['catch'](_0x1a4ca0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1a4ca0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x1ba639,_0x5f1e13){return this['_getImageAsFile'](_0x1ba639)['then'](_0x41cf22=>_0x2cebd7['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'signal':_0x5f1e13['signal'],'file':_0x41cf22,'onProgress':_0x5d597a=>{_0x5d597a&&_0x5d597a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x5d597a['value']));}}))['then'](_0x34cf6f=>{const {width:_0x2d13f3,height:_0x1e83b5}=_0x34cf6f['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x34cf6f['cdnUrl'],this['imageDimension']={'width':_0x2d13f3,'height':_0x1e83b5},this['imageId']=_0x34cf6f['uuid'],this['imageUploadProgress']=null;const _0x679547=_0x1ba639['getAttribute']('src');this['_imageCache']['set'](_0x679547,{'id':_0x34cf6f['uuid'],'url':_0x34cf6f['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x1f8884=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1f8884['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x21e19f,_0xf6126e){_0x21e19f['on']('apply',(_0x32fced,_0x16028e)=>{this['_replaceImage'](_0xf6126e,_0x16028e['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x21e19f['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x21e19f['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5b88f6,_0x2778d1,_0x20a360){const _0x3048c1=this['_editor'],{width:_0x292f86,height:_0x44b639}=_0x25686b(_0x2778d1,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x4d281b,imageSources:_0x1c3718}=_0x4609dc(_0x2778d1,_0x292f86);_0x3048c1['model']['change'](_0x3ebd1d=>{if('$graveyard'===_0x5b88f6['root']['rootName']){_0x3048c1['execute']('insertImage',{'imageType':_0x5b88f6['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5b88f6['getAttributes']()),'uploadcareImageId':_0x20a360,'src':_0x4d281b,'sources':_0x1c3718,'width':_0x292f86,'height':_0x44b639}});const _0x43341a=_0x5b88f6['getChildren']();_0x5b88f6=_0x3048c1['model']['document']['selection']['getSelectedElement']();for(const _0x3ec131 of _0x43341a)_0x3ebd1d['append'](_0x3ebd1d['cloneElement'](_0x3ec131),_0x5b88f6);}else _0x3ebd1d['setSelection'](_0x5b88f6,'on'),_0x3048c1['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5b88f6['getAttributes']()),'uploadcareImageId':_0x20a360,'src':_0x4d281b,'sources':_0x1c3718,'width':_0x292f86,'height':_0x44b639},_0x5b88f6);_0x3ebd1d['setSelection'](_0x5b88f6,'on');});}async['_getImageAsFile'](_0x2c253a){const _0x1a98d6=_0x2c9db5['window'],_0x2d13cd=_0x2c9db5['document']['location']['href'],_0x52520d=new _0x1a98d6['URL'](_0x2c253a['getAttribute']('src'),_0x2d13cd);if('data:'===_0x52520d['protocol']){const _0x518aa3=_0x52520d['href']['split'](','),_0x1f5889=_0x518aa3[0x0]['match'](/:(.*?);/)[0x1],_0xf123e0=_0x1f5889['split']('/')[0x1],_0x489efa=_0x1a98d6['atob'](_0x518aa3[_0x518aa3['length']-0x1]);let _0x5509ac=_0x489efa['length'];const _0x19650e=new _0x1a98d6['Uint8Array'](_0x5509ac);for(;_0x5509ac--;)_0x19650e[_0x5509ac]=_0x489efa['charCodeAt'](_0x5509ac);return new _0x1a98d6['File']([_0x19650e],'image.'+_0xf123e0,{'type':_0x1f5889});}const _0x4190d8=_0x52520d['href']['split']('/'),_0x35d40b=_0x4190d8[_0x4190d8['length']-0x1],_0xdb1fb0=_0x35d40b['split']('.')[0x1];return _0x1a98d6['fetch'](_0x52520d['href'])['then'](_0x4bbb57=>_0x4bbb57['clone']()['blob']())['then'](_0x262b10=>new _0x1a98d6['File']([_0x262b10],_0x35d40b,{'type':'image/'+_0xdb1fb0}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x13c6a0,_0x30c844){const _0x58b847=_0x236f,_0x33f14b=_0x13c6a0();while(!![]){try{const _0x5aea2b=-parseInt(_0x58b847(0x186))/0x1+-parseInt(_0x58b847(0x193))/0x2+parseInt(_0x58b847(0x18c))/0x3*(-parseInt(_0x58b847(0x18a))/0x4)+-parseInt(_0x58b847(0x187))/0x5+-parseInt(_0x58b847(0x189))/0x6*(parseInt(_0x58b847(0x196))/0x7)+-parseInt(_0x58b847(0x18d))/0x8+parseInt(_0x58b847(0x191))/0x9*(parseInt(_0x58b847(0x18f))/0xa);if(_0x5aea2b===_0x30c844)break;else _0x33f14b['push'](_0x33f14b['shift']());}catch(_0x35baad){_0x33f14b['push'](_0x33f14b['shift']());}}}(_0xf2e5,0xcca9a));import{View as _0x4e5f99}from'ckeditor5/src/ui.js';function _0xf2e5(){const _0x1d3748=['ck-uploadcare-theme','2211182McQrex','imageSrc','image-edit','13153xVfmPV','uc-cloud-image-editor','843771xoWoJV','27240bCjqgZ','uc-light','4842NBTTlq','2976452IjeanB','setTemplate','6KkLtPy','2835904nfcoyJ','bindTemplate','16650UOJjjv','set','33255pISGlR'];_0xf2e5=function(){return _0x1d3748;};return _0xf2e5();}function _0x236f(_0x25b307,_0x1e3a2e){const _0xf2e536=_0xf2e5();return _0x236f=function(_0x236f82,_0x303e4f){_0x236f82=_0x236f82-0x185;let _0x5812df=_0xf2e536[_0x236f82];return _0x5812df;},_0x236f(_0x25b307,_0x1e3a2e);}export class UploadcareImageEditFormEditingView extends _0x4e5f99{constructor(_0x1329ac,_0x31f2af){const _0x4039dd=_0x236f;super(_0x1329ac);const _0x17a40b=this[_0x4039dd(0x18e)];this[_0x4039dd(0x190)](_0x4039dd(0x194),''),this[_0x4039dd(0x18b)]({'tag':_0x4039dd(0x185),'attributes':{..._0x31f2af,'class':[_0x4039dd(0x188),_0x4039dd(0x192)],'ctx-name':_0x4039dd(0x195),'cdn-url':_0x17a40b['to'](_0x4039dd(0x194))}});}}
23
+ (function(_0x351bb4,_0x5479e5){const _0x3cfc13=_0x1e20,_0x157c4e=_0x351bb4();while(!![]){try{const _0x2a6eae=parseInt(_0x3cfc13(0xac))/0x1*(-parseInt(_0x3cfc13(0xb1))/0x2)+parseInt(_0x3cfc13(0xad))/0x3+-parseInt(_0x3cfc13(0xae))/0x4*(parseInt(_0x3cfc13(0xa3))/0x5)+parseInt(_0x3cfc13(0xaa))/0x6*(-parseInt(_0x3cfc13(0xa9))/0x7)+-parseInt(_0x3cfc13(0xaf))/0x8+-parseInt(_0x3cfc13(0xa8))/0x9*(parseInt(_0x3cfc13(0xa5))/0xa)+parseInt(_0x3cfc13(0xb0))/0xb;if(_0x2a6eae===_0x5479e5)break;else _0x157c4e['push'](_0x157c4e['shift']());}catch(_0x3e0306){_0x157c4e['push'](_0x157c4e['shift']());}}}(_0x2c2d,0x32a57));function _0x2c2d(){const _0x221b51=['150xQkFXL','ck-uploadcare-theme','uc-cloud-image-editor','41355YFEdzV','14IUUMdq','764262jLDWTN','image-edit','348837YzWYzp','588774IEiDdd','32xTLDpB','1943880liLIBv','12023462KJQUyi','2BbdXlV','imageSrc','set','uc-light','setTemplate','103970fRIezG','bindTemplate'];_0x2c2d=function(){return _0x221b51;};return _0x2c2d();}import{View as _0x27adb1}from'ckeditor5/src/ui.js';function _0x1e20(_0x29421c,_0x222fd2){const _0x2c2dd5=_0x2c2d();return _0x1e20=function(_0x1e2011,_0x3bd97a){_0x1e2011=_0x1e2011-0xa2;let _0x12744a=_0x2c2dd5[_0x1e2011];return _0x12744a;},_0x1e20(_0x29421c,_0x222fd2);}export class UploadcareImageEditFormEditingView extends _0x27adb1{constructor(_0x49ec9a,_0x5f3c4){const _0x3c6373=_0x1e20;super(_0x49ec9a);const _0x3ca6f1=this[_0x3c6373(0xa4)];this[_0x3c6373(0xb3)](_0x3c6373(0xb2),''),this[_0x3c6373(0xa2)]({'tag':_0x3c6373(0xa7),'attributes':{..._0x5f3c4,'class':[_0x3c6373(0xb4),_0x3c6373(0xa6)],'ctx-name':_0x3c6373(0xab),'cdn-url':_0x3ca6f1['to'](_0x3c6373(0xb2))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x2440f4}from'ckeditor5/src/icons.js';import{ButtonView as _0x38afd8,IconView as _0x2755c4,View as _0x959435}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x959435{constructor(_0x5adb07){super(_0x5adb07);const t=_0x5adb07['t'];this['set']('errorType',null);const _0x110209=new _0x38afd8(_0x5adb07);_0x110209['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x110209['withText']=!0x0,_0x110209['class']='ck-button-action',_0x110209['on']('execute',()=>{this['fire']('retry');}),_0x110209['bind']('isVisible')['to'](this,'errorType',_0x321ef9=>'NotFound'!==_0x321ef9);const _0x1b0cff=new _0x2755c4();_0x1b0cff['content']=_0x2440f4,_0x1b0cff['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x42ee4d=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':[_0x1b0cff,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x42ee4d['to']('errorType',_0x1b0c62=>t('NotFound'!==_0x1b0c62?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x110209]},{'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 _0xcf64dc}from'ckeditor5/src/icons.js';import{ButtonView as _0x2eca8e,IconView as _0x45987d,View as _0xf70854}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0xf70854{constructor(_0xf20076){super(_0xf20076);const t=_0xf20076['t'];this['set']('errorType',null);const _0x2fd459=new _0x2eca8e(_0xf20076);_0x2fd459['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x2fd459['withText']=!0x0,_0x2fd459['class']='ck-button-action',_0x2fd459['on']('execute',()=>{this['fire']('retry');}),_0x2fd459['bind']('isVisible')['to'](this,'errorType',_0x1305de=>'NotFound'!==_0x1305de);const _0x1384d2=new _0x45987d();_0x1384d2['content']=_0xcf64dc,_0x1384d2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4dc4fd=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':[_0x1384d2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4dc4fd['to']('errorType',_0x4a68e2=>t('NotFound'!==_0x4a68e2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x2fd459]},{'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 _0x54467d,View as _0x3bd3fe}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x3bd3fe{constructor(_0x44a656){super(_0x44a656);const t=_0x44a656['t'],_0x37bdc0=this['bindTemplate'],_0x21607f=new _0x54467d();_0x21607f['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':[_0x21607f,{'text':_0x37bdc0['to']('imageUploadProgress',_0x145073=>t('Loading\x20image...')+'\x20('+(_0x145073||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 _0x307f61,View as _0x4b3b5b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x4b3b5b{constructor(_0x1170f3){super(_0x1170f3);const t=_0x1170f3['t'],_0x354515=this['bindTemplate'],_0x5749b4=new _0x307f61();_0x5749b4['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':[_0x5749b4,{'text':_0x354515['to']('imageUploadProgress',_0x1c488d=>t('Loading\x20image...')+'\x20('+(_0x1c488d||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 _0x2736a6=_0x22f7;function _0x2133(){const _0x2896fa=['_items','length','observe','createCollection','focus','retry','add','div','target','_waitForImageEditorComponent','905283XnKUXD','16ThgfcT','setTemplate','_errorView','ready','22ofpSTS','once','15670nNFKNy','584331kwrROn','240lPmwGf','addEventListener','disconnect','_addErrorViewListeners','840880fxmmnI','getFocusableElement','change:status','error','filter','cdnUrl','toLowerCase','104165XUoTHA','status','addMany','uploading','20tMMuFt','ck-uploadcare-form','ck-reset_all-excluded','_addUploadcareImageEditorListeners','clear','8668912mNYHla','_editingView','nodeName','uc-cloud-image-editor','apply','render','_loadingView','addedNodes','cancel','element','querySelector','detail','_setView','set','1356NvfFKT','_focusableView','fire','122969oHoREY'];_0x2133=function(){return _0x2896fa;};return _0x2133();}(function(_0x351b97,_0x56ea36){const _0x423146=_0x22f7,_0x5dbe4b=_0x351b97();while(!![]){try{const _0x2b4eeb=-parseInt(_0x423146(0x1f6))/0x1*(parseInt(_0x423146(0x1e7))/0x2)+parseInt(_0x423146(0x1ea))/0x3*(-parseInt(_0x423146(0x1e3))/0x4)+-parseInt(_0x423146(0x1e9))/0x5*(parseInt(_0x423146(0x1eb))/0x6)+parseInt(_0x423146(0x1ff))/0x7+parseInt(_0x423146(0x1ef))/0x8+-parseInt(_0x423146(0x1e2))/0x9*(-parseInt(_0x423146(0x1fa))/0xa)+parseInt(_0x423146(0x1d7))/0xb*(parseInt(_0x423146(0x1d4))/0xc);if(_0x2b4eeb===_0x56ea36)break;else _0x5dbe4b['push'](_0x5dbe4b['shift']());}catch(_0x4f13ef){_0x5dbe4b['push'](_0x5dbe4b['shift']());}}}(_0x2133,0xb8f8c));import{View as _0x178f18}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x24ece8}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0xc20f89}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x25ec52}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x4d66c8}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';function _0x22f7(_0x1fca4b,_0x1b78ac){const _0x213382=_0x2133();return _0x22f7=function(_0x22f7a9,_0x25e7fb){_0x22f7a9=_0x22f7a9-0x1d4;let _0x288fab=_0x213382[_0x22f7a9];return _0x288fab;},_0x22f7(_0x1fca4b,_0x1b78ac);}export class UploadcareImageEditFormView extends _0x4d66c8{[_0x2736a6(0x1d8)];[_0x2736a6(0x205)];[_0x2736a6(0x1e5)];[_0x2736a6(0x200)];[_0x2736a6(0x1d5)];constructor(_0x360c65,_0x26b4a5,_0x319be8){const _0x2c9374=_0x2736a6;super(_0x360c65),this[_0x2c9374(0x1d8)]=this[_0x2c9374(0x1db)](),this[_0x2c9374(0x205)]=new _0x24ece8(_0x360c65),this[_0x2c9374(0x1e5)]=new _0xc20f89(_0x360c65),this[_0x2c9374(0x200)]=new _0x25ec52(_0x360c65,_0x319be8),this[_0x2c9374(0x1d5)]=new _0x178f18(_0x360c65),this[_0x2c9374(0x1d5)][_0x2c9374(0x1e4)](this[_0x2c9374(0x1f0)]()),this[_0x2c9374(0x20c)](_0x2c9374(0x1f7),_0x26b4a5),this[_0x2c9374(0x1e4)]({'tag':_0x2c9374(0x1df),'attributes':{'class':['ck',_0x2c9374(0x1fc),_0x2c9374(0x1fb)],'tabindex':'-1'},'children':this[_0x2c9374(0x1d8)]}),this[_0x2c9374(0x20b)](),this[_0x2c9374(0x1e8)](_0x2c9374(0x204),()=>{const _0x5a4cf9=_0x2c9374;this[_0x5a4cf9(0x1e1)](this[_0x5a4cf9(0x208)],_0x54653c=>{const _0x270fc6=_0x5a4cf9;this[_0x270fc6(0x1fd)](_0x54653c);});}),this['on'](_0x2c9374(0x1f1),()=>{const _0x4f5400=_0x2c9374;this[_0x4f5400(0x20b)]();}),this[_0x2c9374(0x1ee)]();}[_0x2736a6(0x1dc)](){const _0x1b8b23=_0x2736a6;this[_0x1b8b23(0x208)][_0x1b8b23(0x1dc)]();}[_0x2736a6(0x20b)](){const _0x5604a5=_0x2736a6;switch(this[_0x5604a5(0x1d8)][_0x5604a5(0x1fe)](),this[_0x5604a5(0x1f7)]){case _0x5604a5(0x1f9):this[_0x5604a5(0x1d8)][_0x5604a5(0x1de)](this[_0x5604a5(0x205)]);break;case _0x5604a5(0x1f2):this[_0x5604a5(0x1d8)][_0x5604a5(0x1de)](this[_0x5604a5(0x1e5)]);break;case _0x5604a5(0x1e6):this[_0x5604a5(0x1d8)][_0x5604a5(0x1f8)]([this[_0x5604a5(0x200)],this[_0x5604a5(0x1d5)]]);}}[_0x2736a6(0x1e1)](_0x579f63,_0x39d394){const _0x33f1ac=_0x2736a6,_0x4b2837=_0x33f1ac(0x202),_0x272be7=_0x579f63[_0x33f1ac(0x209)](_0x4b2837);if(_0x272be7)return _0x39d394(_0x272be7);const _0x5cdba7=new MutationObserver(_0xdf6be6=>{const _0x76a79f=_0x33f1ac,_0x3af675=_0xdf6be6[_0x76a79f(0x1f3)](_0x1bcd02=>_0x1bcd02[_0x76a79f(0x1e0)]===_0x579f63&&_0x1bcd02[_0x76a79f(0x206)][_0x76a79f(0x1d9)]>0x0&&_0x1bcd02[_0x76a79f(0x206)][0x0][_0x76a79f(0x201)][_0x76a79f(0x1f5)]()===_0x4b2837);_0x3af675[_0x76a79f(0x1d9)]&&(_0x5cdba7[_0x76a79f(0x1ed)](),_0x39d394(_0x3af675[0x0][_0x76a79f(0x206)][0x0]));});_0x5cdba7[_0x33f1ac(0x1da)](_0x579f63,{'childList':!0x0,'subtree':!0x0});}[_0x2736a6(0x1fd)](_0x46c8aa){const _0xcb3b77=_0x2736a6;_0x46c8aa[_0xcb3b77(0x1ec)](_0xcb3b77(0x203),_0x3c7fb2=>{const _0x4e9d1d=_0xcb3b77;this[_0x4e9d1d(0x1d6)](_0x4e9d1d(0x203),{'imageSrc':_0x3c7fb2[_0x4e9d1d(0x20a)][_0x4e9d1d(0x1f4)]});}),_0x46c8aa[_0xcb3b77(0x1ec)](_0xcb3b77(0x207),()=>{const _0x2da893=_0xcb3b77;this[_0x2da893(0x1d6)](_0x2da893(0x207));});}[_0x2736a6(0x1ee)](){const _0x5640c0=_0x2736a6;this[_0x5640c0(0x1e5)]['on'](_0x5640c0(0x1dd),()=>{const _0x172dfe=_0x5640c0;this[_0x172dfe(0x1d6)](_0x172dfe(0x1dd));});}}
23
+ const _0x50273a=_0x3c19;(function(_0x4131d1,_0xb51fa3){const _0x26a8a7=_0x3c19,_0x44944a=_0x4131d1();while(!![]){try{const _0x4fc4cc=-parseInt(_0x26a8a7(0x136))/0x1*(parseInt(_0x26a8a7(0x11d))/0x2)+parseInt(_0x26a8a7(0x119))/0x3*(parseInt(_0x26a8a7(0x14e))/0x4)+parseInt(_0x26a8a7(0x138))/0x5+parseInt(_0x26a8a7(0x127))/0x6+-parseInt(_0x26a8a7(0x14d))/0x7+parseInt(_0x26a8a7(0x124))/0x8*(-parseInt(_0x26a8a7(0x129))/0x9)+parseInt(_0x26a8a7(0x12a))/0xa;if(_0x4fc4cc===_0xb51fa3)break;else _0x44944a['push'](_0x44944a['shift']());}catch(_0x1fe726){_0x44944a['push'](_0x44944a['shift']());}}}(_0x5efe,0x37f67));import{View as _0xaa2bbc}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x66ec17}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x29d322}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x1fad77}from'./uploadcareimageeditformeditingview.js';function _0x3c19(_0x5e3cc7,_0x16f297){const _0x5efe48=_0x5efe();return _0x3c19=function(_0x3c196c,_0x50706c){_0x3c196c=_0x3c196c-0x119;let _0xcddbd1=_0x5efe48[_0x3c196c];return _0xcddbd1;},_0x3c19(_0x5e3cc7,_0x16f297);}import{DialogFocusManagerView as _0x4a047c}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x4a047c{[_0x50273a(0x134)];[_0x50273a(0x13f)];[_0x50273a(0x144)];[_0x50273a(0x137)];[_0x50273a(0x148)];constructor(_0x5f1b2b,_0x550ad9,_0x13b572){const _0x40d460=_0x50273a;super(_0x5f1b2b),this[_0x40d460(0x134)]=this[_0x40d460(0x120)](),this[_0x40d460(0x13f)]=new _0x66ec17(_0x5f1b2b),this[_0x40d460(0x144)]=new _0x29d322(_0x5f1b2b),this[_0x40d460(0x137)]=new _0x1fad77(_0x5f1b2b,_0x13b572),this[_0x40d460(0x148)]=new _0xaa2bbc(_0x5f1b2b),this[_0x40d460(0x148)][_0x40d460(0x11c)](this[_0x40d460(0x13c)]()),this[_0x40d460(0x140)](_0x40d460(0x14f),_0x550ad9),this[_0x40d460(0x11c)]({'tag':_0x40d460(0x146),'attributes':{'class':['ck',_0x40d460(0x13d),_0x40d460(0x11f)],'tabindex':'-1'},'children':this[_0x40d460(0x134)]}),this[_0x40d460(0x13b)](),this[_0x40d460(0x14c)](_0x40d460(0x131),()=>{const _0x115980=_0x40d460;this[_0x115980(0x12f)](this[_0x115980(0x123)],_0x25d316=>{const _0xeddff4=_0x115980;this[_0xeddff4(0x12c)](_0x25d316);});}),this['on'](_0x40d460(0x145),()=>{const _0x3ca299=_0x40d460;this[_0x3ca299(0x13b)]();}),this[_0x40d460(0x133)]();}[_0x50273a(0x147)](){const _0x1408de=_0x50273a;this[_0x1408de(0x123)][_0x1408de(0x147)]();}[_0x50273a(0x13b)](){const _0x430133=_0x50273a;switch(this[_0x430133(0x134)][_0x430133(0x14a)](),this[_0x430133(0x14f)]){case _0x430133(0x13e):this[_0x430133(0x134)][_0x430133(0x149)](this[_0x430133(0x13f)]);break;case _0x430133(0x12d):this[_0x430133(0x134)][_0x430133(0x149)](this[_0x430133(0x144)]);break;case _0x430133(0x14b):this[_0x430133(0x134)][_0x430133(0x12b)]([this[_0x430133(0x137)],this[_0x430133(0x148)]]);}}[_0x50273a(0x12f)](_0xb0a515,_0x55d98d){const _0x517755=_0x50273a,_0x4cdf89=_0x517755(0x130),_0x1e4444=_0xb0a515[_0x517755(0x122)](_0x4cdf89);if(_0x1e4444)return _0x55d98d(_0x1e4444);const _0x5d733d=new MutationObserver(_0xe0aacc=>{const _0x31a050=_0x517755,_0x1d0dd2=_0xe0aacc[_0x31a050(0x142)](_0x2d7a7f=>_0x2d7a7f[_0x31a050(0x128)]===_0xb0a515&&_0x2d7a7f[_0x31a050(0x141)][_0x31a050(0x121)]>0x0&&_0x2d7a7f[_0x31a050(0x141)][0x0][_0x31a050(0x11e)][_0x31a050(0x132)]()===_0x4cdf89);_0x1d0dd2[_0x31a050(0x121)]&&(_0x5d733d[_0x31a050(0x11a)](),_0x55d98d(_0x1d0dd2[0x0][_0x31a050(0x141)][0x0]));});_0x5d733d[_0x517755(0x135)](_0xb0a515,{'childList':!0x0,'subtree':!0x0});}[_0x50273a(0x12c)](_0x3670ef){const _0x479d99=_0x50273a;_0x3670ef[_0x479d99(0x12e)](_0x479d99(0x143),_0x1bc8d6=>{const _0x5c4a0c=_0x479d99;this[_0x5c4a0c(0x11b)](_0x5c4a0c(0x143),{'imageSrc':_0x1bc8d6[_0x5c4a0c(0x13a)][_0x5c4a0c(0x139)]});}),_0x3670ef[_0x479d99(0x12e)](_0x479d99(0x126),()=>{const _0x546c5a=_0x479d99;this[_0x546c5a(0x11b)](_0x546c5a(0x126));});}[_0x50273a(0x133)](){const _0x3b2568=_0x50273a;this[_0x3b2568(0x144)]['on'](_0x3b2568(0x125),()=>{const _0x18f8dd=_0x3b2568;this[_0x18f8dd(0x11b)](_0x18f8dd(0x125));});}}function _0x5efe(){const _0x2b40f5=['12zXJVOf','status','386490uCreFz','disconnect','fire','setTemplate','2JZJmzD','nodeName','ck-uploadcare-form','createCollection','length','querySelector','element','120eDbfKd','retry','cancel','1261308MhMwAv','target','13680vTNDvm','3350rNDlNn','addMany','_addUploadcareImageEditorListeners','error','addEventListener','_waitForImageEditorComponent','uc-cloud-image-editor','render','toLowerCase','_addErrorViewListeners','_items','observe','160713aApZXs','_editingView','1131815kmVKJK','cdnUrl','detail','_setView','getFocusableElement','ck-reset_all-excluded','uploading','_loadingView','set','addedNodes','filter','apply','_errorView','change:status','div','focus','_focusableView','add','clear','ready','once','2874690YLkaVP'];_0x5efe=function(){return _0x2b40f5;};return _0x5efe();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x251d01=_0x4abf;(function(_0x12974b,_0x35ac58){const _0xf555cc=_0x4abf,_0x3312fa=_0x12974b();while(!![]){try{const _0x5e0b15=parseInt(_0xf555cc(0x195))/0x1*(parseInt(_0xf555cc(0x1a6))/0x2)+-parseInt(_0xf555cc(0x18f))/0x3*(parseInt(_0xf555cc(0x1a8))/0x4)+-parseInt(_0xf555cc(0x188))/0x5+-parseInt(_0xf555cc(0x1a4))/0x6+-parseInt(_0xf555cc(0x197))/0x7+-parseInt(_0xf555cc(0x193))/0x8*(parseInt(_0xf555cc(0x19a))/0x9)+-parseInt(_0xf555cc(0x19b))/0xa*(-parseInt(_0xf555cc(0x19f))/0xb);if(_0x5e0b15===_0x35ac58)break;else _0x3312fa['push'](_0x3312fa['shift']());}catch(_0x4acf3b){_0x3312fa['push'](_0x3312fa['shift']());}}}(_0x3238,0xa165e));import{Command as _0x2c5c9}from'ckeditor5/src/core.js';function _0x4abf(_0xf6442c,_0x41fb23){const _0x3238ad=_0x3238();return _0x4abf=function(_0x4abf99,_0x426c41){_0x4abf99=_0x4abf99-0x188;let _0x41b930=_0x3238ad[_0x4abf99];return _0x41b930;},_0x4abf(_0xf6442c,_0x41fb23);}function _0x3238(){const _0x3e5b1c=['requires','imageBlock','bind','element','document','imageEditController','2477085MCowCg','unbind','get','editor','8648WqHFar','imageInline','1uJmwNo','getSelectedElement','5975858khknEC','isActive','execute','729mHTpWx','10wYYWJH','_isEditable','model','set','39154291acJVzb','uploadcare.allowExternalImagesEditing','selection','config','plugins','6420864vousAK','refresh','1113670vTQEVe','isEnabled','4egPazp','3090680CjBnbe'];_0x3238=function(){return _0x3e5b1c;};return _0x3238();}import{Dialog as _0x19d0af}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3f3661}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x257183}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x2c5c9{[_0x251d01(0x18e)];static get[_0x251d01(0x189)](){return[_0x19d0af];}[_0x251d01(0x19c)];constructor(_0x114148){const _0x16bf9c=_0x251d01;super(_0x114148),this[_0x16bf9c(0x18e)]=void 0x0,this[_0x16bf9c(0x19c)]=_0x257183(_0x114148[_0x16bf9c(0x1a2)][_0x16bf9c(0x191)](_0x16bf9c(0x1a0))||[]),this[_0x16bf9c(0x19e)]({'isActive':!0x1});}[_0x251d01(0x1a5)](){const _0x413509=_0x251d01,_0x31fcb5=this[_0x413509(0x192)][_0x413509(0x19d)][_0x413509(0x18d)][_0x413509(0x1a1)][_0x413509(0x196)]();this[_0x413509(0x1a7)]=this[_0x413509(0x19c)](_0x31fcb5);}[_0x251d01(0x199)](){const _0x5786e9=_0x251d01;this[_0x5786e9(0x18e)]&&(this[_0x5786e9(0x190)](_0x5786e9(0x198)),this[_0x5786e9(0x18e)]=void 0x0);const _0x582727=this[_0x5786e9(0x192)][_0x5786e9(0x19d)][_0x5786e9(0x18d)][_0x5786e9(0x1a1)][_0x5786e9(0x196)]();_0x582727&&(_0x582727['is'](_0x5786e9(0x18c),_0x5786e9(0x18a))||_0x582727['is'](_0x5786e9(0x18c),_0x5786e9(0x194)))&&(this[_0x5786e9(0x18e)]=new _0x3f3661(this[_0x5786e9(0x192)],this[_0x5786e9(0x192)][_0x5786e9(0x1a3)][_0x5786e9(0x191)](_0x19d0af),_0x582727),this[_0x5786e9(0x18b)](_0x5786e9(0x198))['to'](this[_0x5786e9(0x18e)],_0x5786e9(0x198)));}}
23
+ const _0x3a6338=_0x5988;(function(_0x33300e,_0x3b2afa){const _0xc5b0bd=_0x5988,_0x207031=_0x33300e();while(!![]){try{const _0x3bfb2b=-parseInt(_0xc5b0bd(0x143))/0x1*(-parseInt(_0xc5b0bd(0x153))/0x2)+-parseInt(_0xc5b0bd(0x148))/0x3+-parseInt(_0xc5b0bd(0x13e))/0x4*(parseInt(_0xc5b0bd(0x158))/0x5)+parseInt(_0xc5b0bd(0x14c))/0x6+-parseInt(_0xc5b0bd(0x151))/0x7+parseInt(_0xc5b0bd(0x139))/0x8+-parseInt(_0xc5b0bd(0x14f))/0x9*(-parseInt(_0xc5b0bd(0x13c))/0xa);if(_0x3bfb2b===_0x3b2afa)break;else _0x207031['push'](_0x207031['shift']());}catch(_0x194c86){_0x207031['push'](_0x207031['shift']());}}}(_0x3d89,0xe4b23));import{Command as _0x593323}from'ckeditor5/src/core.js';function _0x5988(_0x2842ce,_0x3ea667){const _0x3d89cc=_0x3d89();return _0x5988=function(_0x5988d1,_0x453e0b){_0x5988d1=_0x5988d1-0x139;let _0xc922a1=_0x3d89cc[_0x5988d1];return _0xc922a1;},_0x5988(_0x2842ce,_0x3ea667);}import{Dialog as _0x1cdb9e}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0xbc5054}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x248b46}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x593323{[_0x3a6338(0x157)];static get[_0x3a6338(0x141)](){return[_0x1cdb9e];}[_0x3a6338(0x145)];constructor(_0xc7dfd4){const _0x3d2f7b=_0x3a6338;super(_0xc7dfd4),this[_0x3d2f7b(0x157)]=void 0x0,this[_0x3d2f7b(0x145)]=_0x248b46(_0xc7dfd4[_0x3d2f7b(0x140)][_0x3d2f7b(0x154)](_0x3d2f7b(0x142))||[]),this[_0x3d2f7b(0x149)]({'isActive':!0x1});}[_0x3a6338(0x147)](){const _0x3aee4b=_0x3a6338,_0x332139=this[_0x3aee4b(0x155)][_0x3aee4b(0x13b)][_0x3aee4b(0x14d)][_0x3aee4b(0x152)][_0x3aee4b(0x146)]();this[_0x3aee4b(0x13f)]=this[_0x3aee4b(0x145)](_0x332139);}[_0x3a6338(0x13a)](){const _0x5c8908=_0x3a6338;this[_0x5c8908(0x157)]&&(this[_0x5c8908(0x156)](_0x5c8908(0x14e)),this[_0x5c8908(0x157)]=void 0x0);const _0x214372=this[_0x5c8908(0x155)][_0x5c8908(0x13b)][_0x5c8908(0x14d)][_0x5c8908(0x152)][_0x5c8908(0x146)]();_0x214372&&(_0x214372['is'](_0x5c8908(0x13d),_0x5c8908(0x150))||_0x214372['is'](_0x5c8908(0x13d),_0x5c8908(0x14b)))&&(this[_0x5c8908(0x157)]=new _0xbc5054(this[_0x5c8908(0x155)],this[_0x5c8908(0x155)][_0x5c8908(0x144)][_0x5c8908(0x154)](_0x1cdb9e),_0x214372),this[_0x5c8908(0x14a)](_0x5c8908(0x14e))['to'](this[_0x5c8908(0x157)],_0x5c8908(0x14e)));}}function _0x3d89(){const _0x1e5928=['1305ArJgef','imageBlock','12100410QSjtnU','selection','33482smVMtN','get','editor','unbind','imageEditController','25WFcnBj','5655392ERXdZP','execute','model','170510PIhJQe','element','673804OyFtmO','isEnabled','config','requires','uploadcare.allowExternalImagesEditing','33SnQqgu','plugins','_isEditable','getSelectedElement','refresh','2008809QarZOk','set','bind','imageInline','2672730yRBHco','document','isActive'];_0x3d89=function(){return _0x1e5928;};return _0x3d89();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2dec29=_0x208a;(function(_0x58c32b,_0xe03acf){const _0x19147f=_0x208a,_0x2dd5b6=_0x58c32b();while(!![]){try{const _0x130fbe=-parseInt(_0x19147f(0xd3))/0x1*(-parseInt(_0x19147f(0xd7))/0x2)+-parseInt(_0x19147f(0xd2))/0x3*(-parseInt(_0x19147f(0xce))/0x4)+parseInt(_0x19147f(0xca))/0x5+-parseInt(_0x19147f(0xd9))/0x6+-parseInt(_0x19147f(0xd0))/0x7+-parseInt(_0x19147f(0xcb))/0x8+-parseInt(_0x19147f(0xdb))/0x9*(parseInt(_0x19147f(0xc7))/0xa);if(_0x130fbe===_0xe03acf)break;else _0x2dd5b6['push'](_0x2dd5b6['shift']());}catch(_0x4c8c68){_0x2dd5b6['push'](_0x2dd5b6['shift']());}}}(_0x1527,0xa4999));import{Plugin as _0x57aca9}from'ckeditor5/src/core.js';import{Notification as _0x37c8f7}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x362141}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x387dd0}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x371132}from'../uploadcareediting.js';function _0x208a(_0x4eed0a,_0x5e220e){const _0x152750=_0x1527();return _0x208a=function(_0x208a52,_0x20398a){_0x208a52=_0x208a52-0xc6;let _0x5743ed=_0x152750[_0x208a52];return _0x5743ed;},_0x208a(_0x4eed0a,_0x5e220e);}function _0x1527(){const _0x565d3c=['isOfficialPlugin','pluginName','19906osrbQH','uploadcareImageEdit','7681530rluQNa','add','24363fFnypI','init','820zXdGpW','ImageUtils','requires','5031615JZEfhi','540032XMAUwQ','ImageEditing','UploadcareImageEditEditing','40nSFHLi','isPremiumPlugin','771687lUKGQH','uploadcareImageReplace','123681cdBReN','94tZPEeq','commands'];_0x1527=function(){return _0x565d3c;};return _0x1527();}export class UploadcareImageEditEditing extends _0x57aca9{static get[_0x2dec29(0xd6)](){const _0x3fe0dd=_0x2dec29;return _0x3fe0dd(0xcd);}static get[_0x2dec29(0xc9)](){const _0x3bf382=_0x2dec29;return[_0x371132,_0x37c8f7,_0x3bf382(0xc8),_0x3bf382(0xcc)];}static get[_0x2dec29(0xd5)](){return!0x0;}static get[_0x2dec29(0xcf)](){return!0x0;}[_0x2dec29(0xc6)](){const _0x3e9754=_0x2dec29,{editor:_0xf66729}=this;_0xf66729[_0x3e9754(0xd4)][_0x3e9754(0xda)](_0x3e9754(0xd8),new _0x362141(_0xf66729)),_0xf66729[_0x3e9754(0xd4)][_0x3e9754(0xda)](_0x3e9754(0xd1),new _0x387dd0(_0xf66729));}}
23
+ const _0x1fb75b=_0x376f;(function(_0x5dca48,_0x4e084f){const _0x519b67=_0x376f,_0x59dbc2=_0x5dca48();while(!![]){try{const _0x180f32=-parseInt(_0x519b67(0x1b5))/0x1+parseInt(_0x519b67(0x1ae))/0x2+-parseInt(_0x519b67(0x1b4))/0x3*(-parseInt(_0x519b67(0x1ac))/0x4)+parseInt(_0x519b67(0x1b8))/0x5+parseInt(_0x519b67(0x1b0))/0x6*(parseInt(_0x519b67(0x1b1))/0x7)+parseInt(_0x519b67(0x1b3))/0x8+parseInt(_0x519b67(0x1bb))/0x9*(-parseInt(_0x519b67(0x1b2))/0xa);if(_0x180f32===_0x4e084f)break;else _0x59dbc2['push'](_0x59dbc2['shift']());}catch(_0x3aba92){_0x59dbc2['push'](_0x59dbc2['shift']());}}}(_0xdd90,0x7d979));import{Plugin as _0xa5363}from'ckeditor5/src/core.js';import{Notification as _0x25ebdb}from'ckeditor5/src/ui.js';function _0xdd90(){const _0x5ed6d2=['3KzhvWm','713795rkGPyO','requires','ImageUtils','85180pWOXzB','pluginName','init','5537421XXdVfF','add','isPremiumPlugin','uploadcareImageReplace','ImageEditing','isOfficialPlugin','UploadcareImageEditEditing','4079028AeYmuA','commands','1819648bfxRWs','uploadcareImageEdit','6asyvWi','2476733SyQjOC','30OoFVYJ','6188728HsCEnK'];_0xdd90=function(){return _0x5ed6d2;};return _0xdd90();}function _0x376f(_0x3fe41d,_0x5f4e3e){const _0xdd903b=_0xdd90();return _0x376f=function(_0x376f36,_0x3a93e6){_0x376f36=_0x376f36-0x1a7;let _0x4d6a55=_0xdd903b[_0x376f36];return _0x4d6a55;},_0x376f(_0x3fe41d,_0x5f4e3e);}import{UploadcareImageEditCommand as _0x151ded}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x1e8419}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x56c899}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0xa5363{static get[_0x1fb75b(0x1b9)](){const _0x188724=_0x1fb75b;return _0x188724(0x1ab);}static get[_0x1fb75b(0x1b6)](){const _0x2b1360=_0x1fb75b;return[_0x56c899,_0x25ebdb,_0x2b1360(0x1b7),_0x2b1360(0x1a9)];}static get[_0x1fb75b(0x1aa)](){return!0x0;}static get[_0x1fb75b(0x1a7)](){return!0x0;}[_0x1fb75b(0x1ba)](){const _0x32ee44=_0x1fb75b,{editor:_0x587098}=this;_0x587098[_0x32ee44(0x1ad)][_0x32ee44(0x1bc)](_0x32ee44(0x1af),new _0x151ded(_0x587098)),_0x587098[_0x32ee44(0x1ad)][_0x32ee44(0x1bc)](_0x32ee44(0x1a8),new _0x1e8419(_0x587098));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x59688c}from'ckeditor5/src/core.js';import{ButtonView as _0x3872d3}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4c03c3}from'ckeditor5/src/icons.js';import{createElement as _0x5c1b0f}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 _0x59688c{['_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 _0x434d85=this['editor'];_0x434d85['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1b45f7=>{const _0xa92c62=_0x434d85['commands']['get']('uploadcareImageEdit'),_0x4c037e=new _0x3872d3(_0x1b45f7),t=_0x1b45f7['t'];return _0x4c037e['set']({'icon':_0x4c03c3,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x4c037e['bind']('isEnabled')['to'](_0xa92c62),_0x4c037e['bind']('isOn')['to'](_0xa92c62,'isActive'),this['listenTo'](_0x4c037e,'execute',()=>{_0x434d85['execute']('uploadcareImageEdit'),_0x434d85['editing']['view']['focus']();}),_0x4c037e;}),this['_initConfig']();}['_initConfig'](){const _0xc3e39b=_0x5c1b0f(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xc3e39b),this['listenTo'](this['editor'],'destroy',()=>{_0xc3e39b['remove']();});}}
23
+ import{Plugin as _0x2b406e}from'ckeditor5/src/core.js';import{ButtonView as _0xcc0e4d}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1352bb}from'ckeditor5/src/icons.js';import{createElement as _0x35fef8}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 _0x2b406e{['_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 _0x23e97c=this['editor'];_0x23e97c['ui']['componentFactory']['add']('uploadcareImageEdit',_0xccebce=>{const _0x509b81=_0x23e97c['commands']['get']('uploadcareImageEdit'),_0x309b0e=new _0xcc0e4d(_0xccebce),t=_0xccebce['t'];return _0x309b0e['set']({'icon':_0x1352bb,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x309b0e['bind']('isEnabled')['to'](_0x509b81),_0x309b0e['bind']('isOn')['to'](_0x509b81,'isActive'),this['listenTo'](_0x309b0e,'execute',()=>{_0x23e97c['execute']('uploadcareImageEdit'),_0x23e97c['editing']['view']['focus']();}),_0x309b0e;}),this['_initConfig']();}['_initConfig'](){const _0x144240=_0x35fef8(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x144240),this['listenTo'](this['editor'],'destroy',()=>{_0x144240['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5327(){const _0x4e1835=['2198TkkjkF','change','8axKWoD','isEnabled','172310edTTTM','346225sIqLul','2698956vDpOOZ','setAttributes','refresh','1007730LWYpGp','getSelectedElement','document','sizes','srcset','execute','imageInline','model','1476063nQDtyL','selection','imageBlock','removeAttribute','108kkiOuI','13738RcfYRO','element','10368Tlprzm','editor','61fdQMjK','33aWmToJ'];_0x5327=function(){return _0x4e1835;};return _0x5327();}const _0x3d02f5=_0x7255;(function(_0x39f318,_0x465687){const _0x4b1c97=_0x7255,_0x1395b6=_0x39f318();while(!![]){try{const _0x1ec800=parseInt(_0x4b1c97(0x100))/0x1*(-parseInt(_0x4b1c97(0xfc))/0x2)+-parseInt(_0x4b1c97(0xf7))/0x3+-parseInt(_0x4b1c97(0x104))/0x4*(-parseInt(_0x4b1c97(0x107))/0x5)+parseInt(_0x4b1c97(0x10b))/0x6+parseInt(_0x4b1c97(0x102))/0x7*(parseInt(_0x4b1c97(0xfe))/0x8)+-parseInt(_0x4b1c97(0xfb))/0x9*(parseInt(_0x4b1c97(0x106))/0xa)+-parseInt(_0x4b1c97(0x101))/0xb*(-parseInt(_0x4b1c97(0x108))/0xc);if(_0x1ec800===_0x465687)break;else _0x1395b6['push'](_0x1395b6['shift']());}catch(_0x17e934){_0x1395b6['push'](_0x1395b6['shift']());}}}(_0x5327,0x41ff6));import{Command as _0x142989}from'ckeditor5/src/core.js';function _0x7255(_0x3ef45e,_0x213fa8){const _0x532775=_0x5327();return _0x7255=function(_0x72557d,_0x3c5371){_0x72557d=_0x72557d-0xf0;let _0x34854a=_0x532775[_0x72557d];return _0x34854a;},_0x7255(_0x3ef45e,_0x213fa8);}export class UploadcareImageReplaceCommand extends _0x142989{[_0x3d02f5(0x10a)](){const _0x13ea59=_0x3d02f5,_0x4ef1fc=this[_0x13ea59(0xff)][_0x13ea59(0xf6)][_0x13ea59(0xf1)][_0x13ea59(0xf8)][_0x13ea59(0xf0)]();this[_0x13ea59(0x105)]=Boolean(_0x4ef1fc&&(_0x4ef1fc['is'](_0x13ea59(0xfd),_0x13ea59(0xf9))||_0x4ef1fc['is'](_0x13ea59(0xfd),_0x13ea59(0xf5))));}[_0x3d02f5(0xf4)](_0x528432){const _0x1fc9d3=_0x3d02f5,_0x2119af=this[_0x1fc9d3(0xff)][_0x1fc9d3(0xf6)][_0x1fc9d3(0xf1)][_0x1fc9d3(0xf8)][_0x1fc9d3(0xf0)]();this[_0x1fc9d3(0xff)][_0x1fc9d3(0xf6)][_0x1fc9d3(0x103)](_0x51bf63=>{const _0x4b4e4e=_0x1fc9d3;_0x51bf63[_0x4b4e4e(0x109)](_0x528432,_0x2119af),_0x51bf63[_0x4b4e4e(0xfa)](_0x4b4e4e(0xf3),_0x2119af),_0x51bf63[_0x4b4e4e(0xfa)](_0x4b4e4e(0xf2),_0x2119af);});}}
23
+ const _0x56f86c=_0x3bf0;function _0x22bf(){const _0x19f52f=['1384741wvOmju','sizes','55372vxdsOn','7048657JuFgGv','getSelectedElement','imageInline','2405798RLALkc','srcset','document','model','imageBlock','element','change','isEnabled','removeAttribute','994641dCOYXi','430nqYmZC','38557504Evepxb','selection','setAttributes','editor','execute','refresh','8123436iVaUcL'];_0x22bf=function(){return _0x19f52f;};return _0x22bf();}function _0x3bf0(_0x1a955d,_0x476301){const _0x22bf87=_0x22bf();return _0x3bf0=function(_0x3bf08b,_0x3f90cc){_0x3bf08b=_0x3bf08b-0x174;let _0x4cc655=_0x22bf87[_0x3bf08b];return _0x4cc655;},_0x3bf0(_0x1a955d,_0x476301);}(function(_0x5a82da,_0x22526c){const _0x22a147=_0x3bf0,_0x1e0bce=_0x5a82da();while(!![]){try{const _0xec2d85=parseInt(_0x22a147(0x174))/0x1+parseInt(_0x22a147(0x17a))/0x2+-parseInt(_0x22a147(0x183))/0x3+parseInt(_0x22a147(0x176))/0x4*(parseInt(_0x22a147(0x184))/0x5)+parseInt(_0x22a147(0x18b))/0x6+parseInt(_0x22a147(0x177))/0x7+-parseInt(_0x22a147(0x185))/0x8;if(_0xec2d85===_0x22526c)break;else _0x1e0bce['push'](_0x1e0bce['shift']());}catch(_0x3f3724){_0x1e0bce['push'](_0x1e0bce['shift']());}}}(_0x22bf,0xf1270));import{Command as _0x396087}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x396087{[_0x56f86c(0x18a)](){const _0x2826fe=_0x56f86c,_0x51dffa=this[_0x2826fe(0x188)][_0x2826fe(0x17d)][_0x2826fe(0x17c)][_0x2826fe(0x186)][_0x2826fe(0x178)]();this[_0x2826fe(0x181)]=Boolean(_0x51dffa&&(_0x51dffa['is'](_0x2826fe(0x17f),_0x2826fe(0x17e))||_0x51dffa['is'](_0x2826fe(0x17f),_0x2826fe(0x179))));}[_0x56f86c(0x189)](_0x831bc1){const _0x6d8a92=_0x56f86c,_0x3c711b=this[_0x6d8a92(0x188)][_0x6d8a92(0x17d)][_0x6d8a92(0x17c)][_0x6d8a92(0x186)][_0x6d8a92(0x178)]();this[_0x6d8a92(0x188)][_0x6d8a92(0x17d)][_0x6d8a92(0x180)](_0x2aa228=>{const _0x41942e=_0x6d8a92;_0x2aa228[_0x41942e(0x187)](_0x831bc1,_0x3c711b),_0x2aa228[_0x41942e(0x182)](_0x41942e(0x17b),_0x3c711b),_0x2aa228[_0x41942e(0x182)](_0x41942e(0x175),_0x3c711b);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5619e2=_0x2b37;(function(_0x228077,_0x3a49e2){var _0x31360d=_0x2b37,_0x48c71e=_0x228077();while(!![]){try{var _0x8f852f=parseInt(_0x31360d(0x1ed))/0x1*(parseInt(_0x31360d(0x1e0))/0x2)+-parseInt(_0x31360d(0x1f0))/0x3*(parseInt(_0x31360d(0x1ef))/0x4)+-parseInt(_0x31360d(0x1eb))/0x5*(parseInt(_0x31360d(0x1ee))/0x6)+parseInt(_0x31360d(0x1e7))/0x7+parseInt(_0x31360d(0x1e2))/0x8*(parseInt(_0x31360d(0x1e5))/0x9)+parseInt(_0x31360d(0x1e1))/0xa*(-parseInt(_0x31360d(0x1e4))/0xb)+parseInt(_0x31360d(0x1ec))/0xc*(parseInt(_0x31360d(0x1e6))/0xd);if(_0x8f852f===_0x3a49e2)break;else _0x48c71e['push'](_0x48c71e['shift']());}catch(_0x206032){_0x48c71e['push'](_0x48c71e['shift']());}}}(_0x1566,0xafa12));import{Plugin as _0x14f9a5}from'ckeditor5/src/core.js';function _0x2b37(_0x49d2ae,_0x321b4d){var _0x156655=_0x1566();return _0x2b37=function(_0x2b3718,_0x293cb5){_0x2b3718=_0x2b3718-0x1df;var _0x590572=_0x156655[_0x2b3718];return _0x590572;},_0x2b37(_0x49d2ae,_0x321b4d);}import{UploadcareImageEditEditing as _0x1a897e}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x1566(){var _0x2eeb41=['isOfficialPlugin','155kGsJIO','12fmTmCW','11589MuMEWz','209994TaIvib','76256SxhJBr','123LlfKwB','UploadcareImageEdit','50DFcFHQ','1483290sZxYqO','8ReSJFe','requires','44qIbZcl','1701387qbkgWe','27992874xyYMNf','3830547NPvrHL','isPremiumPlugin','pluginName'];_0x1566=function(){return _0x2eeb41;};return _0x1566();}import{UploadcareImageEditUI as _0x2023db}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x14f9a5{static get[_0x5619e2(0x1e9)](){var _0x43f028=_0x5619e2;return _0x43f028(0x1df);}static get[_0x5619e2(0x1e3)](){return[_0x1a897e,_0x2023db];}static get[_0x5619e2(0x1ea)](){return!0x0;}static get[_0x5619e2(0x1e8)](){return!0x0;}}
23
+ var _0x3c897c=_0x3e2a;(function(_0x235f9b,_0x5f1195){var _0x3a9864=_0x3e2a,_0x5dcf2a=_0x235f9b();while(!![]){try{var _0x258f5e=parseInt(_0x3a9864(0xfb))/0x1+-parseInt(_0x3a9864(0xfe))/0x2*(parseInt(_0x3a9864(0xf5))/0x3)+-parseInt(_0x3a9864(0xfd))/0x4*(parseInt(_0x3a9864(0xf6))/0x5)+-parseInt(_0x3a9864(0xf9))/0x6+-parseInt(_0x3a9864(0xf4))/0x7*(parseInt(_0x3a9864(0xf8))/0x8)+-parseInt(_0x3a9864(0xf1))/0x9+parseInt(_0x3a9864(0xfc))/0xa;if(_0x258f5e===_0x5f1195)break;else _0x5dcf2a['push'](_0x5dcf2a['shift']());}catch(_0xeca571){_0x5dcf2a['push'](_0x5dcf2a['shift']());}}}(_0x1d01,0x29c1d));import{Plugin as _0x1600bf}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x15ec12}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x25cd8a}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x1d01(){var _0x573528=['requires','40wHTtSx','541578uYsxvh','UploadcareImageEdit','172712ypNrte','5658930OfzCZM','236zdihrh','2Niaxjm','isPremiumPlugin','1262340whlAdJ','pluginName','isOfficialPlugin','651FTEIHI','332007rmQUUD','19145HBwtQP'];_0x1d01=function(){return _0x573528;};return _0x1d01();}function _0x3e2a(_0x9ceca6,_0x565c54){var _0x1d011f=_0x1d01();return _0x3e2a=function(_0x3e2a37,_0x468bad){_0x3e2a37=_0x3e2a37-0xf1;var _0x12b18e=_0x1d011f[_0x3e2a37];return _0x12b18e;},_0x3e2a(_0x9ceca6,_0x565c54);}export class UploadcareImageEdit extends _0x1600bf{static get[_0x3c897c(0xf2)](){var _0x513c86=_0x3c897c;return _0x513c86(0xfa);}static get[_0x3c897c(0xf7)](){return[_0x15ec12,_0x25cd8a];}static get[_0x3c897c(0xf3)](){return!0x0;}static get[_0x3c897c(0xff)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3349a4=_0x31fc;function _0x367a(){const _0x420de3=['UploadcareUI','44560EVlNPJ','uploadcare.uploader.sourceList','assetManager','init','push','_showLicenseError','featureNotAllowed','evaluationLimit','uploadcareLicenseKeyValid','uploadcareLicenseKeyEvaluationLimit','Replace','URL','upload','536856Aiynfl','url','Local','7roAEGT','_createMenuBarButtons','Uploadcare','destroy','GDrive','_getIntegrationKey','Dropbox','uploadcareLicenseKeyInvalid','isPremiumPlugin','572DBRJVh','config','uploadcareLicenseKeyUsageLimit','uploadcareLicenseKeyTrialLimit','shortText','execute','afterInit','550296fiGunV','uploadcareLicenseKeyExpired','map','_licenseKeyCheckInterval','11853171BJavIh','withText','_createButton','OneDrive','uploadcare','2468778DdIKfi','_createDropdownButtons','entries','get','usageLimit','licenseKey','isImageSelected','tooltip','pluginName','Insert','registerIntegration','bind','type','icon','plugins','invalid','uploadcareLicenseKeyDomainLimit','12453104ktlcRW','_createToolbarButton','has','text','trialLimit','Facebook','isOfficialPlugin','editor','domainLimit','uploadcareLicenseKeyNotAllowed','forEach','4502214GEAqda','label','GPhotos','isEnabled','reduce','ImageInsertUI','commands','_normalizeConfigSourceList','expired','locale'];_0x367a=function(){return _0x420de3;};return _0x367a();}(function(_0x9351ae,_0x98082f){const _0x5c62dc=_0x31fc,_0x3b3ce7=_0x9351ae();while(!![]){try{const _0x1c03bc=-parseInt(_0x5c62dc(0x169))/0x1+parseInt(_0x5c62dc(0x135))/0x2+-parseInt(_0x5c62dc(0x17c))/0x3+parseInt(_0x5c62dc(0x175))/0x4*(parseInt(_0x5c62dc(0x15c))/0x5)+-parseInt(_0x5c62dc(0x151))/0x6*(parseInt(_0x5c62dc(0x16c))/0x7)+-parseInt(_0x5c62dc(0x146))/0x8+parseInt(_0x5c62dc(0x130))/0x9;if(_0x1c03bc===_0x98082f)break;else _0x3b3ce7['push'](_0x3b3ce7['shift']());}catch(_0x2a43c0){_0x3b3ce7['push'](_0x3b3ce7['shift']());}}}(_0x367a,0xc2f41));import{Plugin as _0x54c383}from'ckeditor5/src/core.js';import{IconDropbox as _0x2de7cf,IconFacebook as _0x1abbb2,IconGoogleDrive as _0x5c3a2f,IconGooglePhotos as _0xd12100,IconUploadcareImageUpload as _0x4ce870,IconUploadcareLink as _0x308b3f,IconOneDrive as _0x4792ab}from'ckeditor5/src/icons.js';import{ButtonView as _0x114900,MenuBarMenuListItemButtonView as _0x2c1870}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x18d29f}from'./uploadcareconfig.js';import{getTranslation as _0x165f29}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x31fc(_0x122647,_0x43d196){const _0x367af0=_0x367a();return _0x31fc=function(_0x31fca1,_0xcdf7cf){_0x31fca1=_0x31fca1-0x130;let _0x499066=_0x367af0[_0x31fca1];return _0x499066;},_0x31fc(_0x122647,_0x43d196);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x54c383{[_0x3349a4(0x13a)];[_0x3349a4(0x17f)];static get[_0x3349a4(0x13d)](){const _0x273115=_0x3349a4;return _0x273115(0x15b);}static get[_0x3349a4(0x14c)](){return!0x0;}static get[_0x3349a4(0x174)](){return!0x0;}[_0x3349a4(0x15f)](){const _0x579c76=_0x3349a4;this[_0x579c76(0x13a)]=this[_0x579c76(0x14d)][_0x579c76(0x176)][_0x579c76(0x138)](_0x579c76(0x13a));const _0x4e86db=this[_0x579c76(0x14d)];this[_0x579c76(0x17f)]=setInterval(()=>{const _0x43e6ac=_0x579c76;let _0x3e3b47;for(const _0x1a7aa8 in _0x4e86db){const _0xb4798f=_0x1a7aa8,_0x2bcc57=_0x4e86db[_0xb4798f];if(_0x43e6ac(0x164)==_0x2bcc57||_0x43e6ac(0x173)==_0x2bcc57||_0x43e6ac(0x17d)==_0x2bcc57||_0x43e6ac(0x145)==_0x2bcc57||_0x43e6ac(0x14f)==_0x2bcc57||_0x43e6ac(0x165)==_0x2bcc57||_0x43e6ac(0x178)==_0x2bcc57||_0x43e6ac(0x177)==_0x2bcc57){delete _0x4e86db[_0xb4798f],_0x3e3b47=_0x2bcc57,clearInterval(this[_0x43e6ac(0x17f)]),this[_0x43e6ac(0x17f)]=void 0x0;break;}}_0x43e6ac(0x173)==_0x3e3b47&&_0x4e86db[_0x43e6ac(0x161)](_0x43e6ac(0x144)),_0x43e6ac(0x17d)==_0x3e3b47&&_0x4e86db[_0x43e6ac(0x161)](_0x43e6ac(0x159)),_0x43e6ac(0x145)==_0x3e3b47&&_0x4e86db[_0x43e6ac(0x161)](_0x43e6ac(0x14e)),_0x43e6ac(0x14f)==_0x3e3b47&&_0x4e86db[_0x43e6ac(0x161)](_0x43e6ac(0x162),_0x43e6ac(0x16e)),_0x43e6ac(0x165)==_0x3e3b47&&_0x4e86db[_0x43e6ac(0x161)](_0x43e6ac(0x163)),_0x43e6ac(0x178)==_0x3e3b47&&_0x4e86db[_0x43e6ac(0x161)](_0x43e6ac(0x14a)),_0x43e6ac(0x177)==_0x3e3b47&&_0x4e86db[_0x43e6ac(0x161)](_0x43e6ac(0x139));},0x3e8);}[_0x3349a4(0x17b)](){const _0x32b874=_0x3349a4,{editor:_0x40fb8a}=this,_0x3e04a1=_0x40fb8a[_0x32b874(0x157)][_0x32b874(0x138)](_0x32b874(0x134));if(!_0x3e04a1)return;const _0x39da42=this[_0x32b874(0x158)](_0x40fb8a[_0x32b874(0x176)][_0x32b874(0x138)](_0x32b874(0x15d)))[_0x32b874(0x155)]((_0x62296e,_0xcfc299)=>{const _0x11127c=_0x32b874,_0x2f233f=this[_0x11127c(0x171)](_0xcfc299[_0x11127c(0x141)]);return _0x62296e[_0x2f233f]||(_0x62296e[_0x2f233f]=[]),_0x62296e[_0x2f233f][_0x11127c(0x160)](_0xcfc299),_0x62296e;},{});_0x40fb8a[_0x32b874(0x143)][_0x32b874(0x148)](_0x32b874(0x156))&&_0x40fb8a[_0x32b874(0x157)][_0x32b874(0x138)](_0x32b874(0x134))&&Object[_0x32b874(0x137)](_0x39da42)[_0x32b874(0x150)](([_0x1e1f41,_0x3d6b19])=>{const _0x20d772=_0x32b874;_0x40fb8a[_0x20d772(0x143)][_0x20d772(0x138)](_0x20d772(0x156))[_0x20d772(0x13f)]({'name':_0x1e1f41,'observable':()=>_0x3e04a1,'buttonViewCreator':()=>this[_0x20d772(0x147)](_0x3d6b19),'formViewCreator':()=>this[_0x20d772(0x136)](_0x3d6b19),'menuBarButtonViewCreator':()=>this[_0x20d772(0x16d)](_0x3d6b19),'override':_0x20d772(0x15e)!==_0x1e1f41});});}[_0x3349a4(0x16f)](){const _0x455383=_0x3349a4;super[_0x455383(0x16f)](),this[_0x455383(0x17f)]&&clearInterval(this[_0x455383(0x17f)]);}[_0x3349a4(0x158)](_0x235bc4){const _0x4d3801=_0x3349a4,{locale:_0x4fb5c7}=this[_0x4d3801(0x14d)];return _0x235bc4[_0x4d3801(0x17e)](_0x40dcf3=>{const _0x1fe7aa=_0x4d3801,_0x32ff37=_0x165f29(_0x4fb5c7,_0x40dcf3,_0x1fe7aa(0x13e));switch(_0x40dcf3){case _0x18d29f[_0x1fe7aa(0x16b)]:return{'icon':_0x4ce870,'type':_0x18d29f[_0x1fe7aa(0x16b)],..._0x32ff37};case _0x18d29f[_0x1fe7aa(0x167)]:return{'icon':_0x308b3f,'type':_0x18d29f[_0x1fe7aa(0x167)],..._0x32ff37};case _0x18d29f[_0x1fe7aa(0x172)]:return{'icon':_0x2de7cf,'type':_0x18d29f[_0x1fe7aa(0x172)],..._0x32ff37};case _0x18d29f[_0x1fe7aa(0x14b)]:return{'icon':_0x1abbb2,'type':_0x18d29f[_0x1fe7aa(0x14b)],..._0x32ff37};case _0x18d29f[_0x1fe7aa(0x170)]:return{'icon':_0x5c3a2f,'type':_0x18d29f[_0x1fe7aa(0x170)],..._0x32ff37};case _0x18d29f[_0x1fe7aa(0x153)]:return{'icon':_0xd12100,'type':_0x18d29f[_0x1fe7aa(0x153)],..._0x32ff37};case _0x18d29f[_0x1fe7aa(0x133)]:return{'icon':_0x4792ab,'type':_0x18d29f[_0x1fe7aa(0x133)],..._0x32ff37};}});}[_0x3349a4(0x171)](_0x1b83a6){const _0x558ab4=_0x3349a4;switch(_0x1b83a6){case _0x18d29f[_0x558ab4(0x16b)]:return _0x558ab4(0x168);case _0x18d29f[_0x558ab4(0x167)]:return _0x558ab4(0x16a);default:return _0x558ab4(0x15e);}}[_0x3349a4(0x132)](_0x28da71,_0x16eb1a){const _0x28f2e1=_0x3349a4,_0x2ea4ad=this[_0x28f2e1(0x14d)],_0x50ed7d=new _0x28da71(_0x2ea4ad[_0x28f2e1(0x15a)]),_0x18f028=_0x2ea4ad[_0x28f2e1(0x157)][_0x28f2e1(0x138)](_0x28f2e1(0x134));return _0x50ed7d[_0x28f2e1(0x140)](_0x28f2e1(0x154))['to'](_0x18f028),_0x50ed7d['on'](_0x28f2e1(0x17a),()=>{const _0x54e473=_0x28f2e1;_0x18f028[_0x54e473(0x17a)](_0x16eb1a);}),_0x50ed7d;}[_0x3349a4(0x147)](_0x37821b){const _0x871b01=_0x3349a4,{locale:_0x5d0f6e}=this[_0x871b01(0x14d)],_0x41a766=this[_0x871b01(0x14d)][_0x871b01(0x143)][_0x871b01(0x138)](_0x871b01(0x156)),_0x448486=_0x37821b[0x0],_0x5a64fc=this[_0x871b01(0x132)](_0x114900,_0x448486[_0x871b01(0x141)]);return _0x5a64fc[_0x871b01(0x142)]=_0x448486[_0x871b01(0x142)],_0x5a64fc[_0x871b01(0x140)](_0x871b01(0x152))['to'](_0x41a766,_0x871b01(0x13b),_0x15117c=>_0x165f29(_0x5d0f6e,_0x448486[_0x871b01(0x141)],_0x15117c?_0x871b01(0x166):_0x871b01(0x13e))[_0x871b01(0x149)]),_0x5a64fc[_0x871b01(0x13c)]=!0x0,_0x5a64fc;}[_0x3349a4(0x136)](_0x361a92){const _0x1be4da=_0x3349a4,{locale:_0x3feb31}=this[_0x1be4da(0x14d)],_0x46f654=this[_0x1be4da(0x14d)][_0x1be4da(0x143)][_0x1be4da(0x138)](_0x1be4da(0x156));return _0x361a92[_0x1be4da(0x17e)](_0x1f4f89=>{const _0xc81d0e=_0x1be4da,_0x117499=this[_0xc81d0e(0x132)](_0x114900,_0x1f4f89[_0xc81d0e(0x141)]);return _0x117499[_0xc81d0e(0x131)]=!0x0,_0x117499[_0xc81d0e(0x142)]=_0x1f4f89[_0xc81d0e(0x142)],_0x117499[_0xc81d0e(0x140)](_0xc81d0e(0x152))['to'](_0x46f654,_0xc81d0e(0x13b),_0x2c7409=>_0x165f29(_0x3feb31,_0x1f4f89[_0xc81d0e(0x141)],_0x2c7409?_0xc81d0e(0x166):_0xc81d0e(0x13e))[_0xc81d0e(0x149)]),_0x117499;});}[_0x3349a4(0x16d)](_0x21b0e2){const _0x272370=_0x3349a4;return _0x21b0e2[_0x272370(0x17e)](_0x223ef4=>{const _0x1e1a7c=_0x272370,_0x14fc92=this[_0x1e1a7c(0x132)](_0x2c1870,_0x223ef4[_0x1e1a7c(0x141)]);return _0x14fc92[_0x1e1a7c(0x142)]=_0x223ef4[_0x1e1a7c(0x142)],_0x14fc92[_0x1e1a7c(0x152)]=_0x223ef4[_0x1e1a7c(0x179)],_0x14fc92;});}}
23
+ const _0xf2ae47=_0x5c1e;(function(_0x287708,_0x286389){const _0x24fc5b=_0x5c1e,_0x715f52=_0x287708();while(!![]){try{const _0x5d57da=parseInt(_0x24fc5b(0xeb))/0x1*(-parseInt(_0x24fc5b(0xd6))/0x2)+-parseInt(_0x24fc5b(0xe4))/0x3+parseInt(_0x24fc5b(0xde))/0x4+parseInt(_0x24fc5b(0xda))/0x5+-parseInt(_0x24fc5b(0xa5))/0x6*(-parseInt(_0x24fc5b(0xad))/0x7)+-parseInt(_0x24fc5b(0xca))/0x8*(parseInt(_0x24fc5b(0xcf))/0x9)+-parseInt(_0x24fc5b(0xc4))/0xa;if(_0x5d57da===_0x286389)break;else _0x715f52['push'](_0x715f52['shift']());}catch(_0x52ec12){_0x715f52['push'](_0x715f52['shift']());}}}(_0x181f,0xb3fa3));import{Plugin as _0x5bad85}from'ckeditor5/src/core.js';import{IconDropbox as _0x491613,IconFacebook as _0x377c84,IconGoogleDrive as _0x1c5ed6,IconGooglePhotos as _0x1cae65,IconUploadcareImageUpload as _0x1c592c,IconUploadcareLink as _0x237373,IconOneDrive as _0x4ba21d}from'ckeditor5/src/icons.js';import{ButtonView as _0x323f82,MenuBarMenuListItemButtonView as _0x29466c}from'ckeditor5/src/ui.js';function _0x181f(){const _0x2e4d85=['uploadcareLicenseKeyTrialLimit','featureNotAllowed','licenseKey','config','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyValid','afterInit','uploadcare','expired','uploadcare.uploader.sourceList','Facebook','trialLimit','withText','commands','bind','tooltip','map','upload','Local','label','752410TLBTxs','reduce','entries','assetManager','uploadcareLicenseKeyInvalid','_createToolbarButton','272koQCHB','pluginName','Dropbox','Insert','get','78183zeqOJx','GPhotos','execute','uploadcareLicenseKeyExpired','usageLimit','locale','isPremiumPlugin','94sSfDVT','forEach','_createMenuBarButtons','registerIntegration','5448375WVvqTz','isEnabled','UploadcareUI','_createDropdownButtons','1780948CfNDJj','init','url','plugins','GDrive','invalid','2888151zDFNAg','editor','ImageInsertUI','shortText','_createButton','_getIntegrationKey','isImageSelected','17839eBfwye','uploadcareLicenseKeyNotAllowed','evaluationLimit','OneDrive','Uploadcare','icon','domainLimit','isOfficialPlugin','_licenseKeyCheckInterval','uploadcareLicenseKeyUsageLimit','_normalizeConfigSourceList','18kYqJgS','Replace','text','push','uploadcareLicenseKeyDomainLimit','type','URL','destroy','3206056eYJTZl','_showLicenseError','has'];_0x181f=function(){return _0x2e4d85;};return _0x181f();}import{UploadcareSource as _0x2f1e80}from'./uploadcareconfig.js';import{getTranslation as _0x1db36e}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';function _0x5c1e(_0x195c71,_0x19d139){const _0x181fd7=_0x181f();return _0x5c1e=function(_0x5c1ed4,_0xd319f9){_0x5c1ed4=_0x5c1ed4-0x9d;let _0x352731=_0x181fd7[_0x5c1ed4];return _0x352731;},_0x5c1e(_0x195c71,_0x19d139);}export class UploadcareUI extends _0x5bad85{[_0xf2ae47(0xb2)];[_0xf2ae47(0xa2)];static get[_0xf2ae47(0xcb)](){const _0x4ed3d5=_0xf2ae47;return _0x4ed3d5(0xdc);}static get[_0xf2ae47(0xa1)](){return!0x0;}static get[_0xf2ae47(0xd5)](){return!0x0;}[_0xf2ae47(0xdf)](){const _0x102c51=_0xf2ae47;this[_0x102c51(0xb2)]=this[_0x102c51(0xe5)][_0x102c51(0xb3)][_0x102c51(0xce)](_0x102c51(0xb2));const _0x2c0308=this[_0x102c51(0xe5)];this[_0x102c51(0xa2)]=setInterval(()=>{const _0xf2609d=_0x102c51;let _0x194fd6;for(const _0x275fa7 in _0x2c0308){const _0x23660f=_0x275fa7,_0x5a6705=_0x2c0308[_0x23660f];if(_0xf2609d(0xb5)==_0x5a6705||_0xf2609d(0xc8)==_0x5a6705||_0xf2609d(0xd2)==_0x5a6705||_0xf2609d(0xa9)==_0x5a6705||_0xf2609d(0xec)==_0x5a6705||_0xf2609d(0xb4)==_0x5a6705||_0xf2609d(0xb0)==_0x5a6705||_0xf2609d(0xa3)==_0x5a6705){delete _0x2c0308[_0x23660f],_0x194fd6=_0x5a6705,clearInterval(this[_0xf2609d(0xa2)]),this[_0xf2609d(0xa2)]=void 0x0;break;}}_0xf2609d(0xc8)==_0x194fd6&&_0x2c0308[_0xf2609d(0xae)](_0xf2609d(0xe3)),_0xf2609d(0xd2)==_0x194fd6&&_0x2c0308[_0xf2609d(0xae)](_0xf2609d(0xb8)),_0xf2609d(0xa9)==_0x194fd6&&_0x2c0308[_0xf2609d(0xae)](_0xf2609d(0xa0)),_0xf2609d(0xec)==_0x194fd6&&_0x2c0308[_0xf2609d(0xae)](_0xf2609d(0xb1),_0xf2609d(0x9e)),_0xf2609d(0xb4)==_0x194fd6&&_0x2c0308[_0xf2609d(0xae)](_0xf2609d(0xed)),_0xf2609d(0xb0)==_0x194fd6&&_0x2c0308[_0xf2609d(0xae)](_0xf2609d(0xbb)),_0xf2609d(0xa3)==_0x194fd6&&_0x2c0308[_0xf2609d(0xae)](_0xf2609d(0xd3));},0x3e8);}[_0xf2ae47(0xb6)](){const _0x559afc=_0xf2ae47,{editor:_0x460eea}=this,_0x28f04f=_0x460eea[_0x559afc(0xbd)][_0x559afc(0xce)](_0x559afc(0xb7));if(!_0x28f04f)return;const _0x479da2=this[_0x559afc(0xa4)](_0x460eea[_0x559afc(0xb3)][_0x559afc(0xce)](_0x559afc(0xb9)))[_0x559afc(0xc5)]((_0x4d1e06,_0x2115a0)=>{const _0x3082e9=_0x559afc,_0x46399f=this[_0x3082e9(0xe9)](_0x2115a0[_0x3082e9(0xaa)]);return _0x4d1e06[_0x46399f]||(_0x4d1e06[_0x46399f]=[]),_0x4d1e06[_0x46399f][_0x3082e9(0xa8)](_0x2115a0),_0x4d1e06;},{});_0x460eea[_0x559afc(0xe1)][_0x559afc(0xaf)](_0x559afc(0xe6))&&_0x460eea[_0x559afc(0xbd)][_0x559afc(0xce)](_0x559afc(0xb7))&&Object[_0x559afc(0xc6)](_0x479da2)[_0x559afc(0xd7)](([_0x33428c,_0x454c67])=>{const _0x25189=_0x559afc;_0x460eea[_0x25189(0xe1)][_0x25189(0xce)](_0x25189(0xe6))[_0x25189(0xd9)]({'name':_0x33428c,'observable':()=>_0x28f04f,'buttonViewCreator':()=>this[_0x25189(0xc9)](_0x454c67),'formViewCreator':()=>this[_0x25189(0xdd)](_0x454c67),'menuBarButtonViewCreator':()=>this[_0x25189(0xd8)](_0x454c67),'override':_0x25189(0xc7)!==_0x33428c});});}[_0xf2ae47(0xac)](){const _0x2c0dc8=_0xf2ae47;super[_0x2c0dc8(0xac)](),this[_0x2c0dc8(0xa2)]&&clearInterval(this[_0x2c0dc8(0xa2)]);}[_0xf2ae47(0xa4)](_0x50c9f8){const _0x1cf2d0=_0xf2ae47,{locale:_0x335511}=this[_0x1cf2d0(0xe5)];return _0x50c9f8[_0x1cf2d0(0xc0)](_0xcf90d3=>{const _0xe00af2=_0x1cf2d0,_0x5ee09a=_0x1db36e(_0x335511,_0xcf90d3,_0xe00af2(0xcd));switch(_0xcf90d3){case _0x2f1e80[_0xe00af2(0xc2)]:return{'icon':_0x1c592c,'type':_0x2f1e80[_0xe00af2(0xc2)],..._0x5ee09a};case _0x2f1e80[_0xe00af2(0xab)]:return{'icon':_0x237373,'type':_0x2f1e80[_0xe00af2(0xab)],..._0x5ee09a};case _0x2f1e80[_0xe00af2(0xcc)]:return{'icon':_0x491613,'type':_0x2f1e80[_0xe00af2(0xcc)],..._0x5ee09a};case _0x2f1e80[_0xe00af2(0xba)]:return{'icon':_0x377c84,'type':_0x2f1e80[_0xe00af2(0xba)],..._0x5ee09a};case _0x2f1e80[_0xe00af2(0xe2)]:return{'icon':_0x1c5ed6,'type':_0x2f1e80[_0xe00af2(0xe2)],..._0x5ee09a};case _0x2f1e80[_0xe00af2(0xd0)]:return{'icon':_0x1cae65,'type':_0x2f1e80[_0xe00af2(0xd0)],..._0x5ee09a};case _0x2f1e80[_0xe00af2(0x9d)]:return{'icon':_0x4ba21d,'type':_0x2f1e80[_0xe00af2(0x9d)],..._0x5ee09a};}});}[_0xf2ae47(0xe9)](_0x179b79){const _0x179cdf=_0xf2ae47;switch(_0x179b79){case _0x2f1e80[_0x179cdf(0xc2)]:return _0x179cdf(0xc1);case _0x2f1e80[_0x179cdf(0xab)]:return _0x179cdf(0xe0);default:return _0x179cdf(0xc7);}}[_0xf2ae47(0xe8)](_0x1778a9,_0x538f1f){const _0x5d07b5=_0xf2ae47,_0x17f3f0=this[_0x5d07b5(0xe5)],_0x4c5de9=new _0x1778a9(_0x17f3f0[_0x5d07b5(0xd4)]),_0x58324e=_0x17f3f0[_0x5d07b5(0xbd)][_0x5d07b5(0xce)](_0x5d07b5(0xb7));return _0x4c5de9[_0x5d07b5(0xbe)](_0x5d07b5(0xdb))['to'](_0x58324e),_0x4c5de9['on'](_0x5d07b5(0xd1),()=>{const _0x48982a=_0x5d07b5;_0x58324e[_0x48982a(0xd1)](_0x538f1f);}),_0x4c5de9;}[_0xf2ae47(0xc9)](_0x177c1b){const _0x1c274b=_0xf2ae47,{locale:_0x1c1da2}=this[_0x1c274b(0xe5)],_0xf64290=this[_0x1c274b(0xe5)][_0x1c274b(0xe1)][_0x1c274b(0xce)](_0x1c274b(0xe6)),_0x29717a=_0x177c1b[0x0],_0x2ff227=this[_0x1c274b(0xe8)](_0x323f82,_0x29717a[_0x1c274b(0xaa)]);return _0x2ff227[_0x1c274b(0x9f)]=_0x29717a[_0x1c274b(0x9f)],_0x2ff227[_0x1c274b(0xbe)](_0x1c274b(0xc3))['to'](_0xf64290,_0x1c274b(0xea),_0x1ca56e=>_0x1db36e(_0x1c1da2,_0x29717a[_0x1c274b(0xaa)],_0x1ca56e?_0x1c274b(0xa6):_0x1c274b(0xcd))[_0x1c274b(0xa7)]),_0x2ff227[_0x1c274b(0xbf)]=!0x0,_0x2ff227;}[_0xf2ae47(0xdd)](_0x56077b){const _0x43e571=_0xf2ae47,{locale:_0x29176f}=this[_0x43e571(0xe5)],_0x285ac0=this[_0x43e571(0xe5)][_0x43e571(0xe1)][_0x43e571(0xce)](_0x43e571(0xe6));return _0x56077b[_0x43e571(0xc0)](_0x4367ef=>{const _0x14a044=_0x43e571,_0x13ccf0=this[_0x14a044(0xe8)](_0x323f82,_0x4367ef[_0x14a044(0xaa)]);return _0x13ccf0[_0x14a044(0xbc)]=!0x0,_0x13ccf0[_0x14a044(0x9f)]=_0x4367ef[_0x14a044(0x9f)],_0x13ccf0[_0x14a044(0xbe)](_0x14a044(0xc3))['to'](_0x285ac0,_0x14a044(0xea),_0x167ff0=>_0x1db36e(_0x29176f,_0x4367ef[_0x14a044(0xaa)],_0x167ff0?_0x14a044(0xa6):_0x14a044(0xcd))[_0x14a044(0xa7)]),_0x13ccf0;});}[_0xf2ae47(0xd8)](_0x574982){const _0x3304fa=_0xf2ae47;return _0x574982[_0x3304fa(0xc0)](_0x42133f=>{const _0x39e5f4=_0x3304fa,_0x344630=this[_0x39e5f4(0xe8)](_0x29466c,_0x42133f[_0x39e5f4(0xaa)]);return _0x344630[_0x39e5f4(0x9f)]=_0x42133f[_0x39e5f4(0x9f)],_0x344630[_0x39e5f4(0xc3)]=_0x42133f[_0x39e5f4(0xe7)],_0x344630;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5b634d}from'ckeditor5/src/core.js';import{FileRepository as _0x351601}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x54b2c1}from'./uploadcareediting.js';import{UploadUtils as _0x2650b9}from'./utils/uploadutils.js';import{getImageUrls as _0x1033fe}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x5b634d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x351601,_0x54b2c1];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x49bfa0=this['editor'];if(!!!_0x49bfa0['config']['get']('uploadcare'))return;_0x49bfa0['plugins']['get'](_0x351601)['createUploadAdapter']=_0x6c59a5=>new A(_0x6c59a5,_0x49bfa0),_0x49bfa0['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x35a8be,{imageElement:_0x26b34c,data:_0x42637a})=>{_0x49bfa0['model']['change'](_0x551a78=>{_0x551a78['setAttribute']('uploadcareImageId',_0x42637a['uploadcareImageId'],_0x26b34c);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x21e775,_0x31055c){this['loader']=_0x21e775,this['editor']=_0x31055c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3a2f9b=this['editor']['config']['get']('uploadcare.pubkey'),_0x403102=await this['loader']['file'];return _0x2650b9['upload']({'file':_0x403102,'publicKey':_0x3a2f9b,'signal':this['controller']['signal'],'onProgress':_0x36cac0=>{_0x36cac0&&_0x36cac0['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x36cac0['value']);}})['then'](async _0x302a8d=>{const {imageFallbackUrl:_0x52e6db,imageSources:_0x370c4b}=_0x1033fe(_0x302a8d['cdnUrl'],_0x302a8d['imageInfo']['width']);return{'uploadcareImageId':_0x302a8d['uuid'],'default':_0x52e6db,'sources':_0x370c4b};})['catch'](()=>{const _0x28e270=t('Cannot\x20upload\x20file:')+('\x20'+_0x403102['name']+'.');return Promise['reject'](_0x28e270);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x2b151c}from'ckeditor5/src/core.js';import{FileRepository as _0x5662d0}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x594b7f}from'./uploadcareediting.js';import{UploadUtils as _0x51f60d}from'./utils/uploadutils.js';import{getImageUrls as _0x40e066}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x2b151c{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x5662d0,_0x594b7f];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x1b59e2=this['editor'];if(!!!_0x1b59e2['config']['get']('uploadcare'))return;_0x1b59e2['plugins']['get'](_0x5662d0)['createUploadAdapter']=_0x35194f=>new A(_0x35194f,_0x1b59e2),_0x1b59e2['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x25ea70,{imageElement:_0xe2fbc8,data:_0x2b99f8})=>{_0x1b59e2['model']['change'](_0xa76fa6=>{_0xa76fa6['setAttribute']('uploadcareImageId',_0x2b99f8['uploadcareImageId'],_0xe2fbc8);});});}}class A{['loader'];['editor'];['controller'];constructor(_0x1fa70d,_0x103d76){this['loader']=_0x1fa70d,this['editor']=_0x103d76,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5ee5a3=this['editor']['config']['get']('uploadcare.pubkey'),_0x2bee43=await this['loader']['file'];return _0x51f60d['upload']({'file':_0x2bee43,'publicKey':_0x5ee5a3,'signal':this['controller']['signal'],'onProgress':_0x54c62a=>{_0x54c62a&&_0x54c62a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x54c62a['value']);}})['then'](async _0x50333b=>{const {imageFallbackUrl:_0x1233cf,imageSources:_0x56288f}=_0x40e066(_0x50333b['cdnUrl'],_0x50333b['imageInfo']['width']);return{'uploadcareImageId':_0x50333b['uuid'],'default':_0x1233cf,'sources':_0x56288f};})['catch'](()=>{const _0x11311a=t('Cannot\x20upload\x20file:')+('\x20'+_0x2bee43['name']+'.');return Promise['reject'](_0x11311a);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x14705e}from'../uploadcareconfig.js';export function getTranslation(_0x36cee0,_0x487788,_0x3dae87){const t=_0x36cee0['t'],_0x263340=_0x36cee0['t'];switch(_0x487788){case _0x14705e['Local']:return{'text':_0x263340('Insert'===_0x3dae87?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x263340('From\x20computer')};case _0x14705e['URL']:return{'text':'Insert'===_0x3dae87?_0x263340('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x263340('Via\x20URL')};case _0x14705e['Dropbox']:return{'text':t('Insert'===_0x3dae87?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x14705e['Facebook']:return{'text':t('Insert'===_0x3dae87?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x14705e['GDrive']:return{'text':t('Insert'===_0x3dae87?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x14705e['GPhotos']:return{'text':t('Insert'===_0x3dae87?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x14705e['OneDrive']:return{'text':t('Insert'===_0x3dae87?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x487788;}}
23
+ import{UploadcareSource as _0x55dc47}from'../uploadcareconfig.js';export function getTranslation(_0x3149ff,_0x1c0391,_0x2d8463){const t=_0x3149ff['t'],_0x4ed183=_0x3149ff['t'];switch(_0x1c0391){case _0x55dc47['Local']:return{'text':_0x4ed183('Insert'===_0x2d8463?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4ed183('From\x20computer')};case _0x55dc47['URL']:return{'text':'Insert'===_0x2d8463?_0x4ed183('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4ed183('Via\x20URL')};case _0x55dc47['Dropbox']:return{'text':t('Insert'===_0x2d8463?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x55dc47['Facebook']:return{'text':t('Insert'===_0x2d8463?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x55dc47['GDrive']:return{'text':t('Insert'===_0x2d8463?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x55dc47['GPhotos']:return{'text':t('Insert'===_0x2d8463?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x55dc47['OneDrive']:return{'text':t('Insert'===_0x2d8463?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x1c0391;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x541836=_0x1498;(function(_0x546d22,_0x1ded0f){var _0xcd6c12=_0x1498,_0x4f42d5=_0x546d22();while(!![]){try{var _0x551cd3=parseInt(_0xcd6c12(0x100))/0x1*(parseInt(_0xcd6c12(0xff))/0x2)+parseInt(_0xcd6c12(0xfe))/0x3+-parseInt(_0xcd6c12(0x106))/0x4+parseInt(_0xcd6c12(0xf9))/0x5*(-parseInt(_0xcd6c12(0xf8))/0x6)+parseInt(_0xcd6c12(0x104))/0x7*(parseInt(_0xcd6c12(0x103))/0x8)+-parseInt(_0xcd6c12(0xf7))/0x9+-parseInt(_0xcd6c12(0xfa))/0xa*(-parseInt(_0xcd6c12(0xfd))/0xb);if(_0x551cd3===_0x1ded0f)break;else _0x4f42d5['push'](_0x4f42d5['shift']());}catch(_0x381d35){_0x4f42d5['push'](_0x4f42d5['shift']());}}}(_0x2fce,0x5132c));import{FocusTracker as _0x203026}from'ckeditor5/src/utils.js';import{View as _0x2e723e,FocusCycler as _0x3491fb}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';function _0x1498(_0x74110d,_0x2a5d97){var _0x2fce8a=_0x2fce();return _0x1498=function(_0x1498c2,_0xc0ed87){_0x1498c2=_0x1498c2-0xf5;var _0x55786e=_0x2fce8a[_0x1498c2];return _0x55786e;},_0x1498(_0x74110d,_0x2a5d97);}function _0x2fce(){var _0x543ac7=['div','focusTracker','1007064xcJBiy','6gjlPtZ','2168160yOZGzx','370Dmlhsn','true','bindTemplate','158719MGElbe','558267WlxbKb','2SRpEMJ','334706qQrcpO','createCollection','fire','66872xHXUoM','371sAEuqI','forwardCycle','2478316KLIaeV','getFocusableElement','focusCycler'];_0x2fce=function(){return _0x543ac7;};return _0x2fce();}export class DialogFocusManagerView extends _0x2e723e{[_0x541836(0xf6)];[_0x541836(0x108)];constructor(_0x46bb99){var _0x16ec66=_0x541836;super(_0x46bb99),this[_0x16ec66(0xf6)]=new _0x203026(),this[_0x16ec66(0x108)]=new _0x3491fb({'focusables':this[_0x16ec66(0x101)](),'focusTracker':this[_0x16ec66(0xf6)]});}[_0x541836(0x107)](){var _0xc22557=_0x541836;return{'tag':_0xc22557(0xf5),'attributes':{'aria-hidden':_0xc22557(0xfb),'tabindex':'0'},'on':{'focus':this[_0xc22557(0xfc)]['to'](()=>{var _0x502289=_0xc22557;this[_0x502289(0x108)][_0x502289(0x102)](_0x502289(0x105));})}};}}
23
+ var _0x1725a3=_0x1d80;function _0x2f6e(){var _0xf78b4a=['10GgeNca','focusCycler','10oPDzYC','fire','div','339400IkkbdS','15069aCppBZ','10924122eyGZRx','428csrpCn','focusTracker','36020KnXnpw','forwardCycle','bindTemplate','5632173WfrHMq','610968KDWocZ','createCollection','71ODBNES','getFocusableElement','true','6551258cQhTzt'];_0x2f6e=function(){return _0xf78b4a;};return _0x2f6e();}(function(_0x58236a,_0x36cad9){var _0x1973fc=_0x1d80,_0x585bc1=_0x58236a();while(!![]){try{var _0x5b2f09=-parseInt(_0x1973fc(0x112))/0x1*(parseInt(_0x1973fc(0x10c))/0x2)+parseInt(_0x1973fc(0x108))/0x3*(-parseInt(_0x1973fc(0x10a))/0x4)+parseInt(_0x1973fc(0x118))/0x5*(parseInt(_0x1973fc(0x110))/0x6)+parseInt(_0x1973fc(0x115))/0x7+parseInt(_0x1973fc(0x107))/0x8+-parseInt(_0x1973fc(0x10f))/0x9*(-parseInt(_0x1973fc(0x116))/0xa)+parseInt(_0x1973fc(0x109))/0xb;if(_0x5b2f09===_0x36cad9)break;else _0x585bc1['push'](_0x585bc1['shift']());}catch(_0x57fdde){_0x585bc1['push'](_0x585bc1['shift']());}}}(_0x2f6e,0xf067f));import{FocusTracker as _0x401b8b}from'ckeditor5/src/utils.js';import{View as _0x1a0f2a,FocusCycler as _0x1f22c1}from'ckeditor5/src/ui.js';function _0x1d80(_0x35ee05,_0x55603d){var _0x2f6eb4=_0x2f6e();return _0x1d80=function(_0x1d80a7,_0x3cc014){_0x1d80a7=_0x1d80a7-0x106;var _0x55d4b8=_0x2f6eb4[_0x1d80a7];return _0x55d4b8;},_0x1d80(_0x35ee05,_0x55603d);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1a0f2a{[_0x1725a3(0x10b)];[_0x1725a3(0x117)];constructor(_0x3abd68){var _0x2f5786=_0x1725a3;super(_0x3abd68),this[_0x2f5786(0x10b)]=new _0x401b8b(),this[_0x2f5786(0x117)]=new _0x1f22c1({'focusables':this[_0x2f5786(0x111)](),'focusTracker':this[_0x2f5786(0x10b)]});}[_0x1725a3(0x113)](){var _0x19f97c=_0x1725a3;return{'tag':_0x19f97c(0x106),'attributes':{'aria-hidden':_0x19f97c(0x114),'tabindex':'0'},'on':{'focus':this[_0x19f97c(0x10e)]['to'](()=>{var _0x528db0=_0x19f97c;this[_0x528db0(0x117)][_0x528db0(0x119)](_0x528db0(0x10d));})}};}}