@ckeditor/ckeditor5-uploadcare 47.3.0-alpha.5 → 47.3.0-alpha.7

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 _0x427347=_0x2cad;(function(_0xe84eb4,_0x59a33a){const _0x42d434=_0x2cad,_0x5e7570=_0xe84eb4();while(!![]){try{const _0x307367=-parseInt(_0x42d434(0x1b4))/0x1*(-parseInt(_0x42d434(0x1cf))/0x2)+parseInt(_0x42d434(0x1b5))/0x3+parseInt(_0x42d434(0x1da))/0x4+-parseInt(_0x42d434(0x1d7))/0x5+parseInt(_0x42d434(0x1c0))/0x6*(-parseInt(_0x42d434(0x200))/0x7)+-parseInt(_0x42d434(0x1bc))/0x8*(-parseInt(_0x42d434(0x1f9))/0x9)+-parseInt(_0x42d434(0x1cd))/0xa;if(_0x307367===_0x59a33a)break;else _0x5e7570['push'](_0x5e7570['shift']());}catch(_0x1e100c){_0x5e7570['push'](_0x5e7570['shift']());}}}(_0x2a37,0x4416b));import{Plugin as _0x4ca206}from'ckeditor5/src/core.js';import{Dialog as _0x260926}from'ckeditor5/src/ui.js';import{createElement as _0x2176f1,global as _0x379515,uid as _0x1608db}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x484442}from'./uploadcarecommand.js';import{UploadcareUploadAdapter as _0xdc0d4a}from'./uploadcareuploadadapter.js';function _0x2cad(_0xebfec0,_0x46bfdc){const _0x2a378b=_0x2a37();return _0x2cad=function(_0x2cade7,_0x567e82){_0x2cade7=_0x2cade7-0x1b4;let _0x4cec12=_0x2a378b[_0x2cade7];return _0x4cec12;},_0x2cad(_0xebfec0,_0x46bfdc);}function _0x2a37(){const _0x2583ce=['_initImageProcessingIndicator','uc-config','iconHrefResolver','selection','isOfficialPlugin','_configElement','querySelector','2609800yVgUvs','imageBlock','_initConversion','665796nAFLUy','isRegistered','attributeToAttribute','destroy','conversion','uploadcareImageReplace','locale','elementToAttribute','#uc-icon-arrow-down','\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','downcast','get','requires','insertImage','ucContextId','_ctxElement','uploadcare.pubkey','schema','href','body','editing','for','init','listenTo','document','config','cleanupImage','imageInline','_initConfig','true','uploadcare.uploader','1223217onmLSm','PictureEditing','isPremiumPlugin','replaceImageSource','contentLanguage','commands','remove','7nACfOe','extend','getSelectedElement','data-uc-image-id','render','afterInit','input[uploadcare-file-input]','pluginName','_initSchema','213617VNNYRp','610716sCmKsa','uploader-','appendChild','uploadcare','closeMax','view','removeAttribute','8mpGhDm','upcast','join','execute','209298bRKweV','fromCharCode','configElement','ctxElement','getAttribute','uc-upload-ctx-provider','add','UploadcareEditing','once','editor','model','_initCtx','map','974340FMaWhq','uploadcareImageId','4DSWziL'];_0x2a37=function(){return _0x2583ce;};return _0x2a37();}import{showImageProcessingIndicator as _0x5058a4}from'./utils/editingutils.js';export class UploadcareEditing extends _0x4ca206{[_0x427347(0x1d5)]=null;[_0x427347(0x1e9)]=null;static get[_0x427347(0x207)](){const _0x6869ba=_0x427347;return _0x6869ba(0x1c7);}static get[_0x427347(0x1e6)](){const _0x17eaf4=_0x427347;return[_0x17eaf4(0x1fa),_0xdc0d4a,_0x260926];}static get[_0x427347(0x1d4)](){return!0x0;}static get[_0x427347(0x1fb)](){return!0x0;}[_0x427347(0x1e8)];get[_0x427347(0x1c2)](){const _0x421da1=_0x427347;return this[_0x421da1(0x1d5)];}get[_0x427347(0x1c3)](){const _0x462e59=_0x427347;return this[_0x462e59(0x1e9)];}constructor(_0x8dbe4d){const _0x2d2a13=_0x427347;super(_0x8dbe4d),this[_0x2d2a13(0x1e8)]=_0x1608db();}[_0x427347(0x1f0)](){const _0x5886de=_0x427347,_0x5ad597=this[_0x5886de(0x1c9)];_0x5ad597[_0x5886de(0x1fe)][_0x5886de(0x1c6)](_0x5886de(0x1b8),new _0x484442(_0x5ad597));}[_0x427347(0x205)](){const _0x76761b=_0x427347;this[_0x76761b(0x208)](),this[_0x76761b(0x1d9)](),this[_0x76761b(0x1f6)](),this[_0x76761b(0x1cb)](),this[_0x76761b(0x1d0)](),this[_0x76761b(0x1f1)](this[_0x76761b(0x1c9)],_0x76761b(0x1dd),()=>{const _0x36a5c7=_0x76761b;this[_0x36a5c7(0x1d5)]&&(this[_0x36a5c7(0x1d5)][_0x36a5c7(0x1ff)](),this[_0x36a5c7(0x1d5)]=null),this[_0x36a5c7(0x1e9)]&&(this[_0x36a5c7(0x1e9)][_0x36a5c7(0x1ff)](),this[_0x36a5c7(0x1e9)]=null);const _0x1d187=_0x379515[_0x36a5c7(0x1f2)][_0x36a5c7(0x1d6)](_0x36a5c7(0x206));_0x1d187&&_0x1d187[_0x36a5c7(0x1ff)]();}),async function(_0x59f6f1){const _0x2964db=_0x27d09f([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]),_0x175d5e=0x535f8c3a,_0x1e2dec=0x5358f692^_0x175d5e,_0x4a758e=window[_0x27d09f([0x44,0x61,0x74,0x65])][_0x27d09f([0x6e,0x6f,0x77])](),_0x44f539=_0x59f6f1[_0x27d09f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x58abbb=new window[(_0x27d09f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x583092=>{_0x44f539[_0x27d09f([0x6f,0x6e,0x63,0x65])](_0x27d09f([0x72,0x65,0x61,0x64,0x79]),_0x583092);}),_0x19bbf5={[_0x27d09f([0x6b,0x74,0x79])]:_0x27d09f([0x45,0x43]),[_0x27d09f([0x75,0x73,0x65])]:_0x27d09f([0x73,0x69,0x67]),[_0x27d09f([0x63,0x72,0x76])]:_0x27d09f([0x50,0x2d,0x32,0x35,0x36]),[_0x27d09f([0x78])]:_0x27d09f([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]),[_0x27d09f([0x79])]:_0x27d09f([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]),[_0x27d09f([0x61,0x6c,0x67])]:_0x27d09f([0x45,0x53,0x32,0x35,0x36])},_0x793fb6=_0x44f539[_0x27d09f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x27d09f([0x67,0x65,0x74])](_0x27d09f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x512982(){let _0x5ba707,_0x21deb8=null,_0x245b9e=null;try{if(_0x793fb6==_0x27d09f([0x47,0x50,0x4c]))return _0x27d09f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5ba707=_0x3a669e(),!_0x5ba707)return _0x27d09f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5ba707[_0x27d09f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x245b9e=_0x11b4a3(_0x5ba707[_0x27d09f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5ba707[_0x27d09f([0x6a,0x74,0x69])])),await _0x289baa()?_0x1dbab9()?_0x279ad3()?_0x27d09f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x11e9e6()?(_0x5ba707[_0x27d09f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x27d09f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x21deb8=_0x3e1fa7(_0x27d09f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5ba707[_0x27d09f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x27d09f([0x74,0x72,0x69,0x61,0x6c])&&(_0x21deb8=_0x3e1fa7(_0x27d09f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x31b2fb()):_0x27d09f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x27d09f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x27d09f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x27d09f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x279ad3(){const _0x37c042=[_0x27d09f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x27d09f([0x74,0x72,0x69,0x61,0x6c])][_0x27d09f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ba707[_0x27d09f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4a758e/0x3e8:0xe10*_0x1e2dec;return _0x5ba707[_0x27d09f([0x65,0x78,0x70])]<_0x37c042;}function _0x1dbab9(){const _0x391211=_0x5ba707[_0x27d09f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x391211&&(!!_0x391211[_0x27d09f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27d09f([0x2a]))||!!_0x391211[_0x27d09f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27d09f([0x55,0x50,0x4c,0x43])));}function _0x11e9e6(){const _0x327cc4=_0x2cad,_0x1205ad=_0x5ba707[_0x27d09f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1205ad||0x0==_0x1205ad[_0x27d09f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2eb0ec}=new URL(window[_0x27d09f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x327cc4(0x1ec)]);if(_0x1205ad[_0x27d09f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2eb0ec))return!0x0;const _0x45dc9c=_0x2eb0ec[_0x27d09f([0x73,0x70,0x6c,0x69,0x74])](_0x27d09f([0x2e]));return _0x1205ad[_0x27d09f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2408f2=>_0x2408f2[_0x27d09f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27d09f([0x2a])))[_0x27d09f([0x6d,0x61,0x70])](_0x187ca8=>_0x187ca8[_0x27d09f([0x73,0x70,0x6c,0x69,0x74])](_0x27d09f([0x2e])))[_0x27d09f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bf44a=>_0x1bf44a[_0x27d09f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x45dc9c[_0x27d09f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27d09f([0x6d,0x61,0x70])](_0x2a2675=>Array(_0x45dc9c[_0x27d09f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a2675[_0x27d09f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x27d09f([0x66,0x69,0x6c,0x6c])](_0x2a2675[0x0]===_0x27d09f([0x2a])?_0x27d09f([0x2a]):'')[_0x27d09f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a2675))[_0x27d09f([0x73,0x6f,0x6d,0x65])](_0x5a0a42=>_0x45dc9c[_0x27d09f([0x65,0x76,0x65,0x72,0x79])]((_0x1d0c23,_0x2a954e)=>_0x5a0a42[_0x2a954e]===_0x1d0c23||_0x5a0a42[_0x2a954e]===_0x27d09f([0x2a])));}function _0x31b2fb(){return _0x21deb8&&_0x245b9e?new window[(_0x27d09f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa2bc1f,_0x499890)=>{_0x21deb8[_0x27d09f([0x74,0x68,0x65,0x6e])](_0xa2bc1f,_0x499890),_0x245b9e[_0x27d09f([0x74,0x68,0x65,0x6e])](_0xc729e3=>{_0xc729e3!=_0x27d09f([0x56,0x61,0x6c,0x69,0x64])&&_0xa2bc1f(_0xc729e3);},_0x499890);}):_0x21deb8||_0x245b9e||_0x27d09f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x11b4a3(_0x160e52,_0x4875eb){return new window[(_0x27d09f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x216b2d=>{if(_0x302afd())return _0x216b2d(_0x27d09f([0x56,0x61,0x6c,0x69,0x64]));_0x1f1d8a(),_0x44f539[_0x27d09f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x27d09f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x43e5da=!0x1;const _0x38b20b=_0x1608db();function _0x3d9a46(_0x586f0a){return!!_0x586f0a&&(typeof _0x586f0a===_0x27d09f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x586f0a===_0x27d09f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x586f0a[_0x27d09f([0x74,0x68,0x65,0x6e])]===_0x27d09f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x586f0a[_0x27d09f([0x63,0x61,0x74,0x63,0x68])]===_0x27d09f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1aa25c(_0x198a90){_0x311b9c(_0x198a90)[_0x27d09f([0x74,0x68,0x65,0x6e])](_0x3585de=>{if(!_0x3585de||_0x3585de[_0x27d09f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x27d09f([0x6f,0x6b]))return _0x27d09f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x36a805(_0x1cd12a(_0x38b20b+_0x4875eb))!=_0x3585de[_0x27d09f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x27d09f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x27d09f([0x56,0x61,0x6c,0x69,0x64]);})[_0x27d09f([0x74,0x68,0x65,0x6e])](_0x547b92=>(_0x12d3d3(),_0x547b92),()=>{const _0x410585=_0x1d118a();return null==_0x410585?(_0x12d3d3(),_0x27d09f([0x56,0x61,0x6c,0x69,0x64])):_0x27d09f(_0x4a758e-_0x410585>(0x7753083a^_0x175d5e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x27d09f([0x74,0x68,0x65,0x6e])](_0x216b2d)[_0x27d09f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x216b2d(_0x27d09f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x115941=0x536962ba^_0x175d5e;function _0x12d3d3(){const _0x2eb73b=_0x27d09f([0x6c,0x6c,0x63,0x74,0x2d])+_0x36a805(_0x1cd12a(_0x160e52)),_0x2e5a2d=_0x436443(_0x36a805(window[_0x27d09f([0x4d,0x61,0x74,0x68])][_0x27d09f([0x63,0x65,0x69,0x6c])](_0x4a758e/_0x115941)));window[_0x27d09f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27d09f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2eb73b,_0x2e5a2d);}function _0x1d118a(){const _0x3f7438=_0x27d09f([0x6c,0x6c,0x63,0x74,0x2d])+_0x36a805(_0x1cd12a(_0x160e52)),_0x2fe3fb=window[_0x27d09f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x27d09f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3f7438);return _0x2fe3fb?window[_0x27d09f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x436443(_0x2fe3fb),0x10)*_0x115941:null;}function _0x311b9c(_0x803235){return new window[(_0x27d09f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x410256,_0x454155)=>{_0x803235[_0x27d09f([0x74,0x68,0x65,0x6e])](_0x410256,_0x454155),window[_0x27d09f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x454155,0x535e58fa^_0x175d5e);});}}_0x44f539[_0x27d09f([0x6f,0x6e])](_0x27d09f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x515b4e,_0xe76d07)=>{if(_0xe76d07[0x0]!=_0x160e52)return _0x216b2d(_0x27d09f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xe76d07[0x1]={..._0xe76d07[0x1],[_0x27d09f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x38b20b};},{[_0x27d09f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27d09f([0x68,0x69,0x67,0x68])}),_0x44f539[_0x27d09f([0x6f,0x6e])](_0x27d09f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x266224=>{_0x3d9a46(_0x266224[_0x27d09f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x43e5da=!0x0,_0x1aa25c(_0x266224[_0x27d09f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x27d09f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x27d09f([0x6c,0x6f,0x77])}),_0x58abbb[_0x27d09f([0x74,0x68,0x65,0x6e])](()=>{_0x43e5da||_0x216b2d(_0x27d09f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x302afd(){return _0x44f539[_0x27d09f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27d09f([0x76,0x69,0x65,0x77])][_0x27d09f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x27d09f([0x61,0x75,0x74,0x6f]);}function _0x1f1d8a(){_0x44f539[_0x27d09f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x27d09f([0x76,0x69,0x65,0x77])][_0x27d09f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x27d09f([0x61,0x75,0x74,0x6f]);}}function _0x3e1fa7(_0x2c37f6){const _0x4411c6=[new window[(_0x27d09f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x321c42=>setTimeout(_0x321c42,0x5356b2f6^_0x175d5e)),_0x58abbb[_0x27d09f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x27d09f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x590d6b=>{let _0x1ae196=0x0;_0x44f539[_0x27d09f([0x6d,0x6f,0x64,0x65,0x6c])][_0x27d09f([0x6f,0x6e])](_0x27d09f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x258bee,_0x56e945)=>{_0x56e945[0x0][_0x27d09f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1ae196++,_0x1ae196==(0x535f8dc2^_0x175d5e)&&(_0x590d6b(),_0x258bee[_0x27d09f([0x6f,0x66,0x66])]());});}))];return window[_0x27d09f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x27d09f([0x72,0x61,0x63,0x65])](_0x4411c6)[_0x27d09f([0x74,0x68,0x65,0x6e])](()=>_0x2c37f6);}async function _0x309d74(){await _0x58abbb,_0x44f539[_0x27d09f([0x6d,0x6f,0x64,0x65,0x6c])][_0x27d09f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xaec94,_0x44f539[_0x27d09f([0x6d,0x6f,0x64,0x65,0x6c])][_0x27d09f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xaec94,_0x44f539[_0x27d09f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x27d09f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x362575(_0x4f70e3){const _0x397a1b=_0x4ebd25();_0x44f539[_0x397a1b]=_0x27d09f([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4f70e3,_0x4f70e3!=_0x27d09f([0x56,0x61,0x6c,0x69,0x64])&&_0x309d74();}function _0x4ebd25(){const _0x425054=window[_0x27d09f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x27d09f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x27d09f([0x6e,0x6f,0x77])]())[_0x27d09f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x27d09f([0x2e]),'');let _0x5aa9a2=_0x27d09f([0x68]);for(let _0x1eaf38=0x0;_0x1eaf38<_0x425054[_0x27d09f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1eaf38+=0x2){let _0x45e547=window[_0x27d09f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x425054[_0x27d09f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1eaf38,_0x1eaf38+0x2));_0x45e547>=_0x2964db[_0x27d09f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45e547-=_0x2964db[_0x27d09f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5aa9a2+=_0x2964db[_0x45e547];}return _0x5aa9a2;}function _0x3a669e(){const _0x2a932c=_0x793fb6[_0x27d09f([0x73,0x70,0x6c,0x69,0x74])](_0x27d09f([0x2e]));if(0x3!=_0x2a932c[_0x27d09f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1a5e69(_0x2a932c[0x1]);function _0x1a5e69(_0x5f0187){const _0x17dc64=_0x3e88e9(_0x5f0187);return _0x17dc64&&_0x5bac4a()?_0x17dc64:null;function _0x5bac4a(){const _0x4a67d1=_0x17dc64[_0x27d09f([0x6a,0x74,0x69])],_0x3b1d12=window[_0x27d09f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4a67d1[_0x27d09f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4a67d1[_0x27d09f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5b6f6d={..._0x17dc64,[_0x27d09f([0x6a,0x74,0x69])]:_0x4a67d1[_0x27d09f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4a67d1[_0x27d09f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5b6f6d[_0x27d09f([0x76,0x63])],_0x1cd12a(_0x5b6f6d)==_0x3b1d12;}}}async function _0x289baa(){let _0x2aa522=!0x0;try{const _0x1cdcb7=_0x793fb6[_0x27d09f([0x73,0x70,0x6c,0x69,0x74])](_0x27d09f([0x2e])),[_0x5ec165,_0x39b709,_0x318fd5]=_0x1cdcb7;return _0x5b076f(_0x5ec165),await _0x5a2655(_0x5ec165,_0x39b709,_0x318fd5),_0x2aa522;}catch{return!0x1;}function _0x5b076f(_0x1f2a17){const _0x12534c=_0x3e88e9(_0x1f2a17);_0x12534c&&_0x12534c[_0x27d09f([0x61,0x6c,0x67])]==_0x27d09f([0x45,0x53,0x32,0x35,0x36])||(_0x2aa522=!0x1);}async function _0x5a2655(_0x431660,_0x58d7b3,_0x178f90){const _0x5b106a=window[_0x27d09f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x27d09f([0x66,0x72,0x6f,0x6d])](_0x530baa(_0x178f90),_0x5bd1b9=>_0x5bd1b9[_0x27d09f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x56313e=new window[(_0x27d09f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x27d09f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x431660+_0x27d09f([0x2e])+_0x58d7b3),_0x3059db=window[_0x27d09f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x27d09f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3059db)return;const _0x48c9f4=await _0x3059db[_0x27d09f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x27d09f([0x6a,0x77,0x6b]),_0x19bbf5,{[_0x27d09f([0x6e,0x61,0x6d,0x65])]:_0x27d09f([0x45,0x43,0x44,0x53,0x41]),[_0x27d09f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x27d09f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x27d09f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3059db[_0x27d09f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x27d09f([0x6e,0x61,0x6d,0x65])]:_0x27d09f([0x45,0x43,0x44,0x53,0x41]),[_0x27d09f([0x68,0x61,0x73,0x68])]:{[_0x27d09f([0x6e,0x61,0x6d,0x65])]:_0x27d09f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x48c9f4,_0x5b106a,_0x56313e)||(_0x2aa522=!0x1);}}function _0x3e88e9(_0x11a056){return _0x11a056[_0x27d09f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x27d09f([0x65,0x79]))?JSON[_0x27d09f([0x70,0x61,0x72,0x73,0x65])](_0x530baa(_0x11a056)):null;}function _0x530baa(_0x2746ce){return window[_0x27d09f([0x61,0x74,0x6f,0x62])](_0x2746ce[_0x27d09f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x27d09f([0x2b]))[_0x27d09f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x27d09f([0x2f])));}function _0x1cd12a(_0x382075){let _0x49fdac=0x1505;function _0x5537ee(_0x5e3f7f){for(let _0x55fb49=0x0;_0x55fb49<_0x5e3f7f[_0x27d09f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x55fb49++){const _0x478862=_0x5e3f7f[_0x27d09f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x55fb49);_0x49fdac=(_0x49fdac<<0x5)+_0x49fdac+_0x478862,_0x49fdac&=_0x49fdac;}}function _0x186e7b(_0x565d46){Array[_0x27d09f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x565d46)?_0x565d46[_0x27d09f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x186e7b):_0x565d46&&typeof _0x565d46==_0x27d09f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x27d09f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x565d46)[_0x27d09f([0x73,0x6f,0x72,0x74])]()[_0x27d09f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc7595,_0x3d9640])=>{_0x5537ee(_0xc7595),_0x186e7b(_0x3d9640);}):_0x5537ee(window[_0x27d09f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x565d46));}return _0x186e7b(_0x382075),_0x49fdac>>>0x0;}function _0x36a805(_0x26fc71){return _0x26fc71[_0x27d09f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x27d09f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x27d09f([0x30]));}function _0x436443(_0x1d86bf){return _0x1d86bf[_0x27d09f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x27d09f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x27d09f([0x6a,0x6f,0x69,0x6e])]('');}function _0xaec94(){}function _0x27d09f(_0x15b989){const _0x4ec9dd=_0x2cad;return _0x15b989[_0x4ec9dd(0x1cc)](_0x3a1f23=>String[_0x4ec9dd(0x1c1)](_0x3a1f23))[_0x4ec9dd(0x1be)]('');}_0x362575(await _0x512982());}(this);}[_0x427347(0x208)](){const _0x42796a=_0x427347,_0x311e14=this[_0x42796a(0x1c9)][_0x42796a(0x1ca)][_0x42796a(0x1eb)];_0x311e14[_0x42796a(0x1db)](_0x42796a(0x1d8))&&_0x311e14[_0x42796a(0x201)](_0x42796a(0x1d8),{'allowAttributes':[_0x42796a(0x1ce)]}),_0x311e14[_0x42796a(0x1db)](_0x42796a(0x1f5))&&_0x311e14[_0x42796a(0x201)](_0x42796a(0x1f5),{'allowAttributes':[_0x42796a(0x1ce)]});}[_0x427347(0x1d9)](){const _0x56fdff=_0x427347,_0xe8c4a3=this[_0x56fdff(0x1c9)];_0xe8c4a3[_0x56fdff(0x1de)][_0x56fdff(0x1ef)](_0x56fdff(0x1e4))[_0x56fdff(0x1dc)]({'model':_0x56fdff(0x1ce),'view':_0x56fdff(0x203)}),_0xe8c4a3[_0x56fdff(0x1de)][_0x56fdff(0x1ef)](_0x56fdff(0x1bd))[_0x56fdff(0x1e1)]({'model':{'key':_0x56fdff(0x1ce),'value':_0x5c6252=>_0x5c6252[_0x56fdff(0x1c4)](_0x56fdff(0x203))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x37afed=_0xe8c4a3[_0x56fdff(0x1fe)][_0x56fdff(0x1e5)](_0x56fdff(0x1fc));_0x37afed&&this[_0x56fdff(0x1f1)](_0x37afed,_0x56fdff(0x1f4),(_0x21bdfe,[_0x1b8089,_0x1346f3])=>{const _0x45e77f=_0x56fdff;_0x1b8089[_0x45e77f(0x1bb)](_0x45e77f(0x1ce),_0x1346f3);});}[_0x427347(0x1f6)](){const _0x585397=_0x427347,_0x553082=this[_0x585397(0x1c9)][_0x585397(0x1f3)][_0x585397(0x1e5)](_0x585397(0x1f8))||{},_0x3936e4=this[_0x585397(0x1c9)][_0x585397(0x1f3)][_0x585397(0x1e5)](_0x585397(0x1ea))||'';this[_0x585397(0x1d5)]=_0x2176f1(_0x379515[_0x585397(0x1f2)],_0x585397(0x1d1),{..._0x553082,'pubkey':_0x3936e4,'ctx-name':_0x585397(0x1b6)+this[_0x585397(0x1e8)],'sourceList':'','imgOnly':_0x585397(0x1f7),'removeCopyright':_0x585397(0x1f7),'localeName':this[_0x585397(0x1c9)][_0x585397(0x1e0)][_0x585397(0x1fd)],'externalSourcesEmbedCss':_0x585397(0x1e3)}),this[_0x585397(0x1d5)][_0x585397(0x1d2)]=_0x41ab2d=>{const _0x38e31b=_0x585397;if(_0x38e31b(0x1b9)==_0x41ab2d)return _0x38e31b(0x1e2);},_0x379515[_0x585397(0x1f2)][_0x585397(0x1ed)][_0x585397(0x1b7)](this[_0x585397(0x1d5)]);}[_0x427347(0x1cb)](){const _0x15bd6e=_0x427347;this[_0x15bd6e(0x1e9)]=_0x2176f1(_0x379515[_0x15bd6e(0x1f2)],_0x15bd6e(0x1c5),{'ctx-name':_0x15bd6e(0x1b6)+this[_0x15bd6e(0x1e8)]}),_0x379515[_0x15bd6e(0x1f2)][_0x15bd6e(0x1ed)][_0x15bd6e(0x1b7)](this[_0x15bd6e(0x1e9)]);}[_0x427347(0x1d0)](){const _0x5cb918=_0x427347,_0x1123d7=this[_0x5cb918(0x1c9)][_0x5cb918(0x1fe)][_0x5cb918(0x1e5)](_0x5cb918(0x1e7));_0x1123d7&&this[_0x5cb918(0x1f1)](_0x1123d7,_0x5cb918(0x1bf),()=>{const _0x4c099e=_0x5cb918,_0x208a45=this[_0x4c099e(0x1c9)][_0x4c099e(0x1ca)][_0x4c099e(0x1f2)][_0x4c099e(0x1d3)][_0x4c099e(0x202)]();_0x208a45&&_0x208a45[_0x4c099e(0x1c4)](_0x4c099e(0x1ce))&&this[_0x4c099e(0x1c9)][_0x4c099e(0x1ee)][_0x4c099e(0x1ba)][_0x4c099e(0x1c8)](_0x4c099e(0x204),()=>{const _0x5a8b1a=_0x4c099e;_0x5058a4(this[_0x5a8b1a(0x1c9)],_0x208a45);});});const _0x23bbc6=this[_0x5cb918(0x1c9)][_0x5cb918(0x1fe)][_0x5cb918(0x1e5)](_0x5cb918(0x1df));_0x23bbc6&&this[_0x5cb918(0x1f1)](_0x23bbc6,_0x5cb918(0x1bf),()=>{const _0x4ee5ff=_0x5cb918,_0x5a8675=this[_0x4ee5ff(0x1c9)][_0x4ee5ff(0x1ca)][_0x4ee5ff(0x1f2)][_0x4ee5ff(0x1d3)][_0x4ee5ff(0x202)]();_0x5a8675&&_0x5a8675[_0x4ee5ff(0x1c4)](_0x4ee5ff(0x1ce))&&this[_0x4ee5ff(0x1c9)][_0x4ee5ff(0x1ee)][_0x4ee5ff(0x1ba)][_0x4ee5ff(0x1c8)](_0x4ee5ff(0x204),()=>{const _0x4595af=_0x4ee5ff;_0x5058a4(this[_0x4595af(0x1c9)],_0x5a8675);});});}}
23
+ const _0x19a599=_0x13bf;(function(_0x229d0f,_0xb572d1){const _0x33c318=_0x13bf,_0x1cdac9=_0x229d0f();while(!![]){try{const _0x21c672=-parseInt(_0x33c318(0x19c))/0x1+parseInt(_0x33c318(0x185))/0x2*(parseInt(_0x33c318(0x17c))/0x3)+-parseInt(_0x33c318(0x1a2))/0x4*(parseInt(_0x33c318(0x1be))/0x5)+parseInt(_0x33c318(0x186))/0x6*(parseInt(_0x33c318(0x1ac))/0x7)+-parseInt(_0x33c318(0x1bf))/0x8+parseInt(_0x33c318(0x18b))/0x9+parseInt(_0x33c318(0x1c4))/0xa;if(_0x21c672===_0xb572d1)break;else _0x1cdac9['push'](_0x1cdac9['shift']());}catch(_0x28766c){_0x1cdac9['push'](_0x1cdac9['shift']());}}}(_0x4c00,0x61b97));import{Plugin as _0x3d0b36}from'ckeditor5/src/core.js';import{Dialog as _0x488f88}from'ckeditor5/src/ui.js';function _0x13bf(_0xd8fdff,_0x5dd410){const _0x4c00e3=_0x4c00();return _0x13bf=function(_0x13bfb0,_0x19b0c1){_0x13bfb0=_0x13bfb0-0x17c;let _0x2ac5b4=_0x4c00e3[_0x13bfb0];return _0x2ac5b4;},_0x13bf(_0xd8fdff,_0x5dd410);}import{createElement as _0xe8db05,global as _0x217cf7,uid as _0x26edbf}from'ckeditor5/src/utils.js';import{UploadcareCommand as _0x2bcd93}from'./uploadcarecommand.js';function _0x4c00(){const _0xd2b01a=['uploadcare.pubkey','fromCharCode','getAttribute','locale','commands','querySelector','ctxElement','\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','57063FSKDFq','destroy','insertImage','once','_ctxElement','input[uploadcare-file-input]','selection','uploadcareImageReplace','for','54tDgZvG','627936ZhYuXZ','body','elementToAttribute','contentLanguage','requires','3796821uErnQv','_initConfig','downcast','config','extend','editor','render','uploader-','replaceImageSource','afterInit','join','uploadcare.uploader','_initCtx','pluginName','get','uploadcareImageId','getSelectedElement','94156DBaOYF','add','isOfficialPlugin','listenTo','attributeToAttribute','configElement','256268OMYBtL','_initSchema','uc-config','href','removeAttribute','cleanupImage','init','_configElement','editing','model','14nEqQhb','UploadcareEditing','uploadcare','document','uc-upload-ctx-provider','execute','view','schema','ucContextId','conversion','_initConversion','map','data-uc-image-id','imageInline','appendChild','#uc-icon-arrow-down','closeMax','remove','55VPhyjt','934544UnEfEv','upcast','true','_initImageProcessingIndicator','imageBlock','1712420PFMNKT','isRegistered','PictureEditing','isPremiumPlugin','iconHrefResolver'];_0x4c00=function(){return _0xd2b01a;};return _0x4c00();}import{UploadcareUploadAdapter as _0x391ec8}from'./uploadcareuploadadapter.js';import{showImageProcessingIndicator as _0x3bc4a6}from'./utils/editingutils.js';export class UploadcareEditing extends _0x3d0b36{[_0x19a599(0x1a9)]=null;[_0x19a599(0x180)]=null;static get[_0x19a599(0x198)](){const _0x30d28a=_0x19a599;return _0x30d28a(0x1ad);}static get[_0x19a599(0x18a)](){const _0x4bc600=_0x19a599;return[_0x4bc600(0x1c6),_0x391ec8,_0x488f88];}static get[_0x19a599(0x19e)](){return!0x0;}static get[_0x19a599(0x1c7)](){return!0x0;}[_0x19a599(0x1b4)];get[_0x19a599(0x1a1)](){const _0x427f46=_0x19a599;return this[_0x427f46(0x1a9)];}get[_0x19a599(0x1cf)](){const _0x1472d0=_0x19a599;return this[_0x1472d0(0x180)];}constructor(_0x55deda){const _0x3fc9f3=_0x19a599;super(_0x55deda),this[_0x3fc9f3(0x1b4)]=_0x26edbf();}[_0x19a599(0x1a8)](){const _0x18e3be=_0x19a599,_0x56d2eb=this[_0x18e3be(0x190)];_0x56d2eb[_0x18e3be(0x1cd)][_0x18e3be(0x19d)](_0x18e3be(0x1ae),new _0x2bcd93(_0x56d2eb));}[_0x19a599(0x194)](){const _0x29dc43=_0x19a599;this[_0x29dc43(0x1a3)](),this[_0x29dc43(0x1b6)](),this[_0x29dc43(0x18c)](),this[_0x29dc43(0x197)](),this[_0x29dc43(0x1c2)](),this[_0x29dc43(0x19f)](this[_0x29dc43(0x190)],_0x29dc43(0x17d),()=>{const _0x3aa619=_0x29dc43;this[_0x3aa619(0x1a9)]&&(this[_0x3aa619(0x1a9)][_0x3aa619(0x1bd)](),this[_0x3aa619(0x1a9)]=null),this[_0x3aa619(0x180)]&&(this[_0x3aa619(0x180)][_0x3aa619(0x1bd)](),this[_0x3aa619(0x180)]=null);const _0x520e87=_0x217cf7[_0x3aa619(0x1af)][_0x3aa619(0x1ce)](_0x3aa619(0x181));_0x520e87&&_0x520e87[_0x3aa619(0x1bd)]();}),async function(_0x59841b){const _0x5c0835=_0x12ca9e([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]),_0x435672=0x535f8c3a,_0x1ad9a2=0x5358f6e2^_0x435672,_0x12ff71=window[_0x12ca9e([0x44,0x61,0x74,0x65])][_0x12ca9e([0x6e,0x6f,0x77])](),_0x2675b1=_0x59841b[_0x12ca9e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x275acb=new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15b805=>{_0x2675b1[_0x12ca9e([0x6f,0x6e,0x63,0x65])](_0x12ca9e([0x72,0x65,0x61,0x64,0x79]),_0x15b805);}),_0x549d4a={[_0x12ca9e([0x6b,0x74,0x79])]:_0x12ca9e([0x45,0x43]),[_0x12ca9e([0x75,0x73,0x65])]:_0x12ca9e([0x73,0x69,0x67]),[_0x12ca9e([0x63,0x72,0x76])]:_0x12ca9e([0x50,0x2d,0x32,0x35,0x36]),[_0x12ca9e([0x78])]:_0x12ca9e([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]),[_0x12ca9e([0x79])]:_0x12ca9e([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]),[_0x12ca9e([0x61,0x6c,0x67])]:_0x12ca9e([0x45,0x53,0x32,0x35,0x36])},_0x4ace45=_0x2675b1[_0x12ca9e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x12ca9e([0x67,0x65,0x74])](_0x12ca9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x7d293e(){let _0x4bd886,_0x542939=null,_0x51f7c7=null;try{if(_0x4ace45==_0x12ca9e([0x47,0x50,0x4c]))return _0x12ca9e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4bd886=_0x5b42cd(),!_0x4bd886)return _0x12ca9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4bd886[_0x12ca9e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x51f7c7=_0x1a2ecc(_0x4bd886[_0x12ca9e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4bd886[_0x12ca9e([0x6a,0x74,0x69])])),await _0x4d16e3()?_0x186051()?_0x467b35()?_0x12ca9e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21f614()?(_0x4bd886[_0x12ca9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12ca9e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x542939=_0x1e743e(_0x12ca9e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4bd886[_0x12ca9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x12ca9e([0x74,0x72,0x69,0x61,0x6c])&&(_0x542939=_0x1e743e(_0x12ca9e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x328188()):_0x12ca9e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x12ca9e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x12ca9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x12ca9e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x467b35(){const _0x1ed3ef=[_0x12ca9e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x12ca9e([0x74,0x72,0x69,0x61,0x6c])][_0x12ca9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bd886[_0x12ca9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x12ff71/0x3e8:0xe10*_0x1ad9a2;return _0x4bd886[_0x12ca9e([0x65,0x78,0x70])]<_0x1ed3ef;}function _0x186051(){const _0xd393f6=_0x4bd886[_0x12ca9e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd393f6&&(!!_0xd393f6[_0x12ca9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ca9e([0x2a]))||!!_0xd393f6[_0x12ca9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ca9e([0x55,0x50,0x4c,0x43])));}function _0x21f614(){const _0x2a3388=_0x13bf,_0x1415b4=_0x4bd886[_0x12ca9e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1415b4||0x0==_0x1415b4[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xf5a032}=new URL(window[_0x12ca9e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x2a3388(0x1a5)]);if(_0x1415b4[_0x12ca9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf5a032))return!0x0;const _0x3c405f=_0xf5a032[_0x12ca9e([0x73,0x70,0x6c,0x69,0x74])](_0x12ca9e([0x2e]));return _0x1415b4[_0x12ca9e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5e4233=>_0x5e4233[_0x12ca9e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12ca9e([0x2a])))[_0x12ca9e([0x6d,0x61,0x70])](_0x346015=>_0x346015[_0x12ca9e([0x73,0x70,0x6c,0x69,0x74])](_0x12ca9e([0x2e])))[_0x12ca9e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x15458e=>_0x15458e[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c405f[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12ca9e([0x6d,0x61,0x70])](_0x17f431=>Array(_0x3c405f[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x17f431[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x12ca9e([0x66,0x69,0x6c,0x6c])](_0x17f431[0x0]===_0x12ca9e([0x2a])?_0x12ca9e([0x2a]):'')[_0x12ca9e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x17f431))[_0x12ca9e([0x73,0x6f,0x6d,0x65])](_0x35f57c=>_0x3c405f[_0x12ca9e([0x65,0x76,0x65,0x72,0x79])]((_0x5cbeca,_0x36ba5e)=>_0x35f57c[_0x36ba5e]===_0x5cbeca||_0x35f57c[_0x36ba5e]===_0x12ca9e([0x2a])));}function _0x328188(){return _0x542939&&_0x51f7c7?new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xa21cdb,_0x466290)=>{_0x542939[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0xa21cdb,_0x466290),_0x51f7c7[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0x1fe664=>{_0x1fe664!=_0x12ca9e([0x56,0x61,0x6c,0x69,0x64])&&_0xa21cdb(_0x1fe664);},_0x466290);}):_0x542939||_0x51f7c7||_0x12ca9e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a2ecc(_0x534fc4,_0x437314){return new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xce4f2=>{if(_0x3885fd())return _0xce4f2(_0x12ca9e([0x56,0x61,0x6c,0x69,0x64]));_0x5319b6(),_0x2675b1[_0x12ca9e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x12ca9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x29b627=!0x1;const _0x589bcf=_0x26edbf();function _0x248888(_0x47d4db){return!!_0x47d4db&&(typeof _0x47d4db===_0x12ca9e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47d4db===_0x12ca9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47d4db[_0x12ca9e([0x74,0x68,0x65,0x6e])]===_0x12ca9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47d4db[_0x12ca9e([0x63,0x61,0x74,0x63,0x68])]===_0x12ca9e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3ac8af(_0x26cd61){_0x5623b1(_0x26cd61)[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0x1ade2f=>{if(!_0x1ade2f||_0x1ade2f[_0x12ca9e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x12ca9e([0x6f,0x6b]))return _0x12ca9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2b0022(_0x15ea34(_0x589bcf+_0x437314))!=_0x1ade2f[_0x12ca9e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x12ca9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x12ca9e([0x56,0x61,0x6c,0x69,0x64]);})[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0x387605=>(_0x44a219(),_0x387605),()=>{const _0x51631d=_0x3ef930();return null==_0x51631d?(_0x44a219(),_0x12ca9e([0x56,0x61,0x6c,0x69,0x64])):_0x12ca9e(_0x12ff71-_0x51631d>(0x7753083a^_0x435672)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0xce4f2)[_0x12ca9e([0x63,0x61,0x74,0x63,0x68])](()=>{_0xce4f2(_0x12ca9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1ee75d=0x536962ba^_0x435672;function _0x44a219(){const _0x1045e6=_0x12ca9e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b0022(_0x15ea34(_0x534fc4)),_0x2cfba6=_0x5e77e9(_0x2b0022(window[_0x12ca9e([0x4d,0x61,0x74,0x68])][_0x12ca9e([0x63,0x65,0x69,0x6c])](_0x12ff71/_0x1ee75d)));window[_0x12ca9e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12ca9e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1045e6,_0x2cfba6);}function _0x3ef930(){const _0x1c7a3e=_0x12ca9e([0x6c,0x6c,0x63,0x74,0x2d])+_0x2b0022(_0x15ea34(_0x534fc4)),_0xeb9280=window[_0x12ca9e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x12ca9e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1c7a3e);return _0xeb9280?window[_0x12ca9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5e77e9(_0xeb9280),0x10)*_0x1ee75d:null;}function _0x5623b1(_0x543218){return new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a7633,_0x307a1e)=>{_0x543218[_0x12ca9e([0x74,0x68,0x65,0x6e])](_0x4a7633,_0x307a1e),window[_0x12ca9e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x307a1e,0x535e58fa^_0x435672);});}}_0x2675b1[_0x12ca9e([0x6f,0x6e])](_0x12ca9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bd4f4,_0x54fceb)=>{if(_0x54fceb[0x0]!=_0x534fc4)return _0xce4f2(_0x12ca9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x54fceb[0x1]={..._0x54fceb[0x1],[_0x12ca9e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x589bcf};},{[_0x12ca9e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12ca9e([0x68,0x69,0x67,0x68])}),_0x2675b1[_0x12ca9e([0x6f,0x6e])](_0x12ca9e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x345391=>{_0x248888(_0x345391[_0x12ca9e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x29b627=!0x0,_0x3ac8af(_0x345391[_0x12ca9e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x12ca9e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x12ca9e([0x6c,0x6f,0x77])}),_0x275acb[_0x12ca9e([0x74,0x68,0x65,0x6e])](()=>{_0x29b627||_0xce4f2(_0x12ca9e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3885fd(){return _0x2675b1[_0x12ca9e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12ca9e([0x76,0x69,0x65,0x77])][_0x12ca9e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x12ca9e([0x61,0x75,0x74,0x6f]);}function _0x5319b6(){_0x2675b1[_0x12ca9e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x12ca9e([0x76,0x69,0x65,0x77])][_0x12ca9e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x12ca9e([0x61,0x75,0x74,0x6f]);}}function _0x1e743e(_0x1b70ab){const _0xd37e75=[new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f2cd2=>setTimeout(_0x3f2cd2,0x5356b2f6^_0x435672)),_0x275acb[_0x12ca9e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fb944=>{let _0x3b2515=0x0;_0x2675b1[_0x12ca9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ca9e([0x6f,0x6e])](_0x12ca9e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x527857,_0x508e10)=>{_0x508e10[0x0][_0x12ca9e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3b2515++,_0x3b2515==(0x535f8dc2^_0x435672)&&(_0x1fb944(),_0x527857[_0x12ca9e([0x6f,0x66,0x66])]());});}))];return window[_0x12ca9e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x12ca9e([0x72,0x61,0x63,0x65])](_0xd37e75)[_0x12ca9e([0x74,0x68,0x65,0x6e])](()=>_0x1b70ab);}async function _0x32f291(){await _0x275acb,_0x2675b1[_0x12ca9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ca9e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x456228,_0x2675b1[_0x12ca9e([0x6d,0x6f,0x64,0x65,0x6c])][_0x12ca9e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x456228,_0x2675b1[_0x12ca9e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x12ca9e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ccb7e(_0x340c34){const _0x312b54=_0x3fb0ea();_0x2675b1[_0x312b54]=_0x12ca9e([0x75,0x70,0x6c,0x6f,0x61,0x64,0x63,0x61,0x72,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x340c34,_0x340c34!=_0x12ca9e([0x56,0x61,0x6c,0x69,0x64])&&_0x32f291();}function _0x3fb0ea(){const _0x15ce7a=window[_0x12ca9e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x12ca9e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x12ca9e([0x6e,0x6f,0x77])]())[_0x12ca9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x12ca9e([0x2e]),'');let _0x6f8f1b=_0x12ca9e([0x68]);for(let _0xf9b84e=0x0;_0xf9b84e<_0x15ce7a[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xf9b84e+=0x2){let _0x3086fc=window[_0x12ca9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15ce7a[_0x12ca9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xf9b84e,_0xf9b84e+0x2));_0x3086fc>=_0x5c0835[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3086fc-=_0x5c0835[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6f8f1b+=_0x5c0835[_0x3086fc];}return _0x6f8f1b;}function _0x5b42cd(){const _0x5bbfc3=_0x4ace45[_0x12ca9e([0x73,0x70,0x6c,0x69,0x74])](_0x12ca9e([0x2e]));if(0x3!=_0x5bbfc3[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xd2a0d2(_0x5bbfc3[0x1]);function _0xd2a0d2(_0x335711){const _0x51f06f=_0x45c395(_0x335711);return _0x51f06f&&_0xbb7352()?_0x51f06f:null;function _0xbb7352(){const _0x75db2f=_0x51f06f[_0x12ca9e([0x6a,0x74,0x69])],_0x2d56a5=window[_0x12ca9e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x75db2f[_0x12ca9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x75db2f[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x305bdb={..._0x51f06f,[_0x12ca9e([0x6a,0x74,0x69])]:_0x75db2f[_0x12ca9e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x75db2f[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x305bdb[_0x12ca9e([0x76,0x63])],_0x15ea34(_0x305bdb)==_0x2d56a5;}}}async function _0x4d16e3(){let _0x25ff98=!0x0;try{const _0x820679=_0x4ace45[_0x12ca9e([0x73,0x70,0x6c,0x69,0x74])](_0x12ca9e([0x2e])),[_0xca8d45,_0x9d69ff,_0x370504]=_0x820679;return _0x429ec5(_0xca8d45),await _0x5be7cb(_0xca8d45,_0x9d69ff,_0x370504),_0x25ff98;}catch{return!0x1;}function _0x429ec5(_0x2ffe6b){const _0x3f34a5=_0x45c395(_0x2ffe6b);_0x3f34a5&&_0x3f34a5[_0x12ca9e([0x61,0x6c,0x67])]==_0x12ca9e([0x45,0x53,0x32,0x35,0x36])||(_0x25ff98=!0x1);}async function _0x5be7cb(_0x1a1d5e,_0x878002,_0x2b898e){const _0x28fb9a=window[_0x12ca9e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x12ca9e([0x66,0x72,0x6f,0x6d])](_0x477622(_0x2b898e),_0x4f6a12=>_0x4f6a12[_0x12ca9e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3620f6=new window[(_0x12ca9e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x12ca9e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1a1d5e+_0x12ca9e([0x2e])+_0x878002),_0x28f8da=window[_0x12ca9e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x12ca9e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28f8da)return;const _0x2f0fdc=await _0x28f8da[_0x12ca9e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x12ca9e([0x6a,0x77,0x6b]),_0x549d4a,{[_0x12ca9e([0x6e,0x61,0x6d,0x65])]:_0x12ca9e([0x45,0x43,0x44,0x53,0x41]),[_0x12ca9e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x12ca9e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x12ca9e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28f8da[_0x12ca9e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x12ca9e([0x6e,0x61,0x6d,0x65])]:_0x12ca9e([0x45,0x43,0x44,0x53,0x41]),[_0x12ca9e([0x68,0x61,0x73,0x68])]:{[_0x12ca9e([0x6e,0x61,0x6d,0x65])]:_0x12ca9e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2f0fdc,_0x28fb9a,_0x3620f6)||(_0x25ff98=!0x1);}}function _0x45c395(_0x4177ce){return _0x4177ce[_0x12ca9e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x12ca9e([0x65,0x79]))?JSON[_0x12ca9e([0x70,0x61,0x72,0x73,0x65])](_0x477622(_0x4177ce)):null;}function _0x477622(_0x38a555){return window[_0x12ca9e([0x61,0x74,0x6f,0x62])](_0x38a555[_0x12ca9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x12ca9e([0x2b]))[_0x12ca9e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x12ca9e([0x2f])));}function _0x15ea34(_0x365c51){let _0x4a6797=0x1505;function _0x21d58b(_0x2c4e6c){for(let _0x36d3e9=0x0;_0x36d3e9<_0x2c4e6c[_0x12ca9e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36d3e9++){const _0x1f0b2b=_0x2c4e6c[_0x12ca9e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36d3e9);_0x4a6797=(_0x4a6797<<0x5)+_0x4a6797+_0x1f0b2b,_0x4a6797&=_0x4a6797;}}function _0x2398b3(_0x5abd03){Array[_0x12ca9e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5abd03)?_0x5abd03[_0x12ca9e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2398b3):_0x5abd03&&typeof _0x5abd03==_0x12ca9e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x12ca9e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5abd03)[_0x12ca9e([0x73,0x6f,0x72,0x74])]()[_0x12ca9e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x105176,_0x59b3de])=>{_0x21d58b(_0x105176),_0x2398b3(_0x59b3de);}):_0x21d58b(window[_0x12ca9e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5abd03));}return _0x2398b3(_0x365c51),_0x4a6797>>>0x0;}function _0x2b0022(_0x42b4c8){return _0x42b4c8[_0x12ca9e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x12ca9e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x12ca9e([0x30]));}function _0x5e77e9(_0x5da592){return _0x5da592[_0x12ca9e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x12ca9e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x12ca9e([0x6a,0x6f,0x69,0x6e])]('');}function _0x456228(){}function _0x12ca9e(_0x22dec8){const _0x256419=_0x13bf;return _0x22dec8[_0x256419(0x1b7)](_0x4ea99f=>String[_0x256419(0x1ca)](_0x4ea99f))[_0x256419(0x195)]('');}_0x3ccb7e(await _0x7d293e());}(this);}[_0x19a599(0x1a3)](){const _0x4ae8a5=_0x19a599,_0x4a1936=this[_0x4ae8a5(0x190)][_0x4ae8a5(0x1ab)][_0x4ae8a5(0x1b3)];_0x4a1936[_0x4ae8a5(0x1c5)](_0x4ae8a5(0x1c3))&&_0x4a1936[_0x4ae8a5(0x18f)](_0x4ae8a5(0x1c3),{'allowAttributes':[_0x4ae8a5(0x19a)]}),_0x4a1936[_0x4ae8a5(0x1c5)](_0x4ae8a5(0x1b9))&&_0x4a1936[_0x4ae8a5(0x18f)](_0x4ae8a5(0x1b9),{'allowAttributes':[_0x4ae8a5(0x19a)]});}[_0x19a599(0x1b6)](){const _0x558e4c=_0x19a599,_0x4c8008=this[_0x558e4c(0x190)];_0x4c8008[_0x558e4c(0x1b5)][_0x558e4c(0x184)](_0x558e4c(0x18d))[_0x558e4c(0x1a0)]({'model':_0x558e4c(0x19a),'view':_0x558e4c(0x1b8)}),_0x4c8008[_0x558e4c(0x1b5)][_0x558e4c(0x184)](_0x558e4c(0x1c0))[_0x558e4c(0x188)]({'model':{'key':_0x558e4c(0x19a),'value':_0x4929ed=>_0x4929ed[_0x558e4c(0x1cb)](_0x558e4c(0x1b8))},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x33edf5=_0x4c8008[_0x558e4c(0x1cd)][_0x558e4c(0x199)](_0x558e4c(0x193));_0x33edf5&&this[_0x558e4c(0x19f)](_0x33edf5,_0x558e4c(0x1a7),(_0x1d518f,[_0x1e6694,_0x16c518])=>{const _0x2764ff=_0x558e4c;_0x1e6694[_0x2764ff(0x1a6)](_0x2764ff(0x19a),_0x16c518);});}[_0x19a599(0x18c)](){const _0x4fbf3c=_0x19a599,_0x4f287d=this[_0x4fbf3c(0x190)][_0x4fbf3c(0x18e)][_0x4fbf3c(0x199)](_0x4fbf3c(0x196))||{},_0x4802bd=this[_0x4fbf3c(0x190)][_0x4fbf3c(0x18e)][_0x4fbf3c(0x199)](_0x4fbf3c(0x1c9))||'';this[_0x4fbf3c(0x1a9)]=_0xe8db05(_0x217cf7[_0x4fbf3c(0x1af)],_0x4fbf3c(0x1a4),{..._0x4f287d,'pubkey':_0x4802bd,'ctx-name':_0x4fbf3c(0x192)+this[_0x4fbf3c(0x1b4)],'sourceList':'','imgOnly':_0x4fbf3c(0x1c1),'removeCopyright':_0x4fbf3c(0x1c1),'localeName':this[_0x4fbf3c(0x190)][_0x4fbf3c(0x1cc)][_0x4fbf3c(0x189)],'externalSourcesEmbedCss':_0x4fbf3c(0x1d0)}),this[_0x4fbf3c(0x1a9)][_0x4fbf3c(0x1c8)]=_0x31814c=>{const _0x252dbe=_0x4fbf3c;if(_0x252dbe(0x1bc)==_0x31814c)return _0x252dbe(0x1bb);},_0x217cf7[_0x4fbf3c(0x1af)][_0x4fbf3c(0x187)][_0x4fbf3c(0x1ba)](this[_0x4fbf3c(0x1a9)]);}[_0x19a599(0x197)](){const _0x59c596=_0x19a599;this[_0x59c596(0x180)]=_0xe8db05(_0x217cf7[_0x59c596(0x1af)],_0x59c596(0x1b0),{'ctx-name':_0x59c596(0x192)+this[_0x59c596(0x1b4)]}),_0x217cf7[_0x59c596(0x1af)][_0x59c596(0x187)][_0x59c596(0x1ba)](this[_0x59c596(0x180)]);}[_0x19a599(0x1c2)](){const _0x2b242f=_0x19a599,_0x2a1d65=this[_0x2b242f(0x190)][_0x2b242f(0x1cd)][_0x2b242f(0x199)](_0x2b242f(0x17e));_0x2a1d65&&this[_0x2b242f(0x19f)](_0x2a1d65,_0x2b242f(0x1b1),()=>{const _0x2ff454=_0x2b242f,_0x2d1f2a=this[_0x2ff454(0x190)][_0x2ff454(0x1ab)][_0x2ff454(0x1af)][_0x2ff454(0x182)][_0x2ff454(0x19b)]();_0x2d1f2a&&_0x2d1f2a[_0x2ff454(0x1cb)](_0x2ff454(0x19a))&&this[_0x2ff454(0x190)][_0x2ff454(0x1aa)][_0x2ff454(0x1b2)][_0x2ff454(0x17f)](_0x2ff454(0x191),()=>{const _0x564736=_0x2ff454;_0x3bc4a6(this[_0x564736(0x190)],_0x2d1f2a);});});const _0x20079a=this[_0x2b242f(0x190)][_0x2b242f(0x1cd)][_0x2b242f(0x199)](_0x2b242f(0x183));_0x20079a&&this[_0x2b242f(0x19f)](_0x20079a,_0x2b242f(0x1b1),()=>{const _0x176f55=_0x2b242f,_0x30e4b4=this[_0x176f55(0x190)][_0x176f55(0x1ab)][_0x176f55(0x1af)][_0x176f55(0x182)][_0x176f55(0x19b)]();_0x30e4b4&&_0x30e4b4[_0x176f55(0x1cb)](_0x176f55(0x19a))&&this[_0x176f55(0x190)][_0x176f55(0x1aa)][_0x176f55(0x1b2)][_0x176f55(0x17f)](_0x176f55(0x191),()=>{const _0x5102d0=_0x176f55;_0x3bc4a6(this[_0x5102d0(0x190)],_0x30e4b4);});});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{global as _0x3056fa,ObservableMixin as _0x34fd01}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x7031d2}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x1fbff9}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x2404ca}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x373025}from'../../utils/uploadutils.js';import{getImageUrls as _0x34352c,getImageDimension as _0x5289e4}from'../../utils/editingutils.js';import{isAncestor as _0x309d39}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
- _0x34fd01(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x586001,_0xb67705,_0x1bae0e){super(),this['_editor']=_0x586001,this['_dialog']=_0xb67705,this['_imageElement']=_0x1bae0e,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 _0x2b3d0d=this['_imageElement'],_0x368e51=_0x2b3d0d['getAttribute']('uploadcareImageId'),_0x5a665a=_0x2b3d0d['getAttribute']('src');if(_0x368e51)await this['_loadImageInfo'](_0x368e51,_0x5a665a);else{if(this['_imageCache']['has'](_0x5a665a)){const _0x4cacb3=this['_imageCache']['get'](_0x5a665a);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4cacb3['url'],this['imageDimension']=_0x4cacb3['dimension'],this['imageId']=_0x4cacb3['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x24c195}=this['_editor'],t=_0x24c195['t'],_0x52bfd0=new _0x2404ca(_0x24c195,this['imageStatus'],this['_attributes']);_0x52bfd0['bind']('status')['to'](this,'imageStatus'),_0x52bfd0['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x52bfd0['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x52bfd0['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x52bfd0,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x1fbff9,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x52bfd0,'position':_0x7031d2['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x52bfd0['focus']();},'onHide':()=>{_0x52bfd0['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x34583d=>!_0x309d39(_0x34583d,_0x52bfd0['element'])}});}['_loadImageInfo'](_0x5e5b48,_0x32b331){return _0x373025['getInfo'](_0x5e5b48,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x32ed6d=>{const {width:_0x363165,height:_0x3e92be}=_0x32ed6d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x32b331,this['imageDimension']={'width':_0x363165,'height':_0x3e92be},this['imageId']=_0x5e5b48;})['catch'](_0x4259d3=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4259d3['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x334d0a,_0x31631f){return this['_getImageAsFile'](_0x334d0a)['then'](_0x1b061f=>_0x373025['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':_0x31631f['signal'],'file':_0x1b061f,'onProgress':_0x1dcd45=>{_0x1dcd45&&_0x1dcd45['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1dcd45['value']));}}))['then'](_0x460b78=>{const {width:_0x196287,height:_0x199cc3}=_0x460b78['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x460b78['cdnUrl'],this['imageDimension']={'width':_0x196287,'height':_0x199cc3},this['imageId']=_0x460b78['uuid'],this['imageUploadProgress']=null;const _0x3939c5=_0x334d0a['getAttribute']('src');this['_imageCache']['set'](_0x3939c5,{'id':_0x460b78['uuid'],'url':_0x460b78['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x5e7062=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x5e7062['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x333224,_0x4839df){_0x333224['on']('apply',(_0x3cd92b,_0x2fc9f7)=>{this['_replaceImage'](_0x4839df,_0x2fc9f7['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x333224['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x333224['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x1020c9,_0x3d7f1d,_0x56ee68){const _0x276f2f=this['_editor'],{width:_0x32171c,height:_0x6dae5b}=_0x5289e4(_0x3d7f1d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2782c8,imageSources:_0x5221df}=_0x34352c(_0x3d7f1d,_0x32171c);_0x276f2f['model']['change'](_0x388208=>{if('$graveyard'===_0x1020c9['root']['rootName']){_0x276f2f['execute']('insertImage',{'imageType':_0x1020c9['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x1020c9['getAttributes']()),'uploadcareImageId':_0x56ee68,'src':_0x2782c8,'sources':_0x5221df,'width':_0x32171c,'height':_0x6dae5b}});const _0x156e68=_0x1020c9['getChildren']();_0x1020c9=_0x276f2f['model']['document']['selection']['getSelectedElement']();for(const _0x25e471 of _0x156e68)_0x388208['append'](_0x388208['cloneElement'](_0x25e471),_0x1020c9);}else _0x388208['setSelection'](_0x1020c9,'on'),_0x276f2f['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x1020c9['getAttributes']()),'uploadcareImageId':_0x56ee68,'src':_0x2782c8,'sources':_0x5221df,'width':_0x32171c,'height':_0x6dae5b},_0x1020c9);_0x388208['setSelection'](_0x1020c9,'on');});}async['_getImageAsFile'](_0x2b9e67){const _0x6e6912=_0x3056fa['window'],_0x268108=_0x3056fa['document']['location']['href'],_0x437e6e=new _0x6e6912['URL'](_0x2b9e67['getAttribute']('src'),_0x268108);if('data:'===_0x437e6e['protocol']){const _0x298701=_0x437e6e['href']['split'](','),_0x3b5298=_0x298701[0x0]['match'](/:(.*?);/)[0x1],_0xd41ff2=_0x3b5298['split']('/')[0x1],_0xca0ddf=_0x6e6912['atob'](_0x298701[_0x298701['length']-0x1]);let _0x9fbc0=_0xca0ddf['length'];const _0x5609f3=new _0x6e6912['Uint8Array'](_0x9fbc0);for(;_0x9fbc0--;)_0x5609f3[_0x9fbc0]=_0xca0ddf['charCodeAt'](_0x9fbc0);return new _0x6e6912['File']([_0x5609f3],'image.'+_0xd41ff2,{'type':_0x3b5298});}const _0x1c6724=_0x437e6e['href']['split']('/'),_0x2e73e3=_0x1c6724[_0x1c6724['length']-0x1],_0x4907fd=_0x2e73e3['split']('.')[0x1];return _0x6e6912['fetch'](_0x437e6e['href'])['then'](_0x36339a=>_0x36339a['clone']()['blob']())['then'](_0x11a3ec=>new _0x6e6912['File']([_0x11a3ec],_0x2e73e3,{'type':'image/'+_0x4907fd}));}}
23
+ import{global as _0x13e8bc,ObservableMixin as _0x494cce}from'ckeditor5/src/utils.js';import{DialogViewPosition as _0x36ca51}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x2f4c5c}from'ckeditor5/src/icons.js';import{UploadcareImageEditFormView as _0x43d513}from'./uploadcareimageeditformview.js';import{UploadUtils as _0x59a67a}from'../../utils/uploadutils.js';import{getImageUrls as _0x3a0f2d,getImageDimension as _0x44149d}from'../../utils/editingutils.js';import{isAncestor as _0x111d7f}from'../../utils/isancestor.js';export class UploadcareImageEditController extends/* #__PURE__ -- @preserve */
24
+ _0x494cce(){['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x52ee25,_0x2820a8,_0x1e7317){super(),this['_editor']=_0x52ee25,this['_dialog']=_0x2820a8,this['_imageElement']=_0x1e7317,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 _0x1dc9cb=this['_imageElement'],_0x44352e=_0x1dc9cb['getAttribute']('uploadcareImageId'),_0x213181=_0x1dc9cb['getAttribute']('src');if(_0x44352e)await this['_loadImageInfo'](_0x44352e,_0x213181);else{if(this['_imageCache']['has'](_0x213181)){const _0x45efd5=this['_imageCache']['get'](_0x213181);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x45efd5['url'],this['imageDimension']=_0x45efd5['dimension'],this['imageId']=_0x45efd5['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x3aebc9}=this['_editor'],t=_0x3aebc9['t'],_0x4be800=new _0x43d513(_0x3aebc9,this['imageStatus'],this['_attributes']);_0x4be800['bind']('status')['to'](this,'imageStatus'),_0x4be800['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x4be800['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x4be800['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x4be800,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x2f4c5c,'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x4be800,'position':_0x36ca51['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x4be800['focus']();},'onHide':()=>{_0x4be800['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x161b0b=>!_0x111d7f(_0x161b0b,_0x4be800['element'])}});}['_loadImageInfo'](_0x2d6e53,_0x4f5721){return _0x59a67a['getInfo'](_0x2d6e53,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x27815a=>{const {width:_0x574255,height:_0x24bbfd}=_0x27815a['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4f5721,this['imageDimension']={'width':_0x574255,'height':_0x24bbfd},this['imageId']=_0x2d6e53;})['catch'](_0x4977cf=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x4977cf['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0x59eee2,_0x46e17d){return this['_getImageAsFile'](_0x59eee2)['then'](_0x46cf65=>_0x59a67a['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':_0x46e17d['signal'],'file':_0x46cf65,'onProgress':_0x1c0b1a=>{_0x1c0b1a&&_0x1c0b1a['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x1c0b1a['value']));}}))['then'](_0x191ffc=>{const {width:_0x33052b,height:_0xed8c75}=_0x191ffc['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x191ffc['cdnUrl'],this['imageDimension']={'width':_0x33052b,'height':_0xed8c75},this['imageId']=_0x191ffc['uuid'],this['imageUploadProgress']=null;const _0x12b2f4=_0x59eee2['getAttribute']('src');this['_imageCache']['set'](_0x12b2f4,{'id':_0x191ffc['uuid'],'url':_0x191ffc['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x54da63=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x54da63['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x4bc224,_0x48e6c0){_0x4bc224['on']('apply',(_0xb31c23,_0x5d5011)=>{this['_replaceImage'](_0x48e6c0,_0x5d5011['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x4bc224['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x4bc224['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x5a70ca,_0x355d4d,_0x4f0548){const _0xb7860d=this['_editor'],{width:_0x22a0c8,height:_0x1f0efd}=_0x44149d(_0x355d4d,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2b10e6,imageSources:_0x15d1eb}=_0x3a0f2d(_0x355d4d,_0x22a0c8);_0xb7860d['model']['change'](_0x408694=>{if('$graveyard'===_0x5a70ca['root']['rootName']){_0xb7860d['execute']('insertImage',{'imageType':_0x5a70ca['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x5a70ca['getAttributes']()),'uploadcareImageId':_0x4f0548,'src':_0x2b10e6,'sources':_0x15d1eb,'width':_0x22a0c8,'height':_0x1f0efd}});const _0x23da43=_0x5a70ca['getChildren']();_0x5a70ca=_0xb7860d['model']['document']['selection']['getSelectedElement']();for(const _0x3f7d6c of _0x23da43)_0x408694['append'](_0x408694['cloneElement'](_0x3f7d6c),_0x5a70ca);}else _0x408694['setSelection'](_0x5a70ca,'on'),_0xb7860d['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x5a70ca['getAttributes']()),'uploadcareImageId':_0x4f0548,'src':_0x2b10e6,'sources':_0x15d1eb,'width':_0x22a0c8,'height':_0x1f0efd},_0x5a70ca);_0x408694['setSelection'](_0x5a70ca,'on');});}async['_getImageAsFile'](_0x458866){const _0x523c21=_0x13e8bc['window'],_0x5edb56=_0x13e8bc['document']['location']['href'],_0x2671d6=new _0x523c21['URL'](_0x458866['getAttribute']('src'),_0x5edb56);if('data:'===_0x2671d6['protocol']){const _0x2f736d=_0x2671d6['href']['split'](','),_0x55c6e7=_0x2f736d[0x0]['match'](/:(.*?);/)[0x1],_0x2ac2a9=_0x55c6e7['split']('/')[0x1],_0x3b71ad=_0x523c21['atob'](_0x2f736d[_0x2f736d['length']-0x1]);let _0x1c5051=_0x3b71ad['length'];const _0x176bad=new _0x523c21['Uint8Array'](_0x1c5051);for(;_0x1c5051--;)_0x176bad[_0x1c5051]=_0x3b71ad['charCodeAt'](_0x1c5051);return new _0x523c21['File']([_0x176bad],'image.'+_0x2ac2a9,{'type':_0x55c6e7});}const _0x5b7716=_0x2671d6['href']['split']('/'),_0x599f1b=_0x5b7716[_0x5b7716['length']-0x1],_0x5961ac=_0x599f1b['split']('.')[0x1];return _0x523c21['fetch'](_0x2671d6['href'])['then'](_0x54808c=>_0x54808c['clone']()['blob']())['then'](_0x28bdae=>new _0x523c21['File']([_0x28bdae],_0x599f1b,{'type':'image/'+_0x5961ac}));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4a4b(){const _0x2626a1=['6348750iNyAfU','uc-light','6749416sObeap','setTemplate','ck-uploadcare-theme','10885329cPRpnT','1796660krKQRx','53628LQheyp','image-edit','396WGnJju','bindTemplate','12vMbZsA','24whANND','7gODMNL','set','12RkERBx','imageSrc','9JRJYNj','uc-cloud-image-editor','9944209TMIiuW','34292FZWPLU'];_0x4a4b=function(){return _0x2626a1;};return _0x4a4b();}function _0x4b14(_0x3fe128,_0x12d417){const _0x4a4bc5=_0x4a4b();return _0x4b14=function(_0x4b1475,_0x509e99){_0x4b1475=_0x4b1475-0x73;let _0x822b89=_0x4a4bc5[_0x4b1475];return _0x822b89;},_0x4b14(_0x3fe128,_0x12d417);}(function(_0x1ccf71,_0x37bb66){const _0x45338a=_0x4b14,_0x259a27=_0x1ccf71();while(!![]){try{const _0x3861b0=-parseInt(_0x45338a(0x82))/0x1*(-parseInt(_0x45338a(0x87))/0x2)+parseInt(_0x45338a(0x84))/0x3*(parseInt(_0x45338a(0x7a))/0x4)+parseInt(_0x45338a(0x81))/0x5*(-parseInt(_0x45338a(0x75))/0x6)+parseInt(_0x45338a(0x73))/0x7*(parseInt(_0x45338a(0x7d))/0x8)+-parseInt(_0x45338a(0x77))/0x9*(-parseInt(_0x45338a(0x7b))/0xa)+-parseInt(_0x45338a(0x79))/0xb+parseInt(_0x45338a(0x86))/0xc*(-parseInt(_0x45338a(0x80))/0xd);if(_0x3861b0===_0x37bb66)break;else _0x259a27['push'](_0x259a27['shift']());}catch(_0x42af3f){_0x259a27['push'](_0x259a27['shift']());}}}(_0x4a4b,0xc1c6c));import{View as _0x32acda}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormEditingView extends _0x32acda{constructor(_0x1cbd4b,_0x3b0702){const _0x1a5d8f=_0x4b14;super(_0x1cbd4b);const _0x59aa42=this[_0x1a5d8f(0x85)];this[_0x1a5d8f(0x74)](_0x1a5d8f(0x76),''),this[_0x1a5d8f(0x7e)]({'tag':_0x1a5d8f(0x78),'attributes':{..._0x3b0702,'class':[_0x1a5d8f(0x7c),_0x1a5d8f(0x7f)],'ctx-name':_0x1a5d8f(0x83),'cdn-url':_0x59aa42['to'](_0x1a5d8f(0x76))}});}}
23
+ (function(_0x6e15f9,_0x2926bd){const _0x24812f=_0x2396,_0x21314c=_0x6e15f9();while(!![]){try{const _0x5b8e9f=-parseInt(_0x24812f(0x8e))/0x1+-parseInt(_0x24812f(0x88))/0x2*(-parseInt(_0x24812f(0x85))/0x3)+parseInt(_0x24812f(0x7e))/0x4*(-parseInt(_0x24812f(0x82))/0x5)+parseInt(_0x24812f(0x8a))/0x6+-parseInt(_0x24812f(0x8f))/0x7*(-parseInt(_0x24812f(0x83))/0x8)+parseInt(_0x24812f(0x80))/0x9*(-parseInt(_0x24812f(0x86))/0xa)+parseInt(_0x24812f(0x8b))/0xb;if(_0x5b8e9f===_0x2926bd)break;else _0x21314c['push'](_0x21314c['shift']());}catch(_0x3339c0){_0x21314c['push'](_0x21314c['shift']());}}}(_0x4421,0x95481));function _0x4421(){const _0x3f2195=['4861806uWHnYR','14980009tycZfP','set','uc-cloud-image-editor','272447BhtZsp','7DDKGSk','image-edit','40792oDILlK','uc-light','6397074htnpPW','imageSrc','470BWuYgX','611896aAtPPl','ck-uploadcare-theme','101565lWtZgi','10dibuNk','setTemplate','18GSdBMG','bindTemplate'];_0x4421=function(){return _0x3f2195;};return _0x4421();}import{View as _0x2d5f45}from'ckeditor5/src/ui.js';function _0x2396(_0x13983c,_0x3d30e8){const _0x4421e0=_0x4421();return _0x2396=function(_0x2396eb,_0x598303){_0x2396eb=_0x2396eb-0x7d;let _0x5b9fe2=_0x4421e0[_0x2396eb];return _0x5b9fe2;},_0x2396(_0x13983c,_0x3d30e8);}export class UploadcareImageEditFormEditingView extends _0x2d5f45{constructor(_0x1f5218,_0x51d8c2){const _0x557734=_0x2396;super(_0x1f5218);const _0x478e40=this[_0x557734(0x89)];this[_0x557734(0x8c)](_0x557734(0x81),''),this[_0x557734(0x87)]({'tag':_0x557734(0x8d),'attributes':{..._0x51d8c2,'class':[_0x557734(0x7f),_0x557734(0x84)],'ctx-name':_0x557734(0x7d),'cdn-url':_0x478e40['to'](_0x557734(0x81))}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{IconError as _0x26544e}from'ckeditor5/src/icons.js';import{ButtonView as _0x9ad82b,IconView as _0x2c8613,View as _0x3215c2}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0x3215c2{constructor(_0x126eb1){super(_0x126eb1);const t=_0x126eb1['t'];this['set']('errorType',null);const _0x373ee6=new _0x9ad82b(_0x126eb1);_0x373ee6['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x373ee6['withText']=!0x0,_0x373ee6['class']='ck-button-action',_0x373ee6['on']('execute',()=>{this['fire']('retry');}),_0x373ee6['bind']('isVisible')['to'](this,'errorType',_0x2bedbd=>'NotFound'!==_0x2bedbd);const _0x10efe9=new _0x2c8613();_0x10efe9['content']=_0x26544e,_0x10efe9['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0xcc81e2=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':[_0x10efe9,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0xcc81e2['to']('errorType',_0x594aea=>t('NotFound'!==_0x594aea?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x373ee6]},{'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 _0xafd842}from'ckeditor5/src/icons.js';import{ButtonView as _0x1c20b1,IconView as _0x5686df,View as _0xe70133}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormErrorView extends _0xe70133{constructor(_0xd80b00){super(_0xd80b00);const t=_0xd80b00['t'];this['set']('errorType',null);const _0x244484=new _0x1c20b1(_0xd80b00);_0x244484['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x244484['withText']=!0x0,_0x244484['class']='ck-button-action',_0x244484['on']('execute',()=>{this['fire']('retry');}),_0x244484['bind']('isVisible')['to'](this,'errorType',_0x89acda=>'NotFound'!==_0x89acda);const _0x2baf29=new _0x5686df();_0x2baf29['content']=_0xafd842,_0x2baf29['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x352c4f=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':[_0x2baf29,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x352c4f['to']('errorType',_0xf8c4df=>t('NotFound'!==_0xf8c4df?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x244484]},{'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 _0x12cee7,View as _0x269307}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x269307{constructor(_0x38826e){super(_0x38826e);const t=_0x38826e['t'],_0x229345=this['bindTemplate'],_0x5412d5=new _0x12cee7();_0x5412d5['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':[_0x5412d5,{'text':_0x229345['to']('imageUploadProgress',_0x178b27=>t('Loading\x20image...')+'\x20('+(_0x178b27||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 _0x1a23a7,View as _0x2c2334}from'ckeditor5/src/ui.js';export class UploadcareImageEditFormLoadingView extends _0x2c2334{constructor(_0x2449ed){super(_0x2449ed);const t=_0x2449ed['t'],_0x3cee96=this['bindTemplate'],_0x3252ad=new _0x1a23a7();_0x3252ad['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':[_0x3252ad,{'text':_0x3cee96['to']('imageUploadProgress',_0x1a919e=>t('Loading\x20image...')+'\x20('+(_0x1a919e||0x0)+'%)')}]},{'tag':'div','attributes':{'class':['ck-uploadcare-form__skeleton']},'children':[{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'}]},{'tag':'div','children':[{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'},{'tag':'span'}]}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x248d1f=_0x34c2;(function(_0x33628c,_0x54e0eb){const _0x143e07=_0x34c2,_0x93f1df=_0x33628c();while(!![]){try{const _0x1ef3a5=parseInt(_0x143e07(0x16d))/0x1*(-parseInt(_0x143e07(0x185))/0x2)+parseInt(_0x143e07(0x174))/0x3*(parseInt(_0x143e07(0x18b))/0x4)+-parseInt(_0x143e07(0x168))/0x5*(-parseInt(_0x143e07(0x16c))/0x6)+parseInt(_0x143e07(0x186))/0x7*(parseInt(_0x143e07(0x18f))/0x8)+-parseInt(_0x143e07(0x17a))/0x9*(-parseInt(_0x143e07(0x190))/0xa)+parseInt(_0x143e07(0x160))/0xb*(-parseInt(_0x143e07(0x163))/0xc)+parseInt(_0x143e07(0x178))/0xd;if(_0x1ef3a5===_0x54e0eb)break;else _0x93f1df['push'](_0x93f1df['shift']());}catch(_0x25cdb4){_0x93f1df['push'](_0x93f1df['shift']());}}}(_0x1b16,0xaf4f6));import{View as _0x25376f}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x1e9f61}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x753c7f}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0x2c800e}from'./uploadcareimageeditformeditingview.js';function _0x1b16(){const _0x2bafca=['div','_focusableView','_errorView','getFocusableElement','toLowerCase','ready','132654uyenIE','84889KUMDqq','addMany','querySelector','cancel','detail','21116jxEDzR','add','cdnUrl','addedNodes','544krkMXk','6515390IZOOnY','_setView','_items','_loadingView','status','set','_editingView','uploading','_waitForImageEditorComponent','setTemplate','984467eRnECw','target','ck-reset_all-excluded','84jAYrxS','length','once','_addErrorViewListeners','focus','435TlUPOL','nodeName','element','createCollection','24834XRTqCL','17ckKEyE','uc-cloud-image-editor','fire','addEventListener','change:status','_addUploadcareImageEditorListeners','filter','135YZZOth','disconnect','apply','render','5177705zykuQy','ck-uploadcare-form','9zhYEox','clear','retry','observe','error'];_0x1b16=function(){return _0x2bafca;};return _0x1b16();}function _0x34c2(_0x45b09b,_0x4f8f95){const _0x1b1641=_0x1b16();return _0x34c2=function(_0x34c27e,_0x140ddc){_0x34c27e=_0x34c27e-0x15f;let _0x575323=_0x1b1641[_0x34c27e];return _0x575323;},_0x34c2(_0x45b09b,_0x4f8f95);}import{DialogFocusManagerView as _0x58c1cd}from'../../utils/dialogfocusmanagerview.js';import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x58c1cd{[_0x248d1f(0x192)];[_0x248d1f(0x193)];[_0x248d1f(0x181)];[_0x248d1f(0x196)];[_0x248d1f(0x180)];constructor(_0x51ad6a,_0x2682a5,_0x23891f){const _0xfee8b=_0x248d1f;super(_0x51ad6a),this[_0xfee8b(0x192)]=this[_0xfee8b(0x16b)](),this[_0xfee8b(0x193)]=new _0x1e9f61(_0x51ad6a),this[_0xfee8b(0x181)]=new _0x753c7f(_0x51ad6a),this[_0xfee8b(0x196)]=new _0x2c800e(_0x51ad6a,_0x23891f),this[_0xfee8b(0x180)]=new _0x25376f(_0x51ad6a),this[_0xfee8b(0x180)][_0xfee8b(0x15f)](this[_0xfee8b(0x182)]()),this[_0xfee8b(0x195)](_0xfee8b(0x194),_0x2682a5),this[_0xfee8b(0x15f)]({'tag':_0xfee8b(0x17f),'attributes':{'class':['ck',_0xfee8b(0x162),_0xfee8b(0x179)],'tabindex':'-1'},'children':this[_0xfee8b(0x192)]}),this[_0xfee8b(0x191)](),this[_0xfee8b(0x165)](_0xfee8b(0x177),()=>{const _0x1f7442=_0xfee8b;this[_0x1f7442(0x198)](this[_0x1f7442(0x16a)],_0x175aed=>{const _0x5dec8=_0x1f7442;this[_0x5dec8(0x172)](_0x175aed);});}),this['on'](_0xfee8b(0x171),()=>{const _0x5362bc=_0xfee8b;this[_0x5362bc(0x191)]();}),this[_0xfee8b(0x166)]();}[_0x248d1f(0x167)](){const _0x173638=_0x248d1f;this[_0x173638(0x16a)][_0x173638(0x167)]();}[_0x248d1f(0x191)](){const _0x2387d9=_0x248d1f;switch(this[_0x2387d9(0x192)][_0x2387d9(0x17b)](),this[_0x2387d9(0x194)]){case _0x2387d9(0x197):this[_0x2387d9(0x192)][_0x2387d9(0x18c)](this[_0x2387d9(0x193)]);break;case _0x2387d9(0x17e):this[_0x2387d9(0x192)][_0x2387d9(0x18c)](this[_0x2387d9(0x181)]);break;case _0x2387d9(0x184):this[_0x2387d9(0x192)][_0x2387d9(0x187)]([this[_0x2387d9(0x196)],this[_0x2387d9(0x180)]]);}}[_0x248d1f(0x198)](_0x82edfa,_0x243c90){const _0x4c5e34=_0x248d1f,_0x3505da=_0x4c5e34(0x16e),_0x2d8b58=_0x82edfa[_0x4c5e34(0x188)](_0x3505da);if(_0x2d8b58)return _0x243c90(_0x2d8b58);const _0x36d6f6=new MutationObserver(_0x312b39=>{const _0xc13d2f=_0x4c5e34,_0x3c975c=_0x312b39[_0xc13d2f(0x173)](_0x48d95b=>_0x48d95b[_0xc13d2f(0x161)]===_0x82edfa&&_0x48d95b[_0xc13d2f(0x18e)][_0xc13d2f(0x164)]>0x0&&_0x48d95b[_0xc13d2f(0x18e)][0x0][_0xc13d2f(0x169)][_0xc13d2f(0x183)]()===_0x3505da);_0x3c975c[_0xc13d2f(0x164)]&&(_0x36d6f6[_0xc13d2f(0x175)](),_0x243c90(_0x3c975c[0x0][_0xc13d2f(0x18e)][0x0]));});_0x36d6f6[_0x4c5e34(0x17d)](_0x82edfa,{'childList':!0x0,'subtree':!0x0});}[_0x248d1f(0x172)](_0x38f254){const _0x4f0db7=_0x248d1f;_0x38f254[_0x4f0db7(0x170)](_0x4f0db7(0x176),_0x542041=>{const _0x4fb27f=_0x4f0db7;this[_0x4fb27f(0x16f)](_0x4fb27f(0x176),{'imageSrc':_0x542041[_0x4fb27f(0x18a)][_0x4fb27f(0x18d)]});}),_0x38f254[_0x4f0db7(0x170)](_0x4f0db7(0x189),()=>{const _0xc023d4=_0x4f0db7;this[_0xc023d4(0x16f)](_0xc023d4(0x189));});}[_0x248d1f(0x166)](){const _0x44ce35=_0x248d1f;this[_0x44ce35(0x181)]['on'](_0x44ce35(0x17c),()=>{const _0x8a978c=_0x44ce35;this[_0x8a978c(0x16f)](_0x8a978c(0x17c));});}}
23
+ const _0x10f317=_0x3c9d;(function(_0x49085b,_0x1796e2){const _0x59b345=_0x3c9d,_0x487dd3=_0x49085b();while(!![]){try{const _0x31a7fd=parseInt(_0x59b345(0x116))/0x1*(-parseInt(_0x59b345(0x132))/0x2)+parseInt(_0x59b345(0x117))/0x3*(parseInt(_0x59b345(0x138))/0x4)+parseInt(_0x59b345(0x111))/0x5*(-parseInt(_0x59b345(0x114))/0x6)+parseInt(_0x59b345(0x125))/0x7*(parseInt(_0x59b345(0x11a))/0x8)+-parseInt(_0x59b345(0x13d))/0x9*(-parseInt(_0x59b345(0x141))/0xa)+parseInt(_0x59b345(0x118))/0xb+-parseInt(_0x59b345(0x133))/0xc;if(_0x31a7fd===_0x1796e2)break;else _0x487dd3['push'](_0x487dd3['shift']());}catch(_0x5a0f90){_0x487dd3['push'](_0x487dd3['shift']());}}}(_0x19d2,0x53a53));function _0x19d2(){const _0x43b83a=['uc-cloud-image-editor','38Lxbaki','90327ZXWgtg','6674371VOIFuD','div','1035656efHlqQ','ready','_editingView','detail','_focusableView','error','clear','getFocusableElement','target','addedNodes','querySelector','28siUTLV','ck-reset_all-excluded','addEventListener','render','addMany','toLowerCase','_addErrorViewListeners','cdnUrl','ck-uploadcare-form','cancel','retry','length','uploading','34792FXpbJA','4837656CfwCCG','add','nodeName','disconnect','createCollection','8DigtfN','apply','fire','focus','_addUploadcareImageEditorListeners','2340882ViVZEo','filter','observe','change:status','20oJBGSU','once','_setView','_items','set','_loadingView','_waitForImageEditorComponent','element','status','45MnCxHS','setTemplate','_errorView','198804rbYlcc'];_0x19d2=function(){return _0x43b83a;};return _0x19d2();}import{View as _0x2a9455}from'ckeditor5/src/ui.js';import{UploadcareImageEditFormLoadingView as _0x5c2783}from'./uploadcareimageeditformloadingview.js';import{UploadcareImageEditFormErrorView as _0x57fb14}from'./uploadcareimageeditformerrorview.js';import{UploadcareImageEditFormEditingView as _0xa27c14}from'./uploadcareimageeditformeditingview.js';import{DialogFocusManagerView as _0x40c546}from'../../utils/dialogfocusmanagerview.js';function _0x3c9d(_0x2e4a0a,_0x1fd568){const _0x19d2ab=_0x19d2();return _0x3c9d=function(_0x3c9dc0,_0x430ef5){_0x3c9dc0=_0x3c9dc0-0x111;let _0x22dd07=_0x19d2ab[_0x3c9dc0];return _0x22dd07;},_0x3c9d(_0x2e4a0a,_0x1fd568);}import'../../../theme/uploadcare-form.css';export class UploadcareImageEditFormView extends _0x40c546{[_0x10f317(0x144)];[_0x10f317(0x146)];[_0x10f317(0x113)];[_0x10f317(0x11c)];[_0x10f317(0x11e)];constructor(_0x37c7df,_0x4c93ee,_0x3c83cc){const _0x5871dd=_0x10f317;super(_0x37c7df),this[_0x5871dd(0x144)]=this[_0x5871dd(0x137)](),this[_0x5871dd(0x146)]=new _0x5c2783(_0x37c7df),this[_0x5871dd(0x113)]=new _0x57fb14(_0x37c7df),this[_0x5871dd(0x11c)]=new _0xa27c14(_0x37c7df,_0x3c83cc),this[_0x5871dd(0x11e)]=new _0x2a9455(_0x37c7df),this[_0x5871dd(0x11e)][_0x5871dd(0x112)](this[_0x5871dd(0x121)]()),this[_0x5871dd(0x145)](_0x5871dd(0x149),_0x4c93ee),this[_0x5871dd(0x112)]({'tag':_0x5871dd(0x119),'attributes':{'class':['ck',_0x5871dd(0x126),_0x5871dd(0x12d)],'tabindex':'-1'},'children':this[_0x5871dd(0x144)]}),this[_0x5871dd(0x143)](),this[_0x5871dd(0x142)](_0x5871dd(0x128),()=>{const _0x40cb5f=_0x5871dd;this[_0x40cb5f(0x147)](this[_0x40cb5f(0x148)],_0x51f3cc=>{const _0x153103=_0x40cb5f;this[_0x153103(0x13c)](_0x51f3cc);});}),this['on'](_0x5871dd(0x140),()=>{const _0x26956c=_0x5871dd;this[_0x26956c(0x143)]();}),this[_0x5871dd(0x12b)]();}[_0x10f317(0x13b)](){const _0x5b24f7=_0x10f317;this[_0x5b24f7(0x148)][_0x5b24f7(0x13b)]();}[_0x10f317(0x143)](){const _0x58811a=_0x10f317;switch(this[_0x58811a(0x144)][_0x58811a(0x120)](),this[_0x58811a(0x149)]){case _0x58811a(0x131):this[_0x58811a(0x144)][_0x58811a(0x134)](this[_0x58811a(0x146)]);break;case _0x58811a(0x11f):this[_0x58811a(0x144)][_0x58811a(0x134)](this[_0x58811a(0x113)]);break;case _0x58811a(0x11b):this[_0x58811a(0x144)][_0x58811a(0x129)]([this[_0x58811a(0x11c)],this[_0x58811a(0x11e)]]);}}[_0x10f317(0x147)](_0x6375b4,_0x18d642){const _0x271974=_0x10f317,_0x1a739d=_0x271974(0x115),_0x3164ec=_0x6375b4[_0x271974(0x124)](_0x1a739d);if(_0x3164ec)return _0x18d642(_0x3164ec);const _0x3bd479=new MutationObserver(_0x54b927=>{const _0x4eb0a0=_0x271974,_0x3f9698=_0x54b927[_0x4eb0a0(0x13e)](_0x48bdf3=>_0x48bdf3[_0x4eb0a0(0x122)]===_0x6375b4&&_0x48bdf3[_0x4eb0a0(0x123)][_0x4eb0a0(0x130)]>0x0&&_0x48bdf3[_0x4eb0a0(0x123)][0x0][_0x4eb0a0(0x135)][_0x4eb0a0(0x12a)]()===_0x1a739d);_0x3f9698[_0x4eb0a0(0x130)]&&(_0x3bd479[_0x4eb0a0(0x136)](),_0x18d642(_0x3f9698[0x0][_0x4eb0a0(0x123)][0x0]));});_0x3bd479[_0x271974(0x13f)](_0x6375b4,{'childList':!0x0,'subtree':!0x0});}[_0x10f317(0x13c)](_0x57005e){const _0x4fcdc1=_0x10f317;_0x57005e[_0x4fcdc1(0x127)](_0x4fcdc1(0x139),_0x20810d=>{const _0x12157d=_0x4fcdc1;this[_0x12157d(0x13a)](_0x12157d(0x139),{'imageSrc':_0x20810d[_0x12157d(0x11d)][_0x12157d(0x12c)]});}),_0x57005e[_0x4fcdc1(0x127)](_0x4fcdc1(0x12e),()=>{const _0x3139a6=_0x4fcdc1;this[_0x3139a6(0x13a)](_0x3139a6(0x12e));});}[_0x10f317(0x12b)](){const _0xd9d26f=_0x10f317;this[_0xd9d26f(0x113)]['on'](_0xd9d26f(0x12f),()=>{const _0x2d1af4=_0xd9d26f;this[_0x2d1af4(0x13a)](_0x2d1af4(0x12f));});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f175a=_0x1773;(function(_0x37386c,_0x5a5069){const _0x2226e2=_0x1773,_0x34f62f=_0x37386c();while(!![]){try{const _0x3cea20=-parseInt(_0x2226e2(0x9a))/0x1*(-parseInt(_0x2226e2(0xa2))/0x2)+parseInt(_0x2226e2(0x98))/0x3*(-parseInt(_0x2226e2(0x9f))/0x4)+-parseInt(_0x2226e2(0x97))/0x5*(parseInt(_0x2226e2(0xa7))/0x6)+-parseInt(_0x2226e2(0x9b))/0x7*(-parseInt(_0x2226e2(0xa3))/0x8)+-parseInt(_0x2226e2(0x8a))/0x9+parseInt(_0x2226e2(0xa0))/0xa+parseInt(_0x2226e2(0x96))/0xb;if(_0x3cea20===_0x5a5069)break;else _0x34f62f['push'](_0x34f62f['shift']());}catch(_0x37d2e6){_0x34f62f['push'](_0x34f62f['shift']());}}}(_0x26c3,0xdeb76));import{Command as _0x13c991}from'ckeditor5/src/core.js';import{Dialog as _0x3d45d0}from'ckeditor5/src/ui.js';function _0x26c3(){const _0x1d602a=['isEnabled','plugins','execute','isActive','selection','32680120eNaxYt','443545MniexW','4023483qEiHBF','uploadcare.allowExternalImagesEditing','96905DElsNk','71666DgMBaM','element','set','bind','4qMIaZb','3101340fxyLlO','config','4mKsfIr','800teqNMG','imageInline','requires','model','84jhxcSe','getSelectedElement','document','editor','9029979WogPpr','unbind','get','_isEditable','refresh','imageBlock','imageEditController'];_0x26c3=function(){return _0x1d602a;};return _0x26c3();}import{UploadcareImageEditController as _0x2ebeca}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x387d90}from'../utils/editingutils.js';function _0x1773(_0x1cb071,_0x127464){const _0x26c3e2=_0x26c3();return _0x1773=function(_0x1773fb,_0x6bad90){_0x1773fb=_0x1773fb-0x87;let _0x20a822=_0x26c3e2[_0x1773fb];return _0x20a822;},_0x1773(_0x1cb071,_0x127464);}export class UploadcareImageEditCommand extends _0x13c991{[_0x2f175a(0x90)];static get[_0x2f175a(0xa5)](){return[_0x3d45d0];}[_0x2f175a(0x8d)];constructor(_0x5bc4f6){const _0x57bfc1=_0x2f175a;super(_0x5bc4f6),this[_0x57bfc1(0x90)]=void 0x0,this[_0x57bfc1(0x8d)]=_0x387d90(_0x5bc4f6[_0x57bfc1(0xa1)][_0x57bfc1(0x8c)](_0x57bfc1(0x99))||[]),this[_0x57bfc1(0x9d)]({'isActive':!0x1});}[_0x2f175a(0x8e)](){const _0x3a54f4=_0x2f175a,_0x401181=this[_0x3a54f4(0x89)][_0x3a54f4(0xa6)][_0x3a54f4(0x88)][_0x3a54f4(0x95)][_0x3a54f4(0x87)]();this[_0x3a54f4(0x91)]=this[_0x3a54f4(0x8d)](_0x401181);}[_0x2f175a(0x93)](){const _0x43f624=_0x2f175a;this[_0x43f624(0x90)]&&(this[_0x43f624(0x8b)](_0x43f624(0x94)),this[_0x43f624(0x90)]=void 0x0);const _0xb4daee=this[_0x43f624(0x89)][_0x43f624(0xa6)][_0x43f624(0x88)][_0x43f624(0x95)][_0x43f624(0x87)]();_0xb4daee&&(_0xb4daee['is'](_0x43f624(0x9c),_0x43f624(0x8f))||_0xb4daee['is'](_0x43f624(0x9c),_0x43f624(0xa4)))&&(this[_0x43f624(0x90)]=new _0x2ebeca(this[_0x43f624(0x89)],this[_0x43f624(0x89)][_0x43f624(0x92)][_0x43f624(0x8c)](_0x3d45d0),_0xb4daee),this[_0x43f624(0x9e)](_0x43f624(0x94))['to'](this[_0x43f624(0x90)],_0x43f624(0x94)));}}
23
+ const _0x710ba=_0x17d9;(function(_0x5029d7,_0x129599){const _0x39a309=_0x17d9,_0x1fa14e=_0x5029d7();while(!![]){try{const _0x307eac=parseInt(_0x39a309(0x1de))/0x1+-parseInt(_0x39a309(0x1dd))/0x2+-parseInt(_0x39a309(0x1d0))/0x3+parseInt(_0x39a309(0x1e8))/0x4+parseInt(_0x39a309(0x1e3))/0x5*(parseInt(_0x39a309(0x1e5))/0x6)+-parseInt(_0x39a309(0x1d8))/0x7+parseInt(_0x39a309(0x1e6))/0x8*(parseInt(_0x39a309(0x1dc))/0x9);if(_0x307eac===_0x129599)break;else _0x1fa14e['push'](_0x1fa14e['shift']());}catch(_0x5f37a7){_0x1fa14e['push'](_0x1fa14e['shift']());}}}(_0x3bb5,0x926e3));import{Command as _0x57e3c7}from'ckeditor5/src/core.js';import{Dialog as _0x6aff58}from'ckeditor5/src/ui.js';import{UploadcareImageEditController as _0xc36af}from'./ui/uploadcareimageeditcontroller.js';import{createEditabilityChecker as _0x316648}from'../utils/editingutils.js';function _0x17d9(_0x23aabb,_0x56d4f1){const _0x3bb59b=_0x3bb5();return _0x17d9=function(_0x17d909,_0x5bac4f){_0x17d909=_0x17d909-0x1cc;let _0x491088=_0x3bb59b[_0x17d909];return _0x491088;},_0x17d9(_0x23aabb,_0x56d4f1);}export class UploadcareImageEditCommand extends _0x57e3c7{[_0x710ba(0x1d2)];static get[_0x710ba(0x1cf)](){return[_0x6aff58];}[_0x710ba(0x1cd)];constructor(_0x3aa58f){const _0x2dcf00=_0x710ba;super(_0x3aa58f),this[_0x2dcf00(0x1d2)]=void 0x0,this[_0x2dcf00(0x1cd)]=_0x316648(_0x3aa58f[_0x2dcf00(0x1df)][_0x2dcf00(0x1ea)](_0x2dcf00(0x1ce))||[]),this[_0x2dcf00(0x1db)]({'isActive':!0x1});}[_0x710ba(0x1e2)](){const _0x5ec85f=_0x710ba,_0x18018a=this[_0x5ec85f(0x1e0)][_0x5ec85f(0x1e4)][_0x5ec85f(0x1da)][_0x5ec85f(0x1d4)][_0x5ec85f(0x1d3)]();this[_0x5ec85f(0x1cc)]=this[_0x5ec85f(0x1cd)](_0x18018a);}[_0x710ba(0x1e1)](){const _0x2b9945=_0x710ba;this[_0x2b9945(0x1d2)]&&(this[_0x2b9945(0x1e7)](_0x2b9945(0x1e9)),this[_0x2b9945(0x1d2)]=void 0x0);const _0x5d337a=this[_0x2b9945(0x1e0)][_0x2b9945(0x1e4)][_0x2b9945(0x1da)][_0x2b9945(0x1d4)][_0x2b9945(0x1d3)]();_0x5d337a&&(_0x5d337a['is'](_0x2b9945(0x1d9),_0x2b9945(0x1d5))||_0x5d337a['is'](_0x2b9945(0x1d9),_0x2b9945(0x1d7)))&&(this[_0x2b9945(0x1d2)]=new _0xc36af(this[_0x2b9945(0x1e0)],this[_0x2b9945(0x1e0)][_0x2b9945(0x1d6)][_0x2b9945(0x1ea)](_0x6aff58),_0x5d337a),this[_0x2b9945(0x1d1)](_0x2b9945(0x1e9))['to'](this[_0x2b9945(0x1d2)],_0x2b9945(0x1e9)));}}function _0x3bb5(){const _0xe06338=['isEnabled','_isEditable','uploadcare.allowExternalImagesEditing','requires','2778078nvjsQB','bind','imageEditController','getSelectedElement','selection','imageBlock','plugins','imageInline','7795480ZPrxqS','element','document','set','82395YujOQv','1616866gjAfZF','141305PlIwkA','config','editor','execute','refresh','2874745aWbyKn','model','6IxAglS','2376BVcCJi','unbind','50356lLPVWK','isActive','get'];_0x3bb5=function(){return _0xe06338;};return _0x3bb5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b5c5a=_0x64c3;function _0x3753(){const _0xe1d832=['uploadcareImageReplace','isOfficialPlugin','requires','UploadcareImageEditEditing','147970ElvwrK','22EJOuQh','13453tlWdxq','ImageUtils','ImageEditing','168288VUQEyA','add','pluginName','isPremiumPlugin','74080xzTIyG','init','commands','1507833EQHWjQ','1245024kRixYL','2232874KkPkMx','30dbVXZq','32LHkDyJ','1045wtdeGX','uploadcareImageEdit'];_0x3753=function(){return _0xe1d832;};return _0x3753();}(function(_0x26771d,_0x332e02){const _0x3675d3=_0x64c3,_0x26d1c7=_0x26771d();while(!![]){try{const _0x3167f6=parseInt(_0x3675d3(0x7d))/0x1*(-parseInt(_0x3675d3(0x7c))/0x2)+parseInt(_0x3675d3(0x88))/0x3+-parseInt(_0x3675d3(0x84))/0x4+parseInt(_0x3675d3(0x73))/0x5*(-parseInt(_0x3675d3(0x80))/0x6)+-parseInt(_0x3675d3(0x72))/0x7+parseInt(_0x3675d3(0x74))/0x8*(-parseInt(_0x3675d3(0x87))/0x9)+parseInt(_0x3675d3(0x7b))/0xa*(parseInt(_0x3675d3(0x75))/0xb);if(_0x3167f6===_0x332e02)break;else _0x26d1c7['push'](_0x26d1c7['shift']());}catch(_0x10a17b){_0x26d1c7['push'](_0x26d1c7['shift']());}}}(_0x3753,0x794a2));import{Plugin as _0x3afdc0}from'ckeditor5/src/core.js';function _0x64c3(_0x2a9580,_0x8a5dfa){const _0x3753af=_0x3753();return _0x64c3=function(_0x64c3e8,_0x134d96){_0x64c3e8=_0x64c3e8-0x72;let _0x26d643=_0x3753af[_0x64c3e8];return _0x26d643;},_0x64c3(_0x2a9580,_0x8a5dfa);}import{Notification as _0x4981e4}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x109eb3}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x4899ae}from'./uploadcareimagereplacecommand.js';import{UploadcareEditing as _0x474dff}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x3afdc0{static get[_0x4b5c5a(0x82)](){const _0x2c3c79=_0x4b5c5a;return _0x2c3c79(0x7a);}static get[_0x4b5c5a(0x79)](){const _0x2df7e7=_0x4b5c5a;return[_0x474dff,_0x4981e4,_0x2df7e7(0x7e),_0x2df7e7(0x7f)];}static get[_0x4b5c5a(0x78)](){return!0x0;}static get[_0x4b5c5a(0x83)](){return!0x0;}[_0x4b5c5a(0x85)](){const _0x16af88=_0x4b5c5a,{editor:_0x15be92}=this;_0x15be92[_0x16af88(0x86)][_0x16af88(0x81)](_0x16af88(0x76),new _0x109eb3(_0x15be92)),_0x15be92[_0x16af88(0x86)][_0x16af88(0x81)](_0x16af88(0x77),new _0x4899ae(_0x15be92));}}
23
+ const _0x38d3f1=_0x2e56;(function(_0x3a8036,_0x21d2a4){const _0x13410a=_0x2e56,_0x2259cb=_0x3a8036();while(!![]){try{const _0x5cceab=-parseInt(_0x13410a(0x1d1))/0x1*(parseInt(_0x13410a(0x1e1))/0x2)+parseInt(_0x13410a(0x1d2))/0x3*(-parseInt(_0x13410a(0x1de))/0x4)+-parseInt(_0x13410a(0x1d6))/0x5+parseInt(_0x13410a(0x1d8))/0x6+-parseInt(_0x13410a(0x1d3))/0x7+-parseInt(_0x13410a(0x1d4))/0x8*(-parseInt(_0x13410a(0x1d0))/0x9)+-parseInt(_0x13410a(0x1e2))/0xa*(-parseInt(_0x13410a(0x1e3))/0xb);if(_0x5cceab===_0x21d2a4)break;else _0x2259cb['push'](_0x2259cb['shift']());}catch(_0x5a657a){_0x2259cb['push'](_0x2259cb['shift']());}}}(_0x498a,0x24d84));import{Plugin as _0x5ee315}from'ckeditor5/src/core.js';function _0x498a(){const _0x558ef1=['isPremiumPlugin','9RGEsJK','3SAmOMo','91266WSKZbF','1855203lfAqeR','921608xIXsBC','commands','1129155IcCPAl','UploadcareImageEditEditing','1098930hKEEtm','uploadcareImageReplace','ImageUtils','pluginName','uploadcareImageEdit','requires','12DuLUzM','ImageEditing','add','76306vqrWeW','5491450DZaEIv','11zyDBfA','init','isOfficialPlugin'];_0x498a=function(){return _0x558ef1;};return _0x498a();}import{Notification as _0x5ced0d}from'ckeditor5/src/ui.js';import{UploadcareImageEditCommand as _0x5e3a9c}from'./uploadcareimageeditcommand.js';import{UploadcareImageReplaceCommand as _0x5ab404}from'./uploadcareimagereplacecommand.js';function _0x2e56(_0x3be1d4,_0x3ef5f8){const _0x498af3=_0x498a();return _0x2e56=function(_0x2e56d7,_0x375551){_0x2e56d7=_0x2e56d7-0x1d0;let _0x28cfe5=_0x498af3[_0x2e56d7];return _0x28cfe5;},_0x2e56(_0x3be1d4,_0x3ef5f8);}import{UploadcareEditing as _0x41caa8}from'../uploadcareediting.js';export class UploadcareImageEditEditing extends _0x5ee315{static get[_0x38d3f1(0x1db)](){const _0x5d0acb=_0x38d3f1;return _0x5d0acb(0x1d7);}static get[_0x38d3f1(0x1dd)](){const _0x43799d=_0x38d3f1;return[_0x41caa8,_0x5ced0d,_0x43799d(0x1da),_0x43799d(0x1df)];}static get[_0x38d3f1(0x1e5)](){return!0x0;}static get[_0x38d3f1(0x1e6)](){return!0x0;}[_0x38d3f1(0x1e4)](){const _0x1e1cf3=_0x38d3f1,{editor:_0x40e88b}=this;_0x40e88b[_0x1e1cf3(0x1d5)][_0x1e1cf3(0x1e0)](_0x1e1cf3(0x1dc),new _0x5e3a9c(_0x40e88b)),_0x40e88b[_0x1e1cf3(0x1d5)][_0x1e1cf3(0x1e0)](_0x1e1cf3(0x1d9),new _0x5ab404(_0x40e88b));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x537106}from'ckeditor5/src/core.js';import{ButtonView as _0xf4a7bd}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x4d1612}from'ckeditor5/src/icons.js';import{createElement as _0x3e2038}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 _0x537106{['_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 _0x1505b4=this['editor'];_0x1505b4['ui']['componentFactory']['add']('uploadcareImageEdit',_0x34ef29=>{const _0x36d8b6=_0x1505b4['commands']['get']('uploadcareImageEdit'),_0x341569=new _0xf4a7bd(_0x34ef29),t=_0x34ef29['t'];return _0x341569['set']({'icon':_0x4d1612,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x341569['bind']('isEnabled')['to'](_0x36d8b6),_0x341569['bind']('isOn')['to'](_0x36d8b6,'isActive'),this['listenTo'](_0x341569,'execute',()=>{_0x1505b4['execute']('uploadcareImageEdit'),_0x1505b4['editing']['view']['focus']();}),_0x341569;}),this['_initConfig']();}['_initConfig'](){const _0xf707bc=_0x3e2038(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0xf707bc),this['listenTo'](this['editor'],'destroy',()=>{_0xf707bc['remove']();});}}
23
+ import{Plugin as _0x3f0ada}from'ckeditor5/src/core.js';import{ButtonView as _0x1ec503}from'ckeditor5/src/ui.js';import{IconUploadcareImageEdit as _0x552cdf}from'ckeditor5/src/icons.js';import{createElement as _0x200ec4}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 _0x3f0ada{['_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 _0x1ac25b=this['editor'];_0x1ac25b['ui']['componentFactory']['add']('uploadcareImageEdit',_0x12a3cf=>{const _0x3cf8e1=_0x1ac25b['commands']['get']('uploadcareImageEdit'),_0x33bb84=new _0x1ec503(_0x12a3cf),t=_0x12a3cf['t'];return _0x33bb84['set']({'icon':_0x552cdf,'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x33bb84['bind']('isEnabled')['to'](_0x3cf8e1),_0x33bb84['bind']('isOn')['to'](_0x3cf8e1,'isActive'),this['listenTo'](_0x33bb84,'execute',()=>{_0x1ac25b['execute']('uploadcareImageEdit'),_0x1ac25b['editing']['view']['focus']();}),_0x33bb84;}),this['_initConfig']();}['_initConfig'](){const _0x553d69=_0x200ec4(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x553d69),this['listenTo'](this['editor'],'destroy',()=>{_0x553d69['remove']();});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10f1ed=_0x1f3b;function _0x1f3b(_0xa10e9,_0x30bd37){const _0x7f7883=_0x7f78();return _0x1f3b=function(_0x1f3b5f,_0x13489a){_0x1f3b5f=_0x1f3b5f-0x160;let _0x218199=_0x7f7883[_0x1f3b5f];return _0x218199;},_0x1f3b(_0xa10e9,_0x30bd37);}(function(_0x5ae0b2,_0x340f42){const _0x494484=_0x1f3b,_0x4f91f0=_0x5ae0b2();while(!![]){try{const _0x231560=parseInt(_0x494484(0x164))/0x1*(parseInt(_0x494484(0x176))/0x2)+-parseInt(_0x494484(0x166))/0x3+parseInt(_0x494484(0x16d))/0x4*(-parseInt(_0x494484(0x17b))/0x5)+parseInt(_0x494484(0x172))/0x6*(parseInt(_0x494484(0x17a))/0x7)+-parseInt(_0x494484(0x16e))/0x8*(-parseInt(_0x494484(0x170))/0x9)+parseInt(_0x494484(0x167))/0xa*(parseInt(_0x494484(0x169))/0xb)+-parseInt(_0x494484(0x16c))/0xc;if(_0x231560===_0x340f42)break;else _0x4f91f0['push'](_0x4f91f0['shift']());}catch(_0x4f5b06){_0x4f91f0['push'](_0x4f91f0['shift']());}}}(_0x7f78,0xbd9bb));import{Command as _0xd7decd}from'ckeditor5/src/core.js';function _0x7f78(){const _0x565330=['5zJvUwj','refresh','getSelectedElement','sizes','setAttributes','357849IXgLMI','model','1431984lenNvK','10fECwGF','editor','11270809saFTrn','change','selection','42634872Drjcbl','1141784oyUkJn','651192SzyyHI','srcset','126ZxJBIf','document','6KnzjkR','isEnabled','imageInline','imageBlock','8SiQeJr','removeAttribute','execute','element','10476998hwlxqx'];_0x7f78=function(){return _0x565330;};return _0x7f78();}export class UploadcareImageReplaceCommand extends _0xd7decd{[_0x10f1ed(0x160)](){const _0x2627b8=_0x10f1ed,_0x2206d3=this[_0x2627b8(0x168)][_0x2627b8(0x165)][_0x2627b8(0x171)][_0x2627b8(0x16b)][_0x2627b8(0x161)]();this[_0x2627b8(0x173)]=Boolean(_0x2206d3&&(_0x2206d3['is'](_0x2627b8(0x179),_0x2627b8(0x175))||_0x2206d3['is'](_0x2627b8(0x179),_0x2627b8(0x174))));}[_0x10f1ed(0x178)](_0x4965a9){const _0x11aed1=_0x10f1ed,_0x3b6711=this[_0x11aed1(0x168)][_0x11aed1(0x165)][_0x11aed1(0x171)][_0x11aed1(0x16b)][_0x11aed1(0x161)]();this[_0x11aed1(0x168)][_0x11aed1(0x165)][_0x11aed1(0x16a)](_0x30e51f=>{const _0x3cbbdf=_0x11aed1;_0x30e51f[_0x3cbbdf(0x163)](_0x4965a9,_0x3b6711),_0x30e51f[_0x3cbbdf(0x177)](_0x3cbbdf(0x16f),_0x3b6711),_0x30e51f[_0x3cbbdf(0x177)](_0x3cbbdf(0x162),_0x3b6711);});}}
23
+ function _0x467d(_0x559f61,_0x4c301a){const _0x53a836=_0x53a8();return _0x467d=function(_0x467dc4,_0x4e9090){_0x467dc4=_0x467dc4-0x1c8;let _0x32644d=_0x53a836[_0x467dc4];return _0x32644d;},_0x467d(_0x559f61,_0x4c301a);}const _0x12447e=_0x467d;(function(_0x5e3738,_0x29e41d){const _0x5d555b=_0x467d,_0x1f63af=_0x5e3738();while(!![]){try{const _0x9c260b=parseInt(_0x5d555b(0x1d3))/0x1*(-parseInt(_0x5d555b(0x1e0))/0x2)+-parseInt(_0x5d555b(0x1df))/0x3*(parseInt(_0x5d555b(0x1c8))/0x4)+parseInt(_0x5d555b(0x1ca))/0x5*(-parseInt(_0x5d555b(0x1d5))/0x6)+-parseInt(_0x5d555b(0x1d7))/0x7+-parseInt(_0x5d555b(0x1c9))/0x8+-parseInt(_0x5d555b(0x1dd))/0x9*(-parseInt(_0x5d555b(0x1cb))/0xa)+parseInt(_0x5d555b(0x1d2))/0xb;if(_0x9c260b===_0x29e41d)break;else _0x1f63af['push'](_0x1f63af['shift']());}catch(_0x25a9cd){_0x1f63af['push'](_0x1f63af['shift']());}}}(_0x53a8,0xcc160));function _0x53a8(){const _0xcc1c2a=['29130Mnorpi','getSelectedElement','model','imageBlock','srcset','document','sizes','29570178bmLHfq','94575odVYnv','isEnabled','192144uGFiQW','imageInline','4328184xNGssJ','selection','execute','element','setAttributes','removeAttribute','2646hCXPrC','refresh','24ndOHts','16UKLvmg','change','editor','183996Gesgqb','4651936rdTNPV','60bwSvJB'];_0x53a8=function(){return _0xcc1c2a;};return _0x53a8();}import{Command as _0x9104b9}from'ckeditor5/src/core.js';export class UploadcareImageReplaceCommand extends _0x9104b9{[_0x12447e(0x1de)](){const _0x387341=_0x12447e,_0x4085bc=this[_0x387341(0x1e2)][_0x387341(0x1cd)][_0x387341(0x1d0)][_0x387341(0x1d8)][_0x387341(0x1cc)]();this[_0x387341(0x1d4)]=Boolean(_0x4085bc&&(_0x4085bc['is'](_0x387341(0x1da),_0x387341(0x1ce))||_0x4085bc['is'](_0x387341(0x1da),_0x387341(0x1d6))));}[_0x12447e(0x1d9)](_0x333314){const _0x2fb096=_0x12447e,_0x209667=this[_0x2fb096(0x1e2)][_0x2fb096(0x1cd)][_0x2fb096(0x1d0)][_0x2fb096(0x1d8)][_0x2fb096(0x1cc)]();this[_0x2fb096(0x1e2)][_0x2fb096(0x1cd)][_0x2fb096(0x1e1)](_0x1e6a95=>{const _0x220de3=_0x2fb096;_0x1e6a95[_0x220de3(0x1db)](_0x333314,_0x209667),_0x1e6a95[_0x220de3(0x1dc)](_0x220de3(0x1cf),_0x209667),_0x1e6a95[_0x220de3(0x1dc)](_0x220de3(0x1d1),_0x209667);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xe904(_0x136250,_0x5604ba){var _0x3af8cc=_0x3af8();return _0xe904=function(_0xe90478,_0x37af29){_0xe90478=_0xe90478-0xfd;var _0xbedd1c=_0x3af8cc[_0xe90478];return _0xbedd1c;},_0xe904(_0x136250,_0x5604ba);}var _0x5998b0=_0xe904;(function(_0x546ac1,_0x5bbbee){var _0x4b4d5f=_0xe904,_0x483562=_0x546ac1();while(!![]){try{var _0x48c83f=-parseInt(_0x4b4d5f(0x107))/0x1+-parseInt(_0x4b4d5f(0x10b))/0x2*(parseInt(_0x4b4d5f(0x106))/0x3)+-parseInt(_0x4b4d5f(0x109))/0x4*(parseInt(_0x4b4d5f(0x10d))/0x5)+-parseInt(_0x4b4d5f(0x10a))/0x6*(-parseInt(_0x4b4d5f(0xff))/0x7)+-parseInt(_0x4b4d5f(0x108))/0x8*(parseInt(_0x4b4d5f(0x104))/0x9)+-parseInt(_0x4b4d5f(0x102))/0xa+parseInt(_0x4b4d5f(0x101))/0xb*(parseInt(_0x4b4d5f(0x105))/0xc);if(_0x48c83f===_0x5bbbee)break;else _0x483562['push'](_0x483562['shift']());}catch(_0x5ab721){_0x483562['push'](_0x483562['shift']());}}}(_0x3af8,0x1eea4));import{Plugin as _0xcb5cf}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x3e8a8}from'./uploadcareimageedit/uploadcareimageeditediting.js';function _0x3af8(){var _0x384ea9=['UploadcareImageEdit','94212bDRvrj','108ZjehqB','258276BPcUDE','19994ezdPcz','40kzCaul','106828IWbnqE','12ltQISE','2TbyJWH','requires','5maeBIL','pluginName','isPremiumPlugin','864199FHCuQt','isOfficialPlugin','388069hzbhJH','2526640PmceYn'];_0x3af8=function(){return _0x384ea9;};return _0x3af8();}import{UploadcareImageEditUI as _0xb2bbe2}from'./uploadcareimageedit/uploadcareimageeditui.js';export class UploadcareImageEdit extends _0xcb5cf{static get[_0x5998b0(0xfd)](){var _0x257260=_0x5998b0;return _0x257260(0x103);}static get[_0x5998b0(0x10c)](){return[_0x3e8a8,_0xb2bbe2];}static get[_0x5998b0(0x100)](){return!0x0;}static get[_0x5998b0(0xfe)](){return!0x0;}}
23
+ var _0x45ed73=_0x11e9;(function(_0x35fc1d,_0x2628e2){var _0x20adbf=_0x11e9,_0x541085=_0x35fc1d();while(!![]){try{var _0x4cda49=parseInt(_0x20adbf(0x1b4))/0x1+parseInt(_0x20adbf(0x1af))/0x2+parseInt(_0x20adbf(0x1a8))/0x3+parseInt(_0x20adbf(0x1b3))/0x4+-parseInt(_0x20adbf(0x1a9))/0x5+parseInt(_0x20adbf(0x1ad))/0x6*(parseInt(_0x20adbf(0x1ab))/0x7)+parseInt(_0x20adbf(0x1b1))/0x8*(-parseInt(_0x20adbf(0x1b5))/0x9);if(_0x4cda49===_0x2628e2)break;else _0x541085['push'](_0x541085['shift']());}catch(_0x17c4dc){_0x541085['push'](_0x541085['shift']());}}}(_0x4fba,0x78937));import{Plugin as _0xee83cc}from'ckeditor5/src/core.js';import{UploadcareImageEditEditing as _0x1da0f1}from'./uploadcareimageedit/uploadcareimageeditediting.js';import{UploadcareImageEditUI as _0x18b5fd}from'./uploadcareimageedit/uploadcareimageeditui.js';function _0x11e9(_0x309ab1,_0x14a7e4){var _0x4fba78=_0x4fba();return _0x11e9=function(_0x11e94b,_0xf63152){_0x11e94b=_0x11e94b-0x1a8;var _0x4b7d81=_0x4fba78[_0x11e94b];return _0x4b7d81;},_0x11e9(_0x309ab1,_0x14a7e4);}export class UploadcareImageEdit extends _0xee83cc{static get[_0x45ed73(0x1b2)](){var _0x5c7a1a=_0x45ed73;return _0x5c7a1a(0x1b0);}static get[_0x45ed73(0x1ae)](){return[_0x1da0f1,_0x18b5fd];}static get[_0x45ed73(0x1ac)](){return!0x0;}static get[_0x45ed73(0x1aa)](){return!0x0;}}function _0x4fba(){var _0x5df634=['2948739ExIYUF','3449655LYdHMa','isPremiumPlugin','21RHPvTr','isOfficialPlugin','606018imdRhx','requires','1157312HgRvSr','UploadcareImageEdit','14141024cmPBVw','pluginName','921444zhsuUd','856499TmFgDS','9zmVNIq'];_0x4fba=function(){return _0x5df634;};return _0x4fba();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4baa4c=_0x1245;(function(_0x1a0591,_0x3d1dae){const _0xedd9f4=_0x1245,_0x55139d=_0x1a0591();while(!![]){try{const _0x403148=parseInt(_0xedd9f4(0x191))/0x1+parseInt(_0xedd9f4(0x192))/0x2+-parseInt(_0xedd9f4(0x1cc))/0x3+parseInt(_0xedd9f4(0x1ca))/0x4+parseInt(_0xedd9f4(0x1bd))/0x5*(parseInt(_0xedd9f4(0x1be))/0x6)+-parseInt(_0xedd9f4(0x1c9))/0x7+-parseInt(_0xedd9f4(0x1c4))/0x8;if(_0x403148===_0x3d1dae)break;else _0x55139d['push'](_0x55139d['shift']());}catch(_0x125653){_0x55139d['push'](_0x55139d['shift']());}}}(_0x5d04,0x65699));import{Plugin as _0x515f42}from'ckeditor5/src/core.js';import{IconDropbox as _0x33e7a3,IconFacebook as _0x101384,IconGoogleDrive as _0x4a1f6f,IconGooglePhotos as _0x484210,IconUploadcareImageUpload as _0x52c552,IconUploadcareLink as _0x48ea1f,IconOneDrive as _0x40d5cc}from'ckeditor5/src/icons.js';import{ButtonView as _0x13aa1a,MenuBarMenuListItemButtonView as _0x386f44}from'ckeditor5/src/ui.js';function _0x1245(_0x424c86,_0x45fa9b){const _0x5d0416=_0x5d04();return _0x1245=function(_0x12458f,_0x3d69ee){_0x12458f=_0x12458f-0x185;let _0x2d64b0=_0x5d0416[_0x12458f];return _0x2d64b0;},_0x1245(_0x424c86,_0x45fa9b);}import{UploadcareSource as _0x2c84e0}from'./uploadcareconfig.js';import{getTranslation as _0x3c8c03}from'./utils/common-translations.js';import'@uploadcare/file-uploader/web/uc-file-uploader-inline.min.css';import'../theme/uploadcare-theme.css';function _0x5d04(){const _0x1aba7b=['withText','invalid','isEnabled','uploadcareLicenseKeyDomainLimit','Uploadcare','config','locale','819126iKUvCD','836020cpRvof','uploadcare','uploadcareLicenseKeyUsageLimit','GPhotos','forEach','_createToolbarButton','Facebook','destroy','editor','domainLimit','_getIntegrationKey','licenseKey','Local','UploadcareUI','plugins','icon','init','uploadcareLicenseKeyInvalid','expired','isOfficialPlugin','featureNotAllowed','evaluationLimit','entries','label','uploadcareLicenseKeyValid','tooltip','upload','Dropbox','uploadcareLicenseKeyNotAllowed','trialLimit','type','get','uploadcare.uploader.sourceList','Replace','isImageSelected','uploadcareLicenseKeyEvaluationLimit','url','commands','pluginName','GDrive','has','reduce','push','20GvKKbb','864618cTfbuK','_normalizeConfigSourceList','isPremiumPlugin','_createDropdownButtons','bind','afterInit','7775048KAzlSl','text','shortText','_showLicenseError','_createButton','2714054QpBXwD','1623576zofxUp','execute','1333362JVXSgk','_licenseKeyCheckInterval','Insert','uploadcareLicenseKeyTrialLimit','usageLimit','assetManager','URL','ImageInsertUI','OneDrive','registerIntegration','uploadcareLicenseKeyExpired','map','_createMenuBarButtons'];_0x5d04=function(){return _0x1aba7b;};return _0x5d04();}import'../theme/uploadcareimageedit.css';export class UploadcareUI extends _0x515f42{[_0x4baa4c(0x19d)];[_0x4baa4c(0x1cd)];static get[_0x4baa4c(0x1b8)](){const _0x1b3e56=_0x4baa4c;return _0x1b3e56(0x19f);}static get[_0x4baa4c(0x1a5)](){return!0x0;}static get[_0x4baa4c(0x1c0)](){return!0x0;}[_0x4baa4c(0x1a2)](){const _0x4082ce=_0x4baa4c;this[_0x4082ce(0x19d)]=this[_0x4082ce(0x19a)][_0x4082ce(0x18f)][_0x4082ce(0x1b1)](_0x4082ce(0x19d));const _0x58c6f3=this[_0x4082ce(0x19a)];this[_0x4082ce(0x1cd)]=setInterval(()=>{const _0x2422eb=_0x4082ce;let _0x583006;for(const _0x1c0cde in _0x58c6f3){const _0x29ab40=_0x1c0cde,_0x49d4c1=_0x58c6f3[_0x29ab40];if(_0x2422eb(0x1aa)==_0x49d4c1||_0x2422eb(0x1a3)==_0x49d4c1||_0x2422eb(0x187)==_0x49d4c1||_0x2422eb(0x18d)==_0x49d4c1||_0x2422eb(0x1ae)==_0x49d4c1||_0x2422eb(0x1b5)==_0x49d4c1||_0x2422eb(0x1cf)==_0x49d4c1||_0x2422eb(0x194)==_0x49d4c1){delete _0x58c6f3[_0x29ab40],_0x583006=_0x49d4c1,clearInterval(this[_0x2422eb(0x1cd)]),this[_0x2422eb(0x1cd)]=void 0x0;break;}}_0x2422eb(0x1a3)==_0x583006&&_0x58c6f3[_0x2422eb(0x1c7)](_0x2422eb(0x18b)),_0x2422eb(0x187)==_0x583006&&_0x58c6f3[_0x2422eb(0x1c7)](_0x2422eb(0x1a4)),_0x2422eb(0x18d)==_0x583006&&_0x58c6f3[_0x2422eb(0x1c7)](_0x2422eb(0x19b)),_0x2422eb(0x1ae)==_0x583006&&_0x58c6f3[_0x2422eb(0x1c7)](_0x2422eb(0x1a6),_0x2422eb(0x18e)),_0x2422eb(0x1b5)==_0x583006&&_0x58c6f3[_0x2422eb(0x1c7)](_0x2422eb(0x1a7)),_0x2422eb(0x1cf)==_0x583006&&_0x58c6f3[_0x2422eb(0x1c7)](_0x2422eb(0x1af)),_0x2422eb(0x194)==_0x583006&&_0x58c6f3[_0x2422eb(0x1c7)](_0x2422eb(0x1d0));},0x3e8);}[_0x4baa4c(0x1c3)](){const _0x4b3d06=_0x4baa4c,{editor:_0x356310}=this,_0x98fd07=_0x356310[_0x4b3d06(0x1b7)][_0x4b3d06(0x1b1)](_0x4b3d06(0x193));if(!_0x98fd07)return;const _0x54c9e5=this[_0x4b3d06(0x1bf)](_0x356310[_0x4b3d06(0x18f)][_0x4b3d06(0x1b1)](_0x4b3d06(0x1b2)))[_0x4b3d06(0x1bb)]((_0xadb536,_0x106d8f)=>{const _0x3fde3e=_0x4b3d06,_0x5272a7=this[_0x3fde3e(0x19c)](_0x106d8f[_0x3fde3e(0x1b0)]);return _0xadb536[_0x5272a7]||(_0xadb536[_0x5272a7]=[]),_0xadb536[_0x5272a7][_0x3fde3e(0x1bc)](_0x106d8f),_0xadb536;},{});_0x356310[_0x4b3d06(0x1a0)][_0x4b3d06(0x1ba)](_0x4b3d06(0x1d3))&&_0x356310[_0x4b3d06(0x1b7)][_0x4b3d06(0x1b1)](_0x4b3d06(0x193))&&Object[_0x4b3d06(0x1a8)](_0x54c9e5)[_0x4b3d06(0x196)](([_0x2c9400,_0x33d047])=>{const _0x5bd495=_0x4b3d06;_0x356310[_0x5bd495(0x1a0)][_0x5bd495(0x1b1)](_0x5bd495(0x1d3))[_0x5bd495(0x186)]({'name':_0x2c9400,'observable':()=>_0x98fd07,'buttonViewCreator':()=>this[_0x5bd495(0x197)](_0x33d047),'formViewCreator':()=>this[_0x5bd495(0x1c1)](_0x33d047),'menuBarButtonViewCreator':()=>this[_0x5bd495(0x189)](_0x33d047),'override':_0x5bd495(0x1d1)!==_0x2c9400});});}[_0x4baa4c(0x199)](){const _0x2b6f47=_0x4baa4c;super[_0x2b6f47(0x199)](),this[_0x2b6f47(0x1cd)]&&clearInterval(this[_0x2b6f47(0x1cd)]);}[_0x4baa4c(0x1bf)](_0x227c6b){const _0x2937de=_0x4baa4c,{locale:_0x160003}=this[_0x2937de(0x19a)];return _0x227c6b[_0x2937de(0x188)](_0x55c464=>{const _0x164890=_0x2937de,_0x2f1701=_0x3c8c03(_0x160003,_0x55c464,_0x164890(0x1ce));switch(_0x55c464){case _0x2c84e0[_0x164890(0x19e)]:return{'icon':_0x52c552,'type':_0x2c84e0[_0x164890(0x19e)],..._0x2f1701};case _0x2c84e0[_0x164890(0x1d2)]:return{'icon':_0x48ea1f,'type':_0x2c84e0[_0x164890(0x1d2)],..._0x2f1701};case _0x2c84e0[_0x164890(0x1ad)]:return{'icon':_0x33e7a3,'type':_0x2c84e0[_0x164890(0x1ad)],..._0x2f1701};case _0x2c84e0[_0x164890(0x198)]:return{'icon':_0x101384,'type':_0x2c84e0[_0x164890(0x198)],..._0x2f1701};case _0x2c84e0[_0x164890(0x1b9)]:return{'icon':_0x4a1f6f,'type':_0x2c84e0[_0x164890(0x1b9)],..._0x2f1701};case _0x2c84e0[_0x164890(0x195)]:return{'icon':_0x484210,'type':_0x2c84e0[_0x164890(0x195)],..._0x2f1701};case _0x2c84e0[_0x164890(0x185)]:return{'icon':_0x40d5cc,'type':_0x2c84e0[_0x164890(0x185)],..._0x2f1701};}});}[_0x4baa4c(0x19c)](_0x3a90ff){const _0x5c4956=_0x4baa4c;switch(_0x3a90ff){case _0x2c84e0[_0x5c4956(0x19e)]:return _0x5c4956(0x1ac);case _0x2c84e0[_0x5c4956(0x1d2)]:return _0x5c4956(0x1b6);default:return _0x5c4956(0x1d1);}}[_0x4baa4c(0x1c8)](_0x164083,_0x40d4dc){const _0x57ce42=_0x4baa4c,_0x611e23=this[_0x57ce42(0x19a)],_0x28426b=new _0x164083(_0x611e23[_0x57ce42(0x190)]),_0x137697=_0x611e23[_0x57ce42(0x1b7)][_0x57ce42(0x1b1)](_0x57ce42(0x193));return _0x28426b[_0x57ce42(0x1c2)](_0x57ce42(0x18c))['to'](_0x137697),_0x28426b['on'](_0x57ce42(0x1cb),()=>{const _0x3458ca=_0x57ce42;_0x137697[_0x3458ca(0x1cb)](_0x40d4dc);}),_0x28426b;}[_0x4baa4c(0x197)](_0x198794){const _0x186e56=_0x4baa4c,{locale:_0x38d52e}=this[_0x186e56(0x19a)],_0x43b6fd=this[_0x186e56(0x19a)][_0x186e56(0x1a0)][_0x186e56(0x1b1)](_0x186e56(0x1d3)),_0x12695e=_0x198794[0x0],_0x49428e=this[_0x186e56(0x1c8)](_0x13aa1a,_0x12695e[_0x186e56(0x1b0)]);return _0x49428e[_0x186e56(0x1a1)]=_0x12695e[_0x186e56(0x1a1)],_0x49428e[_0x186e56(0x1c2)](_0x186e56(0x1a9))['to'](_0x43b6fd,_0x186e56(0x1b4),_0x2a3ca8=>_0x3c8c03(_0x38d52e,_0x12695e[_0x186e56(0x1b0)],_0x2a3ca8?_0x186e56(0x1b3):_0x186e56(0x1ce))[_0x186e56(0x1c5)]),_0x49428e[_0x186e56(0x1ab)]=!0x0,_0x49428e;}[_0x4baa4c(0x1c1)](_0x549b01){const _0x353602=_0x4baa4c,{locale:_0x14bb03}=this[_0x353602(0x19a)],_0x3a7ddb=this[_0x353602(0x19a)][_0x353602(0x1a0)][_0x353602(0x1b1)](_0x353602(0x1d3));return _0x549b01[_0x353602(0x188)](_0x24240c=>{const _0x48348a=_0x353602,_0x1af6fa=this[_0x48348a(0x1c8)](_0x13aa1a,_0x24240c[_0x48348a(0x1b0)]);return _0x1af6fa[_0x48348a(0x18a)]=!0x0,_0x1af6fa[_0x48348a(0x1a1)]=_0x24240c[_0x48348a(0x1a1)],_0x1af6fa[_0x48348a(0x1c2)](_0x48348a(0x1a9))['to'](_0x3a7ddb,_0x48348a(0x1b4),_0x9ef7c6=>_0x3c8c03(_0x14bb03,_0x24240c[_0x48348a(0x1b0)],_0x9ef7c6?_0x48348a(0x1b3):_0x48348a(0x1ce))[_0x48348a(0x1c5)]),_0x1af6fa;});}[_0x4baa4c(0x189)](_0x37e4c8){const _0x1054d8=_0x4baa4c;return _0x37e4c8[_0x1054d8(0x188)](_0x2cadcc=>{const _0x5a648e=_0x1054d8,_0x1881af=this[_0x5a648e(0x1c8)](_0x386f44,_0x2cadcc[_0x5a648e(0x1b0)]);return _0x1881af[_0x5a648e(0x1a1)]=_0x2cadcc[_0x5a648e(0x1a1)],_0x1881af[_0x5a648e(0x1a9)]=_0x2cadcc[_0x5a648e(0x1c6)],_0x1881af;});}}
23
+ const _0x3a9752=_0x5311;(function(_0x1845f4,_0x4f5059){const _0x35a237=_0x5311,_0x36355f=_0x1845f4();while(!![]){try{const _0x561c8c=parseInt(_0x35a237(0x231))/0x1*(-parseInt(_0x35a237(0x219))/0x2)+-parseInt(_0x35a237(0x21d))/0x3+parseInt(_0x35a237(0x20a))/0x4*(-parseInt(_0x35a237(0x201))/0x5)+parseInt(_0x35a237(0x21f))/0x6+-parseInt(_0x35a237(0x217))/0x7*(parseInt(_0x35a237(0x1ff))/0x8)+parseInt(_0x35a237(0x22f))/0x9+parseInt(_0x35a237(0x1fe))/0xa;if(_0x561c8c===_0x4f5059)break;else _0x36355f['push'](_0x36355f['shift']());}catch(_0x1ae83d){_0x36355f['push'](_0x36355f['shift']());}}}(_0x2c38,0xc3c5e));function _0x2c38(){const _0x173d1b=['trialLimit','_licenseKeyCheckInterval','forEach','get','usageLimit','Local','13344543frPOHr','tooltip','280HBXTWq','GDrive','ImageInsertUI','map','uploadcareLicenseKeyValid','URL','OneDrive','uploadcareLicenseKeyDomainLimit','uploadcare.uploader.sourceList','Insert','_createDropdownButtons','expired','isImageSelected','Uploadcare','domainLimit','label','commands','afterInit','_showLicenseError','_createMenuBarButtons','_createButton','UploadcareUI','uploadcareLicenseKeyTrialLimit','evaluationLimit','pluginName','init','Facebook','editor','uploadcareLicenseKeyNotAllowed','config','10188420StFtbm','4472kmRrgK','isEnabled','25UCqVjk','reduce','licenseKey','assetManager','bind','isOfficialPlugin','locale','registerIntegration','plugins','1060552qkyqyx','invalid','execute','entries','upload','isPremiumPlugin','uploadcareLicenseKeyExpired','_createToolbarButton','GPhotos','url','uploadcareLicenseKeyUsageLimit','featureNotAllowed','type','1883JXUyDQ','destroy','5306AIyXZV','text','_getIntegrationKey','uploadcareLicenseKeyInvalid','2725779gCJSnH','uploadcareLicenseKeyEvaluationLimit','8566866gmUQQq','push','withText','uploadcare','icon','Replace','Dropbox','_normalizeConfigSourceList','shortText','has'];_0x2c38=function(){return _0x173d1b;};return _0x2c38();}import{Plugin as _0x45a05a}from'ckeditor5/src/core.js';import{IconDropbox as _0x57f377,IconFacebook as _0xbde429,IconGoogleDrive as _0x2a383f,IconGooglePhotos as _0x1eaa56,IconUploadcareImageUpload as _0x5aa475,IconUploadcareLink as _0x4ba886,IconOneDrive as _0x420911}from'ckeditor5/src/icons.js';import{ButtonView as _0xb2da9,MenuBarMenuListItemButtonView as _0x46026d}from'ckeditor5/src/ui.js';import{UploadcareSource as _0xe82eb3}from'./uploadcareconfig.js';function _0x5311(_0x6270a1,_0x451675){const _0x2c387d=_0x2c38();return _0x5311=function(_0x53115f,_0x3f37a1){_0x53115f=_0x53115f-0x1ee;let _0x51d85e=_0x2c387d[_0x53115f];return _0x51d85e;},_0x5311(_0x6270a1,_0x451675);}import{getTranslation as _0x32a69e}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 _0x45a05a{[_0x3a9752(0x203)];[_0x3a9752(0x22a)];static get[_0x3a9752(0x1f8)](){const _0x11e4d9=_0x3a9752;return _0x11e4d9(0x1f5);}static get[_0x3a9752(0x206)](){return!0x0;}static get[_0x3a9752(0x20f)](){return!0x0;}[_0x3a9752(0x1f9)](){const _0x406ab2=_0x3a9752;this[_0x406ab2(0x203)]=this[_0x406ab2(0x1fb)][_0x406ab2(0x1fd)][_0x406ab2(0x22c)](_0x406ab2(0x203));const _0x3f6405=this[_0x406ab2(0x1fb)];this[_0x406ab2(0x22a)]=setInterval(()=>{const _0x484c45=_0x406ab2;let _0x39d618;for(const _0x37a13e in _0x3f6405){const _0x2a44a1=_0x37a13e,_0x215cc5=_0x3f6405[_0x2a44a1];if(_0x484c45(0x235)==_0x215cc5||_0x484c45(0x21c)==_0x215cc5||_0x484c45(0x210)==_0x215cc5||_0x484c45(0x238)==_0x215cc5||_0x484c45(0x1fc)==_0x215cc5||_0x484c45(0x21e)==_0x215cc5||_0x484c45(0x1f6)==_0x215cc5||_0x484c45(0x214)==_0x215cc5){delete _0x3f6405[_0x2a44a1],_0x39d618=_0x215cc5,clearInterval(this[_0x484c45(0x22a)]),this[_0x484c45(0x22a)]=void 0x0;break;}}_0x484c45(0x21c)==_0x39d618&&_0x3f6405[_0x484c45(0x1f2)](_0x484c45(0x20b)),_0x484c45(0x210)==_0x39d618&&_0x3f6405[_0x484c45(0x1f2)](_0x484c45(0x23c)),_0x484c45(0x238)==_0x39d618&&_0x3f6405[_0x484c45(0x1f2)](_0x484c45(0x1ee)),_0x484c45(0x1fc)==_0x39d618&&_0x3f6405[_0x484c45(0x1f2)](_0x484c45(0x215),_0x484c45(0x23e)),_0x484c45(0x21e)==_0x39d618&&_0x3f6405[_0x484c45(0x1f2)](_0x484c45(0x1f7)),_0x484c45(0x1f6)==_0x39d618&&_0x3f6405[_0x484c45(0x1f2)](_0x484c45(0x229)),_0x484c45(0x214)==_0x39d618&&_0x3f6405[_0x484c45(0x1f2)](_0x484c45(0x22d));},0x3e8);}[_0x3a9752(0x1f1)](){const _0x12d6e4=_0x3a9752,{editor:_0x487c37}=this,_0x1223b7=_0x487c37[_0x12d6e4(0x1f0)][_0x12d6e4(0x22c)](_0x12d6e4(0x222));if(!_0x1223b7)return;const _0x480a6f=this[_0x12d6e4(0x226)](_0x487c37[_0x12d6e4(0x1fd)][_0x12d6e4(0x22c)](_0x12d6e4(0x239)))[_0x12d6e4(0x202)]((_0x4aad16,_0x2f0488)=>{const _0x24248d=_0x12d6e4,_0x277463=this[_0x24248d(0x21b)](_0x2f0488[_0x24248d(0x216)]);return _0x4aad16[_0x277463]||(_0x4aad16[_0x277463]=[]),_0x4aad16[_0x277463][_0x24248d(0x220)](_0x2f0488),_0x4aad16;},{});_0x487c37[_0x12d6e4(0x209)][_0x12d6e4(0x228)](_0x12d6e4(0x233))&&_0x487c37[_0x12d6e4(0x1f0)][_0x12d6e4(0x22c)](_0x12d6e4(0x222))&&Object[_0x12d6e4(0x20d)](_0x480a6f)[_0x12d6e4(0x22b)](([_0x2e2b39,_0x2d2b82])=>{const _0x37a7f8=_0x12d6e4;_0x487c37[_0x37a7f8(0x209)][_0x37a7f8(0x22c)](_0x37a7f8(0x233))[_0x37a7f8(0x208)]({'name':_0x2e2b39,'observable':()=>_0x1223b7,'buttonViewCreator':()=>this[_0x37a7f8(0x211)](_0x2d2b82),'formViewCreator':()=>this[_0x37a7f8(0x23b)](_0x2d2b82),'menuBarButtonViewCreator':()=>this[_0x37a7f8(0x1f3)](_0x2d2b82),'override':_0x37a7f8(0x204)!==_0x2e2b39});});}[_0x3a9752(0x218)](){const _0x147a7e=_0x3a9752;super[_0x147a7e(0x218)](),this[_0x147a7e(0x22a)]&&clearInterval(this[_0x147a7e(0x22a)]);}[_0x3a9752(0x226)](_0x381806){const _0x53afe3=_0x3a9752,{locale:_0x123f9d}=this[_0x53afe3(0x1fb)];return _0x381806[_0x53afe3(0x234)](_0x54c361=>{const _0x22e8ed=_0x53afe3,_0x1b19cc=_0x32a69e(_0x123f9d,_0x54c361,_0x22e8ed(0x23a));switch(_0x54c361){case _0xe82eb3[_0x22e8ed(0x22e)]:return{'icon':_0x5aa475,'type':_0xe82eb3[_0x22e8ed(0x22e)],..._0x1b19cc};case _0xe82eb3[_0x22e8ed(0x236)]:return{'icon':_0x4ba886,'type':_0xe82eb3[_0x22e8ed(0x236)],..._0x1b19cc};case _0xe82eb3[_0x22e8ed(0x225)]:return{'icon':_0x57f377,'type':_0xe82eb3[_0x22e8ed(0x225)],..._0x1b19cc};case _0xe82eb3[_0x22e8ed(0x1fa)]:return{'icon':_0xbde429,'type':_0xe82eb3[_0x22e8ed(0x1fa)],..._0x1b19cc};case _0xe82eb3[_0x22e8ed(0x232)]:return{'icon':_0x2a383f,'type':_0xe82eb3[_0x22e8ed(0x232)],..._0x1b19cc};case _0xe82eb3[_0x22e8ed(0x212)]:return{'icon':_0x1eaa56,'type':_0xe82eb3[_0x22e8ed(0x212)],..._0x1b19cc};case _0xe82eb3[_0x22e8ed(0x237)]:return{'icon':_0x420911,'type':_0xe82eb3[_0x22e8ed(0x237)],..._0x1b19cc};}});}[_0x3a9752(0x21b)](_0x31e2a3){const _0x38ca9e=_0x3a9752;switch(_0x31e2a3){case _0xe82eb3[_0x38ca9e(0x22e)]:return _0x38ca9e(0x20e);case _0xe82eb3[_0x38ca9e(0x236)]:return _0x38ca9e(0x213);default:return _0x38ca9e(0x204);}}[_0x3a9752(0x1f4)](_0x24dbc2,_0x51ab17){const _0x260e99=_0x3a9752,_0x1aa3da=this[_0x260e99(0x1fb)],_0x39d9c9=new _0x24dbc2(_0x1aa3da[_0x260e99(0x207)]),_0x4253df=_0x1aa3da[_0x260e99(0x1f0)][_0x260e99(0x22c)](_0x260e99(0x222));return _0x39d9c9[_0x260e99(0x205)](_0x260e99(0x200))['to'](_0x4253df),_0x39d9c9['on'](_0x260e99(0x20c),()=>{const _0x4f2fd1=_0x260e99;_0x4253df[_0x4f2fd1(0x20c)](_0x51ab17);}),_0x39d9c9;}[_0x3a9752(0x211)](_0x45fc8e){const _0x51e500=_0x3a9752,{locale:_0x485b5c}=this[_0x51e500(0x1fb)],_0x97db8d=this[_0x51e500(0x1fb)][_0x51e500(0x209)][_0x51e500(0x22c)](_0x51e500(0x233)),_0x20778b=_0x45fc8e[0x0],_0x1ea02a=this[_0x51e500(0x1f4)](_0xb2da9,_0x20778b[_0x51e500(0x216)]);return _0x1ea02a[_0x51e500(0x223)]=_0x20778b[_0x51e500(0x223)],_0x1ea02a[_0x51e500(0x205)](_0x51e500(0x1ef))['to'](_0x97db8d,_0x51e500(0x23d),_0x4635e5=>_0x32a69e(_0x485b5c,_0x20778b[_0x51e500(0x216)],_0x4635e5?_0x51e500(0x224):_0x51e500(0x23a))[_0x51e500(0x21a)]),_0x1ea02a[_0x51e500(0x230)]=!0x0,_0x1ea02a;}[_0x3a9752(0x23b)](_0x1571b7){const _0xd0cdba=_0x3a9752,{locale:_0x32293d}=this[_0xd0cdba(0x1fb)],_0x3d6a0c=this[_0xd0cdba(0x1fb)][_0xd0cdba(0x209)][_0xd0cdba(0x22c)](_0xd0cdba(0x233));return _0x1571b7[_0xd0cdba(0x234)](_0x2f3de4=>{const _0x1ff74c=_0xd0cdba,_0x5f171d=this[_0x1ff74c(0x1f4)](_0xb2da9,_0x2f3de4[_0x1ff74c(0x216)]);return _0x5f171d[_0x1ff74c(0x221)]=!0x0,_0x5f171d[_0x1ff74c(0x223)]=_0x2f3de4[_0x1ff74c(0x223)],_0x5f171d[_0x1ff74c(0x205)](_0x1ff74c(0x1ef))['to'](_0x3d6a0c,_0x1ff74c(0x23d),_0x4dad62=>_0x32a69e(_0x32293d,_0x2f3de4[_0x1ff74c(0x216)],_0x4dad62?_0x1ff74c(0x224):_0x1ff74c(0x23a))[_0x1ff74c(0x21a)]),_0x5f171d;});}[_0x3a9752(0x1f3)](_0x638bb4){const _0x369e4f=_0x3a9752;return _0x638bb4[_0x369e4f(0x234)](_0x47dd26=>{const _0x52b906=_0x369e4f,_0x2e6d05=this[_0x52b906(0x1f4)](_0x46026d,_0x47dd26[_0x52b906(0x216)]);return _0x2e6d05[_0x52b906(0x223)]=_0x47dd26[_0x52b906(0x223)],_0x2e6d05[_0x52b906(0x1ef)]=_0x47dd26[_0x52b906(0x227)],_0x2e6d05;});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x222e34}from'ckeditor5/src/core.js';import{FileRepository as _0x48df18}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x38f98d}from'./uploadcareediting.js';import{UploadUtils as _0x311976}from'./utils/uploadutils.js';import{getImageUrls as _0x2b7c2e}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x222e34{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x48df18,_0x38f98d];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3b2070=this['editor'];if(!!!_0x3b2070['config']['get']('uploadcare'))return;_0x3b2070['plugins']['get'](_0x48df18)['createUploadAdapter']=_0x318e14=>new k(_0x318e14,_0x3b2070),_0x3b2070['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x1be1ee,{imageElement:_0x39de69,data:_0x1ed256})=>{_0x3b2070['model']['change'](_0x5365b6=>{_0x5365b6['setAttribute']('uploadcareImageId',_0x1ed256['uploadcareImageId'],_0x39de69);});});}}class k{['loader'];['editor'];['controller'];constructor(_0xe0a16f,_0x14007c){this['loader']=_0xe0a16f,this['editor']=_0x14007c,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x4ff394=await this['loader']['file'];return _0x311976['upload']({'file':_0x4ff394,'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':_0x1d70ff=>{_0x1d70ff&&_0x1d70ff['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x1d70ff['value']);}})['then'](async _0xc67cd6=>{const {imageFallbackUrl:_0x23a68f,imageSources:_0x3acc9b}=_0x2b7c2e(_0xc67cd6['cdnUrl'],_0xc67cd6['imageInfo']['width']);return{'uploadcareImageId':_0xc67cd6['uuid'],'default':_0x23a68f,'sources':_0x3acc9b};})['catch'](()=>{const _0x570d37=t('Cannot\x20upload\x20file:')+('\x20'+_0x4ff394['name']+'.');return Promise['reject'](_0x570d37);});}['abort'](){this['controller']['abort']();}}
23
+ import{Plugin as _0x41e7d3}from'ckeditor5/src/core.js';import{FileRepository as _0x4cbef3}from'ckeditor5/src/upload.js';import{UploadcareEditing as _0x3c99d5}from'./uploadcareediting.js';import{UploadUtils as _0x5e5d78}from'./utils/uploadutils.js';import{getImageUrls as _0x101a62}from'./utils/editingutils.js';export class UploadcareUploadAdapter extends _0x41e7d3{static get['requires'](){return['ImageUploadEditing','ImageUploadProgress',_0x4cbef3,_0x3c99d5];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x421f5f=this['editor'];if(!!!_0x421f5f['config']['get']('uploadcare'))return;_0x421f5f['plugins']['get'](_0x4cbef3)['createUploadAdapter']=_0x114834=>new k(_0x114834,_0x421f5f),_0x421f5f['plugins']['get']('ImageUploadEditing')['on']('uploadComplete',(_0x36abe2,{imageElement:_0x422354,data:_0x1aa93f})=>{_0x421f5f['model']['change'](_0x364e3f=>{_0x364e3f['setAttribute']('uploadcareImageId',_0x1aa93f['uploadcareImageId'],_0x422354);});});}}class k{['loader'];['editor'];['controller'];constructor(_0x892bb0,_0xf8228){this['loader']=_0x892bb0,this['editor']=_0xf8228,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x40ad01=await this['loader']['file'];return _0x5e5d78['upload']({'file':_0x40ad01,'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':_0x274131=>{_0x274131&&_0x274131['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x274131['value']);}})['then'](async _0x249832=>{const {imageFallbackUrl:_0x3b6adf,imageSources:_0x1b86c6}=_0x101a62(_0x249832['cdnUrl'],_0x249832['imageInfo']['width']);return{'uploadcareImageId':_0x249832['uuid'],'default':_0x3b6adf,'sources':_0x1b86c6};})['catch'](()=>{const _0x350cd7=t('Cannot\x20upload\x20file:')+('\x20'+_0x40ad01['name']+'.');return Promise['reject'](_0x350cd7);});}['abort'](){this['controller']['abort']();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{UploadcareSource as _0x106708}from'../uploadcareconfig.js';export function getTranslation(_0x107743,_0x554b24,_0x25837f){const t=_0x107743['t'],_0x4a6d57=_0x107743['t'];switch(_0x554b24){case _0x106708['Local']:return{'text':_0x4a6d57('Insert'===_0x25837f?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x4a6d57('From\x20computer')};case _0x106708['URL']:return{'text':'Insert'===_0x25837f?_0x4a6d57('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x4a6d57('Via\x20URL')};case _0x106708['Dropbox']:return{'text':t('Insert'===_0x25837f?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x106708['Facebook']:return{'text':t('Insert'===_0x25837f?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x106708['GDrive']:return{'text':t('Insert'===_0x25837f?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x106708['GPhotos']:return{'text':t('Insert'===_0x25837f?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x106708['OneDrive']:return{'text':t('Insert'===_0x25837f?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x554b24;}}
23
+ import{UploadcareSource as _0x5e7dac}from'../uploadcareconfig.js';export function getTranslation(_0x4780c2,_0x428009,_0xd0aa84){const t=_0x4780c2['t'],_0x5eb529=_0x4780c2['t'];switch(_0x428009){case _0x5e7dac['Local']:return{'text':_0x5eb529('Insert'===_0xd0aa84?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x5eb529('From\x20computer')};case _0x5e7dac['URL']:return{'text':'Insert'===_0xd0aa84?_0x5eb529('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x5eb529('Via\x20URL')};case _0x5e7dac['Dropbox']:return{'text':t('Insert'===_0xd0aa84?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case _0x5e7dac['Facebook']:return{'text':t('Insert'===_0xd0aa84?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case _0x5e7dac['GDrive']:return{'text':t('Insert'===_0xd0aa84?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case _0x5e7dac['GPhotos']:return{'text':t('Insert'===_0xd0aa84?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case _0x5e7dac['OneDrive']:return{'text':t('Insert'===_0xd0aa84?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x428009;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x58af82=_0x5066;(function(_0x397c52,_0x45ddd6){var _0x49d455=_0x5066,_0x382ecf=_0x397c52();while(!![]){try{var _0x387181=-parseInt(_0x49d455(0xdf))/0x1*(parseInt(_0x49d455(0xe1))/0x2)+-parseInt(_0x49d455(0xd9))/0x3+parseInt(_0x49d455(0xe4))/0x4+-parseInt(_0x49d455(0xd7))/0x5*(-parseInt(_0x49d455(0xd4))/0x6)+parseInt(_0x49d455(0xe3))/0x7*(parseInt(_0x49d455(0xda))/0x8)+-parseInt(_0x49d455(0xd6))/0x9*(parseInt(_0x49d455(0xdc))/0xa)+parseInt(_0x49d455(0xd2))/0xb;if(_0x387181===_0x45ddd6)break;else _0x382ecf['push'](_0x382ecf['shift']());}catch(_0x495d8d){_0x382ecf['push'](_0x382ecf['shift']());}}}(_0x4d69,0x58c00));import{FocusTracker as _0x10dc9b}from'ckeditor5/src/utils.js';import{View as _0x3fc517,FocusCycler as _0x123ae9}from'ckeditor5/src/ui.js';function _0x5066(_0x4f2eb9,_0x68c22f){var _0x4d6983=_0x4d69();return _0x5066=function(_0x5066fb,_0x1713bc){_0x5066fb=_0x5066fb-0xd2;var _0x3f2c0c=_0x4d6983[_0x5066fb];return _0x3f2c0c;},_0x5066(_0x4f2eb9,_0x68c22f);}import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x3fc517{[_0x58af82(0xe2)];[_0x58af82(0xe0)];constructor(_0x14786b){var _0xe95059=_0x58af82;super(_0x14786b),this[_0xe95059(0xe2)]=new _0x10dc9b(),this[_0xe95059(0xe0)]=new _0x123ae9({'focusables':this[_0xe95059(0xd8)](),'focusTracker':this[_0xe95059(0xe2)]});}[_0x58af82(0xde)](){var _0x2990e8=_0x58af82;return{'tag':_0x2990e8(0xdd),'attributes':{'aria-hidden':_0x2990e8(0xd3),'tabindex':'0'},'on':{'focus':this[_0x2990e8(0xd5)]['to'](()=>{var _0x3672fa=_0x2990e8;this[_0x3672fa(0xe0)][_0x3672fa(0xe5)](_0x3672fa(0xdb));})}};}}function _0x4d69(){var _0x2afb38=['444916kDDAAE','fire','7578175yTNFZh','true','6IReBPa','bindTemplate','6093UsTOPm','2006555sqivMb','createCollection','2043738MyXFLz','115120vyazOa','forwardCycle','1480AteVTk','div','getFocusableElement','1SDEEqf','focusCycler','1321766TNBNlV','focusTracker','294dONhAV'];_0x4d69=function(){return _0x2afb38;};return _0x4d69();}
23
+ var _0x28dba9=_0x3bfa;function _0x5b0d(){var _0x3ef828=['forwardCycle','7857552AQEhbb','172HusCxQ','234tvyjUh','3447gXkhvG','2276NmrCdf','focusTracker','true','fire','createCollection','div','1633420Atkcwf','5465160WjMcFe','bindTemplate','getFocusableElement','362306fcnYpV','4244874HvCbqd','focusCycler','877yMeazS'];_0x5b0d=function(){return _0x3ef828;};return _0x5b0d();}function _0x3bfa(_0x3899c0,_0x2927f3){var _0x5b0d46=_0x5b0d();return _0x3bfa=function(_0x3bfa4a,_0x50175e){_0x3bfa4a=_0x3bfa4a-0x121;var _0xf11b75=_0x5b0d46[_0x3bfa4a];return _0xf11b75;},_0x3bfa(_0x3899c0,_0x2927f3);}(function(_0x33df22,_0x3b8df5){var _0x4d5567=_0x3bfa,_0x5b5898=_0x33df22();while(!![]){try{var _0x28a2a8=parseInt(_0x4d5567(0x131))/0x1*(-parseInt(_0x4d5567(0x121))/0x2)+-parseInt(_0x4d5567(0x123))/0x3*(parseInt(_0x4d5567(0x124))/0x4)+-parseInt(_0x4d5567(0x12b))/0x5+-parseInt(_0x4d5567(0x12f))/0x6+-parseInt(_0x4d5567(0x12e))/0x7+-parseInt(_0x4d5567(0x133))/0x8+-parseInt(_0x4d5567(0x122))/0x9*(-parseInt(_0x4d5567(0x12a))/0xa);if(_0x28a2a8===_0x3b8df5)break;else _0x5b5898['push'](_0x5b5898['shift']());}catch(_0x7d5007){_0x5b5898['push'](_0x5b5898['shift']());}}}(_0x5b0d,0xa6cda));import{FocusTracker as _0x35fced}from'ckeditor5/src/utils.js';import{View as _0x2d12ad,FocusCycler as _0x5997e5}from'ckeditor5/src/ui.js';import'../../theme/uploadcare-form.css';export class DialogFocusManagerView extends _0x2d12ad{[_0x28dba9(0x125)];[_0x28dba9(0x130)];constructor(_0x433911){var _0x356f69=_0x28dba9;super(_0x433911),this[_0x356f69(0x125)]=new _0x35fced(),this[_0x356f69(0x130)]=new _0x5997e5({'focusables':this[_0x356f69(0x128)](),'focusTracker':this[_0x356f69(0x125)]});}[_0x28dba9(0x12d)](){var _0x3aba0c=_0x28dba9;return{'tag':_0x3aba0c(0x129),'attributes':{'aria-hidden':_0x3aba0c(0x126),'tabindex':'0'},'on':{'focus':this[_0x3aba0c(0x12c)]['to'](()=>{var _0x48918a=_0x3aba0c;this[_0x48918a(0x130)][_0x48918a(0x127)](_0x48918a(0x132));})}};}}