@ckeditor/ckeditor5-uploadcare 0.0.0-nightly-20251119.0 → 0.0.0-nightly-20251121.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/build/uploadcare.js +1 -1
  2. package/dist/index.js +3 -3
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/index.js +1 -1
  151. package/src/ui/uploadcarecontroller.js +2 -2
  152. package/src/ui/uploadcareformview.js +1 -1
  153. package/src/uploadcare.js +1 -1
  154. package/src/uploadcarecommand.js +1 -1
  155. package/src/uploadcareconfig.js +1 -1
  156. package/src/uploadcareediting.js +1 -1
  157. package/src/uploadcareimageedit/ui/uploadcareimageeditcontroller.js +2 -2
  158. package/src/uploadcareimageedit/ui/uploadcareimageeditformeditingview.js +1 -1
  159. package/src/uploadcareimageedit/ui/uploadcareimageeditformerrorview.js +1 -1
  160. package/src/uploadcareimageedit/ui/uploadcareimageeditformloadingview.js +1 -1
  161. package/src/uploadcareimageedit/ui/uploadcareimageeditformview.js +1 -1
  162. package/src/uploadcareimageedit/uploadcareimageeditcommand.js +1 -1
  163. package/src/uploadcareimageedit/uploadcareimageeditediting.js +1 -1
  164. package/src/uploadcareimageedit/uploadcareimageeditui.js +1 -1
  165. package/src/uploadcareimageedit/uploadcareimagereplacecommand.js +1 -1
  166. package/src/uploadcareimageedit.js +1 -1
  167. package/src/uploadcareui.js +1 -1
  168. package/src/uploadcareuploadadapter.js +1 -1
  169. package/src/utils/common-translations.js +1 -1
  170. package/src/utils/dialogfocusmanagerview.js +1 -1
  171. package/src/utils/editingutils.js +1 -1
  172. package/src/utils/isancestor.js +1 -1
  173. package/src/utils/uploadutils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc3f268=_0x23f0;(function(_0x5e7420,_0x565fd6){const _0xaaa7dd=_0x23f0,_0x18bd71=_0x5e7420();while(!![]){try{const _0x408a8c=parseInt(_0xaaa7dd(0x189))/0x1+-parseInt(_0xaaa7dd(0x19e))/0x2*(parseInt(_0xaaa7dd(0x194))/0x3)+-parseInt(_0xaaa7dd(0x16c))/0x4+-parseInt(_0xaaa7dd(0x185))/0x5+-parseInt(_0xaaa7dd(0x161))/0x6*(-parseInt(_0xaaa7dd(0x1a6))/0x7)+-parseInt(_0xaaa7dd(0x1a5))/0x8+parseInt(_0xaaa7dd(0x156))/0x9;if(_0x408a8c===_0x565fd6)break;else _0x18bd71['push'](_0x18bd71['shift']());}catch(_0x19a477){_0x18bd71['push'](_0x18bd71['shift']());}}}(_0x110c,0xa4c15));import{Plugin as _0xb7ba44}from'ckeditor5/src/core.js';import{Dialog as _0x4de1c3}from'ckeditor5/src/ui.js';function _0x23f0(_0x186e3d,_0x2e6d78){const _0x110c4c=_0x110c();return _0x23f0=function(_0x23f005,_0x458f49){_0x23f005=_0x23f005-0x153;let _0x279aaf=_0x110c4c[_0x23f005];return _0x279aaf;},_0x23f0(_0x186e3d,_0x2e6d78);}import{createElement as _0x34f449,global as _0x2b4a69,uid as _0xcb9936}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x336a9c}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x360746}from'./uploadcareuploadadapter.js';function _0x110c(){const _0x409142=['171834xLqNYm','uploadcare.pubkey','removeAttribute','querySelector','UploadcareEditing','true','get','9887152cWvDGQ','2807qwScxy','data-uc-image-id','map','isOfficialPlugin','32497452dOiHnN','PictureEditing','imageBlock','schema','join','locale','config','appendChild','body','_initImageProcessingIndicator','remove','1734XcfcMf','_initSchema','cleanupImage','_configElement','model','editing','closeMax','iconHrefResolver','uc-upload-ctx-provider','conversion','_initConversion','97324ThOxZN','uploadcareImageReplace','insertImage','render','editor','document','isRegistered','input[uploadcare-file-input]','fromCharCode','requires','uploadcareImageId','elementToAttribute','uc-config','add','pluginName','commands','attributeToAttribute','\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','for','configElement','_initConfig','uploader-','ucContextId','uploadcare.uploader','view','6397445KxHnJn','#uc-icon-arrow-down','upcast','init','776589pegfPC','extend','href','_initCtx','uploadcare','selection','_ctxElement','downcast','getAttribute','once','destroy','45Heqsng','imageInline','replaceImageSource','isPremiumPlugin','getSelectedElement','listenTo','ctxElement','afterInit','contentLanguage','execute'];_0x110c=function(){return _0x409142;};return _0x110c();}import{showImageProcessingIndicator as _0x243818}from'./utils/editingutils.js';export class UploadcareEditing extends _0xb7ba44{[_0xc3f268(0x164)]=null;[_0xc3f268(0x18f)]=null;static get[_0xc3f268(0x17a)](){const _0x28df=_0xc3f268;return _0x28df(0x1a2);}static get[_0xc3f268(0x175)](){const _0x1b79bc=_0xc3f268;return[_0x1b79bc(0x157),_0x360746,_0x4de1c3];}static get[_0xc3f268(0x155)](){return!0x0;}static get[_0xc3f268(0x197)](){return!0x0;}[_0xc3f268(0x182)];get[_0xc3f268(0x17f)](){const _0x4a13c5=_0xc3f268;return this[_0x4a13c5(0x164)];}get[_0xc3f268(0x19a)](){const _0xd7bc30=_0xc3f268;return this[_0xd7bc30(0x18f)];}constructor(_0x13f458){const _0xb708fb=_0xc3f268;super(_0x13f458),this[_0xb708fb(0x182)]=_0xcb9936();}[_0xc3f268(0x188)](){const _0x4ba6e6=_0xc3f268,_0x32a123=this[_0x4ba6e6(0x170)];_0x32a123[_0x4ba6e6(0x17b)][_0x4ba6e6(0x179)](_0x4ba6e6(0x18d),new _0x336a9c(_0x32a123));}[_0xc3f268(0x19b)](){const _0x3ecd73=_0xc3f268;this[_0x3ecd73(0x162)](),this[_0x3ecd73(0x16b)](),this[_0x3ecd73(0x180)](),this[_0x3ecd73(0x18c)](),this[_0x3ecd73(0x15f)](),this[_0x3ecd73(0x199)](this[_0x3ecd73(0x170)],_0x3ecd73(0x193),()=>{const _0x26354e=_0x3ecd73;this[_0x26354e(0x164)]&&(this[_0x26354e(0x164)][_0x26354e(0x160)](),this[_0x26354e(0x164)]=null),this[_0x26354e(0x18f)]&&(this[_0x26354e(0x18f)][_0x26354e(0x160)](),this[_0x26354e(0x18f)]=null);const _0x3e99e5=_0x2b4a69[_0x26354e(0x171)][_0x26354e(0x1a1)](_0x26354e(0x173));_0x3e99e5&&_0x3e99e5[_0x26354e(0x160)]();}),async function(_0x185021){const _0x132bee=_0x1c54d6([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]),_0x53aef5=0x535f8c3a,_0x54db95=0x5358f5b2^_0x53aef5,_0x5adb46=window[_0x1c54d6([0x44,0x61,0x74,0x65])][_0x1c54d6([0x6e,0x6f,0x77])](),_0x2ebc59=_0x185021[_0x1c54d6([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x33f357=new window[(_0x1c54d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ed3ed=>{_0x2ebc59[_0x1c54d6([0x6f,0x6e,0x63,0x65])](_0x1c54d6([0x72,0x65,0x61,0x64,0x79]),_0x3ed3ed);}),_0x1b196c={[_0x1c54d6([0x6b,0x74,0x79])]:_0x1c54d6([0x45,0x43]),[_0x1c54d6([0x75,0x73,0x65])]:_0x1c54d6([0x73,0x69,0x67]),[_0x1c54d6([0x63,0x72,0x76])]:_0x1c54d6([0x50,0x2d,0x32,0x35,0x36]),[_0x1c54d6([0x78])]:_0x1c54d6([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]),[_0x1c54d6([0x79])]:_0x1c54d6([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]),[_0x1c54d6([0x61,0x6c,0x67])]:_0x1c54d6([0x45,0x53,0x32,0x35,0x36])},_0x314d51=_0x2ebc59[_0x1c54d6([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1c54d6([0x67,0x65,0x74])](_0x1c54d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2cbed7(){let _0x5ad180,_0x4ebea1=null,_0x34e5c9=null;try{if(_0x314d51==_0x1c54d6([0x47,0x50,0x4c]))return _0x1c54d6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ad180=_0x2999eb(),!_0x5ad180)return _0x1c54d6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ad180[_0x1c54d6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x34e5c9=_0x4ae9d3(_0x5ad180[_0x1c54d6([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ad180[_0x1c54d6([0x6a,0x74,0x69])])),await _0x24cc79()?_0x4cfb4e()?_0x58bb1b()?_0x1c54d6([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46b041()?(_0x5ad180[_0x1c54d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c54d6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4ebea1=_0x1166d2(_0x1c54d6([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ad180[_0x1c54d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c54d6([0x74,0x72,0x69,0x61,0x6c])&&(_0x4ebea1=_0x1166d2(_0x1c54d6([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x23159c()):_0x1c54d6([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1c54d6([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1c54d6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1c54d6([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58bb1b(){const _0x104bbb=[_0x1c54d6([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1c54d6([0x74,0x72,0x69,0x61,0x6c])][_0x1c54d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ad180[_0x1c54d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5adb46/0x3e8:0xe10*_0x54db95;return _0x5ad180[_0x1c54d6([0x65,0x78,0x70])]<_0x104bbb;}function _0x4cfb4e(){const _0x2709c7=_0x5ad180[_0x1c54d6([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2709c7&&(!!_0x2709c7[_0x1c54d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c54d6([0x2a]))||!!_0x2709c7[_0x1c54d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c54d6([0x55,0x50,0x4c,0x43])));}function _0x46b041(){const _0x9b824a=_0x23f0,_0x13ebd1=_0x5ad180[_0x1c54d6([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x13ebd1||0x0==_0x13ebd1[_0x1c54d6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf73e0a}=new URL(window[_0x1c54d6([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x9b824a(0x18b)]);if(_0x13ebd1[_0x1c54d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf73e0a))return!0x0;const _0x389261=_0xf73e0a[_0x1c54d6([0x73,0x70,0x6c,0x69,0x74])](_0x1c54d6([0x2e]));return _0x13ebd1[_0x1c54d6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x587d31=>_0x587d31[_0x1c54d6([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c54d6([0x2a])))[_0x1c54d6([0x6d,0x61,0x70])](_0x15e9e5=>_0x15e9e5[_0x1c54d6([0x73,0x70,0x6c,0x69,0x74])](_0x1c54d6([0x2e])))[_0x1c54d6([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c6685=>_0x1c6685[_0x1c54d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x389261[_0x1c54d6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c54d6([0x6d,0x61,0x70])](_0xb8de1c=>Array(_0x389261[_0x1c54d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xb8de1c[_0x1c54d6([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c54d6([0x66,0x69,0x6c,0x6c])](_0xb8de1c[0x0]===_0x1c54d6([0x2a])?_0x1c54d6([0x2a]):'')[_0x1c54d6([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xb8de1c))[_0x1c54d6([0x73,0x6f,0x6d,0x65])](_0x2c200c=>_0x389261[_0x1c54d6([0x65,0x76,0x65,0x72,0x79])]((_0x5be695,_0xf3aaf1)=>_0x2c200c[_0xf3aaf1]===_0x5be695||_0x2c200c[_0xf3aaf1]===_0x1c54d6([0x2a])));}function _0x23159c(){return _0x4ebea1&&_0x34e5c9?new window[(_0x1c54d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b6321,_0x10bb97)=>{_0x4ebea1[_0x1c54d6([0x74,0x68,0x65,0x6e])](_0x1b6321,_0x10bb97),_0x34e5c9[_0x1c54d6([0x74,0x68,0x65,0x6e])](_0x3d123f=>{_0x3d123f!=_0x1c54d6([0x56,0x61,0x6c,0x69,0x64])&&_0x1b6321(_0x3d123f);},_0x10bb97);}):_0x4ebea1||_0x34e5c9||_0x1c54d6([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4ae9d3(_0x20de06,_0x1ac38f){return new window[(_0x1c54d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x149e14=>{if(_0x1edef6())return _0x149e14(_0x1c54d6([0x56,0x61,0x6c,0x69,0x64]));_0x1bc2d8(),_0x2ebc59[_0x1c54d6([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1c54d6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4c56ab=!0x1;const _0x283d80=_0xcb9936();function _0x49ca62(_0x3bcf7b){return!!_0x3bcf7b&&(typeof _0x3bcf7b===_0x1c54d6([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3bcf7b===_0x1c54d6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3bcf7b[_0x1c54d6([0x74,0x68,0x65,0x6e])]===_0x1c54d6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3bcf7b[_0x1c54d6([0x63,0x61,0x74,0x63,0x68])]===_0x1c54d6([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2725b4(_0x42341f){_0x5b3812(_0x42341f)[_0x1c54d6([0x74,0x68,0x65,0x6e])](_0x1b7ca6=>{if(!_0x1b7ca6||_0x1b7ca6[_0x1c54d6([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1c54d6([0x6f,0x6b]))return _0x1c54d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1c5f4d(_0x488a41(_0x283d80+_0x1ac38f))!=_0x1b7ca6[_0x1c54d6([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1c54d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1c54d6([0x56,0x61,0x6c,0x69,0x64]);})[_0x1c54d6([0x74,0x68,0x65,0x6e])](_0x1e4cfe=>(_0x48ad39(),_0x1e4cfe),()=>{const _0x1b8b5d=_0x3da597();return null==_0x1b8b5d?(_0x48ad39(),_0x1c54d6([0x56,0x61,0x6c,0x69,0x64])):_0x1c54d6(_0x5adb46-_0x1b8b5d>(0x7753083a^_0x53aef5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1c54d6([0x74,0x68,0x65,0x6e])](_0x149e14)[_0x1c54d6([0x63,0x61,0x74,0x63,0x68])](()=>{_0x149e14(_0x1c54d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5a992c=0x536962ba^_0x53aef5;function _0x48ad39(){const _0x390e2c=_0x1c54d6([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c5f4d(_0x488a41(_0x20de06)),_0x560fa2=_0x5b7919(_0x1c5f4d(window[_0x1c54d6([0x4d,0x61,0x74,0x68])][_0x1c54d6([0x63,0x65,0x69,0x6c])](_0x5adb46/_0x5a992c)));window[_0x1c54d6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c54d6([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x390e2c,_0x560fa2);}function _0x3da597(){const _0x50ea35=_0x1c54d6([0x6c,0x6c,0x63,0x74,0x2d])+_0x1c5f4d(_0x488a41(_0x20de06)),_0x54d922=window[_0x1c54d6([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c54d6([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x50ea35);return _0x54d922?window[_0x1c54d6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b7919(_0x54d922),0x10)*_0x5a992c:null;}function _0x5b3812(_0x5c275e){return new window[(_0x1c54d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20657e,_0x4b7b0a)=>{_0x5c275e[_0x1c54d6([0x74,0x68,0x65,0x6e])](_0x20657e,_0x4b7b0a),window[_0x1c54d6([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4b7b0a,0x535e58fa^_0x53aef5);});}}_0x2ebc59[_0x1c54d6([0x6f,0x6e])](_0x1c54d6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x136832,_0x3e64d2)=>{if(_0x3e64d2[0x0]!=_0x20de06)return _0x149e14(_0x1c54d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e64d2[0x1]={..._0x3e64d2[0x1],[_0x1c54d6([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x283d80};},{[_0x1c54d6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c54d6([0x68,0x69,0x67,0x68])}),_0x2ebc59[_0x1c54d6([0x6f,0x6e])](_0x1c54d6([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x11417f=>{_0x49ca62(_0x11417f[_0x1c54d6([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4c56ab=!0x0,_0x2725b4(_0x11417f[_0x1c54d6([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1c54d6([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c54d6([0x6c,0x6f,0x77])}),_0x33f357[_0x1c54d6([0x74,0x68,0x65,0x6e])](()=>{_0x4c56ab||_0x149e14(_0x1c54d6([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1edef6(){return _0x2ebc59[_0x1c54d6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c54d6([0x76,0x69,0x65,0x77])][_0x1c54d6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1c54d6([0x61,0x75,0x74,0x6f]);}function _0x1bc2d8(){_0x2ebc59[_0x1c54d6([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c54d6([0x76,0x69,0x65,0x77])][_0x1c54d6([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1c54d6([0x61,0x75,0x74,0x6f]);}}function _0x1166d2(_0x25ebb7){const _0x59ef96=[new window[(_0x1c54d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x83e7c7=>setTimeout(_0x83e7c7,0x5356b2f6^_0x53aef5)),_0x33f357[_0x1c54d6([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1c54d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1848a0=>{let _0x29aa84=0x0;_0x2ebc59[_0x1c54d6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c54d6([0x6f,0x6e])](_0x1c54d6([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xf1371b,_0x251949)=>{_0x251949[0x0][_0x1c54d6([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x29aa84++,_0x29aa84==(0x535f8dc2^_0x53aef5)&&(_0x1848a0(),_0xf1371b[_0x1c54d6([0x6f,0x66,0x66])]());});}))];return window[_0x1c54d6([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1c54d6([0x72,0x61,0x63,0x65])](_0x59ef96)[_0x1c54d6([0x74,0x68,0x65,0x6e])](()=>_0x25ebb7);}async function _0x3ff497(){await _0x33f357,_0x2ebc59[_0x1c54d6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c54d6([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1b8b26,_0x2ebc59[_0x1c54d6([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c54d6([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1b8b26,_0x2ebc59[_0x1c54d6([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c54d6([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4e7df3(_0x3ed41a){const _0x4d8b28=_0x403150();_0x2ebc59[_0x4d8b28]=_0x1c54d6([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ed41a,_0x3ed41a!=_0x1c54d6([0x56,0x61,0x6c,0x69,0x64])&&_0x3ff497();}function _0x403150(){const _0x529436=window[_0x1c54d6([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1c54d6([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c54d6([0x6e,0x6f,0x77])]())[_0x1c54d6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c54d6([0x2e]),'');let _0x41b1c0=_0x1c54d6([0x68]);for(let _0x81c15e=0x0;_0x81c15e<_0x529436[_0x1c54d6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x81c15e+=0x2){let _0x46d658=window[_0x1c54d6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x529436[_0x1c54d6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x81c15e,_0x81c15e+0x2));_0x46d658>=_0x132bee[_0x1c54d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x46d658-=_0x132bee[_0x1c54d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x41b1c0+=_0x132bee[_0x46d658];}return _0x41b1c0;}function _0x2999eb(){const _0x1097d4=_0x314d51[_0x1c54d6([0x73,0x70,0x6c,0x69,0x74])](_0x1c54d6([0x2e]));if(0x3!=_0x1097d4[_0x1c54d6([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x868d70(_0x1097d4[0x1]);function _0x868d70(_0x242f65){const _0xab1376=_0xa6f97f(_0x242f65);return _0xab1376&&_0x5bb795()?_0xab1376:null;function _0x5bb795(){const _0xb36507=_0xab1376[_0x1c54d6([0x6a,0x74,0x69])],_0x460732=window[_0x1c54d6([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xb36507[_0x1c54d6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb36507[_0x1c54d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2d2b0b={..._0xab1376,[_0x1c54d6([0x6a,0x74,0x69])]:_0xb36507[_0x1c54d6([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xb36507[_0x1c54d6([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2d2b0b[_0x1c54d6([0x76,0x63])],_0x488a41(_0x2d2b0b)==_0x460732;}}}async function _0x24cc79(){let _0x1a0332=!0x0;try{const _0x345ca8=_0x314d51[_0x1c54d6([0x73,0x70,0x6c,0x69,0x74])](_0x1c54d6([0x2e])),[_0x46dd21,_0x392672,_0x37afef]=_0x345ca8;return _0x2fd225(_0x46dd21),await _0x2c376f(_0x46dd21,_0x392672,_0x37afef),_0x1a0332;}catch{return!0x1;}function _0x2fd225(_0x4a9b18){const _0x271b3d=_0xa6f97f(_0x4a9b18);_0x271b3d&&_0x271b3d[_0x1c54d6([0x61,0x6c,0x67])]==_0x1c54d6([0x45,0x53,0x32,0x35,0x36])||(_0x1a0332=!0x1);}async function _0x2c376f(_0x2aa1ea,_0x55c414,_0x426fa7){const _0x48af3d=window[_0x1c54d6([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1c54d6([0x66,0x72,0x6f,0x6d])](_0x2e4ccf(_0x426fa7),_0x36e870=>_0x36e870[_0x1c54d6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x160614=new window[(_0x1c54d6([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1c54d6([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2aa1ea+_0x1c54d6([0x2e])+_0x55c414),_0x30f6ba=window[_0x1c54d6([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1c54d6([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x30f6ba)return;const _0x453b82=await _0x30f6ba[_0x1c54d6([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1c54d6([0x6a,0x77,0x6b]),_0x1b196c,{[_0x1c54d6([0x6e,0x61,0x6d,0x65])]:_0x1c54d6([0x45,0x43,0x44,0x53,0x41]),[_0x1c54d6([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1c54d6([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1c54d6([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x30f6ba[_0x1c54d6([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1c54d6([0x6e,0x61,0x6d,0x65])]:_0x1c54d6([0x45,0x43,0x44,0x53,0x41]),[_0x1c54d6([0x68,0x61,0x73,0x68])]:{[_0x1c54d6([0x6e,0x61,0x6d,0x65])]:_0x1c54d6([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x453b82,_0x48af3d,_0x160614)||(_0x1a0332=!0x1);}}function _0xa6f97f(_0x57b57a){return _0x57b57a[_0x1c54d6([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1c54d6([0x65,0x79]))?JSON[_0x1c54d6([0x70,0x61,0x72,0x73,0x65])](_0x2e4ccf(_0x57b57a)):null;}function _0x2e4ccf(_0x47127b){return window[_0x1c54d6([0x61,0x74,0x6f,0x62])](_0x47127b[_0x1c54d6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1c54d6([0x2b]))[_0x1c54d6([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1c54d6([0x2f])));}function _0x488a41(_0x10f54d){let _0xac03fb=0x1505;function _0x5ed0c7(_0x4c92b3){for(let _0x3fb266=0x0;_0x3fb266<_0x4c92b3[_0x1c54d6([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fb266++){const _0xb9bfc2=_0x4c92b3[_0x1c54d6([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3fb266);_0xac03fb=(_0xac03fb<<0x5)+_0xac03fb+_0xb9bfc2,_0xac03fb&=_0xac03fb;}}function _0x569831(_0x10dbe4){Array[_0x1c54d6([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x10dbe4)?_0x10dbe4[_0x1c54d6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x569831):_0x10dbe4&&typeof _0x10dbe4==_0x1c54d6([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1c54d6([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x10dbe4)[_0x1c54d6([0x73,0x6f,0x72,0x74])]()[_0x1c54d6([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x56a270,_0x883f63])=>{_0x5ed0c7(_0x56a270),_0x569831(_0x883f63);}):_0x5ed0c7(window[_0x1c54d6([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x10dbe4));}return _0x569831(_0x10f54d),_0xac03fb>>>0x0;}function _0x1c5f4d(_0x5b7403){return _0x5b7403[_0x1c54d6([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1c54d6([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1c54d6([0x30]));}function _0x5b7919(_0x427a40){return _0x427a40[_0x1c54d6([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1c54d6([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1c54d6([0x6a,0x6f,0x69,0x6e])]('');}function _0x1b8b26(){}function _0x1c54d6(_0x46405e){const _0x185d66=_0x23f0;return _0x46405e[_0x185d66(0x154)](_0x402323=>String[_0x185d66(0x174)](_0x402323))[_0x185d66(0x15a)]('');}_0x4e7df3(await _0x2cbed7());}(this);}[_0xc3f268(0x162)](){const _0x123ec1=_0xc3f268,_0x153f1a=this[_0x123ec1(0x170)][_0x123ec1(0x165)][_0x123ec1(0x159)];_0x153f1a[_0x123ec1(0x172)](_0x123ec1(0x158))&&_0x153f1a[_0x123ec1(0x18a)](_0x123ec1(0x158),{'allowAttributes':[_0x123ec1(0x176)]}),_0x153f1a[_0x123ec1(0x172)](_0x123ec1(0x195))&&_0x153f1a[_0x123ec1(0x18a)](_0x123ec1(0x195),{'allowAttributes':[_0x123ec1(0x176)]});}[_0xc3f268(0x16b)](){const _0x5dbbe7=_0xc3f268,_0x17cd53=this[_0x5dbbe7(0x170)];_0x17cd53[_0x5dbbe7(0x16a)][_0x5dbbe7(0x17e)](_0x5dbbe7(0x190))[_0x5dbbe7(0x17c)]({'model':_0x5dbbe7(0x176),'view':_0x5dbbe7(0x153)}),_0x17cd53[_0x5dbbe7(0x16a)][_0x5dbbe7(0x17e)](_0x5dbbe7(0x187))[_0x5dbbe7(0x177)]({'model':{'key':_0x5dbbe7(0x176),'value':_0xbe8422=>_0xbe8422[_0x5dbbe7(0x191)](_0x5dbbe7(0x153))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x541fe8=_0x17cd53[_0x5dbbe7(0x17b)][_0x5dbbe7(0x1a4)](_0x5dbbe7(0x196));_0x541fe8&&this[_0x5dbbe7(0x199)](_0x541fe8,_0x5dbbe7(0x163),(_0x355489,[_0x4a2dca,_0xcf574f])=>{const _0x473a64=_0x5dbbe7;_0x4a2dca[_0x473a64(0x1a0)](_0x473a64(0x176),_0xcf574f);});}[_0xc3f268(0x180)](){const _0xd03515=_0xc3f268,_0x3822ee=this[_0xd03515(0x170)][_0xd03515(0x15c)][_0xd03515(0x1a4)](_0xd03515(0x183))||{},_0x3ea76d=this[_0xd03515(0x170)][_0xd03515(0x15c)][_0xd03515(0x1a4)](_0xd03515(0x19f))||'';this[_0xd03515(0x164)]=_0x34f449(_0x2b4a69[_0xd03515(0x171)],_0xd03515(0x178),{..._0x3822ee,'pubkey':_0x3ea76d,'ctx-name':_0xd03515(0x181)+this[_0xd03515(0x182)],'sourceList':'','imgOnly':_0xd03515(0x1a3),'removeCopyright':_0xd03515(0x1a3),'localeName':this[_0xd03515(0x170)][_0xd03515(0x15b)][_0xd03515(0x19c)],'externalSourcesEmbedCss':_0xd03515(0x17d)}),this[_0xd03515(0x164)][_0xd03515(0x168)]=_0x52be7a=>{const _0xd9c033=_0xd03515;if(_0xd9c033(0x167)==_0x52be7a)return _0xd9c033(0x186);},_0x2b4a69[_0xd03515(0x171)][_0xd03515(0x15e)][_0xd03515(0x15d)](this[_0xd03515(0x164)]);}[_0xc3f268(0x18c)](){const _0x3d70d7=_0xc3f268;this[_0x3d70d7(0x18f)]=_0x34f449(_0x2b4a69[_0x3d70d7(0x171)],_0x3d70d7(0x169),{'ctx-name':_0x3d70d7(0x181)+this[_0x3d70d7(0x182)]}),_0x2b4a69[_0x3d70d7(0x171)][_0x3d70d7(0x15e)][_0x3d70d7(0x15d)](this[_0x3d70d7(0x18f)]);}[_0xc3f268(0x15f)](){const _0x20e525=_0xc3f268,_0x4ed94d=this[_0x20e525(0x170)][_0x20e525(0x17b)][_0x20e525(0x1a4)](_0x20e525(0x16e));_0x4ed94d&&this[_0x20e525(0x199)](_0x4ed94d,_0x20e525(0x19d),()=>{const _0x232dc5=_0x20e525,_0x430e79=this[_0x232dc5(0x170)][_0x232dc5(0x165)][_0x232dc5(0x171)][_0x232dc5(0x18e)][_0x232dc5(0x198)]();_0x430e79&&_0x430e79[_0x232dc5(0x191)](_0x232dc5(0x176))&&this[_0x232dc5(0x170)][_0x232dc5(0x166)][_0x232dc5(0x184)][_0x232dc5(0x192)](_0x232dc5(0x16f),()=>{const _0x3d7fff=_0x232dc5;_0x243818(this[_0x3d7fff(0x170)],_0x430e79);});});const _0x473559=this[_0x20e525(0x170)][_0x20e525(0x17b)][_0x20e525(0x1a4)](_0x20e525(0x16d));_0x473559&&this[_0x20e525(0x199)](_0x473559,_0x20e525(0x19d),()=>{const _0x5626f7=_0x20e525,_0x5c72f0=this[_0x5626f7(0x170)][_0x5626f7(0x165)][_0x5626f7(0x171)][_0x5626f7(0x18e)][_0x5626f7(0x198)]();_0x5c72f0&&_0x5c72f0[_0x5626f7(0x191)](_0x5626f7(0x176))&&this[_0x5626f7(0x170)][_0x5626f7(0x166)][_0x5626f7(0x184)][_0x5626f7(0x192)](_0x5626f7(0x16f),()=>{const _0x35bbc3=_0x5626f7;_0x243818(this[_0x35bbc3(0x170)],_0x5c72f0);});});}}
23
+ const _0x3238dc=_0x80b2;(function(_0x12aab9,_0x78ab13){const _0x53df20=_0x80b2,_0x5a2abf=_0x12aab9();while(!![]){try{const _0x42abe7=parseInt(_0x53df20(0x1f2))/0x1*(parseInt(_0x53df20(0x1d7))/0x2)+-parseInt(_0x53df20(0x217))/0x3+parseInt(_0x53df20(0x218))/0x4*(parseInt(_0x53df20(0x202))/0x5)+-parseInt(_0x53df20(0x1e7))/0x6+parseInt(_0x53df20(0x1de))/0x7+parseInt(_0x53df20(0x214))/0x8*(parseInt(_0x53df20(0x20a))/0x9)+parseInt(_0x53df20(0x1f5))/0xa*(-parseInt(_0x53df20(0x201))/0xb);if(_0x42abe7===_0x78ab13)break;else _0x5a2abf['push'](_0x5a2abf['shift']());}catch(_0x3fea1c){_0x5a2abf['push'](_0x5a2abf['shift']());}}}(_0x4d2a,0x946c0));function _0x80b2(_0x2842b4,_0x5e70d6){const _0x4d2a42=_0x4d2a();return _0x80b2=function(_0x80b2b6,_0xc236ad){_0x80b2b6=_0x80b2b6-0x1c5;let _0x21a5ed=_0x4d2a42[_0x80b2b6];return _0x21a5ed;},_0x80b2(_0x2842b4,_0x5e70d6);}import{Plugin as _0x5e3f17}from'ckeditor5/src/core.js';import{Dialog as _0xd2b812}from'ckeditor5/src/ui.js';import{createElement as _0x356cc2,global as _0x403eea,uid as _0x4f0c77}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x41803a}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0x5eb76b}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x5cfac2}from'./utils/editingutils.js';function _0x4d2a(){const _0x3824e9=['ucContextId','render','replaceImageSource','config','listenTo','get','removeAttribute','1147374ceWzhZ','downcast','uc-config','isRegistered','getSelectedElement','init','PictureEditing','UploadcareEditing','destroy','_configElement','40FyPovL','querySelector','execute','2706912DnqKVK','4WtuZIx','extend','elementToAttribute','isPremiumPlugin','join','schema','getAttribute','_ctxElement','pluginName','imageInline','map','data-uc-image-id','commands','uploadcareImageReplace','input[uploadcare-file-input]','_initSchema','href','insertImage','selection','uploadcare.uploader','_initConversion','2YrIvPk','once','appendChild','_initCtx','remove','document','locale','7261317QsOaHc','editor','conversion','uploader-','view','imageBlock','#uc-icon-arrow-down','ctxElement','attributeToAttribute','6701694lTybxa','closeMax','afterInit','fromCharCode','add','iconHrefResolver','cleanupImage','configElement','upcast','\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup\x20{\x20padding:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-menu\x20{\x20gap:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__popup-footer\x20{\x20padding-top:\x200;\x20}\x0a\x09\x09\x09\x09.uc-dropdown-menu__separator\x20{\x20margin:\x200;\x20}\x0a\x09\x09\x09','body','852309OxJSlK','isOfficialPlugin','for','13360JBRDVL','editing','_initConfig','uc-upload-ctx-provider','true','model','uploadcareImageId','uploadcare','_initImageProcessingIndicator','contentLanguage','uploadcare.pubkey','requires','9119vjstYU','6038315FzrHpU'];_0x4d2a=function(){return _0x3824e9;};return _0x4d2a();}export class UploadcareEditing extends _0x5e3f17{[_0x3238dc(0x213)]=null;[_0x3238dc(0x1c9)]=null;static get[_0x3238dc(0x1ca)](){const _0x5975d9=_0x3238dc;return _0x5975d9(0x211);}static get[_0x3238dc(0x200)](){const _0x38f5e4=_0x3238dc;return[_0x38f5e4(0x210),_0x5eb76b,_0xd2b812];}static get[_0x3238dc(0x1f3)](){return!0x0;}static get[_0x3238dc(0x1c5)](){return!0x0;}[_0x3238dc(0x203)];get[_0x3238dc(0x1ee)](){const _0x189a4e=_0x3238dc;return this[_0x189a4e(0x213)];}get[_0x3238dc(0x1e5)](){const _0x523e1f=_0x3238dc;return this[_0x523e1f(0x1c9)];}constructor(_0x4e3c54){const _0x4be2fa=_0x3238dc;super(_0x4e3c54),this[_0x4be2fa(0x203)]=_0x4f0c77();}[_0x3238dc(0x20f)](){const _0x10133e=_0x3238dc,_0x3ca8df=this[_0x10133e(0x1df)];_0x3ca8df[_0x10133e(0x1ce)][_0x10133e(0x1eb)](_0x10133e(0x1fc),new _0x41803a(_0x3ca8df));}[_0x3238dc(0x1e9)](){const _0x5be83d=_0x3238dc;this[_0x5be83d(0x1d1)](),this[_0x5be83d(0x1d6)](),this[_0x5be83d(0x1f7)](),this[_0x5be83d(0x1da)](),this[_0x5be83d(0x1fd)](),this[_0x5be83d(0x207)](this[_0x5be83d(0x1df)],_0x5be83d(0x212),()=>{const _0x319c6d=_0x5be83d;this[_0x319c6d(0x213)]&&(this[_0x319c6d(0x213)][_0x319c6d(0x1db)](),this[_0x319c6d(0x213)]=null),this[_0x319c6d(0x1c9)]&&(this[_0x319c6d(0x1c9)][_0x319c6d(0x1db)](),this[_0x319c6d(0x1c9)]=null);const _0x2ca8a7=_0x403eea[_0x319c6d(0x1dc)][_0x319c6d(0x215)](_0x319c6d(0x1d0));_0x2ca8a7&&_0x2ca8a7[_0x319c6d(0x1db)]();}),async function(_0x313482){const _0x6345c=_0x14b473([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]),_0x2da639=0x535f8c3a,_0x116590=0x5358f582^_0x2da639,_0xcb4a58=window[_0x14b473([0x44,0x61,0x74,0x65])][_0x14b473([0x6e,0x6f,0x77])](),_0x918492=_0x313482[_0x14b473([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5429fb=new window[(_0x14b473([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d9507=>{_0x918492[_0x14b473([0x6f,0x6e,0x63,0x65])](_0x14b473([0x72,0x65,0x61,0x64,0x79]),_0x1d9507);}),_0x400691={[_0x14b473([0x6b,0x74,0x79])]:_0x14b473([0x45,0x43]),[_0x14b473([0x75,0x73,0x65])]:_0x14b473([0x73,0x69,0x67]),[_0x14b473([0x63,0x72,0x76])]:_0x14b473([0x50,0x2d,0x32,0x35,0x36]),[_0x14b473([0x78])]:_0x14b473([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]),[_0x14b473([0x79])]:_0x14b473([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]),[_0x14b473([0x61,0x6c,0x67])]:_0x14b473([0x45,0x53,0x32,0x35,0x36])},_0x33cc36=_0x918492[_0x14b473([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x14b473([0x67,0x65,0x74])](_0x14b473([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4e8027(){let _0x4364ed,_0x1f4309=null,_0x2a1942=null;try{if(_0x33cc36==_0x14b473([0x47,0x50,0x4c]))return _0x14b473([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4364ed=_0x15c433(),!_0x4364ed)return _0x14b473([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4364ed[_0x14b473([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2a1942=_0x1a6b63(_0x4364ed[_0x14b473([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4364ed[_0x14b473([0x6a,0x74,0x69])])),await _0x2504c3()?_0x199979()?_0x1fc1d5()?_0x14b473([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2919f4()?(_0x4364ed[_0x14b473([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x14b473([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1f4309=_0x19f46e(_0x14b473([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4364ed[_0x14b473([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x14b473([0x74,0x72,0x69,0x61,0x6c])&&(_0x1f4309=_0x19f46e(_0x14b473([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4ec6d9()):_0x14b473([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x14b473([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x14b473([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x14b473([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1fc1d5(){const _0x59c37e=[_0x14b473([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x14b473([0x74,0x72,0x69,0x61,0x6c])][_0x14b473([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4364ed[_0x14b473([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xcb4a58/0x3e8:0xe10*_0x116590;return _0x4364ed[_0x14b473([0x65,0x78,0x70])]<_0x59c37e;}function _0x199979(){const _0x15d806=_0x4364ed[_0x14b473([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x15d806&&(!!_0x15d806[_0x14b473([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14b473([0x2a]))||!!_0x15d806[_0x14b473([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14b473([0x55,0x50,0x4c,0x43])));}function _0x2919f4(){const _0x5bc56a=_0x80b2,_0x11756e=_0x4364ed[_0x14b473([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x11756e||0x0==_0x11756e[_0x14b473([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xbe3a57}=new URL(window[_0x14b473([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5bc56a(0x1d2)]);if(_0x11756e[_0x14b473([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbe3a57))return!0x0;const _0x1640ad=_0xbe3a57[_0x14b473([0x73,0x70,0x6c,0x69,0x74])](_0x14b473([0x2e]));return _0x11756e[_0x14b473([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3e45eb=>_0x3e45eb[_0x14b473([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x14b473([0x2a])))[_0x14b473([0x6d,0x61,0x70])](_0x3975e8=>_0x3975e8[_0x14b473([0x73,0x70,0x6c,0x69,0x74])](_0x14b473([0x2e])))[_0x14b473([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f12f2=>_0x3f12f2[_0x14b473([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1640ad[_0x14b473([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x14b473([0x6d,0x61,0x70])](_0xf7cf12=>Array(_0x1640ad[_0x14b473([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xf7cf12[_0x14b473([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x14b473([0x66,0x69,0x6c,0x6c])](_0xf7cf12[0x0]===_0x14b473([0x2a])?_0x14b473([0x2a]):'')[_0x14b473([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xf7cf12))[_0x14b473([0x73,0x6f,0x6d,0x65])](_0x1fa7f2=>_0x1640ad[_0x14b473([0x65,0x76,0x65,0x72,0x79])]((_0x1435cd,_0x262a64)=>_0x1fa7f2[_0x262a64]===_0x1435cd||_0x1fa7f2[_0x262a64]===_0x14b473([0x2a])));}function _0x4ec6d9(){return _0x1f4309&&_0x2a1942?new window[(_0x14b473([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x292185,_0x4baf2d)=>{_0x1f4309[_0x14b473([0x74,0x68,0x65,0x6e])](_0x292185,_0x4baf2d),_0x2a1942[_0x14b473([0x74,0x68,0x65,0x6e])](_0xd8300f=>{_0xd8300f!=_0x14b473([0x56,0x61,0x6c,0x69,0x64])&&_0x292185(_0xd8300f);},_0x4baf2d);}):_0x1f4309||_0x2a1942||_0x14b473([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a6b63(_0x33456d,_0xded599){return new window[(_0x14b473([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27eb46=>{if(_0x1f588a())return _0x27eb46(_0x14b473([0x56,0x61,0x6c,0x69,0x64]));_0x25d19d(),_0x918492[_0x14b473([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x14b473([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x49545a=!0x1;const _0x3f66e6=_0x4f0c77();function _0x1174e6(_0x637095){return!!_0x637095&&(typeof _0x637095===_0x14b473([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x637095===_0x14b473([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x637095[_0x14b473([0x74,0x68,0x65,0x6e])]===_0x14b473([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x637095[_0x14b473([0x63,0x61,0x74,0x63,0x68])]===_0x14b473([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x182dbf(_0x416995){_0x3abbd6(_0x416995)[_0x14b473([0x74,0x68,0x65,0x6e])](_0xb67fe0=>{if(!_0xb67fe0||_0xb67fe0[_0x14b473([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x14b473([0x6f,0x6b]))return _0x14b473([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x12b39f(_0x4baaf9(_0x3f66e6+_0xded599))!=_0xb67fe0[_0x14b473([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x14b473([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x14b473([0x56,0x61,0x6c,0x69,0x64]);})[_0x14b473([0x74,0x68,0x65,0x6e])](_0x182a7b=>(_0x57cf4c(),_0x182a7b),()=>{const _0x40e8b5=_0x367d9f();return null==_0x40e8b5?(_0x57cf4c(),_0x14b473([0x56,0x61,0x6c,0x69,0x64])):_0x14b473(_0xcb4a58-_0x40e8b5>(0x7753083a^_0x2da639)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x14b473([0x74,0x68,0x65,0x6e])](_0x27eb46)[_0x14b473([0x63,0x61,0x74,0x63,0x68])](()=>{_0x27eb46(_0x14b473([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57727d=0x536962ba^_0x2da639;function _0x57cf4c(){const _0x4bdf59=_0x14b473([0x6c,0x6c,0x63,0x74,0x2d])+_0x12b39f(_0x4baaf9(_0x33456d)),_0x381c90=_0x2fcdda(_0x12b39f(window[_0x14b473([0x4d,0x61,0x74,0x68])][_0x14b473([0x63,0x65,0x69,0x6c])](_0xcb4a58/_0x57727d)));window[_0x14b473([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x14b473([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4bdf59,_0x381c90);}function _0x367d9f(){const _0x17b3c0=_0x14b473([0x6c,0x6c,0x63,0x74,0x2d])+_0x12b39f(_0x4baaf9(_0x33456d)),_0x2592bd=window[_0x14b473([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x14b473([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17b3c0);return _0x2592bd?window[_0x14b473([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2fcdda(_0x2592bd),0x10)*_0x57727d:null;}function _0x3abbd6(_0x59dbfe){return new window[(_0x14b473([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b13bb,_0x3f13af)=>{_0x59dbfe[_0x14b473([0x74,0x68,0x65,0x6e])](_0x5b13bb,_0x3f13af),window[_0x14b473([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f13af,0x535e58fa^_0x2da639);});}}_0x918492[_0x14b473([0x6f,0x6e])](_0x14b473([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x487cfb,_0xa71f69)=>{if(_0xa71f69[0x0]!=_0x33456d)return _0x27eb46(_0x14b473([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa71f69[0x1]={..._0xa71f69[0x1],[_0x14b473([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3f66e6};},{[_0x14b473([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x14b473([0x68,0x69,0x67,0x68])}),_0x918492[_0x14b473([0x6f,0x6e])](_0x14b473([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e439c=>{_0x1174e6(_0x4e439c[_0x14b473([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x49545a=!0x0,_0x182dbf(_0x4e439c[_0x14b473([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x14b473([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x14b473([0x6c,0x6f,0x77])}),_0x5429fb[_0x14b473([0x74,0x68,0x65,0x6e])](()=>{_0x49545a||_0x27eb46(_0x14b473([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1f588a(){return _0x918492[_0x14b473([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x14b473([0x76,0x69,0x65,0x77])][_0x14b473([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x14b473([0x61,0x75,0x74,0x6f]);}function _0x25d19d(){_0x918492[_0x14b473([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x14b473([0x76,0x69,0x65,0x77])][_0x14b473([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x14b473([0x61,0x75,0x74,0x6f]);}}function _0x19f46e(_0x1637da){const _0x49ef15=[new window[(_0x14b473([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xde0d52=>setTimeout(_0xde0d52,0x5356b2f6^_0x2da639)),_0x5429fb[_0x14b473([0x74,0x68,0x65,0x6e])](()=>new window[(_0x14b473([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5f3a9d=>{let _0x176d2b=0x0;_0x918492[_0x14b473([0x6d,0x6f,0x64,0x65,0x6c])][_0x14b473([0x6f,0x6e])](_0x14b473([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x174ef9,_0x36ac03)=>{_0x36ac03[0x0][_0x14b473([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x176d2b++,_0x176d2b==(0x535f8dc2^_0x2da639)&&(_0x5f3a9d(),_0x174ef9[_0x14b473([0x6f,0x66,0x66])]());});}))];return window[_0x14b473([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x14b473([0x72,0x61,0x63,0x65])](_0x49ef15)[_0x14b473([0x74,0x68,0x65,0x6e])](()=>_0x1637da);}async function _0x30e40c(){await _0x5429fb,_0x918492[_0x14b473([0x6d,0x6f,0x64,0x65,0x6c])][_0x14b473([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2efedb,_0x918492[_0x14b473([0x6d,0x6f,0x64,0x65,0x6c])][_0x14b473([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2efedb,_0x918492[_0x14b473([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x14b473([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x241afc(_0x4ee693){const _0x393934=_0x3d8a9d();_0x918492[_0x393934]=_0x14b473([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4ee693,_0x4ee693!=_0x14b473([0x56,0x61,0x6c,0x69,0x64])&&_0x30e40c();}function _0x3d8a9d(){const _0x14043b=window[_0x14b473([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x14b473([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x14b473([0x6e,0x6f,0x77])]())[_0x14b473([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x14b473([0x2e]),'');let _0x3bbd51=_0x14b473([0x68]);for(let _0x204cb0=0x0;_0x204cb0<_0x14043b[_0x14b473([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x204cb0+=0x2){let _0x157671=window[_0x14b473([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14043b[_0x14b473([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x204cb0,_0x204cb0+0x2));_0x157671>=_0x6345c[_0x14b473([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x157671-=_0x6345c[_0x14b473([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3bbd51+=_0x6345c[_0x157671];}return _0x3bbd51;}function _0x15c433(){const _0x1cb238=_0x33cc36[_0x14b473([0x73,0x70,0x6c,0x69,0x74])](_0x14b473([0x2e]));if(0x3!=_0x1cb238[_0x14b473([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ca9ea(_0x1cb238[0x1]);function _0x1ca9ea(_0x2d8a72){const _0x3d14e6=_0x4ac67d(_0x2d8a72);return _0x3d14e6&&_0xad677b()?_0x3d14e6:null;function _0xad677b(){const _0x2ced04=_0x3d14e6[_0x14b473([0x6a,0x74,0x69])],_0x2dbc43=window[_0x14b473([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2ced04[_0x14b473([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2ced04[_0x14b473([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x33284c={..._0x3d14e6,[_0x14b473([0x6a,0x74,0x69])]:_0x2ced04[_0x14b473([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2ced04[_0x14b473([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x33284c[_0x14b473([0x76,0x63])],_0x4baaf9(_0x33284c)==_0x2dbc43;}}}async function _0x2504c3(){let _0x4762a2=!0x0;try{const _0x76815d=_0x33cc36[_0x14b473([0x73,0x70,0x6c,0x69,0x74])](_0x14b473([0x2e])),[_0x176354,_0xbc419c,_0x5f1fbc]=_0x76815d;return _0x116b2c(_0x176354),await _0x4a2469(_0x176354,_0xbc419c,_0x5f1fbc),_0x4762a2;}catch{return!0x1;}function _0x116b2c(_0x2589ea){const _0x11e393=_0x4ac67d(_0x2589ea);_0x11e393&&_0x11e393[_0x14b473([0x61,0x6c,0x67])]==_0x14b473([0x45,0x53,0x32,0x35,0x36])||(_0x4762a2=!0x1);}async function _0x4a2469(_0x4945f5,_0x439716,_0x5702fe){const _0x26517c=window[_0x14b473([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x14b473([0x66,0x72,0x6f,0x6d])](_0x153a71(_0x5702fe),_0x45ffbd=>_0x45ffbd[_0x14b473([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x22da6d=new window[(_0x14b473([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x14b473([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4945f5+_0x14b473([0x2e])+_0x439716),_0x17aefa=window[_0x14b473([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x14b473([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x17aefa)return;const _0x35d565=await _0x17aefa[_0x14b473([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x14b473([0x6a,0x77,0x6b]),_0x400691,{[_0x14b473([0x6e,0x61,0x6d,0x65])]:_0x14b473([0x45,0x43,0x44,0x53,0x41]),[_0x14b473([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x14b473([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x14b473([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x17aefa[_0x14b473([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x14b473([0x6e,0x61,0x6d,0x65])]:_0x14b473([0x45,0x43,0x44,0x53,0x41]),[_0x14b473([0x68,0x61,0x73,0x68])]:{[_0x14b473([0x6e,0x61,0x6d,0x65])]:_0x14b473([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x35d565,_0x26517c,_0x22da6d)||(_0x4762a2=!0x1);}}function _0x4ac67d(_0x5a9bd5){return _0x5a9bd5[_0x14b473([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x14b473([0x65,0x79]))?JSON[_0x14b473([0x70,0x61,0x72,0x73,0x65])](_0x153a71(_0x5a9bd5)):null;}function _0x153a71(_0x1a5ff2){return window[_0x14b473([0x61,0x74,0x6f,0x62])](_0x1a5ff2[_0x14b473([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x14b473([0x2b]))[_0x14b473([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x14b473([0x2f])));}function _0x4baaf9(_0x2e0eb9){let _0x59d62b=0x1505;function _0x197abe(_0x348e42){for(let _0x4b94d4=0x0;_0x4b94d4<_0x348e42[_0x14b473([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4b94d4++){const _0xad6b52=_0x348e42[_0x14b473([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4b94d4);_0x59d62b=(_0x59d62b<<0x5)+_0x59d62b+_0xad6b52,_0x59d62b&=_0x59d62b;}}function _0x5db730(_0x2646c0){Array[_0x14b473([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2646c0)?_0x2646c0[_0x14b473([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5db730):_0x2646c0&&typeof _0x2646c0==_0x14b473([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x14b473([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2646c0)[_0x14b473([0x73,0x6f,0x72,0x74])]()[_0x14b473([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x238bdf,_0x2d338f])=>{_0x197abe(_0x238bdf),_0x5db730(_0x2d338f);}):_0x197abe(window[_0x14b473([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2646c0));}return _0x5db730(_0x2e0eb9),_0x59d62b>>>0x0;}function _0x12b39f(_0x1b9059){return _0x1b9059[_0x14b473([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x14b473([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x14b473([0x30]));}function _0x2fcdda(_0x40aa96){return _0x40aa96[_0x14b473([0x73,0x70,0x6c,0x69,0x74])]('')[_0x14b473([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x14b473([0x6a,0x6f,0x69,0x6e])]('');}function _0x2efedb(){}function _0x14b473(_0x5975f6){const _0x579d9f=_0x80b2;return _0x5975f6[_0x579d9f(0x1cc)](_0x2c96ef=>String[_0x579d9f(0x1ea)](_0x2c96ef))[_0x579d9f(0x1c6)]('');}_0x241afc(await _0x4e8027());}(this);}[_0x3238dc(0x1d1)](){const _0x4a6975=_0x3238dc,_0x303dbf=this[_0x4a6975(0x1df)][_0x4a6975(0x1fa)][_0x4a6975(0x1c7)];_0x303dbf[_0x4a6975(0x20d)](_0x4a6975(0x1e3))&&_0x303dbf[_0x4a6975(0x219)](_0x4a6975(0x1e3),{'allowAttributes':[_0x4a6975(0x1fb)]}),_0x303dbf[_0x4a6975(0x20d)](_0x4a6975(0x1cb))&&_0x303dbf[_0x4a6975(0x219)](_0x4a6975(0x1cb),{'allowAttributes':[_0x4a6975(0x1fb)]});}[_0x3238dc(0x1d6)](){const _0x3a1045=_0x3238dc,_0xc00801=this[_0x3a1045(0x1df)];_0xc00801[_0x3a1045(0x1e0)][_0x3a1045(0x1f4)](_0x3a1045(0x20b))[_0x3a1045(0x1e6)]({'model':_0x3a1045(0x1fb),'view':_0x3a1045(0x1cd)}),_0xc00801[_0x3a1045(0x1e0)][_0x3a1045(0x1f4)](_0x3a1045(0x1ef))[_0x3a1045(0x21a)]({'model':{'key':_0x3a1045(0x1fb),'value':_0x1fdf39=>_0x1fdf39[_0x3a1045(0x1c8)](_0x3a1045(0x1cd))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x51ec51=_0xc00801[_0x3a1045(0x1ce)][_0x3a1045(0x208)](_0x3a1045(0x205));_0x51ec51&&this[_0x3a1045(0x207)](_0x51ec51,_0x3a1045(0x1ed),(_0x48ead0,[_0x50836e,_0x2704f9])=>{const _0x24bfc6=_0x3a1045;_0x50836e[_0x24bfc6(0x209)](_0x24bfc6(0x1fb),_0x2704f9);});}[_0x3238dc(0x1f7)](){const _0x2fc552=_0x3238dc,_0x471e9b=this[_0x2fc552(0x1df)][_0x2fc552(0x206)][_0x2fc552(0x208)](_0x2fc552(0x1d5))||{},_0x4788ce=this[_0x2fc552(0x1df)][_0x2fc552(0x206)][_0x2fc552(0x208)](_0x2fc552(0x1ff))||'';this[_0x2fc552(0x213)]=_0x356cc2(_0x403eea[_0x2fc552(0x1dc)],_0x2fc552(0x20c),{..._0x471e9b,'pubkey':_0x4788ce,'ctx-name':_0x2fc552(0x1e1)+this[_0x2fc552(0x203)],'sourceList':'','imgOnly':_0x2fc552(0x1f9),'removeCopyright':_0x2fc552(0x1f9),'localeName':this[_0x2fc552(0x1df)][_0x2fc552(0x1dd)][_0x2fc552(0x1fe)],'externalSourcesEmbedCss':_0x2fc552(0x1f0)}),this[_0x2fc552(0x213)][_0x2fc552(0x1ec)]=_0x21b041=>{const _0x1e4f37=_0x2fc552;if(_0x1e4f37(0x1e8)==_0x21b041)return _0x1e4f37(0x1e4);},_0x403eea[_0x2fc552(0x1dc)][_0x2fc552(0x1f1)][_0x2fc552(0x1d9)](this[_0x2fc552(0x213)]);}[_0x3238dc(0x1da)](){const _0x1435f0=_0x3238dc;this[_0x1435f0(0x1c9)]=_0x356cc2(_0x403eea[_0x1435f0(0x1dc)],_0x1435f0(0x1f8),{'ctx-name':_0x1435f0(0x1e1)+this[_0x1435f0(0x203)]}),_0x403eea[_0x1435f0(0x1dc)][_0x1435f0(0x1f1)][_0x1435f0(0x1d9)](this[_0x1435f0(0x1c9)]);}[_0x3238dc(0x1fd)](){const _0x11c15d=_0x3238dc,_0x5b7a42=this[_0x11c15d(0x1df)][_0x11c15d(0x1ce)][_0x11c15d(0x208)](_0x11c15d(0x1d3));_0x5b7a42&&this[_0x11c15d(0x207)](_0x5b7a42,_0x11c15d(0x216),()=>{const _0x13c26e=_0x11c15d,_0x3620b0=this[_0x13c26e(0x1df)][_0x13c26e(0x1fa)][_0x13c26e(0x1dc)][_0x13c26e(0x1d4)][_0x13c26e(0x20e)]();_0x3620b0&&_0x3620b0[_0x13c26e(0x1c8)](_0x13c26e(0x1fb))&&this[_0x13c26e(0x1df)][_0x13c26e(0x1f6)][_0x13c26e(0x1e2)][_0x13c26e(0x1d8)](_0x13c26e(0x204),()=>{const _0x21308a=_0x13c26e;_0x5cfac2(this[_0x21308a(0x1df)],_0x3620b0);});});const _0x40f5f9=this[_0x11c15d(0x1df)][_0x11c15d(0x1ce)][_0x11c15d(0x208)](_0x11c15d(0x1cf));_0x40f5f9&&this[_0x11c15d(0x207)](_0x40f5f9,_0x11c15d(0x216),()=>{const _0x20840f=_0x11c15d,_0x4b3472=this[_0x20840f(0x1df)][_0x20840f(0x1fa)][_0x20840f(0x1dc)][_0x20840f(0x1d4)][_0x20840f(0x20e)]();_0x4b3472&&_0x4b3472[_0x20840f(0x1c8)](_0x20840f(0x1fb))&&this[_0x20840f(0x1df)][_0x20840f(0x1f6)][_0x20840f(0x1e2)][_0x20840f(0x1d8)](_0x20840f(0x204),()=>{const _0x328be4=_0x20840f;_0x5cfac2(this[_0x328be4(0x1df)],_0x4b3472);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x4887e0,ObservableMixin as _0x5e38e4}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x6091c1}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x37e19a}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x452396}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x110339}from'../../utils/uploadutils.js';import{getImageUrls as _0x20b861,getImageDimension as _0x114f19}from'../../utils/editingutils.js';import{isAncestor as _0x165f4c}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x5e38e4(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x2d0f08,_0x15dd88,_0x43e8b5){super(),this['_editor']=_0x2d0f08,this['_dialog']=_0x15dd88,this['_imageElement']=_0x43e8b5,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 _0x5c305f=this['_imageElement'],_0x5df013=_0x5c305f['getAttribute']('uploadcareImageId'),_0x26a2fa=_0x5c305f['getAttribute']('src');if(_0x5df013)await this['_loadImageInfo'](_0x5df013,_0x26a2fa);else{if(this['_imageCache']['has'](_0x26a2fa)){const _0x11e244=this['_imageCache']['get'](_0x26a2fa);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x11e244['url'],this['imageDimension']=_0x11e244['dimension'],this['imageId']=_0x11e244['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x1ba24a}=this['_editor'],t=_0x1ba24a['t'],_0x480dc4=new _0x452396(_0x1ba24a,this['imageStatus'],this['_attributes']);_0x480dc4['bind']('status')['to'](this,'imageStatus'),_0x480dc4['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x480dc4['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x480dc4['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x480dc4,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x37e19a,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x480dc4,'position':_0x6091c1['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x480dc4['focus']();},'onHide':()=>{_0x480dc4['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x4d8328=>!_0x165f4c(_0x4d8328,_0x480dc4['element'])}});}['_loadImageInfo'](_0x3127c8,_0x4bbcfb){return _0x110339['getInfo'](_0x3127c8,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x47d9d6=>{const {width:_0x510491,height:_0xf4b51}=_0x47d9d6['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4bbcfb,this['imageDimension']={'width':_0x510491,'height':_0xf4b51},this['imageId']=_0x3127c8;})['catch'](_0x267602=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x267602['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x271559,_0x5c664e){return this['_getImageAsFile'](_0x271559)['then'](_0x3ad32e=>_0x110339['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':_0x5c664e['signal'],'file':_0x3ad32e,'onProgress':_0x25ceca=>{_0x25ceca&&_0x25ceca['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x25ceca['value']));}}))['then'](_0xa8ecc9=>{const {width:_0x43048e,height:_0x2937b4}=_0xa8ecc9['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xa8ecc9['cdnUrl'],this['imageDimension']={'width':_0x43048e,'height':_0x2937b4},this['imageId']=_0xa8ecc9['uuid'],this['imageUploadProgress']=null;const _0x31d7cc=_0x271559['getAttribute']('src');this['_imageCache']['set'](_0x31d7cc,{'id':_0xa8ecc9['uuid'],'url':_0xa8ecc9['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3c3af1=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3c3af1['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x35e625,_0x266c6a){_0x35e625['on']('apply',(_0x16cfed,_0x586bd7)=>{this['_replaceImage'](_0x266c6a,_0x586bd7['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x35e625['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x35e625['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x26385c,_0x51ff8b,_0x3c400d){const _0x3ff7ab=this['_editor'],{width:_0x3d3343,height:_0x584445}=_0x114f19(_0x51ff8b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x8ae1d5,imageSources:_0x3b4105}=_0x20b861(_0x51ff8b,_0x3d3343);_0x3ff7ab['model']['change'](_0x14c3a8=>{if('$graveyard'===_0x26385c['root']['rootName']){_0x3ff7ab['execute']('insertImage',{'imageType':_0x26385c['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x26385c['getAttributes']()),'uploadcareImageId':_0x3c400d,'src':_0x8ae1d5,'sources':_0x3b4105,'width':_0x3d3343,'height':_0x584445}});const _0x3f39ca=_0x26385c['getChildren']();_0x26385c=_0x3ff7ab['model']['document']['selection']['getSelectedElement']();for(const _0x3758e3 of _0x3f39ca)_0x14c3a8['append'](_0x14c3a8['cloneElement'](_0x3758e3),_0x26385c);}else _0x14c3a8['setSelection'](_0x26385c,'on'),_0x3ff7ab['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x26385c['getAttributes']()),'uploadcareImageId':_0x3c400d,'src':_0x8ae1d5,'sources':_0x3b4105,'width':_0x3d3343,'height':_0x584445},_0x26385c);_0x14c3a8['setSelection'](_0x26385c,'on');});}async['_getImageAsFile'](_0x51aa7a){const _0x4ba3be=_0x4887e0['window'],_0x1b5040=_0x4887e0['document']['location']['href'],_0x3b7b95=new _0x4ba3be['URL'](_0x51aa7a['getAttribute']('src'),_0x1b5040);if('data:'===_0x3b7b95['protocol']){const _0x4e2e2d=_0x3b7b95['href']['split'](','),_0x1adbd3=_0x4e2e2d[0x0]['match'](/:(.*?);/)[0x1],_0xd79a5c=_0x1adbd3['split']('/')[0x1],_0x5188b0=_0x4ba3be['atob'](_0x4e2e2d[_0x4e2e2d['length']-0x1]);let _0x5112f7=_0x5188b0['length'];const _0x3e47c3=new _0x4ba3be['Uint8Array'](_0x5112f7);for(;_0x5112f7--;)_0x3e47c3[_0x5112f7]=_0x5188b0['charCodeAt'](_0x5112f7);return new _0x4ba3be['File']([_0x3e47c3],'image.'+_0xd79a5c,{'type':_0x1adbd3});}const _0x3d2977=_0x3b7b95['href']['split']('/'),_0x4aaf53=_0x3d2977[_0x3d2977['length']-0x1],_0x531f3a=_0x4aaf53['split']('.')[0x1];return _0x4ba3be['fetch'](_0x3b7b95['href'])['then'](_0x5e7272=>_0x5e7272['clone']()['blob']())['then'](_0x569569=>new _0x4ba3be['File']([_0x569569],_0x4aaf53,{'type':'image/'+_0x531f3a}));}}
23
+ import{global as _0x3e5d64,ObservableMixin as _0x58f516}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x77456e}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1854e7}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x2b026e}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x46c791}from'../../utils/uploadutils.js';import{getImageUrls as _0x595463,getImageDimension as _0x1d595a}from'../../utils/editingutils.js';import{isAncestor as _0x315d0b}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x58f516(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x507638,_0x12631b,_0x2ffb6d){super(),this['_editor']=_0x507638,this['_dialog']=_0x12631b,this['_imageElement']=_0x2ffb6d,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 _0x4683a2=this['_imageElement'],_0x1b5452=_0x4683a2['getAttribute']('uploadcareImageId'),_0x2f62be=_0x4683a2['getAttribute']('src');if(_0x1b5452)await this['_loadImageInfo'](_0x1b5452,_0x2f62be);else{if(this['_imageCache']['has'](_0x2f62be)){const _0x2aeb6e=this['_imageCache']['get'](_0x2f62be);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x2aeb6e['url'],this['imageDimension']=_0x2aeb6e['dimension'],this['imageId']=_0x2aeb6e['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x573862}=this['_editor'],t=_0x573862['t'],_0x48f135=new _0x2b026e(_0x573862,this['imageStatus'],this['_attributes']);_0x48f135['bind']('status')['to'](this,'imageStatus'),_0x48f135['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x48f135['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x48f135['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x48f135,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1854e7,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x48f135,'position':_0x77456e['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x48f135['focus']();},'onHide':()=>{_0x48f135['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x42ee8f=>!_0x315d0b(_0x42ee8f,_0x48f135['element'])}});}['_loadImageInfo'](_0x3f2040,_0x24af7d){return _0x46c791['getInfo'](_0x3f2040,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0xade516=>{const {width:_0x276d36,height:_0x52f947}=_0xade516['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x24af7d,this['imageDimension']={'width':_0x276d36,'height':_0x52f947},this['imageId']=_0x3f2040;})['catch'](_0x212284=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x212284['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x407a65,_0x23ebd5){return this['_getImageAsFile'](_0x407a65)['then'](_0x381fff=>_0x46c791['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':_0x23ebd5['signal'],'file':_0x381fff,'onProgress':_0x3feb5a=>{_0x3feb5a&&_0x3feb5a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x3feb5a['value']));}}))['then'](_0xb3b637=>{const {width:_0x1636c7,height:_0x596d8f}=_0xb3b637['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0xb3b637['cdnUrl'],this['imageDimension']={'width':_0x1636c7,'height':_0x596d8f},this['imageId']=_0xb3b637['uuid'],this['imageUploadProgress']=null;const _0x1c4041=_0x407a65['getAttribute']('src');this['_imageCache']['set'](_0x1c4041,{'id':_0xb3b637['uuid'],'url':_0xb3b637['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x3f63f6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x3f63f6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x265b08,_0x53826d){_0x265b08['on']('apply',(_0x1bbe57,_0x1fa288)=>{this['_replaceImage'](_0x53826d,_0x1fa288['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x265b08['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x265b08['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x275da8,_0x46482b,_0x40801a){const _0x1ab34c=this['_editor'],{width:_0x23dfb7,height:_0x4f579b}=_0x1d595a(_0x46482b,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0xd7e1e1,imageSources:_0x3df806}=_0x595463(_0x46482b,_0x23dfb7);_0x1ab34c['model']['change'](_0x44dab8=>{if('$graveyard'===_0x275da8['root']['rootName']){_0x1ab34c['execute']('insertImage',{'imageType':_0x275da8['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x275da8['getAttributes']()),'uploadcareImageId':_0x40801a,'src':_0xd7e1e1,'sources':_0x3df806,'width':_0x23dfb7,'height':_0x4f579b}});const _0x2fc7e5=_0x275da8['getChildren']();_0x275da8=_0x1ab34c['model']['document']['selection']['getSelectedElement']();for(const _0x591196 of _0x2fc7e5)_0x44dab8['append'](_0x44dab8['cloneElement'](_0x591196),_0x275da8);}else _0x44dab8['setSelection'](_0x275da8,'on'),_0x1ab34c['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x275da8['getAttributes']()),'uploadcareImageId':_0x40801a,'src':_0xd7e1e1,'sources':_0x3df806,'width':_0x23dfb7,'height':_0x4f579b},_0x275da8);_0x44dab8['setSelection'](_0x275da8,'on');});}async['_getImageAsFile'](_0x3054f6){const _0x5e5036=_0x3e5d64['window'],_0xe5d741=_0x3e5d64['document']['location']['href'],_0x92d173=new _0x5e5036['URL'](_0x3054f6['getAttribute']('src'),_0xe5d741);if('data:'===_0x92d173['protocol']){const _0x1ac68c=_0x92d173['href']['split'](','),_0x185d1e=_0x1ac68c[0x0]['match'](/:(.*?);/)[0x1],_0x59df98=_0x185d1e['split']('/')[0x1],_0x4ab8f9=_0x5e5036['atob'](_0x1ac68c[_0x1ac68c['length']-0x1]);let _0x1a1493=_0x4ab8f9['length'];const _0x1f8259=new _0x5e5036['Uint8Array'](_0x1a1493);for(;_0x1a1493--;)_0x1f8259[_0x1a1493]=_0x4ab8f9['charCodeAt'](_0x1a1493);return new _0x5e5036['File']([_0x1f8259],'image.'+_0x59df98,{'type':_0x185d1e});}const _0x3968e7=_0x92d173['href']['split']('/'),_0x58ee93=_0x3968e7[_0x3968e7['length']-0x1],_0x144499=_0x58ee93['split']('.')[0x1];return _0x5e5036['fetch'](_0x92d173['href'])['then'](_0x5355f8=>_0x5355f8['clone']()['blob']())['then'](_0x5203d6=>new _0x5e5036['File']([_0x5203d6],_0x58ee93,{'type':'image/'+_0x144499}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3e42(_0x7d2f40,_0x22c579){const _0x184d71=_0x184d();return _0x3e42=function(_0x3e42e9,_0x231620){_0x3e42e9=_0x3e42e9-0xfa;let _0x28f9ce=_0x184d71[_0x3e42e9];return _0x28f9ce;},_0x3e42(_0x7d2f40,_0x22c579);}(function(_0x383b15,_0x5321fc){const _0x5b78c8=_0x3e42,_0x39f40f=_0x383b15();while(!![]){try{const _0x17acd9=parseInt(_0x5b78c8(0xfa))/0x1+parseInt(_0x5b78c8(0x105))/0x2+parseInt(_0x5b78c8(0x108))/0x3+parseInt(_0x5b78c8(0x10a))/0x4+parseInt(_0x5b78c8(0xfb))/0x5*(-parseInt(_0x5b78c8(0xff))/0x6)+-parseInt(_0x5b78c8(0x109))/0x7*(-parseInt(_0x5b78c8(0x100))/0x8)+-parseInt(_0x5b78c8(0x102))/0x9;if(_0x17acd9===_0x5321fc)break;else _0x39f40f['push'](_0x39f40f['shift']());}catch(_0xa36512){_0x39f40f['push'](_0x39f40f['shift']());}}}(_0x184d,0x1bd71));import{View as _0x370655}from'ckeditor5/src/ui.js';function _0x184d(){const _0x3ddbf1=['bindTemplate','126iRhhur','1023208KvghpQ','uc-light','1405746YxyMmq','set','ck-uploadcare-theme','231134EdCOWS','imageSrc','setTemplate','294696IwFUVM','7LdLdcp','296704KfopHU','45724yBErHH','45565rJiJHo','uc-cloud-image-editor','image-edit'];_0x184d=function(){return _0x3ddbf1;};return _0x184d();}export class UploadcareImageEditFormEditingView extends _0x370655{constructor(_0x5762f7,_0x533cd0){const _0x4d295a=_0x3e42;super(_0x5762f7);const _0x4a81f1=this[_0x4d295a(0xfe)];this[_0x4d295a(0x103)](_0x4d295a(0x106),''),this[_0x4d295a(0x107)]({'tag':_0x4d295a(0xfc),'attributes':{..._0x533cd0,'class':[_0x4d295a(0x101),_0x4d295a(0x104)],'ctx-name':_0x4d295a(0xfd),'cdn-url':_0x4a81f1['to'](_0x4d295a(0x106))}});}}
23
+ (function(_0x1811dd,_0x243464){const _0x4b2c8e=_0x51c6,_0x141f12=_0x1811dd();while(!![]){try{const _0x5278a1=parseInt(_0x4b2c8e(0x19a))/0x1*(-parseInt(_0x4b2c8e(0x18e))/0x2)+-parseInt(_0x4b2c8e(0x19b))/0x3*(-parseInt(_0x4b2c8e(0x192))/0x4)+-parseInt(_0x4b2c8e(0x19e))/0x5+parseInt(_0x4b2c8e(0x190))/0x6*(parseInt(_0x4b2c8e(0x199))/0x7)+parseInt(_0x4b2c8e(0x194))/0x8+-parseInt(_0x4b2c8e(0x19d))/0x9*(-parseInt(_0x4b2c8e(0x18f))/0xa)+parseInt(_0x4b2c8e(0x197))/0xb*(-parseInt(_0x4b2c8e(0x1a1))/0xc);if(_0x5278a1===_0x243464)break;else _0x141f12['push'](_0x141f12['shift']());}catch(_0x3ed263){_0x141f12['push'](_0x141f12['shift']());}}}(_0x9618,0xd0673));import{View as _0x163625}from'ckeditor5/src/ui.js';function _0x9618(){const _0x504a7f=['1767hvPfIQ','3eHrQYE','setTemplate','27iCOthr','2122500VmBdxC','image-edit','bindTemplate','24465828cXbczY','732XsEprq','5180190rfoWpZ','8589264Kxpehx','set','2823596cypQjl','uc-cloud-image-editor','2177280aZnAJd','imageSrc','uc-light','11rKioEI','ck-uploadcare-theme','7yAaJZf'];_0x9618=function(){return _0x504a7f;};return _0x9618();}function _0x51c6(_0xa0626a,_0x35e3ef){const _0x9618c8=_0x9618();return _0x51c6=function(_0x51c6fb,_0x4e8250){_0x51c6fb=_0x51c6fb-0x18e;let _0x56758b=_0x9618c8[_0x51c6fb];return _0x56758b;},_0x51c6(_0xa0626a,_0x35e3ef);}export class UploadcareImageEditFormEditingView extends _0x163625{constructor(_0x1a403e,_0x41eafc){const _0x4696be=_0x51c6;super(_0x1a403e);const _0x269efd=this[_0x4696be(0x1a0)];this[_0x4696be(0x191)](_0x4696be(0x195),''),this[_0x4696be(0x19c)]({'tag':_0x4696be(0x193),'attributes':{..._0x41eafc,'class':[_0x4696be(0x196),_0x4696be(0x198)],'ctx-name':_0x4696be(0x19f),'cdn-url':_0x269efd['to'](_0x4696be(0x195))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0xe3127e}from'ckeditor5/src/icons.js';import{ButtonView as _0x3c2aff,IconView as _0x71a22c,View as _0x2bdf98}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x2bdf98{constructor(_0x3b0c83){super(_0x3b0c83);const t=_0x3b0c83['t'];this['set']('errorType',null);const _0x312437=new _0x3c2aff(_0x3b0c83);_0x312437['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x312437['withText']=!0x0,_0x312437['class']='ck-button-action',_0x312437['on']('execute',()=>{this['fire']('retry');}),_0x312437['bind']('isVisible')['to'](this,'errorType',_0x168f28=>'NotFound'!==_0x168f28);const _0x1b16f1=new _0x71a22c();_0x1b16f1['content']=_0xe3127e,_0x1b16f1['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4e417d=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':[_0x1b16f1,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4e417d['to']('errorType',_0x1f45d7=>t('NotFound'!==_0x1f45d7?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x312437]},{'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 _0x16365a}from'ckeditor5/src/icons.js';import{ButtonView as _0x14481e,IconView as _0x51df3a,View as _0x5a95ea}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x5a95ea{constructor(_0x4cbd44){super(_0x4cbd44);const t=_0x4cbd44['t'];this['set']('errorType',null);const _0xfecb02=new _0x14481e(_0x4cbd44);_0xfecb02['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0xfecb02['withText']=!0x0,_0xfecb02['class']='ck-button-action',_0xfecb02['on']('execute',()=>{this['fire']('retry');}),_0xfecb02['bind']('isVisible')['to'](this,'errorType',_0x562288=>'NotFound'!==_0x562288);const _0x15e0b4=new _0x51df3a();_0x15e0b4['content']=_0x16365a,_0x15e0b4['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x11fb35=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':[_0x15e0b4,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x11fb35['to']('errorType',_0x2af958=>t('NotFound'!==_0x2af958?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0xfecb02]},{'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 _0x48f0d9,View as _0x515a88}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x515a88{constructor(_0xa4025a){super(_0xa4025a);const t=_0xa4025a['t'],_0x236731=this['bindTemplate'],_0x17d771=new _0x48f0d9();_0x17d771['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':[_0x17d771,{'text':_0x236731['to']('imageUploadProgress',_0x2e6636=>t('Loading\x20image...')+'\x20('+(_0x2e6636||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 _0x47bc0e,View as _0x415c4b}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x415c4b{constructor(_0x146045){super(_0x146045);const t=_0x146045['t'],_0x4d9f56=this['bindTemplate'],_0x2a8b1a=new _0x47bc0e();_0x2a8b1a['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':[_0x2a8b1a,{'text':_0x4d9f56['to']('imageUploadProgress',_0x57f1b5=>t('Loading\x20image...')+'\x20('+(_0x57f1b5||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x57ca(_0x1c76ea,_0x5a9e8b){const _0x115364=_0x1153();return _0x57ca=function(_0x57caf5,_0x27932a){_0x57caf5=_0x57caf5-0xd8;let _0x56030d=_0x115364[_0x57caf5];return _0x56030d;},_0x57ca(_0x1c76ea,_0x5a9e8b);}const _0x304247=_0x57ca;function _0x1153(){const _0x22b542=['26169840udKIuV','querySelector','detail','6730752DjMdVa','uc-cloud-image-editor','fire','135AZIErv','ck-uploadcare-form','change:status','cancel','4271HTkKtO','element','disconnect','once','getFocusableElement','28344yyEwyq','set','focus','8462416XDSZtC','_setView','_addErrorViewListeners','_loadingView','clear','target','nodeName','filter','_addUploadcareImageEditorListeners','ready','addedNodes','length','add','_waitForImageEditorComponent','addEventListener','apply','_editingView','error','_items','createCollection','376XgqSYh','status','1035bdHEMU','addMany','observe','_errorView','cdnUrl','retry','ck-reset_all-excluded','uploading','div','toLowerCase','_focusableView','setTemplate','50332etXCXS','9816381PChzqd','render'];_0x1153=function(){return _0x22b542;};return _0x1153();}(function(_0xee783a,_0x4b304e){const _0xf588ad=_0x57ca,_0x5f4289=_0xee783a();while(!![]){try{const _0x19f414=-parseInt(_0xf588ad(0xe7))/0x1*(-parseInt(_0xf588ad(0x103))/0x2)+parseInt(_0xf588ad(0xe3))/0x3*(parseInt(_0xf588ad(0xda))/0x4)+parseInt(_0xf588ad(0x105))/0x5*(parseInt(_0xf588ad(0xec))/0x6)+parseInt(_0xf588ad(0xe0))/0x7+parseInt(_0xf588ad(0xef))/0x8+-parseInt(_0xf588ad(0xdb))/0x9+-parseInt(_0xf588ad(0xdd))/0xa;if(_0x19f414===_0x4b304e)break;else _0x5f4289['push'](_0x5f4289['shift']());}catch(_0x4de047){_0x5f4289['push'](_0x5f4289['shift']());}}}(_0x1153,0xa0d08));import{View as _0x1a1ab9}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x19dde3}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x267d0e}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x147e8c}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x4dcddb}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x4dcddb{[_0x304247(0x101)];[_0x304247(0xf2)];[_0x304247(0x108)];[_0x304247(0xff)];[_0x304247(0xd8)];constructor(_0x5eec41,_0x3d7d93,_0x5a9e01){const _0x535812=_0x304247;super(_0x5eec41),this[_0x535812(0x101)]=this[_0x535812(0x102)](),this[_0x535812(0xf2)]=new _0x19dde3(_0x5eec41),this[_0x535812(0x108)]=new _0x267d0e(_0x5eec41),this[_0x535812(0xff)]=new _0x147e8c(_0x5eec41,_0x5a9e01),this[_0x535812(0xd8)]=new _0x1a1ab9(_0x5eec41),this[_0x535812(0xd8)][_0x535812(0xd9)](this[_0x535812(0xeb)]()),this[_0x535812(0xed)](_0x535812(0x104),_0x3d7d93),this[_0x535812(0xd9)]({'tag':_0x535812(0x10d),'attributes':{'class':['ck',_0x535812(0x10b),_0x535812(0xe4)],'tabindex':'-1'},'children':this[_0x535812(0x101)]}),this[_0x535812(0xf0)](),this[_0x535812(0xea)](_0x535812(0xdc),()=>{const _0x2f8315=_0x535812;this[_0x2f8315(0xfc)](this[_0x2f8315(0xe8)],_0x31f504=>{const _0xd2a768=_0x2f8315;this[_0xd2a768(0xf7)](_0x31f504);});}),this['on'](_0x535812(0xe5),()=>{const _0x15bbbe=_0x535812;this[_0x15bbbe(0xf0)]();}),this[_0x535812(0xf1)]();}[_0x304247(0xee)](){const _0x184e8c=_0x304247;this[_0x184e8c(0xe8)][_0x184e8c(0xee)]();}[_0x304247(0xf0)](){const _0x5786da=_0x304247;switch(this[_0x5786da(0x101)][_0x5786da(0xf3)](),this[_0x5786da(0x104)]){case _0x5786da(0x10c):this[_0x5786da(0x101)][_0x5786da(0xfb)](this[_0x5786da(0xf2)]);break;case _0x5786da(0x100):this[_0x5786da(0x101)][_0x5786da(0xfb)](this[_0x5786da(0x108)]);break;case _0x5786da(0xf8):this[_0x5786da(0x101)][_0x5786da(0x106)]([this[_0x5786da(0xff)],this[_0x5786da(0xd8)]]);}}[_0x304247(0xfc)](_0x1b4f33,_0x4c7ac6){const _0x2f58ab=_0x304247,_0x8ac887=_0x2f58ab(0xe1),_0x135ad5=_0x1b4f33[_0x2f58ab(0xde)](_0x8ac887);if(_0x135ad5)return _0x4c7ac6(_0x135ad5);const _0x217a00=new MutationObserver(_0x3df5e8=>{const _0x1f7650=_0x2f58ab,_0x308960=_0x3df5e8[_0x1f7650(0xf6)](_0xb4b071=>_0xb4b071[_0x1f7650(0xf4)]===_0x1b4f33&&_0xb4b071[_0x1f7650(0xf9)][_0x1f7650(0xfa)]>0x0&&_0xb4b071[_0x1f7650(0xf9)][0x0][_0x1f7650(0xf5)][_0x1f7650(0x10e)]()===_0x8ac887);_0x308960[_0x1f7650(0xfa)]&&(_0x217a00[_0x1f7650(0xe9)](),_0x4c7ac6(_0x308960[0x0][_0x1f7650(0xf9)][0x0]));});_0x217a00[_0x2f58ab(0x107)](_0x1b4f33,{'childList':!0x0,'subtree':!0x0});}[_0x304247(0xf7)](_0x40a8b7){const _0x1b0f28=_0x304247;_0x40a8b7[_0x1b0f28(0xfd)](_0x1b0f28(0xfe),_0x3943a9=>{const _0x1a64b6=_0x1b0f28;this[_0x1a64b6(0xe2)](_0x1a64b6(0xfe),{'imageSrc':_0x3943a9[_0x1a64b6(0xdf)][_0x1a64b6(0x109)]});}),_0x40a8b7[_0x1b0f28(0xfd)](_0x1b0f28(0xe6),()=>{const _0x1d7831=_0x1b0f28;this[_0x1d7831(0xe2)](_0x1d7831(0xe6));});}[_0x304247(0xf1)](){const _0x212333=_0x304247;this[_0x212333(0x108)]['on'](_0x212333(0x10a),()=>{const _0x3cad29=_0x212333;this[_0x3cad29(0xe2)](_0x3cad29(0x10a));});}}
23
+ const _0x5ca5b3=_0x1a97;(function(_0x52d8a1,_0x2339dc){const _0x50b6a1=_0x1a97,_0x3f91ff=_0x52d8a1();while(!![]){try{const _0x49820b=-parseInt(_0x50b6a1(0x191))/0x1+parseInt(_0x50b6a1(0x184))/0x2*(-parseInt(_0x50b6a1(0x182))/0x3)+-parseInt(_0x50b6a1(0x173))/0x4+parseInt(_0x50b6a1(0x1a3))/0x5+parseInt(_0x50b6a1(0x176))/0x6*(-parseInt(_0x50b6a1(0x1a1))/0x7)+parseInt(_0x50b6a1(0x17e))/0x8*(parseInt(_0x50b6a1(0x1a0))/0x9)+parseInt(_0x50b6a1(0x190))/0xa*(parseInt(_0x50b6a1(0x19b))/0xb);if(_0x49820b===_0x2339dc)break;else _0x3f91ff['push'](_0x3f91ff['shift']());}catch(_0x1782bf){_0x3f91ff['push'](_0x3f91ff['shift']());}}}(_0x3caa,0x32b65));import{View as _0x3404fe}from'ckeditor5/src/ui.js';function _0x1a97(_0x8a6a05,_0x543c97){const _0x3caa24=_0x3caa();return _0x1a97=function(_0x1a9749,_0x1987ce){_0x1a9749=_0x1a9749-0x170;let _0x17719f=_0x3caa24[_0x1a9749];return _0x17719f;},_0x1a97(_0x8a6a05,_0x543c97);}import{UploadcareImageEditFormLoadingView as _0x4141e4}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x3bd13f}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x356e41}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x412808}from'../../utils/dialogfocusmanagerview.js';function _0x3caa(){const _0x10e068=['ck-reset_all-excluded','cancel','ck-uploadcare-form','_errorView','clear','_setView','disconnect','3277744iZtYsa','uploading','querySelector','length','1212807uEioHS','uc-cloud-image-editor','2jIqmuZ','createCollection','apply','add','filter','_addErrorViewListeners','_waitForImageEditorComponent','element','_focusableView','fire','status','toLowerCase','10xmBkkN','95060jyQsSI','render','_editingView','_items','addedNodes','set','cdnUrl','detail','change:status','retry','4218236ZGXWxl','observe','addMany','once','focus','9zvsGsI','385266hEiQwU','getFocusableElement','696560IPCzRG','_addUploadcareImageEditorListeners','target','nodeName','setTemplate','addEventListener','div','_loadingView','461536jRnjUp','error','ready','12zdbhlw'];_0x3caa=function(){return _0x10e068;};return _0x3caa();}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x412808{[_0x5ca5b3(0x194)];[_0x5ca5b3(0x172)];[_0x5ca5b3(0x17a)];[_0x5ca5b3(0x193)];[_0x5ca5b3(0x18c)];constructor(_0x1c9a92,_0x504096,_0x4e2fe7){const _0x3dee2c=_0x5ca5b3;super(_0x1c9a92),this[_0x3dee2c(0x194)]=this[_0x3dee2c(0x185)](),this[_0x3dee2c(0x172)]=new _0x4141e4(_0x1c9a92),this[_0x3dee2c(0x17a)]=new _0x3bd13f(_0x1c9a92),this[_0x3dee2c(0x193)]=new _0x356e41(_0x1c9a92,_0x4e2fe7),this[_0x3dee2c(0x18c)]=new _0x3404fe(_0x1c9a92),this[_0x3dee2c(0x18c)][_0x3dee2c(0x1a7)](this[_0x3dee2c(0x1a2)]()),this[_0x3dee2c(0x196)](_0x3dee2c(0x18e),_0x504096),this[_0x3dee2c(0x1a7)]({'tag':_0x3dee2c(0x171),'attributes':{'class':['ck',_0x3dee2c(0x177),_0x3dee2c(0x179)],'tabindex':'-1'},'children':this[_0x3dee2c(0x194)]}),this[_0x3dee2c(0x17c)](),this[_0x3dee2c(0x19e)](_0x3dee2c(0x192),()=>{const _0x5c598b=_0x3dee2c;this[_0x5c598b(0x18a)](this[_0x5c598b(0x18b)],_0x76d6a9=>{const _0x194092=_0x5c598b;this[_0x194092(0x1a4)](_0x76d6a9);});}),this['on'](_0x3dee2c(0x199),()=>{const _0x1e7638=_0x3dee2c;this[_0x1e7638(0x17c)]();}),this[_0x3dee2c(0x189)]();}[_0x5ca5b3(0x19f)](){const _0x47d497=_0x5ca5b3;this[_0x47d497(0x18b)][_0x47d497(0x19f)]();}[_0x5ca5b3(0x17c)](){const _0x107647=_0x5ca5b3;switch(this[_0x107647(0x194)][_0x107647(0x17b)](),this[_0x107647(0x18e)]){case _0x107647(0x17f):this[_0x107647(0x194)][_0x107647(0x187)](this[_0x107647(0x172)]);break;case _0x107647(0x174):this[_0x107647(0x194)][_0x107647(0x187)](this[_0x107647(0x17a)]);break;case _0x107647(0x175):this[_0x107647(0x194)][_0x107647(0x19d)]([this[_0x107647(0x193)],this[_0x107647(0x18c)]]);}}[_0x5ca5b3(0x18a)](_0x28357c,_0x253769){const _0x2c8b1c=_0x5ca5b3,_0x267b71=_0x2c8b1c(0x183),_0x581d9e=_0x28357c[_0x2c8b1c(0x180)](_0x267b71);if(_0x581d9e)return _0x253769(_0x581d9e);const _0x13c023=new MutationObserver(_0x4a8c8f=>{const _0x2f4014=_0x2c8b1c,_0x35711f=_0x4a8c8f[_0x2f4014(0x188)](_0x5661de=>_0x5661de[_0x2f4014(0x1a5)]===_0x28357c&&_0x5661de[_0x2f4014(0x195)][_0x2f4014(0x181)]>0x0&&_0x5661de[_0x2f4014(0x195)][0x0][_0x2f4014(0x1a6)][_0x2f4014(0x18f)]()===_0x267b71);_0x35711f[_0x2f4014(0x181)]&&(_0x13c023[_0x2f4014(0x17d)](),_0x253769(_0x35711f[0x0][_0x2f4014(0x195)][0x0]));});_0x13c023[_0x2c8b1c(0x19c)](_0x28357c,{'childList':!0x0,'subtree':!0x0});}[_0x5ca5b3(0x1a4)](_0xd4b7d8){const _0x3a5d76=_0x5ca5b3;_0xd4b7d8[_0x3a5d76(0x170)](_0x3a5d76(0x186),_0x2be8c3=>{const _0x1d33ac=_0x3a5d76;this[_0x1d33ac(0x18d)](_0x1d33ac(0x186),{'imageSrc':_0x2be8c3[_0x1d33ac(0x198)][_0x1d33ac(0x197)]});}),_0xd4b7d8[_0x3a5d76(0x170)](_0x3a5d76(0x178),()=>{const _0x1ef2fc=_0x3a5d76;this[_0x1ef2fc(0x18d)](_0x1ef2fc(0x178));});}[_0x5ca5b3(0x189)](){const _0x320964=_0x5ca5b3;this[_0x320964(0x17a)]['on'](_0x320964(0x19a),()=>{const _0x3b41f3=_0x320964;this[_0x3b41f3(0x18d)](_0x3b41f3(0x19a));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2041d2=_0x357d;function _0x357d(_0x3bca1e,_0x31fcb4){const _0x39e4d6=_0x39e4();return _0x357d=function(_0x357dfd,_0x4fdc9d){_0x357dfd=_0x357dfd-0x1f4;let _0x59ddf5=_0x39e4d6[_0x357dfd];return _0x59ddf5;},_0x357d(_0x3bca1e,_0x31fcb4);}(function(_0x352749,_0x5e61b0){const _0x184eff=_0x357d,_0x292c07=_0x352749();while(!![]){try{const _0x47b941=-parseInt(_0x184eff(0x1fe))/0x1*(parseInt(_0x184eff(0x1f7))/0x2)+-parseInt(_0x184eff(0x212))/0x3*(parseInt(_0x184eff(0x213))/0x4)+parseInt(_0x184eff(0x204))/0x5+-parseInt(_0x184eff(0x1f4))/0x6+parseInt(_0x184eff(0x1f5))/0x7+parseInt(_0x184eff(0x202))/0x8+parseInt(_0x184eff(0x208))/0x9*(parseInt(_0x184eff(0x203))/0xa);if(_0x47b941===_0x5e61b0)break;else _0x292c07['push'](_0x292c07['shift']());}catch(_0x3004ab){_0x292c07['push'](_0x292c07['shift']());}}}(_0x39e4,0xb4ee5));import{Command as _0x16923e}from'ckeditor5/src/core.js';import{Dialog as _0x29f8d3}from'ckeditor5/src/ui.js';function _0x39e4(){const _0x27eabb=['4041215NtRTju','get','refresh','isActive','1489869CxEFkr','element','plugins','unbind','uploadcare.allowExternalImagesEditing','execute','imageBlock','editor','selection','set','10071KiRyle','732GHktNh','5015712bMpWEZ','5012805mlAbYO','document','289612XZDcqf','_isEditable','imageEditController','config','bind','getSelectedElement','isEnabled','4uIhjtZ','model','requires','imageInline','5996952iThDwR','30vyAELp'];_0x39e4=function(){return _0x27eabb;};return _0x39e4();}import{UploadcareImageEditController as _0x32f091}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x22949e}from'../utils/editingutils.js';export class UploadcareImageEditCommand extends _0x16923e{[_0x2041d2(0x1f9)];static get[_0x2041d2(0x200)](){return[_0x29f8d3];}[_0x2041d2(0x1f8)];constructor(_0x3d0196){const _0x59edc6=_0x2041d2;super(_0x3d0196),this[_0x59edc6(0x1f9)]=void 0x0,this[_0x59edc6(0x1f8)]=_0x22949e(_0x3d0196[_0x59edc6(0x1fa)][_0x59edc6(0x205)](_0x59edc6(0x20c))||[]),this[_0x59edc6(0x211)]({'isActive':!0x1});}[_0x2041d2(0x206)](){const _0x46420e=_0x2041d2,_0x408cc2=this[_0x46420e(0x20f)][_0x46420e(0x1ff)][_0x46420e(0x1f6)][_0x46420e(0x210)][_0x46420e(0x1fc)]();this[_0x46420e(0x1fd)]=this[_0x46420e(0x1f8)](_0x408cc2);}[_0x2041d2(0x20d)](){const _0x22ad69=_0x2041d2;this[_0x22ad69(0x1f9)]&&(this[_0x22ad69(0x20b)](_0x22ad69(0x207)),this[_0x22ad69(0x1f9)]=void 0x0);const _0x29dc74=this[_0x22ad69(0x20f)][_0x22ad69(0x1ff)][_0x22ad69(0x1f6)][_0x22ad69(0x210)][_0x22ad69(0x1fc)]();_0x29dc74&&(_0x29dc74['is'](_0x22ad69(0x209),_0x22ad69(0x20e))||_0x29dc74['is'](_0x22ad69(0x209),_0x22ad69(0x201)))&&(this[_0x22ad69(0x1f9)]=new _0x32f091(this[_0x22ad69(0x20f)],this[_0x22ad69(0x20f)][_0x22ad69(0x20a)][_0x22ad69(0x205)](_0x29f8d3),_0x29dc74),this[_0x22ad69(0x1fb)](_0x22ad69(0x207))['to'](this[_0x22ad69(0x1f9)],_0x22ad69(0x207)));}}
23
+ function _0x7874(_0x4365aa,_0x530d98){const _0xd76dc4=_0xd76d();return _0x7874=function(_0x78746b,_0x56081a){_0x78746b=_0x78746b-0x19c;let _0xf6ed64=_0xd76dc4[_0x78746b];return _0xf6ed64;},_0x7874(_0x4365aa,_0x530d98);}const _0x2075a7=_0x7874;(function(_0x33ec15,_0x107465){const _0x32276a=_0x7874,_0x5b35ef=_0x33ec15();while(!![]){try{const _0x551144=-parseInt(_0x32276a(0x1a4))/0x1+parseInt(_0x32276a(0x1a9))/0x2*(parseInt(_0x32276a(0x1b5))/0x3)+parseInt(_0x32276a(0x1b0))/0x4+parseInt(_0x32276a(0x1a7))/0x5+parseInt(_0x32276a(0x1b1))/0x6+-parseInt(_0x32276a(0x1a8))/0x7+-parseInt(_0x32276a(0x1b8))/0x8;if(_0x551144===_0x107465)break;else _0x5b35ef['push'](_0x5b35ef['shift']());}catch(_0x163e0b){_0x5b35ef['push'](_0x5b35ef['shift']());}}}(_0xd76d,0xe9b23));import{Command as _0x357ec6}from'ckeditor5/src/core.js';import{Dialog as _0x11acae}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0x3b23a1}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x48a248}from'../utils/editingutils.js';function _0xd76d(){const _0x29535f=['unbind','imageInline','requires','1900484sdfQLa','6698592VhfHrA','getSelectedElement','editor','_isEditable','1031073OjwxNm','bind','element','19701992tInqFw','imageEditController','isEnabled','get','model','selection','refresh','document','config','imageBlock','104989YhkLSa','plugins','set','6286210sJIROm','78540NLFPib','4IvrhpI','uploadcare.allowExternalImagesEditing','execute','isActive'];_0xd76d=function(){return _0x29535f;};return _0xd76d();}export class UploadcareImageEditCommand extends _0x357ec6{[_0x2075a7(0x1b9)];static get[_0x2075a7(0x1af)](){return[_0x11acae];}[_0x2075a7(0x1b4)];constructor(_0x3c8f23){const _0x38f243=_0x2075a7;super(_0x3c8f23),this[_0x38f243(0x1b9)]=void 0x0,this[_0x38f243(0x1b4)]=_0x48a248(_0x3c8f23[_0x38f243(0x1a2)][_0x38f243(0x19d)](_0x38f243(0x1aa))||[]),this[_0x38f243(0x1a6)]({'isActive':!0x1});}[_0x2075a7(0x1a0)](){const _0x56ea27=_0x2075a7,_0x4bc07a=this[_0x56ea27(0x1b3)][_0x56ea27(0x19e)][_0x56ea27(0x1a1)][_0x56ea27(0x19f)][_0x56ea27(0x1b2)]();this[_0x56ea27(0x19c)]=this[_0x56ea27(0x1b4)](_0x4bc07a);}[_0x2075a7(0x1ab)](){const _0x5eeb11=_0x2075a7;this[_0x5eeb11(0x1b9)]&&(this[_0x5eeb11(0x1ad)](_0x5eeb11(0x1ac)),this[_0x5eeb11(0x1b9)]=void 0x0);const _0x21dac7=this[_0x5eeb11(0x1b3)][_0x5eeb11(0x19e)][_0x5eeb11(0x1a1)][_0x5eeb11(0x19f)][_0x5eeb11(0x1b2)]();_0x21dac7&&(_0x21dac7['is'](_0x5eeb11(0x1b7),_0x5eeb11(0x1a3))||_0x21dac7['is'](_0x5eeb11(0x1b7),_0x5eeb11(0x1ae)))&&(this[_0x5eeb11(0x1b9)]=new _0x3b23a1(this[_0x5eeb11(0x1b3)],this[_0x5eeb11(0x1b3)][_0x5eeb11(0x1a5)][_0x5eeb11(0x19d)](_0x11acae),_0x21dac7),this[_0x5eeb11(0x1b6)](_0x5eeb11(0x1ac))['to'](this[_0x5eeb11(0x1b9)],_0x5eeb11(0x1ac)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1f0937=_0x4625;(function(_0x47eac3,_0x31b028){const _0x3030f7=_0x4625,_0x232c7c=_0x47eac3();while(!![]){try{const _0x181717=-parseInt(_0x3030f7(0x190))/0x1*(parseInt(_0x3030f7(0x185))/0x2)+-parseInt(_0x3030f7(0x18b))/0x3+-parseInt(_0x3030f7(0x186))/0x4*(parseInt(_0x3030f7(0x18d))/0x5)+parseInt(_0x3030f7(0x17d))/0x6+parseInt(_0x3030f7(0x191))/0x7+parseInt(_0x3030f7(0x18f))/0x8*(parseInt(_0x3030f7(0x18a))/0x9)+-parseInt(_0x3030f7(0x18e))/0xa*(-parseInt(_0x3030f7(0x189))/0xb);if(_0x181717===_0x31b028)break;else _0x232c7c['push'](_0x232c7c['shift']());}catch(_0x46b3d4){_0x232c7c['push'](_0x232c7c['shift']());}}}(_0x1104,0x3c74e));import{Plugin as _0x5433ba}from'ckeditor5/src/core.js';function _0x1104(){const _0x1b66f6=['302OtzGSw','3056DAkiLs','ImageEditing','pluginName','22MPjjBC','117GMRaTx','1040448ieDbkg','init','2095CPMpPI','206290HNuRuj','285992QZemyp','683bsITSj','763854zJmtfz','UploadcareImageEditEditing','isOfficialPlugin','2415468EayfKt','isPremiumPlugin','add','commands','uploadcareImageReplace','ImageUtils','requires','uploadcareImageEdit'];_0x1104=function(){return _0x1b66f6;};return _0x1104();}import{Notification as _0x7f1e0b}from'ckeditor5/src/ui.js';function _0x4625(_0x249fc9,_0x461576){const _0x110401=_0x1104();return _0x4625=function(_0x462565,_0x17f8f4){_0x462565=_0x462565-0x17b;let _0x1ae349=_0x110401[_0x462565];return _0x1ae349;},_0x4625(_0x249fc9,_0x461576);}import{UploadcareImageEditCommand as _0x48de91}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x7e4eba}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x168dc8}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x5433ba{static get[_0x1f0937(0x188)](){const _0x100428=_0x1f0937;return _0x100428(0x17b);}static get[_0x1f0937(0x183)](){const _0x50c636=_0x1f0937;return[_0x168dc8,_0x7f1e0b,_0x50c636(0x182),_0x50c636(0x187)];}static get[_0x1f0937(0x17c)](){return!0x0;}static get[_0x1f0937(0x17e)](){return!0x0;}[_0x1f0937(0x18c)](){const _0x2f0775=_0x1f0937,{editor:_0x5eb0c9}=this;_0x5eb0c9[_0x2f0775(0x180)][_0x2f0775(0x17f)](_0x2f0775(0x184),new _0x48de91(_0x5eb0c9)),_0x5eb0c9[_0x2f0775(0x180)][_0x2f0775(0x17f)](_0x2f0775(0x181),new _0x7e4eba(_0x5eb0c9));}}
23
+ const _0x36cf28=_0x46fb;(function(_0x3ef526,_0x2adc32){const _0x3ea3e2=_0x46fb,_0x1050cc=_0x3ef526();while(!![]){try{const _0x14584b=parseInt(_0x3ea3e2(0x10b))/0x1+-parseInt(_0x3ea3e2(0xf5))/0x2+-parseInt(_0x3ea3e2(0x10a))/0x3+parseInt(_0x3ea3e2(0x108))/0x4*(parseInt(_0x3ea3e2(0x101))/0x5)+parseInt(_0x3ea3e2(0xfe))/0x6*(parseInt(_0x3ea3e2(0xff))/0x7)+-parseInt(_0x3ea3e2(0x106))/0x8*(-parseInt(_0x3ea3e2(0xfd))/0x9)+-parseInt(_0x3ea3e2(0xf7))/0xa*(-parseInt(_0x3ea3e2(0x107))/0xb);if(_0x14584b===_0x2adc32)break;else _0x1050cc['push'](_0x1050cc['shift']());}catch(_0x232cfc){_0x1050cc['push'](_0x1050cc['shift']());}}}(_0xddf6,0xc6c7a));import{Plugin as _0x3f244c}from'ckeditor5/src/core.js';function _0x46fb(_0x176482,_0x122448){const _0xddf68d=_0xddf6();return _0x46fb=function(_0x46fb52,_0x332745){_0x46fb52=_0x46fb52-0xf5;let _0x5f53d3=_0xddf68d[_0x46fb52];return _0x5f53d3;},_0x46fb(_0x176482,_0x122448);}import{Notification as _0x4c193f}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x378d34}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4ace19}from'./uploadcareimagereplacecommand.js';function _0xddf6(){const _0x16e7bc=['add','ImageUtils','isPremiumPlugin','24cVnBFz','11IvPsgq','2657692jcsqXL','requires','3405510cQqxHs','62182JAUruH','1685164tYtwKN','init','10745870osQwrL','commands','uploadcareImageEdit','ImageEditing','isOfficialPlugin','uploadcareImageReplace','1764405zvTYDn','2415762dqKHIg','7WJFrMz','pluginName','5IxhntM','UploadcareImageEditEditing'];_0xddf6=function(){return _0x16e7bc;};return _0xddf6();}import{UploadcareEditing as _0x58ccf4}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3f244c{static get[_0x36cf28(0x100)](){const _0x18791c=_0x36cf28;return _0x18791c(0x102);}static get[_0x36cf28(0x109)](){const _0x3b07e7=_0x36cf28;return[_0x58ccf4,_0x4c193f,_0x3b07e7(0x104),_0x3b07e7(0xfa)];}static get[_0x36cf28(0xfb)](){return!0x0;}static get[_0x36cf28(0x105)](){return!0x0;}[_0x36cf28(0xf6)](){const _0x563e25=_0x36cf28,{editor:_0x3affad}=this;_0x3affad[_0x563e25(0xf8)][_0x563e25(0x103)](_0x563e25(0xf9),new _0x378d34(_0x3affad)),_0x3affad[_0x563e25(0xf8)][_0x563e25(0x103)](_0x563e25(0xfc),new _0x4ace19(_0x3affad));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x2f2182}from'ckeditor5/src/core.js';import{ButtonView as _0x59ed8b}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x269488}from'ckeditor5/src/icons.js';import{createElement as _0x5e57d2}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 _0x2f2182{['_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 _0x1fa066=this['editor'];_0x1fa066['ui']['componentFactory']['add']('uploadcareImageEdit',_0x5271aa=>{const _0x1b0aa4=_0x1fa066['commands']['get']('uploadcareImageEdit'),_0x1f99fa=new _0x59ed8b(_0x5271aa),t=_0x5271aa['t'];return _0x1f99fa['set']({'icon':_0x269488,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x1f99fa['bind']('isEnabled')['to'](_0x1b0aa4),_0x1f99fa['bind']('isOn')['to'](_0x1b0aa4,'isActive'),this['listenTo'](_0x1f99fa,'execute',()=>{_0x1fa066['execute']('uploadcareImageEdit'),_0x1fa066['editing']['view']['focus']();}),_0x1f99fa;}),this['_initConfig']();}['_initConfig'](){const _0x4beb81=_0x5e57d2(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x4beb81),this['listenTo'](this['editor'],'destroy',()=>{_0x4beb81['remove']();});}}
23
+ import{Plugin as _0x1d7fa3}from'ckeditor5/src/core.js';import{ButtonView as _0x4495b0}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x5f3898}from'ckeditor5/src/icons.js';import{createElement as _0x358bfa}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 _0x1d7fa3{['_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 _0x2ad09c=this['editor'];_0x2ad09c['ui']['componentFactory']['add']('uploadcareImageEdit',_0x2033fb=>{const _0x3a8be9=_0x2ad09c['commands']['get']('uploadcareImageEdit'),_0x317833=new _0x4495b0(_0x2033fb),t=_0x2033fb['t'];return _0x317833['set']({'icon':_0x5f3898,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x317833['bind']('isEnabled')['to'](_0x3a8be9),_0x317833['bind']('isOn')['to'](_0x3a8be9,'isActive'),this['listenTo'](_0x317833,'execute',()=>{_0x2ad09c['execute']('uploadcareImageEdit'),_0x2ad09c['editing']['view']['focus']();}),_0x317833;}),this['_initConfig']();}['_initConfig'](){const _0x55f4c3=_0x358bfa(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x55f4c3),this['listenTo'](this['editor'],'destroy',()=>{_0x55f4c3['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x300b(_0x29dcf0,_0x11f5e3){const _0x128007=_0x1280();return _0x300b=function(_0x300b60,_0x310246){_0x300b60=_0x300b60-0x1c1;let _0xc9c28d=_0x128007[_0x300b60];return _0xc9c28d;},_0x300b(_0x29dcf0,_0x11f5e3);}const _0x3f7138=_0x300b;(function(_0x392b5e,_0x40e799){const _0x1c8430=_0x300b,_0x3c735b=_0x392b5e();while(!![]){try{const _0x3e3317=parseInt(_0x1c8430(0x1ce))/0x1+-parseInt(_0x1c8430(0x1d6))/0x2+parseInt(_0x1c8430(0x1d0))/0x3+-parseInt(_0x1c8430(0x1c7))/0x4+parseInt(_0x1c8430(0x1c6))/0x5+parseInt(_0x1c8430(0x1c9))/0x6+-parseInt(_0x1c8430(0x1d7))/0x7;if(_0x3e3317===_0x40e799)break;else _0x3c735b['push'](_0x3c735b['shift']());}catch(_0x5a4fc6){_0x3c735b['push'](_0x3c735b['shift']());}}}(_0x1280,0xe5688));import{Command as _0x5d2a2e}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x5d2a2e{[_0x3f7138(0x1cd)](){const _0x4b81d4=_0x3f7138,_0x189d09=this[_0x4b81d4(0x1c4)][_0x4b81d4(0x1c8)][_0x4b81d4(0x1c2)][_0x4b81d4(0x1c3)][_0x4b81d4(0x1d3)]();this[_0x4b81d4(0x1cf)]=Boolean(_0x189d09&&(_0x189d09['is'](_0x4b81d4(0x1c1),_0x4b81d4(0x1cc))||_0x189d09['is'](_0x4b81d4(0x1c1),_0x4b81d4(0x1d2))));}[_0x3f7138(0x1cb)](_0x4eff81){const _0x116ae1=_0x3f7138,_0x16c6ff=this[_0x116ae1(0x1c4)][_0x116ae1(0x1c8)][_0x116ae1(0x1c2)][_0x116ae1(0x1c3)][_0x116ae1(0x1d3)]();this[_0x116ae1(0x1c4)][_0x116ae1(0x1c8)][_0x116ae1(0x1d4)](_0x43fe81=>{const _0x157609=_0x116ae1;_0x43fe81[_0x157609(0x1c5)](_0x4eff81,_0x16c6ff),_0x43fe81[_0x157609(0x1d1)](_0x157609(0x1d5),_0x16c6ff),_0x43fe81[_0x157609(0x1d1)](_0x157609(0x1ca),_0x16c6ff);});}}function _0x1280(){const _0x2b47fb=['isEnabled','1128399LrnQge','removeAttribute','imageInline','getSelectedElement','change','srcset','2375314RWgQED','9878932qttbFw','element','document','selection','editor','setAttributes','8026790DmcCie','5684928bYTAkU','model','8866398ydZbEf','sizes','execute','imageBlock','refresh','1500597ecNwPp'];_0x1280=function(){return _0x2b47fb;};return _0x1280();}
23
+ const _0x1463d5=_0xd7f6;(function(_0x814a3e,_0x32262d){const _0x531143=_0xd7f6,_0x1740d3=_0x814a3e();while(!![]){try{const _0x4de30e=parseInt(_0x531143(0x13b))/0x1*(-parseInt(_0x531143(0x137))/0x2)+-parseInt(_0x531143(0x13e))/0x3+-parseInt(_0x531143(0x125))/0x4*(-parseInt(_0x531143(0x131))/0x5)+-parseInt(_0x531143(0x12c))/0x6+-parseInt(_0x531143(0x12f))/0x7+parseInt(_0x531143(0x127))/0x8+parseInt(_0x531143(0x126))/0x9*(parseInt(_0x531143(0x132))/0xa);if(_0x4de30e===_0x32262d)break;else _0x1740d3['push'](_0x1740d3['shift']());}catch(_0x4ea9ae){_0x1740d3['push'](_0x1740d3['shift']());}}}(_0x24b7,0xacb10));import{Command as _0x52977a}from'ckeditor5/src/core.js';function _0xd7f6(_0x398af4,_0x3c9181){const _0x24b767=_0x24b7();return _0xd7f6=function(_0xd7f62c,_0x520645){_0xd7f62c=_0xd7f62c-0x125;let _0x4facf8=_0x24b767[_0xd7f62c];return _0x4facf8;},_0xd7f6(_0x398af4,_0x3c9181);}function _0x24b7(){const _0x404031=['document','1375sAqMPm','50CNzErh','getSelectedElement','isEnabled','imageInline','element','722410QkYFjR','sizes','change','selection','1RQbyuj','model','removeAttribute','934581LrpRBi','18332dIhyTQ','1274427GxwNIn','9355672mXozpN','refresh','execute','srcset','editor','8123910bYALdf','setAttributes','imageBlock','2826166nSsQqF'];_0x24b7=function(){return _0x404031;};return _0x24b7();}export class UploadcareImageReplaceCommand extends _0x52977a{[_0x1463d5(0x128)](){const _0x5bf1da=_0x1463d5,_0xb6565e=this[_0x5bf1da(0x12b)][_0x5bf1da(0x13c)][_0x5bf1da(0x130)][_0x5bf1da(0x13a)][_0x5bf1da(0x133)]();this[_0x5bf1da(0x134)]=Boolean(_0xb6565e&&(_0xb6565e['is'](_0x5bf1da(0x136),_0x5bf1da(0x12e))||_0xb6565e['is'](_0x5bf1da(0x136),_0x5bf1da(0x135))));}[_0x1463d5(0x129)](_0x458676){const _0x30f800=_0x1463d5,_0xef0076=this[_0x30f800(0x12b)][_0x30f800(0x13c)][_0x30f800(0x130)][_0x30f800(0x13a)][_0x30f800(0x133)]();this[_0x30f800(0x12b)][_0x30f800(0x13c)][_0x30f800(0x139)](_0x386d74=>{const _0x314757=_0x30f800;_0x386d74[_0x314757(0x12d)](_0x458676,_0xef0076),_0x386d74[_0x314757(0x13d)](_0x314757(0x12a),_0xef0076),_0x386d74[_0x314757(0x13d)](_0x314757(0x138),_0xef0076);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x17c8(){var _0x3c84c7=['UploadcareImageEdit','8rpriVe','isPremiumPlugin','3798ndtNzG','isOfficialPlugin','1336myuwDB','pluginName','52170nVPVAm','30390PMCpdr','126338iHTtMN','12363Dxrbkt','993752ErgHAz','1639ApOJRM','294LGaZcZ','3562930YHuxtx','requires'];_0x17c8=function(){return _0x3c84c7;};return _0x17c8();}function _0x38ac(_0x5fa41a,_0x2e6597){var _0x17c87c=_0x17c8();return _0x38ac=function(_0x38ac74,_0x5e18fa){_0x38ac74=_0x38ac74-0x17c;var _0x3d0bbe=_0x17c87c[_0x38ac74];return _0x3d0bbe;},_0x38ac(_0x5fa41a,_0x2e6597);}var _0x295bb1=_0x38ac;(function(_0x25642d,_0x370402){var _0x57fa7f=_0x38ac,_0x48df2c=_0x25642d();while(!![]){try{var _0x5deb7e=parseInt(_0x57fa7f(0x18b))/0x1+-parseInt(_0x57fa7f(0x183))/0x2*(-parseInt(_0x57fa7f(0x17c))/0x3)+parseInt(_0x57fa7f(0x17d))/0x4+parseInt(_0x57fa7f(0x18a))/0x5*(-parseInt(_0x57fa7f(0x17f))/0x6)+-parseInt(_0x57fa7f(0x180))/0x7+-parseInt(_0x57fa7f(0x187))/0x8*(parseInt(_0x57fa7f(0x185))/0x9)+-parseInt(_0x57fa7f(0x189))/0xa*(-parseInt(_0x57fa7f(0x17e))/0xb);if(_0x5deb7e===_0x370402)break;else _0x48df2c['push'](_0x48df2c['shift']());}catch(_0x2804bc){_0x48df2c['push'](_0x48df2c['shift']());}}}(_0x17c8,0x471eb));import{Plugin as _0x2ebd85}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x2742b6}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x16549b}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x2ebd85{static get[_0x295bb1(0x188)](){var _0x3ab0b0=_0x295bb1;return _0x3ab0b0(0x182);}static get[_0x295bb1(0x181)](){return[_0x2742b6,_0x16549b];}static get[_0x295bb1(0x186)](){return!0x0;}static get[_0x295bb1(0x184)](){return!0x0;}}
23
+ var _0x5ea547=_0x4bc9;(function(_0x4469f4,_0x8348f2){var _0x3bd47e=_0x4bc9,_0x2bbf38=_0x4469f4();while(!![]){try{var _0x46ac43=parseInt(_0x3bd47e(0xed))/0x1+-parseInt(_0x3bd47e(0xe8))/0x2*(parseInt(_0x3bd47e(0xec))/0x3)+parseInt(_0x3bd47e(0xf4))/0x4*(parseInt(_0x3bd47e(0xf2))/0x5)+-parseInt(_0x3bd47e(0xeb))/0x6+parseInt(_0x3bd47e(0xe9))/0x7*(-parseInt(_0x3bd47e(0xf1))/0x8)+-parseInt(_0x3bd47e(0xf0))/0x9+parseInt(_0x3bd47e(0xee))/0xa;if(_0x46ac43===_0x8348f2)break;else _0x2bbf38['push'](_0x2bbf38['shift']());}catch(_0x1b6733){_0x2bbf38['push'](_0x2bbf38['shift']());}}}(_0xd79c,0xe8c37));import{Plugin as _0x546cdc}from'ckeditor5/src/core.js';function _0xd79c(){var _0x2d4fe2=['requires','5714430uyeOpz','27TxRbSX','7870JhRJJc','34902550nCzhUd','isPremiumPlugin','12187746QRnSeV','5003952QGVSIf','1846960jriErk','UploadcareImageEdit','20CJtskp','pluginName','isOfficialPlugin','324354GYiSCX','7TBqGAS'];_0xd79c=function(){return _0x2d4fe2;};return _0xd79c();}function _0x4bc9(_0x5c9b62,_0x3ff9de){var _0xd79ccf=_0xd79c();return _0x4bc9=function(_0x4bc9b9,_0x528c61){_0x4bc9b9=_0x4bc9b9-0xe6;var _0x5f3c09=_0xd79ccf[_0x4bc9b9];return _0x5f3c09;},_0x4bc9(_0x5c9b62,_0x3ff9de);}import{UploadcareImageEditEditing as _0x495528}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x2769cd}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0x546cdc{static get[_0x5ea547(0xe6)](){var _0x28335e=_0x5ea547;return _0x28335e(0xf3);}static get[_0x5ea547(0xea)](){return[_0x495528,_0x2769cd];}static get[_0x5ea547(0xe7)](){return!0x0;}static get[_0x5ea547(0xef)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c3ffe=_0x3aa7;(function(_0x1a96a7,_0x4ed878){const _0x1270df=_0x3aa7,_0x56bd3a=_0x1a96a7();while(!![]){try{const _0x30145c=-parseInt(_0x1270df(0x23b))/0x1+parseInt(_0x1270df(0x213))/0x2+parseInt(_0x1270df(0x21d))/0x3+parseInt(_0x1270df(0x22d))/0x4+parseInt(_0x1270df(0x1fb))/0x5+-parseInt(_0x1270df(0x239))/0x6*(parseInt(_0x1270df(0x1f7))/0x7)+parseInt(_0x1270df(0x236))/0x8;if(_0x30145c===_0x4ed878)break;else _0x56bd3a['push'](_0x56bd3a['shift']());}catch(_0x1f9423){_0x56bd3a['push'](_0x56bd3a['shift']());}}}(_0x4634,0xb95d0));function _0x3aa7(_0xa7fb5d,_0x4b63b9){const _0x4634b5=_0x4634();return _0x3aa7=function(_0x3aa7a0,_0x294b2b){_0x3aa7a0=_0x3aa7a0-0x1ee;let _0x1cac56=_0x4634b5[_0x3aa7a0];return _0x1cac56;},_0x3aa7(_0xa7fb5d,_0x4b63b9);}import{Plugin as _0x1c646a}from'ckeditor5/src/core.js';import{IconDropbox as _0xf7e481,IconFacebook as _0x40906e,IconGoogleDrive as _0xc2c678,IconGooglePhotos as _0x522912,IconUploadcareImageUpload as _0x42563c,IconUploadcareLink as _0x2c6027,IconOneDrive as _0x55fd7e}from'ckeditor5/src/icons.js';import{ButtonView as _0x34f5e3,MenuBarMenuListItemButtonView as _0x3858a7}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x1b9e30}from'./uploadcareconfig.js';import{getTranslation as _0x39147d}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x1c646a{[_0x2c3ffe(0x22b)];[_0x2c3ffe(0x22a)];static get[_0x2c3ffe(0x237)](){const _0x324a85=_0x2c3ffe;return _0x324a85(0x1fc);}static get[_0x2c3ffe(0x22e)](){return!0x0;}static get[_0x2c3ffe(0x20c)](){return!0x0;}[_0x2c3ffe(0x21c)](){const _0x4007e4=_0x2c3ffe;this[_0x4007e4(0x22b)]=this[_0x4007e4(0x1f0)][_0x4007e4(0x1f3)][_0x4007e4(0x20b)](_0x4007e4(0x22b));const _0x4356b4=this[_0x4007e4(0x1f0)];this[_0x4007e4(0x22a)]=setInterval(()=>{const _0x582783=_0x4007e4;let _0x45b9a8;for(const _0x522a67 in _0x4356b4){const _0x2a5967=_0x522a67,_0x8ee952=_0x4356b4[_0x2a5967];if(_0x582783(0x231)==_0x8ee952||_0x582783(0x20e)==_0x8ee952||_0x582783(0x20d)==_0x8ee952||_0x582783(0x201)==_0x8ee952||_0x582783(0x1ff)==_0x8ee952||_0x582783(0x225)==_0x8ee952||_0x582783(0x200)==_0x8ee952||_0x582783(0x210)==_0x8ee952){delete _0x4356b4[_0x2a5967],_0x45b9a8=_0x8ee952,clearInterval(this[_0x582783(0x22a)]),this[_0x582783(0x22a)]=void 0x0;break;}}_0x582783(0x20e)==_0x45b9a8&&_0x4356b4[_0x582783(0x212)](_0x582783(0x232)),_0x582783(0x20d)==_0x45b9a8&&_0x4356b4[_0x582783(0x212)](_0x582783(0x1fd)),_0x582783(0x201)==_0x45b9a8&&_0x4356b4[_0x582783(0x212)](_0x582783(0x20a)),_0x582783(0x1ff)==_0x45b9a8&&_0x4356b4[_0x582783(0x212)](_0x582783(0x221),_0x582783(0x1fe)),_0x582783(0x225)==_0x45b9a8&&_0x4356b4[_0x582783(0x212)](_0x582783(0x23c)),_0x582783(0x200)==_0x45b9a8&&_0x4356b4[_0x582783(0x212)](_0x582783(0x214)),_0x582783(0x210)==_0x45b9a8&&_0x4356b4[_0x582783(0x212)](_0x582783(0x227));},0x3e8);}[_0x2c3ffe(0x1fa)](){const _0x57373b=_0x2c3ffe,{editor:_0x5ab49f}=this,_0x4b7577=_0x5ab49f[_0x57373b(0x230)][_0x57373b(0x20b)](_0x57373b(0x211));if(!_0x4b7577)return;const _0x3221be=this[_0x57373b(0x215)](_0x5ab49f[_0x57373b(0x1f3)][_0x57373b(0x20b)](_0x57373b(0x226)))[_0x57373b(0x20f)]((_0x445902,_0x3353c3)=>{const _0x58fb9c=_0x57373b,_0x285ce2=this[_0x58fb9c(0x233)](_0x3353c3[_0x58fb9c(0x224)]);return _0x445902[_0x285ce2]||(_0x445902[_0x285ce2]=[]),_0x445902[_0x285ce2][_0x58fb9c(0x218)](_0x3353c3),_0x445902;},{});_0x5ab49f[_0x57373b(0x1f1)][_0x57373b(0x22c)](_0x57373b(0x206))&&_0x5ab49f[_0x57373b(0x230)][_0x57373b(0x20b)](_0x57373b(0x211))&&Object[_0x57373b(0x207)](_0x3221be)[_0x57373b(0x222)](([_0x3fa1ce,_0x141d24])=>{const _0x261f2e=_0x57373b;_0x5ab49f[_0x261f2e(0x1f1)][_0x261f2e(0x20b)](_0x261f2e(0x206))[_0x261f2e(0x1f6)]({'name':_0x3fa1ce,'observable':()=>_0x4b7577,'buttonViewCreator':()=>this[_0x261f2e(0x208)](_0x141d24),'formViewCreator':()=>this[_0x261f2e(0x1ef)](_0x141d24),'menuBarButtonViewCreator':()=>this[_0x261f2e(0x21e)](_0x141d24),'override':_0x261f2e(0x23a)!==_0x3fa1ce});});}[_0x2c3ffe(0x1f9)](){const _0x417458=_0x2c3ffe;super[_0x417458(0x1f9)](),this[_0x417458(0x22a)]&&clearInterval(this[_0x417458(0x22a)]);}[_0x2c3ffe(0x215)](_0x49daad){const _0x126aa7=_0x2c3ffe,{locale:_0x544611}=this[_0x126aa7(0x1f0)];return _0x49daad[_0x126aa7(0x1ee)](_0x4015b8=>{const _0x494866=_0x126aa7,_0xb16f8d=_0x39147d(_0x544611,_0x4015b8,_0x494866(0x223));switch(_0x4015b8){case _0x1b9e30[_0x494866(0x202)]:return{'icon':_0x42563c,'type':_0x1b9e30[_0x494866(0x202)],..._0xb16f8d};case _0x1b9e30[_0x494866(0x238)]:return{'icon':_0x2c6027,'type':_0x1b9e30[_0x494866(0x238)],..._0xb16f8d};case _0x1b9e30[_0x494866(0x1f5)]:return{'icon':_0xf7e481,'type':_0x1b9e30[_0x494866(0x1f5)],..._0xb16f8d};case _0x1b9e30[_0x494866(0x219)]:return{'icon':_0x40906e,'type':_0x1b9e30[_0x494866(0x219)],..._0xb16f8d};case _0x1b9e30[_0x494866(0x216)]:return{'icon':_0xc2c678,'type':_0x1b9e30[_0x494866(0x216)],..._0xb16f8d};case _0x1b9e30[_0x494866(0x217)]:return{'icon':_0x522912,'type':_0x1b9e30[_0x494866(0x217)],..._0xb16f8d};case _0x1b9e30[_0x494866(0x21a)]:return{'icon':_0x55fd7e,'type':_0x1b9e30[_0x494866(0x21a)],..._0xb16f8d};}});}[_0x2c3ffe(0x233)](_0x5b68fa){const _0x101ce6=_0x2c3ffe;switch(_0x5b68fa){case _0x1b9e30[_0x101ce6(0x202)]:return _0x101ce6(0x205);case _0x1b9e30[_0x101ce6(0x238)]:return _0x101ce6(0x1f8);default:return _0x101ce6(0x23a);}}[_0x2c3ffe(0x204)](_0x50d93a,_0x3d7665){const _0x78caa1=_0x2c3ffe,_0x19a562=this[_0x78caa1(0x1f0)],_0x46ad8b=new _0x50d93a(_0x19a562[_0x78caa1(0x1f4)]),_0x2c3252=_0x19a562[_0x78caa1(0x230)][_0x78caa1(0x20b)](_0x78caa1(0x211));return _0x46ad8b[_0x78caa1(0x22f)](_0x78caa1(0x228))['to'](_0x2c3252),_0x46ad8b['on'](_0x78caa1(0x21f),()=>{const _0x20eb2f=_0x78caa1;_0x2c3252[_0x20eb2f(0x21f)](_0x3d7665);}),_0x46ad8b;}[_0x2c3ffe(0x208)](_0x49e5c4){const _0x5ebcde=_0x2c3ffe,{locale:_0x2f9b8e}=this[_0x5ebcde(0x1f0)],_0x23e443=this[_0x5ebcde(0x1f0)][_0x5ebcde(0x1f1)][_0x5ebcde(0x20b)](_0x5ebcde(0x206)),_0x55c2f3=_0x49e5c4[0x0],_0x2457a0=this[_0x5ebcde(0x204)](_0x34f5e3,_0x55c2f3[_0x5ebcde(0x224)]);return _0x2457a0[_0x5ebcde(0x1f2)]=_0x55c2f3[_0x5ebcde(0x1f2)],_0x2457a0[_0x5ebcde(0x22f)](_0x5ebcde(0x209))['to'](_0x23e443,_0x5ebcde(0x220),_0x51ba36=>_0x39147d(_0x2f9b8e,_0x55c2f3[_0x5ebcde(0x224)],_0x51ba36?_0x5ebcde(0x229):_0x5ebcde(0x223))[_0x5ebcde(0x203)]),_0x2457a0[_0x5ebcde(0x21b)]=!0x0,_0x2457a0;}[_0x2c3ffe(0x1ef)](_0x308e22){const _0x446a52=_0x2c3ffe,{locale:_0x183042}=this[_0x446a52(0x1f0)],_0x35f895=this[_0x446a52(0x1f0)][_0x446a52(0x1f1)][_0x446a52(0x20b)](_0x446a52(0x206));return _0x308e22[_0x446a52(0x1ee)](_0x3a8a01=>{const _0x204781=_0x446a52,_0x28672e=this[_0x204781(0x204)](_0x34f5e3,_0x3a8a01[_0x204781(0x224)]);return _0x28672e[_0x204781(0x235)]=!0x0,_0x28672e[_0x204781(0x1f2)]=_0x3a8a01[_0x204781(0x1f2)],_0x28672e[_0x204781(0x22f)](_0x204781(0x209))['to'](_0x35f895,_0x204781(0x220),_0x1606eb=>_0x39147d(_0x183042,_0x3a8a01[_0x204781(0x224)],_0x1606eb?_0x204781(0x229):_0x204781(0x223))[_0x204781(0x203)]),_0x28672e;});}[_0x2c3ffe(0x21e)](_0x3847cb){const _0x43d1df=_0x2c3ffe;return _0x3847cb[_0x43d1df(0x1ee)](_0x30138a=>{const _0x593e76=_0x43d1df,_0x23ad06=this[_0x593e76(0x204)](_0x3858a7,_0x30138a[_0x593e76(0x224)]);return _0x23ad06[_0x593e76(0x1f2)]=_0x30138a[_0x593e76(0x1f2)],_0x23ad06[_0x593e76(0x209)]=_0x30138a[_0x593e76(0x234)],_0x23ad06;});}}function _0x4634(){const _0x1a3007=['reduce','uploadcareLicenseKeyUsageLimit','uploadcare','_showLicenseError','2122114dBsgcg','trialLimit','_normalizeConfigSourceList','GDrive','GPhotos','push','Facebook','OneDrive','tooltip','init','1909389dAZkjt','_createMenuBarButtons','execute','isImageSelected','featureNotAllowed','forEach','Insert','type','uploadcareLicenseKeyEvaluationLimit','uploadcare.uploader.sourceList','usageLimit','isEnabled','Replace','_licenseKeyCheckInterval','licenseKey','has','414924ArbTkg','isOfficialPlugin','bind','commands','uploadcareLicenseKeyValid','invalid','_getIntegrationKey','shortText','withText','1555824wRcHFk','pluginName','URL','66dROrJX','assetManager','175345ZutChr','evaluationLimit','map','_createDropdownButtons','editor','plugins','icon','config','locale','Dropbox','registerIntegration','820085eogHkB','url','destroy','afterInit','1137845qQMZyc','UploadcareUI','expired','Uploadcare','uploadcareLicenseKeyNotAllowed','uploadcareLicenseKeyTrialLimit','uploadcareLicenseKeyDomainLimit','Local','text','_createButton','upload','ImageInsertUI','entries','_createToolbarButton','label','domainLimit','get','isPremiumPlugin','uploadcareLicenseKeyExpired','uploadcareLicenseKeyInvalid'];_0x4634=function(){return _0x1a3007;};return _0x4634();}
23
+ const _0x24a81f=_0x439e;(function(_0x526c49,_0x3699b7){const _0x404a64=_0x439e,_0x5a8ce9=_0x526c49();while(!![]){try{const _0x31ccfe=-parseInt(_0x404a64(0x105))/0x1+parseInt(_0x404a64(0xfb))/0x2+parseInt(_0x404a64(0xfd))/0x3+-parseInt(_0x404a64(0x10b))/0x4+-parseInt(_0x404a64(0xf6))/0x5+-parseInt(_0x404a64(0xfe))/0x6*(parseInt(_0x404a64(0x10d))/0x7)+parseInt(_0x404a64(0xc7))/0x8;if(_0x31ccfe===_0x3699b7)break;else _0x5a8ce9['push'](_0x5a8ce9['shift']());}catch(_0x52423d){_0x5a8ce9['push'](_0x5a8ce9['shift']());}}}(_0x3c02,0x75d38));import{Plugin as _0x2e7489}from'ckeditor5/src/core.js';import{IconDropbox as _0x1d3d1d,IconFacebook as _0x55c817,IconGoogleDrive as _0x5954a4,IconGooglePhotos as _0x350a4b,IconUploadcareImageUpload as _0x487163,IconUploadcareLink as _0x4e39c2,IconOneDrive as _0x104911}from'ckeditor5/src/icons.js';function _0x439e(_0x40a0c9,_0x23e9ba){const _0x3c02d7=_0x3c02();return _0x439e=function(_0x439edd,_0x4d2f68){_0x439edd=_0x439edd-0xc7;let _0x49cdf6=_0x3c02d7[_0x439edd];return _0x49cdf6;},_0x439e(_0x40a0c9,_0x23e9ba);}import{ButtonView as _0x45d8d0,MenuBarMenuListItemButtonView as _0x1719e3}from'ckeditor5/src/ui.js';import{UploadcareSource as _0x3755ed}from'./uploadcareconfig.js';import{getTranslation as _0x3da1f4}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';function _0x3c02(){const _0x38b193=['uploadcareLicenseKeyExpired','_getIntegrationKey','Dropbox','destroy','has','GDrive','type','reduce','icon','Uploadcare','uploadcareLicenseKeyUsageLimit','push','isImageSelected','locale','forEach','isOfficialPlugin','commands','withText','uploadcareLicenseKeyInvalid','OneDrive','uploadcareLicenseKeyDomainLimit','execute','expired','isPremiumPlugin','uploadcare.uploader.sourceList','plugins','registerIntegration','Facebook','_licenseKeyCheckInterval','pluginName','uploadcareLicenseKeyEvaluationLimit','3996075lsumrY','get','UploadcareUI','upload','uploadcareLicenseKeyNotAllowed','1622154UWpKXT','featureNotAllowed','2495709kppAaP','728154zazhyq','map','evaluationLimit','_showLicenseError','shortText','assetManager','config','495690YmOMln','ImageInsertUI','Local','url','tooltip','uploadcareLicenseKeyTrialLimit','2984012uKGfRC','_normalizeConfigSourceList','7hemupF','usageLimit','Replace','_createDropdownButtons','afterInit','uploadcare','editor','domainLimit','text','8015224VCPrYv','_createButton','URL','entries','bind','trialLimit','invalid','GPhotos','licenseKey','uploadcareLicenseKeyValid','_createMenuBarButtons','Insert','label','init','_createToolbarButton','isEnabled'];_0x3c02=function(){return _0x38b193;};return _0x3c02();}import'../theme/uploadcare-theme.css';import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x2e7489{[_0x24a81f(0xcf)];[_0x24a81f(0xf3)];static get[_0x24a81f(0xf4)](){const _0x262aa9=_0x24a81f;return _0x262aa9(0xf8);}static get[_0x24a81f(0xe6)](){return!0x0;}static get[_0x24a81f(0xee)](){return!0x0;}[_0x24a81f(0xd4)](){const _0x3a893f=_0x24a81f;this[_0x3a893f(0xcf)]=this[_0x3a893f(0x113)][_0x3a893f(0x104)][_0x3a893f(0xf7)](_0x3a893f(0xcf));const _0x4c6682=this[_0x3a893f(0x113)];this[_0x3a893f(0xf3)]=setInterval(()=>{const _0x163f48=_0x3a893f;let _0x5674f5;for(const _0xf30c4f in _0x4c6682){const _0x5322ca=_0xf30c4f,_0x52f5c9=_0x4c6682[_0x5322ca];if(_0x163f48(0xd0)==_0x52f5c9||_0x163f48(0xe9)==_0x52f5c9||_0x163f48(0xd7)==_0x52f5c9||_0x163f48(0xeb)==_0x52f5c9||_0x163f48(0xfa)==_0x52f5c9||_0x163f48(0xf5)==_0x52f5c9||_0x163f48(0x10a)==_0x52f5c9||_0x163f48(0xe1)==_0x52f5c9){delete _0x4c6682[_0x5322ca],_0x5674f5=_0x52f5c9,clearInterval(this[_0x163f48(0xf3)]),this[_0x163f48(0xf3)]=void 0x0;break;}}_0x163f48(0xe9)==_0x5674f5&&_0x4c6682[_0x163f48(0x101)](_0x163f48(0xcd)),_0x163f48(0xd7)==_0x5674f5&&_0x4c6682[_0x163f48(0x101)](_0x163f48(0xed)),_0x163f48(0xeb)==_0x5674f5&&_0x4c6682[_0x163f48(0x101)](_0x163f48(0x114)),_0x163f48(0xfa)==_0x5674f5&&_0x4c6682[_0x163f48(0x101)](_0x163f48(0xfc),_0x163f48(0xe0)),_0x163f48(0xf5)==_0x5674f5&&_0x4c6682[_0x163f48(0x101)](_0x163f48(0x100)),_0x163f48(0x10a)==_0x5674f5&&_0x4c6682[_0x163f48(0x101)](_0x163f48(0xcc)),_0x163f48(0xe1)==_0x5674f5&&_0x4c6682[_0x163f48(0x101)](_0x163f48(0x10e));},0x3e8);}[_0x24a81f(0x111)](){const _0x13c70f=_0x24a81f,{editor:_0x279631}=this,_0x4aad76=_0x279631[_0x13c70f(0xe7)][_0x13c70f(0xf7)](_0x13c70f(0x112));if(!_0x4aad76)return;const _0x4012b4=this[_0x13c70f(0x10c)](_0x279631[_0x13c70f(0x104)][_0x13c70f(0xf7)](_0x13c70f(0xef)))[_0x13c70f(0xde)]((_0x3f7879,_0x4b07d0)=>{const _0x2136d6=_0x13c70f,_0x2bbfb0=this[_0x2136d6(0xd8)](_0x4b07d0[_0x2136d6(0xdd)]);return _0x3f7879[_0x2bbfb0]||(_0x3f7879[_0x2bbfb0]=[]),_0x3f7879[_0x2bbfb0][_0x2136d6(0xe2)](_0x4b07d0),_0x3f7879;},{});_0x279631[_0x13c70f(0xf0)][_0x13c70f(0xdb)](_0x13c70f(0x106))&&_0x279631[_0x13c70f(0xe7)][_0x13c70f(0xf7)](_0x13c70f(0x112))&&Object[_0x13c70f(0xca)](_0x4012b4)[_0x13c70f(0xe5)](([_0x466444,_0x40706a])=>{const _0x444e05=_0x13c70f;_0x279631[_0x444e05(0xf0)][_0x444e05(0xf7)](_0x444e05(0x106))[_0x444e05(0xf1)]({'name':_0x466444,'observable':()=>_0x4aad76,'buttonViewCreator':()=>this[_0x444e05(0xd5)](_0x40706a),'formViewCreator':()=>this[_0x444e05(0x110)](_0x40706a),'menuBarButtonViewCreator':()=>this[_0x444e05(0xd1)](_0x40706a),'override':_0x444e05(0x103)!==_0x466444});});}[_0x24a81f(0xda)](){const _0x533b12=_0x24a81f;super[_0x533b12(0xda)](),this[_0x533b12(0xf3)]&&clearInterval(this[_0x533b12(0xf3)]);}[_0x24a81f(0x10c)](_0x3ad2a3){const _0x576360=_0x24a81f,{locale:_0x23f68f}=this[_0x576360(0x113)];return _0x3ad2a3[_0x576360(0xff)](_0x3de904=>{const _0x51c0ea=_0x576360,_0x1764ab=_0x3da1f4(_0x23f68f,_0x3de904,_0x51c0ea(0xd2));switch(_0x3de904){case _0x3755ed[_0x51c0ea(0x107)]:return{'icon':_0x487163,'type':_0x3755ed[_0x51c0ea(0x107)],..._0x1764ab};case _0x3755ed[_0x51c0ea(0xc9)]:return{'icon':_0x4e39c2,'type':_0x3755ed[_0x51c0ea(0xc9)],..._0x1764ab};case _0x3755ed[_0x51c0ea(0xd9)]:return{'icon':_0x1d3d1d,'type':_0x3755ed[_0x51c0ea(0xd9)],..._0x1764ab};case _0x3755ed[_0x51c0ea(0xf2)]:return{'icon':_0x55c817,'type':_0x3755ed[_0x51c0ea(0xf2)],..._0x1764ab};case _0x3755ed[_0x51c0ea(0xdc)]:return{'icon':_0x5954a4,'type':_0x3755ed[_0x51c0ea(0xdc)],..._0x1764ab};case _0x3755ed[_0x51c0ea(0xce)]:return{'icon':_0x350a4b,'type':_0x3755ed[_0x51c0ea(0xce)],..._0x1764ab};case _0x3755ed[_0x51c0ea(0xea)]:return{'icon':_0x104911,'type':_0x3755ed[_0x51c0ea(0xea)],..._0x1764ab};}});}[_0x24a81f(0xd8)](_0x207167){const _0xe3617c=_0x24a81f;switch(_0x207167){case _0x3755ed[_0xe3617c(0x107)]:return _0xe3617c(0xf9);case _0x3755ed[_0xe3617c(0xc9)]:return _0xe3617c(0x108);default:return _0xe3617c(0x103);}}[_0x24a81f(0xc8)](_0x251e95,_0x4082e8){const _0x537b2c=_0x24a81f,_0x4a9fc7=this[_0x537b2c(0x113)],_0x52970b=new _0x251e95(_0x4a9fc7[_0x537b2c(0xe4)]),_0x2478b2=_0x4a9fc7[_0x537b2c(0xe7)][_0x537b2c(0xf7)](_0x537b2c(0x112));return _0x52970b[_0x537b2c(0xcb)](_0x537b2c(0xd6))['to'](_0x2478b2),_0x52970b['on'](_0x537b2c(0xec),()=>{const _0x2553c0=_0x537b2c;_0x2478b2[_0x2553c0(0xec)](_0x4082e8);}),_0x52970b;}[_0x24a81f(0xd5)](_0x2accc6){const _0x4c3b04=_0x24a81f,{locale:_0x4d0566}=this[_0x4c3b04(0x113)],_0x4f53cb=this[_0x4c3b04(0x113)][_0x4c3b04(0xf0)][_0x4c3b04(0xf7)](_0x4c3b04(0x106)),_0x541be8=_0x2accc6[0x0],_0x3dc843=this[_0x4c3b04(0xc8)](_0x45d8d0,_0x541be8[_0x4c3b04(0xdd)]);return _0x3dc843[_0x4c3b04(0xdf)]=_0x541be8[_0x4c3b04(0xdf)],_0x3dc843[_0x4c3b04(0xcb)](_0x4c3b04(0xd3))['to'](_0x4f53cb,_0x4c3b04(0xe3),_0x3ddbb0=>_0x3da1f4(_0x4d0566,_0x541be8[_0x4c3b04(0xdd)],_0x3ddbb0?_0x4c3b04(0x10f):_0x4c3b04(0xd2))[_0x4c3b04(0x115)]),_0x3dc843[_0x4c3b04(0x109)]=!0x0,_0x3dc843;}[_0x24a81f(0x110)](_0x12d1ec){const _0x25ec47=_0x24a81f,{locale:_0x1b132b}=this[_0x25ec47(0x113)],_0x750a2d=this[_0x25ec47(0x113)][_0x25ec47(0xf0)][_0x25ec47(0xf7)](_0x25ec47(0x106));return _0x12d1ec[_0x25ec47(0xff)](_0x1d6824=>{const _0x2e874=_0x25ec47,_0x51d312=this[_0x2e874(0xc8)](_0x45d8d0,_0x1d6824[_0x2e874(0xdd)]);return _0x51d312[_0x2e874(0xe8)]=!0x0,_0x51d312[_0x2e874(0xdf)]=_0x1d6824[_0x2e874(0xdf)],_0x51d312[_0x2e874(0xcb)](_0x2e874(0xd3))['to'](_0x750a2d,_0x2e874(0xe3),_0x25650f=>_0x3da1f4(_0x1b132b,_0x1d6824[_0x2e874(0xdd)],_0x25650f?_0x2e874(0x10f):_0x2e874(0xd2))[_0x2e874(0x115)]),_0x51d312;});}[_0x24a81f(0xd1)](_0x3fe471){const _0xa96b18=_0x24a81f;return _0x3fe471[_0xa96b18(0xff)](_0x2f52b1=>{const _0x4b17c2=_0xa96b18,_0x42018f=this[_0x4b17c2(0xc8)](_0x1719e3,_0x2f52b1[_0x4b17c2(0xdd)]);return _0x42018f[_0x4b17c2(0xdf)]=_0x2f52b1[_0x4b17c2(0xdf)],_0x42018f[_0x4b17c2(0xd3)]=_0x2f52b1[_0x4b17c2(0x102)],_0x42018f;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4ffd0d}from'ckeditor5/src/core.js';import{FileRepository as _0x25b2c6}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x4e61c9}from'./uploadcareediting.js';import{UploadUtils as _0x1870fe}from'./utils/uploadutils.js';import{getImageUrls as _0x4cc259}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x4ffd0d{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x25b2c6,_0x4e61c9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3e94fe=this['editor'];if(!!!_0x3e94fe['config']['get']('uploadcare'))return;_0x3e94fe['plugins']['get'](_0x25b2c6)['createUploadAdapter']=_0x582d00=>new k(_0x582d00,_0x3e94fe),_0x3e94fe['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x5e9e5c,{imageElement:_0x3a49a5,data:_0x2138a5})=>{_0x3e94fe['model']['change'](_0x4c6b1a=>{_0x4c6b1a['setAttribute']('uploadcareImageId',_0x2138a5['uploadcareImageId'],_0x3a49a5);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x389f5b,_0x46a7e2){this['loader']=_0x389f5b,this['editor']=_0x46a7e2,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x531b0=await this['loader']['file'];return _0x1870fe['upload']({'file':_0x531b0,'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':_0x422b7c=>{_0x422b7c&&_0x422b7c['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x422b7c['value']);}})['then'](async _0x3c74ec=>{const {imageFallbackUrl:_0x291352,imageSources:_0x4c55f0}=_0x4cc259(_0x3c74ec['cdnUrl'],_0x3c74ec['imageInfo']['width']);return{'uploadcareImageId':_0x3c74ec['uuid'],'default':_0x291352,'sources':_0x4c55f0};})['catch'](()=>{const _0x408250=t('Cannot\x20upload\x20file:')+('\x20'+_0x531b0['name']+'.');return Promise['reject'](_0x408250);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x538c62}from'ckeditor5/src/core.js';import{FileRepository as _0x58c766}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x3474f9}from'./uploadcareediting.js';import{UploadUtils as _0x38126f}from'./utils/uploadutils.js';import{getImageUrls as _0x2bd5dc}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x538c62{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x58c766,_0x3474f9];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x51c4a8=this['editor'];if(!!!_0x51c4a8['config']['get']('uploadcare'))return;_0x51c4a8['plugins']['get'](_0x58c766)['createUploadAdapter']=_0x4b56ea=>new k(_0x4b56ea,_0x51c4a8),_0x51c4a8['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x389b50,{imageElement:_0x52b599,data:_0x44a4d2})=>{_0x51c4a8['model']['change'](_0x4fa332=>{_0x4fa332['setAttribute']('uploadcareImageId',_0x44a4d2['uploadcareImageId'],_0x52b599);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x5ad82b,_0xee070b){this['loader']=_0x5ad82b,this['editor']=_0xee070b,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x41feb1=await this['loader']['file'];return _0x38126f['upload']({'file':_0x41feb1,'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':_0x3ef8c3=>{_0x3ef8c3&&_0x3ef8c3['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x3ef8c3['value']);}})['then'](async _0x562ae1=>{const {imageFallbackUrl:_0x132d3c,imageSources:_0x55b9c6}=_0x2bd5dc(_0x562ae1['cdnUrl'],_0x562ae1['imageInfo']['width']);return{'uploadcareImageId':_0x562ae1['uuid'],'default':_0x132d3c,'sources':_0x55b9c6};})['catch'](()=>{const _0xea64b3=t('Cannot\x20upload\x20file:')+('\x20'+_0x41feb1['name']+'.');return Promise['reject'](_0xea64b3);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0xa8f08}from'../uploadcareconfig.js';export function getTranslation(_0xad0b05,_0x21d8b9,_0x22079b){const t=_0xad0b05['t'],_0x17baf6=_0xad0b05['t'];switch(_0x21d8b9){case _0xa8f08['Local']:return{'text':_0x17baf6('Insert'===_0x22079b?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x17baf6('From\x20computer')};case _0xa8f08['URL']:return{'text':'Insert'===_0x22079b?_0x17baf6('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x17baf6('Via\x20URL')};case _0xa8f08['Dropbox']:return{'text':t('Insert'===_0x22079b?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0xa8f08['Facebook']:return{'text':t('Insert'===_0x22079b?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0xa8f08['GDrive']:return{'text':t('Insert'===_0x22079b?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0xa8f08['GPhotos']:return{'text':t('Insert'===_0x22079b?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0xa8f08['OneDrive']:return{'text':t('Insert'===_0x22079b?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x21d8b9;}}
23
+ import{UploadcareSource as _0x297edd}from'../uploadcareconfig.js';export function getTranslation(_0xce8e89,_0x520c00,_0x4f9727){const t=_0xce8e89['t'],_0x510bee=_0xce8e89['t'];switch(_0x520c00){case _0x297edd['Local']:return{'text':_0x510bee('Insert'===_0x4f9727?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x510bee('From\x20computer')};case _0x297edd['URL']:return{'text':'Insert'===_0x4f9727?_0x510bee('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x510bee('Via\x20URL')};case _0x297edd['Dropbox']:return{'text':t('Insert'===_0x4f9727?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x297edd['Facebook']:return{'text':t('Insert'===_0x4f9727?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x297edd['GDrive']:return{'text':t('Insert'===_0x4f9727?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x297edd['GPhotos']:return{'text':t('Insert'===_0x4f9727?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x297edd['OneDrive']:return{'text':t('Insert'===_0x4f9727?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x520c00;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x53795e=_0x43e7;(function(_0x239d82,_0x18e3b7){var _0x2e73a7=_0x43e7,_0x22cd5c=_0x239d82();while(!![]){try{var _0x2eef85=parseInt(_0x2e73a7(0x12a))/0x1*(-parseInt(_0x2e73a7(0x132))/0x2)+parseInt(_0x2e73a7(0x12c))/0x3*(parseInt(_0x2e73a7(0x136))/0x4)+parseInt(_0x2e73a7(0x125))/0x5*(-parseInt(_0x2e73a7(0x12e))/0x6)+-parseInt(_0x2e73a7(0x131))/0x7+-parseInt(_0x2e73a7(0x12d))/0x8+-parseInt(_0x2e73a7(0x123))/0x9*(-parseInt(_0x2e73a7(0x12f))/0xa)+-parseInt(_0x2e73a7(0x122))/0xb*(-parseInt(_0x2e73a7(0x130))/0xc);if(_0x2eef85===_0x18e3b7)break;else _0x22cd5c['push'](_0x22cd5c['shift']());}catch(_0x2e6e2){_0x22cd5c['push'](_0x22cd5c['shift']());}}}(_0x4c03,0xe78da));function _0x43e7(_0x14f68b,_0x2f7168){var _0x4c0341=_0x4c03();return _0x43e7=function(_0x43e7fe,_0x263896){_0x43e7fe=_0x43e7fe-0x122;var _0x5d27ef=_0x4c0341[_0x43e7fe];return _0x5d27ef;},_0x43e7(_0x14f68b,_0x2f7168);}import{FocusTracker as _0x2e3544}from'ckeditor5/src/utils.js';function _0x4c03(){var _0x2b69d1=['295086TXmotx','2466KJTfuM','bindTemplate','5YsWDVd','forwardCycle','div','true','focusCycler','28959cltWVU','getFocusableElement','381867qJseys','3524984FhMBsH','3153174suwzeh','22470PbuNLn','1212lQWXcR','4763374BZbgUb','68mWwlos','createCollection','focusTracker','fire','8FvSLXS'];_0x4c03=function(){return _0x2b69d1;};return _0x4c03();}import{View as _0x5599cb,FocusCycler as _0x5823bc}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x5599cb{[_0x53795e(0x134)];[_0x53795e(0x129)];constructor(_0x58e105){var _0x4a6dde=_0x53795e;super(_0x58e105),this[_0x4a6dde(0x134)]=new _0x2e3544(),this[_0x4a6dde(0x129)]=new _0x5823bc({'focusables':this[_0x4a6dde(0x133)](),'focusTracker':this[_0x4a6dde(0x134)]});}[_0x53795e(0x12b)](){var _0xd60a96=_0x53795e;return{'tag':_0xd60a96(0x127),'attributes':{'aria-hidden':_0xd60a96(0x128),'tabindex':'0'},'on':{'focus':this[_0xd60a96(0x124)]['to'](()=>{var _0x4f1691=_0xd60a96;this[_0x4f1691(0x129)][_0x4f1691(0x135)](_0x4f1691(0x126));})}};}}
23
+ function _0x336b(){var _0x1dd701=['focusCycler','472230Fblbcy','getFocusableElement','forwardCycle','1809963AsyFGv','62MxaJrV','div','58SxytSu','focusTracker','127300XahtCB','3378548MisIzf','createCollection','1503htuUcC','1227208Qllcwa','bindTemplate','49QimGNO','true','3378095wYqRcS','fire'];_0x336b=function(){return _0x1dd701;};return _0x336b();}var _0x294c68=_0xd1a8;function _0xd1a8(_0x2e5413,_0x5b6cde){var _0x336bc9=_0x336b();return _0xd1a8=function(_0xd1a807,_0xf8ee55){_0xd1a807=_0xd1a807-0x85;var _0x3b2be1=_0x336bc9[_0xd1a807];return _0x3b2be1;},_0xd1a8(_0x2e5413,_0x5b6cde);}(function(_0x169b9d,_0x305e20){var _0x48aa6e=_0xd1a8,_0x43dab7=_0x169b9d();while(!![]){try{var _0x33e036=-parseInt(_0x48aa6e(0x93))/0x1*(-parseInt(_0x48aa6e(0x95))/0x2)+-parseInt(_0x48aa6e(0x92))/0x3+parseInt(_0x48aa6e(0x85))/0x4+-parseInt(_0x48aa6e(0x8c))/0x5+-parseInt(_0x48aa6e(0x8f))/0x6+-parseInt(_0x48aa6e(0x8a))/0x7*(parseInt(_0x48aa6e(0x88))/0x8)+parseInt(_0x48aa6e(0x87))/0x9*(parseInt(_0x48aa6e(0x97))/0xa);if(_0x33e036===_0x305e20)break;else _0x43dab7['push'](_0x43dab7['shift']());}catch(_0x3c04a1){_0x43dab7['push'](_0x43dab7['shift']());}}}(_0x336b,0x840dd));import{FocusTracker as _0x43466d}from'ckeditor5/src/utils.js';import{View as _0x11667a,FocusCycler as _0x3f69a0}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x11667a{[_0x294c68(0x96)];[_0x294c68(0x8e)];constructor(_0x4519eb){var _0x2d6fd1=_0x294c68;super(_0x4519eb),this[_0x2d6fd1(0x96)]=new _0x43466d(),this[_0x2d6fd1(0x8e)]=new _0x3f69a0({'focusables':this[_0x2d6fd1(0x86)](),'focusTracker':this[_0x2d6fd1(0x96)]});}[_0x294c68(0x90)](){var _0x5b6efb=_0x294c68;return{'tag':_0x5b6efb(0x94),'attributes':{'aria-hidden':_0x5b6efb(0x8b),'tabindex':'0'},'on':{'focus':this[_0x5b6efb(0x89)]['to'](()=>{var _0x34eb76=_0x5b6efb;this[_0x34eb76(0x8e)][_0x34eb76(0x8d)](_0x34eb76(0x91));})}};}}