@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20260129.0 → 0.0.0-nightly-20260130.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
- function _0x58b7(_0x25c1c1,_0x3bb4c7){const _0x40fb48=_0x40fb();return _0x58b7=function(_0x58b7c5,_0x23b7ca){_0x58b7c5=_0x58b7c5-0x1e9;let _0x61c1cb=_0x40fb48[_0x58b7c5];return _0x61c1cb;},_0x58b7(_0x25c1c1,_0x3bb4c7);}const _0x30194a=_0x58b7;(function(_0x5d1d10,_0x35d18d){const _0x1d5f54=_0x58b7,_0x2ceb2a=_0x5d1d10();while(!![]){try{const _0x4d285e=parseInt(_0x1d5f54(0x1ec))/0x1*(parseInt(_0x1d5f54(0x21e))/0x2)+-parseInt(_0x1d5f54(0x1f3))/0x3+parseInt(_0x1d5f54(0x1fe))/0x4*(parseInt(_0x1d5f54(0x21f))/0x5)+-parseInt(_0x1d5f54(0x1ee))/0x6+parseInt(_0x1d5f54(0x209))/0x7+-parseInt(_0x1d5f54(0x238))/0x8+-parseInt(_0x1d5f54(0x1ed))/0x9*(-parseInt(_0x1d5f54(0x1eb))/0xa);if(_0x4d285e===_0x35d18d)break;else _0x2ceb2a['push'](_0x2ceb2a['shift']());}catch(_0x2e5e53){_0x2ceb2a['push'](_0x2ceb2a['shift']());}}}(_0x40fb,0x87564));import{Plugin as _0x5b5e52}from'ckeditor5/src/core.js';import{Dialog as _0x24234e}from'ckeditor5/src/ui.js';import{createElement as _0x2098a1,global as _0x295177,uid as _0x2efe7d}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x43f2a7}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x27e3e1}from'./uploadcareuploadadapter.js';function _0x40fb(){const _0x528fdc=['_ctxElement','input[uploadcare-file-input]','#uc-icon-arrow-down','extend','remove','get','editor','insertImage','downcast','3778wjgoXd','130hGQYsW','uploadcareImageReplace','conversion','closeMax','contentLanguage','execute','removeAttribute','\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','view','uploadcare.pubkey','init','uploader-','isPremiumPlugin','isRegistered','querySelector','appendChild','href','configElement','listenTo','PictureEditing','pluginName','imageInline','getSelectedElement','uploadcareImageId','_initImageProcessingIndicator','1628968RQxjfn','_initConfig','cleanupImage','render','_initSchema','fromCharCode','requires','for','2780Ggqolf','542rdyWHl','2844ucheCK','6275940PYMzVM','_configElement','true','document','replaceImageSource','2581545ymrbLe','join','data-uc-image-id','imageBlock','once','uploadcare.uploader','_initCtx','map','uc-config','_initConversion','isOfficialPlugin','100316AEfHCG','destroy','selection','uploadcare','schema','afterInit','iconHrefResolver','getAttribute','config','body','UploadcareEditing','6305082kOLwtO','uc-upload-ctx-provider','attributeToAttribute','elementToAttribute','locale','add','editing','model','upcast','ctxElement','commands','ucContextId'];_0x40fb=function(){return _0x528fdc;};return _0x40fb();}import{showImageProcessingIndicator as _0x2af1d8}from'./utils/editingutils.js';export class UploadcareEditing extends _0x5b5e52{[_0x30194a(0x1ef)]=null;[_0x30194a(0x215)]=null;static get[_0x30194a(0x233)](){const _0x35e8c4=_0x30194a;return _0x35e8c4(0x208);}static get[_0x30194a(0x1e9)](){const _0x4bcafd=_0x30194a;return[_0x4bcafd(0x232),_0x27e3e1,_0x24234e];}static get[_0x30194a(0x1fd)](){return!0x0;}static get[_0x30194a(0x22b)](){return!0x0;}[_0x30194a(0x214)];get[_0x30194a(0x230)](){const _0x51c4ba=_0x30194a;return this[_0x51c4ba(0x1ef)];}get[_0x30194a(0x212)](){const _0x5dd90e=_0x30194a;return this[_0x5dd90e(0x215)];}constructor(_0x14cede){const _0x27be7d=_0x30194a;super(_0x14cede),this[_0x27be7d(0x214)]=_0x2efe7d();}[_0x30194a(0x229)](){const _0x663865=_0x30194a,_0x595072=this[_0x663865(0x21b)];_0x595072[_0x663865(0x213)][_0x663865(0x20e)](_0x663865(0x201),new _0x43f2a7(_0x595072));}[_0x30194a(0x203)](){const _0x26ad72=_0x30194a;this[_0x26ad72(0x23c)](),this[_0x26ad72(0x1fc)](),this[_0x26ad72(0x239)](),this[_0x26ad72(0x1f9)](),this[_0x26ad72(0x237)](),this[_0x26ad72(0x231)](this[_0x26ad72(0x21b)],_0x26ad72(0x1ff),()=>{const _0x4dbd8e=_0x26ad72;this[_0x4dbd8e(0x1ef)]&&(this[_0x4dbd8e(0x1ef)][_0x4dbd8e(0x219)](),this[_0x4dbd8e(0x1ef)]=null),this[_0x4dbd8e(0x215)]&&(this[_0x4dbd8e(0x215)][_0x4dbd8e(0x219)](),this[_0x4dbd8e(0x215)]=null);const _0x4ac0cb=_0x295177[_0x4dbd8e(0x1f1)][_0x4dbd8e(0x22d)](_0x4dbd8e(0x216));_0x4ac0cb&&_0x4ac0cb[_0x4dbd8e(0x219)]();}),async function(_0x13a588){const _0x5c5a29=_0x5a5424([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x403196=0x535f8c3a,_0x2f0138=0x53580c0a^_0x403196,_0x326733=window[_0x5a5424([0x44,0x61,0x74,0x65])][_0x5a5424([0x6e,0x6f,0x77])](),_0x4314c5=_0x13a588[_0x5a5424([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x37966b=new window[(_0x5a5424([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x11fe3e=>{_0x4314c5[_0x5a5424([0x6f,0x6e,0x63,0x65])](_0x5a5424([0x72,0x65,0x61,0x64,0x79]),_0x11fe3e);}),_0x561be5={[_0x5a5424([0x6b,0x74,0x79])]:_0x5a5424([0x45,0x43]),[_0x5a5424([0x75,0x73,0x65])]:_0x5a5424([0x73,0x69,0x67]),[_0x5a5424([0x63,0x72,0x76])]:_0x5a5424([0x50,0x2d,0x32,0x35,0x36]),[_0x5a5424([0x78])]:_0x5a5424([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]),[_0x5a5424([0x79])]:_0x5a5424([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]),[_0x5a5424([0x61,0x6c,0x67])]:_0x5a5424([0x45,0x53,0x32,0x35,0x36])},_0x18fb24=_0x4314c5[_0x5a5424([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5a5424([0x67,0x65,0x74])](_0x5a5424([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a0803(){let _0x26fac7,_0x57fee7=null,_0xea830e=null;try{if(_0x18fb24==_0x5a5424([0x47,0x50,0x4c]))return _0x5a5424([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x26fac7=_0x433ef5(),!_0x26fac7)return _0x5a5424([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x26fac7[_0x5a5424([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xea830e=_0x5d36c2(_0x26fac7[_0x5a5424([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x26fac7[_0x5a5424([0x6a,0x74,0x69])])),await _0x274f92()?_0x4cbf17()?_0x3163ce()?_0x5a5424([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3b96aa()?(_0x26fac7[_0x5a5424([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5a5424([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57fee7=_0x42c568(_0x5a5424([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d3710()):_0x5a5424([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5a5424([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5a5424([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5a5424([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3163ce(){const _0x1ff638=[_0x5a5424([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5a5424([0x74,0x72,0x69,0x61,0x6c])][_0x5a5424([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x26fac7[_0x5a5424([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x326733/0x3e8:0xe10*_0x2f0138;return _0x26fac7[_0x5a5424([0x65,0x78,0x70])]<_0x1ff638;}function _0x4cbf17(){const _0x59cb24=_0x26fac7[_0x5a5424([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x59cb24&&(!!_0x59cb24[_0x5a5424([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5424([0x2a]))||!!_0x59cb24[_0x5a5424([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5424([0x55,0x50,0x4c,0x43])));}function _0x3b96aa(){const _0x258e54=_0x58b7,_0xc232f4=_0x26fac7[_0x5a5424([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xc232f4||0x0==_0xc232f4[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3e0b01}=new URL(window[_0x5a5424([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x258e54(0x22f)]);if(_0xc232f4[_0x5a5424([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3e0b01))return!0x0;const _0x1ceb66=_0x3e0b01[_0x5a5424([0x73,0x70,0x6c,0x69,0x74])](_0x5a5424([0x2e]));return _0xc232f4[_0x5a5424([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16266f=>_0x16266f[_0x5a5424([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5424([0x2a])))[_0x5a5424([0x6d,0x61,0x70])](_0x3c4199=>_0x3c4199[_0x5a5424([0x73,0x70,0x6c,0x69,0x74])](_0x5a5424([0x2e])))[_0x5a5424([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f7e5a=>_0x2f7e5a[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1ceb66[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a5424([0x6d,0x61,0x70])](_0x3e98ed=>Array(_0x1ceb66[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3e98ed[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5a5424([0x66,0x69,0x6c,0x6c])](_0x3e98ed[0x0]===_0x5a5424([0x2a])?_0x5a5424([0x2a]):'')[_0x5a5424([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3e98ed))[_0x5a5424([0x73,0x6f,0x6d,0x65])](_0x54bade=>_0x1ceb66[_0x5a5424([0x65,0x76,0x65,0x72,0x79])]((_0x23fa0b,_0x56e12b)=>_0x54bade[_0x56e12b]===_0x23fa0b||_0x54bade[_0x56e12b]===_0x5a5424([0x2a])));}function _0x3d3710(){return _0x57fee7&&_0xea830e?new window[(_0x5a5424([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2bd2cd,_0x47d9ed)=>{_0x57fee7[_0x5a5424([0x74,0x68,0x65,0x6e])](_0x2bd2cd,_0x47d9ed),_0xea830e[_0x5a5424([0x74,0x68,0x65,0x6e])](_0x2e93da=>{_0x2e93da!=_0x5a5424([0x56,0x61,0x6c,0x69,0x64])&&_0x2bd2cd(_0x2e93da);},_0x47d9ed);}):_0x57fee7||_0xea830e||_0x5a5424([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5d36c2(_0x47e4db,_0x4a85fa){return new window[(_0x5a5424([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x366b30=>{if(_0x5c0901())return _0x366b30(_0x5a5424([0x56,0x61,0x6c,0x69,0x64]));_0x23ea1a(),_0x4314c5[_0x5a5424([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5a5424([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x26c539=!0x1;const _0x502ab3=_0x2efe7d();function _0x294dd7(_0x386de5){return!!_0x386de5&&(typeof _0x386de5===_0x5a5424([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x386de5===_0x5a5424([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x386de5[_0x5a5424([0x74,0x68,0x65,0x6e])]===_0x5a5424([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x386de5[_0x5a5424([0x63,0x61,0x74,0x63,0x68])]===_0x5a5424([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x346c0e(_0x1dec92){_0x15a4d7(_0x1dec92)[_0x5a5424([0x74,0x68,0x65,0x6e])](_0x240518=>{if(!_0x240518||_0x240518[_0x5a5424([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5a5424([0x6f,0x6b]))return _0x5a5424([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4d365c(_0x4148ce(_0x502ab3+_0x4a85fa))!=_0x240518[_0x5a5424([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5a5424([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5a5424([0x56,0x61,0x6c,0x69,0x64]);})[_0x5a5424([0x74,0x68,0x65,0x6e])](_0x52a9bb=>(_0x2b6e48(),_0x52a9bb),()=>{const _0x2c1d03=_0x174deb();return null==_0x2c1d03?(_0x2b6e48(),_0x5a5424([0x56,0x61,0x6c,0x69,0x64])):_0x5a5424(_0x326733-_0x2c1d03>(0x7753083a^_0x403196)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5a5424([0x74,0x68,0x65,0x6e])](_0x366b30)[_0x5a5424([0x63,0x61,0x74,0x63,0x68])](()=>{_0x366b30(_0x5a5424([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5b73f5=0x536962ba^_0x403196;function _0x2b6e48(){const _0xd4ce72=_0x5a5424([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d365c(_0x4148ce(_0x47e4db)),_0x556f5b=_0x3255d8(_0x4d365c(window[_0x5a5424([0x4d,0x61,0x74,0x68])][_0x5a5424([0x63,0x65,0x69,0x6c])](_0x326733/_0x5b73f5)));window[_0x5a5424([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a5424([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd4ce72,_0x556f5b);}function _0x174deb(){const _0x3e92ad=_0x5a5424([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d365c(_0x4148ce(_0x47e4db)),_0x207e70=window[_0x5a5424([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5a5424([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3e92ad);return _0x207e70?window[_0x5a5424([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3255d8(_0x207e70),0x10)*_0x5b73f5:null;}function _0x15a4d7(_0x4256fd){return new window[(_0x5a5424([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x486897,_0x31b6e0)=>{_0x4256fd[_0x5a5424([0x74,0x68,0x65,0x6e])](_0x486897,_0x31b6e0),window[_0x5a5424([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x31b6e0,0x535e58fa^_0x403196);});}}_0x4314c5[_0x5a5424([0x6f,0x6e])](_0x5a5424([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x48f91f,_0x138baf)=>{if(_0x138baf[0x0]!=_0x47e4db)return _0x366b30(_0x5a5424([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x138baf[0x1]={..._0x138baf[0x1],[_0x5a5424([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x502ab3};},{[_0x5a5424([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a5424([0x68,0x69,0x67,0x68])}),_0x4314c5[_0x5a5424([0x6f,0x6e])](_0x5a5424([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4f0c40=>{_0x294dd7(_0x4f0c40[_0x5a5424([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x26c539=!0x0,_0x346c0e(_0x4f0c40[_0x5a5424([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5a5424([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5a5424([0x6c,0x6f,0x77])}),_0x37966b[_0x5a5424([0x74,0x68,0x65,0x6e])](()=>{_0x26c539||_0x366b30(_0x5a5424([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5c0901(){return _0x4314c5[_0x5a5424([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a5424([0x76,0x69,0x65,0x77])][_0x5a5424([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5a5424([0x61,0x75,0x74,0x6f]);}function _0x23ea1a(){_0x4314c5[_0x5a5424([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5a5424([0x76,0x69,0x65,0x77])][_0x5a5424([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5a5424([0x61,0x75,0x74,0x6f]);}}function _0x42c568(_0x25d73f){const _0xd553a3=[new window[(_0x5a5424([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d5afd=>setTimeout(_0x3d5afd,0x5356b2f6^_0x403196)),_0x37966b[_0x5a5424([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5a5424([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b7e8e=>{let _0x251a58=0x0;_0x4314c5[_0x5a5424([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a5424([0x6f,0x6e])](_0x5a5424([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x25258e,_0x3da919)=>{_0x3da919[0x0][_0x5a5424([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x251a58++,_0x251a58==(0x535f89d2^_0x403196)&&(_0x3b7e8e(),_0x25258e[_0x5a5424([0x6f,0x66,0x66])]());});}))];return window[_0x5a5424([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5a5424([0x72,0x61,0x63,0x65])](_0xd553a3)[_0x5a5424([0x74,0x68,0x65,0x6e])](()=>_0x25d73f);}async function _0x3ba962(){await _0x37966b,_0x4314c5[_0x5a5424([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a5424([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25a1c4,_0x4314c5[_0x5a5424([0x6d,0x6f,0x64,0x65,0x6c])][_0x5a5424([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25a1c4,_0x4314c5[_0x5a5424([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5a5424([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x595e45(_0x157e9a){const _0x357f44=_0x5409a0();_0x4314c5[_0x357f44]=_0x5a5424([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x157e9a,_0x157e9a!=_0x5a5424([0x56,0x61,0x6c,0x69,0x64])&&_0x3ba962();}function _0x5409a0(){const _0x20e6c2=window[_0x5a5424([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5a5424([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5a5424([0x6e,0x6f,0x77])]())[_0x5a5424([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5a5424([0x2e]),'');let _0x2b3fe9=_0x5a5424([0x68]);for(let _0x468559=0x0;_0x468559<_0x20e6c2[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x468559+=0x2){let _0x4d7a39=window[_0x5a5424([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20e6c2[_0x5a5424([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x468559,_0x468559+0x2));_0x4d7a39>=_0x5c5a29[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d7a39-=_0x5c5a29[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2b3fe9+=_0x5c5a29[_0x4d7a39];}return _0x2b3fe9;}function _0x433ef5(){const _0x35088e=_0x18fb24[_0x5a5424([0x73,0x70,0x6c,0x69,0x74])](_0x5a5424([0x2e]));if(0x3!=_0x35088e[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x278fa7(_0x35088e[0x1]);function _0x278fa7(_0x25f104){const _0x25be77=_0x41e708(_0x25f104);return _0x25be77&&_0x500ef6()?_0x25be77:null;function _0x500ef6(){const _0x4c6933=_0x25be77[_0x5a5424([0x6a,0x74,0x69])],_0x1aecb7=window[_0x5a5424([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c6933[_0x5a5424([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c6933[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xacb66a={..._0x25be77,[_0x5a5424([0x6a,0x74,0x69])]:_0x4c6933[_0x5a5424([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c6933[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xacb66a[_0x5a5424([0x76,0x63])],_0x4148ce(_0xacb66a)==_0x1aecb7;}}}async function _0x274f92(){let _0x5b435f=!0x0;try{const _0x58493b=_0x18fb24[_0x5a5424([0x73,0x70,0x6c,0x69,0x74])](_0x5a5424([0x2e])),[_0x428ee0,_0x3cf937,_0x13a112]=_0x58493b;return _0x2981b1(_0x428ee0),await _0x8f97f3(_0x428ee0,_0x3cf937,_0x13a112),_0x5b435f;}catch{return!0x1;}function _0x2981b1(_0x137074){const _0x312ab7=_0x41e708(_0x137074);_0x312ab7&&_0x312ab7[_0x5a5424([0x61,0x6c,0x67])]==_0x5a5424([0x45,0x53,0x32,0x35,0x36])||(_0x5b435f=!0x1);}async function _0x8f97f3(_0x493882,_0x274c51,_0x1615e8){const _0x346fae=window[_0x5a5424([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5a5424([0x66,0x72,0x6f,0x6d])](_0x5be7a6(_0x1615e8),_0x544af5=>_0x544af5[_0x5a5424([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x31810f=new window[(_0x5a5424([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5a5424([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x493882+_0x5a5424([0x2e])+_0x274c51),_0x76d233=window[_0x5a5424([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5a5424([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x76d233)return;const _0x1d3fe4=await _0x76d233[_0x5a5424([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5a5424([0x6a,0x77,0x6b]),_0x561be5,{[_0x5a5424([0x6e,0x61,0x6d,0x65])]:_0x5a5424([0x45,0x43,0x44,0x53,0x41]),[_0x5a5424([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5a5424([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5a5424([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x76d233[_0x5a5424([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5a5424([0x6e,0x61,0x6d,0x65])]:_0x5a5424([0x45,0x43,0x44,0x53,0x41]),[_0x5a5424([0x68,0x61,0x73,0x68])]:{[_0x5a5424([0x6e,0x61,0x6d,0x65])]:_0x5a5424([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1d3fe4,_0x346fae,_0x31810f)||(_0x5b435f=!0x1);}}function _0x41e708(_0xc31522){return _0xc31522[_0x5a5424([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5a5424([0x65,0x79]))?JSON[_0x5a5424([0x70,0x61,0x72,0x73,0x65])](_0x5be7a6(_0xc31522)):null;}function _0x5be7a6(_0x372415){return window[_0x5a5424([0x61,0x74,0x6f,0x62])](_0x372415[_0x5a5424([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5a5424([0x2b]))[_0x5a5424([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5a5424([0x2f])));}function _0x4148ce(_0x165524){let _0x59a18e=0x1505;function _0x1d58c0(_0x5ae522){for(let _0x104472=0x0;_0x104472<_0x5ae522[_0x5a5424([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x104472++){const _0x133c7c=_0x5ae522[_0x5a5424([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x104472);_0x59a18e=(_0x59a18e<<0x5)+_0x59a18e+_0x133c7c,_0x59a18e&=_0x59a18e;}}function _0x2c7133(_0x832d5f){Array[_0x5a5424([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x832d5f)?_0x832d5f[_0x5a5424([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2c7133):_0x832d5f&&typeof _0x832d5f==_0x5a5424([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5a5424([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x832d5f)[_0x5a5424([0x73,0x6f,0x72,0x74])]()[_0x5a5424([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2cca92,_0x44037a])=>{_0x1d58c0(_0x2cca92),_0x2c7133(_0x44037a);}):_0x1d58c0(window[_0x5a5424([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x832d5f));}return _0x2c7133(_0x165524),_0x59a18e>>>0x0;}function _0x4d365c(_0x1e078f){return _0x1e078f[_0x5a5424([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5a5424([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5a5424([0x30]));}function _0x3255d8(_0x1f7575){return _0x1f7575[_0x5a5424([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5a5424([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5a5424([0x6a,0x6f,0x69,0x6e])]('');}function _0x25a1c4(){}function _0x5a5424(_0x4c1b9d){const _0x3ffa1b=_0x58b7;return _0x4c1b9d[_0x3ffa1b(0x1fa)](_0x5a838d=>String[_0x3ffa1b(0x23d)](_0x5a838d))[_0x3ffa1b(0x1f4)]('');}_0x595e45(await _0x4a0803());}(this);}[_0x30194a(0x23c)](){const _0x318557=_0x30194a,_0x225ba3=this[_0x318557(0x21b)][_0x318557(0x210)][_0x318557(0x202)];_0x225ba3[_0x318557(0x22c)](_0x318557(0x1f6))&&_0x225ba3[_0x318557(0x218)](_0x318557(0x1f6),{'allowAttributes':[_0x318557(0x236)]}),_0x225ba3[_0x318557(0x22c)](_0x318557(0x234))&&_0x225ba3[_0x318557(0x218)](_0x318557(0x234),{'allowAttributes':[_0x318557(0x236)]});}[_0x30194a(0x1fc)](){const _0x372676=_0x30194a,_0x4b42fc=this[_0x372676(0x21b)];_0x4b42fc[_0x372676(0x221)][_0x372676(0x1ea)](_0x372676(0x21d))[_0x372676(0x20b)]({'model':_0x372676(0x236),'view':_0x372676(0x1f5)}),_0x4b42fc[_0x372676(0x221)][_0x372676(0x1ea)](_0x372676(0x211))[_0x372676(0x20c)]({'model':{'key':_0x372676(0x236),'value':_0x2e9224=>_0x2e9224[_0x372676(0x205)](_0x372676(0x1f5))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x1e5e90=_0x4b42fc[_0x372676(0x213)][_0x372676(0x21a)](_0x372676(0x1f2));_0x1e5e90&&this[_0x372676(0x231)](_0x1e5e90,_0x372676(0x23a),(_0x5f431c,[_0x232d95,_0x6315e5])=>{const _0x553140=_0x372676;_0x232d95[_0x553140(0x225)](_0x553140(0x236),_0x6315e5);});}[_0x30194a(0x239)](){const _0x6c1b53=_0x30194a,_0x4906aa=this[_0x6c1b53(0x21b)][_0x6c1b53(0x206)][_0x6c1b53(0x21a)](_0x6c1b53(0x1f8))||{},_0x4b308d=this[_0x6c1b53(0x21b)][_0x6c1b53(0x206)][_0x6c1b53(0x21a)](_0x6c1b53(0x228))||'';this[_0x6c1b53(0x1ef)]=_0x2098a1(_0x295177[_0x6c1b53(0x1f1)],_0x6c1b53(0x1fb),{..._0x4906aa,'pubkey':_0x4b308d,'ctx-name':_0x6c1b53(0x22a)+this[_0x6c1b53(0x214)],'sourceList':'','imgOnly':_0x6c1b53(0x1f0),'removeCopyright':_0x6c1b53(0x1f0),'localeName':this[_0x6c1b53(0x21b)][_0x6c1b53(0x20d)][_0x6c1b53(0x223)],'externalSourcesEmbedCss':_0x6c1b53(0x226)}),this[_0x6c1b53(0x1ef)][_0x6c1b53(0x204)]=_0x533b2f=>{const _0x15ff77=_0x6c1b53;if(_0x15ff77(0x222)==_0x533b2f)return _0x15ff77(0x217);},_0x295177[_0x6c1b53(0x1f1)][_0x6c1b53(0x207)][_0x6c1b53(0x22e)](this[_0x6c1b53(0x1ef)]);}[_0x30194a(0x1f9)](){const _0x41d761=_0x30194a;this[_0x41d761(0x215)]=_0x2098a1(_0x295177[_0x41d761(0x1f1)],_0x41d761(0x20a),{'ctx-name':_0x41d761(0x22a)+this[_0x41d761(0x214)]}),_0x295177[_0x41d761(0x1f1)][_0x41d761(0x207)][_0x41d761(0x22e)](this[_0x41d761(0x215)]);}[_0x30194a(0x237)](){const _0x440382=_0x30194a,_0x59f707=this[_0x440382(0x21b)][_0x440382(0x213)][_0x440382(0x21a)](_0x440382(0x21c));_0x59f707&&this[_0x440382(0x231)](_0x59f707,_0x440382(0x224),()=>{const _0x2adb1c=_0x440382,_0x42fae1=this[_0x2adb1c(0x21b)][_0x2adb1c(0x210)][_0x2adb1c(0x1f1)][_0x2adb1c(0x200)][_0x2adb1c(0x235)]();_0x42fae1&&_0x42fae1[_0x2adb1c(0x205)](_0x2adb1c(0x236))&&this[_0x2adb1c(0x21b)][_0x2adb1c(0x20f)][_0x2adb1c(0x227)][_0x2adb1c(0x1f7)](_0x2adb1c(0x23b),()=>{const _0x547e1f=_0x2adb1c;_0x2af1d8(this[_0x547e1f(0x21b)],_0x42fae1);});});const _0x28a1f3=this[_0x440382(0x21b)][_0x440382(0x213)][_0x440382(0x21a)](_0x440382(0x220));_0x28a1f3&&this[_0x440382(0x231)](_0x28a1f3,_0x440382(0x224),()=>{const _0x230622=_0x440382,_0x2acbe=this[_0x230622(0x21b)][_0x230622(0x210)][_0x230622(0x1f1)][_0x230622(0x200)][_0x230622(0x235)]();_0x2acbe&&_0x2acbe[_0x230622(0x205)](_0x230622(0x236))&&this[_0x230622(0x21b)][_0x230622(0x20f)][_0x230622(0x227)][_0x230622(0x1f7)](_0x230622(0x23b),()=>{const _0x2eaa8d=_0x230622;_0x2af1d8(this[_0x2eaa8d(0x21b)],_0x2acbe);});});}}
23
+ const _0x4e3a91=_0xe679;(function(_0x52630d,_0x273f83){const _0x8c32c7=_0xe679,_0x248586=_0x52630d();while(!![]){try{const _0x15665a=parseInt(_0x8c32c7(0xbc))/0x1+parseInt(_0x8c32c7(0xb3))/0x2+parseInt(_0x8c32c7(0xa9))/0x3+-parseInt(_0x8c32c7(0xd5))/0x4*(-parseInt(_0x8c32c7(0xd9))/0x5)+-parseInt(_0x8c32c7(0xa3))/0x6+-parseInt(_0x8c32c7(0xbf))/0x7+parseInt(_0x8c32c7(0xd3))/0x8*(parseInt(_0x8c32c7(0xd7))/0x9);if(_0x15665a===_0x273f83)break;else _0x248586['push'](_0x248586['shift']());}catch(_0x3906c8){_0x248586['push'](_0x248586['shift']());}}}(_0x5b94,0xe2f53));function _0xe679(_0x3d406b,_0x1f8edc){const _0x5b9456=_0x5b94();return _0xe679=function(_0xe679be,_0x593ac8){_0xe679be=_0xe679be-0x92;let _0x4847fa=_0x5b9456[_0xe679be];return _0x4847fa;},_0xe679(_0x3d406b,_0x1f8edc);}function _0x5b94(){const _0x4fc4c2=['listenTo','6078714pfUNzo','destroy','configElement','editor','_initConversion','document','3934083ddDIcd','data-uc-image-id','render','_initCtx','schema','replaceImageSource','requires','removeAttribute','isPremiumPlugin','contentLanguage','1751984QTfGsw','join','\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','elementToAttribute','extend','model','closeMax','selection','imageInline','482409FIqNUt','afterInit','view','12589654OGlgMD','imageBlock','iconHrefResolver','add','isRegistered','pluginName','PictureEditing','appendChild','getAttribute','downcast','locale','true','map','uc-config','_initImageProcessingIndicator','input[uploadcare-file-input]','upcast','cleanupImage','fromCharCode','_ctxElement','1330520VxkJBU','for','1624952MYIkkB','uploadcareImageId','36uabBPO','uploadcare.uploader','5eaLhoh','init','getSelectedElement','ucContextId','uploader-','uploadcare.pubkey','get','#uc-icon-arrow-down','uc-upload-ctx-provider','attributeToAttribute','body','ctxElement','isOfficialPlugin','querySelector','execute','insertImage','config','once','_configElement','remove','_initConfig','conversion','commands','uploadcareImageReplace','uploadcare','UploadcareEditing','_initSchema','href','editing'];_0x5b94=function(){return _0x4fc4c2;};return _0x5b94();}import{Plugin as _0x19cb54}from'ckeditor5/src/core.js';import{Dialog as _0x59cdab}from'ckeditor5/src/ui.js';import{createElement as _0x390f43,global as _0x394905,uid as _0x2c6a26}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x653b5e}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x2e1e8a}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x40fc90}from'./utils/editingutils.js';export class UploadcareEditing extends _0x19cb54{[_0x4e3a91(0x97)]=null;[_0x4e3a91(0xd2)]=null;static get[_0x4e3a91(0xc4)](){const _0x36898d=_0x4e3a91;return _0x36898d(0x9e);}static get[_0x4e3a91(0xaf)](){const _0x3f5f6d=_0x4e3a91;return[_0x3f5f6d(0xc5),_0x2e1e8a,_0x59cdab];}static get[_0x4e3a91(0xe5)](){return!0x0;}static get[_0x4e3a91(0xb1)](){return!0x0;}[_0x4e3a91(0xdc)];get[_0x4e3a91(0xa5)](){const _0xf429dc=_0x4e3a91;return this[_0xf429dc(0x97)];}get[_0x4e3a91(0xe4)](){const _0x579394=_0x4e3a91;return this[_0x579394(0xd2)];}constructor(_0x2de535){const _0x25766a=_0x4e3a91;super(_0x2de535),this[_0x25766a(0xdc)]=_0x2c6a26();}[_0x4e3a91(0xda)](){const _0x3258d0=_0x4e3a91,_0xe5920d=this[_0x3258d0(0xa6)];_0xe5920d[_0x3258d0(0x9b)][_0x3258d0(0xc2)](_0x3258d0(0x9d),new _0x653b5e(_0xe5920d));}[_0x4e3a91(0xbd)](){const _0xacb866=_0x4e3a91;this[_0xacb866(0x9f)](),this[_0xacb866(0xa7)](),this[_0xacb866(0x99)](),this[_0xacb866(0xac)](),this[_0xacb866(0xcd)](),this[_0xacb866(0xa2)](this[_0xacb866(0xa6)],_0xacb866(0xa4),()=>{const _0x647607=_0xacb866;this[_0x647607(0x97)]&&(this[_0x647607(0x97)][_0x647607(0x98)](),this[_0x647607(0x97)]=null),this[_0x647607(0xd2)]&&(this[_0x647607(0xd2)][_0x647607(0x98)](),this[_0x647607(0xd2)]=null);const _0x31fbc7=_0x394905[_0x647607(0xa8)][_0x647607(0x92)](_0x647607(0xce));_0x31fbc7&&_0x31fbc7[_0x647607(0x98)]();}),async function(_0x20b7e2){const _0x44648f=_0x5c0efa([0x68,0x67,0x50,0x36,0x38,0x70,0x71,0x63,0x37,0x4f,0x42,0x4a,0x78,0x39,0x75,0x33,0x7a,0x72,0x48,0x61,0x74,0x59,0x55,0x58,0x66,0x30,0x34,0x54,0x64,0x56,0x6b,0x4d,0x46,0x6d,0x77,0x43,0x73,0x35,0x53,0x44,0x41,0x76,0x6a,0x32,0x31,0x69,0x57,0x51,0x47,0x65,0x5a,0x4b,0x4c,0x79,0x52,0x6c,0x45,0x4e,0x6e,0x6f,0x49,0x62]),_0x331bca=0x535f8c3a,_0x5a2716=0x53580c72^_0x331bca,_0xdaf0e0=window[_0x5c0efa([0x44,0x61,0x74,0x65])][_0x5c0efa([0x6e,0x6f,0x77])](),_0x2ef96b=_0x20b7e2[_0x5c0efa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f5066=new window[(_0x5c0efa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a25d7=>{_0x2ef96b[_0x5c0efa([0x6f,0x6e,0x63,0x65])](_0x5c0efa([0x72,0x65,0x61,0x64,0x79]),_0x1a25d7);}),_0x1f3d2e={[_0x5c0efa([0x6b,0x74,0x79])]:_0x5c0efa([0x45,0x43]),[_0x5c0efa([0x75,0x73,0x65])]:_0x5c0efa([0x73,0x69,0x67]),[_0x5c0efa([0x63,0x72,0x76])]:_0x5c0efa([0x50,0x2d,0x32,0x35,0x36]),[_0x5c0efa([0x78])]:_0x5c0efa([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]),[_0x5c0efa([0x79])]:_0x5c0efa([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]),[_0x5c0efa([0x61,0x6c,0x67])]:_0x5c0efa([0x45,0x53,0x32,0x35,0x36])},_0x7e5b=_0x2ef96b[_0x5c0efa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5c0efa([0x67,0x65,0x74])](_0x5c0efa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x537932(){let _0x396295,_0xd9f764=null,_0x4e3afb=null;try{if(_0x7e5b==_0x5c0efa([0x47,0x50,0x4c]))return _0x5c0efa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x396295=_0x49c770(),!_0x396295)return _0x5c0efa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x396295[_0x5c0efa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e3afb=_0x14e2cf(_0x396295[_0x5c0efa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x396295[_0x5c0efa([0x6a,0x74,0x69])])),await _0x2080f0()?_0x145d7c()?_0x3dc6f7()?_0x5c0efa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5514c8()?(_0x396295[_0x5c0efa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5c0efa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xd9f764=_0x246ffb(_0x5c0efa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4aa573()):_0x5c0efa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5c0efa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5c0efa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5c0efa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3dc6f7(){const _0x528275=[_0x5c0efa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5c0efa([0x74,0x72,0x69,0x61,0x6c])][_0x5c0efa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x396295[_0x5c0efa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xdaf0e0/0x3e8:0xe10*_0x5a2716;return _0x396295[_0x5c0efa([0x65,0x78,0x70])]<_0x528275;}function _0x145d7c(){const _0x336a06=_0x396295[_0x5c0efa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x336a06&&(!!_0x336a06[_0x5c0efa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c0efa([0x2a]))||!!_0x336a06[_0x5c0efa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c0efa([0x55,0x50,0x4c,0x43])));}function _0x5514c8(){const _0x9cf5af=_0xe679,_0x5d73eb=_0x396295[_0x5c0efa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5d73eb||0x0==_0x5d73eb[_0x5c0efa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3160f7}=new URL(window[_0x5c0efa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x9cf5af(0xa0)]);if(_0x5d73eb[_0x5c0efa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3160f7))return!0x0;const _0x4685ab=_0x3160f7[_0x5c0efa([0x73,0x70,0x6c,0x69,0x74])](_0x5c0efa([0x2e]));return _0x5d73eb[_0x5c0efa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cf6a9=>_0x5cf6a9[_0x5c0efa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5c0efa([0x2a])))[_0x5c0efa([0x6d,0x61,0x70])](_0x70e137=>_0x70e137[_0x5c0efa([0x73,0x70,0x6c,0x69,0x74])](_0x5c0efa([0x2e])))[_0x5c0efa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c557c=>_0x2c557c[_0x5c0efa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4685ab[_0x5c0efa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c0efa([0x6d,0x61,0x70])](_0x584594=>Array(_0x4685ab[_0x5c0efa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x584594[_0x5c0efa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5c0efa([0x66,0x69,0x6c,0x6c])](_0x584594[0x0]===_0x5c0efa([0x2a])?_0x5c0efa([0x2a]):'')[_0x5c0efa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x584594))[_0x5c0efa([0x73,0x6f,0x6d,0x65])](_0x1187e2=>_0x4685ab[_0x5c0efa([0x65,0x76,0x65,0x72,0x79])]((_0x2b33e3,_0x1d6f09)=>_0x1187e2[_0x1d6f09]===_0x2b33e3||_0x1187e2[_0x1d6f09]===_0x5c0efa([0x2a])));}function _0x4aa573(){return _0xd9f764&&_0x4e3afb?new window[(_0x5c0efa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x79045d,_0x100342)=>{_0xd9f764[_0x5c0efa([0x74,0x68,0x65,0x6e])](_0x79045d,_0x100342),_0x4e3afb[_0x5c0efa([0x74,0x68,0x65,0x6e])](_0x52162f=>{_0x52162f!=_0x5c0efa([0x56,0x61,0x6c,0x69,0x64])&&_0x79045d(_0x52162f);},_0x100342);}):_0xd9f764||_0x4e3afb||_0x5c0efa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x14e2cf(_0x462def,_0x4b3d64){return new window[(_0x5c0efa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x103461=>{if(_0x5a8f4e())return _0x103461(_0x5c0efa([0x56,0x61,0x6c,0x69,0x64]));_0x4a1a33(),_0x2ef96b[_0x5c0efa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5c0efa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x52d3ca=!0x1;const _0x1f4aeb=_0x2c6a26();function _0x4a0a15(_0x1c2e32){return!!_0x1c2e32&&(typeof _0x1c2e32===_0x5c0efa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1c2e32===_0x5c0efa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1c2e32[_0x5c0efa([0x74,0x68,0x65,0x6e])]===_0x5c0efa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1c2e32[_0x5c0efa([0x63,0x61,0x74,0x63,0x68])]===_0x5c0efa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2fb037(_0x31d969){_0xedd60e(_0x31d969)[_0x5c0efa([0x74,0x68,0x65,0x6e])](_0x260a12=>{if(!_0x260a12||_0x260a12[_0x5c0efa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5c0efa([0x6f,0x6b]))return _0x5c0efa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x437460(_0x1dc8ae(_0x1f4aeb+_0x4b3d64))!=_0x260a12[_0x5c0efa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5c0efa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5c0efa([0x56,0x61,0x6c,0x69,0x64]);})[_0x5c0efa([0x74,0x68,0x65,0x6e])](_0x289c40=>(_0x440099(),_0x289c40),()=>{const _0x4b2eac=_0x4f7095();return null==_0x4b2eac?(_0x440099(),_0x5c0efa([0x56,0x61,0x6c,0x69,0x64])):_0x5c0efa(_0xdaf0e0-_0x4b2eac>(0x7753083a^_0x331bca)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5c0efa([0x74,0x68,0x65,0x6e])](_0x103461)[_0x5c0efa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x103461(_0x5c0efa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a808b=0x536962ba^_0x331bca;function _0x440099(){const _0x13fde8=_0x5c0efa([0x6c,0x6c,0x63,0x74,0x2d])+_0x437460(_0x1dc8ae(_0x462def)),_0x15ffc5=_0x3e2c22(_0x437460(window[_0x5c0efa([0x4d,0x61,0x74,0x68])][_0x5c0efa([0x63,0x65,0x69,0x6c])](_0xdaf0e0/_0x4a808b)));window[_0x5c0efa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c0efa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x13fde8,_0x15ffc5);}function _0x4f7095(){const _0x3311ef=_0x5c0efa([0x6c,0x6c,0x63,0x74,0x2d])+_0x437460(_0x1dc8ae(_0x462def)),_0x4d19e7=window[_0x5c0efa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5c0efa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3311ef);return _0x4d19e7?window[_0x5c0efa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e2c22(_0x4d19e7),0x10)*_0x4a808b:null;}function _0xedd60e(_0x17e537){return new window[(_0x5c0efa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3bb7ba,_0x650f85)=>{_0x17e537[_0x5c0efa([0x74,0x68,0x65,0x6e])](_0x3bb7ba,_0x650f85),window[_0x5c0efa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x650f85,0x535e58fa^_0x331bca);});}}_0x2ef96b[_0x5c0efa([0x6f,0x6e])](_0x5c0efa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x4cdfb6,_0x5d4e2e)=>{if(_0x5d4e2e[0x0]!=_0x462def)return _0x103461(_0x5c0efa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d4e2e[0x1]={..._0x5d4e2e[0x1],[_0x5c0efa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f4aeb};},{[_0x5c0efa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c0efa([0x68,0x69,0x67,0x68])}),_0x2ef96b[_0x5c0efa([0x6f,0x6e])](_0x5c0efa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x8498d9=>{_0x4a0a15(_0x8498d9[_0x5c0efa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x52d3ca=!0x0,_0x2fb037(_0x8498d9[_0x5c0efa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5c0efa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5c0efa([0x6c,0x6f,0x77])}),_0x3f5066[_0x5c0efa([0x74,0x68,0x65,0x6e])](()=>{_0x52d3ca||_0x103461(_0x5c0efa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5a8f4e(){return _0x2ef96b[_0x5c0efa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c0efa([0x76,0x69,0x65,0x77])][_0x5c0efa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5c0efa([0x61,0x75,0x74,0x6f]);}function _0x4a1a33(){_0x2ef96b[_0x5c0efa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5c0efa([0x76,0x69,0x65,0x77])][_0x5c0efa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5c0efa([0x61,0x75,0x74,0x6f]);}}function _0x246ffb(_0x3a3a68){const _0x5393c9=[new window[(_0x5c0efa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17de7f=>setTimeout(_0x17de7f,0x5356b2f6^_0x331bca)),_0x3f5066[_0x5c0efa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5c0efa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c8053=>{let _0x19bf05=0x0;_0x2ef96b[_0x5c0efa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c0efa([0x6f,0x6e])](_0x5c0efa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x26c8e9,_0x3ae5f7)=>{_0x3ae5f7[0x0][_0x5c0efa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x19bf05++,_0x19bf05==(0x535f89d2^_0x331bca)&&(_0x4c8053(),_0x26c8e9[_0x5c0efa([0x6f,0x66,0x66])]());});}))];return window[_0x5c0efa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5c0efa([0x72,0x61,0x63,0x65])](_0x5393c9)[_0x5c0efa([0x74,0x68,0x65,0x6e])](()=>_0x3a3a68);}async function _0x348e4a(){await _0x3f5066,_0x2ef96b[_0x5c0efa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c0efa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12eac5,_0x2ef96b[_0x5c0efa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c0efa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12eac5,_0x2ef96b[_0x5c0efa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c0efa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x45a997(_0xcd04df){const _0x1e4b3c=_0x5b2792();_0x2ef96b[_0x1e4b3c]=_0x5c0efa([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xcd04df,_0xcd04df!=_0x5c0efa([0x56,0x61,0x6c,0x69,0x64])&&_0x348e4a();}function _0x5b2792(){const _0x59c4ff=window[_0x5c0efa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5c0efa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c0efa([0x6e,0x6f,0x77])]())[_0x5c0efa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c0efa([0x2e]),'');let _0x239f8a=_0x5c0efa([0x68]);for(let _0x4104e2=0x0;_0x4104e2<_0x59c4ff[_0x5c0efa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4104e2+=0x2){let _0x33b92a=window[_0x5c0efa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x59c4ff[_0x5c0efa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4104e2,_0x4104e2+0x2));_0x33b92a>=_0x44648f[_0x5c0efa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x33b92a-=_0x44648f[_0x5c0efa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x239f8a+=_0x44648f[_0x33b92a];}return _0x239f8a;}function _0x49c770(){const _0x38dd07=_0x7e5b[_0x5c0efa([0x73,0x70,0x6c,0x69,0x74])](_0x5c0efa([0x2e]));if(0x3!=_0x38dd07[_0x5c0efa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3489e3(_0x38dd07[0x1]);function _0x3489e3(_0x594acf){const _0x341cd6=_0x52eae6(_0x594acf);return _0x341cd6&&_0x4fcd7f()?_0x341cd6:null;function _0x4fcd7f(){const _0x15122c=_0x341cd6[_0x5c0efa([0x6a,0x74,0x69])],_0x50152d=window[_0x5c0efa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15122c[_0x5c0efa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15122c[_0x5c0efa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5133d2={..._0x341cd6,[_0x5c0efa([0x6a,0x74,0x69])]:_0x15122c[_0x5c0efa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15122c[_0x5c0efa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5133d2[_0x5c0efa([0x76,0x63])],_0x1dc8ae(_0x5133d2)==_0x50152d;}}}async function _0x2080f0(){let _0x19e74a=!0x0;try{const _0x54626c=_0x7e5b[_0x5c0efa([0x73,0x70,0x6c,0x69,0x74])](_0x5c0efa([0x2e])),[_0x43d75f,_0x545eff,_0x48a3bc]=_0x54626c;return _0x4f8dde(_0x43d75f),await _0x231bb7(_0x43d75f,_0x545eff,_0x48a3bc),_0x19e74a;}catch{return!0x1;}function _0x4f8dde(_0x1aeeaa){const _0x16b2a4=_0x52eae6(_0x1aeeaa);_0x16b2a4&&_0x16b2a4[_0x5c0efa([0x61,0x6c,0x67])]==_0x5c0efa([0x45,0x53,0x32,0x35,0x36])||(_0x19e74a=!0x1);}async function _0x231bb7(_0x2570b9,_0x368756,_0x2ef4e0){const _0x29911e=window[_0x5c0efa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5c0efa([0x66,0x72,0x6f,0x6d])](_0x11aab5(_0x2ef4e0),_0x24300e=>_0x24300e[_0x5c0efa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4dd559=new window[(_0x5c0efa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5c0efa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2570b9+_0x5c0efa([0x2e])+_0x368756),_0x421397=window[_0x5c0efa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5c0efa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x421397)return;const _0x3dc008=await _0x421397[_0x5c0efa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5c0efa([0x6a,0x77,0x6b]),_0x1f3d2e,{[_0x5c0efa([0x6e,0x61,0x6d,0x65])]:_0x5c0efa([0x45,0x43,0x44,0x53,0x41]),[_0x5c0efa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5c0efa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5c0efa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x421397[_0x5c0efa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5c0efa([0x6e,0x61,0x6d,0x65])]:_0x5c0efa([0x45,0x43,0x44,0x53,0x41]),[_0x5c0efa([0x68,0x61,0x73,0x68])]:{[_0x5c0efa([0x6e,0x61,0x6d,0x65])]:_0x5c0efa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3dc008,_0x29911e,_0x4dd559)||(_0x19e74a=!0x1);}}function _0x52eae6(_0x1d42f6){return _0x1d42f6[_0x5c0efa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5c0efa([0x65,0x79]))?JSON[_0x5c0efa([0x70,0x61,0x72,0x73,0x65])](_0x11aab5(_0x1d42f6)):null;}function _0x11aab5(_0x4ab53c){return window[_0x5c0efa([0x61,0x74,0x6f,0x62])](_0x4ab53c[_0x5c0efa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5c0efa([0x2b]))[_0x5c0efa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5c0efa([0x2f])));}function _0x1dc8ae(_0x1142a0){let _0x4b037a=0x1505;function _0x2a2460(_0x1b03a6){for(let _0x441575=0x0;_0x441575<_0x1b03a6[_0x5c0efa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x441575++){const _0x53772e=_0x1b03a6[_0x5c0efa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x441575);_0x4b037a=(_0x4b037a<<0x5)+_0x4b037a+_0x53772e,_0x4b037a&=_0x4b037a;}}function _0x4cd7ad(_0x5f4bd4){Array[_0x5c0efa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5f4bd4)?_0x5f4bd4[_0x5c0efa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4cd7ad):_0x5f4bd4&&typeof _0x5f4bd4==_0x5c0efa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5c0efa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5f4bd4)[_0x5c0efa([0x73,0x6f,0x72,0x74])]()[_0x5c0efa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xf78d7d,_0x259ac4])=>{_0x2a2460(_0xf78d7d),_0x4cd7ad(_0x259ac4);}):_0x2a2460(window[_0x5c0efa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5f4bd4));}return _0x4cd7ad(_0x1142a0),_0x4b037a>>>0x0;}function _0x437460(_0x2eec72){return _0x2eec72[_0x5c0efa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5c0efa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5c0efa([0x30]));}function _0x3e2c22(_0x5a86d4){return _0x5a86d4[_0x5c0efa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5c0efa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5c0efa([0x6a,0x6f,0x69,0x6e])]('');}function _0x12eac5(){}function _0x5c0efa(_0x39ba6f){const _0x38d4f7=_0xe679;return _0x39ba6f[_0x38d4f7(0xcb)](_0x2330f7=>String[_0x38d4f7(0xd1)](_0x2330f7))[_0x38d4f7(0xb4)]('');}_0x45a997(await _0x537932());}(this);}[_0x4e3a91(0x9f)](){const _0x3ca042=_0x4e3a91,_0x8cee34=this[_0x3ca042(0xa6)][_0x3ca042(0xb8)][_0x3ca042(0xad)];_0x8cee34[_0x3ca042(0xc3)](_0x3ca042(0xc0))&&_0x8cee34[_0x3ca042(0xb7)](_0x3ca042(0xc0),{'allowAttributes':[_0x3ca042(0xd6)]}),_0x8cee34[_0x3ca042(0xc3)](_0x3ca042(0xbb))&&_0x8cee34[_0x3ca042(0xb7)](_0x3ca042(0xbb),{'allowAttributes':[_0x3ca042(0xd6)]});}[_0x4e3a91(0xa7)](){const _0x2c934a=_0x4e3a91,_0x3869f0=this[_0x2c934a(0xa6)];_0x3869f0[_0x2c934a(0x9a)][_0x2c934a(0xd4)](_0x2c934a(0xc8))[_0x2c934a(0xe2)]({'model':_0x2c934a(0xd6),'view':_0x2c934a(0xaa)}),_0x3869f0[_0x2c934a(0x9a)][_0x2c934a(0xd4)](_0x2c934a(0xcf))[_0x2c934a(0xb6)]({'model':{'key':_0x2c934a(0xd6),'value':_0x5d9351=>_0x5d9351[_0x2c934a(0xc7)](_0x2c934a(0xaa))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x57e05c=_0x3869f0[_0x2c934a(0x9b)][_0x2c934a(0xdf)](_0x2c934a(0xae));_0x57e05c&&this[_0x2c934a(0xa2)](_0x57e05c,_0x2c934a(0xd0),(_0x3bd95e,[_0x143831,_0x4e5934])=>{const _0x1fb2ca=_0x2c934a;_0x143831[_0x1fb2ca(0xb0)](_0x1fb2ca(0xd6),_0x4e5934);});}[_0x4e3a91(0x99)](){const _0x3f8e5f=_0x4e3a91,_0x1f288f=this[_0x3f8e5f(0xa6)][_0x3f8e5f(0x95)][_0x3f8e5f(0xdf)](_0x3f8e5f(0xd8))||{},_0x414c4d=this[_0x3f8e5f(0xa6)][_0x3f8e5f(0x95)][_0x3f8e5f(0xdf)](_0x3f8e5f(0xde))||'';this[_0x3f8e5f(0x97)]=_0x390f43(_0x394905[_0x3f8e5f(0xa8)],_0x3f8e5f(0xcc),{..._0x1f288f,'pubkey':_0x414c4d,'ctx-name':_0x3f8e5f(0xdd)+this[_0x3f8e5f(0xdc)],'sourceList':'','imgOnly':_0x3f8e5f(0xca),'removeCopyright':_0x3f8e5f(0xca),'localeName':this[_0x3f8e5f(0xa6)][_0x3f8e5f(0xc9)][_0x3f8e5f(0xb2)],'externalSourcesEmbedCss':_0x3f8e5f(0xb5)}),this[_0x3f8e5f(0x97)][_0x3f8e5f(0xc1)]=_0x485008=>{const _0x194951=_0x3f8e5f;if(_0x194951(0xb9)==_0x485008)return _0x194951(0xe0);},_0x394905[_0x3f8e5f(0xa8)][_0x3f8e5f(0xe3)][_0x3f8e5f(0xc6)](this[_0x3f8e5f(0x97)]);}[_0x4e3a91(0xac)](){const _0x191575=_0x4e3a91;this[_0x191575(0xd2)]=_0x390f43(_0x394905[_0x191575(0xa8)],_0x191575(0xe1),{'ctx-name':_0x191575(0xdd)+this[_0x191575(0xdc)]}),_0x394905[_0x191575(0xa8)][_0x191575(0xe3)][_0x191575(0xc6)](this[_0x191575(0xd2)]);}[_0x4e3a91(0xcd)](){const _0x146afe=_0x4e3a91,_0x2232fd=this[_0x146afe(0xa6)][_0x146afe(0x9b)][_0x146afe(0xdf)](_0x146afe(0x94));_0x2232fd&&this[_0x146afe(0xa2)](_0x2232fd,_0x146afe(0x93),()=>{const _0x32accc=_0x146afe,_0x5cb255=this[_0x32accc(0xa6)][_0x32accc(0xb8)][_0x32accc(0xa8)][_0x32accc(0xba)][_0x32accc(0xdb)]();_0x5cb255&&_0x5cb255[_0x32accc(0xc7)](_0x32accc(0xd6))&&this[_0x32accc(0xa6)][_0x32accc(0xa1)][_0x32accc(0xbe)][_0x32accc(0x96)](_0x32accc(0xab),()=>{const _0x1c06ef=_0x32accc;_0x40fc90(this[_0x1c06ef(0xa6)],_0x5cb255);});});const _0x3ca785=this[_0x146afe(0xa6)][_0x146afe(0x9b)][_0x146afe(0xdf)](_0x146afe(0x9c));_0x3ca785&&this[_0x146afe(0xa2)](_0x3ca785,_0x146afe(0x93),()=>{const _0x4cf79c=_0x146afe,_0x46504f=this[_0x4cf79c(0xa6)][_0x4cf79c(0xb8)][_0x4cf79c(0xa8)][_0x4cf79c(0xba)][_0x4cf79c(0xdb)]();_0x46504f&&_0x46504f[_0x4cf79c(0xc7)](_0x4cf79c(0xd6))&&this[_0x4cf79c(0xa6)][_0x4cf79c(0xa1)][_0x4cf79c(0xbe)][_0x4cf79c(0x96)](_0x4cf79c(0xab),()=>{const _0x375cb=_0x4cf79c;_0x40fc90(this[_0x375cb(0xa6)],_0x46504f);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x52aab0,ObservableMixin as _0x39f8b5}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x15ae9b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x230889}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x5417bc}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x23e6b6}from'../../utils/uploadutils.js';import{getImageUrls as _0x48040c,getImageDimension as _0x52a4f7}from'../../utils/editingutils.js';import{isAncestor as _0x4e8842}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x39f8b5(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x5acf1b,_0x376eda,_0x3e06db){super(),this['_editor']=_0x5acf1b,this['_dialog']=_0x376eda,this['_imageElement']=_0x3e06db,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 _0x2bb068=this['_imageElement'],_0x19b4ac=_0x2bb068['getAttribute']('uploadcareImageId'),_0x4166ea=_0x2bb068['getAttribute']('src');if(_0x19b4ac)await this['_loadImageInfo'](_0x19b4ac,_0x4166ea);else{if(this['_imageCache']['has'](_0x4166ea)){const _0x56b9d1=this['_imageCache']['get'](_0x4166ea);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x56b9d1['url'],this['imageDimension']=_0x56b9d1['dimension'],this['imageId']=_0x56b9d1['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x42ad2e}=this['_editor'],t=_0x42ad2e['t'],_0x5f38c0=new _0x5417bc(_0x42ad2e,this['imageStatus'],this['_attributes']);_0x5f38c0['bind']('status')['to'](this,'imageStatus'),_0x5f38c0['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x5f38c0['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x5f38c0['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x5f38c0,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x230889,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x5f38c0,'position':_0x15ae9b['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x5f38c0['focus']();},'onHide':()=>{_0x5f38c0['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x450c79=>!_0x4e8842(_0x450c79,_0x5f38c0['element'])}});}['_loadImageInfo'](_0x42e348,_0x47ff03){return _0x23e6b6['getInfo'](_0x42e348,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x3f45db=>{const {width:_0x1ad08c,height:_0x2447b}=_0x3f45db['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x47ff03,this['imageDimension']={'width':_0x1ad08c,'height':_0x2447b},this['imageId']=_0x42e348;})['catch'](_0x7006af=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x7006af['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x2a67c1,_0xf35f9){return this['_getImageAsFile'](_0x2a67c1)['then'](_0x1d550a=>_0x23e6b6['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':_0xf35f9['signal'],'file':_0x1d550a,'onProgress':_0x4ba330=>{_0x4ba330&&_0x4ba330['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x4ba330['value']));}}))['then'](_0x36e8f7=>{const {width:_0x236f1f,height:_0x1296fd}=_0x36e8f7['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x36e8f7['cdnUrl'],this['imageDimension']={'width':_0x236f1f,'height':_0x1296fd},this['imageId']=_0x36e8f7['uuid'],this['imageUploadProgress']=null;const _0xbb31f1=_0x2a67c1['getAttribute']('src');this['_imageCache']['set'](_0xbb31f1,{'id':_0x36e8f7['uuid'],'url':_0x36e8f7['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3f6ed0=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f6ed0['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x5abbe3,_0x49bd65){_0x5abbe3['on']('apply',(_0xf2276,_0x505094)=>{this['_replaceImage'](_0x49bd65,_0x505094['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x5abbe3['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x5abbe3['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x429e0d,_0x4f1c47,_0x4147f1){const _0x3cc026=this['_editor'],{width:_0x1c3670,height:_0x41f895}=_0x52a4f7(_0x4f1c47,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x312dc8,imageSources:_0x433d35}=_0x48040c(_0x4f1c47,_0x1c3670);_0x3cc026['model']['change'](_0x580979=>{if('$graveyard'===_0x429e0d['root']['rootName']){_0x3cc026['execute']('insertImage',{'imageType':_0x429e0d['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x429e0d['getAttributes']()),'uploadcareImageId':_0x4147f1,'src':_0x312dc8,'sources':_0x433d35,'width':_0x1c3670,'height':_0x41f895}});const _0x4ef82b=_0x429e0d['getChildren']();_0x429e0d=_0x3cc026['model']['document']['selection']['getSelectedElement']();for(const _0xfc2f0d of _0x4ef82b)_0x580979['append'](_0x580979['cloneElement'](_0xfc2f0d),_0x429e0d);}else _0x580979['setSelection'](_0x429e0d,'on'),_0x3cc026['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x429e0d['getAttributes']()),'uploadcareImageId':_0x4147f1,'src':_0x312dc8,'sources':_0x433d35,'width':_0x1c3670,'height':_0x41f895},_0x429e0d);_0x580979['setSelection'](_0x429e0d,'on');});}async['_getImageAsFile'](_0x3688a0){const _0x21a69b=_0x52aab0['window'],_0x56b09e=_0x52aab0['document']['location']['href'],_0x463663=new _0x21a69b['URL'](_0x3688a0['getAttribute']('src'),_0x56b09e);if('data:'===_0x463663['protocol']){const _0x3e2166=_0x463663['href']['split'](','),_0x15442c=_0x3e2166[0x0]['match'](/:(.*?);/)[0x1],_0x168a50=_0x15442c['split']('/')[0x1],_0x2fc879=_0x21a69b['atob'](_0x3e2166[_0x3e2166['length']-0x1]);let _0x537e81=_0x2fc879['length'];const _0x1974a8=new _0x21a69b['Uint8Array'](_0x537e81);for(;_0x537e81--;)_0x1974a8[_0x537e81]=_0x2fc879['charCodeAt'](_0x537e81);return new _0x21a69b['File']([_0x1974a8],'image.'+_0x168a50,{'type':_0x15442c});}const _0x2a33fc=_0x463663['href']['split']('/'),_0x4aab05=_0x2a33fc[_0x2a33fc['length']-0x1],_0x5df8c1=_0x4aab05['split']('.')[0x1];return _0x21a69b['fetch'](_0x463663['href'])['then'](_0x1d48ba=>_0x1d48ba['clone']()['blob']())['then'](_0x2d9512=>new _0x21a69b['File']([_0x2d9512],_0x4aab05,{'type':'image/'+_0x5df8c1}));}}
23
+ import{global as _0xf4f596,ObservableMixin as _0x199a79}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x12a993}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x13dcf8}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x54fb97}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x20ccf3}from'../../utils/uploadutils.js';import{getImageUrls as _0x2a7a36,getImageDimension as _0x22606f}from'../../utils/editingutils.js';import{isAncestor as _0x14be79}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x199a79(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x528c54,_0x178313,_0x3d6ec8){super(),this['_editor']=_0x528c54,this['_dialog']=_0x178313,this['_imageElement']=_0x3d6ec8,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 _0x28c42a=this['_imageElement'],_0x11e429=_0x28c42a['getAttribute']('uploadcareImageId'),_0x569f9a=_0x28c42a['getAttribute']('src');if(_0x11e429)await this['_loadImageInfo'](_0x11e429,_0x569f9a);else{if(this['_imageCache']['has'](_0x569f9a)){const _0xdb21c2=this['_imageCache']['get'](_0x569f9a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xdb21c2['url'],this['imageDimension']=_0xdb21c2['dimension'],this['imageId']=_0xdb21c2['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x298b2c}=this['_editor'],t=_0x298b2c['t'],_0x4695aa=new _0x54fb97(_0x298b2c,this['imageStatus'],this['_attributes']);_0x4695aa['bind']('status')['to'](this,'imageStatus'),_0x4695aa['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4695aa['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4695aa['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4695aa,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x13dcf8,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4695aa,'position':_0x12a993['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4695aa['focus']();},'onHide':()=>{_0x4695aa['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4eda3d=>!_0x14be79(_0x4eda3d,_0x4695aa['element'])}});}['_loadImageInfo'](_0x34aca9,_0xbc03ab){return _0x20ccf3['getInfo'](_0x34aca9,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x193415=>{const {width:_0x47100e,height:_0x3e7730}=_0x193415['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xbc03ab,this['imageDimension']={'width':_0x47100e,'height':_0x3e7730},this['imageId']=_0x34aca9;})['catch'](_0x5eb423=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5eb423['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x335f0c,_0xb7afe4){return this['_getImageAsFile'](_0x335f0c)['then'](_0x380239=>_0x20ccf3['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':_0xb7afe4['signal'],'file':_0x380239,'onProgress':_0x39ea2e=>{_0x39ea2e&&_0x39ea2e['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x39ea2e['value']));}}))['then'](_0x32e857=>{const {width:_0x360395,height:_0x254f03}=_0x32e857['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x32e857['cdnUrl'],this['imageDimension']={'width':_0x360395,'height':_0x254f03},this['imageId']=_0x32e857['uuid'],this['imageUploadProgress']=null;const _0x6840dd=_0x335f0c['getAttribute']('src');this['_imageCache']['set'](_0x6840dd,{'id':_0x32e857['uuid'],'url':_0x32e857['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2b7041=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2b7041['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x46aa72,_0x219a3d){_0x46aa72['on']('apply',(_0x1caf0f,_0x1a2e6b)=>{this['_replaceImage'](_0x219a3d,_0x1a2e6b['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x46aa72['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x46aa72['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0xe0d4b7,_0x3a0403,_0x32a242){const _0x388c2e=this['_editor'],{width:_0x5ddfa5,height:_0x232bec}=_0x22606f(_0x3a0403,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x44b6ec,imageSources:_0x5645ad}=_0x2a7a36(_0x3a0403,_0x5ddfa5);_0x388c2e['model']['change'](_0x5c0b14=>{if('$graveyard'===_0xe0d4b7['root']['rootName']){_0x388c2e['execute']('insertImage',{'imageType':_0xe0d4b7['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0xe0d4b7['getAttributes']()),'uploadcareImageId':_0x32a242,'src':_0x44b6ec,'sources':_0x5645ad,'width':_0x5ddfa5,'height':_0x232bec}});const _0xde8486=_0xe0d4b7['getChildren']();_0xe0d4b7=_0x388c2e['model']['document']['selection']['getSelectedElement']();for(const _0x5560cc of _0xde8486)_0x5c0b14['append'](_0x5c0b14['cloneElement'](_0x5560cc),_0xe0d4b7);}else _0x5c0b14['setSelection'](_0xe0d4b7,'on'),_0x388c2e['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0xe0d4b7['getAttributes']()),'uploadcareImageId':_0x32a242,'src':_0x44b6ec,'sources':_0x5645ad,'width':_0x5ddfa5,'height':_0x232bec},_0xe0d4b7);_0x5c0b14['setSelection'](_0xe0d4b7,'on');});}async['_getImageAsFile'](_0x54b91d){const _0x5ca923=_0xf4f596['window'],_0xd1ddf6=_0xf4f596['document']['location']['href'],_0x4e929a=new _0x5ca923['URL'](_0x54b91d['getAttribute']('src'),_0xd1ddf6);if('data:'===_0x4e929a['protocol']){const _0x122bf1=_0x4e929a['href']['split'](','),_0x2f90ef=_0x122bf1[0x0]['match'](/:(.*?);/)[0x1],_0x1c6820=_0x2f90ef['split']('/')[0x1],_0x3bbee0=_0x5ca923['atob'](_0x122bf1[_0x122bf1['length']-0x1]);let _0x3a8d17=_0x3bbee0['length'];const _0x41e491=new _0x5ca923['Uint8Array'](_0x3a8d17);for(;_0x3a8d17--;)_0x41e491[_0x3a8d17]=_0x3bbee0['charCodeAt'](_0x3a8d17);return new _0x5ca923['File']([_0x41e491],'image.'+_0x1c6820,{'type':_0x2f90ef});}const _0x1ee07f=_0x4e929a['href']['split']('/'),_0x2aa555=_0x1ee07f[_0x1ee07f['length']-0x1],_0x447f67=_0x2aa555['split']('.')[0x1];return _0x5ca923['fetch'](_0x4e929a['href'])['then'](_0x1e82b1=>_0x1e82b1['clone']()['blob']())['then'](_0x142efd=>new _0x5ca923['File']([_0x142efd],_0x2aa555,{'type':'image/'+_0x447f67}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x34be(){const _0x44b4d8=['ck-uploadcare-theme','71559ZBxDFF','8QTCyze','uc-light','311658lVneCI','image-edit','1393768pktIFA','set','uc-cloud-image-editor','1543355FarpUo','7akGbWQ','61786FGQBFT','6whrQpR','setTemplate','65379zEDoRZ','bindTemplate','imageSrc','507635kLbhVX','10GLXZgr'];_0x34be=function(){return _0x44b4d8;};return _0x34be();}(function(_0x125931,_0x374a24){const _0x5b63a5=_0x2eca,_0x40e4fd=_0x125931();while(!![]){try{const _0xc4450d=-parseInt(_0x5b63a5(0x1bf))/0x1+-parseInt(_0x5b63a5(0x1bc))/0x2+parseInt(_0x5b63a5(0x1b5))/0x3*(-parseInt(_0x5b63a5(0x1b3))/0x4)+parseInt(_0x5b63a5(0x1af))/0x5*(parseInt(_0x5b63a5(0x1bd))/0x6)+parseInt(_0x5b63a5(0x1bb))/0x7*(parseInt(_0x5b63a5(0x1b7))/0x8)+-parseInt(_0x5b63a5(0x1b2))/0x9*(parseInt(_0x5b63a5(0x1b0))/0xa)+parseInt(_0x5b63a5(0x1ba))/0xb;if(_0xc4450d===_0x374a24)break;else _0x40e4fd['push'](_0x40e4fd['shift']());}catch(_0xc80211){_0x40e4fd['push'](_0x40e4fd['shift']());}}}(_0x34be,0x1967a));function _0x2eca(_0x6bb33,_0x12dd76){const _0x34be17=_0x34be();return _0x2eca=function(_0x2ecae9,_0x46dc80){_0x2ecae9=_0x2ecae9-0x1ad;let _0x155a2f=_0x34be17[_0x2ecae9];return _0x155a2f;},_0x2eca(_0x6bb33,_0x12dd76);}import{View as _0x1bddfb}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x1bddfb{constructor(_0x1726c9,_0x4307bf){const _0x5b71d7=_0x2eca;super(_0x1726c9);const _0x34f399=this[_0x5b71d7(0x1ad)];this[_0x5b71d7(0x1b8)](_0x5b71d7(0x1ae),''),this[_0x5b71d7(0x1be)]({'tag':_0x5b71d7(0x1b9),'attributes':{..._0x4307bf,'class':[_0x5b71d7(0x1b4),_0x5b71d7(0x1b1)],'ctx-name':_0x5b71d7(0x1b6),'cdn-url':_0x34f399['to'](_0x5b71d7(0x1ae))}});}}
23
+ function _0x10a6(){const _0x344f7a=['10932OKWcOF','3SdAOLa','4526982ynDLPh','614584Hltskx','209204QTVQSE','imageSrc','1253505XtiIbp','ck-uploadcare-theme','setTemplate','uc-light','set','bindTemplate','48915CzEiDc','image-edit','5261443EmUoEa','uc-cloud-image-editor','260SNUXLk','63LCNZEG','512DMBYUC'];_0x10a6=function(){return _0x344f7a;};return _0x10a6();}function _0x3c15(_0x94961f,_0x19e909){const _0x10a683=_0x10a6();return _0x3c15=function(_0x3c152f,_0x34dc0f){_0x3c152f=_0x3c152f-0x1b2;let _0x45fd8f=_0x10a683[_0x3c152f];return _0x45fd8f;},_0x3c15(_0x94961f,_0x19e909);}(function(_0x85c148,_0x172422){const _0x48d7b6=_0x3c15,_0x11e725=_0x85c148();while(!![]){try{const _0x560ef8=-parseInt(_0x48d7b6(0x1ba))/0x1*(-parseInt(_0x48d7b6(0x1bd))/0x2)+-parseInt(_0x48d7b6(0x1b9))/0x3*(parseInt(_0x48d7b6(0x1b8))/0x4)+-parseInt(_0x48d7b6(0x1bf))/0x5+parseInt(_0x48d7b6(0x1bb))/0x6+parseInt(_0x48d7b6(0x1b7))/0x7*(parseInt(_0x48d7b6(0x1bc))/0x8)+-parseInt(_0x48d7b6(0x1b2))/0x9*(parseInt(_0x48d7b6(0x1b6))/0xa)+-parseInt(_0x48d7b6(0x1b4))/0xb;if(_0x560ef8===_0x172422)break;else _0x11e725['push'](_0x11e725['shift']());}catch(_0x2cc7ec){_0x11e725['push'](_0x11e725['shift']());}}}(_0x10a6,0x6742a));import{View as _0x4a8c4d}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x4a8c4d{constructor(_0x36b834,_0x5b52e5){const _0x461c58=_0x3c15;super(_0x36b834);const _0x856343=this[_0x461c58(0x1c4)];this[_0x461c58(0x1c3)](_0x461c58(0x1be),''),this[_0x461c58(0x1c1)]({'tag':_0x461c58(0x1b5),'attributes':{..._0x5b52e5,'class':[_0x461c58(0x1c2),_0x461c58(0x1c0)],'ctx-name':_0x461c58(0x1b3),'cdn-url':_0x856343['to'](_0x461c58(0x1be))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x3b6e37}from'ckeditor5/src/icons.js';import{ButtonView as _0x244ce6,IconView as _0x1337af,View as _0x25fcb1}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x25fcb1{constructor(_0x1505da){super(_0x1505da);const t=_0x1505da['t'];this['set']('errorType',null);const _0xb6e79=new _0x244ce6(_0x1505da);_0xb6e79['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xb6e79['withText']=!0x0,_0xb6e79['class']='ck-button-action',_0xb6e79['on']('execute',()=>{this['fire']('retry');}),_0xb6e79['bind']('isVisible')['to'](this,'errorType',_0xa6c4fa=>'NotFound'!==_0xa6c4fa);const _0x3fed37=new _0x1337af();_0x3fed37['content']=_0x3b6e37,_0x3fed37['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x339706=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':[_0x3fed37,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x339706['to']('errorType',_0x42c3c2=>t('NotFound'!==_0x42c3c2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xb6e79]},{'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 _0x55ed62}from'ckeditor5/src/icons.js';import{ButtonView as _0x3983f8,IconView as _0x5072e5,View as _0x21d067}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x21d067{constructor(_0x4b2841){super(_0x4b2841);const t=_0x4b2841['t'];this['set']('errorType',null);const _0x8c5b3f=new _0x3983f8(_0x4b2841);_0x8c5b3f['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x8c5b3f['withText']=!0x0,_0x8c5b3f['class']='ck-button-action',_0x8c5b3f['on']('execute',()=>{this['fire']('retry');}),_0x8c5b3f['bind']('isVisible')['to'](this,'errorType',_0x53b579=>'NotFound'!==_0x53b579);const _0x376db2=new _0x5072e5();_0x376db2['content']=_0x55ed62,_0x376db2['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x17129e=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':[_0x376db2,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x17129e['to']('errorType',_0x2dbae2=>t('NotFound'!==_0x2dbae2?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x8c5b3f]},{'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 _0x3dc327,View as _0x2fa17a}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x2fa17a{constructor(_0x3b827f){super(_0x3b827f);const t=_0x3b827f['t'],_0x4e138b=this['bindTemplate'],_0x48ef04=new _0x3dc327();_0x48ef04['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':[_0x48ef04,{'text':_0x4e138b['to']('imageUploadProgress',_0x364f37=>t('Loading\x20image...')+'\x20('+(_0x364f37||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 _0x206fd4,View as _0x437930}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x437930{constructor(_0x5f37b8){super(_0x5f37b8);const t=_0x5f37b8['t'],_0x32fc26=this['bindTemplate'],_0xed783f=new _0x206fd4();_0xed783f['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':[_0xed783f,{'text':_0x32fc26['to']('imageUploadProgress',_0x12e6db=>t('Loading\x20image...')+'\x20('+(_0x12e6db||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x358d9b=_0x1391;function _0x555d(){const _0xe6d532=['length','8373189CWhkzh','5fNkFln','5054496rHISVV','createCollection','once','clear','_editingView','_addErrorViewListeners','detail','observe','disconnect','_errorView','5376891roWYOR','_addUploadcareImageEditorListeners','7iEMAuQ','cancel','_focusableView','_setView','status','addedNodes','fire','querySelector','59121OMpWKz','14997pDfKVO','target','42PxsrdB','add','retry','addMany','530gyDxOu','ready','ck-reset_all-excluded','656845OjxiLz','filter','_loadingView','change:status','apply','setTemplate','error','70GKBNSo','render','_items','_waitForImageEditorComponent','uc-cloud-image-editor','nodeName','addEventListener','focus','368IydNqd','set','div','125246QtaoeT','ck-uploadcare-form','cdnUrl','element','getFocusableElement','12svvidb','toLowerCase','uploading'];_0x555d=function(){return _0xe6d532;};return _0x555d();}(function(_0x1e6363,_0x18406e){const _0x4462ff=_0x1391,_0x21b05b=_0x1e6363();while(!![]){try{const _0x5319f4=parseInt(_0x4462ff(0x1ad))/0x1*(parseInt(_0x4462ff(0x1a3))/0x2)+parseInt(_0x4462ff(0x1c3))/0x3*(-parseInt(_0x4462ff(0x1a0))/0x4)+parseInt(_0x4462ff(0x1cc))/0x5*(-parseInt(_0x4462ff(0x1c5))/0x6)+parseInt(_0x4462ff(0x1ba))/0x7*(parseInt(_0x4462ff(0x1ae))/0x8)+-parseInt(_0x4462ff(0x1c2))/0x9*(parseInt(_0x4462ff(0x1c9))/0xa)+-parseInt(_0x4462ff(0x1ac))/0xb*(parseInt(_0x4462ff(0x1a8))/0xc)+parseInt(_0x4462ff(0x1b8))/0xd*(parseInt(_0x4462ff(0x198))/0xe);if(_0x5319f4===_0x18406e)break;else _0x21b05b['push'](_0x21b05b['shift']());}catch(_0x1605f9){_0x21b05b['push'](_0x21b05b['shift']());}}}(_0x555d,0x7ff53));function _0x1391(_0x1aebeb,_0x9e87d0){const _0x555d20=_0x555d();return _0x1391=function(_0x13917c,_0x47b2f2){_0x13917c=_0x13917c-0x193;let _0x35fca3=_0x555d20[_0x13917c];return _0x35fca3;},_0x1391(_0x1aebeb,_0x9e87d0);}import{View as _0x4a8021}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x3ca41e}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x393d0c}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x2ecb32}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x589a18}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x589a18{[_0x358d9b(0x19a)];[_0x358d9b(0x193)];[_0x358d9b(0x1b7)];[_0x358d9b(0x1b2)];[_0x358d9b(0x1bc)];constructor(_0x5e8fb7,_0x3bcb19,_0xf9fd2d){const _0x19ae19=_0x358d9b;super(_0x5e8fb7),this[_0x19ae19(0x19a)]=this[_0x19ae19(0x1af)](),this[_0x19ae19(0x193)]=new _0x3ca41e(_0x5e8fb7),this[_0x19ae19(0x1b7)]=new _0x393d0c(_0x5e8fb7),this[_0x19ae19(0x1b2)]=new _0x2ecb32(_0x5e8fb7,_0xf9fd2d),this[_0x19ae19(0x1bc)]=new _0x4a8021(_0x5e8fb7),this[_0x19ae19(0x1bc)][_0x19ae19(0x196)](this[_0x19ae19(0x1a7)]()),this[_0x19ae19(0x1a1)](_0x19ae19(0x1be),_0x3bcb19),this[_0x19ae19(0x196)]({'tag':_0x19ae19(0x1a2),'attributes':{'class':['ck',_0x19ae19(0x1cb),_0x19ae19(0x1a4)],'tabindex':'-1'},'children':this[_0x19ae19(0x19a)]}),this[_0x19ae19(0x1bd)](),this[_0x19ae19(0x1b0)](_0x19ae19(0x199),()=>{const _0x4fc040=_0x19ae19;this[_0x4fc040(0x19b)](this[_0x4fc040(0x1a6)],_0x5063f4=>{const _0x18deb9=_0x4fc040;this[_0x18deb9(0x1b9)](_0x5063f4);});}),this['on'](_0x19ae19(0x194),()=>{const _0x451360=_0x19ae19;this[_0x451360(0x1bd)]();}),this[_0x19ae19(0x1b3)]();}[_0x358d9b(0x19f)](){const _0x45eb07=_0x358d9b;this[_0x45eb07(0x1a6)][_0x45eb07(0x19f)]();}[_0x358d9b(0x1bd)](){const _0x1e072b=_0x358d9b;switch(this[_0x1e072b(0x19a)][_0x1e072b(0x1b1)](),this[_0x1e072b(0x1be)]){case _0x1e072b(0x1aa):this[_0x1e072b(0x19a)][_0x1e072b(0x1c6)](this[_0x1e072b(0x193)]);break;case _0x1e072b(0x197):this[_0x1e072b(0x19a)][_0x1e072b(0x1c6)](this[_0x1e072b(0x1b7)]);break;case _0x1e072b(0x1ca):this[_0x1e072b(0x19a)][_0x1e072b(0x1c8)]([this[_0x1e072b(0x1b2)],this[_0x1e072b(0x1bc)]]);}}[_0x358d9b(0x19b)](_0x62417c,_0x44a6ef){const _0x11dc71=_0x358d9b,_0x52b3e1=_0x11dc71(0x19c),_0x2e354b=_0x62417c[_0x11dc71(0x1c1)](_0x52b3e1);if(_0x2e354b)return _0x44a6ef(_0x2e354b);const _0xf97f0c=new MutationObserver(_0xe2a003=>{const _0x10f91f=_0x11dc71,_0x1418e4=_0xe2a003[_0x10f91f(0x1cd)](_0x36c231=>_0x36c231[_0x10f91f(0x1c4)]===_0x62417c&&_0x36c231[_0x10f91f(0x1bf)][_0x10f91f(0x1ab)]>0x0&&_0x36c231[_0x10f91f(0x1bf)][0x0][_0x10f91f(0x19d)][_0x10f91f(0x1a9)]()===_0x52b3e1);_0x1418e4[_0x10f91f(0x1ab)]&&(_0xf97f0c[_0x10f91f(0x1b6)](),_0x44a6ef(_0x1418e4[0x0][_0x10f91f(0x1bf)][0x0]));});_0xf97f0c[_0x11dc71(0x1b5)](_0x62417c,{'childList':!0x0,'subtree':!0x0});}[_0x358d9b(0x1b9)](_0x28a24c){const _0x3b87ac=_0x358d9b;_0x28a24c[_0x3b87ac(0x19e)](_0x3b87ac(0x195),_0x24467b=>{const _0x39afeb=_0x3b87ac;this[_0x39afeb(0x1c0)](_0x39afeb(0x195),{'imageSrc':_0x24467b[_0x39afeb(0x1b4)][_0x39afeb(0x1a5)]});}),_0x28a24c[_0x3b87ac(0x19e)](_0x3b87ac(0x1bb),()=>{const _0x3cdb3e=_0x3b87ac;this[_0x3cdb3e(0x1c0)](_0x3cdb3e(0x1bb));});}[_0x358d9b(0x1b3)](){const _0x33bb1a=_0x358d9b;this[_0x33bb1a(0x1b7)]['on'](_0x33bb1a(0x1c7),()=>{const _0xc7bbe0=_0x33bb1a;this[_0xc7bbe0(0x1c0)](_0xc7bbe0(0x1c7));});}}
23
+ const _0x49be90=_0x2b8c;(function(_0x278169,_0x5011f3){const _0xc24d89=_0x2b8c,_0x8137f=_0x278169();while(!![]){try{const _0x3b3aac=parseInt(_0xc24d89(0x17a))/0x1*(-parseInt(_0xc24d89(0x176))/0x2)+parseInt(_0xc24d89(0x1a2))/0x3*(-parseInt(_0xc24d89(0x16e))/0x4)+parseInt(_0xc24d89(0x194))/0x5+-parseInt(_0xc24d89(0x175))/0x6*(-parseInt(_0xc24d89(0x17b))/0x7)+-parseInt(_0xc24d89(0x188))/0x8+parseInt(_0xc24d89(0x16d))/0x9*(parseInt(_0xc24d89(0x193))/0xa)+parseInt(_0xc24d89(0x190))/0xb;if(_0x3b3aac===_0x5011f3)break;else _0x8137f['push'](_0x8137f['shift']());}catch(_0x1669e5){_0x8137f['push'](_0x8137f['shift']());}}}(_0x4aed,0xd5a78));import{View as _0x42a67d}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x2b75c7}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x48c2aa}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x184afc}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x5ca752}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x5ca752{[_0x49be90(0x18a)];[_0x49be90(0x180)];[_0x49be90(0x19c)];[_0x49be90(0x184)];[_0x49be90(0x19b)];constructor(_0x435f83,_0x584347,_0x2ec962){const _0x5b2952=_0x49be90;super(_0x435f83),this[_0x5b2952(0x18a)]=this[_0x5b2952(0x185)](),this[_0x5b2952(0x180)]=new _0x2b75c7(_0x435f83),this[_0x5b2952(0x19c)]=new _0x48c2aa(_0x435f83),this[_0x5b2952(0x184)]=new _0x184afc(_0x435f83,_0x2ec962),this[_0x5b2952(0x19b)]=new _0x42a67d(_0x435f83),this[_0x5b2952(0x19b)][_0x5b2952(0x189)](this[_0x5b2952(0x178)]()),this[_0x5b2952(0x181)](_0x5b2952(0x198),_0x584347),this[_0x5b2952(0x189)]({'tag':_0x5b2952(0x174),'attributes':{'class':['ck',_0x5b2952(0x18b),_0x5b2952(0x199)],'tabindex':'-1'},'children':this[_0x5b2952(0x18a)]}),this[_0x5b2952(0x16b)](),this[_0x5b2952(0x177)](_0x5b2952(0x191),()=>{const _0x585ae0=_0x5b2952;this[_0x585ae0(0x18e)](this[_0x585ae0(0x192)],_0x4b80da=>{const _0x4b58ae=_0x585ae0;this[_0x4b58ae(0x1a0)](_0x4b80da);});}),this['on'](_0x5b2952(0x18f),()=>{const _0x42ff38=_0x5b2952;this[_0x42ff38(0x16b)]();}),this[_0x5b2952(0x17f)]();}[_0x49be90(0x187)](){const _0x5a38fb=_0x49be90;this[_0x5a38fb(0x192)][_0x5a38fb(0x187)]();}[_0x49be90(0x16b)](){const _0x1e0239=_0x49be90;switch(this[_0x1e0239(0x18a)][_0x1e0239(0x18d)](),this[_0x1e0239(0x198)]){case _0x1e0239(0x17c):this[_0x1e0239(0x18a)][_0x1e0239(0x173)](this[_0x1e0239(0x180)]);break;case _0x1e0239(0x16c):this[_0x1e0239(0x18a)][_0x1e0239(0x173)](this[_0x1e0239(0x19c)]);break;case _0x1e0239(0x19d):this[_0x1e0239(0x18a)][_0x1e0239(0x1a1)]([this[_0x1e0239(0x184)],this[_0x1e0239(0x19b)]]);}}[_0x49be90(0x18e)](_0x2412b5,_0x31f890){const _0x161133=_0x49be90,_0x19a50e=_0x161133(0x18c),_0x417f56=_0x2412b5[_0x161133(0x19f)](_0x19a50e);if(_0x417f56)return _0x31f890(_0x417f56);const _0x152683=new MutationObserver(_0x4bb5ab=>{const _0x3fead2=_0x161133,_0x5b320f=_0x4bb5ab[_0x3fead2(0x195)](_0x2dc641=>_0x2dc641[_0x3fead2(0x179)]===_0x2412b5&&_0x2dc641[_0x3fead2(0x16f)][_0x3fead2(0x19a)]>0x0&&_0x2dc641[_0x3fead2(0x16f)][0x0][_0x3fead2(0x197)][_0x3fead2(0x19e)]()===_0x19a50e);_0x5b320f[_0x3fead2(0x19a)]&&(_0x152683[_0x3fead2(0x17e)](),_0x31f890(_0x5b320f[0x0][_0x3fead2(0x16f)][0x0]));});_0x152683[_0x161133(0x182)](_0x2412b5,{'childList':!0x0,'subtree':!0x0});}[_0x49be90(0x1a0)](_0x2f8160){const _0x2252b1=_0x49be90;_0x2f8160[_0x2252b1(0x172)](_0x2252b1(0x17d),_0x2bf0d4=>{const _0x5e4b6b=_0x2252b1;this[_0x5e4b6b(0x171)](_0x5e4b6b(0x17d),{'imageSrc':_0x2bf0d4[_0x5e4b6b(0x196)][_0x5e4b6b(0x183)]});}),_0x2f8160[_0x2252b1(0x172)](_0x2252b1(0x186),()=>{const _0x230b5c=_0x2252b1;this[_0x230b5c(0x171)](_0x230b5c(0x186));});}[_0x49be90(0x17f)](){const _0x2b4567=_0x49be90;this[_0x2b4567(0x19c)]['on'](_0x2b4567(0x170),()=>{const _0xb318fa=_0x2b4567;this[_0xb318fa(0x171)](_0xb318fa(0x170));});}}function _0x2b8c(_0x4fc0d9,_0x5f3d8b){const _0x4aed72=_0x4aed();return _0x2b8c=function(_0x2b8c78,_0x3f9fbd){_0x2b8c78=_0x2b8c78-0x16b;let _0x502dba=_0x4aed72[_0x2b8c78];return _0x502dba;},_0x2b8c(_0x4fc0d9,_0x5f3d8b);}function _0x4aed(){const _0x1377d7=['retry','fire','addEventListener','add','div','108hqGOfo','2cSFUNL','once','getFocusableElement','target','1724621mJKsKt','629461ZfqYbF','uploading','apply','disconnect','_addErrorViewListeners','_loadingView','set','observe','cdnUrl','_editingView','createCollection','cancel','focus','8429880QxeKqE','setTemplate','_items','ck-reset_all-excluded','uc-cloud-image-editor','clear','_waitForImageEditorComponent','change:status','20198464WYpxjU','render','element','10ixhUNT','3712260URjfXG','filter','detail','nodeName','status','ck-uploadcare-form','length','_focusableView','_errorView','ready','toLowerCase','querySelector','_addUploadcareImageEditorListeners','addMany','569961pBpQhu','_setView','error','10494693HMnfVf','36DJGCcs','addedNodes'];_0x4aed=function(){return _0x1377d7;};return _0x4aed();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1febb6=_0x1ad5;(function(_0x43f181,_0xf7878){const _0x25326c=_0x1ad5,_0x3a54e5=_0x43f181();while(!![]){try{const _0x1f65c5=-parseInt(_0x25326c(0x1cb))/0x1*(parseInt(_0x25326c(0x1d5))/0x2)+-parseInt(_0x25326c(0x1d8))/0x3*(-parseInt(_0x25326c(0x1da))/0x4)+-parseInt(_0x25326c(0x1e1))/0x5+-parseInt(_0x25326c(0x1df))/0x6*(-parseInt(_0x25326c(0x1e7))/0x7)+parseInt(_0x25326c(0x1d4))/0x8*(parseInt(_0x25326c(0x1d6))/0x9)+parseInt(_0x25326c(0x1e6))/0xa+-parseInt(_0x25326c(0x1dc))/0xb*(parseInt(_0x25326c(0x1e8))/0xc);if(_0x1f65c5===_0xf7878)break;else _0x3a54e5['push'](_0x3a54e5['shift']());}catch(_0x353017){_0x3a54e5['push'](_0x3a54e5['shift']());}}}(_0x2782,0xc62b9));function _0x2782(){const _0x5842a5=['623xhuWDf','1709088AqfPTW','execute','editor','imageEditController','document','70rRenTT','imageBlock','getSelectedElement','bind','uploadcare.allowExternalImagesEditing','isEnabled','imageInline','unbind','config','8WRNste','2372VNVFgP','11344869madMhk','refresh','11553JPaBCo','plugins','436TlItRZ','element','154aGDDti','selection','model','11238MfbTwp','get','923455YZLDsn','_isEditable','isActive','set','requires','12263550aQyGiP'];_0x2782=function(){return _0x5842a5;};return _0x2782();}function _0x1ad5(_0x572eba,_0x28a3a2){const _0x278255=_0x2782();return _0x1ad5=function(_0x1ad5ca,_0x2caa24){_0x1ad5ca=_0x1ad5ca-0x1c9;let _0xcd4d90=_0x278255[_0x1ad5ca];return _0xcd4d90;},_0x1ad5(_0x572eba,_0x28a3a2);}import{Command as _0x4cac3c}from'ckeditor5/src/core.js';import{Dialog as _0x2ba2bf}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x496c48}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0xe270e2}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x4cac3c{[_0x1febb6(0x1c9)];static get[_0x1febb6(0x1e5)](){return[_0x2ba2bf];}[_0x1febb6(0x1e2)];constructor(_0x1e6915){const _0x10a1a4=_0x1febb6;super(_0x1e6915),this[_0x10a1a4(0x1c9)]=void 0x0,this[_0x10a1a4(0x1e2)]=_0xe270e2(_0x1e6915[_0x10a1a4(0x1d3)][_0x10a1a4(0x1e0)](_0x10a1a4(0x1cf))||[]),this[_0x10a1a4(0x1e4)]({'isActive':!0x1});}[_0x1febb6(0x1d7)](){const _0x5e1364=_0x1febb6,_0x1d504a=this[_0x5e1364(0x1ea)][_0x5e1364(0x1de)][_0x5e1364(0x1ca)][_0x5e1364(0x1dd)][_0x5e1364(0x1cd)]();this[_0x5e1364(0x1d0)]=this[_0x5e1364(0x1e2)](_0x1d504a);}[_0x1febb6(0x1e9)](){const _0x480ef3=_0x1febb6;this[_0x480ef3(0x1c9)]&&(this[_0x480ef3(0x1d2)](_0x480ef3(0x1e3)),this[_0x480ef3(0x1c9)]=void 0x0);const _0x5f0e64=this[_0x480ef3(0x1ea)][_0x480ef3(0x1de)][_0x480ef3(0x1ca)][_0x480ef3(0x1dd)][_0x480ef3(0x1cd)]();_0x5f0e64&&(_0x5f0e64['is'](_0x480ef3(0x1db),_0x480ef3(0x1cc))||_0x5f0e64['is'](_0x480ef3(0x1db),_0x480ef3(0x1d1)))&&(this[_0x480ef3(0x1c9)]=new _0x496c48(this[_0x480ef3(0x1ea)],this[_0x480ef3(0x1ea)][_0x480ef3(0x1d9)][_0x480ef3(0x1e0)](_0x2ba2bf),_0x5f0e64),this[_0x480ef3(0x1ce)](_0x480ef3(0x1e3))['to'](this[_0x480ef3(0x1c9)],_0x480ef3(0x1e3)));}}
23
+ function _0x5aab(){const _0x5d4c54=['model','105676jdAnjE','config','unbind','6512zzavWn','isActive','document','161jmUANp','1399104DUIXro','bind','selection','requires','getSelectedElement','_isEditable','10ElRonu','789mICWmD','uploadcare.allowExternalImagesEditing','44364jwHwFB','930KMQdHO','set','165818qGQKfF','execute','imageBlock','imageInline','editor','imageEditController','3400kfLsiH','element','refresh','get','1424616ladeKJ','isEnabled','plugins'];_0x5aab=function(){return _0x5d4c54;};return _0x5aab();}const _0x422982=_0x56bb;(function(_0xef522,_0x1b1b97){const _0x436273=_0x56bb,_0x557fb8=_0xef522();while(!![]){try{const _0x940740=-parseInt(_0x436273(0x9f))/0x1+parseInt(_0x436273(0x9d))/0x2*(-parseInt(_0x436273(0x9a))/0x3)+parseInt(_0x436273(0x8c))/0x4*(parseInt(_0x436273(0x99))/0x5)+parseInt(_0x436273(0x9c))/0x6*(-parseInt(_0x436273(0x92))/0x7)+parseInt(_0x436273(0xa9))/0x8+parseInt(_0x436273(0x93))/0x9+-parseInt(_0x436273(0xa5))/0xa*(-parseInt(_0x436273(0x8f))/0xb);if(_0x940740===_0x1b1b97)break;else _0x557fb8['push'](_0x557fb8['shift']());}catch(_0x881efe){_0x557fb8['push'](_0x557fb8['shift']());}}}(_0x5aab,0x1f9c4));import{Command as _0x18757f}from'ckeditor5/src/core.js';import{Dialog as _0xfc4caa}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x30f0fe}from'./ui/uploadcareimageeditcontroller.js';function _0x56bb(_0x210f75,_0x3eae9f){const _0x5aab14=_0x5aab();return _0x56bb=function(_0x56bbf2,_0x370a4b){_0x56bbf2=_0x56bbf2-0x89;let _0x16475c=_0x5aab14[_0x56bbf2];return _0x16475c;},_0x56bb(_0x210f75,_0x3eae9f);}import{createEditabilityChecker as _0x41ace1}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x18757f{[_0x422982(0xa4)];static get[_0x422982(0x96)](){return[_0xfc4caa];}[_0x422982(0x98)];constructor(_0xff4544){const _0x92cbab=_0x422982;super(_0xff4544),this[_0x92cbab(0xa4)]=void 0x0,this[_0x92cbab(0x98)]=_0x41ace1(_0xff4544[_0x92cbab(0x8d)][_0x92cbab(0xa8)](_0x92cbab(0x9b))||[]),this[_0x92cbab(0x9e)]({'isActive':!0x1});}[_0x422982(0xa7)](){const _0x334efe=_0x422982,_0x5a7130=this[_0x334efe(0xa3)][_0x334efe(0x8b)][_0x334efe(0x91)][_0x334efe(0x95)][_0x334efe(0x97)]();this[_0x334efe(0x89)]=this[_0x334efe(0x98)](_0x5a7130);}[_0x422982(0xa0)](){const _0x7883c4=_0x422982;this[_0x7883c4(0xa4)]&&(this[_0x7883c4(0x8e)](_0x7883c4(0x90)),this[_0x7883c4(0xa4)]=void 0x0);const _0x521282=this[_0x7883c4(0xa3)][_0x7883c4(0x8b)][_0x7883c4(0x91)][_0x7883c4(0x95)][_0x7883c4(0x97)]();_0x521282&&(_0x521282['is'](_0x7883c4(0xa6),_0x7883c4(0xa1))||_0x521282['is'](_0x7883c4(0xa6),_0x7883c4(0xa2)))&&(this[_0x7883c4(0xa4)]=new _0x30f0fe(this[_0x7883c4(0xa3)],this[_0x7883c4(0xa3)][_0x7883c4(0x8a)][_0x7883c4(0xa8)](_0xfc4caa),_0x521282),this[_0x7883c4(0x94)](_0x7883c4(0x90))['to'](this[_0x7883c4(0xa4)],_0x7883c4(0x90)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2346a9=_0x23a6;(function(_0x3f9fc1,_0x35973b){const _0x52231f=_0x23a6,_0x434973=_0x3f9fc1();while(!![]){try{const _0x1ceb78=parseInt(_0x52231f(0x1c3))/0x1+-parseInt(_0x52231f(0x1d5))/0x2*(parseInt(_0x52231f(0x1cd))/0x3)+-parseInt(_0x52231f(0x1c7))/0x4*(parseInt(_0x52231f(0x1d4))/0x5)+parseInt(_0x52231f(0x1d2))/0x6*(parseInt(_0x52231f(0x1d0))/0x7)+-parseInt(_0x52231f(0x1d3))/0x8+-parseInt(_0x52231f(0x1ce))/0x9*(parseInt(_0x52231f(0x1c6))/0xa)+parseInt(_0x52231f(0x1c9))/0xb*(parseInt(_0x52231f(0x1c4))/0xc);if(_0x1ceb78===_0x35973b)break;else _0x434973['push'](_0x434973['shift']());}catch(_0x2e6b8b){_0x434973['push'](_0x434973['shift']());}}}(_0x1624,0x4ea86));import{Plugin as _0xb23e20}from'ckeditor5/src/core.js';import{Notification as _0x537806}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x4204da}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4021fd}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x2f2f99}from'../uploadcareediting.js';function _0x23a6(_0x2ef201,_0x4dd6f5){const _0x162496=_0x1624();return _0x23a6=function(_0x23a6e4,_0x5943fe){_0x23a6e4=_0x23a6e4-0x1c1;let _0x2f0b31=_0x162496[_0x23a6e4];return _0x2f0b31;},_0x23a6(_0x2ef201,_0x4dd6f5);}function _0x1624(){const _0x5c1991=['269467AQSNgm','10733964gEDbTv','uploadcareImageReplace','25220gTtmIM','3316WECJIC','ImageUtils','11ImpuvW','pluginName','ImageEditing','add','175443gIIoMU','117eiLsCx','uploadcareImageEdit','602bLDQoy','init','1464WcWIXU','1748448LoGQVy','3335ARMHvA','2vKMpeP','UploadcareImageEditEditing','commands','isPremiumPlugin','isOfficialPlugin','requires'];_0x1624=function(){return _0x5c1991;};return _0x1624();}export class UploadcareImageEditEditing extends _0xb23e20{static get[_0x2346a9(0x1ca)](){const _0x59eeb8=_0x2346a9;return _0x59eeb8(0x1d6);}static get[_0x2346a9(0x1c2)](){const _0x438cb2=_0x2346a9;return[_0x2f2f99,_0x537806,_0x438cb2(0x1c8),_0x438cb2(0x1cb)];}static get[_0x2346a9(0x1c1)](){return!0x0;}static get[_0x2346a9(0x1d8)](){return!0x0;}[_0x2346a9(0x1d1)](){const _0x2b0687=_0x2346a9,{editor:_0x49c5bd}=this;_0x49c5bd[_0x2b0687(0x1d7)][_0x2b0687(0x1cc)](_0x2b0687(0x1cf),new _0x4204da(_0x49c5bd)),_0x49c5bd[_0x2b0687(0x1d7)][_0x2b0687(0x1cc)](_0x2b0687(0x1c5),new _0x4021fd(_0x49c5bd));}}
23
+ const _0x1bca0a=_0x1297;(function(_0x35b6a2,_0x5acc8b){const _0x47377c=_0x1297,_0x34c52f=_0x35b6a2();while(!![]){try{const _0x2f776a=-parseInt(_0x47377c(0x1d8))/0x1+-parseInt(_0x47377c(0x1cd))/0x2+-parseInt(_0x47377c(0x1dd))/0x3+-parseInt(_0x47377c(0x1dc))/0x4+-parseInt(_0x47377c(0x1cf))/0x5+parseInt(_0x47377c(0x1d3))/0x6+parseInt(_0x47377c(0x1cb))/0x7*(parseInt(_0x47377c(0x1d5))/0x8);if(_0x2f776a===_0x5acc8b)break;else _0x34c52f['push'](_0x34c52f['shift']());}catch(_0x1322d1){_0x34c52f['push'](_0x34c52f['shift']());}}}(_0x3d66,0xa2343));import{Plugin as _0x1a0f09}from'ckeditor5/src/core.js';import{Notification as _0x32ccd4}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x574d67}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x328686}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x132abf}from'../uploadcareediting.js';function _0x3d66(){const _0x1d26ec=['uploadcareImageReplace','requires','3113094JoRZhu','commands','4205736aQsdOF','add','pluginName','125456JmjKET','isPremiumPlugin','isOfficialPlugin','ImageEditing','3477468etBXUZ','2043336YNxsEg','UploadcareImageEditEditing','49zmRBvK','uploadcareImageEdit','2277106hMQHwq','init','3599965shhUtO','ImageUtils'];_0x3d66=function(){return _0x1d26ec;};return _0x3d66();}function _0x1297(_0x43ce05,_0x13a05a){const _0x3d6695=_0x3d66();return _0x1297=function(_0x1297be,_0x4d17b8){_0x1297be=_0x1297be-0x1ca;let _0x233204=_0x3d6695[_0x1297be];return _0x233204;},_0x1297(_0x43ce05,_0x13a05a);}export class UploadcareImageEditEditing extends _0x1a0f09{static get[_0x1bca0a(0x1d7)](){const _0x4bfb2d=_0x1bca0a;return _0x4bfb2d(0x1ca);}static get[_0x1bca0a(0x1d2)](){const _0x19d9c7=_0x1bca0a;return[_0x132abf,_0x32ccd4,_0x19d9c7(0x1d0),_0x19d9c7(0x1db)];}static get[_0x1bca0a(0x1da)](){return!0x0;}static get[_0x1bca0a(0x1d9)](){return!0x0;}[_0x1bca0a(0x1ce)](){const _0x188635=_0x1bca0a,{editor:_0x1aee29}=this;_0x1aee29[_0x188635(0x1d4)][_0x188635(0x1d6)](_0x188635(0x1cc),new _0x574d67(_0x1aee29)),_0x1aee29[_0x188635(0x1d4)][_0x188635(0x1d6)](_0x188635(0x1d1),new _0x328686(_0x1aee29));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2e5bca}from'ckeditor5/src/core.js';import{ButtonView as _0x4286c9}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5c7501}from'ckeditor5/src/icons.js';import{createElement as _0x536e65}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 _0x2e5bca{['_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 _0x4614c0=this['editor'];_0x4614c0['ui']['componentFactory']['add']('uploadcareImageEdit',_0x7a5ae6=>{const _0x5103a7=_0x4614c0['commands']['get']('uploadcareImageEdit'),_0x54eb4b=new _0x4286c9(_0x7a5ae6),t=_0x7a5ae6['t'];return _0x54eb4b['set']({'icon':_0x5c7501,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x54eb4b['bind']('isEnabled')['to'](_0x5103a7),_0x54eb4b['bind']('isOn')['to'](_0x5103a7,'isActive'),this['listenTo'](_0x54eb4b,'execute',()=>{_0x4614c0['execute']('uploadcareImageEdit'),_0x4614c0['editing']['view']['focus']();}),_0x54eb4b;}),this['_initConfig']();}['_initConfig'](){const _0x76a6ba=_0x536e65(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x76a6ba),this['listenTo'](this['editor'],'destroy',()=>{_0x76a6ba['remove']();});}}
23
+ import{Plugin as _0x3b74f5}from'ckeditor5/src/core.js';import{ButtonView as _0x593fb7}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x292129}from'ckeditor5/src/icons.js';import{createElement as _0x2e70a6}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 _0x3b74f5{['_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 _0x3080e2=this['editor'];_0x3080e2['ui']['componentFactory']['add']('uploadcareImageEdit',_0x1e96ef=>{const _0xa03594=_0x3080e2['commands']['get']('uploadcareImageEdit'),_0x2f2003=new _0x593fb7(_0x1e96ef),t=_0x1e96ef['t'];return _0x2f2003['set']({'icon':_0x292129,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x2f2003['bind']('isEnabled')['to'](_0xa03594),_0x2f2003['bind']('isOn')['to'](_0xa03594,'isActive'),this['listenTo'](_0x2f2003,'execute',()=>{_0x3080e2['execute']('uploadcareImageEdit'),_0x3080e2['editing']['view']['focus']();}),_0x2f2003;}),this['_initConfig']();}['_initConfig'](){const _0x221c54=_0x2e70a6(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x221c54),this['listenTo'](this['editor'],'destroy',()=>{_0x221c54['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2bde97=_0x314e;function _0x314e(_0x2bb13a,_0x2df8bb){const _0x2fc981=_0x2fc9();return _0x314e=function(_0x314edd,_0x28c3ed){_0x314edd=_0x314edd-0x1ed;let _0x46665c=_0x2fc981[_0x314edd];return _0x46665c;},_0x314e(_0x2bb13a,_0x2df8bb);}(function(_0xde0928,_0x50d9b7){const _0x51a1b4=_0x314e,_0xe650c8=_0xde0928();while(!![]){try{const _0x14196b=-parseInt(_0x51a1b4(0x1f7))/0x1+-parseInt(_0x51a1b4(0x203))/0x2*(parseInt(_0x51a1b4(0x1f8))/0x3)+parseInt(_0x51a1b4(0x204))/0x4*(parseInt(_0x51a1b4(0x1fa))/0x5)+parseInt(_0x51a1b4(0x1ed))/0x6+parseInt(_0x51a1b4(0x1f0))/0x7*(-parseInt(_0x51a1b4(0x1fc))/0x8)+parseInt(_0x51a1b4(0x205))/0x9*(parseInt(_0x51a1b4(0x208))/0xa)+parseInt(_0x51a1b4(0x1fe))/0xb*(parseInt(_0x51a1b4(0x202))/0xc);if(_0x14196b===_0x50d9b7)break;else _0xe650c8['push'](_0xe650c8['shift']());}catch(_0x54c650){_0xe650c8['push'](_0xe650c8['shift']());}}}(_0x2fc9,0x32ed9));function _0x2fc9(){const _0x23f487=['refresh','24985QWqflx','getSelectedElement','88oCIdWG','imageInline','671PUNizD','removeAttribute','document','element','75396xyCbse','490qjVOKb','132boeiOE','912807yEwfyW','change','sizes','10NsBFBt','846276lDjoqb','model','execute','26439JNUYJv','srcset','selection','setAttributes','isEnabled','imageBlock','editor','399365HrxGtk','1728AGNwzw'];_0x2fc9=function(){return _0x23f487;};return _0x2fc9();}import{Command as _0x1864f1}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x1864f1{[_0x2bde97(0x1f9)](){const _0x3f88ae=_0x2bde97,_0x4708ef=this[_0x3f88ae(0x1f6)][_0x3f88ae(0x1ee)][_0x3f88ae(0x200)][_0x3f88ae(0x1f2)][_0x3f88ae(0x1fb)]();this[_0x3f88ae(0x1f4)]=Boolean(_0x4708ef&&(_0x4708ef['is'](_0x3f88ae(0x201),_0x3f88ae(0x1f5))||_0x4708ef['is'](_0x3f88ae(0x201),_0x3f88ae(0x1fd))));}[_0x2bde97(0x1ef)](_0x580897){const _0x525f67=_0x2bde97,_0x3d02a0=this[_0x525f67(0x1f6)][_0x525f67(0x1ee)][_0x525f67(0x200)][_0x525f67(0x1f2)][_0x525f67(0x1fb)]();this[_0x525f67(0x1f6)][_0x525f67(0x1ee)][_0x525f67(0x206)](_0x11bf69=>{const _0x114207=_0x525f67;_0x11bf69[_0x114207(0x1f3)](_0x580897,_0x3d02a0),_0x11bf69[_0x114207(0x1ff)](_0x114207(0x1f1),_0x3d02a0),_0x11bf69[_0x114207(0x1ff)](_0x114207(0x207),_0x3d02a0);});}}
23
+ function _0x4285(){const _0x274da3=['refresh','selection','execute','editor','1986760LKPBDy','1278759eKwnPw','change','removeAttribute','isEnabled','setAttributes','imageInline','model','document','2484AvftDw','srcset','sizes','3474632QxftDY','1658052TAEZpI','331171LynZSZ','1535dJkCUo','imageBlock','406718wNdUdn','getSelectedElement','element'];_0x4285=function(){return _0x274da3;};return _0x4285();}const _0x4dec6f=_0xa809;(function(_0x5e8721,_0x2daa50){const _0x3489e9=_0xa809,_0x56e0cd=_0x5e8721();while(!![]){try{const _0xfab5ca=-parseInt(_0x3489e9(0x1d9))/0x1+parseInt(_0x3489e9(0x1c4))/0x2+-parseInt(_0x3489e9(0x1cc))/0x3+parseInt(_0x3489e9(0x1d4))/0x4*(-parseInt(_0x3489e9(0x1da))/0x5)+parseInt(_0x3489e9(0x1d8))/0x6+parseInt(_0x3489e9(0x1d7))/0x7+parseInt(_0x3489e9(0x1cb))/0x8;if(_0xfab5ca===_0x2daa50)break;else _0x56e0cd['push'](_0x56e0cd['shift']());}catch(_0x325b26){_0x56e0cd['push'](_0x56e0cd['shift']());}}}(_0x4285,0x4377f));function _0xa809(_0x3b26b8,_0x3cc1ac){const _0x42855a=_0x4285();return _0xa809=function(_0xa8092a,_0x26debb){_0xa8092a=_0xa8092a-0x1c4;let _0x35f566=_0x42855a[_0xa8092a];return _0x35f566;},_0xa809(_0x3b26b8,_0x3cc1ac);}import{Command as _0x3fa5f1}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x3fa5f1{[_0x4dec6f(0x1c7)](){const _0x1198bb=_0x4dec6f,_0x2b6076=this[_0x1198bb(0x1ca)][_0x1198bb(0x1d2)][_0x1198bb(0x1d3)][_0x1198bb(0x1c8)][_0x1198bb(0x1c5)]();this[_0x1198bb(0x1cf)]=Boolean(_0x2b6076&&(_0x2b6076['is'](_0x1198bb(0x1c6),_0x1198bb(0x1db))||_0x2b6076['is'](_0x1198bb(0x1c6),_0x1198bb(0x1d1))));}[_0x4dec6f(0x1c9)](_0x1e685b){const _0xc1a0a7=_0x4dec6f,_0x491264=this[_0xc1a0a7(0x1ca)][_0xc1a0a7(0x1d2)][_0xc1a0a7(0x1d3)][_0xc1a0a7(0x1c8)][_0xc1a0a7(0x1c5)]();this[_0xc1a0a7(0x1ca)][_0xc1a0a7(0x1d2)][_0xc1a0a7(0x1cd)](_0x22a5da=>{const _0x3a0bee=_0xc1a0a7;_0x22a5da[_0x3a0bee(0x1d0)](_0x1e685b,_0x491264),_0x22a5da[_0x3a0bee(0x1ce)](_0x3a0bee(0x1d5),_0x491264),_0x22a5da[_0x3a0bee(0x1ce)](_0x3a0bee(0x1d6),_0x491264);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xca221=_0x5c9e;(function(_0x5e15d7,_0x431f72){var _0x505cbc=_0x5c9e,_0x3307fd=_0x5e15d7();while(!![]){try{var _0x1f3203=-parseInt(_0x505cbc(0x116))/0x1*(parseInt(_0x505cbc(0x11b))/0x2)+parseInt(_0x505cbc(0x10e))/0x3+-parseInt(_0x505cbc(0x119))/0x4+-parseInt(_0x505cbc(0x11d))/0x5*(parseInt(_0x505cbc(0x114))/0x6)+-parseInt(_0x505cbc(0x10f))/0x7*(parseInt(_0x505cbc(0x110))/0x8)+parseInt(_0x505cbc(0x11a))/0x9*(-parseInt(_0x505cbc(0x118))/0xa)+parseInt(_0x505cbc(0x117))/0xb*(parseInt(_0x505cbc(0x11c))/0xc);if(_0x1f3203===_0x431f72)break;else _0x3307fd['push'](_0x3307fd['shift']());}catch(_0x3955ef){_0x3307fd['push'](_0x3307fd['shift']());}}}(_0x33c6,0x2ac87));import{Plugin as _0x5a5534}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0xc67e94}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x445131}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x5c9e(_0x4c8421,_0x8632be){var _0x33c6fb=_0x33c6();return _0x5c9e=function(_0x5c9ead,_0x392bf4){_0x5c9ead=_0x5c9ead-0x10e;var _0x46f4fe=_0x33c6fb[_0x5c9ead];return _0x46f4fe;},_0x5c9e(_0x4c8421,_0x8632be);}function _0x33c6(){var _0x5a28ed=['4768TujUdf','requires','isOfficialPlugin','UploadcareImageEdit','18azjyqz','isPremiumPlugin','43238YqxrQK','9009913cBkXoe','78950vuwsPf','351888eBzhzI','243cvnfYV','6sdftov','12pvXJln','437765NQRSGc','pluginName','638910ZrpQjc','1918ActakN'];_0x33c6=function(){return _0x5a28ed;};return _0x33c6();}export class UploadcareImageEdit extends _0x5a5534{static get[_0xca221(0x11e)](){var _0x22537a=_0xca221;return _0x22537a(0x113);}static get[_0xca221(0x111)](){return[_0xc67e94,_0x445131];}static get[_0xca221(0x112)](){return!0x0;}static get[_0xca221(0x115)](){return!0x0;}}
23
+ function _0x1407(){var _0x16b578=['pluginName','requires','6825030xtOwqy','293936QAyQEa','1298LsXsjd','isPremiumPlugin','8FEmjxo','6689070ErXSst','7CayDwc','66840GFbISJ','UploadcareImageEdit','2019265lvlWid','isOfficialPlugin','4317656JgSgYJ','93urnlaO','112940NuqeEP'];_0x1407=function(){return _0x16b578;};return _0x1407();}function _0x5845(_0x21f0b5,_0x3445b2){var _0x140790=_0x1407();return _0x5845=function(_0x5845c8,_0x4c540e){_0x5845c8=_0x5845c8-0xbb;var _0x8bb6b0=_0x140790[_0x5845c8];return _0x8bb6b0;},_0x5845(_0x21f0b5,_0x3445b2);}var _0x3757a0=_0x5845;(function(_0x425a7d,_0x2495d3){var _0x46c32c=_0x5845,_0x1a1113=_0x425a7d();while(!![]){try{var _0x114f6b=parseInt(_0x46c32c(0xbd))/0x1+parseInt(_0x46c32c(0xc3))/0x2*(-parseInt(_0x46c32c(0xc8))/0x3)+-parseInt(_0x46c32c(0xc0))/0x4*(parseInt(_0x46c32c(0xc5))/0x5)+parseInt(_0x46c32c(0xbc))/0x6+parseInt(_0x46c32c(0xc2))/0x7*(parseInt(_0x46c32c(0xc7))/0x8)+-parseInt(_0x46c32c(0xc1))/0x9+-parseInt(_0x46c32c(0xc9))/0xa*(-parseInt(_0x46c32c(0xbe))/0xb);if(_0x114f6b===_0x2495d3)break;else _0x1a1113['push'](_0x1a1113['shift']());}catch(_0x2ac203){_0x1a1113['push'](_0x1a1113['shift']());}}}(_0x1407,0xaf054));import{Plugin as _0x2f5b4b}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x5ee768}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2e1f5d}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2f5b4b{static get[_0x3757a0(0xca)](){var _0xfb9571=_0x3757a0;return _0xfb9571(0xc4);}static get[_0x3757a0(0xbb)](){return[_0x5ee768,_0x2e1f5d];}static get[_0x3757a0(0xc6)](){return!0x0;}static get[_0x3757a0(0xbf)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43383f=_0x3740;function _0x54d6(){const _0x178e33=['uploadcareLicenseKeyInvalid','pluginName','GDrive','Facebook','tooltip','url','_createButton','Dropbox','Replace','upload','entries','uploadcareLicenseKeyDomainLimit','uploadcareLicenseKeyExpired','isImageSelected','UploadcareUI','URL','_createMenuBarButtons','domainLimit','273123JxsBVn','isEnabled','plugins','reduce','featureNotAllowed','shortText','config','_getIntegrationKey','_showLicenseError','text','327490hAFUYn','_licenseKeyCheckInterval','get','Insert','GPhotos','withText','_createToolbarButton','push','_normalizeConfigSourceList','isPremiumPlugin','5QpKFCt','126306QdZXXk','forEach','evaluationLimit','uploadcareLicenseKeyEvaluationLimit','invalid','isOfficialPlugin','commands','1356xgcPBj','editor','destroy','Uploadcare','OneDrive','152634ttQbDo','usageLimit','execute','788eGrjEO','946428KtsVTm','map','22rOHnld','label','assetManager','184TskDLm','uploadcare.uploader.sourceList','has','uploadcareLicenseKeyUsageLimit','registerIntegration','uploadcare','bind','_createDropdownButtons','expired','ImageInsertUI','licenseKey','uploadcareLicenseKeyValid','afterInit','type','icon','uploadcareLicenseKeyNotAllowed','init','Local','locale','7091CyMxUe'];_0x54d6=function(){return _0x178e33;};return _0x54d6();}(function(_0x8fa4c6,_0x59d5bd){const _0x87fac3=_0x3740,_0x2fbf50=_0x8fa4c6();while(!![]){try{const _0x147abf=parseInt(_0x87fac3(0x1f5))/0x1+-parseInt(_0x87fac3(0x219))/0x2*(-parseInt(_0x87fac3(0x211))/0x3)+-parseInt(_0x87fac3(0x21a))/0x4+parseInt(_0x87fac3(0x209))/0x5*(parseInt(_0x87fac3(0x216))/0x6)+-parseInt(_0x87fac3(0x232))/0x7*(parseInt(_0x87fac3(0x21f))/0x8)+-parseInt(_0x87fac3(0x20a))/0x9+-parseInt(_0x87fac3(0x1ff))/0xa*(parseInt(_0x87fac3(0x21c))/0xb);if(_0x147abf===_0x59d5bd)break;else _0x2fbf50['push'](_0x2fbf50['shift']());}catch(_0x2497d6){_0x2fbf50['push'](_0x2fbf50['shift']());}}}(_0x54d6,0x217fc));import{Plugin as _0x125e36}from'ckeditor5/src/core.js';import{IconDropbox as _0x313b18,IconFacebook as _0x8f427c,IconGoogleDrive as _0xe69871,IconGooglePhotos as _0x24b94d,IconUploadcareImageUpload as _0x6c9195,IconUploadcareLink as _0x6e3087,IconOneDrive as _0x1e6a38}from'ckeditor5/src/icons.js';import{ButtonView as _0x42342f,MenuBarMenuListItemButtonView as _0x313430}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1b8350}from'./uploadcareconfig.js';import{getTranslation as _0x25a813}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';function _0x3740(_0x146581,_0x3ed7b4){const _0x54d6ec=_0x54d6();return _0x3740=function(_0x3740dc,_0x4d7d22){_0x3740dc=_0x3740dc-0x1f2;let _0x51149b=_0x54d6ec[_0x3740dc];return _0x51149b;},_0x3740(_0x146581,_0x3ed7b4);}export class UploadcareUI extends _0x125e36{[_0x43383f(0x229)];[_0x43383f(0x200)];static get[_0x43383f(0x234)](){const _0x2982c9=_0x43383f;return _0x2982c9(0x241);}static get[_0x43383f(0x20f)](){return!0x0;}static get[_0x43383f(0x208)](){return!0x0;}[_0x43383f(0x22f)](){const _0xc6723b=_0x43383f;this[_0xc6723b(0x229)]=this[_0xc6723b(0x212)][_0xc6723b(0x1fb)][_0xc6723b(0x201)](_0xc6723b(0x229));const _0x46064f=this[_0xc6723b(0x212)];this[_0xc6723b(0x200)]=setInterval(()=>{const _0x4c59b6=_0xc6723b;let _0x183d55;for(const _0x1eb535 in _0x46064f){const _0xf2ffa3=_0x1eb535,_0x27def4=_0x46064f[_0xf2ffa3];if(_0x4c59b6(0x22a)==_0x27def4||_0x4c59b6(0x233)==_0x27def4||_0x4c59b6(0x23f)==_0x27def4||_0x4c59b6(0x23e)==_0x27def4||_0x4c59b6(0x22e)==_0x27def4||_0x4c59b6(0x20d)==_0x27def4||_0x4c59b6(0x222)==_0x27def4){delete _0x46064f[_0xf2ffa3],_0x183d55=_0x27def4,clearInterval(this[_0x4c59b6(0x200)]),this[_0x4c59b6(0x200)]=void 0x0;break;}}_0x4c59b6(0x233)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x20e)),_0x4c59b6(0x23f)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x227)),_0x4c59b6(0x23e)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x1f4)),_0x4c59b6(0x22e)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x1f9),_0x4c59b6(0x214)),_0x4c59b6(0x20d)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x20c)),_0x4c59b6(0x222)==_0x183d55&&_0x46064f[_0x4c59b6(0x1fd)](_0x4c59b6(0x217));},0x3e8);}[_0x43383f(0x22b)](){const _0x5c6873=_0x43383f,{editor:_0x31beab}=this,_0x4d396f=_0x31beab[_0x5c6873(0x210)][_0x5c6873(0x201)](_0x5c6873(0x224));if(!_0x4d396f)return;const _0x27ca5a=this[_0x5c6873(0x207)](_0x31beab[_0x5c6873(0x1fb)][_0x5c6873(0x201)](_0x5c6873(0x220)))[_0x5c6873(0x1f8)]((_0x496bad,_0x404426)=>{const _0xca4bde=_0x5c6873,_0x28a21a=this[_0xca4bde(0x1fc)](_0x404426[_0xca4bde(0x22c)]);return _0x496bad[_0x28a21a]||(_0x496bad[_0x28a21a]=[]),_0x496bad[_0x28a21a][_0xca4bde(0x206)](_0x404426),_0x496bad;},{});_0x31beab[_0x5c6873(0x1f7)][_0x5c6873(0x221)](_0x5c6873(0x228))&&_0x31beab[_0x5c6873(0x210)][_0x5c6873(0x201)](_0x5c6873(0x224))&&Object[_0x5c6873(0x23d)](_0x27ca5a)[_0x5c6873(0x20b)](([_0x3e3724,_0xc2eeef])=>{const _0x2a128f=_0x5c6873;_0x31beab[_0x2a128f(0x1f7)][_0x2a128f(0x201)](_0x2a128f(0x228))[_0x2a128f(0x223)]({'name':_0x3e3724,'observable':()=>_0x4d396f,'buttonViewCreator':()=>this[_0x2a128f(0x205)](_0xc2eeef),'formViewCreator':()=>this[_0x2a128f(0x226)](_0xc2eeef),'menuBarButtonViewCreator':()=>this[_0x2a128f(0x1f3)](_0xc2eeef),'override':_0x2a128f(0x21e)!==_0x3e3724});});}[_0x43383f(0x213)](){const _0x4ec9a7=_0x43383f;super[_0x4ec9a7(0x213)](),this[_0x4ec9a7(0x200)]&&clearInterval(this[_0x4ec9a7(0x200)]);}[_0x43383f(0x207)](_0x49d756){const _0x47d9f7=_0x43383f,{locale:_0x3f4845}=this[_0x47d9f7(0x212)];return _0x49d756[_0x47d9f7(0x21b)](_0x3b1114=>{const _0x4a85ac=_0x47d9f7,_0x13cb8d=_0x25a813(_0x3f4845,_0x3b1114,_0x4a85ac(0x202));switch(_0x3b1114){case _0x1b8350[_0x4a85ac(0x230)]:return{'icon':_0x6c9195,'type':_0x1b8350[_0x4a85ac(0x230)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x1f2)]:return{'icon':_0x6e3087,'type':_0x1b8350[_0x4a85ac(0x1f2)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x23a)]:return{'icon':_0x313b18,'type':_0x1b8350[_0x4a85ac(0x23a)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x236)]:return{'icon':_0x8f427c,'type':_0x1b8350[_0x4a85ac(0x236)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x235)]:return{'icon':_0xe69871,'type':_0x1b8350[_0x4a85ac(0x235)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x203)]:return{'icon':_0x24b94d,'type':_0x1b8350[_0x4a85ac(0x203)],..._0x13cb8d};case _0x1b8350[_0x4a85ac(0x215)]:return{'icon':_0x1e6a38,'type':_0x1b8350[_0x4a85ac(0x215)],..._0x13cb8d};}});}[_0x43383f(0x1fc)](_0x3f5d82){const _0x39b528=_0x43383f;switch(_0x3f5d82){case _0x1b8350[_0x39b528(0x230)]:return _0x39b528(0x23c);case _0x1b8350[_0x39b528(0x1f2)]:return _0x39b528(0x238);default:return _0x39b528(0x21e);}}[_0x43383f(0x239)](_0x130320,_0x3c712e){const _0x59f74f=_0x43383f,_0x1afa4d=this[_0x59f74f(0x212)],_0x4fbabd=new _0x130320(_0x1afa4d[_0x59f74f(0x231)]),_0x130bd5=_0x1afa4d[_0x59f74f(0x210)][_0x59f74f(0x201)](_0x59f74f(0x224));return _0x4fbabd[_0x59f74f(0x225)](_0x59f74f(0x1f6))['to'](_0x130bd5),_0x4fbabd['on'](_0x59f74f(0x218),()=>{const _0x55f462=_0x59f74f;_0x130bd5[_0x55f462(0x218)](_0x3c712e);}),_0x4fbabd;}[_0x43383f(0x205)](_0x24f94e){const _0x4b5987=_0x43383f,{locale:_0x57a61e}=this[_0x4b5987(0x212)],_0x2b2527=this[_0x4b5987(0x212)][_0x4b5987(0x1f7)][_0x4b5987(0x201)](_0x4b5987(0x228)),_0x367a39=_0x24f94e[0x0],_0x199605=this[_0x4b5987(0x239)](_0x42342f,_0x367a39[_0x4b5987(0x22c)]);return _0x199605[_0x4b5987(0x22d)]=_0x367a39[_0x4b5987(0x22d)],_0x199605[_0x4b5987(0x225)](_0x4b5987(0x21d))['to'](_0x2b2527,_0x4b5987(0x240),_0x5caf1e=>_0x25a813(_0x57a61e,_0x367a39[_0x4b5987(0x22c)],_0x5caf1e?_0x4b5987(0x23b):_0x4b5987(0x202))[_0x4b5987(0x1fe)]),_0x199605[_0x4b5987(0x237)]=!0x0,_0x199605;}[_0x43383f(0x226)](_0x9532c0){const _0x364ec8=_0x43383f,{locale:_0x82c13f}=this[_0x364ec8(0x212)],_0x3d9996=this[_0x364ec8(0x212)][_0x364ec8(0x1f7)][_0x364ec8(0x201)](_0x364ec8(0x228));return _0x9532c0[_0x364ec8(0x21b)](_0x43e37e=>{const _0x256872=_0x364ec8,_0x3c9d6f=this[_0x256872(0x239)](_0x42342f,_0x43e37e[_0x256872(0x22c)]);return _0x3c9d6f[_0x256872(0x204)]=!0x0,_0x3c9d6f[_0x256872(0x22d)]=_0x43e37e[_0x256872(0x22d)],_0x3c9d6f[_0x256872(0x225)](_0x256872(0x21d))['to'](_0x3d9996,_0x256872(0x240),_0x3ed2b3=>_0x25a813(_0x82c13f,_0x43e37e[_0x256872(0x22c)],_0x3ed2b3?_0x256872(0x23b):_0x256872(0x202))[_0x256872(0x1fe)]),_0x3c9d6f;});}[_0x43383f(0x1f3)](_0x4cfb7e){const _0x2d4143=_0x43383f;return _0x4cfb7e[_0x2d4143(0x21b)](_0x446ee8=>{const _0x5435ef=_0x2d4143,_0x580253=this[_0x5435ef(0x239)](_0x313430,_0x446ee8[_0x5435ef(0x22c)]);return _0x580253[_0x5435ef(0x22d)]=_0x446ee8[_0x5435ef(0x22d)],_0x580253[_0x5435ef(0x21d)]=_0x446ee8[_0x5435ef(0x1fa)],_0x580253;});}}
23
+ const _0x232cba=_0x2468;function _0x2d15(){const _0x378c65=['afterInit','type','_createDropdownButtons','4301625TwRwqC','text','_normalizeConfigSourceList','forEach','GPhotos','plugins','upload','get','ImageInsertUI','shortText','isImageSelected','uploadcareLicenseKeyDomainLimit','isOfficialPlugin','locale','_showLicenseError','editor','GDrive','push','reduce','domainLimit','destroy','Dropbox','uploadcare','has','4196XnpcxT','expired','withText','8526042ePOunh','85aRDDCr','_licenseKeyCheckInterval','URL','_createMenuBarButtons','_createButton','_createToolbarButton','icon','UploadcareUI','uploadcareLicenseKeyEvaluationLimit','pluginName','label','Local','4157928skgBes','registerIntegration','uploadcareLicenseKeyInvalid','assetManager','2969048gGKzoZ','config','OneDrive','430680IUSIno','Uploadcare','uploadcareLicenseKeyUsageLimit','bind','init','entries','tooltip','isPremiumPlugin','map','execute','uploadcareLicenseKeyNotAllowed','commands','Facebook','Replace','url','isEnabled','1mpAGTn','licenseKey','10060071JjEGMc','_getIntegrationKey','Insert','uploadcare.uploader.sourceList','evaluationLimit','uploadcareLicenseKeyValid','invalid','usageLimit','featureNotAllowed','uploadcareLicenseKeyExpired'];_0x2d15=function(){return _0x378c65;};return _0x2d15();}(function(_0x3878af,_0x23beac){const _0x14bbe4=_0x2468,_0x8ed171=_0x3878af();while(!![]){try{const _0x4eff36=parseInt(_0x14bbe4(0x107))/0x1*(-parseInt(_0x14bbe4(0xe0))/0x2)+-parseInt(_0x14bbe4(0xc8))/0x3+-parseInt(_0x14bbe4(0xf4))/0x4+parseInt(_0x14bbe4(0xe4))/0x5*(parseInt(_0x14bbe4(0xf7))/0x6)+parseInt(_0x14bbe4(0x109))/0x7+-parseInt(_0x14bbe4(0xf0))/0x8+parseInt(_0x14bbe4(0xe3))/0x9;if(_0x4eff36===_0x23beac)break;else _0x8ed171['push'](_0x8ed171['shift']());}catch(_0x3e3ba7){_0x8ed171['push'](_0x8ed171['shift']());}}}(_0x2d15,0xdd617));import{Plugin as _0x46734c}from'ckeditor5/src/core.js';import{IconDropbox as _0x461c75,IconFacebook as _0x7d0c7,IconGoogleDrive as _0x318153,IconGooglePhotos as _0x3def1a,IconUploadcareImageUpload as _0x5f1ff9,IconUploadcareLink as _0x271765,IconOneDrive as _0x2c35d5}from'ckeditor5/src/icons.js';import{ButtonView as _0x34ed14,MenuBarMenuListItemButtonView as _0x76c515}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x4c814b}from'./uploadcareconfig.js';import{getTranslation as _0x30d003}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x2468(_0x54975c,_0x8ec491){const _0x2d1554=_0x2d15();return _0x2468=function(_0x24688c,_0x3eb1ba){_0x24688c=_0x24688c-0xc2;let _0x371f34=_0x2d1554[_0x24688c];return _0x371f34;},_0x2468(_0x54975c,_0x8ec491);}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x46734c{[_0x232cba(0x108)];[_0x232cba(0xe5)];static get[_0x232cba(0xed)](){const _0x3c0165=_0x232cba;return _0x3c0165(0xeb);}static get[_0x232cba(0xd4)](){return!0x0;}static get[_0x232cba(0xfe)](){return!0x0;}[_0x232cba(0xfb)](){const _0x54198d=_0x232cba;this[_0x54198d(0x108)]=this[_0x54198d(0xd7)][_0x54198d(0xf5)][_0x54198d(0xcf)](_0x54198d(0x108));const _0xc71155=this[_0x54198d(0xd7)];this[_0x54198d(0xe5)]=setInterval(()=>{const _0x1b3dc1=_0x54198d;let _0x49140d;for(const _0xfb04d2 in _0xc71155){const _0x17dd00=_0xfb04d2,_0x49dd7a=_0xc71155[_0x17dd00];if(_0x1b3dc1(0x10e)==_0x49dd7a||_0x1b3dc1(0xf2)==_0x49dd7a||_0x1b3dc1(0xc4)==_0x49dd7a||_0x1b3dc1(0xd3)==_0x49dd7a||_0x1b3dc1(0x101)==_0x49dd7a||_0x1b3dc1(0xec)==_0x49dd7a||_0x1b3dc1(0xf9)==_0x49dd7a){delete _0xc71155[_0x17dd00],_0x49140d=_0x49dd7a,clearInterval(this[_0x1b3dc1(0xe5)]),this[_0x1b3dc1(0xe5)]=void 0x0;break;}}_0x1b3dc1(0xf2)==_0x49140d&&_0xc71155[_0x1b3dc1(0xd6)](_0x1b3dc1(0x10f)),_0x1b3dc1(0xc4)==_0x49140d&&_0xc71155[_0x1b3dc1(0xd6)](_0x1b3dc1(0xe1)),_0x1b3dc1(0xd3)==_0x49140d&&_0xc71155[_0x1b3dc1(0xd6)](_0x1b3dc1(0xdb)),_0x1b3dc1(0x101)==_0x49140d&&_0xc71155[_0x1b3dc1(0xd6)](_0x1b3dc1(0xc3),_0x1b3dc1(0xf8)),_0x1b3dc1(0xec)==_0x49140d&&_0xc71155[_0x1b3dc1(0xd6)](_0x1b3dc1(0x10d)),_0x1b3dc1(0xf9)==_0x49140d&&_0xc71155[_0x1b3dc1(0xd6)](_0x1b3dc1(0xc2));},0x3e8);}[_0x232cba(0xc5)](){const _0x5639a4=_0x232cba,{editor:_0x58c68e}=this,_0x156c61=_0x58c68e[_0x5639a4(0x102)][_0x5639a4(0xcf)](_0x5639a4(0xde));if(!_0x156c61)return;const _0x78663d=this[_0x5639a4(0xca)](_0x58c68e[_0x5639a4(0xf5)][_0x5639a4(0xcf)](_0x5639a4(0x10c)))[_0x5639a4(0xda)]((_0xe01f69,_0x25df0d)=>{const _0x3aa298=_0x5639a4,_0x3718ea=this[_0x3aa298(0x10a)](_0x25df0d[_0x3aa298(0xc6)]);return _0xe01f69[_0x3718ea]||(_0xe01f69[_0x3718ea]=[]),_0xe01f69[_0x3718ea][_0x3aa298(0xd9)](_0x25df0d),_0xe01f69;},{});_0x58c68e[_0x5639a4(0xcd)][_0x5639a4(0xdf)](_0x5639a4(0xd0))&&_0x58c68e[_0x5639a4(0x102)][_0x5639a4(0xcf)](_0x5639a4(0xde))&&Object[_0x5639a4(0xfc)](_0x78663d)[_0x5639a4(0xcb)](([_0x1df911,_0x32c9a0])=>{const _0x4d3cc5=_0x5639a4;_0x58c68e[_0x4d3cc5(0xcd)][_0x4d3cc5(0xcf)](_0x4d3cc5(0xd0))[_0x4d3cc5(0xf1)]({'name':_0x1df911,'observable':()=>_0x156c61,'buttonViewCreator':()=>this[_0x4d3cc5(0xe9)](_0x32c9a0),'formViewCreator':()=>this[_0x4d3cc5(0xc7)](_0x32c9a0),'menuBarButtonViewCreator':()=>this[_0x4d3cc5(0xe7)](_0x32c9a0),'override':_0x4d3cc5(0xf3)!==_0x1df911});});}[_0x232cba(0xdc)](){const _0x4b1941=_0x232cba;super[_0x4b1941(0xdc)](),this[_0x4b1941(0xe5)]&&clearInterval(this[_0x4b1941(0xe5)]);}[_0x232cba(0xca)](_0x1bee91){const _0x2e6f0a=_0x232cba,{locale:_0x2f2784}=this[_0x2e6f0a(0xd7)];return _0x1bee91[_0x2e6f0a(0xff)](_0x3a9e28=>{const _0x6f7053=_0x2e6f0a,_0x4df636=_0x30d003(_0x2f2784,_0x3a9e28,_0x6f7053(0x10b));switch(_0x3a9e28){case _0x4c814b[_0x6f7053(0xef)]:return{'icon':_0x5f1ff9,'type':_0x4c814b[_0x6f7053(0xef)],..._0x4df636};case _0x4c814b[_0x6f7053(0xe6)]:return{'icon':_0x271765,'type':_0x4c814b[_0x6f7053(0xe6)],..._0x4df636};case _0x4c814b[_0x6f7053(0xdd)]:return{'icon':_0x461c75,'type':_0x4c814b[_0x6f7053(0xdd)],..._0x4df636};case _0x4c814b[_0x6f7053(0x103)]:return{'icon':_0x7d0c7,'type':_0x4c814b[_0x6f7053(0x103)],..._0x4df636};case _0x4c814b[_0x6f7053(0xd8)]:return{'icon':_0x318153,'type':_0x4c814b[_0x6f7053(0xd8)],..._0x4df636};case _0x4c814b[_0x6f7053(0xcc)]:return{'icon':_0x3def1a,'type':_0x4c814b[_0x6f7053(0xcc)],..._0x4df636};case _0x4c814b[_0x6f7053(0xf6)]:return{'icon':_0x2c35d5,'type':_0x4c814b[_0x6f7053(0xf6)],..._0x4df636};}});}[_0x232cba(0x10a)](_0x3e6b3e){const _0x1121ab=_0x232cba;switch(_0x3e6b3e){case _0x4c814b[_0x1121ab(0xef)]:return _0x1121ab(0xce);case _0x4c814b[_0x1121ab(0xe6)]:return _0x1121ab(0x105);default:return _0x1121ab(0xf3);}}[_0x232cba(0xe8)](_0x40429f,_0x2ef888){const _0x2a97f3=_0x232cba,_0x27b350=this[_0x2a97f3(0xd7)],_0x42aba4=new _0x40429f(_0x27b350[_0x2a97f3(0xd5)]),_0x784ad6=_0x27b350[_0x2a97f3(0x102)][_0x2a97f3(0xcf)](_0x2a97f3(0xde));return _0x42aba4[_0x2a97f3(0xfa)](_0x2a97f3(0x106))['to'](_0x784ad6),_0x42aba4['on'](_0x2a97f3(0x100),()=>{const _0x565673=_0x2a97f3;_0x784ad6[_0x565673(0x100)](_0x2ef888);}),_0x42aba4;}[_0x232cba(0xe9)](_0x3b39aa){const _0x526cd7=_0x232cba,{locale:_0x116276}=this[_0x526cd7(0xd7)],_0x3bc392=this[_0x526cd7(0xd7)][_0x526cd7(0xcd)][_0x526cd7(0xcf)](_0x526cd7(0xd0)),_0x10477a=_0x3b39aa[0x0],_0x235a0e=this[_0x526cd7(0xe8)](_0x34ed14,_0x10477a[_0x526cd7(0xc6)]);return _0x235a0e[_0x526cd7(0xea)]=_0x10477a[_0x526cd7(0xea)],_0x235a0e[_0x526cd7(0xfa)](_0x526cd7(0xee))['to'](_0x3bc392,_0x526cd7(0xd2),_0xa7111=>_0x30d003(_0x116276,_0x10477a[_0x526cd7(0xc6)],_0xa7111?_0x526cd7(0x104):_0x526cd7(0x10b))[_0x526cd7(0xc9)]),_0x235a0e[_0x526cd7(0xfd)]=!0x0,_0x235a0e;}[_0x232cba(0xc7)](_0x484b42){const _0xd6c83e=_0x232cba,{locale:_0x789e49}=this[_0xd6c83e(0xd7)],_0x2a52ce=this[_0xd6c83e(0xd7)][_0xd6c83e(0xcd)][_0xd6c83e(0xcf)](_0xd6c83e(0xd0));return _0x484b42[_0xd6c83e(0xff)](_0x2cda29=>{const _0x121ba8=_0xd6c83e,_0x1947c6=this[_0x121ba8(0xe8)](_0x34ed14,_0x2cda29[_0x121ba8(0xc6)]);return _0x1947c6[_0x121ba8(0xe2)]=!0x0,_0x1947c6[_0x121ba8(0xea)]=_0x2cda29[_0x121ba8(0xea)],_0x1947c6[_0x121ba8(0xfa)](_0x121ba8(0xee))['to'](_0x2a52ce,_0x121ba8(0xd2),_0x328d9d=>_0x30d003(_0x789e49,_0x2cda29[_0x121ba8(0xc6)],_0x328d9d?_0x121ba8(0x104):_0x121ba8(0x10b))[_0x121ba8(0xc9)]),_0x1947c6;});}[_0x232cba(0xe7)](_0x5a7d64){const _0x3b56a5=_0x232cba;return _0x5a7d64[_0x3b56a5(0xff)](_0x588b45=>{const _0x36725e=_0x3b56a5,_0x3b5028=this[_0x36725e(0xe8)](_0x76c515,_0x588b45[_0x36725e(0xc6)]);return _0x3b5028[_0x36725e(0xea)]=_0x588b45[_0x36725e(0xea)],_0x3b5028[_0x36725e(0xee)]=_0x588b45[_0x36725e(0xd1)],_0x3b5028;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x15f8db}from'ckeditor5/src/core.js';import{FileRepository as _0x3366b2}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x374d27}from'./uploadcareediting.js';import{UploadUtils as _0x30204f}from'./utils/uploadutils.js';import{getImageUrls as _0xfaa7ea}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x15f8db{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x3366b2,_0x374d27];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x502fce=this['editor'];if(!!!_0x502fce['config']['get']('uploadcare'))return;_0x502fce['plugins']['get'](_0x3366b2)['createUploadAdapter']=_0x430257=>new k(_0x430257,_0x502fce),_0x502fce['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x384b54,{imageElement:_0x381756,data:_0x53b47c})=>{_0x502fce['model']['change'](_0xe2956d=>{_0xe2956d['setAttribute']('uploadcareImageId',_0x53b47c['uploadcareImageId'],_0x381756);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x149bd1,_0xf9c0d6){this['loader']=_0x149bd1,this['editor']=_0xf9c0d6,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x5f03c1=await this['loader']['file'];return _0x30204f['upload']({'file':_0x5f03c1,'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':_0x48c8f5=>{_0x48c8f5&&_0x48c8f5['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x48c8f5['value']);}})['then'](async _0x449c2b=>{const {imageFallbackUrl:_0x2ddd7c,imageSources:_0x49cbfa}=_0xfaa7ea(_0x449c2b['cdnUrl'],_0x449c2b['imageInfo']['width']);return{'uploadcareImageId':_0x449c2b['uuid'],'default':_0x2ddd7c,'sources':_0x49cbfa};})['catch'](()=>{const _0x1dfbbb=t('Cannot\x20upload\x20file:')+('\x20'+_0x5f03c1['name']+'.');return Promise['reject'](_0x1dfbbb);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x9fc945}from'ckeditor5/src/core.js';import{FileRepository as _0x2c7f29}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x331f81}from'./uploadcareediting.js';import{UploadUtils as _0x286ec0}from'./utils/uploadutils.js';import{getImageUrls as _0x3c8291}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x9fc945{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x2c7f29,_0x331f81];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x550e32=this['editor'];if(!!!_0x550e32['config']['get']('uploadcare'))return;_0x550e32['plugins']['get'](_0x2c7f29)['createUploadAdapter']=_0xa882a1=>new k(_0xa882a1,_0x550e32),_0x550e32['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x102513,{imageElement:_0x44fbda,data:_0x462c11})=>{_0x550e32['model']['change'](_0x590d58=>{_0x590d58['setAttribute']('uploadcareImageId',_0x462c11['uploadcareImageId'],_0x44fbda);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x4e7750,_0x37b63a){this['loader']=_0x4e7750,this['editor']=_0x37b63a,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x42d4f2=await this['loader']['file'];return _0x286ec0['upload']({'file':_0x42d4f2,'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':_0xfa3f2a=>{_0xfa3f2a&&_0xfa3f2a['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0xfa3f2a['value']);}})['then'](async _0x1c1a16=>{const {imageFallbackUrl:_0x16964e,imageSources:_0x58da6c}=_0x3c8291(_0x1c1a16['cdnUrl'],_0x1c1a16['imageInfo']['width']);return{'uploadcareImageId':_0x1c1a16['uuid'],'default':_0x16964e,'sources':_0x58da6c};})['catch'](()=>{const _0x316054=t('Cannot\x20upload\x20file:')+('\x20'+_0x42d4f2['name']+'.');return Promise['reject'](_0x316054);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x313300}from'../uploadcareconfig.js';export function getTranslation(_0x583ab9,_0xd6e371,_0x484e2e){const t=_0x583ab9['t'],_0x3510fe=_0x583ab9['t'];switch(_0xd6e371){case _0x313300['Local']:return{'text':_0x3510fe('Insert'===_0x484e2e?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x3510fe('From\x20computer')};case _0x313300['URL']:return{'text':'Insert'===_0x484e2e?_0x3510fe('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x3510fe('Via\x20URL')};case _0x313300['Dropbox']:return{'text':t('Insert'===_0x484e2e?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x313300['Facebook']:return{'text':t('Insert'===_0x484e2e?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x313300['GDrive']:return{'text':t('Insert'===_0x484e2e?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x313300['GPhotos']:return{'text':t('Insert'===_0x484e2e?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x313300['OneDrive']:return{'text':t('Insert'===_0x484e2e?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0xd6e371;}}
23
+ import{UploadcareSource as _0x251cf3}from'../uploadcareconfig.js';export function getTranslation(_0x56e990,_0x3f31fe,_0x4562f9){const t=_0x56e990['t'],_0x4deb08=_0x56e990['t'];switch(_0x3f31fe){case _0x251cf3['Local']:return{'text':_0x4deb08('Insert'===_0x4562f9?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4deb08('From\x20computer')};case _0x251cf3['URL']:return{'text':'Insert'===_0x4562f9?_0x4deb08('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4deb08('Via\x20URL')};case _0x251cf3['Dropbox']:return{'text':t('Insert'===_0x4562f9?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x251cf3['Facebook']:return{'text':t('Insert'===_0x4562f9?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x251cf3['GDrive']:return{'text':t('Insert'===_0x4562f9?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x251cf3['GPhotos']:return{'text':t('Insert'===_0x4562f9?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x251cf3['OneDrive']:return{'text':t('Insert'===_0x4562f9?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3f31fe;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1fedc1=_0x325e;function _0x325e(_0x190248,_0x183a5f){var _0x55b839=_0x55b8();return _0x325e=function(_0x325e56,_0x42bc1){_0x325e56=_0x325e56-0x93;var _0xd5846c=_0x55b839[_0x325e56];return _0xd5846c;},_0x325e(_0x190248,_0x183a5f);}(function(_0xfdc5e1,_0xb80558){var _0x43991d=_0x325e,_0x4f295c=_0xfdc5e1();while(!![]){try{var _0x309c5f=parseInt(_0x43991d(0xa2))/0x1*(parseInt(_0x43991d(0xa4))/0x2)+parseInt(_0x43991d(0x96))/0x3*(-parseInt(_0x43991d(0x95))/0x4)+parseInt(_0x43991d(0xa1))/0x5+-parseInt(_0x43991d(0x9f))/0x6*(parseInt(_0x43991d(0xa3))/0x7)+-parseInt(_0x43991d(0x94))/0x8*(parseInt(_0x43991d(0x99))/0x9)+-parseInt(_0x43991d(0xa7))/0xa+parseInt(_0x43991d(0xa5))/0xb*(parseInt(_0x43991d(0x98))/0xc);if(_0x309c5f===_0xb80558)break;else _0x4f295c['push'](_0x4f295c['shift']());}catch(_0x334807){_0x4f295c['push'](_0x4f295c['shift']());}}}(_0x55b8,0xe33c9));function _0x55b8(){var _0x14273d=['true','5719860uIiYXh','focusCycler','1021816eobHJv','12FylaPL','70989AVfgeC','forwardCycle','372kNPPkV','81HeLUNZ','bindTemplate','fire','createCollection','focusTracker','getFocusableElement','8430702UnvtUt','div','8109015zagXHo','608kZoPwl','7cugwmj','4718yWQBfU','380501UBmahe'];_0x55b8=function(){return _0x14273d;};return _0x55b8();}import{FocusTracker as _0x553efa}from'ckeditor5/src/utils.js';import{View as _0x529861,FocusCycler as _0x40f86d}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x529861{[_0x1fedc1(0x9d)];[_0x1fedc1(0x93)];constructor(_0x5f02e0){var _0x3a648d=_0x1fedc1;super(_0x5f02e0),this[_0x3a648d(0x9d)]=new _0x553efa(),this[_0x3a648d(0x93)]=new _0x40f86d({'focusables':this[_0x3a648d(0x9c)](),'focusTracker':this[_0x3a648d(0x9d)]});}[_0x1fedc1(0x9e)](){var _0x248c9e=_0x1fedc1;return{'tag':_0x248c9e(0xa0),'attributes':{'aria-hidden':_0x248c9e(0xa6),'tabindex':'0'},'on':{'focus':this[_0x248c9e(0x9a)]['to'](()=>{var _0x5d564c=_0x248c9e;this[_0x5d564c(0x93)][_0x5d564c(0x9b)](_0x5d564c(0x97));})}};}}
23
+ var _0xbf32d7=_0x2c1c;(function(_0x520fc6,_0x2cf273){var _0x2be49c=_0x2c1c,_0x1ccf81=_0x520fc6();while(!![]){try{var _0x559593=parseInt(_0x2be49c(0x1d5))/0x1*(parseInt(_0x2be49c(0x1d9))/0x2)+parseInt(_0x2be49c(0x1d6))/0x3+-parseInt(_0x2be49c(0x1d8))/0x4+-parseInt(_0x2be49c(0x1d4))/0x5*(-parseInt(_0x2be49c(0x1cf))/0x6)+parseInt(_0x2be49c(0x1cc))/0x7+-parseInt(_0x2be49c(0x1dd))/0x8*(-parseInt(_0x2be49c(0x1d1))/0x9)+-parseInt(_0x2be49c(0x1d7))/0xa;if(_0x559593===_0x2cf273)break;else _0x1ccf81['push'](_0x1ccf81['shift']());}catch(_0x4e0643){_0x1ccf81['push'](_0x1ccf81['shift']());}}}(_0x22de,0xb48d2));import{FocusTracker as _0x4c5d9d}from'ckeditor5/src/utils.js';function _0x2c1c(_0x2d3a70,_0x522ebb){var _0x22de5e=_0x22de();return _0x2c1c=function(_0x2c1c85,_0x5e94c1){_0x2c1c85=_0x2c1c85-0x1cc;var _0x5dc859=_0x22de5e[_0x2c1c85];return _0x5dc859;},_0x2c1c(_0x2d3a70,_0x522ebb);}import{View as _0x1375f7,FocusCycler as _0x51ad7c}from'ckeditor5/src/ui.js';function _0x22de(){var _0x388eb5=['focusCycler','536cPjNep','fire','2353729UcHYQi','true','bindTemplate','14556IennqU','focusTracker','133677OMwFms','getFocusableElement','createCollection','1530yejTcv','18gQzkfz','800400hUOjhM','17650800LASltu','1109472VeNEPj','49048AiQnYf','div','forwardCycle'];_0x22de=function(){return _0x388eb5;};return _0x22de();}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x1375f7{[_0xbf32d7(0x1d0)];[_0xbf32d7(0x1dc)];constructor(_0x29b9b6){var _0x1542f2=_0xbf32d7;super(_0x29b9b6),this[_0x1542f2(0x1d0)]=new _0x4c5d9d(),this[_0x1542f2(0x1dc)]=new _0x51ad7c({'focusables':this[_0x1542f2(0x1d3)](),'focusTracker':this[_0x1542f2(0x1d0)]});}[_0xbf32d7(0x1d2)](){var _0xe42aa7=_0xbf32d7;return{'tag':_0xe42aa7(0x1da),'attributes':{'aria-hidden':_0xe42aa7(0x1cd),'tabindex':'0'},'on':{'focus':this[_0xe42aa7(0x1ce)]['to'](()=>{var _0xef9bd0=_0xe42aa7;this[_0xef9bd0(0x1dc)][_0xef9bd0(0x1de)](_0xef9bd0(0x1db));})}};}}