@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251006.0 → 0.0.0-nightly-20251007.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5260e0=_0x30f2;(function(_0x67d127,_0x404707){const _0x44d2b6=_0x30f2,_0x3c1c66=_0x67d127();while(!![]){try{const _0x4527f2=parseInt(_0x44d2b6(0x214))/0x1+parseInt(_0x44d2b6(0x20c))/0x2+-parseInt(_0x44d2b6(0x222))/0x3*(parseInt(_0x44d2b6(0x1f7))/0x4)+-parseInt(_0x44d2b6(0x206))/0x5+parseInt(_0x44d2b6(0x1f2))/0x6*(-parseInt(_0x44d2b6(0x203))/0x7)+-parseInt(_0x44d2b6(0x1ef))/0x8+parseInt(_0x44d2b6(0x219))/0x9;if(_0x4527f2===_0x404707)break;else _0x3c1c66['push'](_0x3c1c66['shift']());}catch(_0xb64d96){_0x3c1c66['push'](_0x3c1c66['shift']());}}}(_0x5556,0xbf44e));import{Plugin as _0x31445b}from'ckeditor5/src/core.js';import{Dialog as _0x21c8b8}from'ckeditor5/src/ui.js';import{createElement as _0x30ae0d,global as _0x55dae6,uid as _0x193c6c}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x1df44d}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x3b4bf5}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x363b13}from'./utils/editingutils.js';function _0x5556(){const _0x4682e4=['ucContextId','upcast','_initConversion','schema','2042710ylXUCm','downcast','#uc-icon-arrow-down','configElement','conversion','removeAttribute','getAttribute','selection','1348594DuDSMH','join','uploadcare.uploader','ctxElement','render','25837128uokXJC','editor','_initSchema','extend','input[uploadcare-file-input]','once','querySelector','get','commands','330588SauBGj','UploadcareEditing','uploader-','attributeToAttribute','listenTo','isOfficialPlugin','insertImage','getSelectedElement','isPremiumPlugin','imageInline','imageBlock','pluginName','add','uc-config','href','_configElement','uc-upload-ctx-provider','for','uploadcare','uploadcare.pubkey','afterInit','appendChild','elementToAttribute','map','init','isRegistered','closeMax','destroy','_initImageProcessingIndicator','requires','_initCtx','uploadcareImageId','data-uc-image-id','9958272iXHzrC','\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','execute','16812kaiJtZ','_ctxElement','true','document','view','52niSkIV','_initConfig','iconHrefResolver','locale','cleanupImage','replaceImageSource','PictureEditing','remove','contentLanguage','uploadcareImageReplace','fromCharCode','config','3101owoLDX','body','editing','2693425MXwpXS','model'];_0x5556=function(){return _0x4682e4;};return _0x5556();}function _0x30f2(_0x5dd73f,_0x2bbcdd){const _0x5556b4=_0x5556();return _0x30f2=function(_0x30f2c2,_0x13f026){_0x30f2c2=_0x30f2c2-0x1eb;let _0x200dc7=_0x5556b4[_0x30f2c2];return _0x200dc7;},_0x30f2(_0x5dd73f,_0x2bbcdd);}export class UploadcareEditing extends _0x31445b{[_0x5260e0(0x231)]=null;[_0x5260e0(0x1f3)]=null;static get[_0x5260e0(0x22d)](){const _0x2f08cf=_0x5260e0;return _0x2f08cf(0x223);}static get[_0x5260e0(0x1eb)](){const _0x29eb91=_0x5260e0;return[_0x29eb91(0x1fd),_0x3b4bf5,_0x21c8b8];}static get[_0x5260e0(0x227)](){return!0x0;}static get[_0x5260e0(0x22a)](){return!0x0;}[_0x5260e0(0x208)];get[_0x5260e0(0x20f)](){const _0x4f6d0d=_0x5260e0;return this[_0x4f6d0d(0x231)];}get[_0x5260e0(0x217)](){const _0x37b29b=_0x5260e0;return this[_0x37b29b(0x1f3)];}constructor(_0xb710aa){const _0x322560=_0x5260e0;super(_0xb710aa),this[_0x322560(0x208)]=_0x193c6c();}[_0x5260e0(0x23a)](){const _0x2a301b=_0x5260e0,_0x5e7cbf=this[_0x2a301b(0x21a)];_0x5e7cbf[_0x2a301b(0x221)][_0x2a301b(0x22e)](_0x2a301b(0x234),new _0x1df44d(_0x5e7cbf));}[_0x5260e0(0x236)](){const _0x26fcdb=_0x5260e0;this[_0x26fcdb(0x21b)](),this[_0x26fcdb(0x20a)](),this[_0x26fcdb(0x1f8)](),this[_0x26fcdb(0x1ec)](),this[_0x26fcdb(0x23e)](),this[_0x26fcdb(0x226)](this[_0x26fcdb(0x21a)],_0x26fcdb(0x23d),()=>{const _0x1daf85=_0x26fcdb;this[_0x1daf85(0x231)]&&(this[_0x1daf85(0x231)][_0x1daf85(0x1fe)](),this[_0x1daf85(0x231)]=null),this[_0x1daf85(0x1f3)]&&(this[_0x1daf85(0x1f3)][_0x1daf85(0x1fe)](),this[_0x1daf85(0x1f3)]=null);const _0x4d9f42=_0x55dae6[_0x1daf85(0x1f5)][_0x1daf85(0x21f)](_0x1daf85(0x21d));_0x4d9f42&&_0x4d9f42[_0x1daf85(0x1fe)]();}),async function(_0x1fa0e6){const _0x2d7b4a=_0x359bdf([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x1d5d0c=0x3d8d0df,_0x1b57c8=0x3dfa5b7^_0x1d5d0c,_0x390ee0=window[_0x359bdf([0x44,0x61,0x74,0x65])][_0x359bdf([0x6e,0x6f,0x77])](),_0x3974c3=_0x1fa0e6[_0x359bdf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a48ad=new window[(_0x359bdf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x404612=>{_0x3974c3[_0x359bdf([0x6f,0x6e,0x63,0x65])](_0x359bdf([0x72,0x65,0x61,0x64,0x79]),_0x404612);}),_0x271dde={[_0x359bdf([0x6b,0x74,0x79])]:_0x359bdf([0x45,0x43]),[_0x359bdf([0x75,0x73,0x65])]:_0x359bdf([0x73,0x69,0x67]),[_0x359bdf([0x63,0x72,0x76])]:_0x359bdf([0x50,0x2d,0x32,0x35,0x36]),[_0x359bdf([0x78])]:_0x359bdf([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]),[_0x359bdf([0x79])]:_0x359bdf([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]),[_0x359bdf([0x61,0x6c,0x67])]:_0x359bdf([0x45,0x53,0x32,0x35,0x36])},_0x246d78=_0x3974c3[_0x359bdf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x359bdf([0x67,0x65,0x74])](_0x359bdf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x22a101(){let _0x4daf1f,_0x4ebe83=null,_0x18937b=null;try{if(_0x246d78==_0x359bdf([0x47,0x50,0x4c]))return _0x359bdf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4daf1f=_0x46df6(),!_0x4daf1f)return _0x359bdf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4daf1f[_0x359bdf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x18937b=_0x1b7987(_0x4daf1f[_0x359bdf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4daf1f[_0x359bdf([0x6a,0x74,0x69])])),await _0x3a6599()?_0x544165()?_0x3b8874()?_0x359bdf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x26cf64()?(_0x4daf1f[_0x359bdf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x359bdf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4ebe83=_0x53794f(_0x359bdf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4daf1f[_0x359bdf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x359bdf([0x74,0x72,0x69,0x61,0x6c])&&(_0x4ebe83=_0x53794f(_0x359bdf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1bc0e3()):_0x359bdf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x359bdf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x359bdf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x359bdf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3b8874(){const _0x362422=[_0x359bdf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x359bdf([0x74,0x72,0x69,0x61,0x6c])][_0x359bdf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4daf1f[_0x359bdf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x390ee0/0x3e8:0xe10*_0x1b57c8;return _0x4daf1f[_0x359bdf([0x65,0x78,0x70])]<_0x362422;}function _0x544165(){const _0x39336f=_0x4daf1f[_0x359bdf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x39336f&&(!!_0x39336f[_0x359bdf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x359bdf([0x2a]))||!!_0x39336f[_0x359bdf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x359bdf([0x55,0x50,0x4c,0x43])));}function _0x26cf64(){const _0x5a6128=_0x30f2,_0x282817=_0x4daf1f[_0x359bdf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x282817||0x0==_0x282817[_0x359bdf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3830f4}=new URL(window[_0x359bdf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5a6128(0x230)]);if(_0x282817[_0x359bdf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3830f4))return!0x0;const _0x233385=_0x3830f4[_0x359bdf([0x73,0x70,0x6c,0x69,0x74])](_0x359bdf([0x2e]));return _0x282817[_0x359bdf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24fa19=>_0x24fa19[_0x359bdf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x359bdf([0x2a])))[_0x359bdf([0x6d,0x61,0x70])](_0x301722=>_0x301722[_0x359bdf([0x73,0x70,0x6c,0x69,0x74])](_0x359bdf([0x2e])))[_0x359bdf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x539dc6=>_0x539dc6[_0x359bdf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x233385[_0x359bdf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x359bdf([0x6d,0x61,0x70])](_0x40a081=>Array(_0x233385[_0x359bdf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x40a081[_0x359bdf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x359bdf([0x66,0x69,0x6c,0x6c])](_0x40a081[0x0]===_0x359bdf([0x2a])?_0x359bdf([0x2a]):'')[_0x359bdf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x40a081))[_0x359bdf([0x73,0x6f,0x6d,0x65])](_0xc46ddc=>_0x233385[_0x359bdf([0x65,0x76,0x65,0x72,0x79])]((_0x3a491d,_0x13ebba)=>_0xc46ddc[_0x13ebba]===_0x3a491d||_0xc46ddc[_0x13ebba]===_0x359bdf([0x2a])));}function _0x1bc0e3(){return _0x4ebe83&&_0x18937b?new window[(_0x359bdf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x566f36,_0x195b8b)=>{_0x4ebe83[_0x359bdf([0x74,0x68,0x65,0x6e])](_0x566f36,_0x195b8b),_0x18937b[_0x359bdf([0x74,0x68,0x65,0x6e])](_0x2269a8=>{_0x2269a8!=_0x359bdf([0x56,0x61,0x6c,0x69,0x64])&&_0x566f36(_0x2269a8);},_0x195b8b);}):_0x4ebe83||_0x18937b||_0x359bdf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1b7987(_0x594238,_0x475c7e){return new window[(_0x359bdf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c4be8=>{if(_0x21c111())return _0x1c4be8(_0x359bdf([0x56,0x61,0x6c,0x69,0x64]));_0x44342e(),_0x3974c3[_0x359bdf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x359bdf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4372a8=!0x1;const _0x4b8981=_0x193c6c();function _0x53909a(_0x4ea3c2){return!!_0x4ea3c2&&(typeof _0x4ea3c2===_0x359bdf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4ea3c2===_0x359bdf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4ea3c2[_0x359bdf([0x74,0x68,0x65,0x6e])]===_0x359bdf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4ea3c2[_0x359bdf([0x63,0x61,0x74,0x63,0x68])]===_0x359bdf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x430452(_0x2a0ed9){_0x3e6131(_0x2a0ed9)[_0x359bdf([0x74,0x68,0x65,0x6e])](_0x4d18e5=>{if(!_0x4d18e5||_0x4d18e5[_0x359bdf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x359bdf([0x6f,0x6b]))return _0x359bdf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a9b02(_0x58cb8b(_0x4b8981+_0x475c7e))!=_0x4d18e5[_0x359bdf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x359bdf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x359bdf([0x56,0x61,0x6c,0x69,0x64]);})[_0x359bdf([0x74,0x68,0x65,0x6e])](_0xe46351=>(_0x47c15a(),_0xe46351),()=>{const _0x1a9467=_0x23658d();return null==_0x1a9467?(_0x47c15a(),_0x359bdf([0x56,0x61,0x6c,0x69,0x64])):_0x359bdf(_0x390ee0-_0x1a9467>(0x27d454df^_0x1d5d0c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x359bdf([0x74,0x68,0x65,0x6e])](_0x1c4be8)[_0x359bdf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1c4be8(_0x359bdf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e1edc=0x3ee3e5f^_0x1d5d0c;function _0x47c15a(){const _0x335354=_0x359bdf([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a9b02(_0x58cb8b(_0x594238)),_0x315dd1=_0x193fa4(_0x4a9b02(window[_0x359bdf([0x4d,0x61,0x74,0x68])][_0x359bdf([0x63,0x65,0x69,0x6c])](_0x390ee0/_0x3e1edc)));window[_0x359bdf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x359bdf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x335354,_0x315dd1);}function _0x23658d(){const _0x242d46=_0x359bdf([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a9b02(_0x58cb8b(_0x594238)),_0x4fecd5=window[_0x359bdf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x359bdf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x242d46);return _0x4fecd5?window[_0x359bdf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x193fa4(_0x4fecd5),0x10)*_0x3e1edc:null;}function _0x3e6131(_0x188d4a){return new window[(_0x359bdf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x44577d,_0x3a1d55)=>{_0x188d4a[_0x359bdf([0x74,0x68,0x65,0x6e])](_0x44577d,_0x3a1d55),window[_0x359bdf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3a1d55,0x3d9041f^_0x1d5d0c);});}}_0x3974c3[_0x359bdf([0x6f,0x6e])](_0x359bdf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5b9fa2,_0x4a96c9)=>{if(_0x4a96c9[0x0]!=_0x594238)return _0x1c4be8(_0x359bdf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4a96c9[0x1]={..._0x4a96c9[0x1],[_0x359bdf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4b8981};},{[_0x359bdf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x359bdf([0x68,0x69,0x67,0x68])}),_0x3974c3[_0x359bdf([0x6f,0x6e])](_0x359bdf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5d9fff=>{_0x53909a(_0x5d9fff[_0x359bdf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4372a8=!0x0,_0x430452(_0x5d9fff[_0x359bdf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x359bdf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x359bdf([0x6c,0x6f,0x77])}),_0x3a48ad[_0x359bdf([0x74,0x68,0x65,0x6e])](()=>{_0x4372a8||_0x1c4be8(_0x359bdf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x21c111(){return _0x3974c3[_0x359bdf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x359bdf([0x76,0x69,0x65,0x77])][_0x359bdf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x359bdf([0x61,0x75,0x74,0x6f]);}function _0x44342e(){_0x3974c3[_0x359bdf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x359bdf([0x76,0x69,0x65,0x77])][_0x359bdf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x359bdf([0x61,0x75,0x74,0x6f]);}}function _0x53794f(_0x21781a){const _0x317c00=[new window[(_0x359bdf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dabfa=>setTimeout(_0x5dabfa,0x3d1ee13^_0x1d5d0c)),_0x3a48ad[_0x359bdf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x359bdf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x281f99=>{let _0x771c71=0x0;_0x3974c3[_0x359bdf([0x6d,0x6f,0x64,0x65,0x6c])][_0x359bdf([0x6f,0x6e])](_0x359bdf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x55b896,_0x1edd37)=>{_0x1edd37[0x0][_0x359bdf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x771c71++,_0x771c71==(0x3d8d127^_0x1d5d0c)&&(_0x281f99(),_0x55b896[_0x359bdf([0x6f,0x66,0x66])]());});}))];return window[_0x359bdf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x359bdf([0x72,0x61,0x63,0x65])](_0x317c00)[_0x359bdf([0x74,0x68,0x65,0x6e])](()=>_0x21781a);}async function _0x10ee5c(){await _0x3a48ad,_0x3974c3[_0x359bdf([0x6d,0x6f,0x64,0x65,0x6c])][_0x359bdf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x58e3cf,_0x3974c3[_0x359bdf([0x6d,0x6f,0x64,0x65,0x6c])][_0x359bdf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x58e3cf,_0x3974c3[_0x359bdf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x359bdf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8cfd82(_0x4ac218){const _0x49b7ab=_0x4340ce();_0x3974c3[_0x49b7ab]=_0x359bdf([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4ac218,_0x4ac218!=_0x359bdf([0x56,0x61,0x6c,0x69,0x64])&&_0x10ee5c();}function _0x4340ce(){const _0x58d706=window[_0x359bdf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x359bdf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x359bdf([0x6e,0x6f,0x77])]())[_0x359bdf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x359bdf([0x2e]),'');let _0x52f06b=_0x359bdf([0x52]);for(let _0x4eaa4b=0x0;_0x4eaa4b<_0x58d706[_0x359bdf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4eaa4b+=0x2){let _0x2336c1=window[_0x359bdf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58d706[_0x359bdf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4eaa4b,_0x4eaa4b+0x2));_0x2336c1>=_0x2d7b4a[_0x359bdf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2336c1-=_0x2d7b4a[_0x359bdf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x52f06b+=_0x2d7b4a[_0x2336c1];}return _0x52f06b;}function _0x46df6(){const _0x5c7a1d=_0x246d78[_0x359bdf([0x73,0x70,0x6c,0x69,0x74])](_0x359bdf([0x2e]));if(0x3!=_0x5c7a1d[_0x359bdf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ec4b3(_0x5c7a1d[0x1]);function _0x2ec4b3(_0x13836a){const _0xd75d47=_0x2d0d84(_0x13836a);return _0xd75d47&&_0x78749c()?_0xd75d47:null;function _0x78749c(){const _0x15fe4d=_0xd75d47[_0x359bdf([0x6a,0x74,0x69])],_0x5a787e=window[_0x359bdf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15fe4d[_0x359bdf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15fe4d[_0x359bdf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x24a75c={..._0xd75d47,[_0x359bdf([0x6a,0x74,0x69])]:_0x15fe4d[_0x359bdf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15fe4d[_0x359bdf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x24a75c[_0x359bdf([0x76,0x63])],_0x58cb8b(_0x24a75c)==_0x5a787e;}}}async function _0x3a6599(){let _0x104730=!0x0;try{const _0x587905=_0x246d78[_0x359bdf([0x73,0x70,0x6c,0x69,0x74])](_0x359bdf([0x2e])),[_0x438fe4,_0x297d08,_0x162c8b]=_0x587905;return _0x49fb42(_0x438fe4),await _0x10d192(_0x438fe4,_0x297d08,_0x162c8b),_0x104730;}catch{return!0x1;}function _0x49fb42(_0x1bcded){const _0x493499=_0x2d0d84(_0x1bcded);_0x493499&&_0x493499[_0x359bdf([0x61,0x6c,0x67])]==_0x359bdf([0x45,0x53,0x32,0x35,0x36])||(_0x104730=!0x1);}async function _0x10d192(_0x323edc,_0x3a2faa,_0x41814b){const _0x7d1f1=window[_0x359bdf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x359bdf([0x66,0x72,0x6f,0x6d])](_0x3a9f43(_0x41814b),_0x4fe382=>_0x4fe382[_0x359bdf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7c73a6=new window[(_0x359bdf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x359bdf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x323edc+_0x359bdf([0x2e])+_0x3a2faa),_0x1bc524=window[_0x359bdf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x359bdf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1bc524)return;const _0x22ecf4=await _0x1bc524[_0x359bdf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x359bdf([0x6a,0x77,0x6b]),_0x271dde,{[_0x359bdf([0x6e,0x61,0x6d,0x65])]:_0x359bdf([0x45,0x43,0x44,0x53,0x41]),[_0x359bdf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x359bdf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x359bdf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1bc524[_0x359bdf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x359bdf([0x6e,0x61,0x6d,0x65])]:_0x359bdf([0x45,0x43,0x44,0x53,0x41]),[_0x359bdf([0x68,0x61,0x73,0x68])]:{[_0x359bdf([0x6e,0x61,0x6d,0x65])]:_0x359bdf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x22ecf4,_0x7d1f1,_0x7c73a6)||(_0x104730=!0x1);}}function _0x2d0d84(_0x4b5130){return _0x4b5130[_0x359bdf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x359bdf([0x65,0x79]))?JSON[_0x359bdf([0x70,0x61,0x72,0x73,0x65])](_0x3a9f43(_0x4b5130)):null;}function _0x3a9f43(_0x233b89){return window[_0x359bdf([0x61,0x74,0x6f,0x62])](_0x233b89[_0x359bdf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x359bdf([0x2b]))[_0x359bdf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x359bdf([0x2f])));}function _0x58cb8b(_0x2ceadf){let _0x274479=0x1505;function _0x2eebaa(_0xfdb918){for(let _0x4b0a3e=0x0;_0x4b0a3e<_0xfdb918[_0x359bdf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b0a3e++){const _0x59405a=_0xfdb918[_0x359bdf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4b0a3e);_0x274479=(_0x274479<<0x5)+_0x274479+_0x59405a,_0x274479&=_0x274479;}}function _0x385e46(_0x483e61){Array[_0x359bdf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x483e61)?_0x483e61[_0x359bdf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x385e46):_0x483e61&&typeof _0x483e61==_0x359bdf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x359bdf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x483e61)[_0x359bdf([0x73,0x6f,0x72,0x74])]()[_0x359bdf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x362f1d,_0xe288c9])=>{_0x2eebaa(_0x362f1d),_0x385e46(_0xe288c9);}):_0x2eebaa(window[_0x359bdf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x483e61));}return _0x385e46(_0x2ceadf),_0x274479>>>0x0;}function _0x4a9b02(_0x5a29b7){return _0x5a29b7[_0x359bdf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x359bdf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x359bdf([0x30]));}function _0x193fa4(_0x484bff){return _0x484bff[_0x359bdf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x359bdf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x359bdf([0x6a,0x6f,0x69,0x6e])]('');}function _0x58e3cf(){}function _0x359bdf(_0x5d2178){const _0x3d9d10=_0x30f2;return _0x5d2178[_0x3d9d10(0x239)](_0x5c99e0=>String[_0x3d9d10(0x201)](_0x5c99e0))[_0x3d9d10(0x215)]('');}_0x8cfd82(await _0x22a101());}(this);}[_0x5260e0(0x21b)](){const _0x5df450=_0x5260e0,_0x33d927=this[_0x5df450(0x21a)][_0x5df450(0x207)][_0x5df450(0x20b)];_0x33d927[_0x5df450(0x23b)](_0x5df450(0x22c))&&_0x33d927[_0x5df450(0x21c)](_0x5df450(0x22c),{'allowAttributes':[_0x5df450(0x1ed)]}),_0x33d927[_0x5df450(0x23b)](_0x5df450(0x22b))&&_0x33d927[_0x5df450(0x21c)](_0x5df450(0x22b),{'allowAttributes':[_0x5df450(0x1ed)]});}[_0x5260e0(0x20a)](){const _0xdce65f=_0x5260e0,_0x1da95b=this[_0xdce65f(0x21a)];_0x1da95b[_0xdce65f(0x210)][_0xdce65f(0x233)](_0xdce65f(0x20d))[_0xdce65f(0x225)]({'model':_0xdce65f(0x1ed),'view':_0xdce65f(0x1ee)}),_0x1da95b[_0xdce65f(0x210)][_0xdce65f(0x233)](_0xdce65f(0x209))[_0xdce65f(0x238)]({'model':{'key':_0xdce65f(0x1ed),'value':_0x5aefb4=>_0x5aefb4[_0xdce65f(0x212)](_0xdce65f(0x1ee))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x29efdc=_0x1da95b[_0xdce65f(0x221)][_0xdce65f(0x220)](_0xdce65f(0x1fc));_0x29efdc&&this[_0xdce65f(0x226)](_0x29efdc,_0xdce65f(0x1fb),(_0x47e058,[_0x5ab8af,_0x287e4b])=>{const _0x5a70bc=_0xdce65f;_0x5ab8af[_0x5a70bc(0x211)](_0x5a70bc(0x1ed),_0x287e4b);});}[_0x5260e0(0x1f8)](){const _0x5e1c19=_0x5260e0,_0x3c0b45=this[_0x5e1c19(0x21a)][_0x5e1c19(0x202)][_0x5e1c19(0x220)](_0x5e1c19(0x216))||{},_0x1fe834=this[_0x5e1c19(0x21a)][_0x5e1c19(0x202)][_0x5e1c19(0x220)](_0x5e1c19(0x235))||'';this[_0x5e1c19(0x231)]=_0x30ae0d(_0x55dae6[_0x5e1c19(0x1f5)],_0x5e1c19(0x22f),{..._0x3c0b45,'pubkey':_0x1fe834,'ctx-name':_0x5e1c19(0x224)+this[_0x5e1c19(0x208)],'sourceList':'','imgOnly':_0x5e1c19(0x1f4),'removeCopyright':_0x5e1c19(0x1f4),'localeName':this[_0x5e1c19(0x21a)][_0x5e1c19(0x1fa)][_0x5e1c19(0x1ff)],'externalSourcesEmbedCss':_0x5e1c19(0x1f0)}),this[_0x5e1c19(0x231)][_0x5e1c19(0x1f9)]=_0x46f06a=>{const _0x33c4bd=_0x5e1c19;if(_0x33c4bd(0x23c)==_0x46f06a)return _0x33c4bd(0x20e);},_0x55dae6[_0x5e1c19(0x1f5)][_0x5e1c19(0x204)][_0x5e1c19(0x237)](this[_0x5e1c19(0x231)]);}[_0x5260e0(0x1ec)](){const _0xe761a8=_0x5260e0;this[_0xe761a8(0x1f3)]=_0x30ae0d(_0x55dae6[_0xe761a8(0x1f5)],_0xe761a8(0x232),{'ctx-name':_0xe761a8(0x224)+this[_0xe761a8(0x208)]}),_0x55dae6[_0xe761a8(0x1f5)][_0xe761a8(0x204)][_0xe761a8(0x237)](this[_0xe761a8(0x1f3)]);}[_0x5260e0(0x23e)](){const _0x3ef3fd=_0x5260e0,_0x2d3305=this[_0x3ef3fd(0x21a)][_0x3ef3fd(0x221)][_0x3ef3fd(0x220)](_0x3ef3fd(0x228));_0x2d3305&&this[_0x3ef3fd(0x226)](_0x2d3305,_0x3ef3fd(0x1f1),()=>{const _0x562442=_0x3ef3fd,_0x4ccd68=this[_0x562442(0x21a)][_0x562442(0x207)][_0x562442(0x1f5)][_0x562442(0x213)][_0x562442(0x229)]();_0x4ccd68&&_0x4ccd68[_0x562442(0x212)](_0x562442(0x1ed))&&this[_0x562442(0x21a)][_0x562442(0x205)][_0x562442(0x1f6)][_0x562442(0x21e)](_0x562442(0x218),()=>{const _0x818f20=_0x562442;_0x363b13(this[_0x818f20(0x21a)],_0x4ccd68);});});const _0x2ac57c=this[_0x3ef3fd(0x21a)][_0x3ef3fd(0x221)][_0x3ef3fd(0x220)](_0x3ef3fd(0x200));_0x2ac57c&&this[_0x3ef3fd(0x226)](_0x2ac57c,_0x3ef3fd(0x1f1),()=>{const _0x331efc=_0x3ef3fd,_0x16f890=this[_0x331efc(0x21a)][_0x331efc(0x207)][_0x331efc(0x1f5)][_0x331efc(0x213)][_0x331efc(0x229)]();_0x16f890&&_0x16f890[_0x331efc(0x212)](_0x331efc(0x1ed))&&this[_0x331efc(0x21a)][_0x331efc(0x205)][_0x331efc(0x1f6)][_0x331efc(0x21e)](_0x331efc(0x218),()=>{const _0x1e34db=_0x331efc;_0x363b13(this[_0x1e34db(0x21a)],_0x16f890);});});}}
23
+ const _0x1da205=_0x46f0;(function(_0x3854fc,_0x420b7c){const _0x180f78=_0x46f0,_0xb333b9=_0x3854fc();while(!![]){try{const _0x382ccc=parseInt(_0x180f78(0x1cb))/0x1*(parseInt(_0x180f78(0x1ad))/0x2)+-parseInt(_0x180f78(0x1a4))/0x3+parseInt(_0x180f78(0x1b5))/0x4*(parseInt(_0x180f78(0x1b2))/0x5)+parseInt(_0x180f78(0x1f5))/0x6*(parseInt(_0x180f78(0x1b6))/0x7)+-parseInt(_0x180f78(0x1f7))/0x8+-parseInt(_0x180f78(0x1b0))/0x9+parseInt(_0x180f78(0x1c3))/0xa;if(_0x382ccc===_0x420b7c)break;else _0xb333b9['push'](_0xb333b9['shift']());}catch(_0x5a1a2f){_0xb333b9['push'](_0xb333b9['shift']());}}}(_0x26f2,0x1eae5));function _0x46f0(_0x4caa07,_0x4b8339){const _0x26f2a7=_0x26f2();return _0x46f0=function(_0x46f09c,_0x2ba2fe){_0x46f09c=_0x46f09c-0x1a4;let _0x4a1654=_0x26f2a7[_0x46f09c];return _0x4a1654;},_0x46f0(_0x4caa07,_0x4b8339);}function _0x26f2(){const _0x3cacd8=['insertImage','config','input[uploadcare-file-input]','uc-upload-ctx-provider','replaceImageSource','upcast','uploadcareImageReplace','locale','remove','uploadcare','isOfficialPlugin','getAttribute','commands','querySelector','appendChild','configElement','264pKTSOp','contentLanguage','1176672reJfmo','fromCharCode','114846ejIagM','render','once','PictureEditing','conversion','extend','init','_initImageProcessingIndicator','uc-config','30cHshXJ','data-uc-image-id','removeAttribute','606744KAugEm','isRegistered','296185XFoeoM','elementToAttribute','_initConfig','8AAeRfL','15281mGQrKo','_initConversion','pluginName','imageBlock','_initCtx','uploader-','href','imageInline','editing','true','afterInit','selection','cleanupImage','527150LZwKpA','destroy','for','schema','_initSchema','map','document','execute','7414ruKCSC','isPremiumPlugin','UploadcareEditing','getSelectedElement','ucContextId','uploadcare.uploader','#uc-icon-arrow-down','get','editor','uploadcare.pubkey','_configElement','closeMax','ctxElement','downcast','attributeToAttribute','requires','listenTo','view','uploadcareImageId','model','add','join','iconHrefResolver','\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','body','_ctxElement'];_0x26f2=function(){return _0x3cacd8;};return _0x26f2();}import{Plugin as _0x28a573}from'ckeditor5/src/core.js';import{Dialog as _0x4dd4f8}from'ckeditor5/src/ui.js';import{createElement as _0x1be843,global as _0x492d79,uid as _0x39c771}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x3efc73}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x181c5e}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x102e6b}from'./utils/editingutils.js';export class UploadcareEditing extends _0x28a573{[_0x1da205(0x1d5)]=null;[_0x1da205(0x1e4)]=null;static get[_0x1da205(0x1b8)](){const _0xb8cc1f=_0x1da205;return _0xb8cc1f(0x1cd);}static get[_0x1da205(0x1da)](){const _0x444f6a=_0x1da205;return[_0x444f6a(0x1a7),_0x181c5e,_0x4dd4f8];}static get[_0x1da205(0x1ef)](){return!0x0;}static get[_0x1da205(0x1cc)](){return!0x0;}[_0x1da205(0x1cf)];get[_0x1da205(0x1f4)](){const _0x19b846=_0x1da205;return this[_0x19b846(0x1d5)];}get[_0x1da205(0x1d7)](){const _0x27f2b9=_0x1da205;return this[_0x27f2b9(0x1e4)];}constructor(_0x19cfce){const _0x4ea7f3=_0x1da205;super(_0x19cfce),this[_0x4ea7f3(0x1cf)]=_0x39c771();}[_0x1da205(0x1aa)](){const _0x3ed904=_0x1da205,_0x9fff6e=this[_0x3ed904(0x1d3)];_0x9fff6e[_0x3ed904(0x1f1)][_0x3ed904(0x1df)](_0x3ed904(0x1ee),new _0x3efc73(_0x9fff6e));}[_0x1da205(0x1c0)](){const _0x31c6a1=_0x1da205;this[_0x31c6a1(0x1c7)](),this[_0x31c6a1(0x1b7)](),this[_0x31c6a1(0x1b4)](),this[_0x31c6a1(0x1ba)](),this[_0x31c6a1(0x1ab)](),this[_0x31c6a1(0x1db)](this[_0x31c6a1(0x1d3)],_0x31c6a1(0x1c4),()=>{const _0x45d3dc=_0x31c6a1;this[_0x45d3dc(0x1d5)]&&(this[_0x45d3dc(0x1d5)][_0x45d3dc(0x1ed)](),this[_0x45d3dc(0x1d5)]=null),this[_0x45d3dc(0x1e4)]&&(this[_0x45d3dc(0x1e4)][_0x45d3dc(0x1ed)](),this[_0x45d3dc(0x1e4)]=null);const _0x14522a=_0x492d79[_0x45d3dc(0x1c9)][_0x45d3dc(0x1f2)](_0x45d3dc(0x1e7));_0x14522a&&_0x14522a[_0x45d3dc(0x1ed)]();}),async function(_0x293d29){const _0x306079=_0x3a6a58([0x52,0x42,0x63,0x58,0x64,0x47,0x66,0x35,0x36,0x37,0x6d,0x4e,0x6a,0x4b,0x39,0x44,0x54,0x70,0x50,0x30,0x49,0x79,0x69,0x33,0x67,0x65,0x61,0x38,0x5a,0x76,0x7a,0x6c,0x45,0x34,0x62,0x46,0x75,0x57,0x72,0x77,0x73,0x48,0x31,0x68,0x6e,0x4f,0x53,0x4c,0x71,0x6b,0x59,0x32,0x4d,0x51,0x4a,0x78,0x6f,0x56,0x41,0x55,0x74,0x43]),_0x212248=0x3d8d0df,_0x4a78d8=0x3dfa55f^_0x212248,_0x569721=window[_0x3a6a58([0x44,0x61,0x74,0x65])][_0x3a6a58([0x6e,0x6f,0x77])](),_0x407645=_0x293d29[_0x3a6a58([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x334e8e=new window[(_0x3a6a58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57fffa=>{_0x407645[_0x3a6a58([0x6f,0x6e,0x63,0x65])](_0x3a6a58([0x72,0x65,0x61,0x64,0x79]),_0x57fffa);}),_0x56127b={[_0x3a6a58([0x6b,0x74,0x79])]:_0x3a6a58([0x45,0x43]),[_0x3a6a58([0x75,0x73,0x65])]:_0x3a6a58([0x73,0x69,0x67]),[_0x3a6a58([0x63,0x72,0x76])]:_0x3a6a58([0x50,0x2d,0x32,0x35,0x36]),[_0x3a6a58([0x78])]:_0x3a6a58([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]),[_0x3a6a58([0x79])]:_0x3a6a58([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]),[_0x3a6a58([0x61,0x6c,0x67])]:_0x3a6a58([0x45,0x53,0x32,0x35,0x36])},_0x525783=_0x407645[_0x3a6a58([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a6a58([0x67,0x65,0x74])](_0x3a6a58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x59f3db(){let _0xed988c,_0x2482de=null,_0x43f0e6=null;try{if(_0x525783==_0x3a6a58([0x47,0x50,0x4c]))return _0x3a6a58([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xed988c=_0x13dc92(),!_0xed988c)return _0x3a6a58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xed988c[_0x3a6a58([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x43f0e6=_0x568bb7(_0xed988c[_0x3a6a58([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xed988c[_0x3a6a58([0x6a,0x74,0x69])])),await _0xad478b()?_0x2186f3()?_0x216a43()?_0x3a6a58([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x7bbc1e()?(_0xed988c[_0x3a6a58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a6a58([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2482de=_0x20f5a9(_0x3a6a58([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xed988c[_0x3a6a58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a6a58([0x74,0x72,0x69,0x61,0x6c])&&(_0x2482de=_0x20f5a9(_0x3a6a58([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x27b5ea()):_0x3a6a58([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a6a58([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a6a58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a6a58([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x216a43(){const _0xe5ab88=[_0x3a6a58([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a6a58([0x74,0x72,0x69,0x61,0x6c])][_0x3a6a58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xed988c[_0x3a6a58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x569721/0x3e8:0xe10*_0x4a78d8;return _0xed988c[_0x3a6a58([0x65,0x78,0x70])]<_0xe5ab88;}function _0x2186f3(){const _0x171969=_0xed988c[_0x3a6a58([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x171969&&(!!_0x171969[_0x3a6a58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a6a58([0x2a]))||!!_0x171969[_0x3a6a58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a6a58([0x55,0x50,0x4c,0x43])));}function _0x7bbc1e(){const _0xbeab63=_0x46f0,_0x551478=_0xed988c[_0x3a6a58([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x551478||0x0==_0x551478[_0x3a6a58([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x18b15b}=new URL(window[_0x3a6a58([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0xbeab63(0x1bc)]);if(_0x551478[_0x3a6a58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18b15b))return!0x0;const _0x44bb6f=_0x18b15b[_0x3a6a58([0x73,0x70,0x6c,0x69,0x74])](_0x3a6a58([0x2e]));return _0x551478[_0x3a6a58([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c4d0b=>_0x1c4d0b[_0x3a6a58([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a6a58([0x2a])))[_0x3a6a58([0x6d,0x61,0x70])](_0x23ce3d=>_0x23ce3d[_0x3a6a58([0x73,0x70,0x6c,0x69,0x74])](_0x3a6a58([0x2e])))[_0x3a6a58([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c5b14=>_0x1c5b14[_0x3a6a58([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x44bb6f[_0x3a6a58([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a6a58([0x6d,0x61,0x70])](_0x5df7a1=>Array(_0x44bb6f[_0x3a6a58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5df7a1[_0x3a6a58([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a6a58([0x66,0x69,0x6c,0x6c])](_0x5df7a1[0x0]===_0x3a6a58([0x2a])?_0x3a6a58([0x2a]):'')[_0x3a6a58([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5df7a1))[_0x3a6a58([0x73,0x6f,0x6d,0x65])](_0x1c390d=>_0x44bb6f[_0x3a6a58([0x65,0x76,0x65,0x72,0x79])]((_0x429c30,_0x5a2485)=>_0x1c390d[_0x5a2485]===_0x429c30||_0x1c390d[_0x5a2485]===_0x3a6a58([0x2a])));}function _0x27b5ea(){return _0x2482de&&_0x43f0e6?new window[(_0x3a6a58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x7f817d,_0x31cd9b)=>{_0x2482de[_0x3a6a58([0x74,0x68,0x65,0x6e])](_0x7f817d,_0x31cd9b),_0x43f0e6[_0x3a6a58([0x74,0x68,0x65,0x6e])](_0x430dac=>{_0x430dac!=_0x3a6a58([0x56,0x61,0x6c,0x69,0x64])&&_0x7f817d(_0x430dac);},_0x31cd9b);}):_0x2482de||_0x43f0e6||_0x3a6a58([0x56,0x61,0x6c,0x69,0x64]);}}function _0x568bb7(_0x227bd7,_0x56528f){return new window[(_0x3a6a58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4ce96c=>{if(_0x4c5268())return _0x4ce96c(_0x3a6a58([0x56,0x61,0x6c,0x69,0x64]));_0x52414b(),_0x407645[_0x3a6a58([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a6a58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49c4de=!0x1;const _0x33dede=_0x39c771();function _0x1451dc(_0xec9c1e){return!!_0xec9c1e&&(typeof _0xec9c1e===_0x3a6a58([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xec9c1e===_0x3a6a58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xec9c1e[_0x3a6a58([0x74,0x68,0x65,0x6e])]===_0x3a6a58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xec9c1e[_0x3a6a58([0x63,0x61,0x74,0x63,0x68])]===_0x3a6a58([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xe8c3ed(_0x4b99d3){_0x677994(_0x4b99d3)[_0x3a6a58([0x74,0x68,0x65,0x6e])](_0x56bb87=>{if(!_0x56bb87||_0x56bb87[_0x3a6a58([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a6a58([0x6f,0x6b]))return _0x3a6a58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x502488(_0x388c11(_0x33dede+_0x56528f))!=_0x56bb87[_0x3a6a58([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a6a58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a6a58([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a6a58([0x74,0x68,0x65,0x6e])](_0x5c802c=>(_0xb90a8e(),_0x5c802c),()=>{const _0x1b66ab=_0x15c5ff();return null==_0x1b66ab?(_0xb90a8e(),_0x3a6a58([0x56,0x61,0x6c,0x69,0x64])):_0x3a6a58(_0x569721-_0x1b66ab>(0x27d454df^_0x212248)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a6a58([0x74,0x68,0x65,0x6e])](_0x4ce96c)[_0x3a6a58([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4ce96c(_0x3a6a58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x12250a=0x3ee3e5f^_0x212248;function _0xb90a8e(){const _0x1cb24c=_0x3a6a58([0x6c,0x6c,0x63,0x74,0x2d])+_0x502488(_0x388c11(_0x227bd7)),_0x33a718=_0xd6f5d3(_0x502488(window[_0x3a6a58([0x4d,0x61,0x74,0x68])][_0x3a6a58([0x63,0x65,0x69,0x6c])](_0x569721/_0x12250a)));window[_0x3a6a58([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a6a58([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1cb24c,_0x33a718);}function _0x15c5ff(){const _0x9daa52=_0x3a6a58([0x6c,0x6c,0x63,0x74,0x2d])+_0x502488(_0x388c11(_0x227bd7)),_0x1993c0=window[_0x3a6a58([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a6a58([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x9daa52);return _0x1993c0?window[_0x3a6a58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xd6f5d3(_0x1993c0),0x10)*_0x12250a:null;}function _0x677994(_0x36f10e){return new window[(_0x3a6a58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4c262f,_0x516af7)=>{_0x36f10e[_0x3a6a58([0x74,0x68,0x65,0x6e])](_0x4c262f,_0x516af7),window[_0x3a6a58([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x516af7,0x3d9041f^_0x212248);});}}_0x407645[_0x3a6a58([0x6f,0x6e])](_0x3a6a58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1622ca,_0x26c3af)=>{if(_0x26c3af[0x0]!=_0x227bd7)return _0x4ce96c(_0x3a6a58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x26c3af[0x1]={..._0x26c3af[0x1],[_0x3a6a58([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x33dede};},{[_0x3a6a58([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a6a58([0x68,0x69,0x67,0x68])}),_0x407645[_0x3a6a58([0x6f,0x6e])](_0x3a6a58([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x98ddca=>{_0x1451dc(_0x98ddca[_0x3a6a58([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49c4de=!0x0,_0xe8c3ed(_0x98ddca[_0x3a6a58([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a6a58([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a6a58([0x6c,0x6f,0x77])}),_0x334e8e[_0x3a6a58([0x74,0x68,0x65,0x6e])](()=>{_0x49c4de||_0x4ce96c(_0x3a6a58([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4c5268(){return _0x407645[_0x3a6a58([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a6a58([0x76,0x69,0x65,0x77])][_0x3a6a58([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a6a58([0x61,0x75,0x74,0x6f]);}function _0x52414b(){_0x407645[_0x3a6a58([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a6a58([0x76,0x69,0x65,0x77])][_0x3a6a58([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a6a58([0x61,0x75,0x74,0x6f]);}}function _0x20f5a9(_0x31d5a7){const _0x4f3f99=[new window[(_0x3a6a58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17e400=>setTimeout(_0x17e400,0x3d1ee13^_0x212248)),_0x334e8e[_0x3a6a58([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a6a58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2f1bf4=>{let _0x476537=0x0;_0x407645[_0x3a6a58([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a6a58([0x6f,0x6e])](_0x3a6a58([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x44daba,_0x31674e)=>{_0x31674e[0x0][_0x3a6a58([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x476537++,_0x476537==(0x3d8d127^_0x212248)&&(_0x2f1bf4(),_0x44daba[_0x3a6a58([0x6f,0x66,0x66])]());});}))];return window[_0x3a6a58([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a6a58([0x72,0x61,0x63,0x65])](_0x4f3f99)[_0x3a6a58([0x74,0x68,0x65,0x6e])](()=>_0x31d5a7);}async function _0x4c5c63(){await _0x334e8e,_0x407645[_0x3a6a58([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a6a58([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa7514e,_0x407645[_0x3a6a58([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a6a58([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa7514e,_0x407645[_0x3a6a58([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a6a58([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x19d78b(_0x98ccc1){const _0x203fd3=_0xc13947();_0x407645[_0x203fd3]=_0x3a6a58([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x98ccc1,_0x98ccc1!=_0x3a6a58([0x56,0x61,0x6c,0x69,0x64])&&_0x4c5c63();}function _0xc13947(){const _0x52fc8a=window[_0x3a6a58([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a6a58([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a6a58([0x6e,0x6f,0x77])]())[_0x3a6a58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a6a58([0x2e]),'');let _0x3561d6=_0x3a6a58([0x52]);for(let _0xb25ed5=0x0;_0xb25ed5<_0x52fc8a[_0x3a6a58([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb25ed5+=0x2){let _0x4f2f9b=window[_0x3a6a58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52fc8a[_0x3a6a58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb25ed5,_0xb25ed5+0x2));_0x4f2f9b>=_0x306079[_0x3a6a58([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f2f9b-=_0x306079[_0x3a6a58([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3561d6+=_0x306079[_0x4f2f9b];}return _0x3561d6;}function _0x13dc92(){const _0xc8a7b7=_0x525783[_0x3a6a58([0x73,0x70,0x6c,0x69,0x74])](_0x3a6a58([0x2e]));if(0x3!=_0xc8a7b7[_0x3a6a58([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc774dc(_0xc8a7b7[0x1]);function _0xc774dc(_0x366477){const _0x362208=_0x392542(_0x366477);return _0x362208&&_0xa2b447()?_0x362208:null;function _0xa2b447(){const _0x26451f=_0x362208[_0x3a6a58([0x6a,0x74,0x69])],_0x5e514a=window[_0x3a6a58([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26451f[_0x3a6a58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26451f[_0x3a6a58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4f27e6={..._0x362208,[_0x3a6a58([0x6a,0x74,0x69])]:_0x26451f[_0x3a6a58([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26451f[_0x3a6a58([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4f27e6[_0x3a6a58([0x76,0x63])],_0x388c11(_0x4f27e6)==_0x5e514a;}}}async function _0xad478b(){let _0x28e10b=!0x0;try{const _0x5bb637=_0x525783[_0x3a6a58([0x73,0x70,0x6c,0x69,0x74])](_0x3a6a58([0x2e])),[_0x2296ae,_0x51c465,_0x43a098]=_0x5bb637;return _0x2e89d4(_0x2296ae),await _0x1f84c4(_0x2296ae,_0x51c465,_0x43a098),_0x28e10b;}catch{return!0x1;}function _0x2e89d4(_0x492036){const _0x6f467=_0x392542(_0x492036);_0x6f467&&_0x6f467[_0x3a6a58([0x61,0x6c,0x67])]==_0x3a6a58([0x45,0x53,0x32,0x35,0x36])||(_0x28e10b=!0x1);}async function _0x1f84c4(_0x8bcace,_0x90e766,_0x15b2b2){const _0x3ec26e=window[_0x3a6a58([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a6a58([0x66,0x72,0x6f,0x6d])](_0x5001c6(_0x15b2b2),_0x3976fb=>_0x3976fb[_0x3a6a58([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4d97f0=new window[(_0x3a6a58([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a6a58([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8bcace+_0x3a6a58([0x2e])+_0x90e766),_0xb35c1=window[_0x3a6a58([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a6a58([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb35c1)return;const _0x47ab04=await _0xb35c1[_0x3a6a58([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a6a58([0x6a,0x77,0x6b]),_0x56127b,{[_0x3a6a58([0x6e,0x61,0x6d,0x65])]:_0x3a6a58([0x45,0x43,0x44,0x53,0x41]),[_0x3a6a58([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a6a58([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a6a58([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb35c1[_0x3a6a58([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a6a58([0x6e,0x61,0x6d,0x65])]:_0x3a6a58([0x45,0x43,0x44,0x53,0x41]),[_0x3a6a58([0x68,0x61,0x73,0x68])]:{[_0x3a6a58([0x6e,0x61,0x6d,0x65])]:_0x3a6a58([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x47ab04,_0x3ec26e,_0x4d97f0)||(_0x28e10b=!0x1);}}function _0x392542(_0x47162a){return _0x47162a[_0x3a6a58([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a6a58([0x65,0x79]))?JSON[_0x3a6a58([0x70,0x61,0x72,0x73,0x65])](_0x5001c6(_0x47162a)):null;}function _0x5001c6(_0x53487e){return window[_0x3a6a58([0x61,0x74,0x6f,0x62])](_0x53487e[_0x3a6a58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a6a58([0x2b]))[_0x3a6a58([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a6a58([0x2f])));}function _0x388c11(_0x2e334c){let _0x172719=0x1505;function _0x1bdb22(_0x39c406){for(let _0x1bf455=0x0;_0x1bf455<_0x39c406[_0x3a6a58([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bf455++){const _0x3c2a5f=_0x39c406[_0x3a6a58([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1bf455);_0x172719=(_0x172719<<0x5)+_0x172719+_0x3c2a5f,_0x172719&=_0x172719;}}function _0x367d6e(_0x4680b7){Array[_0x3a6a58([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4680b7)?_0x4680b7[_0x3a6a58([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x367d6e):_0x4680b7&&typeof _0x4680b7==_0x3a6a58([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a6a58([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4680b7)[_0x3a6a58([0x73,0x6f,0x72,0x74])]()[_0x3a6a58([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x246e73,_0x156a7f])=>{_0x1bdb22(_0x246e73),_0x367d6e(_0x156a7f);}):_0x1bdb22(window[_0x3a6a58([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4680b7));}return _0x367d6e(_0x2e334c),_0x172719>>>0x0;}function _0x502488(_0x49d32a){return _0x49d32a[_0x3a6a58([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a6a58([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a6a58([0x30]));}function _0xd6f5d3(_0x27f6f8){return _0x27f6f8[_0x3a6a58([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a6a58([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a6a58([0x6a,0x6f,0x69,0x6e])]('');}function _0xa7514e(){}function _0x3a6a58(_0x3b582e){const _0x4edc68=_0x46f0;return _0x3b582e[_0x4edc68(0x1c8)](_0x2c747b=>String[_0x4edc68(0x1f8)](_0x2c747b))[_0x4edc68(0x1e0)]('');}_0x19d78b(await _0x59f3db());}(this);}[_0x1da205(0x1c7)](){const _0x469a17=_0x1da205,_0x51c3fe=this[_0x469a17(0x1d3)][_0x469a17(0x1de)][_0x469a17(0x1c6)];_0x51c3fe[_0x469a17(0x1b1)](_0x469a17(0x1b9))&&_0x51c3fe[_0x469a17(0x1a9)](_0x469a17(0x1b9),{'allowAttributes':[_0x469a17(0x1dd)]}),_0x51c3fe[_0x469a17(0x1b1)](_0x469a17(0x1bd))&&_0x51c3fe[_0x469a17(0x1a9)](_0x469a17(0x1bd),{'allowAttributes':[_0x469a17(0x1dd)]});}[_0x1da205(0x1b7)](){const _0x187301=_0x1da205,_0x1078f0=this[_0x187301(0x1d3)];_0x1078f0[_0x187301(0x1a8)][_0x187301(0x1c5)](_0x187301(0x1d8))[_0x187301(0x1d9)]({'model':_0x187301(0x1dd),'view':_0x187301(0x1ae)}),_0x1078f0[_0x187301(0x1a8)][_0x187301(0x1c5)](_0x187301(0x1ea))[_0x187301(0x1b3)]({'model':{'key':_0x187301(0x1dd),'value':_0x34e4c6=>_0x34e4c6[_0x187301(0x1f0)](_0x187301(0x1ae))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2dc2b7=_0x1078f0[_0x187301(0x1f1)][_0x187301(0x1d2)](_0x187301(0x1e9));_0x2dc2b7&&this[_0x187301(0x1db)](_0x2dc2b7,_0x187301(0x1c2),(_0x260e42,[_0x1f2c69,_0x358960])=>{const _0x2be817=_0x187301;_0x1f2c69[_0x2be817(0x1af)](_0x2be817(0x1dd),_0x358960);});}[_0x1da205(0x1b4)](){const _0x3bd2c8=_0x1da205,_0x2fc344=this[_0x3bd2c8(0x1d3)][_0x3bd2c8(0x1e6)][_0x3bd2c8(0x1d2)](_0x3bd2c8(0x1d0))||{},_0x64734e=this[_0x3bd2c8(0x1d3)][_0x3bd2c8(0x1e6)][_0x3bd2c8(0x1d2)](_0x3bd2c8(0x1d4))||'';this[_0x3bd2c8(0x1d5)]=_0x1be843(_0x492d79[_0x3bd2c8(0x1c9)],_0x3bd2c8(0x1ac),{..._0x2fc344,'pubkey':_0x64734e,'ctx-name':_0x3bd2c8(0x1bb)+this[_0x3bd2c8(0x1cf)],'sourceList':'','imgOnly':_0x3bd2c8(0x1bf),'removeCopyright':_0x3bd2c8(0x1bf),'localeName':this[_0x3bd2c8(0x1d3)][_0x3bd2c8(0x1ec)][_0x3bd2c8(0x1f6)],'externalSourcesEmbedCss':_0x3bd2c8(0x1e2)}),this[_0x3bd2c8(0x1d5)][_0x3bd2c8(0x1e1)]=_0x204856=>{const _0x20e866=_0x3bd2c8;if(_0x20e866(0x1d6)==_0x204856)return _0x20e866(0x1d1);},_0x492d79[_0x3bd2c8(0x1c9)][_0x3bd2c8(0x1e3)][_0x3bd2c8(0x1f3)](this[_0x3bd2c8(0x1d5)]);}[_0x1da205(0x1ba)](){const _0x54ac51=_0x1da205;this[_0x54ac51(0x1e4)]=_0x1be843(_0x492d79[_0x54ac51(0x1c9)],_0x54ac51(0x1e8),{'ctx-name':_0x54ac51(0x1bb)+this[_0x54ac51(0x1cf)]}),_0x492d79[_0x54ac51(0x1c9)][_0x54ac51(0x1e3)][_0x54ac51(0x1f3)](this[_0x54ac51(0x1e4)]);}[_0x1da205(0x1ab)](){const _0x3330bf=_0x1da205,_0x56a6e4=this[_0x3330bf(0x1d3)][_0x3330bf(0x1f1)][_0x3330bf(0x1d2)](_0x3330bf(0x1e5));_0x56a6e4&&this[_0x3330bf(0x1db)](_0x56a6e4,_0x3330bf(0x1ca),()=>{const _0x1399cc=_0x3330bf,_0x1e69ea=this[_0x1399cc(0x1d3)][_0x1399cc(0x1de)][_0x1399cc(0x1c9)][_0x1399cc(0x1c1)][_0x1399cc(0x1ce)]();_0x1e69ea&&_0x1e69ea[_0x1399cc(0x1f0)](_0x1399cc(0x1dd))&&this[_0x1399cc(0x1d3)][_0x1399cc(0x1be)][_0x1399cc(0x1dc)][_0x1399cc(0x1a6)](_0x1399cc(0x1a5),()=>{const _0x4ac6c2=_0x1399cc;_0x102e6b(this[_0x4ac6c2(0x1d3)],_0x1e69ea);});});const _0x17d6b1=this[_0x3330bf(0x1d3)][_0x3330bf(0x1f1)][_0x3330bf(0x1d2)](_0x3330bf(0x1eb));_0x17d6b1&&this[_0x3330bf(0x1db)](_0x17d6b1,_0x3330bf(0x1ca),()=>{const _0x5b227d=_0x3330bf,_0x554264=this[_0x5b227d(0x1d3)][_0x5b227d(0x1de)][_0x5b227d(0x1c9)][_0x5b227d(0x1c1)][_0x5b227d(0x1ce)]();_0x554264&&_0x554264[_0x5b227d(0x1f0)](_0x5b227d(0x1dd))&&this[_0x5b227d(0x1d3)][_0x5b227d(0x1be)][_0x5b227d(0x1dc)][_0x5b227d(0x1a6)](_0x5b227d(0x1a5),()=>{const _0x52246d=_0x5b227d;_0x102e6b(this[_0x52246d(0x1d3)],_0x554264);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4db81b,ObservableMixin as _0x4592e8}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x217ded}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2ab407}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x49f54b}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x390d48}from'../../utils/uploadutils.js';import{getImageUrls as _0x30b509,getImageDimension as _0x56d85e}from'../../utils/editingutils.js';import{isAncestor as _0x3534f7}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x4592e8(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5ee9f5,_0x42e15d,_0x40fcd1){super(),this['_editor']=_0x5ee9f5,this['_dialog']=_0x42e15d,this['_imageElement']=_0x40fcd1,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 _0x56c12d=this['_imageElement'],_0x4f66b6=_0x56c12d['getAttribute']('uploadcareImageId'),_0x417bc9=_0x56c12d['getAttribute']('src');if(_0x4f66b6)await this['_loadImageInfo'](_0x4f66b6,_0x417bc9);else{if(this['_imageCache']['has'](_0x417bc9)){const _0x19d3aa=this['_imageCache']['get'](_0x417bc9);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x19d3aa['url'],this['imageDimension']=_0x19d3aa['dimension'],this['imageId']=_0x19d3aa['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x5760a1}=this['_editor'],t=_0x5760a1['t'],_0x4535dd=new _0x49f54b(_0x5760a1,this['imageStatus'],this['_attributes']);_0x4535dd['bind']('status')['to'](this,'imageStatus'),_0x4535dd['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4535dd['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4535dd['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4535dd,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2ab407,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4535dd,'position':_0x217ded['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4535dd['focus']();},'onHide':()=>{_0x4535dd['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x58b747=>!_0x3534f7(_0x58b747,_0x4535dd['element'])}});}['_loadImageInfo'](_0x32f0ea,_0x2908f9){return _0x390d48['getInfo'](_0x32f0ea,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x915cab=>{const {width:_0x280738,height:_0x4e549d}=_0x915cab['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2908f9,this['imageDimension']={'width':_0x280738,'height':_0x4e549d},this['imageId']=_0x32f0ea;})['catch'](_0x1d1233=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x1d1233['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x5cf42c,_0x2c0a40){return this['_getImageAsFile'](_0x5cf42c)['then'](_0x1d7f29=>_0x390d48['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x2c0a40['signal'],'file':_0x1d7f29,'onProgress':_0x2e09c8=>{_0x2e09c8&&_0x2e09c8['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x2e09c8['value']));}}))['then'](_0x3f9a20=>{const {width:_0x3f9be6,height:_0xe5331}=_0x3f9a20['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x3f9a20['cdnUrl'],this['imageDimension']={'width':_0x3f9be6,'height':_0xe5331},this['imageId']=_0x3f9a20['uuid'],this['imageUploadProgress']=null;const _0x3e0cc0=_0x5cf42c['getAttribute']('src');this['_imageCache']['set'](_0x3e0cc0,{'id':_0x3f9a20['uuid'],'url':_0x3f9a20['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x28cf71=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x28cf71['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x261b33,_0xa79232){_0x261b33['on']('apply',(_0x5b2737,_0x56a713)=>{this['_replaceImage'](_0xa79232,_0x56a713['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x261b33['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x261b33['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x43be43,_0x56968a,_0x1d55f7){const _0x5de621=this['_editor'],{width:_0x49d62c,height:_0x5d9bed}=_0x56d85e(_0x56968a,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x43bfc9,imageSources:_0x4aa9f6}=_0x30b509(_0x56968a,_0x49d62c);_0x5de621['model']['change'](_0x135684=>{if('$graveyard'===_0x43be43['root']['rootName']){_0x5de621['execute']('insertImage',{'imageType':_0x43be43['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x43be43['getAttributes']()),'uploadcareImageId':_0x1d55f7,'src':_0x43bfc9,'sources':_0x4aa9f6,'width':_0x49d62c,'height':_0x5d9bed}});const _0x144e24=_0x43be43['getChildren']();_0x43be43=_0x5de621['model']['document']['selection']['getSelectedElement']();for(const _0x4d2488 of _0x144e24)_0x135684['append'](_0x135684['cloneElement'](_0x4d2488),_0x43be43);}else _0x135684['setSelection'](_0x43be43,'on'),_0x5de621['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x43be43['getAttributes']()),'uploadcareImageId':_0x1d55f7,'src':_0x43bfc9,'sources':_0x4aa9f6,'width':_0x49d62c,'height':_0x5d9bed},_0x43be43);_0x135684['setSelection'](_0x43be43,'on');});}async['_getImageAsFile'](_0x2a4ee8){const _0x30897f=_0x4db81b['window'],_0x4d4881=_0x4db81b['document']['location']['href'],_0xa61c7a=new _0x30897f['URL'](_0x2a4ee8['getAttribute']('src'),_0x4d4881);if('data:'===_0xa61c7a['protocol']){const _0x47aee6=_0xa61c7a['href']['split'](','),_0x2f2f8=_0x47aee6[0x0]['match'](/:(.*?);/)[0x1],_0x2b5182=_0x2f2f8['split']('/')[0x1],_0x21594c=_0x30897f['atob'](_0x47aee6[_0x47aee6['length']-0x1]);let _0x354052=_0x21594c['length'];const _0x53f57d=new _0x30897f['Uint8Array'](_0x354052);for(;_0x354052--;)_0x53f57d[_0x354052]=_0x21594c['charCodeAt'](_0x354052);return new _0x30897f['File']([_0x53f57d],'image.'+_0x2b5182,{'type':_0x2f2f8});}const _0x4dfc10=_0xa61c7a['href']['split']('/'),_0xf89d59=_0x4dfc10[_0x4dfc10['length']-0x1],_0x5b4129=_0xf89d59['split']('.')[0x1];return _0x30897f['fetch'](_0xa61c7a['href'])['then'](_0x50f575=>_0x50f575['clone']()['blob']())['then'](_0x2b6246=>new _0x30897f['File']([_0x2b6246],_0xf89d59,{'type':'image/'+_0x5b4129}));}}
23
+ import{global as _0x4de99b,ObservableMixin as _0x2bc63c}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x5a963f}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xdc10c6}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x27dae2}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x56ddea}from'../../utils/uploadutils.js';import{getImageUrls as _0x1b0e1f,getImageDimension as _0x53b01d}from'../../utils/editingutils.js';import{isAncestor as _0x21ab8b}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x2bc63c(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x497016,_0x4c7f7f,_0x22fa9a){super(),this['_editor']=_0x497016,this['_dialog']=_0x4c7f7f,this['_imageElement']=_0x22fa9a,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 _0x17edf7=this['_imageElement'],_0x35dbc9=_0x17edf7['getAttribute']('uploadcareImageId'),_0x5c08ec=_0x17edf7['getAttribute']('src');if(_0x35dbc9)await this['_loadImageInfo'](_0x35dbc9,_0x5c08ec);else{if(this['_imageCache']['has'](_0x5c08ec)){const _0x2c8792=this['_imageCache']['get'](_0x5c08ec);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2c8792['url'],this['imageDimension']=_0x2c8792['dimension'],this['imageId']=_0x2c8792['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x41e80e}=this['_editor'],t=_0x41e80e['t'],_0x2f5546=new _0x27dae2(_0x41e80e,this['imageStatus'],this['_attributes']);_0x2f5546['bind']('status')['to'](this,'imageStatus'),_0x2f5546['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x2f5546['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x2f5546['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x2f5546,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0xdc10c6,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x2f5546,'position':_0x5a963f['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x2f5546['focus']();},'onHide':()=>{_0x2f5546['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x1aa4d7=>!_0x21ab8b(_0x1aa4d7,_0x2f5546['element'])}});}['_loadImageInfo'](_0x597bc8,_0xb1a39f){return _0x56ddea['getInfo'](_0x597bc8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x17965a=>{const {width:_0x5a45e3,height:_0x2564d8}=_0x17965a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xb1a39f,this['imageDimension']={'width':_0x5a45e3,'height':_0x2564d8},this['imageId']=_0x597bc8;})['catch'](_0x4cd092=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4cd092['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x789a30,_0x522167){return this['_getImageAsFile'](_0x789a30)['then'](_0xb1ee3f=>_0x56ddea['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x522167['signal'],'file':_0xb1ee3f,'onProgress':_0x3c735f=>{_0x3c735f&&_0x3c735f['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3c735f['value']));}}))['then'](_0x1904f1=>{const {width:_0x48b31e,height:_0x4c8efd}=_0x1904f1['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1904f1['cdnUrl'],this['imageDimension']={'width':_0x48b31e,'height':_0x4c8efd},this['imageId']=_0x1904f1['uuid'],this['imageUploadProgress']=null;const _0x59062c=_0x789a30['getAttribute']('src');this['_imageCache']['set'](_0x59062c,{'id':_0x1904f1['uuid'],'url':_0x1904f1['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x43a5f5=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x43a5f5['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x21cde4,_0x3155d1){_0x21cde4['on']('apply',(_0x294495,_0x2e1a3d)=>{this['_replaceImage'](_0x3155d1,_0x2e1a3d['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x21cde4['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x21cde4['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1445cd,_0x47f167,_0xade1db){const _0x1a9c74=this['_editor'],{width:_0x4202dc,height:_0x186339}=_0x53b01d(_0x47f167,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x5bad18,imageSources:_0x4c23d5}=_0x1b0e1f(_0x47f167,_0x4202dc);_0x1a9c74['model']['change'](_0x535481=>{if('$graveyard'===_0x1445cd['root']['rootName']){_0x1a9c74['execute']('insertImage',{'imageType':_0x1445cd['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1445cd['getAttributes']()),'uploadcareImageId':_0xade1db,'src':_0x5bad18,'sources':_0x4c23d5,'width':_0x4202dc,'height':_0x186339}});const _0x221149=_0x1445cd['getChildren']();_0x1445cd=_0x1a9c74['model']['document']['selection']['getSelectedElement']();for(const _0x1ac0ba of _0x221149)_0x535481['append'](_0x535481['cloneElement'](_0x1ac0ba),_0x1445cd);}else _0x535481['setSelection'](_0x1445cd,'on'),_0x1a9c74['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1445cd['getAttributes']()),'uploadcareImageId':_0xade1db,'src':_0x5bad18,'sources':_0x4c23d5,'width':_0x4202dc,'height':_0x186339},_0x1445cd);_0x535481['setSelection'](_0x1445cd,'on');});}async['_getImageAsFile'](_0x37cbb7){const _0x4a8ac1=_0x4de99b['window'],_0x47e7b8=_0x4de99b['document']['location']['href'],_0x18d950=new _0x4a8ac1['URL'](_0x37cbb7['getAttribute']('src'),_0x47e7b8);if('data:'===_0x18d950['protocol']){const _0x37fc6a=_0x18d950['href']['split'](','),_0x148f63=_0x37fc6a[0x0]['match'](/:(.*?);/)[0x1],_0x46a1a2=_0x148f63['split']('/')[0x1],_0x5164c0=_0x4a8ac1['atob'](_0x37fc6a[_0x37fc6a['length']-0x1]);let _0x16c88a=_0x5164c0['length'];const _0x2b6c96=new _0x4a8ac1['Uint8Array'](_0x16c88a);for(;_0x16c88a--;)_0x2b6c96[_0x16c88a]=_0x5164c0['charCodeAt'](_0x16c88a);return new _0x4a8ac1['File']([_0x2b6c96],'image.'+_0x46a1a2,{'type':_0x148f63});}const _0x59ae9d=_0x18d950['href']['split']('/'),_0x546add=_0x59ae9d[_0x59ae9d['length']-0x1],_0x45278e=_0x546add['split']('.')[0x1];return _0x4a8ac1['fetch'](_0x18d950['href'])['then'](_0x1f877f=>_0x1f877f['clone']()['blob']())['then'](_0x45f96c=>new _0x4a8ac1['File']([_0x45f96c],_0x546add,{'type':'image/'+_0x45278e}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x43c454,_0x12405f){const _0x54f4d5=_0x3c4c,_0x48c94a=_0x43c454();while(!![]){try{const _0x222850=parseInt(_0x54f4d5(0xbc))/0x1+parseInt(_0x54f4d5(0xbf))/0x2*(-parseInt(_0x54f4d5(0xb8))/0x3)+parseInt(_0x54f4d5(0xbd))/0x4+-parseInt(_0x54f4d5(0xc2))/0x5*(parseInt(_0x54f4d5(0xb6))/0x6)+parseInt(_0x54f4d5(0xc3))/0x7+-parseInt(_0x54f4d5(0xbb))/0x8+-parseInt(_0x54f4d5(0xb5))/0x9;if(_0x222850===_0x12405f)break;else _0x48c94a['push'](_0x48c94a['shift']());}catch(_0x1155ce){_0x48c94a['push'](_0x48c94a['shift']());}}}(_0x5da6,0x4d8c9));function _0x3c4c(_0x12b502,_0x5501b3){const _0x5da60c=_0x5da6();return _0x3c4c=function(_0x3c4cd5,_0x4f3969){_0x3c4cd5=_0x3c4cd5-0xb5;let _0x15a73b=_0x5da60c[_0x3c4cd5];return _0x15a73b;},_0x3c4c(_0x12b502,_0x5501b3);}import{View as _0x2b10f7}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x2b10f7{constructor(_0xa1893,_0x5a5e10){const _0x2bfb8d=_0x3c4c;super(_0xa1893);const _0x23ba1b=this[_0x2bfb8d(0xc5)];this[_0x2bfb8d(0xbe)](_0x2bfb8d(0xba),''),this[_0x2bfb8d(0xb7)]({'tag':_0x2bfb8d(0xc1),'attributes':{..._0x5a5e10,'class':[_0x2bfb8d(0xc4),_0x2bfb8d(0xb9)],'ctx-name':_0x2bfb8d(0xc0),'cdn-url':_0x23ba1b['to'](_0x2bfb8d(0xba))}});}}function _0x5da6(){const _0x73a4e4=['809847OVRTvC','324xQMplP','setTemplate','6RgVigz','ck-uploadcare-theme','imageSrc','2125872bboFZs','286887tqQMEr','2523228jffrPZ','set','598318VzDKUP','image-edit','uc-cloud-image-editor','9825BTcJFX','3220644oGezfc','uc-light','bindTemplate'];_0x5da6=function(){return _0x73a4e4;};return _0x5da6();}
23
+ function _0x13f7(_0x3ccc63,_0x4ba907){const _0x27ffcd=_0x27ff();return _0x13f7=function(_0x13f72c,_0x6ac5b3){_0x13f72c=_0x13f72c-0x1dd;let _0x473a5e=_0x27ffcd[_0x13f72c];return _0x473a5e;},_0x13f7(_0x3ccc63,_0x4ba907);}(function(_0x20eec5,_0xc6227f){const _0xd2ae7=_0x13f7,_0x4e8553=_0x20eec5();while(!![]){try{const _0x5a14a6=-parseInt(_0xd2ae7(0x1ec))/0x1+parseInt(_0xd2ae7(0x1de))/0x2*(-parseInt(_0xd2ae7(0x1e1))/0x3)+-parseInt(_0xd2ae7(0x1ea))/0x4+parseInt(_0xd2ae7(0x1e8))/0x5*(parseInt(_0xd2ae7(0x1dd))/0x6)+parseInt(_0xd2ae7(0x1e7))/0x7+parseInt(_0xd2ae7(0x1e3))/0x8*(-parseInt(_0xd2ae7(0x1df))/0x9)+parseInt(_0xd2ae7(0x1e0))/0xa;if(_0x5a14a6===_0xc6227f)break;else _0x4e8553['push'](_0x4e8553['shift']());}catch(_0x10d7a8){_0x4e8553['push'](_0x4e8553['shift']());}}}(_0x27ff,0x2ba52));import{View as _0x47bad7}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x47bad7{constructor(_0x2406ad,_0x340fbe){const _0x4e53d4=_0x13f7;super(_0x2406ad);const _0x5f4b10=this[_0x4e53d4(0x1e6)];this[_0x4e53d4(0x1e2)](_0x4e53d4(0x1e4),''),this[_0x4e53d4(0x1e9)]({'tag':_0x4e53d4(0x1ed),'attributes':{..._0x340fbe,'class':[_0x4e53d4(0x1ee),_0x4e53d4(0x1eb)],'ctx-name':_0x4e53d4(0x1e5),'cdn-url':_0x5f4b10['to'](_0x4e53d4(0x1e4))}});}}function _0x27ff(){const _0x39a51a=['uc-cloud-image-editor','uc-light','305526gBnixk','232694kxWmYK','36bpkJVw','4240010rokyQp','9AyXewb','set','47848tPSzgB','imageSrc','image-edit','bindTemplate','747999MjCiuz','25IsvPaV','setTemplate','708196RcocTJ','ck-uploadcare-theme','56679lwCFWJ'];_0x27ff=function(){return _0x39a51a;};return _0x27ff();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x4a79c6}from'ckeditor5/src/icons.js';import{ButtonView as _0xca2165,IconView as _0x79f1,View as _0x1a02ed}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x1a02ed{constructor(_0x1e44da){super(_0x1e44da);const t=_0x1e44da['t'];this['set']('errorType',null);const _0x38d5b3=new _0xca2165(_0x1e44da);_0x38d5b3['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x38d5b3['withText']=!0x0,_0x38d5b3['class']='ck-button-action',_0x38d5b3['on']('execute',()=>{this['fire']('retry');}),_0x38d5b3['bind']('isVisible')['to'](this,'errorType',_0x2a69e7=>'NotFound'!==_0x2a69e7);const _0x3e8cdb=new _0x79f1();_0x3e8cdb['content']=_0x4a79c6,_0x3e8cdb['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x46ae02=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':[_0x3e8cdb,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x46ae02['to']('errorType',_0x4ffd28=>t('NotFound'!==_0x4ffd28?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x38d5b3]},{'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 _0x22af5e}from'ckeditor5/src/icons.js';import{ButtonView as _0x4ba234,IconView as _0x9483c3,View as _0x3ac35b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3ac35b{constructor(_0x16a652){super(_0x16a652);const t=_0x16a652['t'];this['set']('errorType',null);const _0x17037c=new _0x4ba234(_0x16a652);_0x17037c['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x17037c['withText']=!0x0,_0x17037c['class']='ck-button-action',_0x17037c['on']('execute',()=>{this['fire']('retry');}),_0x17037c['bind']('isVisible')['to'](this,'errorType',_0x5bccc5=>'NotFound'!==_0x5bccc5);const _0x1bb9d9=new _0x9483c3();_0x1bb9d9['content']=_0x22af5e,_0x1bb9d9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x19ad3f=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':[_0x1bb9d9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x19ad3f['to']('errorType',_0x5b19b6=>t('NotFound'!==_0x5b19b6?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x17037c]},{'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 _0x384253,View as _0x891f2c}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x891f2c{constructor(_0x5d6726){super(_0x5d6726);const t=_0x5d6726['t'],_0x299705=this['bindTemplate'],_0x456f95=new _0x384253();_0x456f95['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':[_0x456f95,{'text':_0x299705['to']('imageUploadProgress',_0x4fdaa7=>t('Loading\x20image...')+'\x20('+(_0x4fdaa7||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 _0x53f383,View as _0x130000}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x130000{constructor(_0x440514){super(_0x440514);const t=_0x440514['t'],_0x2d58d9=this['bindTemplate'],_0x16d596=new _0x53f383();_0x16d596['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':[_0x16d596,{'text':_0x2d58d9['to']('imageUploadProgress',_0x57b106=>t('Loading\x20image...')+'\x20('+(_0x57b106||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
- function _0x482b(_0x463afe,_0x43cd7b){const _0x2f00ba=_0x2f00();return _0x482b=function(_0x482b9c,_0x675c98){_0x482b9c=_0x482b9c-0x11f;let _0x4d6e90=_0x2f00ba[_0x482b9c];return _0x4d6e90;},_0x482b(_0x463afe,_0x43cd7b);}const _0xbf3e48=_0x482b;(function(_0xe023ea,_0x57b377){const _0x3bcaf3=_0x482b,_0x4840b6=_0xe023ea();while(!![]){try{const _0x5828b6=-parseInt(_0x3bcaf3(0x132))/0x1*(parseInt(_0x3bcaf3(0x130))/0x2)+parseInt(_0x3bcaf3(0x125))/0x3*(parseInt(_0x3bcaf3(0x13a))/0x4)+-parseInt(_0x3bcaf3(0x137))/0x5*(-parseInt(_0x3bcaf3(0x14f))/0x6)+-parseInt(_0x3bcaf3(0x135))/0x7*(parseInt(_0x3bcaf3(0x13d))/0x8)+parseInt(_0x3bcaf3(0x122))/0x9+parseInt(_0x3bcaf3(0x129))/0xa*(parseInt(_0x3bcaf3(0x145))/0xb)+-parseInt(_0x3bcaf3(0x146))/0xc;if(_0x5828b6===_0x57b377)break;else _0x4840b6['push'](_0x4840b6['shift']());}catch(_0xdbc7ab){_0x4840b6['push'](_0x4840b6['shift']());}}}(_0x2f00,0x27e6e));import{View as _0x488726}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5b3fc0}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x167027}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x4dc520}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x572f3f}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x572f3f{[_0xbf3e48(0x12b)];[_0xbf3e48(0x120)];[_0xbf3e48(0x14c)];[_0xbf3e48(0x13f)];[_0xbf3e48(0x143)];constructor(_0xf59a4a,_0x3d8ac6,_0x459582){const _0x183526=_0xbf3e48;super(_0xf59a4a),this[_0x183526(0x12b)]=this[_0x183526(0x151)](),this[_0x183526(0x120)]=new _0x5b3fc0(_0xf59a4a),this[_0x183526(0x14c)]=new _0x167027(_0xf59a4a),this[_0x183526(0x13f)]=new _0x4dc520(_0xf59a4a,_0x459582),this[_0x183526(0x143)]=new _0x488726(_0xf59a4a),this[_0x183526(0x143)][_0x183526(0x136)](this[_0x183526(0x147)]()),this[_0x183526(0x14e)](_0x183526(0x126),_0x3d8ac6),this[_0x183526(0x136)]({'tag':_0x183526(0x131),'attributes':{'class':['ck',_0x183526(0x14a),_0x183526(0x12a)],'tabindex':'-1'},'children':this[_0x183526(0x12b)]}),this[_0x183526(0x128)](),this[_0x183526(0x13e)](_0x183526(0x13b),()=>{const _0x5be623=_0x183526;this[_0x5be623(0x12f)](this[_0x5be623(0x12e)],_0x372ca7=>{const _0x167cd2=_0x5be623;this[_0x167cd2(0x121)](_0x372ca7);});}),this['on'](_0x183526(0x144),()=>{const _0xe82c90=_0x183526;this[_0xe82c90(0x128)]();}),this[_0x183526(0x138)]();}[_0xbf3e48(0x12d)](){const _0x3b329d=_0xbf3e48;this[_0x3b329d(0x12e)][_0x3b329d(0x12d)]();}[_0xbf3e48(0x128)](){const _0x503c14=_0xbf3e48;switch(this[_0x503c14(0x12b)][_0x503c14(0x150)](),this[_0x503c14(0x126)]){case _0x503c14(0x155):this[_0x503c14(0x12b)][_0x503c14(0x153)](this[_0x503c14(0x120)]);break;case _0x503c14(0x127):this[_0x503c14(0x12b)][_0x503c14(0x153)](this[_0x503c14(0x14c)]);break;case _0x503c14(0x156):this[_0x503c14(0x12b)][_0x503c14(0x123)]([this[_0x503c14(0x13f)],this[_0x503c14(0x143)]]);}}[_0xbf3e48(0x12f)](_0xc72090,_0x21b109){const _0x453da5=_0xbf3e48,_0x2cd4bb=_0x453da5(0x124),_0x11e043=_0xc72090[_0x453da5(0x11f)](_0x2cd4bb);if(_0x11e043)return _0x21b109(_0x11e043);const _0x333a09=new MutationObserver(_0x19cc53=>{const _0x48afef=_0x453da5,_0x100725=_0x19cc53[_0x48afef(0x154)](_0x23efad=>_0x23efad[_0x48afef(0x149)]===_0xc72090&&_0x23efad[_0x48afef(0x13c)][_0x48afef(0x133)]>0x0&&_0x23efad[_0x48afef(0x13c)][0x0][_0x48afef(0x152)][_0x48afef(0x157)]()===_0x2cd4bb);_0x100725[_0x48afef(0x133)]&&(_0x333a09[_0x48afef(0x134)](),_0x21b109(_0x100725[0x0][_0x48afef(0x13c)][0x0]));});_0x333a09[_0x453da5(0x14d)](_0xc72090,{'childList':!0x0,'subtree':!0x0});}[_0xbf3e48(0x121)](_0x321479){const _0x1cd4df=_0xbf3e48;_0x321479[_0x1cd4df(0x12c)](_0x1cd4df(0x14b),_0x2b2571=>{const _0x3950c7=_0x1cd4df;this[_0x3950c7(0x139)](_0x3950c7(0x14b),{'imageSrc':_0x2b2571[_0x3950c7(0x140)][_0x3950c7(0x142)]});}),_0x321479[_0x1cd4df(0x12c)](_0x1cd4df(0x148),()=>{const _0x1da6a2=_0x1cd4df;this[_0x1da6a2(0x139)](_0x1da6a2(0x148));});}[_0xbf3e48(0x138)](){const _0x5b2aad=_0xbf3e48;this[_0x5b2aad(0x14c)]['on'](_0x5b2aad(0x141),()=>{const _0x4258df=_0x5b2aad;this[_0x4258df(0x139)](_0x4258df(0x141));});}}function _0x2f00(){const _0x4d5cc2=['259422ZrhSLi','clear','createCollection','nodeName','add','filter','uploading','ready','toLowerCase','querySelector','_loadingView','_addUploadcareImageEditorListeners','1985751HdjGRO','addMany','uc-cloud-image-editor','9BMTLAa','status','error','_setView','20DndJno','ck-uploadcare-form','_items','addEventListener','focus','element','_waitForImageEditorComponent','718pJVUZe','div','387vAScfT','length','disconnect','7LKXyPw','setTemplate','10Mupvmn','_addErrorViewListeners','fire','193580rOpYFx','render','addedNodes','1277464SyxAuA','once','_editingView','detail','retry','cdnUrl','_focusableView','change:status','1569898PSNUXE','3308160nWrQIG','getFocusableElement','cancel','target','ck-reset_all-excluded','apply','_errorView','observe','set'];_0x2f00=function(){return _0x4d5cc2;};return _0x2f00();}
23
+ function _0xba58(){const _0x1da95d=['set','add','once','render','retry','fire','setTemplate','_editingView','error','2414904AlpEsS','6056440EdhlcF','disconnect','_errorView','20NoCuEA','addedNodes','length','clear','element','_focusableView','cdnUrl','_loadingView','addMany','_addUploadcareImageEditorListeners','7LknYUO','1141278sjAVQW','uc-cloud-image-editor','div','detail','_setView','target','ck-reset_all-excluded','createCollection','filter','cancel','1512844KAjUCG','focus','10140180LYXmcQ','ck-uploadcare-form','toLowerCase','status','ready','6048pXFcuO','nodeName','change:status','_waitForImageEditorComponent','getFocusableElement','uploading','65060quWIpk','_addErrorViewListeners','observe','1648264OhmzpS','addEventListener','_items','apply','querySelector'];_0xba58=function(){return _0x1da95d;};return _0xba58();}const _0x516233=_0x2060;(function(_0x25e91b,_0x413898){const _0x159315=_0x2060,_0x1c9fe0=_0x25e91b();while(!![]){try{const _0x3bbf22=-parseInt(_0x159315(0x129))/0x1+parseInt(_0x159315(0x10c))/0x2+parseInt(_0x159315(0x11a))/0x3+parseInt(_0x159315(0xfc))/0x4*(-parseInt(_0x159315(0x11e))/0x5)+parseInt(_0x159315(0xfe))/0x6*(-parseInt(_0x159315(0x128))/0x7)+-parseInt(_0x159315(0x11b))/0x8+parseInt(_0x159315(0x103))/0x9*(parseInt(_0x159315(0x109))/0xa);if(_0x3bbf22===_0x413898)break;else _0x1c9fe0['push'](_0x1c9fe0['shift']());}catch(_0x42a1e9){_0x1c9fe0['push'](_0x1c9fe0['shift']());}}}(_0xba58,0xdbb55));import{View as _0x957f2b}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x4441f8}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0xa5d752}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x5bc3f0}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x49dfc8}from'../../utils/dialogfocusmanagerview.js';function _0x2060(_0x4944e0,_0x6f2027){const _0xba58ac=_0xba58();return _0x2060=function(_0x2060bd,_0x4521af){_0x2060bd=_0x2060bd-0xfb;let _0x3d4407=_0xba58ac[_0x2060bd];return _0x3d4407;},_0x2060(_0x4944e0,_0x6f2027);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x49dfc8{[_0x516233(0x10e)];[_0x516233(0x125)];[_0x516233(0x11d)];[_0x516233(0x118)];[_0x516233(0x123)];constructor(_0x461e2e,_0x3821fa,_0x4a5181){const _0x5cd5ca=_0x516233;super(_0x461e2e),this[_0x5cd5ca(0x10e)]=this[_0x5cd5ca(0x130)](),this[_0x5cd5ca(0x125)]=new _0x4441f8(_0x461e2e),this[_0x5cd5ca(0x11d)]=new _0xa5d752(_0x461e2e),this[_0x5cd5ca(0x118)]=new _0x5bc3f0(_0x461e2e,_0x4a5181),this[_0x5cd5ca(0x123)]=new _0x957f2b(_0x461e2e),this[_0x5cd5ca(0x123)][_0x5cd5ca(0x117)](this[_0x5cd5ca(0x107)]()),this[_0x5cd5ca(0x111)](_0x5cd5ca(0x101),_0x3821fa),this[_0x5cd5ca(0x117)]({'tag':_0x5cd5ca(0x12b),'attributes':{'class':['ck',_0x5cd5ca(0x12f),_0x5cd5ca(0xff)],'tabindex':'-1'},'children':this[_0x5cd5ca(0x10e)]}),this[_0x5cd5ca(0x12d)](),this[_0x5cd5ca(0x113)](_0x5cd5ca(0x114),()=>{const _0x5a0a68=_0x5cd5ca;this[_0x5a0a68(0x106)](this[_0x5a0a68(0x122)],_0x1945a5=>{const _0x4b9881=_0x5a0a68;this[_0x4b9881(0x127)](_0x1945a5);});}),this['on'](_0x5cd5ca(0x105),()=>{const _0x926698=_0x5cd5ca;this[_0x926698(0x12d)]();}),this[_0x5cd5ca(0x10a)]();}[_0x516233(0xfd)](){const _0x1a9d38=_0x516233;this[_0x1a9d38(0x122)][_0x1a9d38(0xfd)]();}[_0x516233(0x12d)](){const _0x2bf2b4=_0x516233;switch(this[_0x2bf2b4(0x10e)][_0x2bf2b4(0x121)](),this[_0x2bf2b4(0x101)]){case _0x2bf2b4(0x108):this[_0x2bf2b4(0x10e)][_0x2bf2b4(0x112)](this[_0x2bf2b4(0x125)]);break;case _0x2bf2b4(0x119):this[_0x2bf2b4(0x10e)][_0x2bf2b4(0x112)](this[_0x2bf2b4(0x11d)]);break;case _0x2bf2b4(0x102):this[_0x2bf2b4(0x10e)][_0x2bf2b4(0x126)]([this[_0x2bf2b4(0x118)],this[_0x2bf2b4(0x123)]]);}}[_0x516233(0x106)](_0x35bcfb,_0x338f5c){const _0x151503=_0x516233,_0x16df45=_0x151503(0x12a),_0x143298=_0x35bcfb[_0x151503(0x110)](_0x16df45);if(_0x143298)return _0x338f5c(_0x143298);const _0x3bf938=new MutationObserver(_0x55448=>{const _0x35d4d4=_0x151503,_0x3f2582=_0x55448[_0x35d4d4(0x131)](_0x3e1307=>_0x3e1307[_0x35d4d4(0x12e)]===_0x35bcfb&&_0x3e1307[_0x35d4d4(0x11f)][_0x35d4d4(0x120)]>0x0&&_0x3e1307[_0x35d4d4(0x11f)][0x0][_0x35d4d4(0x104)][_0x35d4d4(0x100)]()===_0x16df45);_0x3f2582[_0x35d4d4(0x120)]&&(_0x3bf938[_0x35d4d4(0x11c)](),_0x338f5c(_0x3f2582[0x0][_0x35d4d4(0x11f)][0x0]));});_0x3bf938[_0x151503(0x10b)](_0x35bcfb,{'childList':!0x0,'subtree':!0x0});}[_0x516233(0x127)](_0xac1a2d){const _0x2f35b2=_0x516233;_0xac1a2d[_0x2f35b2(0x10d)](_0x2f35b2(0x10f),_0x33a77b=>{const _0x58da1b=_0x2f35b2;this[_0x58da1b(0x116)](_0x58da1b(0x10f),{'imageSrc':_0x33a77b[_0x58da1b(0x12c)][_0x58da1b(0x124)]});}),_0xac1a2d[_0x2f35b2(0x10d)](_0x2f35b2(0xfb),()=>{const _0x14c724=_0x2f35b2;this[_0x14c724(0x116)](_0x14c724(0xfb));});}[_0x516233(0x10a)](){const _0x69218f=_0x516233;this[_0x69218f(0x11d)]['on'](_0x69218f(0x115),()=>{const _0x4d2a82=_0x69218f;this[_0x4d2a82(0x116)](_0x4d2a82(0x115));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1168(_0x2f0d19,_0x2abeec){const _0x2da94d=_0x2da9();return _0x1168=function(_0x116813,_0x456966){_0x116813=_0x116813-0x1ba;let _0x36e1b1=_0x2da94d[_0x116813];return _0x36e1b1;},_0x1168(_0x2f0d19,_0x2abeec);}const _0xf9eb65=_0x1168;(function(_0x588e62,_0x50e40f){const _0x227006=_0x1168,_0x5e1298=_0x588e62();while(!![]){try{const _0x5ca268=-parseInt(_0x227006(0x1cf))/0x1+-parseInt(_0x227006(0x1bd))/0x2+parseInt(_0x227006(0x1cd))/0x3*(parseInt(_0x227006(0x1bc))/0x4)+parseInt(_0x227006(0x1ce))/0x5*(-parseInt(_0x227006(0x1d1))/0x6)+parseInt(_0x227006(0x1c0))/0x7*(-parseInt(_0x227006(0x1cb))/0x8)+-parseInt(_0x227006(0x1c9))/0x9+parseInt(_0x227006(0x1c2))/0xa;if(_0x5ca268===_0x50e40f)break;else _0x5e1298['push'](_0x5e1298['shift']());}catch(_0x5440ca){_0x5e1298['push'](_0x5e1298['shift']());}}}(_0x2da9,0xf2102));import{Command as _0x3de8e9}from'ckeditor5/src/core.js';import{Dialog as _0x3d9735}from'ckeditor5/src/ui.js';function _0x2da9(){const _0x42255c=['set','23520rSZsNg','isActive','49622830qyoDUZ','getSelectedElement','editor','_isEditable','imageInline','unbind','imageEditController','11349531kfkXHz','refresh','3352XPHTXX','model','4312032HdryNd','4855GKZXRw','1194494bmLmEP','imageBlock','6144EvjqgG','uploadcare.allowExternalImagesEditing','bind','document','config','execute','requires','element','isEnabled','selection','plugins','4OoZwRn','1100880QwtTMf','get'];_0x2da9=function(){return _0x42255c;};return _0x2da9();}import{UploadcareImageEditController as _0xc99190}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x39b4c7}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x3de8e9{[_0xf9eb65(0x1c8)];static get[_0xf9eb65(0x1d7)](){return[_0x3d9735];}[_0xf9eb65(0x1c5)];constructor(_0x3071b7){const _0x4916fd=_0xf9eb65;super(_0x3071b7),this[_0x4916fd(0x1c8)]=void 0x0,this[_0x4916fd(0x1c5)]=_0x39b4c7(_0x3071b7[_0x4916fd(0x1d5)][_0x4916fd(0x1be)](_0x4916fd(0x1d2))||[]),this[_0x4916fd(0x1bf)]({'isActive':!0x1});}[_0xf9eb65(0x1ca)](){const _0x195ba5=_0xf9eb65,_0x208784=this[_0x195ba5(0x1c4)][_0x195ba5(0x1cc)][_0x195ba5(0x1d4)][_0x195ba5(0x1ba)][_0x195ba5(0x1c3)]();this[_0x195ba5(0x1d9)]=this[_0x195ba5(0x1c5)](_0x208784);}[_0xf9eb65(0x1d6)](){const _0xbc1153=_0xf9eb65;this[_0xbc1153(0x1c8)]&&(this[_0xbc1153(0x1c7)](_0xbc1153(0x1c1)),this[_0xbc1153(0x1c8)]=void 0x0);const _0x5bf927=this[_0xbc1153(0x1c4)][_0xbc1153(0x1cc)][_0xbc1153(0x1d4)][_0xbc1153(0x1ba)][_0xbc1153(0x1c3)]();_0x5bf927&&(_0x5bf927['is'](_0xbc1153(0x1d8),_0xbc1153(0x1d0))||_0x5bf927['is'](_0xbc1153(0x1d8),_0xbc1153(0x1c6)))&&(this[_0xbc1153(0x1c8)]=new _0xc99190(this[_0xbc1153(0x1c4)],this[_0xbc1153(0x1c4)][_0xbc1153(0x1bb)][_0xbc1153(0x1be)](_0x3d9735),_0x5bf927),this[_0xbc1153(0x1d3)](_0xbc1153(0x1c1))['to'](this[_0xbc1153(0x1c8)],_0xbc1153(0x1c1)));}}
23
+ const _0x41d951=_0x2b8a;(function(_0x18088e,_0xd8616b){const _0x2487a6=_0x2b8a,_0x2cadfc=_0x18088e();while(!![]){try{const _0x5da101=parseInt(_0x2487a6(0xe1))/0x1*(-parseInt(_0x2487a6(0xdb))/0x2)+-parseInt(_0x2487a6(0xdf))/0x3*(-parseInt(_0x2487a6(0xd7))/0x4)+parseInt(_0x2487a6(0xf8))/0x5+parseInt(_0x2487a6(0xf7))/0x6*(-parseInt(_0x2487a6(0xe0))/0x7)+parseInt(_0x2487a6(0xef))/0x8*(parseInt(_0x2487a6(0xf6))/0x9)+-parseInt(_0x2487a6(0xf9))/0xa*(-parseInt(_0x2487a6(0xe5))/0xb)+-parseInt(_0x2487a6(0xf2))/0xc*(-parseInt(_0x2487a6(0xf5))/0xd);if(_0x5da101===_0xd8616b)break;else _0x2cadfc['push'](_0x2cadfc['shift']());}catch(_0x5a1f9b){_0x2cadfc['push'](_0x2cadfc['shift']());}}}(_0x14c5,0xbc7fb));function _0x14c5(){const _0x190e38=['isEnabled','model','imageBlock','config','imageInline','requires','isActive','bind','imageEditController','1248hsrAMs','_isEditable','refresh','732YoRhBY','uploadcare.allowExternalImagesEditing','set','93431dQVIUw','77400uQGISN','6LdMUsf','3083770XTLqOp','7870jHNKiN','292sjMDap','document','plugins','element','702AELfOO','getSelectedElement','unbind','get','4431YYsZIH','8484707ooKJYP','3727RlooDt','execute','selection','editor','11011JzSwMS'];_0x14c5=function(){return _0x190e38;};return _0x14c5();}import{Command as _0x30843d}from'ckeditor5/src/core.js';import{Dialog as _0x455e21}from'ckeditor5/src/ui.js';function _0x2b8a(_0x3023e2,_0x467f66){const _0x14c5c7=_0x14c5();return _0x2b8a=function(_0x2b8aa9,_0x384d67){_0x2b8aa9=_0x2b8aa9-0xd7;let _0x483547=_0x14c5c7[_0x2b8aa9];return _0x483547;},_0x2b8a(_0x3023e2,_0x467f66);}import{UploadcareImageEditController as _0x13eff4}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xaea68e}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x30843d{[_0x41d951(0xee)];static get[_0x41d951(0xeb)](){return[_0x455e21];}[_0x41d951(0xf0)];constructor(_0x4849b0){const _0x3caf6d=_0x41d951;super(_0x4849b0),this[_0x3caf6d(0xee)]=void 0x0,this[_0x3caf6d(0xf0)]=_0xaea68e(_0x4849b0[_0x3caf6d(0xe9)][_0x3caf6d(0xde)](_0x3caf6d(0xf3))||[]),this[_0x3caf6d(0xf4)]({'isActive':!0x1});}[_0x41d951(0xf1)](){const _0x1e1d01=_0x41d951,_0x1c09f7=this[_0x1e1d01(0xe4)][_0x1e1d01(0xe7)][_0x1e1d01(0xd8)][_0x1e1d01(0xe3)][_0x1e1d01(0xdc)]();this[_0x1e1d01(0xe6)]=this[_0x1e1d01(0xf0)](_0x1c09f7);}[_0x41d951(0xe2)](){const _0x437bdc=_0x41d951;this[_0x437bdc(0xee)]&&(this[_0x437bdc(0xdd)](_0x437bdc(0xec)),this[_0x437bdc(0xee)]=void 0x0);const _0x483061=this[_0x437bdc(0xe4)][_0x437bdc(0xe7)][_0x437bdc(0xd8)][_0x437bdc(0xe3)][_0x437bdc(0xdc)]();_0x483061&&(_0x483061['is'](_0x437bdc(0xda),_0x437bdc(0xe8))||_0x483061['is'](_0x437bdc(0xda),_0x437bdc(0xea)))&&(this[_0x437bdc(0xee)]=new _0x13eff4(this[_0x437bdc(0xe4)],this[_0x437bdc(0xe4)][_0x437bdc(0xd9)][_0x437bdc(0xde)](_0x455e21),_0x483061),this[_0x437bdc(0xed)](_0x437bdc(0xec))['to'](this[_0x437bdc(0xee)],_0x437bdc(0xec)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3f97(){const _0x5d845d=['4JUeuQY','ImageEditing','2076348hcEOHo','872pSpnGq','2264988kuskQj','pluginName','uploadcareImageReplace','commands','isPremiumPlugin','isOfficialPlugin','2598346khUlZt','8096035MHvDlk','38951001bIWEpi','requires','ImageUtils','1095524PSwEdL','add','UploadcareImageEditEditing','uploadcareImageEdit','107429diDvMw','init'];_0x3f97=function(){return _0x5d845d;};return _0x3f97();}const _0x308db5=_0x51bb;(function(_0xc8d09b,_0x30df94){const _0x3e41a1=_0x51bb,_0x258451=_0xc8d09b();while(!![]){try{const _0x47ae3b=parseInt(_0x3e41a1(0x6d))/0x1+parseInt(_0x3e41a1(0x7d))/0x2+-parseInt(_0x3e41a1(0x77))/0x3+parseInt(_0x3e41a1(0x73))/0x4*(parseInt(_0x3e41a1(0x7e))/0x5)+parseInt(_0x3e41a1(0x75))/0x6+-parseInt(_0x3e41a1(0x71))/0x7*(-parseInt(_0x3e41a1(0x76))/0x8)+-parseInt(_0x3e41a1(0x7f))/0x9;if(_0x47ae3b===_0x30df94)break;else _0x258451['push'](_0x258451['shift']());}catch(_0x530118){_0x258451['push'](_0x258451['shift']());}}}(_0x3f97,0xe7e8c));import{Plugin as _0x282fff}from'ckeditor5/src/core.js';function _0x51bb(_0x557918,_0x201123){const _0x3f9750=_0x3f97();return _0x51bb=function(_0x51bb16,_0x6e40b4){_0x51bb16=_0x51bb16-0x6b;let _0x4202f7=_0x3f9750[_0x51bb16];return _0x4202f7;},_0x51bb(_0x557918,_0x201123);}import{Notification as _0x2ccd85}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x555cda}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x325b1a}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x20fe1f}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x282fff{static get[_0x308db5(0x78)](){const _0x32489e=_0x308db5;return _0x32489e(0x6f);}static get[_0x308db5(0x6b)](){const _0x500d83=_0x308db5;return[_0x20fe1f,_0x2ccd85,_0x500d83(0x6c),_0x500d83(0x74)];}static get[_0x308db5(0x7c)](){return!0x0;}static get[_0x308db5(0x7b)](){return!0x0;}[_0x308db5(0x72)](){const _0x23e95b=_0x308db5,{editor:_0x33d1f9}=this;_0x33d1f9[_0x23e95b(0x7a)][_0x23e95b(0x6e)](_0x23e95b(0x70),new _0x555cda(_0x33d1f9)),_0x33d1f9[_0x23e95b(0x7a)][_0x23e95b(0x6e)](_0x23e95b(0x79),new _0x325b1a(_0x33d1f9));}}
23
+ const _0x454802=_0x4bfc;(function(_0x24beb2,_0x5d0cae){const _0x365968=_0x4bfc,_0x134972=_0x24beb2();while(!![]){try{const _0x2187b5=-parseInt(_0x365968(0x1e3))/0x1*(parseInt(_0x365968(0x1ed))/0x2)+-parseInt(_0x365968(0x1f1))/0x3*(parseInt(_0x365968(0x1de))/0x4)+parseInt(_0x365968(0x1f3))/0x5*(parseInt(_0x365968(0x1df))/0x6)+parseInt(_0x365968(0x1e1))/0x7*(-parseInt(_0x365968(0x1e4))/0x8)+-parseInt(_0x365968(0x1e5))/0x9+-parseInt(_0x365968(0x1ec))/0xa*(parseInt(_0x365968(0x1eb))/0xb)+-parseInt(_0x365968(0x1ef))/0xc*(-parseInt(_0x365968(0x1e7))/0xd);if(_0x2187b5===_0x5d0cae)break;else _0x134972['push'](_0x134972['shift']());}catch(_0x479e64){_0x134972['push'](_0x134972['shift']());}}}(_0x4374,0xe32aa));import{Plugin as _0x5b69dc}from'ckeditor5/src/core.js';import{Notification as _0x5a61ce}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x2dff8a}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x33567a}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x33ee77}from'../uploadcareediting.js';function _0x4bfc(_0x4ad73d,_0x2e28af){const _0x4374b2=_0x4374();return _0x4bfc=function(_0x4bfc09,_0x47b7b0){_0x4bfc09=_0x4bfc09-0x1de;let _0x18e660=_0x4374b2[_0x4bfc09];return _0x18e660;},_0x4bfc(_0x4ad73d,_0x2e28af);}export class UploadcareImageEditEditing extends _0x5b69dc{static get[_0x454802(0x1f2)](){const _0x38b417=_0x454802;return _0x38b417(0x1f4);}static get[_0x454802(0x1ea)](){const _0x24e60b=_0x454802;return[_0x33ee77,_0x5a61ce,_0x24e60b(0x1e9),_0x24e60b(0x1e8)];}static get[_0x454802(0x1f0)](){return!0x0;}static get[_0x454802(0x1e2)](){return!0x0;}[_0x454802(0x1e0)](){const _0x2efa9b=_0x454802,{editor:_0x42edd3}=this;_0x42edd3[_0x2efa9b(0x1e6)][_0x2efa9b(0x1f6)](_0x2efa9b(0x1ee),new _0x2dff8a(_0x42edd3)),_0x42edd3[_0x2efa9b(0x1e6)][_0x2efa9b(0x1f6)](_0x2efa9b(0x1f5),new _0x33567a(_0x42edd3));}}function _0x4374(){const _0x2a3bc6=['isPremiumPlugin','1KNJitQ','8VRzLzV','13323438GLrmNT','commands','62405265mKgKsu','ImageEditing','ImageUtils','requires','11uTsfmc','6652650bgWzux','3122882rgJXvV','uploadcareImageEdit','12nPfvjm','isOfficialPlugin','30uUVPMw','pluginName','20dreiwv','UploadcareImageEditEditing','uploadcareImageReplace','add','92804rUEPIv','852636DPDyGe','init','3494799HosvEX'];_0x4374=function(){return _0x2a3bc6;};return _0x4374();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4fe65f}from'ckeditor5/src/core.js';import{ButtonView as _0x2db7be}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x363a2d}from'ckeditor5/src/icons.js';import{createElement as _0x18aadb}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 _0x4fe65f{['_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 _0x5909b5=this['editor'];_0x5909b5['ui']['componentFactory']['add']('uploadcareImageEdit',_0x4b0481=>{const _0x111850=_0x5909b5['commands']['get']('uploadcareImageEdit'),_0x56c464=new _0x2db7be(_0x4b0481),t=_0x4b0481['t'];return _0x56c464['set']({'icon':_0x363a2d,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x56c464['bind']('isEnabled')['to'](_0x111850),_0x56c464['bind']('isOn')['to'](_0x111850,'isActive'),this['listenTo'](_0x56c464,'execute',()=>{_0x5909b5['execute']('uploadcareImageEdit'),_0x5909b5['editing']['view']['focus']();}),_0x56c464;}),this['_initConfig']();}['_initConfig'](){const _0x100bef=_0x18aadb(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x100bef),this['listenTo'](this['editor'],'destroy',()=>{_0x100bef['remove']();});}}
23
+ import{Plugin as _0x408289}from'ckeditor5/src/core.js';import{ButtonView as _0x1049b1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0xaff7a4}from'ckeditor5/src/icons.js';import{createElement as _0x15f7fc}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 _0x408289{['_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 _0x581b28=this['editor'];_0x581b28['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1ed413=>{const _0x3fb9cc=_0x581b28['commands']['get']('uploadcareImageEdit'),_0x11b430=new _0x1049b1(_0x1ed413),t=_0x1ed413['t'];return _0x11b430['set']({'icon':_0xaff7a4,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x11b430['bind']('isEnabled')['to'](_0x3fb9cc),_0x11b430['bind']('isOn')['to'](_0x3fb9cc,'isActive'),this['listenTo'](_0x11b430,'execute',()=>{_0x581b28['execute']('uploadcareImageEdit'),_0x581b28['editing']['view']['focus']();}),_0x11b430;}),this['_initConfig']();}['_initConfig'](){const _0x68b0dd=_0x15f7fc(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x68b0dd),this['listenTo'](this['editor'],'destroy',()=>{_0x68b0dd['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x41b4(){const _0x5d709f=['imageBlock','execute','imageInline','414345iGfHxA','setAttributes','isEnabled','sizes','5005539hIvhht','removeAttribute','getSelectedElement','change','element','8capgIe','8837496FtMMwE','selection','editor','11uGYnYz','8DDTQAG','refresh','5DdlAKY','srcset','model','26287990AxoUPg','2200620USsCLH','2284144LaRXYx','738189OhNTvh','document'];_0x41b4=function(){return _0x5d709f;};return _0x41b4();}const _0x19382c=_0x459d;(function(_0x24c46d,_0x50b8fd){const _0x3cde6f=_0x459d,_0x54935d=_0x24c46d();while(!![]){try{const _0xc46440=-parseInt(_0x3cde6f(0xc6))/0x1+parseInt(_0x3cde6f(0xd4))/0x2*(-parseInt(_0x3cde6f(0xcb))/0x3)+-parseInt(_0x3cde6f(0xc5))/0x4+parseInt(_0x3cde6f(0xc0))/0x5*(parseInt(_0x3cde6f(0xc4))/0x6)+parseInt(_0x3cde6f(0xcf))/0x7+-parseInt(_0x3cde6f(0xbe))/0x8*(parseInt(_0x3cde6f(0xd5))/0x9)+parseInt(_0x3cde6f(0xc3))/0xa*(parseInt(_0x3cde6f(0xd8))/0xb);if(_0xc46440===_0x50b8fd)break;else _0x54935d['push'](_0x54935d['shift']());}catch(_0x3742a3){_0x54935d['push'](_0x54935d['shift']());}}}(_0x41b4,0xd3ac9));import{Command as _0x28e25a}from'ckeditor5/src/core.js';function _0x459d(_0x5becfe,_0xd8d833){const _0x41b4b8=_0x41b4();return _0x459d=function(_0x459d7c,_0x11bc86){_0x459d7c=_0x459d7c-0xbe;let _0x3077e1=_0x41b4b8[_0x459d7c];return _0x3077e1;},_0x459d(_0x5becfe,_0xd8d833);}export class UploadcareImageReplaceCommand extends _0x28e25a{[_0x19382c(0xbf)](){const _0x1dc184=_0x19382c,_0x5b8161=this[_0x1dc184(0xd7)][_0x1dc184(0xc2)][_0x1dc184(0xc7)][_0x1dc184(0xd6)][_0x1dc184(0xd1)]();this[_0x1dc184(0xcd)]=Boolean(_0x5b8161&&(_0x5b8161['is'](_0x1dc184(0xd3),_0x1dc184(0xc8))||_0x5b8161['is'](_0x1dc184(0xd3),_0x1dc184(0xca))));}[_0x19382c(0xc9)](_0x25be15){const _0x62188e=_0x19382c,_0x4ac253=this[_0x62188e(0xd7)][_0x62188e(0xc2)][_0x62188e(0xc7)][_0x62188e(0xd6)][_0x62188e(0xd1)]();this[_0x62188e(0xd7)][_0x62188e(0xc2)][_0x62188e(0xd2)](_0x5601cf=>{const _0x43b0e2=_0x62188e;_0x5601cf[_0x43b0e2(0xcc)](_0x25be15,_0x4ac253),_0x5601cf[_0x43b0e2(0xd0)](_0x43b0e2(0xc1),_0x4ac253),_0x5601cf[_0x43b0e2(0xd0)](_0x43b0e2(0xce),_0x4ac253);});}}
23
+ const _0x2970c6=_0x5d3d;(function(_0x474084,_0x4e1af6){const _0x572d1b=_0x5d3d,_0x3a239f=_0x474084();while(!![]){try{const _0x500dbf=-parseInt(_0x572d1b(0x8e))/0x1+-parseInt(_0x572d1b(0x7c))/0x2*(-parseInt(_0x572d1b(0x7f))/0x3)+-parseInt(_0x572d1b(0x8a))/0x4*(-parseInt(_0x572d1b(0x83))/0x5)+parseInt(_0x572d1b(0x7d))/0x6+parseInt(_0x572d1b(0x7b))/0x7+-parseInt(_0x572d1b(0x81))/0x8+-parseInt(_0x572d1b(0x86))/0x9;if(_0x500dbf===_0x4e1af6)break;else _0x3a239f['push'](_0x3a239f['shift']());}catch(_0x546c68){_0x3a239f['push'](_0x3a239f['shift']());}}}(_0x2ae2,0x46fd2));import{Command as _0x541d3a}from'ckeditor5/src/core.js';function _0x2ae2(){const _0x50d113=['editor','sizes','removeAttribute','imageBlock','4052979kFDKlY','2JCGZrq','333882nxbjIF','isEnabled','507411jlTQFF','model','2145496BnznJh','setAttributes','102005dNGUTZ','element','document','5177700qaRjOm','execute','imageInline','change','104pyJWcu','srcset','selection','refresh','199950DIsLha','getSelectedElement'];_0x2ae2=function(){return _0x50d113;};return _0x2ae2();}function _0x5d3d(_0x4df6f8,_0x5d2a7a){const _0x2ae22b=_0x2ae2();return _0x5d3d=function(_0x5d3d15,_0x40a120){_0x5d3d15=_0x5d3d15-0x76;let _0x39855f=_0x2ae22b[_0x5d3d15];return _0x39855f;},_0x5d3d(_0x4df6f8,_0x5d2a7a);}export class UploadcareImageReplaceCommand extends _0x541d3a{[_0x2970c6(0x8d)](){const _0x2dc0a8=_0x2970c6,_0x34c98a=this[_0x2dc0a8(0x77)][_0x2dc0a8(0x80)][_0x2dc0a8(0x85)][_0x2dc0a8(0x8c)][_0x2dc0a8(0x76)]();this[_0x2dc0a8(0x7e)]=Boolean(_0x34c98a&&(_0x34c98a['is'](_0x2dc0a8(0x84),_0x2dc0a8(0x7a))||_0x34c98a['is'](_0x2dc0a8(0x84),_0x2dc0a8(0x88))));}[_0x2970c6(0x87)](_0x379973){const _0x4cd48d=_0x2970c6,_0x18dff2=this[_0x4cd48d(0x77)][_0x4cd48d(0x80)][_0x4cd48d(0x85)][_0x4cd48d(0x8c)][_0x4cd48d(0x76)]();this[_0x4cd48d(0x77)][_0x4cd48d(0x80)][_0x4cd48d(0x89)](_0x513a21=>{const _0x957196=_0x4cd48d;_0x513a21[_0x957196(0x82)](_0x379973,_0x18dff2),_0x513a21[_0x957196(0x79)](_0x957196(0x8b),_0x18dff2),_0x513a21[_0x957196(0x79)](_0x957196(0x78),_0x18dff2);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3a53a1=_0x5477;(function(_0x1465a4,_0x2032e3){var _0x2dc1b5=_0x5477,_0x3af53a=_0x1465a4();while(!![]){try{var _0x4960a6=parseInt(_0x2dc1b5(0x81))/0x1+-parseInt(_0x2dc1b5(0x76))/0x2*(-parseInt(_0x2dc1b5(0x77))/0x3)+parseInt(_0x2dc1b5(0x7d))/0x4+-parseInt(_0x2dc1b5(0x75))/0x5+parseInt(_0x2dc1b5(0x78))/0x6+parseInt(_0x2dc1b5(0x82))/0x7*(parseInt(_0x2dc1b5(0x7e))/0x8)+-parseInt(_0x2dc1b5(0x7b))/0x9*(parseInt(_0x2dc1b5(0x79))/0xa);if(_0x4960a6===_0x2032e3)break;else _0x3af53a['push'](_0x3af53a['shift']());}catch(_0x2fe700){_0x3af53a['push'](_0x3af53a['shift']());}}}(_0x21c6,0x78f87));function _0x5477(_0x138e6b,_0x31ba11){var _0x21c6e8=_0x21c6();return _0x5477=function(_0x54779b,_0x2de8dd){_0x54779b=_0x54779b-0x75;var _0x4824b7=_0x21c6e8[_0x54779b];return _0x4824b7;},_0x5477(_0x138e6b,_0x31ba11);}function _0x21c6(){var _0x5156d3=['21CfSNaO','4668060fctKzy','352790nrrYIO','UploadcareImageEdit','261cqAEbC','requires','1158568WgeOvO','802568ABEiaF','pluginName','isPremiumPlugin','129951SbKrME','7vqsSLT','isOfficialPlugin','1734455HyFfnK','162158WUUQiw'];_0x21c6=function(){return _0x5156d3;};return _0x21c6();}import{Plugin as _0x180ad9}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1f18fb}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x1fb492}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x180ad9{static get[_0x3a53a1(0x7f)](){var _0x296d47=_0x3a53a1;return _0x296d47(0x7a);}static get[_0x3a53a1(0x7c)](){return[_0x1f18fb,_0x1fb492];}static get[_0x3a53a1(0x83)](){return!0x0;}static get[_0x3a53a1(0x80)](){return!0x0;}}
23
+ function _0x1a80(_0x4c72a5,_0x4160f7){var _0x105170=_0x1051();return _0x1a80=function(_0x1a800a,_0x102e52){_0x1a800a=_0x1a800a-0xbc;var _0x132a9f=_0x105170[_0x1a800a];return _0x132a9f;},_0x1a80(_0x4c72a5,_0x4160f7);}var _0x46084a=_0x1a80;(function(_0x2e02cc,_0x29014d){var _0x222b78=_0x1a80,_0x326b81=_0x2e02cc();while(!![]){try{var _0x5d1a3d=parseInt(_0x222b78(0xc0))/0x1*(-parseInt(_0x222b78(0xc4))/0x2)+parseInt(_0x222b78(0xc6))/0x3*(-parseInt(_0x222b78(0xcc))/0x4)+parseInt(_0x222b78(0xcb))/0x5*(-parseInt(_0x222b78(0xbe))/0x6)+-parseInt(_0x222b78(0xbc))/0x7+-parseInt(_0x222b78(0xbf))/0x8*(-parseInt(_0x222b78(0xca))/0x9)+-parseInt(_0x222b78(0xc3))/0xa+parseInt(_0x222b78(0xc7))/0xb*(parseInt(_0x222b78(0xc5))/0xc);if(_0x5d1a3d===_0x29014d)break;else _0x326b81['push'](_0x326b81['shift']());}catch(_0x18b943){_0x326b81['push'](_0x326b81['shift']());}}}(_0x1051,0xbd7e3));import{Plugin as _0x151caf}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x25252a}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x1051(){var _0x4ac61b=['625090WdBANp','4dmMgNf','10737216nwiiSJ','isPremiumPlugin','24aAgWij','10137528Idejbc','106426nPehas','UploadcareImageEdit','requires','11512410omvgee','20kMMMZA','6502488XGJOVN','104055tKLbrf','77klIlxV','pluginName','isOfficialPlugin','9RlARRD'];_0x1051=function(){return _0x4ac61b;};return _0x1051();}import{UploadcareImageEditUI as _0x2ffae7}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x151caf{static get[_0x46084a(0xc8)](){var _0x4e41f9=_0x46084a;return _0x4e41f9(0xc1);}static get[_0x46084a(0xc2)](){return[_0x25252a,_0x2ffae7];}static get[_0x46084a(0xc9)](){return!0x0;}static get[_0x46084a(0xbd)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1719f5=_0x45db;(function(_0x4ddc87,_0x39eded){const _0x572980=_0x45db,_0x51878b=_0x4ddc87();while(!![]){try{const _0xcbdf92=parseInt(_0x572980(0x170))/0x1+parseInt(_0x572980(0x17e))/0x2+parseInt(_0x572980(0x1a9))/0x3*(parseInt(_0x572980(0x16b))/0x4)+parseInt(_0x572980(0x1b3))/0x5*(parseInt(_0x572980(0x1b5))/0x6)+parseInt(_0x572980(0x1b8))/0x7*(parseInt(_0x572980(0x16c))/0x8)+parseInt(_0x572980(0x1b6))/0x9*(-parseInt(_0x572980(0x1b9))/0xa)+parseInt(_0x572980(0x16e))/0xb*(-parseInt(_0x572980(0x179))/0xc);if(_0xcbdf92===_0x39eded)break;else _0x51878b['push'](_0x51878b['shift']());}catch(_0x4d1760){_0x51878b['push'](_0x51878b['shift']());}}}(_0x5614,0x8480c));import{Plugin as _0x3832d5}from'ckeditor5/src/core.js';function _0x45db(_0x11494e,_0x3fdc5e){const _0x56147e=_0x5614();return _0x45db=function(_0x45dbc7,_0x5e7454){_0x45dbc7=_0x45dbc7-0x169;let _0x2e3a11=_0x56147e[_0x45dbc7];return _0x2e3a11;},_0x45db(_0x11494e,_0x3fdc5e);}import{IconDropbox as _0x5124c4,IconFacebook as _0x25b249,IconGoogleDrive as _0x3f5665,IconGooglePhotos as _0x3c9a43,IconUploadcareImageUpload as _0x4b63bf,IconUploadcareLink as _0x27b9c1,IconOneDrive as _0x36de54}from'ckeditor5/src/icons.js';import{ButtonView as _0x4216ff,MenuBarMenuListItemButtonView as _0x49653a}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3e25c5}from'./uploadcareconfig.js';import{getTranslation as _0x3c188b}from'./utils/common-translations.js';function _0x5614(){const _0x17df7f=['URL','_createToolbarButton','isOfficialPlugin','forEach','assetManager','reduce','_getIntegrationKey','9795VepkqC','registerIntegration','3006mCMWtz','171WCEBHu','tooltip','7SYTRHH','414650QarFfQ','config','Dropbox','_createMenuBarButtons','bind','501508VUruUV','3959464YGROed','_createButton','11IzMHwj','execute','304403iQrpmJ','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyExpired','entries','expired','ImageInsertUI','Local','featureNotAllowed','icon','13656948lnxzGu','isPremiumPlugin','editor','_showLicenseError','domainLimit','1124948KDevGl','uploadcareLicenseKeyUsageLimit','init','shortText','trialLimit','Replace','_createDropdownButtons','uploadcareLicenseKeyValid','Facebook','get','map','destroy','usageLimit','isEnabled','OneDrive','label','invalid','push','pluginName','withText','uploadcare.uploader.sourceList','locale','text','afterInit','uploadcareLicenseKeyInvalid','uploadcareLicenseKeyEvaluationLimit','evaluationLimit','GPhotos','UploadcareUI','_normalizeConfigSourceList','url','Insert','_licenseKeyCheckInterval','GDrive','uploadcareLicenseKeyDomainLimit','commands','upload','has','plugins','isImageSelected','type','uploadcare','uploadcareLicenseKeyTrialLimit','3FuOWRA','Uploadcare','licenseKey'];_0x5614=function(){return _0x17df7f;};return _0x5614();}import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x3832d5{[_0x1719f5(0x1ab)];[_0x1719f5(0x19e)];static get[_0x1719f5(0x190)](){const _0x16f95f=_0x1719f5;return _0x16f95f(0x19a);}static get[_0x1719f5(0x1ae)](){return!0x0;}static get[_0x1719f5(0x17a)](){return!0x0;}[_0x1719f5(0x180)](){const _0x250c63=_0x1719f5;this[_0x250c63(0x1ab)]=this[_0x250c63(0x17b)][_0x250c63(0x1ba)][_0x250c63(0x187)](_0x250c63(0x1ab));const _0x260e02=this[_0x250c63(0x17b)];this[_0x250c63(0x19e)]=setInterval(()=>{const _0x21e8be=_0x250c63;let _0x1617f8;for(const _0x4060e2 in _0x260e02){const _0x3270f8=_0x4060e2,_0x57ca0b=_0x260e02[_0x3270f8];if(_0x21e8be(0x185)==_0x57ca0b||_0x21e8be(0x196)==_0x57ca0b||_0x21e8be(0x172)==_0x57ca0b||_0x21e8be(0x1a0)==_0x57ca0b||_0x21e8be(0x171)==_0x57ca0b||_0x21e8be(0x197)==_0x57ca0b||_0x21e8be(0x1a8)==_0x57ca0b||_0x21e8be(0x17f)==_0x57ca0b){delete _0x260e02[_0x3270f8],_0x1617f8=_0x57ca0b,clearInterval(this[_0x21e8be(0x19e)]),this[_0x21e8be(0x19e)]=void 0x0;break;}}_0x21e8be(0x196)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x18e)),_0x21e8be(0x172)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x174)),_0x21e8be(0x1a0)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x17d)),_0x21e8be(0x171)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x177),_0x21e8be(0x1aa)),_0x21e8be(0x197)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x198)),_0x21e8be(0x1a8)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x182)),_0x21e8be(0x17f)==_0x1617f8&&_0x260e02[_0x21e8be(0x17c)](_0x21e8be(0x18a));},0x3e8);}[_0x1719f5(0x195)](){const _0x33feee=_0x1719f5,{editor:_0x449dfd}=this,_0x496c88=_0x449dfd[_0x33feee(0x1a1)][_0x33feee(0x187)](_0x33feee(0x1a7));if(!_0x496c88)return;const _0x468a4e=this[_0x33feee(0x19b)](_0x449dfd[_0x33feee(0x1ba)][_0x33feee(0x187)](_0x33feee(0x192)))[_0x33feee(0x1b1)]((_0x41424a,_0x2d0583)=>{const _0x1b52df=_0x33feee,_0x5e0232=this[_0x1b52df(0x1b2)](_0x2d0583[_0x1b52df(0x1a6)]);return _0x41424a[_0x5e0232]||(_0x41424a[_0x5e0232]=[]),_0x41424a[_0x5e0232][_0x1b52df(0x18f)](_0x2d0583),_0x41424a;},{});_0x449dfd[_0x33feee(0x1a4)][_0x33feee(0x1a3)](_0x33feee(0x175))&&_0x449dfd[_0x33feee(0x1a1)][_0x33feee(0x187)](_0x33feee(0x1a7))&&Object[_0x33feee(0x173)](_0x468a4e)[_0x33feee(0x1af)](([_0x11d880,_0x1de58b])=>{const _0x2babae=_0x33feee;_0x449dfd[_0x2babae(0x1a4)][_0x2babae(0x187)](_0x2babae(0x175))[_0x2babae(0x1b4)]({'name':_0x11d880,'observable':()=>_0x496c88,'buttonViewCreator':()=>this[_0x2babae(0x1ad)](_0x1de58b),'formViewCreator':()=>this[_0x2babae(0x184)](_0x1de58b),'menuBarButtonViewCreator':()=>this[_0x2babae(0x169)](_0x1de58b),'override':_0x2babae(0x1b0)!==_0x11d880});});}[_0x1719f5(0x189)](){const _0x146586=_0x1719f5;super[_0x146586(0x189)](),this[_0x146586(0x19e)]&&clearInterval(this[_0x146586(0x19e)]);}[_0x1719f5(0x19b)](_0x3cb032){const _0x1fc9bc=_0x1719f5,{locale:_0x151ef6}=this[_0x1fc9bc(0x17b)];return _0x3cb032[_0x1fc9bc(0x188)](_0x3333cd=>{const _0x97a7d4=_0x1fc9bc,_0x39cab5=_0x3c188b(_0x151ef6,_0x3333cd,_0x97a7d4(0x19d));switch(_0x3333cd){case _0x3e25c5[_0x97a7d4(0x176)]:return{'icon':_0x4b63bf,'type':_0x3e25c5[_0x97a7d4(0x176)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x1ac)]:return{'icon':_0x27b9c1,'type':_0x3e25c5[_0x97a7d4(0x1ac)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x1bb)]:return{'icon':_0x5124c4,'type':_0x3e25c5[_0x97a7d4(0x1bb)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x186)]:return{'icon':_0x25b249,'type':_0x3e25c5[_0x97a7d4(0x186)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x19f)]:return{'icon':_0x3f5665,'type':_0x3e25c5[_0x97a7d4(0x19f)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x199)]:return{'icon':_0x3c9a43,'type':_0x3e25c5[_0x97a7d4(0x199)],..._0x39cab5};case _0x3e25c5[_0x97a7d4(0x18c)]:return{'icon':_0x36de54,'type':_0x3e25c5[_0x97a7d4(0x18c)],..._0x39cab5};}});}[_0x1719f5(0x1b2)](_0x2d6f87){const _0x2015fc=_0x1719f5;switch(_0x2d6f87){case _0x3e25c5[_0x2015fc(0x176)]:return _0x2015fc(0x1a2);case _0x3e25c5[_0x2015fc(0x1ac)]:return _0x2015fc(0x19c);default:return _0x2015fc(0x1b0);}}[_0x1719f5(0x16d)](_0x101f28,_0x58ee82){const _0x156f86=_0x1719f5,_0x2ee379=this[_0x156f86(0x17b)],_0x436004=new _0x101f28(_0x2ee379[_0x156f86(0x193)]),_0x1a4ac4=_0x2ee379[_0x156f86(0x1a1)][_0x156f86(0x187)](_0x156f86(0x1a7));return _0x436004[_0x156f86(0x16a)](_0x156f86(0x18b))['to'](_0x1a4ac4),_0x436004['on'](_0x156f86(0x16f),()=>{const _0x1b2cc7=_0x156f86;_0x1a4ac4[_0x1b2cc7(0x16f)](_0x58ee82);}),_0x436004;}[_0x1719f5(0x1ad)](_0x10156e){const _0x59eee4=_0x1719f5,{locale:_0x58c339}=this[_0x59eee4(0x17b)],_0x5d34e6=this[_0x59eee4(0x17b)][_0x59eee4(0x1a4)][_0x59eee4(0x187)](_0x59eee4(0x175)),_0x3a92d1=_0x10156e[0x0],_0x45776b=this[_0x59eee4(0x16d)](_0x4216ff,_0x3a92d1[_0x59eee4(0x1a6)]);return _0x45776b[_0x59eee4(0x178)]=_0x3a92d1[_0x59eee4(0x178)],_0x45776b[_0x59eee4(0x16a)](_0x59eee4(0x18d))['to'](_0x5d34e6,_0x59eee4(0x1a5),_0x13f80f=>_0x3c188b(_0x58c339,_0x3a92d1[_0x59eee4(0x1a6)],_0x13f80f?_0x59eee4(0x183):_0x59eee4(0x19d))[_0x59eee4(0x194)]),_0x45776b[_0x59eee4(0x1b7)]=!0x0,_0x45776b;}[_0x1719f5(0x184)](_0x3c5ef8){const _0x4847c4=_0x1719f5,{locale:_0x537830}=this[_0x4847c4(0x17b)],_0x39e0f6=this[_0x4847c4(0x17b)][_0x4847c4(0x1a4)][_0x4847c4(0x187)](_0x4847c4(0x175));return _0x3c5ef8[_0x4847c4(0x188)](_0x4f72c4=>{const _0x1c0412=_0x4847c4,_0x2c77d8=this[_0x1c0412(0x16d)](_0x4216ff,_0x4f72c4[_0x1c0412(0x1a6)]);return _0x2c77d8[_0x1c0412(0x191)]=!0x0,_0x2c77d8[_0x1c0412(0x178)]=_0x4f72c4[_0x1c0412(0x178)],_0x2c77d8[_0x1c0412(0x16a)](_0x1c0412(0x18d))['to'](_0x39e0f6,_0x1c0412(0x1a5),_0x1e3197=>_0x3c188b(_0x537830,_0x4f72c4[_0x1c0412(0x1a6)],_0x1e3197?_0x1c0412(0x183):_0x1c0412(0x19d))[_0x1c0412(0x194)]),_0x2c77d8;});}[_0x1719f5(0x169)](_0x30eb6a){const _0x4ab5ff=_0x1719f5;return _0x30eb6a[_0x4ab5ff(0x188)](_0x76dbf5=>{const _0x5c888f=_0x4ab5ff,_0x56c3a3=this[_0x5c888f(0x16d)](_0x49653a,_0x76dbf5[_0x5c888f(0x1a6)]);return _0x56c3a3[_0x5c888f(0x178)]=_0x76dbf5[_0x5c888f(0x178)],_0x56c3a3[_0x5c888f(0x18d)]=_0x76dbf5[_0x5c888f(0x181)],_0x56c3a3;});}}
23
+ const _0x26aa43=_0x2912;(function(_0x56405a,_0x37e42c){const _0x9a23fa=_0x2912,_0x5dc300=_0x56405a();while(!![]){try{const _0x447d83=-parseInt(_0x9a23fa(0x195))/0x1*(-parseInt(_0x9a23fa(0x18b))/0x2)+-parseInt(_0x9a23fa(0x1c2))/0x3+-parseInt(_0x9a23fa(0x1cd))/0x4+-parseInt(_0x9a23fa(0x1c6))/0x5+parseInt(_0x9a23fa(0x1b2))/0x6*(parseInt(_0x9a23fa(0x1ca))/0x7)+parseInt(_0x9a23fa(0x1c1))/0x8*(parseInt(_0x9a23fa(0x189))/0x9)+parseInt(_0x9a23fa(0x1ad))/0xa;if(_0x447d83===_0x37e42c)break;else _0x5dc300['push'](_0x5dc300['shift']());}catch(_0x311242){_0x5dc300['push'](_0x5dc300['shift']());}}}(_0x42cc,0x820f2));import{Plugin as _0x52609b}from'ckeditor5/src/core.js';import{IconDropbox as _0x3698a4,IconFacebook as _0x237f4c,IconGoogleDrive as _0x39451e,IconGooglePhotos as _0x139261,IconUploadcareImageUpload as _0x48d6e2,IconUploadcareLink as _0x26c75f,IconOneDrive as _0x963d8b}from'ckeditor5/src/icons.js';import{ButtonView as _0x5d8900,MenuBarMenuListItemButtonView as _0x19c33d}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x40b0f9}from'./uploadcareconfig.js';function _0x2912(_0x7a0e90,_0x13c660){const _0x42cc2a=_0x42cc();return _0x2912=function(_0x291279,_0x3e7667){_0x291279=_0x291279-0x182;let _0xf020=_0x42cc2a[_0x291279];return _0xf020;},_0x2912(_0x7a0e90,_0x13c660);}function _0x42cc(){const _0x16f6a9=['withText','Dropbox','licenseKey','uploadcareLicenseKeyInvalid','uploadcare','expired','uploadcareLicenseKeyEvaluationLimit','uploadcareLicenseKeyExpired','config','upload','_createToolbarButton','_normalizeConfigSourceList','606328wBYktW','3015348Ovenix','trialLimit','_getIntegrationKey','ImageInsertUI','5135150kmlHTF','destroy','registerIntegration','_licenseKeyCheckInterval','7bGLCBW','get','init','3711400AXGroQ','Facebook','text','evaluationLimit','assetManager','featureNotAllowed','_createButton','type','usageLimit','afterInit','url','label','push','63aojCkS','uploadcareLicenseKeyTrialLimit','2CfizJX','uploadcareLicenseKeyValid','uploadcareLicenseKeyNotAllowed','domainLimit','tooltip','GDrive','execute','shortText','Uploadcare','isPremiumPlugin','830751EsDwIY','uploadcare.uploader.sourceList','Replace','Local','OneDrive','URL','pluginName','forEach','isImageSelected','uploadcareLicenseKeyUsageLimit','icon','reduce','isOfficialPlugin','_createMenuBarButtons','entries','_createDropdownButtons','locale','GPhotos','plugins','map','commands','bind','uploadcareLicenseKeyDomainLimit','editor','15190870fpVYom','Insert','invalid','isEnabled','UploadcareUI','3674058qRmyBa','_showLicenseError','has'];_0x42cc=function(){return _0x16f6a9;};return _0x42cc();}import{getTranslation as _0x2f170e}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x52609b{[_0x26aa43(0x1b7)];[_0x26aa43(0x1c9)];static get[_0x26aa43(0x19b)](){const _0x598979=_0x26aa43;return _0x598979(0x1b1);}static get[_0x26aa43(0x1a1)](){return!0x0;}static get[_0x26aa43(0x194)](){return!0x0;}[_0x26aa43(0x1cc)](){const _0x3bdd10=_0x26aa43;this[_0x3bdd10(0x1b7)]=this[_0x3bdd10(0x1ac)][_0x3bdd10(0x1bd)][_0x3bdd10(0x1cb)](_0x3bdd10(0x1b7));const _0x1da24b=this[_0x3bdd10(0x1ac)];this[_0x3bdd10(0x1c9)]=setInterval(()=>{const _0x12a81d=_0x3bdd10;let _0x2052ef;for(const _0x58694e in _0x1da24b){const _0x4419fb=_0x58694e,_0x2847dc=_0x1da24b[_0x4419fb];if(_0x12a81d(0x18c)==_0x2847dc||_0x12a81d(0x1b8)==_0x2847dc||_0x12a81d(0x1bc)==_0x2847dc||_0x12a81d(0x1ab)==_0x2847dc||_0x12a81d(0x18d)==_0x2847dc||_0x12a81d(0x1bb)==_0x2847dc||_0x12a81d(0x18a)==_0x2847dc||_0x12a81d(0x19e)==_0x2847dc){delete _0x1da24b[_0x4419fb],_0x2052ef=_0x2847dc,clearInterval(this[_0x12a81d(0x1c9)]),this[_0x12a81d(0x1c9)]=void 0x0;break;}}_0x12a81d(0x1b8)==_0x2052ef&&_0x1da24b[_0x12a81d(0x1b3)](_0x12a81d(0x1af)),_0x12a81d(0x1bc)==_0x2052ef&&_0x1da24b[_0x12a81d(0x1b3)](_0x12a81d(0x1ba)),_0x12a81d(0x1ab)==_0x2052ef&&_0x1da24b[_0x12a81d(0x1b3)](_0x12a81d(0x18e)),_0x12a81d(0x18d)==_0x2052ef&&_0x1da24b[_0x12a81d(0x1b3)](_0x12a81d(0x1d2),_0x12a81d(0x193)),_0x12a81d(0x1bb)==_0x2052ef&&_0x1da24b[_0x12a81d(0x1b3)](_0x12a81d(0x1d0)),_0x12a81d(0x18a)==_0x2052ef&&_0x1da24b[_0x12a81d(0x1b3)](_0x12a81d(0x1c3)),_0x12a81d(0x19e)==_0x2052ef&&_0x1da24b[_0x12a81d(0x1b3)](_0x12a81d(0x184));},0x3e8);}[_0x26aa43(0x185)](){const _0x53f111=_0x26aa43,{editor:_0x522453}=this,_0xc01b1f=_0x522453[_0x53f111(0x1a9)][_0x53f111(0x1cb)](_0x53f111(0x1b9));if(!_0xc01b1f)return;const _0x1e8a0=this[_0x53f111(0x1c0)](_0x522453[_0x53f111(0x1bd)][_0x53f111(0x1cb)](_0x53f111(0x196)))[_0x53f111(0x1a0)]((_0x2ee446,_0x2b515e)=>{const _0x29be0b=_0x53f111,_0x2796e7=this[_0x29be0b(0x1c4)](_0x2b515e[_0x29be0b(0x183)]);return _0x2ee446[_0x2796e7]||(_0x2ee446[_0x2796e7]=[]),_0x2ee446[_0x2796e7][_0x29be0b(0x188)](_0x2b515e),_0x2ee446;},{});_0x522453[_0x53f111(0x1a7)][_0x53f111(0x1b4)](_0x53f111(0x1c5))&&_0x522453[_0x53f111(0x1a9)][_0x53f111(0x1cb)](_0x53f111(0x1b9))&&Object[_0x53f111(0x1a3)](_0x1e8a0)[_0x53f111(0x19c)](([_0x5548ac,_0x26a8d6])=>{const _0x4b3386=_0x53f111;_0x522453[_0x4b3386(0x1a7)][_0x4b3386(0x1cb)](_0x4b3386(0x1c5))[_0x4b3386(0x1c8)]({'name':_0x5548ac,'observable':()=>_0xc01b1f,'buttonViewCreator':()=>this[_0x4b3386(0x1bf)](_0x26a8d6),'formViewCreator':()=>this[_0x4b3386(0x1a4)](_0x26a8d6),'menuBarButtonViewCreator':()=>this[_0x4b3386(0x1a2)](_0x26a8d6),'override':_0x4b3386(0x1d1)!==_0x5548ac});});}[_0x26aa43(0x1c7)](){const _0x59058c=_0x26aa43;super[_0x59058c(0x1c7)](),this[_0x59058c(0x1c9)]&&clearInterval(this[_0x59058c(0x1c9)]);}[_0x26aa43(0x1c0)](_0xbaf4a6){const _0x34390e=_0x26aa43,{locale:_0x49be58}=this[_0x34390e(0x1ac)];return _0xbaf4a6[_0x34390e(0x1a8)](_0x4082ca=>{const _0x40b616=_0x34390e,_0x4a1521=_0x2f170e(_0x49be58,_0x4082ca,_0x40b616(0x1ae));switch(_0x4082ca){case _0x40b0f9[_0x40b616(0x198)]:return{'icon':_0x48d6e2,'type':_0x40b0f9[_0x40b616(0x198)],..._0x4a1521};case _0x40b0f9[_0x40b616(0x19a)]:return{'icon':_0x26c75f,'type':_0x40b0f9[_0x40b616(0x19a)],..._0x4a1521};case _0x40b0f9[_0x40b616(0x1b6)]:return{'icon':_0x3698a4,'type':_0x40b0f9[_0x40b616(0x1b6)],..._0x4a1521};case _0x40b0f9[_0x40b616(0x1ce)]:return{'icon':_0x237f4c,'type':_0x40b0f9[_0x40b616(0x1ce)],..._0x4a1521};case _0x40b0f9[_0x40b616(0x190)]:return{'icon':_0x39451e,'type':_0x40b0f9[_0x40b616(0x190)],..._0x4a1521};case _0x40b0f9[_0x40b616(0x1a6)]:return{'icon':_0x139261,'type':_0x40b0f9[_0x40b616(0x1a6)],..._0x4a1521};case _0x40b0f9[_0x40b616(0x199)]:return{'icon':_0x963d8b,'type':_0x40b0f9[_0x40b616(0x199)],..._0x4a1521};}});}[_0x26aa43(0x1c4)](_0x1ac3a6){const _0x440089=_0x26aa43;switch(_0x1ac3a6){case _0x40b0f9[_0x440089(0x198)]:return _0x440089(0x1be);case _0x40b0f9[_0x440089(0x19a)]:return _0x440089(0x186);default:return _0x440089(0x1d1);}}[_0x26aa43(0x182)](_0x2b4313,_0x3c1be5){const _0x41f4f1=_0x26aa43,_0x41d5be=this[_0x41f4f1(0x1ac)],_0x5b2c67=new _0x2b4313(_0x41d5be[_0x41f4f1(0x1a5)]),_0x311149=_0x41d5be[_0x41f4f1(0x1a9)][_0x41f4f1(0x1cb)](_0x41f4f1(0x1b9));return _0x5b2c67[_0x41f4f1(0x1aa)](_0x41f4f1(0x1b0))['to'](_0x311149),_0x5b2c67['on'](_0x41f4f1(0x191),()=>{const _0x4b2452=_0x41f4f1;_0x311149[_0x4b2452(0x191)](_0x3c1be5);}),_0x5b2c67;}[_0x26aa43(0x1bf)](_0x23248d){const _0x354a5b=_0x26aa43,{locale:_0x21d128}=this[_0x354a5b(0x1ac)],_0x156016=this[_0x354a5b(0x1ac)][_0x354a5b(0x1a7)][_0x354a5b(0x1cb)](_0x354a5b(0x1c5)),_0x446c3a=_0x23248d[0x0],_0x15801e=this[_0x354a5b(0x182)](_0x5d8900,_0x446c3a[_0x354a5b(0x183)]);return _0x15801e[_0x354a5b(0x19f)]=_0x446c3a[_0x354a5b(0x19f)],_0x15801e[_0x354a5b(0x1aa)](_0x354a5b(0x187))['to'](_0x156016,_0x354a5b(0x19d),_0x1cca6a=>_0x2f170e(_0x21d128,_0x446c3a[_0x354a5b(0x183)],_0x1cca6a?_0x354a5b(0x197):_0x354a5b(0x1ae))[_0x354a5b(0x1cf)]),_0x15801e[_0x354a5b(0x18f)]=!0x0,_0x15801e;}[_0x26aa43(0x1a4)](_0x5a41e4){const _0x3ef279=_0x26aa43,{locale:_0x15f2b6}=this[_0x3ef279(0x1ac)],_0x1c754e=this[_0x3ef279(0x1ac)][_0x3ef279(0x1a7)][_0x3ef279(0x1cb)](_0x3ef279(0x1c5));return _0x5a41e4[_0x3ef279(0x1a8)](_0xe12787=>{const _0x13d99a=_0x3ef279,_0x372aeb=this[_0x13d99a(0x182)](_0x5d8900,_0xe12787[_0x13d99a(0x183)]);return _0x372aeb[_0x13d99a(0x1b5)]=!0x0,_0x372aeb[_0x13d99a(0x19f)]=_0xe12787[_0x13d99a(0x19f)],_0x372aeb[_0x13d99a(0x1aa)](_0x13d99a(0x187))['to'](_0x1c754e,_0x13d99a(0x19d),_0x3f15ff=>_0x2f170e(_0x15f2b6,_0xe12787[_0x13d99a(0x183)],_0x3f15ff?_0x13d99a(0x197):_0x13d99a(0x1ae))[_0x13d99a(0x1cf)]),_0x372aeb;});}[_0x26aa43(0x1a2)](_0x1c465c){const _0x3f4059=_0x26aa43;return _0x1c465c[_0x3f4059(0x1a8)](_0x2538f4=>{const _0x5ef7da=_0x3f4059,_0x3fb935=this[_0x5ef7da(0x182)](_0x19c33d,_0x2538f4[_0x5ef7da(0x183)]);return _0x3fb935[_0x5ef7da(0x19f)]=_0x2538f4[_0x5ef7da(0x19f)],_0x3fb935[_0x5ef7da(0x187)]=_0x2538f4[_0x5ef7da(0x192)],_0x3fb935;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x42b152}from'ckeditor5/src/core.js';import{FileRepository as _0xaad5f1}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x23d037}from'./uploadcareediting.js';import{UploadUtils as _0x333317}from'./utils/uploadutils.js';import{getImageUrls as _0x41ef3f}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x42b152{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0xaad5f1,_0x23d037];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x497458=this['editor'];if(!!!_0x497458['config']['get']('uploadcare'))return;_0x497458['plugins']['get'](_0xaad5f1)['createUploadAdapter']=_0x5532b8=>new k(_0x5532b8,_0x497458),_0x497458['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x404cf9,{imageElement:_0x5467d4,data:_0x398202})=>{_0x497458['model']['change'](_0x5c2aa5=>{_0x5c2aa5['setAttribute']('uploadcareImageId',_0x398202['uploadcareImageId'],_0x5467d4);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x51e3b6,_0x25ed3d){this['loader']=_0x51e3b6,this['editor']=_0x25ed3d,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5d9807=await this['loader']['file'];return _0x333317['upload']({'file':_0x5d9807,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x16fbd4=>{_0x16fbd4&&_0x16fbd4['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x16fbd4['value']);}})['then'](async _0x10b1c8=>{const {imageFallbackUrl:_0x5024bd,imageSources:_0x490a86}=_0x41ef3f(_0x10b1c8['cdnUrl'],_0x10b1c8['imageInfo']['width']);return{'uploadcareImageId':_0x10b1c8['uuid'],'default':_0x5024bd,'sources':_0x490a86};})['catch'](()=>{const _0x9f6715=t('Cannot\x20upload\x20file:')+('\x20'+_0x5d9807['name']+'.');return Promise['reject'](_0x9f6715);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x33afce}from'ckeditor5/src/core.js';import{FileRepository as _0x2f321e}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x49247b}from'./uploadcareediting.js';import{UploadUtils as _0x367390}from'./utils/uploadutils.js';import{getImageUrls as _0x1b39be}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x33afce{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2f321e,_0x49247b];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x30a8c4=this['editor'];if(!!!_0x30a8c4['config']['get']('uploadcare'))return;_0x30a8c4['plugins']['get'](_0x2f321e)['createUploadAdapter']=_0x33ec21=>new k(_0x33ec21,_0x30a8c4),_0x30a8c4['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x2125c6,{imageElement:_0x563279,data:_0xa151a2})=>{_0x30a8c4['model']['change'](_0x3fa1e6=>{_0x3fa1e6['setAttribute']('uploadcareImageId',_0xa151a2['uploadcareImageId'],_0x563279);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4b106f,_0x21b906){this['loader']=_0x4b106f,this['editor']=_0x21b906,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0xb837a1=await this['loader']['file'];return _0x367390['upload']({'file':_0xb837a1,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x28b67e=>{_0x28b67e&&_0x28b67e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x28b67e['value']);}})['then'](async _0xc1769d=>{const {imageFallbackUrl:_0x3239e2,imageSources:_0x2b8059}=_0x1b39be(_0xc1769d['cdnUrl'],_0xc1769d['imageInfo']['width']);return{'uploadcareImageId':_0xc1769d['uuid'],'default':_0x3239e2,'sources':_0x2b8059};})['catch'](()=>{const _0x51b4d3=t('Cannot\x20upload\x20file:')+('\x20'+_0xb837a1['name']+'.');return Promise['reject'](_0x51b4d3);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x575c30}from'../uploadcareconfig.js';export function getTranslation(_0x4aadfd,_0x2a1117,_0x5eb8ee){const t=_0x4aadfd['t'],_0x2ab0bc=_0x4aadfd['t'];switch(_0x2a1117){case _0x575c30['Local']:return{'text':_0x2ab0bc('Insert'===_0x5eb8ee?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x2ab0bc('From\x20computer')};case _0x575c30['URL']:return{'text':'Insert'===_0x5eb8ee?_0x2ab0bc('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x2ab0bc('Via\x20URL')};case _0x575c30['Dropbox']:return{'text':t('Insert'===_0x5eb8ee?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x575c30['Facebook']:return{'text':t('Insert'===_0x5eb8ee?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x575c30['GDrive']:return{'text':t('Insert'===_0x5eb8ee?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x575c30['GPhotos']:return{'text':t('Insert'===_0x5eb8ee?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x575c30['OneDrive']:return{'text':t('Insert'===_0x5eb8ee?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x2a1117;}}
23
+ import{UploadcareSource as _0xdf2adc}from'../uploadcareconfig.js';export function getTranslation(_0x337977,_0x26bbea,_0x78b28){const t=_0x337977['t'],_0x263239=_0x337977['t'];switch(_0x26bbea){case _0xdf2adc['Local']:return{'text':_0x263239('Insert'===_0x78b28?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x263239('From\x20computer')};case _0xdf2adc['URL']:return{'text':'Insert'===_0x78b28?_0x263239('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x263239('Via\x20URL')};case _0xdf2adc['Dropbox']:return{'text':t('Insert'===_0x78b28?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xdf2adc['Facebook']:return{'text':t('Insert'===_0x78b28?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xdf2adc['GDrive']:return{'text':t('Insert'===_0x78b28?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xdf2adc['GPhotos']:return{'text':t('Insert'===_0x78b28?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xdf2adc['OneDrive']:return{'text':t('Insert'===_0x78b28?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x26bbea;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x50f38c=_0x4084;(function(_0x4f52e5,_0x35d2de){var _0x590b6c=_0x4084,_0x312e24=_0x4f52e5();while(!![]){try{var _0x6ad529=-parseInt(_0x590b6c(0x101))/0x1*(parseInt(_0x590b6c(0xfe))/0x2)+-parseInt(_0x590b6c(0xf9))/0x3+parseInt(_0x590b6c(0x10a))/0x4+-parseInt(_0x590b6c(0x106))/0x5*(-parseInt(_0x590b6c(0x105))/0x6)+parseInt(_0x590b6c(0x103))/0x7*(parseInt(_0x590b6c(0xff))/0x8)+-parseInt(_0x590b6c(0xfd))/0x9+-parseInt(_0x590b6c(0xf8))/0xa*(-parseInt(_0x590b6c(0x100))/0xb);if(_0x6ad529===_0x35d2de)break;else _0x312e24['push'](_0x312e24['shift']());}catch(_0x115b6f){_0x312e24['push'](_0x312e24['shift']());}}}(_0x52b9,0x804e3));import{FocusTracker as _0x4f19e4}from'ckeditor5/src/utils.js';import{View as _0x461a2b,FocusCycler as _0x319952}from'ckeditor5/src/ui.js';function _0x4084(_0x293489,_0x28e845){var _0x52b9a8=_0x52b9();return _0x4084=function(_0x4084fa,_0x5bdb0a){_0x4084fa=_0x4084fa-0xf8;var _0x134a21=_0x52b9a8[_0x4084fa];return _0x134a21;},_0x4084(_0x293489,_0x28e845);}import'../../theme/uploadcare-form.css';function _0x52b9(){var _0x4f8057=['bindTemplate','focusCycler','focusTracker','1459412XWwlIV','forwardCycle','9153670wBSPfT','1555617hzpkWN','getFocusableElement','createCollection','true','6031854HiTHNm','2738JBxDzZ','23768OAOMqA','11IJUBWS','662yENGrf','div','2275JfcTTn','fire','77538BeWicX','145FmmzFG'];_0x52b9=function(){return _0x4f8057;};return _0x52b9();}export class DialogFocusManagerView extends _0x461a2b{[_0x50f38c(0x109)];[_0x50f38c(0x108)];constructor(_0x15471f){var _0x8012b7=_0x50f38c;super(_0x15471f),this[_0x8012b7(0x109)]=new _0x4f19e4(),this[_0x8012b7(0x108)]=new _0x319952({'focusables':this[_0x8012b7(0xfb)](),'focusTracker':this[_0x8012b7(0x109)]});}[_0x50f38c(0xfa)](){var _0x16c681=_0x50f38c;return{'tag':_0x16c681(0x102),'attributes':{'aria-hidden':_0x16c681(0xfc),'tabindex':'0'},'on':{'focus':this[_0x16c681(0x107)]['to'](()=>{var _0x380d51=_0x16c681;this[_0x380d51(0x108)][_0x380d51(0x104)](_0x380d51(0x10b));})}};}}
23
+ var _0x442325=_0x1dae;(function(_0xb2af5e,_0x563a71){var _0x4afc63=_0x1dae,_0x5c4c04=_0xb2af5e();while(!![]){try{var _0x1de0d8=parseInt(_0x4afc63(0x175))/0x1+parseInt(_0x4afc63(0x177))/0x2+-parseInt(_0x4afc63(0x16a))/0x3+parseInt(_0x4afc63(0x172))/0x4+parseInt(_0x4afc63(0x16f))/0x5+parseInt(_0x4afc63(0x174))/0x6+-parseInt(_0x4afc63(0x171))/0x7;if(_0x1de0d8===_0x563a71)break;else _0x5c4c04['push'](_0x5c4c04['shift']());}catch(_0x8dd063){_0x5c4c04['push'](_0x5c4c04['shift']());}}}(_0x1334,0x6d2aa));import{FocusTracker as _0x1acdfe}from'ckeditor5/src/utils.js';function _0x1334(){var _0x23fa71=['2516505bQwPuo','createCollection','true','bindTemplate','fire','1409140AFlDns','focusCycler','2090207ybveFL','2256532cRPHmz','div','914526PJdRdH','284721ZnoyCJ','focusTracker','602958LaAzpv','forwardCycle','getFocusableElement'];_0x1334=function(){return _0x23fa71;};return _0x1334();}function _0x1dae(_0x56630c,_0x4346b6){var _0x1334d8=_0x1334();return _0x1dae=function(_0x1daef3,_0x116d8d){_0x1daef3=_0x1daef3-0x169;var _0x737a0b=_0x1334d8[_0x1daef3];return _0x737a0b;},_0x1dae(_0x56630c,_0x4346b6);}import{View as _0x52109b,FocusCycler as _0x4d3360}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x52109b{[_0x442325(0x176)];[_0x442325(0x170)];constructor(_0x58cf12){var _0x1a988e=_0x442325;super(_0x58cf12),this[_0x1a988e(0x176)]=new _0x1acdfe(),this[_0x1a988e(0x170)]=new _0x4d3360({'focusables':this[_0x1a988e(0x16b)](),'focusTracker':this[_0x1a988e(0x176)]});}[_0x442325(0x169)](){var _0x124572=_0x442325;return{'tag':_0x124572(0x173),'attributes':{'aria-hidden':_0x124572(0x16c),'tabindex':'0'},'on':{'focus':this[_0x124572(0x16d)]['to'](()=>{var _0x271b25=_0x124572;this[_0x271b25(0x170)][_0x271b25(0x16e)](_0x271b25(0x178));})}};}}